:root {
  color-scheme: light;
  --navy: #10283f;
  --navy-deep: #0b1e30;
  --navy-soft: #29465a;
  --gold: #d4ad56;
  --gold-light: #ebd18c;
  --ink: #182a37;
  --muted: #62717a;
  --paper: #f8f8f5;
  --white: #fff;
  --line: #dfe3df;
  --font-body: "DM Sans", "Segoe UI", sans-serif;
  --font-arabic: "Amiri", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--font-body); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { color: var(--navy-deep); background: var(--gold-light); }

.site-header { position: relative; z-index: 10; display: flex; align-items: center; justify-content: space-between; min-height: 88px; padding: 0 clamp(24px, 6.3vw, 100px); background: var(--navy); color: var(--white); }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand-logo { display: block; width: 43px; height: 43px; flex: 0 0 43px; border-radius: 50%; object-fit: cover; }
.brand-mark { display: grid; width: 43px; height: 43px; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold-light); }
.brand-mark span { font-family: var(--font-arabic); font-size: 25px; line-height: 1; }
.brand-name { display: flex; flex-direction: column; font-size: 15px; font-weight: 700; line-height: 1.2; }
.brand-name small { margin-top: 4px; color: #c5ced1; font-size: 10px; font-weight: 400; letter-spacing: .03em; }
.main-navigation { display: flex; align-items: center; gap: clamp(16px, 2.1vw, 32px); font-size: 12px; font-weight: 600; }
.main-navigation > a:not(.nav-cta) { position: relative; padding: 10px 0; color: #e1e6e6; transition: color .2s ease; white-space: nowrap; }
.main-navigation > a:not(.nav-cta)::after { position: absolute; right: 0; bottom: 3px; left: 0; height: 1px; background: var(--gold); content: ""; transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.main-navigation > a:not(.nav-cta):hover, .main-navigation > a.active { color: var(--gold-light); }
.main-navigation > a:not(.nav-cta):hover::after, .main-navigation > a.active::after { transform: scaleX(1); }
.nav-cta { display: inline-flex; align-items: center; gap: 12px; padding: 12px 16px; color: var(--navy-deep); background: var(--gold); font-size: 11px; white-space: nowrap; transition: background .2s ease; }
.nav-cta:hover, .button-gold:hover { background: var(--gold-light); }
.nav-cta span, .button span, .text-link span, .footer-link span { font-size: 15px; }
.menu-toggle { display: none; }

.home-hero { position: relative; display: flex; min-height: min(700px, calc(100svh - 88px)); align-items: center; overflow: hidden; padding: 70px clamp(24px, 10.2vw, 164px); color: var(--white); background-color: var(--navy-deep); background-image: url("https://images.unsplash.com/photo-1609599006353-e629aaabfeae?auto=format&fit=crop&w=2000&q=88"); background-position: center 47%; background-size: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 22, 35, .94) 0%, rgba(10, 28, 43, .78) 46%, rgba(10, 28, 43, .15) 100%), linear-gradient(0deg, rgba(7, 22, 35, .34), transparent 32%); }
.hero-content { position: relative; z-index: 1; width: min(760px, 100%); padding-bottom: 18px; animation: arrive .7s ease both; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--gold-light); font-size: 10px; font-weight: 700; letter-spacing: .12em; line-height: 1.4; text-transform: uppercase; }
.eyebrow-line { display: inline-block; width: 25px; height: 1px; background: var(--gold); }
.eyebrow-dark { color: var(--navy-soft); }
.home-hero h1, .page-masthead h1 { max-width: 800px; margin: 23px 0 16px; font-size: clamp(38px, 5.3vw, 72px); font-weight: 600; letter-spacing: 0; line-height: 1.13; }
.home-hero h1 span { display: block; margin-top: 10px; color: var(--gold-light); font-family: var(--font-arabic); font-size: .64em; font-weight: 400; line-height: 1.35; }
.home-hero p { max-width: 570px; margin: 20px 0 29px; color: #e0e5e4; font-size: clamp(15px, 1.3vw, 18px); line-height: 1.85; }
.button { display: inline-flex; min-height: 49px; align-items: center; justify-content: center; gap: 24px; padding: 0 20px; border: 0; cursor: pointer; font-size: 12px; font-weight: 700; transition: background .2s ease, transform .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-gold { color: var(--navy-deep); background: var(--gold); }
.hero-caption { position: absolute; right: clamp(24px, 6.3vw, 100px); bottom: 36px; display: flex; align-items: center; gap: 11px; color: #e2e7e5; font-size: 10px; }
.caption-rule { width: 29px; height: 1px; background: var(--gold); }
.scroll-cue { position: absolute; bottom: 0; left: clamp(24px, 6.3vw, 100px); display: grid; width: 34px; height: 51px; place-items: center; border: 1px solid rgba(235, 209, 140, .55); border-bottom: 0; }
.scroll-cue span { width: 1px; height: 16px; background: var(--gold-light); animation: scroll 1.6s ease infinite; }

.section-wrap { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }
.values-section { padding-top: 100px; padding-bottom: 106px; }
.section-heading { max-width: 650px; }
.section-heading h2, .note-content h2 { margin: 16px 0 0; color: var(--navy); font-size: clamp(27px, 3.2vw, 42px); font-weight: 500; letter-spacing: 0; line-height: 1.3; }
.section-heading h2 em { color: #a77c2c; font-family: var(--font-arabic); font-size: 1.1em; font-style: normal; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 52px; }
.feature-item { position: relative; padding: 26px 24px 0 0; border-top: 1px solid var(--line); animation: arrive .55s ease both; }
.feature-item:nth-child(2) { animation-delay: .1s; }
.feature-item:nth-child(3) { animation-delay: .2s; }
.feature-icon { display: grid; width: 48px; height: 48px; place-items: center; margin-bottom: 18px; border: 1px solid #dfd5b9; color: #a77c2c; }
.feature-icon svg { width: 29px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.35; }
.feature-item h3 { margin: 0 0 8px; color: var(--navy); font-size: 17px; font-weight: 700; }
.feature-item p { max-width: 345px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.home-note { display: flex; min-height: 275px; align-items: center; justify-content: space-between; overflow: hidden; padding: 48px clamp(24px, 10.2vw, 164px); color: var(--white); background: var(--navy); }
.note-ornament { align-self: stretch; margin-right: 6vw; color: rgba(212, 173, 86, .52); font-family: var(--font-arabic); font-size: clamp(100px, 14vw, 188px); line-height: 1; }
.note-content { max-width: 570px; margin-right: auto; }
.note-content h2 { margin: 14px 0 18px; color: var(--white); }
.text-link { display: inline-flex; align-items: center; gap: 13px; color: var(--gold-light); font-size: 12px; font-weight: 700; }
.text-link:hover, .footer-link:hover { color: var(--white); }
.note-side { align-self: flex-end; color: rgba(255,255,255,.55); font-family: var(--font-arabic); font-size: 19px; writing-mode: vertical-rl; }

.site-footer { display: flex; min-height: 114px; align-items: center; justify-content: space-between; gap: 24px; padding: 24px clamp(24px, 6.3vw, 100px); color: var(--white); background: var(--navy-deep); }
.brand-footer .brand-logo { width: 38px; height: 38px; flex-basis: 38px; }
.site-footer > p { margin: 0; color: #b9c4c6; font-size: 11px; }
.footer-link { display: inline-flex; align-items: center; gap: 10px; color: var(--gold-light); font-size: 11px; font-weight: 700; }

.page-masthead { position: relative; display: flex; min-height: 284px; align-items: center; justify-content: space-between; overflow: hidden; padding: 50px clamp(24px, 10.2vw, 164px); color: var(--white); background: var(--navy); }
.page-masthead::after { position: absolute; top: -195px; right: 12%; width: 390px; height: 550px; border: 1px solid rgba(212,173,86,.16); border-radius: 50%; content: ""; transform: rotate(32deg); }
.page-masthead::before { position: absolute; top: -160px; right: 14.5%; width: 320px; height: 500px; border: 1px solid rgba(212,173,86,.1); border-radius: 50%; content: ""; transform: rotate(32deg); }
.masthead-inner, .masthead-index { position: relative; z-index: 1; }
.page-masthead h1 { margin: 16px 0 0; font-size: clamp(36px, 5vw, 60px); }
.masthead-arabic { position: absolute; right: 2vw; bottom: -52px; color: rgba(235,209,140,.43); font-family: var(--font-arabic); font-size: 120px; white-space: nowrap; }
.masthead-index { align-self: flex-end; padding-bottom: 7px; color: var(--gold-light); font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.masthead-index span { margin: 0 5px; color: #81909b; }
.about-intro { display: grid; grid-template-columns: .7fr 1.3fr; gap: 8%; align-items: start; padding-top: 83px; padding-bottom: 91px; }
.intro-label { display: flex; flex-direction: column; gap: 28px; }
.arabic-quote { color: #aa843c; font-family: var(--font-arabic); font-size: 45px; }
.intro-copy { max-width: 760px; margin: 0; color: var(--navy); font-size: clamp(19px, 2vw, 26px); font-weight: 500; line-height: 1.8; }
.thursday-section { display: grid; grid-template-columns: 1.02fr .98fr; min-height: 470px; background: #e9ece9; }
.thursday-image { min-height: 400px; background-color: #283e4b; background-image: linear-gradient(90deg, rgba(10,29,43,.08), rgba(10,29,43,.16)), url("https://images.unsplash.com/photo-1591604129939-f1efa4d9f7fa?auto=format&fit=crop&w=1200&q=85"); background-position: center; background-size: cover; }
.thursday-content { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 64px clamp(30px, 8vw, 115px); }
.thursday-content h2, .admission-block h2, .assessment-block h2, .contact-form h2 { margin: 17px 0 14px; color: var(--navy); font-size: clamp(27px, 3vw, 38px); font-weight: 500; letter-spacing: 0; line-height: 1.3; }
.thursday-content p { max-width: 610px; margin: 0; color: #4d5c63; font-size: 15px; line-height: 1.9; }
.about-end { display: flex; min-height: 150px; align-items: center; gap: 20px; }
.about-end p { margin: 0 auto 0 0; color: var(--navy); font-size: 13px; font-weight: 600; }
.end-mark { color: #b18942; font-size: 24px; }

.plans-section { padding-top: 79px; padding-bottom: 100px; }
.plans-heading { margin-bottom: 38px; }
.plans-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: stretch; }
.plan-card { position: relative; display: flex; flex-direction: column; padding: 30px 34px 27px; border: 1px solid #d9dfdc; background: #fff; }
.plan-featured { border: 1px solid var(--gold); background: #f0f2ee; }
.plan-number { display: flex; align-items: center; gap: 8px; color: #a77c2c; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.plan-number > span:first-child { color: #849097; }
.plan-tag { margin-left: auto; padding: 5px 9px; color: var(--navy); background: #e2d4ae; font-size: 9px; letter-spacing: 0; text-transform: none; }
.plan-card h2 { margin: 18px 0 2px; color: var(--navy); font-size: 24px; font-weight: 600; }
.plan-price { display: flex; align-items: baseline; gap: 8px; padding-bottom: 20px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.plan-price strong { color: var(--navy); font-size: 34px; font-weight: 600; }
.plan-card ul, .admission-block ul { display: grid; gap: 11px; margin: 20px 0 24px; padding: 0; list-style: none; }
.plan-card li, .admission-block li { position: relative; padding-left: 18px; color: #50616a; font-size: 13px; line-height: 1.75; }
.plan-card li::before, .admission-block li::before { position: absolute; top: .7em; left: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); content: ""; }
.plan-link { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); color: var(--navy); font-size: 11px; font-weight: 700; }
.plan-link span { color: #a77c2c; font-size: 15px; }
.payment-policy { display: flex; align-items: flex-start; gap: 18px; margin-top: 26px; padding: 23px 25px; border-left: 2px solid var(--gold); background: #edf0ed; }
.policy-icon { color: #a77c2c; font-size: 19px; line-height: 1.6; }
.payment-policy p { margin: 0; color: #43555d; font-size: 13px; line-height: 1.85; }

.admissions-section { padding-top: 48px; padding-bottom: 91px; }
.admissions-open { display: flex; align-items: center; gap: 13px; margin-bottom: 33px; padding: 15px 19px; border-left: 2px solid var(--gold); color: var(--navy); background: #edf0ed; }
.admissions-open p { margin: 0; font-size: 14px; font-weight: 600; }
.open-dot { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: #55856b; box-shadow: 0 0 0 4px rgba(85,133,107,.13); }
.admissions-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding: 14px 0 44px; }
.admission-block { padding: 24px 0; }
.admission-block h2 { margin: 15px 0 13px; }
.admission-block p, .admission-block li { color: #50616a; font-size: 14px; line-height: 1.9; }
.admission-block p { margin: 0; }
.admission-block ul { gap: 7px; margin: 0 0 16px; }
.requirement-note { padding-top: 15px; border-top: 1px solid var(--line); color: var(--navy) !important; font-weight: 700; }
.assessment-block { display: grid; grid-template-columns: 64px 1fr; gap: 24px; padding: 34px; color: var(--white); background: var(--navy); }
.assessment-symbol { display: grid; width: 53px; height: 53px; place-items: center; border: 1px solid rgba(212,173,86,.55); color: var(--gold-light); font-family: var(--font-arabic); font-size: 29px; }
.assessment-block h2 { margin: 12px 0; color: var(--white); }
.assessment-block p { max-width: 850px; margin: 0; color: #d4dddd; font-size: 14px; line-height: 1.9; }
.admissions-cta { margin-top: 29px; }

.contact-section { display: grid; grid-template-columns: 1fr .82fr; gap: clamp(45px, 9vw, 130px); padding-top: 79px; padding-bottom: 104px; }
.contact-details > .eyebrow { margin-bottom: 28px; }
.contact-row { display: grid; grid-template-columns: 38px 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.contact-icon { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid #dfd5b9; color: #a77c2c; }
.contact-icon svg { width: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.55; }
.contact-row p { margin: 0; color: #4c5e66; font-size: 13px; line-height: 1.9; }
.contact-row p a { color: var(--navy); font-weight: 700; text-decoration: underline; text-decoration-color: #d3b76e; text-underline-offset: 3px; }
.contact-form { display: flex; flex-direction: column; align-items: stretch; padding: 30px; color: var(--white); background: var(--navy); }
.contact-form .eyebrow { margin-bottom: 3px; }
.contact-form h2 { margin: 9px 0 19px; color: var(--white); font-size: 27px; }
.contact-form label { margin: 11px 0 6px; color: #dbe2e2; font-size: 11px; font-weight: 600; }
.contact-form input, .contact-form textarea { width: 100%; min-height: 43px; padding: 10px 12px; border: 1px solid rgba(228,235,234,.32); border-radius: 0; outline: 0; color: var(--white); background: rgba(255,255,255,.06); resize: vertical; }
.contact-form textarea { min-height: 118px; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--gold-light); box-shadow: 0 0 0 2px rgba(235,209,140,.12); }
.contact-form button { align-self: flex-start; margin-top: 19px; }

:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 4px; }
@keyframes arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scroll { 0%, 100% { transform: translateY(-3px); opacity: .5; } 50% { transform: translateY(4px); opacity: 1; } }

@media (max-width: 1000px) {
  .site-header { min-height: 78px; padding-inline: 28px; }
  .menu-toggle { display: flex; width: 42px; height: 42px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 1px solid rgba(235,209,140,.55); color: var(--white); background: transparent; cursor: pointer; }
  .menu-toggle span { width: 17px; height: 1px; background: var(--gold-light); transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-9px) rotate(-45deg); }
  .main-navigation { position: absolute; top: 100%; right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: 12px 28px 22px; background: var(--navy); box-shadow: 0 14px 20px rgba(10,25,37,.18); }
  .main-navigation.is-open { display: flex; flex-direction: column; }
  .main-navigation > a:not(.nav-cta) { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .main-navigation > a:not(.nav-cta)::after { display: none; }
  .nav-cta { align-self: flex-start; margin-top: 15px; }
  .home-hero { min-height: min(660px, calc(100svh - 78px)); padding-inline: 8vw; }
  .hero-caption { right: 8vw; }
  .scroll-cue { left: 8vw; }
}
@media (max-width: 700px) {
  body { font-size: 15px; }
  .site-header { min-height: 72px; padding-inline: 20px; }
  .home-hero { min-height: 620px; min-height: min(690px, calc(100svh - 72px)); align-items: flex-start; padding: 83px 25px 80px; background-position: 58% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(7,22,35,.91), rgba(10,28,43,.63)), linear-gradient(0deg, rgba(7,22,35,.35), transparent 48%); }
  .home-hero h1 { margin-top: 21px; font-size: clamp(36px, 10vw, 52px); }
  .home-hero h1 span { font-size: .63em; }
  .home-hero p { max-width: 470px; margin-top: 18px; font-size: 15px; }
  .hero-caption { right: 23px; bottom: 23px; max-width: calc(100% - 90px); font-size: 9px; }
  .scroll-cue { left: 20px; width: 28px; height: 42px; }
  .section-wrap { width: calc(100% - 40px); }
  .values-section { padding-top: 69px; padding-bottom: 72px; }
  .section-heading h2, .note-content h2 { font-size: 31px; }
  .feature-grid { grid-template-columns: 1fr; gap: 23px; margin-top: 31px; }
  .feature-item { display: grid; grid-template-columns: 48px 1fr; column-gap: 15px; padding: 20px 0 0; }
  .feature-icon { grid-row: span 2; margin-bottom: 0; }
  .feature-item h3 { align-self: end; margin-bottom: 4px; font-size: 16px; }
  .feature-item p { grid-column: 2; font-size: 13px; }
  .home-note { min-height: 240px; padding: 38px 24px; }
  .note-ornament { margin-right: 15px; font-size: 86px; }
  .note-content h2 { font-size: 26px; }
  .note-side { display: none; }
  .site-footer { min-height: 150px; flex-wrap: wrap; gap: 13px 24px; padding: 23px 20px; }
  .site-footer > p { order: 3; width: 100%; }
  .page-masthead { min-height: 230px; padding: 40px 25px; }
  .page-masthead h1 { max-width: 85%; font-size: clamp(34px, 9vw, 47px); }
  .masthead-arabic { right: 0; bottom: -35px; font-size: 88px; }
  .masthead-index { padding-bottom: 4px; font-size: 10px; }
  .about-intro { grid-template-columns: 1fr; gap: 23px; padding-top: 57px; padding-bottom: 61px; }
  .intro-label { flex-direction: row; align-items: center; justify-content: space-between; }
  .arabic-quote { font-size: 34px; }
  .intro-copy { font-size: 19px; }
  .thursday-section { grid-template-columns: 1fr; }
  .thursday-image { min-height: 270px; }
  .thursday-content { padding: 39px 24px 48px; }
  .thursday-content h2, .admission-block h2 { font-size: 29px; }
  .thursday-content p { font-size: 14px; }
  .about-end { min-height: 118px; gap: 13px; }
  .about-end p { font-size: 11px; }
  .plans-section { padding-top: 58px; padding-bottom: 68px; }
  .plans-grid { grid-template-columns: 1fr; gap: 15px; }
  .plan-card { padding: 25px 22px 22px; }
  .plan-card h2 { font-size: 21px; }
  .payment-policy { gap: 12px; margin-top: 18px; padding: 18px; }
  .payment-policy p { font-size: 12px; }
  .admissions-section { padding-top: 32px; padding-bottom: 66px; }
  .admissions-open { align-items: flex-start; padding: 13px 15px; }
  .admissions-open p { font-size: 13px; }
  .admissions-grid { grid-template-columns: 1fr; gap: 12px; padding: 4px 0 27px; }
  .admission-block { padding: 14px 0; }
  .admission-block p, .admission-block li { font-size: 13px; }
  .assessment-block { grid-template-columns: 1fr; gap: 18px; padding: 23px; }
  .assessment-block h2 { font-size: 28px; }
  .assessment-block p { font-size: 13px; }
  .contact-section { grid-template-columns: 1fr; gap: 34px; padding-top: 57px; padding-bottom: 70px; }
  .contact-row { grid-template-columns: 35px 1fr; gap: 12px; padding: 15px 0; }
  .contact-row p { font-size: 12px; }
  .contact-form { padding: 23px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}