:root {
  --navy: #0b1f3a;
  --blue: #173a5e;
  --blue-bright: #2d5678;
  --gold: #b8892d;
  --gold-soft: #d8bd7a;
  --gold-on-light: #80601e;
  --ink: #1b2838;
  --paper: #f6f5f1;
  --white: #ffffff;
  --line: rgba(11, 31, 58, 0.16);
  --shell: min(1180px, calc(100vw - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "DM Sans", sans-serif; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 10px 16px; color: white; background: var(--navy); transform: translateY(-150%); transition: transform .2s; }
.skip-link:focus { transform: translateY(0); }

.topbar { color: white; background: var(--navy); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.topbar__inner { min-height: 35px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.topbar p { margin: 0; }
.topbar__links { display: flex; align-items: center; gap: 12px; }
.topbar-divider { width: 1px; height: 12px; background: rgba(255,255,255,.32); }
.topbar a:hover { color: var(--gold-soft); }
.instagram-link { display: inline-flex; align-items: center; gap: 7px; }
.instagram-link svg { width: 16px; height: 16px; flex: 0 0 16px; }

.site-header { position: relative; z-index: 20; background: rgba(255, 255, 255, .97); border-bottom: 1px solid rgba(11, 31, 58, .1); }
.header__inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 14px; min-width: 260px; }
.brand__mark { width: 62px; height: 62px; flex: 0 0 62px; border-radius: 50%; background-color: white; background-image: url("./assets/logo-hts.jpg"); background-repeat: no-repeat; background-position: center 27%; background-size: 165%; box-shadow: 0 5px 20px rgba(11, 31, 58, .12); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong { color: var(--navy); font-family: "Playfair Display", serif; font-size: 19px; font-weight: 600; }
.brand__text small { margin-top: 5px; color: #68717c; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.desktop-nav { display: flex; align-items: center; gap: clamp(18px, 2.5vw, 36px); font-size: 13px; font-weight: 600; letter-spacing: .03em; }
.desktop-nav a { position: relative; padding-block: 9px; }
.desktop-nav a::after { content: ""; position: absolute; right: 0; bottom: 0; left: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .25s; }
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.header__actions { display: flex; align-items: center; gap: 15px; }
.language-toggle { min-width: 56px; min-height: 44px; padding: 0 6px; color: #6f7780; background: none; border: 0; cursor: pointer; font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.language-toggle__active { color: var(--navy); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 52px; padding: 0 25px; color: white; background: var(--blue); border: 1px solid var(--blue); font-size: 13px; font-weight: 700; letter-spacing: .025em; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover, .button:focus-visible { transform: translateY(-2px); background: var(--navy); box-shadow: 0 14px 30px rgba(11, 31, 58, .18); }
.button--small { min-height: 44px; padding: 0 18px; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 12px; background: var(--navy); border: 0; cursor: pointer; }
.language-toggle:focus-visible, .menu-toggle:focus-visible { outline: 3px solid var(--gold-on-light); outline-offset: 3px; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; margin-block: 5px; background: white; transition: transform .2s; }
.menu-toggle[aria-expanded="true"] span:nth-last-child(2) { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-nav { position: absolute; top: 100%; left: 0; width: 100%; color: white; background: var(--navy); }
.mobile-nav__inner { display: grid; padding-block: 18px 28px; }
.mobile-nav a { padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.14); font-family: "Playfair Display", serif; font-size: 24px; }

.hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(65px, 9vw, 118px) 0 0; color: white; background: var(--navy); }
.hero::after { content: ""; position: absolute; z-index: -3; inset: 0; background: linear-gradient(90deg, rgba(11,31,58,.97) 0%, rgba(11,31,58,.88) 46%, rgba(11,31,58,.42) 100%), linear-gradient(180deg, rgba(11,31,58,.12), rgba(11,31,58,.4)); pointer-events: none; }
.hero__video { position: absolute; z-index: -4; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.hero__pattern { position: absolute; z-index: -2; inset: 0; opacity: .08; background-image: linear-gradient(30deg, transparent 48%, rgba(255,255,255,.16) 49%, rgba(255,255,255,.16) 51%, transparent 52%), linear-gradient(150deg, transparent 48%, rgba(255,255,255,.09) 49%, rgba(255,255,255,.09) 51%, transparent 52%); background-size: 90px 155px; }
.hero::before { content: ""; position: absolute; z-index: -1; width: 50vw; height: 50vw; right: -19vw; top: -20vw; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; box-shadow: 0 0 0 80px rgba(255,255,255,.025), 0 0 0 160px rgba(255,255,255,.02); }
.hero__grid { padding-bottom: 95px; }
.hero__copy { max-width: 920px; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; color: var(--gold-soft); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
.hero h1 { max-width: 720px; margin: 0; font-family: "Playfair Display", serif; font-size: clamp(48px, 6.7vw, 88px); font-weight: 600; line-height: .97; letter-spacing: -.035em; }
.hero h1 em { color: var(--gold); font-weight: 600; }
.intro h2 em { color: var(--gold-on-light); font-weight: 600; }
.hero__lead { max-width: 580px; margin: 30px 0 0; color: rgba(255,255,255,.79); font-size: clamp(17px, 2vw, 20px); line-height: 1.65; }
.hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 28px; margin-top: 36px; }
.hero .button { color: var(--navy); background: var(--gold); border-color: var(--gold); }
.hero .button:hover { background: #c59a45; }
.text-link { display: inline-flex; align-items: center; gap: 13px; padding-block: 8px; border-bottom: 1px solid currentColor; font-size: 13px; font-weight: 700; }
.text-link:hover, .text-link:focus-visible { color: var(--gold-soft); }

.quick-links { position: relative; z-index: 5; display: grid; grid-template-columns: repeat(3, 1fr); color: var(--navy); background: white; transform: translateY(1px); }
.quick-links a { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 18px; min-height: 86px; padding: 0 28px; border-right: 1px solid var(--line); transition: color .2s, background .2s; }
.quick-links a:last-child { border: 0; }
.quick-links a:hover { color: white; background: var(--blue); }
.quick-links span { color: var(--gold-on-light); font-size: 11px; font-weight: 700; }
.quick-links a:hover span, .quick-links a:focus-visible span { color: var(--gold-soft); }
.quick-links strong { font-size: 14px; }

.section { padding-block: clamp(84px, 10vw, 138px); }
.section-label { display: flex; align-items: center; gap: 14px; color: var(--blue); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.section-label span:first-child { display: grid; place-items: center; width: 30px; height: 30px; color: var(--navy); border: 1px solid var(--line); border-radius: 50%; letter-spacing: 0; }
.section-label--light { color: var(--gold-soft); }
.section-label--light span:first-child { color: white; border-color: rgba(255,255,255,.28); }
.intro { background: white; }
.intro__grid { display: grid; grid-template-columns: 220px 1fr; gap: 70px; }
.intro__content h2 { max-width: 880px; margin: -14px 0 55px; color: var(--navy); font-family: "Playfair Display", serif; font-size: clamp(39px, 5vw, 67px); font-weight: 600; line-height: 1.08; letter-spacing: -.025em; }
.intro__body { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 70px; padding-top: 35px; border-top: 1px solid var(--line); }
.intro__body p { max-width: 720px; margin: 0; color: #59636e; font-size: 17px; line-height: 1.8; }
.intro__body .text-link { color: var(--blue); white-space: nowrap; }

.pillars { color: white; background: var(--blue); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 62px; }
.section-heading h2 { margin: 0; font-family: "Playfair Display", serif; font-size: clamp(37px, 5vw, 62px); font-weight: 600; letter-spacing: -.02em; }
.pillars__grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.2); border-bottom: 1px solid rgba(255,255,255,.2); }
.pillar { position: relative; min-height: 390px; padding: 42px 38px 38px; border-right: 1px solid rgba(255,255,255,.2); transition: background .25s; }
.pillar:last-child { border-right: 0; }
.pillar:hover { background: rgba(255,255,255,.06); }
.pillar__number { position: absolute; top: 25px; right: 26px; color: var(--gold-soft); font-size: 11px; }
.pillar__icon { width: 74px; height: 74px; display: grid; place-items: center; margin: 15px 0 72px; border: 1px solid rgba(255,255,255,.34); border-radius: 50%; font-family: "Playfair Display", serif; font-size: 18px; }
.pillar__icon--book { display: flex; justify-content: center; gap: 3px; }
.pillar__icon--book i { width: 18px; height: 28px; border: 1px solid white; border-radius: 2px 2px 8px 2px; }
.pillar__icon--book i:last-child { transform: scaleX(-1); }
.pillar__icon--people { display: flex; justify-content: center; align-items: center; gap: 2px; }
.pillar__icon--people i { width: 13px; height: 25px; border: 1px solid white; border-radius: 10px 10px 4px 4px; }
.pillar__icon--people i:nth-child(2) { height: 32px; }
.pillar h3 { margin: 0 0 18px; font-family: "Playfair Display", serif; font-size: 27px; font-weight: 600; }
.pillar p { margin: 0; color: rgba(255,255,255,.72); font-size: 15px; line-height: 1.7; }

.school-life { position: relative; overflow: hidden; background: #eef0f1; }
.school-life::after { content: ""; position: absolute; width: 380px; height: 380px; right: -190px; top: -170px; border: 1px solid rgba(11,31,58,.12); border-radius: 50%; box-shadow: 0 0 0 70px rgba(11,31,58,.025); pointer-events: none; }
.school-life__intro { display: grid; grid-template-columns: 220px 1fr; gap: 70px; align-items: start; }
.school-life__intro h2 { max-width: 840px; margin: -14px 0 22px; color: var(--navy); font-family: "Playfair Display", serif; font-size: clamp(42px, 5.2vw, 68px); font-weight: 600; line-height: 1.07; letter-spacing: -.025em; }
.school-life__intro h2 em { color: var(--gold-on-light); font-weight: 600; }
.school-life__intro p { max-width: 650px; margin: 0; color: #5d6670; font-size: 17px; line-height: 1.75; }
.school-life__media { position: relative; z-index: 1; margin: 60px 0 0; overflow: hidden; background: #050b14; box-shadow: 0 30px 70px rgba(11,31,58,.2); }
.school-life__media video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #050b14; }

.community { background: white; }
.community__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(60px, 9vw, 130px); }
.community__visual { position: relative; min-height: 590px; margin: 0; overflow: hidden; background: var(--navy); }
.community__visual::after { content: ""; position: absolute; inset: 42% 0 0; background: linear-gradient(transparent, rgba(8,24,44,.84)); pointer-events: none; }
.community__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 45% center; transition: transform .7s ease; }
.community__visual:hover img { transform: scale(1.025); }
.community__visual figcaption { position: absolute; z-index: 2; right: 30px; bottom: 28px; left: 30px; display: flex; align-items: center; gap: 14px; color: white; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.community__visual figcaption::before { content: ""; width: 32px; height: 2px; flex: 0 0 32px; background: var(--gold); }
.community__copy h2 { margin: 32px 0 26px; color: var(--navy); font-family: "Playfair Display", serif; font-size: clamp(40px, 5vw, 63px); font-weight: 600; line-height: 1.08; letter-spacing: -.025em; }
.community__copy > p { max-width: 560px; margin: 0 0 34px; color: #5d6670; font-size: 17px; line-height: 1.8; }
.button--outline { color: var(--blue); background: transparent; border-color: var(--blue); }
.button--outline:hover { color: white; }

.gallery { padding-block: clamp(84px, 10vw, 138px) clamp(64px, 6vw, 88px); color: white; background: var(--navy); }
.gallery__intro { display: grid; grid-template-columns: 220px 1fr; gap: 70px; align-items: start; margin-bottom: 62px; }
.gallery__intro h2 { max-width: 820px; margin: -14px 0 22px; font-family: "Playfair Display", serif; font-size: clamp(42px, 5.2vw, 68px); font-weight: 600; line-height: 1.07; letter-spacing: -.025em; }
.gallery__intro h2 em { color: var(--gold); font-weight: 600; }
.gallery__intro p { max-width: 680px; margin: 0; color: rgba(255,255,255,.68); font-size: 17px; line-height: 1.75; }
.gallery__grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 70px; gap: 14px; }
.gallery__item { position: relative; margin: 0; overflow: hidden; background: var(--blue); }
.gallery__item--1 { grid-column: 1 / span 7; grid-row: 1 / span 5; }
.gallery__item--2 { grid-column: 8 / span 5; grid-row: 1 / span 7; }
.gallery__item--3 { grid-column: 1 / span 5; grid-row: 6 / span 7; }
.gallery__item--4 { grid-column: 6 / span 7; grid-row: 8 / span 5; }
.gallery__item--5 { grid-column: 1 / span 7; grid-row: 13 / span 7; }
.gallery__item--6 { grid-column: 8 / span 5; grid-row: 13 / span 7; }
.gallery__item::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(8,24,44,.82)); pointer-events: none; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s ease; }
.gallery__item:hover img { transform: scale(1.035); }
.gallery__item figcaption { position: absolute; z-index: 2; right: 22px; bottom: 20px; left: 22px; display: flex; align-items: center; gap: 12px; color: white; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.gallery__item figcaption::before { content: ""; width: 26px; height: 2px; flex: 0 0 26px; background: var(--gold); }

.contact { padding-block: clamp(64px, 7vw, 96px) 0; background: var(--paper); }
.admissions { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(44px, 7vw, 90px); padding: clamp(52px, 7vw, 88px); color: white; background: var(--navy); }
.admissions__intro { align-self: center; }
.admissions__intro h2 { max-width: 560px; margin: 0 0 28px; font-family: "Playfair Display", serif; font-size: clamp(40px, 4.8vw, 62px); font-weight: 600; line-height: 1.04; letter-spacing: -.025em; }
.admissions__intro h2 em { color: var(--gold-soft); font-weight: 600; }
.admissions__intro > p { max-width: 540px; margin: 0; color: rgba(255,255,255,.78); font-size: 17px; line-height: 1.75; }
.admissions__assurances { display: grid; gap: 13px; margin: 36px 0 0; padding: 28px 0 0; border-top: 1px solid rgba(255,255,255,.18); list-style: none; }
.admissions__assurances li { position: relative; padding-inline-start: 22px; color: rgba(255,255,255,.78); font-size: 14px; line-height: 1.6; }
.admissions__assurances li::before { content: ""; position: absolute; top: .65em; left: 0; width: 7px; height: 7px; background: var(--gold-soft); transform: rotate(45deg); }
.admissions__assurances a { color: white; border-bottom: 1px solid var(--gold-soft); }
.admissions__flow { min-width: 0; padding: clamp(28px, 4vw, 48px); color: var(--ink); background: white; box-shadow: 0 28px 60px rgba(3,12,24,.28); }
.admissions__progress { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 12px; }
.admissions__progress::before { content: ""; position: absolute; top: 17px; right: 17px; left: 17px; height: 1px; background: rgba(11,31,58,.17); }
.admissions__progress span { position: relative; z-index: 1; display: grid; place-items: center; width: 34px; height: 34px; color: #68717c; background: white; border: 1px solid rgba(11,31,58,.24); border-radius: 50%; font-size: 12px; font-weight: 700; }
.admissions__progress span:nth-child(2) { justify-self: center; }
.admissions__progress span:last-child { justify-self: end; }
.admissions__progress span.is-current, .admissions__progress span.is-complete { color: white; background: var(--navy); border-color: var(--navy); }
.admissions__progress-label { margin: 0 0 34px; color: #5d6670; font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.admissions__step h3, .admissions__result h3 { margin: 0 0 10px; color: var(--navy); font-family: "Playfair Display", serif; font-size: clamp(29px, 3vw, 38px); font-weight: 600; line-height: 1.15; }
.admissions__step > p { margin: 0 0 28px; color: #5d6670; font-size: 15px; line-height: 1.65; }
.js-admissions .admissions__step { display: none; }
.js-admissions .admissions__step.is-active { display: block; }
.admissions__choices { display: grid; gap: 10px; margin: 0; padding: 0; border: 0; }
.admissions__choices label { position: relative; display: block; cursor: pointer; }
.admissions__choices input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.admissions__choices label > span { display: grid; gap: 4px; min-height: 74px; padding: 15px 18px; border: 1px solid rgba(11,31,58,.2); transition: border-color .2s, background .2s, box-shadow .2s; }
.admissions__choices strong { color: var(--navy); font-size: 15px; }
.admissions__choices small { color: #68717c; font-size: 13px; }
.admissions__choices input:checked + span { background: #f2f5f7; border-color: var(--navy); box-shadow: inset 4px 0 0 var(--navy); }
.admissions__choices input:focus-visible + span { outline: 3px solid var(--gold-on-light); outline-offset: 3px; }
.admissions__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.admissions__field { display: grid; gap: 8px; color: var(--navy); font-size: 13px; font-weight: 700; }
.admissions__field--wide { grid-column: 1 / -1; }
.admissions__field input, .admissions__field textarea { width: 100%; min-height: 50px; padding: 12px 14px; color: var(--ink); background: #fbfbfa; border: 1px solid rgba(11,31,58,.28); border-radius: 0; font: inherit; font-size: 16px; font-weight: 400; caret-color: var(--navy); }
.admissions__field textarea { resize: vertical; }
.admissions__field input:focus, .admissions__field textarea:focus { outline: 3px solid rgba(128,96,30,.3); outline-offset: 1px; border-color: var(--gold-on-light); }
.admissions__field small { color: #68717c; font-size: 11px; font-weight: 500; }
.admissions__channel { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; padding: 0; border: 0; }
.admissions__channel legend { width: 100%; margin-bottom: 7px; color: var(--navy); font-size: 13px; font-weight: 700; }
.admissions__channel label { position: relative; cursor: pointer; }
.admissions__channel input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.admissions__channel label > span { display: grid; place-items: center; min-width: 128px; min-height: 48px; padding: 0 18px; border: 1px solid rgba(11,31,58,.24); font-size: 13px; font-weight: 700; }
.admissions__channel input:checked + span { color: white; background: var(--navy); border-color: var(--navy); }
.admissions__channel input:focus-visible + span { outline: 3px solid var(--gold-on-light); outline-offset: 3px; }
.admissions__consent { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; cursor: pointer; color: #4d5864; font-size: 13px; line-height: 1.55; }
.admissions__consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--navy); }
.admissions__handoff { margin: 18px 0 0; padding: 14px 16px; color: #4d5864; background: #f2f5f7; font-size: 12px; line-height: 1.55; }
.admissions__nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 30px; }
.admissions__nav--end { justify-content: flex-end; }
.admissions__back, .admissions__restart { min-height: 44px; padding: 0; color: var(--blue); background: none; border: 0; border-bottom: 1px solid currentColor; cursor: pointer; font: inherit; font-size: 13px; font-weight: 700; }
.admissions__back:focus-visible, .admissions__restart:focus-visible { outline: 3px solid var(--gold-on-light); outline-offset: 3px; }
.admissions__result { padding-block: 12px; }
.admissions__result-mark { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 0 24px; color: white; background: var(--navy); border-radius: 50%; font-family: "Playfair Display", serif; font-size: 15px; font-weight: 600; }
.admissions__result > p:not(.admissions__result-mark) { max-width: 520px; margin: 0; color: #5d6670; font-size: 15px; line-height: 1.7; }
.admissions__result-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 28px; }
.admissions__email-link { color: var(--blue); border-bottom: 1px solid currentColor; font-size: 13px; font-weight: 700; }
.admissions__restart { margin-top: 28px; }
.admissions__noscript { color: var(--navy); line-height: 1.65; }
.admissions__noscript a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.location__grid { display: grid; grid-template-columns: .72fr 1.28fr; align-items: stretch; gap: clamp(48px, 7vw, 100px); padding-block: clamp(82px, 10vw, 132px); }
.location__copy { align-self: center; }
.location__copy h3 { margin: 30px 0 24px; color: var(--navy); font-family: "Playfair Display", serif; font-size: clamp(38px, 4.5vw, 57px); font-weight: 600; line-height: 1.08; letter-spacing: -.025em; }
.location__copy h3 em { color: var(--gold-on-light); font-weight: 600; }
.location__copy > p { margin: 0 0 34px; color: #5d6670; font-size: 16px; line-height: 1.75; }
.location__map { position: relative; min-height: 480px; overflow: hidden; background: #dde2e5; border: 1px solid var(--line); }
.location__map iframe { display: block; width: 100%; height: 100%; min-height: 480px; border: 0; filter: saturate(.75) contrast(1.04); }
.location__map > a { position: absolute; right: 20px; bottom: 20px; display: inline-flex; align-items: center; min-height: 48px; padding: 0 19px; color: white; background: var(--navy); box-shadow: 0 12px 28px rgba(11,31,58,.24); font-size: 12px; font-weight: 700; }
.location__map > a:hover, .location__map > a:focus-visible { background: var(--blue-bright); }

.footer { padding: 75px 0 24px; color: rgba(255,255,255,.75); background: #08182c; }
.footer__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 60px; padding-bottom: 60px; }
.brand--footer .brand__text strong { color: white; }
.brand--footer .brand__text small { color: rgba(255,255,255,.55); }
.footer__nav { display: flex; gap: clamp(60px, 10vw, 130px); }
.footer__nav div { display: grid; gap: 12px; }
.footer__nav p { margin: 0 0 8px; color: var(--gold-soft); font-size: 11px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.footer__nav a { font-size: 13px; }
.footer__nav .instagram-link { width: fit-content; }
.footer__nav a:hover { color: white; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.13); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.footer__bottom p { margin: 0; }

.reveal { opacity: 1; transform: none; }
.js-reveal .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js-reveal .reveal.is-visible { opacity: 1; transform: translateY(0); }
.js-reveal .reveal--delay { transition-delay: .12s; }
.js-reveal .reveal--delay-2 { transition-delay: .22s; }

@media (max-width: 1020px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: block; }
  .intro__grid { grid-template-columns: 160px 1fr; gap: 40px; }
}

@media (max-width: 820px) {
  :root { --shell: min(100% - 34px, 680px); }
  .header__inner { min-height: 78px; }
  .brand { min-width: 0; }
  .brand__mark { width: 52px; height: 52px; flex-basis: 52px; }
  .brand__text strong { font-size: 16px; }
  .brand__text small { display: none; }
  .header__actions .button--small { display: none; }
  .hero { padding-top: 70px; }
  .hero__video { display: none; }
  .hero::after { background: linear-gradient(rgba(11,31,58,.9), rgba(11,31,58,.94)), url("./assets/hero-poster.jpg") center / cover no-repeat; }
  .hero__grid { padding-bottom: 62px; }
  .quick-links { grid-template-columns: 1fr; }
  .quick-links a { min-height: 72px; border-right: 0; border-bottom: 1px solid var(--line); }
  .intro__grid { grid-template-columns: 1fr; }
  .school-life__intro { grid-template-columns: 1fr; gap: 35px; }
  .school-life__intro h2 { margin-top: 0; }
  .intro__content h2 { margin-top: 0; }
  .intro__body { grid-template-columns: 1fr; gap: 25px; }
  .intro__body .text-link { justify-self: start; }
  .section-heading { display: grid; align-items: start; }
  .pillars__grid { grid-template-columns: 1fr; }
  .pillar { min-height: auto; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.2); }
  .pillar:last-child { border-bottom: 0; }
  .pillar__icon { margin-bottom: 45px; }
  .community__grid { grid-template-columns: 1fr; }
  .community__visual { min-height: 500px; }
  .gallery__intro { grid-template-columns: 1fr; gap: 34px; }
  .gallery__intro h2 { margin-top: 0; }
  .gallery__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
  .gallery__item, .gallery__item--1, .gallery__item--2, .gallery__item--3, .gallery__item--4, .gallery__item--5, .gallery__item--6 { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 3; }
  .gallery__item--2, .gallery__item--3, .gallery__item--6 { aspect-ratio: 3 / 4; }
  .admissions { grid-template-columns: 1fr; }
  .admissions__intro { max-width: 650px; }
  .location__grid { grid-template-columns: 1fr; }
  .location__copy { max-width: 520px; }
  .footer__top { display: grid; }
}

@media (max-width: 560px) {
  :root { --shell: calc(100vw - 28px); }
  .topbar__inner { justify-content: center; min-height: 31px; }
  .topbar__links { display: none; }
  .brand__mark { width: 48px; height: 48px; flex-basis: 48px; }
  .brand__text strong { font-size: 14px; }
  .header__actions { gap: 10px; }
  .hero { padding-top: 56px; }
  .hero h1 { font-size: clamp(43px, 13.5vw, 62px); }
  .hero__lead { font-size: 16px; }
  .hero__actions { align-items: flex-start; flex-direction: column; }
  .quick-links a { padding-inline: 20px; }
  .section { padding-block: 80px; }
  .intro__content h2, .community__copy h2 { font-size: 41px; }
  .pillar { padding-inline: 25px; }
  .school-life__media { margin-top: 42px; }
  .community__visual { min-height: 430px; }
  .gallery__grid { grid-template-columns: 1fr; }
  .gallery__item--2, .gallery__item--3, .gallery__item--6 { aspect-ratio: 4 / 5; }
  .admissions { width: 100%; padding: 58px 20px 20px; }
  .admissions__intro { padding-inline: 5px; }
  .admissions__intro h2 { font-size: 40px; }
  .admissions__flow { padding: 28px 20px; }
  .admissions__fields { grid-template-columns: 1fr; }
  .admissions__field--wide { grid-column: auto; }
  .admissions__nav { align-items: stretch; flex-direction: column-reverse; }
  .admissions__nav--end { align-items: stretch; }
  .admissions__nav .button { width: 100%; }
  .admissions__back { align-self: center; }
  .admissions__result-actions { align-items: stretch; flex-direction: column; }
  .admissions__result-actions .button { width: 100%; }
  .location__map, .location__map iframe { min-height: 390px; }
  .footer__nav { display: grid; gap: 35px; }
  .footer__bottom { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js-reveal .reveal { opacity: 1; transform: none; }
  .hero__video { display: none; }
  .hero::after { background: linear-gradient(90deg, rgba(11,31,58,.95), rgba(11,31,58,.82)), url("./assets/hero-poster.jpg") center / cover no-repeat; }
}

@media (forced-colors: active) {
  .button, .language-toggle, .menu-toggle { border: 1px solid ButtonText; }
  .language-toggle:focus-visible, .menu-toggle:focus-visible { outline-color: Highlight; }
}
