:root {
  --green: #103d30;
  --green-deep: #092a21;
  --green-soft: #dce5db;
  --cream: #f3f0e7;
  --paper: #faf9f4;
  --ink: #182a22;
  --muted: #65746b;
  --line: rgba(16, 61, 48, .2);
  --accent: #c4cf8e;
  --sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shell: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }
.shell { width: min(var(--shell), calc(100% - 64px)); margin-inline: auto; }
.skip-link { position: absolute; left: 18px; top: -50px; z-index: 100; padding: 10px 16px; background: var(--cream); color: var(--green); }
.skip-link:focus { top: 12px; }
.notice-bar { min-height: 35px; background: var(--green-deep); color: #f4f1e8; font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.notice-inner { display: flex; align-items: center; justify-content: space-between; min-height: 35px; }
.notice-inner a { color: var(--accent); text-decoration: none; }
.notice-inner a span { padding-left: 7px; font-size: 14px; }
.site-header { position: sticky; z-index: 30; top: 0; background: rgba(250, 249, 244, .94); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(16, 61, 48, .09); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--green); }
.brand-mark { display: grid; width: 39px; height: 39px; place-items: center; border: 1px solid var(--green); border-radius: 50% 50% 50% 4px; transform: rotate(-4deg); }
.brand-mark span { font-family: var(--sans); font-size: 13px; font-weight: 600; transform: rotate(4deg); }
.brand-name { display: grid; line-height: 1.1; gap: 4px; }
.brand-name strong { font-size: 13px; letter-spacing: .15em; }
.brand-name small { font-size: 9px; letter-spacing: .08em; }
.primary-nav { display: flex; gap: 31px; align-items: center; }
.primary-nav a { font-size: 11px; text-decoration: none; font-weight: 600; color: #30473c; transition: color .2s ease; }
.primary-nav a:hover { color: #8b9a56; }
.primary-nav .nav-cta { display: inline-flex; gap: 10px; align-items: center; padding: 12px 16px; background: var(--green); color: var(--paper); }
.primary-nav .nav-cta:hover { background: var(--green-deep); color: white; }
.menu-toggle { display: none; border: 0; background: none; padding: 8px; }
.menu-toggle span { display: block; width: 23px; height: 1px; margin: 6px; background: var(--green); }

.hero { position: relative; overflow: hidden; background: var(--cream); }
.hero-grid { display: grid; grid-template-columns: 1fr .92fr; gap: 58px; min-height: 650px; align-items: center; padding-block: 58px 64px; }
.hero-copy { padding: 20px 0 12px; max-width: 560px; }
.eyebrow { margin: 0 0 16px; color: #6f7e55; font-size: 10px; font-weight: 700; letter-spacing: .18em; line-height: 1.4; text-transform: uppercase; }
.eyebrow-line { display: inline-block; width: 29px; height: 1px; margin-right: 10px; vertical-align: middle; background: #87945f; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--sans); font-weight: 750; letter-spacing: -.04em; }
h1 { max-width: 600px; margin-bottom: 24px; font-size: clamp(48px, 5.8vw, 76px); line-height: .99; }
h1 em, h2 em { color: #657d4e; font-weight: 650; }
.hero-lead { max-width: 495px; margin-bottom: 30px; color: #59675d; font-size: 14px; line-height: 1.85; }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 14px; min-height: 48px; padding: 0 19px; text-decoration: none; font-size: 11px; font-weight: 700; letter-spacing: .02em; transition: background .2s ease, color .2s ease, transform .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--green); color: white; }
.button-dark:hover { background: var(--green-deep); }
.button-light { background: var(--cream); color: var(--green); }
.button-light:hover { background: white; }
.text-link { font-size: 11px; font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(16, 61, 48, .42); padding: 7px 0; }
.text-link span { margin-left: 9px; color: #7f8e5c; font-size: 15px; }
.hero-facts { display: flex; gap: 28px; margin-top: 52px; padding-top: 20px; border-top: 1px solid var(--line); }
.hero-facts div { display: grid; gap: 2px; }
.hero-facts strong { font-family: var(--sans); font-size: 20px; font-weight: 600; }
.hero-facts span { font-size: 9px; color: #68766b; letter-spacing: .04em; }
.hero-visual { position: relative; min-height: 520px; overflow: hidden; background: var(--green); isolation: isolate; }
.hero-visual::before, .hero-visual::after { position: absolute; content: ""; z-index: -1; border: 1px solid rgba(230, 235, 216, .18); border-radius: 50%; }
.hero-visual::before { width: 440px; height: 440px; top: 60px; left: 50%; transform: translateX(-50%); }
.hero-visual::after { width: 350px; height: 350px; top: 105px; left: 50%; transform: translateX(-50%); }
.hero-visual-top, .hero-caption { position: absolute; left: 25px; right: 25px; display: flex; justify-content: space-between; color: rgba(245, 244, 232, .7); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.hero-visual-top { top: 23px; }
.hero-caption { bottom: 19px; }
.hero-stamp { position: absolute; z-index: 2; top: 60px; left: 28px; display: grid; color: var(--cream); transform: rotate(-5deg); }
.hero-stamp span { font-family: var(--sans); font-size: 56px; line-height: .8; letter-spacing: -.08em; }
.hero-stamp small { margin-top: 8px; font-size: 10px; letter-spacing: .24em; }
.hero-stamp b { margin-top: 5px; font-size: 10px; letter-spacing: .18em; color: var(--accent); }
.hero-disc { position: absolute; z-index: -1; left: 50%; bottom: -150px; width: 530px; height: 370px; transform: translateX(-50%); border-radius: 50%; background: #1d5641; }
.student { position: absolute; bottom: 0; width: 57%; height: auto; max-height: 87%; object-fit: contain; object-position: bottom; filter: drop-shadow(0 12px 12px rgba(0,0,0,.08)); }
.student-one { z-index: 1; left: 4%; width: 53%; }
.student-two { z-index: 2; right: 1%; width: 55%; }
.hero-bottom-rule { height: 5px; background: var(--accent); }

.section-pad { padding-block: 104px; }
.section-index { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; color: #708057; font-size: 9px; letter-spacing: .16em; writing-mode: vertical-rl; }
.section-index span:first-child { font-family: var(--sans); font-size: 23px; letter-spacing: 0; }
.index-rule { width: 1px; height: 55px; background: #9ba582; }
.intro-section { background: var(--paper); }
.intro-grid { display: grid; grid-template-columns: 90px 1fr; gap: 40px; }
.intro-main h2 { max-width: 820px; margin-bottom: 48px; font-size: clamp(42px, 5vw, 66px); line-height: 1.04; }
.intro-lower { display: grid; grid-template-columns: .8fr 1fr; gap: 80px; padding-top: 30px; border-top: 1px solid var(--line); }
.intro-quote { max-width: 330px; margin: 0; color: var(--green); font-family: var(--sans); font-size: 24px; line-height: 1.35; }
.mission-list .eyebrow { margin-bottom: 11px; }
.mission-list ol { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; counter-reset: mission; }
.mission-list li { position: relative; padding: 0 0 11px 33px; border-bottom: 1px solid rgba(16,61,48,.12); font-size: 12px; line-height: 1.65; color: #56645a; counter-increment: mission; }
.mission-list li::before { position: absolute; left: 0; top: 0; content: "0" counter(mission); font-family: var(--sans); font-size: 16px; color: #82905d; }

.gallery-section { padding: 92px 0 108px; background: #e9e9dc; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 50px; margin-bottom: 45px; }
.section-heading h2, .fees-heading h2, .location-copy h2, .contact-inner h2, .selection-intro h2, .extra-intro h2, .requirements-grid h2 { margin: 0; font-size: clamp(40px, 4.5vw, 58px); line-height: 1.04; }
.section-heading > p { max-width: 320px; margin: 0 0 6px; color: #657166; font-size: 12px; line-height: 1.8; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, minmax(170px, 1fr)); gap: 22px; align-items: start; }
.gallery-item { min-width: 0; margin: 0; }
.gallery-item button { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; border: 0; background: #d5d9cd; cursor: zoom-in; }
.gallery-item img { width: 100%; height: 190px; object-fit: cover; transition: transform .5s cubic-bezier(.2,.65,.3,1); }
.gallery-item:hover img { transform: scale(1.035); }
.gallery-item.gallery-large img, .gallery-item.gallery-tall img { height: 250px; }
.gallery-item.gallery-wide img { height: 190px; }
.gallery-item figcaption { display: flex; align-items: center; gap: 11px; padding-top: 9px; color: var(--green); font-size: 11px; font-weight: 600; }
.gallery-item figcaption span { color: #89936c; font-size: 9px; letter-spacing: .08em; }
.gallery-zoom { position: absolute; right: 10px; bottom: 10px; display: grid; width: 29px; height: 29px; place-items: center; background: rgba(250,249,244,.93); color: var(--green); font-size: 14px; opacity: 0; transition: opacity .2s ease; }
.gallery-item:hover .gallery-zoom, .gallery-open:focus-visible .gallery-zoom { opacity: 1; }

.program-section { background: var(--paper); }
.program-heading { margin-bottom: 50px; }
.school-levels { border-top: 1px solid var(--line); }
.school-level { display: grid; grid-template-columns: 80px minmax(0, 1fr) 130px; align-items: center; gap: 25px; padding: 36px 0; border-bottom: 1px solid var(--line); }
.school-number { align-self: start; padding-top: 2px; color: #88936b; font-family: var(--sans); font-size: 25px; }
.school-content .eyebrow { margin-bottom: 8px; }
.school-content h3 { margin-bottom: 12px; color: var(--green); font-family: var(--sans); font-size: 34px; font-weight: 500; letter-spacing: -.02em; line-height: 1.05; }
.school-content p:last-child { max-width: 620px; margin-bottom: 0; color: #637067; font-size: 12px; line-height: 1.8; }
.school-side { display: grid; justify-items: end; gap: 0; color: var(--green); }
.school-side span { font-family: var(--sans); font-size: 51px; line-height: 1; }
.school-side small { color: #78866b; font-size: 9px; letter-spacing: .15em; text-transform: uppercase; }
.boarding-note { display: flex; align-items: center; gap: 20px; margin-top: 28px; padding: 19px 23px; background: #e9eee5; }
.boarding-mark { display: grid; width: 49px; height: 49px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: var(--green); color: white; font-family: var(--sans); font-size: 18px; }
.boarding-note p { margin: 0; color: #56665a; font-size: 12px; }
.boarding-note strong { color: var(--green); }

.life-section { background: var(--green); color: var(--paper); }
.life-heading h2 em { color: var(--accent); }
.life-heading .eyebrow { color: #b8c38c; }
.life-heading > p { max-width: 310px; color: rgba(246,244,234,.68); }
.schedule-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding-top: 13px; border-top: 1px solid rgba(244,242,230,.27); }
.schedule-column-alt { padding-left: 30px; border-left: 1px solid rgba(244,242,230,.17); }
.schedule-row { display: grid; grid-template-columns: 112px 1fr; gap: 19px; min-height: 69px; align-items: center; border-bottom: 1px solid rgba(244,242,230,.15); }
.schedule-row time { color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.schedule-row strong { display: block; color: #fbfaf3; font-size: 12px; font-weight: 600; }
.schedule-row small { display: block; margin-top: 3px; color: rgba(246,244,234,.55); font-size: 10px; }
.schedule-footnote { margin: 18px 0 0; color: rgba(246,244,234,.48); font-size: 10px; }

.extracurricular-section { background: #e9e9dc; }
.extracurricular-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 95px; align-items: center; }
.extra-intro { position: relative; min-height: 420px; }
.extra-intro h2 { position: relative; z-index: 2; margin-bottom: 18px; }
.extra-intro > p:not(.eyebrow) { position: relative; z-index: 2; max-width: 300px; color: #637067; font-size: 12px; }
.extra-intro img { position: absolute; bottom: -45px; right: -10px; width: 220px; max-height: 350px; object-fit: contain; object-position: bottom; }
.extra-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 45px; }
.extra-list-heading { display: flex; align-items: center; gap: 14px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.extra-list-heading span { color: #8d986c; font-family: var(--sans); font-size: 24px; }
.extra-list-heading h3 { margin: 0; color: var(--green); font-family: var(--sans); font-size: 26px; font-weight: 500; }
.extra-list ul { margin: 0; padding: 0; list-style: none; }
.extra-list li { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid rgba(16,61,48,.13); color: #405348; font-size: 12px; }
.extra-list li small { color: #829066; font-size: 9px; white-space: nowrap; }

.admission-section { background: var(--paper); }
.admission-heading { margin-bottom: 50px; }
.waves { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.wave { min-height: 260px; padding: 26px 29px 25px; border-right: 1px solid var(--line); }
.wave:last-child { border-right: 0; }
.wave-featured { background: #e9eee5; }
.wave-top { display: flex; justify-content: space-between; align-items: center; color: var(--green); font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.wave-top span:first-child { color: #869366; font-family: var(--sans); font-size: 25px; }
.wave-date { margin: 29px 0 26px; color: var(--green); font-family: var(--sans); font-size: 25px; line-height: 1.15; }
.wave-benefit { display: grid; gap: 0; padding-top: 14px; border-top: 1px solid rgba(16,61,48,.17); color: #6b7d4d; }
.wave-benefit strong { font-size: 12px; }
.wave-benefit small { color: #7e8b75; font-size: 10px; }
.wave-benefit-muted { color: #6b746a; }
.admission-cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 27px; }
.admission-cta p { margin: 0; color: #59675d; font-family: var(--sans); font-size: 21px; }

.selection-section { background: #e9e9dc; }
.selection-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 85px; }
.selection-intro h2 { margin-bottom: 18px; }
.selection-intro > p:not(.eyebrow):not(.registration-fee) { max-width: 280px; color: #647067; font-size: 12px; }
.registration-fee { display: flex; flex-direction: column; gap: 1px; margin-top: 40px; padding-top: 15px; border-top: 1px solid var(--line); color: #65736a; font-size: 10px; text-transform: uppercase; letter-spacing: .11em; }
.registration-fee strong { color: var(--green); font-family: var(--sans); font-size: 26px; letter-spacing: 0; text-transform: none; }
.selection-tests { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.test-block { padding-top: 15px; border-top: 2px solid var(--green); }
.test-label { color: #7b885c; font-size: 9px; font-weight: 700; letter-spacing: .15em; }
.test-block h3 { margin: 18px 0 23px; color: var(--green); font-family: var(--sans); font-size: 26px; font-weight: 500; }
.test-block ol { display: grid; gap: 13px; margin: 0; padding-left: 20px; color: #59685e; font-size: 12px; }
.test-block li::marker { color: #829064; font-family: var(--sans); }

.requirements-section { background: var(--paper); }
.requirements-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 85px; }
.requirements-grid h2 { margin-bottom: 18px; }
.requirements-lead { max-width: 270px; color: #66736a; font-size: 12px; }
.requirements-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: requirement; }
.requirements-list li { position: relative; padding: 12px 0 12px 41px; border-bottom: 1px solid var(--line); color: #59675d; font-size: 12px; line-height: 1.6; counter-increment: requirement; }
.requirements-list li::before { position: absolute; left: 0; top: 11px; content: "0" counter(requirement); color: #89966b; font-family: var(--sans); font-size: 17px; }
.requirements-note { margin: 17px 0 0; padding: 13px 16px; border-left: 2px solid #a3ae7b; background: #f0f1e8; color: #647164; font-size: 10px; line-height: 1.7; }

.fees-section { background: var(--green); color: var(--paper); }
.fees-heading { display: flex; justify-content: space-between; align-items: end; gap: 60px; margin-bottom: 48px; }
.fees-heading .eyebrow { color: #b6c18a; }
.fees-heading h2 em { color: var(--accent); }
.fees-heading > p { max-width: 330px; margin: 0 0 6px; color: rgba(246,244,234,.68); font-size: 12px; line-height: 1.8; }
.fees-content { display: grid; grid-template-columns: 1fr 1.35fr 1fr; gap: 14px; align-items: start; }
.fee-block { padding: 23px 20px 21px; background: rgba(4,26,19,.3); border-top: 1px solid rgba(237,239,221,.36); }
.fee-block-heading { display: flex; gap: 13px; align-items: start; min-height: 72px; padding-bottom: 17px; border-bottom: 1px solid rgba(237,239,221,.2); }
.fee-block-heading > span { color: var(--accent); font-family: var(--sans); font-size: 25px; }
.fee-block-heading .eyebrow { margin: 2px 0 5px; color: #b8c38d; font-size: 8px; }
.fee-block-heading h3 { margin: 0; color: #fff; font-family: var(--sans); font-size: 21px; font-weight: 500; line-height: 1.1; }
.fee-line { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid rgba(237,239,221,.13); color: rgba(250,249,244,.83); font-size: 10px; }
.fee-line strong { color: #fff; font-size: 10px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.fee-line small { display: block; margin-top: 3px; color: rgba(246,244,234,.49); font-size: 8px; }
.fee-total { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; color: var(--accent); font-size: 10px; font-weight: 700; }
.fee-total > strong { color: #fff; font-family: var(--sans); font-size: 21px; white-space: nowrap; }
.fee-total-interactive { align-items: end; }
.fee-total-interactive > div { display: grid; gap: 10px; }
.fee-switch { display: inline-flex; gap: 4px; padding: 3px; border: 1px solid rgba(241,241,225,.32); }
.fee-switch-button { padding: 5px 9px; border: 0; background: transparent; color: rgba(250,249,244,.69); cursor: pointer; font-size: 9px; }
.fee-switch-button.is-active { background: var(--accent); color: var(--green-deep); font-weight: 700; }
.fee-smallprint { margin: 13px 0 0; color: rgba(246,244,234,.5); font-size: 9px; line-height: 1.65; }
.fee-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 38px; margin-top: 18px; padding: 20px 22px; border: 1px solid rgba(237,239,221,.22); }
.fee-notes p { margin: 0; color: rgba(246,244,234,.62); font-size: 9px; line-height: 1.7; }
.fee-notes strong { color: #e5e8d1; }

.location-section { background: var(--cream); }
.location-grid { display: grid; grid-template-columns: 1fr .86fr; gap: 88px; align-items: center; }
.location-photo { position: relative; }
.location-photo img { width: 100%; height: 445px; object-fit: cover; object-position: center 60%; }
.location-photo span { position: absolute; right: -1px; bottom: 0; padding: 12px 17px; background: var(--green); color: var(--paper); font-size: 9px; letter-spacing: .13em; text-transform: uppercase; }
.location-copy h2 { margin-bottom: 19px; }
.location-copy > p:not(.eyebrow):not(.location-disclaimer) { max-width: 370px; color: #5d6a61; font-size: 12px; line-height: 1.8; }
.nearby-list { margin-top: 29px; border-top: 1px solid var(--line); }
.nearby-list div { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); color: #5c6a61; font-size: 11px; }
.nearby-list strong { color: var(--green); font-variant-numeric: tabular-nums; }
.location-disclaimer { margin: 13px 0 0; color: #8a938a; font-size: 9px; }

.university-section { padding: 38px 0 36px; background: #e9e9dc; }
.university-inner { display: grid; grid-template-columns: 210px 1fr; gap: 10px 35px; align-items: center; }
.university-inner .eyebrow { margin: 0; }
.university-list { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: var(--green); font-family: var(--sans); font-size: 18px; }
.university-list i { width: 4px; height: 4px; border-radius: 50%; background: #8a966b; }
.university-note { grid-column: 2; margin: 0; color: #859084; font-size: 9px; }

.contact-section { background: var(--green-deep); color: var(--paper); }
.contact-inner { display: grid; grid-template-columns: 1fr .9fr; gap: 100px; align-items: center; }
.contact-inner .eyebrow { color: #bdc890; }
.contact-inner h2 { margin-bottom: 18px; }
.contact-inner h2 em { color: var(--accent); }
.contact-inner > div:first-child > p:last-child { max-width: 370px; margin: 0; color: rgba(246,244,234,.64); font-size: 12px; }
.contact-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.contact-person { display: grid; gap: 3px; padding: 16px 0; border-top: 1px solid rgba(242,242,223,.3); text-decoration: none; }
.contact-person:hover { border-color: var(--accent); }
.contact-role { color: #b7c18d; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.contact-person strong { font-family: var(--sans); font-size: 21px; font-weight: 500; }
.contact-person > span:last-child { color: rgba(246,244,234,.6); font-size: 10px; }
.contact-person b { color: var(--accent); font-size: 13px; padding-left: 3px; }
.contact-actions .button { grid-column: 1 / -1; justify-self: start; margin-top: 7px; }
.site-footer { background: #071e18; color: rgba(248,247,238,.65); }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 25px; padding-block: 27px; border-bottom: 1px solid rgba(246,244,234,.15); }
.brand-footer { color: var(--paper); }
.brand-footer .brand-mark { border-color: rgba(245,244,232,.8); }
.footer-top > p { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.3; }
.footer-top > a:last-child { color: var(--accent); font-size: 10px; text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-block: 14px 18px; color: rgba(246,244,234,.38); font-size: 9px; }

.lightbox { width: min(92vw, 1000px); max-width: none; max-height: 90vh; padding: 14px; border: 0; background: #071e18; }
.lightbox::backdrop { background: rgba(3, 14, 10, .88); }
.lightbox img { max-width: 100%; max-height: calc(90vh - 28px); margin: auto; object-fit: contain; }
.lightbox-close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; background: rgba(0,0,0,.35); color: white; cursor: pointer; font-size: 22px; line-height: 1; }

@media (max-width: 980px) {
  .shell { width: min(100% - 48px, var(--shell)); }
  .primary-nav { gap: 17px; }
  .primary-nav a { font-size: 10px; }
  .hero-grid { gap: 28px; grid-template-columns: 1fr .9fr; min-height: 610px; }
  .hero-visual { min-height: 470px; }
  .hero-facts { gap: 18px; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-item.gallery-tall { grid-row: span 1; }
  .gallery-item.gallery-wide { grid-column: span 1; }
  .extracurricular-grid, .location-grid { gap: 50px; }
  .extra-intro img { width: 180px; }
  .fees-content { grid-template-columns: 1fr 1.25fr; }
  .fee-yearly { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 72px; }
  .shell { width: calc(100% - 36px); }
  .notice-bar { font-size: 8px; }
  .site-header .nav-wrap { min-height: 66px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-name strong { font-size: 11px; }
  .brand-name small { font-size: 8px; }
  .menu-toggle { display: block; cursor: pointer; }
  .primary-nav { position: absolute; top: 65px; left: 0; right: 0; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 6px 18px 18px; background: var(--paper); border-bottom: 1px solid var(--line); }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 13px 2px; border-bottom: 1px solid rgba(16,61,48,.1); font-size: 12px; }
  .primary-nav .nav-cta { justify-content: center; margin-top: 10px; padding: 13px; }
  .hero-grid { display: flex; flex-direction: column; align-items: stretch; gap: 32px; padding-block: 50px 0; }
  .hero-copy { padding: 0; }
  h1 { max-width: 540px; font-size: clamp(45px, 12vw, 64px); }
  .hero-lead { font-size: 13px; }
  .hero-facts { justify-content: space-between; gap: 10px; margin-top: 37px; }
  .hero-facts strong { font-size: 17px; }
  .hero-facts span { max-width: 96px; font-size: 8px; }
  .hero-visual { min-height: 440px; width: 100%; }
  .hero-stamp { top: 48px; left: 23px; }
  .hero-stamp span { font-size: 49px; }
  .student { max-height: 84%; }
  .student-one { left: 2%; width: 53%; }
  .student-two { right: -2%; width: 57%; }
  .section-pad { padding-block: 75px; }
  .intro-grid { grid-template-columns: 1fr; gap: 17px; }
  .section-index { flex-direction: row; align-items: center; writing-mode: initial; }
  .section-index span:first-child { font-size: 18px; }
  .index-rule { width: 34px; height: 1px; }
  .intro-main h2 { margin-bottom: 31px; font-size: 44px; }
  .intro-lower { grid-template-columns: 1fr; gap: 32px; }
  .intro-quote { max-width: 100%; font-size: 23px; }
  .gallery-section { padding: 70px 0 76px; }
  .section-heading { display: grid; gap: 17px; margin-bottom: 30px; }
  .section-heading h2, .fees-heading h2, .location-copy h2, .contact-inner h2, .selection-intro h2, .extra-intro h2, .requirements-grid h2 { font-size: 43px; }
  .section-heading > p { max-width: 450px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 19px 12px; }
  .gallery-item img, .gallery-item.gallery-large img, .gallery-item.gallery-tall img, .gallery-item.gallery-wide img { height: clamp(130px, 42vw, 210px); }
  .gallery-item figcaption { font-size: 10px; }
  .program-heading { margin-bottom: 30px; }
  .school-level { grid-template-columns: 38px 1fr; gap: 13px; padding: 27px 0; }
  .school-content h3 { font-size: 29px; }
  .school-side { grid-column: 2; display: flex; justify-content: flex-start; align-items: baseline; gap: 11px; }
  .school-side span { font-size: 30px; }
  .boarding-note { align-items: flex-start; padding: 16px; }
  .boarding-note p { font-size: 11px; }
  .life-heading { margin-bottom: 30px; }
  .schedule-layout { grid-template-columns: 1fr; gap: 0; }
  .schedule-column-alt { padding-left: 0; border-left: 0; }
  .schedule-row { grid-template-columns: 104px 1fr; min-height: 65px; gap: 13px; }
  .schedule-row time { font-size: 9px; }
  .schedule-row strong { font-size: 11px; }
  .extracurricular-section { padding-block: 70px; }
  .extracurricular-grid { grid-template-columns: 1fr; gap: 35px; }
  .extra-intro { min-height: 250px; }
  .extra-intro img { right: 0; bottom: -25px; width: 138px; max-height: 270px; }
  .extra-intro > p:not(.eyebrow) { max-width: 245px; }
  .extra-lists { gap: 20px; }
  .extra-list-heading h3 { font-size: 22px; }
  .extra-list li { display: grid; gap: 1px; font-size: 11px; }
  .extra-list li small { font-size: 8px; }
  .admission-heading { margin-bottom: 28px; }
  .waves { grid-template-columns: 1fr; }
  .wave { min-height: 0; padding: 21px 19px; border-right: 0; border-bottom: 1px solid var(--line); }
  .wave:last-child { border-bottom: 0; }
  .wave-date { margin: 17px 0; font-size: 23px; }
  .wave-benefit { padding-top: 10px; }
  .admission-cta { align-items: flex-start; flex-direction: column; }
  .selection-grid, .requirements-grid { grid-template-columns: 1fr; gap: 38px; }
  .registration-fee { margin-top: 25px; }
  .selection-tests { gap: 20px; }
  .test-block h3 { font-size: 23px; }
  .test-block ol { font-size: 11px; }
  .requirements-lead { max-width: 340px; }
  .requirements-list li { padding-left: 35px; font-size: 11px; }
  .fees-heading { display: grid; gap: 17px; margin-bottom: 30px; }
  .fees-content { grid-template-columns: 1fr; gap: 13px; }
  .fee-yearly { grid-column: auto; }
  .fee-block { padding: 21px 17px; }
  .fee-notes { grid-template-columns: 1fr; gap: 9px; padding: 17px; }
  .location-grid { grid-template-columns: 1fr; gap: 35px; }
  .location-photo img { height: 300px; }
  .university-inner { grid-template-columns: 1fr; gap: 15px; }
  .university-list { justify-content: flex-start; gap: 9px 13px; font-size: 16px; }
  .university-note { grid-column: 1; }
  .contact-inner { grid-template-columns: 1fr; gap: 35px; }
  .contact-actions { gap: 12px; }
  .contact-person strong { font-size: 18px; }
  .footer-top { align-items: flex-start; flex-direction: column; gap: 16px; padding-block: 25px; }
  .footer-bottom { flex-direction: column; gap: 6px; }
}

@media (max-width: 380px) {
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 14px; }
  .hero-visual { min-height: 385px; }
  .hero-caption { font-size: 8px; }
  .extra-lists { grid-template-columns: 1fr; }
  .extra-intro { min-height: 220px; }
  .selection-tests { grid-template-columns: 1fr; }
  .contact-actions { grid-template-columns: 1fr; }
  .contact-actions .button { grid-column: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
