/* Pine Hills International School — homepage concept 3 ("the whole-school journey")
   Brand green is sampled from their crest (#0F4A43); gold and cream are ours. */

@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-normal-400-700.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-italic-400-700.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-normal-300-800.woff2") format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; }

:root {
  --pine: #0F4A43;
  --pine-d: #0B3934;
  --pine-dd: #072724;
  --pine-l: #1C6A5F;
  --gold: #C4A46A;
  --gold-l: #E3CFA5;
  --gold-ink: #7E6230;
  --cream: #F4EDE1;
  --paper: #FBF8F2;
  --white: #FFFFFF;
  --ink: #15211E;
  --muted: #52615C;
  --line: rgba(15, 74, 67, .14);
  --line-l: rgba(244, 237, 225, .16);
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --gutter: clamp(20px, 4.2vw, 64px);
  --wrap: 1320px;
  --util-h: 38px;
  --hdr-h: 84px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 16.5px; line-height: 1.65; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
address { font-style: normal; }
::selection { background: var(--gold-l); color: var(--pine-dd); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--gold); color: var(--pine-dd); padding: 10px 16px; border-radius: 4px; font-weight: 600; transition: top .2s; }
.skip:focus { top: 12px; }
.nowrap { white-space: nowrap; }
.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
[class*="__grid"] > *, .journey__body > *, .panel > *, .q > * { min-width: 0; }

/* ---------- type ---------- */
.kicker {
  display: flex; align-items: center; gap: 12px; margin: 0 0 22px;
  font: 700 12.5px/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink);
}
.kicker__bar { width: 36px; height: 2px; background: var(--gold); flex: none; }
.kicker--light { color: var(--gold-l); }
.h2 {
  font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 4.6vw, 66px); line-height: 1.03;
  letter-spacing: -.018em; color: var(--pine-dd); text-wrap: balance; max-width: 16ch;
}
.h2--light { color: var(--paper); }
.lead { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.55; color: var(--ink); }
.lead--light { color: rgba(251, 248, 242, .88); }
.split .ln-mask, .split-lines .ln-mask { display: block; overflow: clip; padding-bottom: .08em; margin-bottom: -.08em; }

/* ---------- buttons ---------- */
.btn {
  --bh: 48px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--bh); padding: 0 24px; border-radius: 3px; border: 1px solid transparent;
  font: 600 15px/1 var(--sans); letter-spacing: .01em; text-decoration: none; white-space: nowrap;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn::after {
  content: ""; width: 14px; height: 10px; flex: none; background: currentColor; transition: transform .35s var(--ease);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M0 5h12M8.5 1 12.5 5l-4 4' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M0 5h12M8.5 1 12.5 5l-4 4' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E") center/contain no-repeat;
}
.btn:hover::after { transform: translateX(4px); }
.btn--gold { background: var(--gold); color: var(--pine-dd); }
.btn--gold:hover { background: var(--gold-l); }
.btn--pine { background: var(--pine); color: var(--paper); }
.btn--pine:hover { background: var(--pine-l); }
.btn--ghost { border-color: rgba(251, 248, 242, .38); color: var(--paper); }
.btn--ghost::after { display: none; }
.btn--ghost:hover { border-color: var(--paper); background: rgba(251, 248, 242, .08); }
.btn--line { border-color: rgba(251, 248, 242, .4); color: var(--paper); }
.btn--line-dark { border-color: rgba(15, 74, 67, .35); color: var(--pine); }
.btn--line-dark:hover { border-color: var(--pine); background: rgba(15, 74, 67, .05); }
.btn--lg { --bh: 56px; padding: 0 30px; font-size: 16px; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; font: 600 15px/1.2 var(--sans); color: var(--pine); text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; padding-bottom: 3px; transition: background-size .45s var(--ease);
}
.link-arrow::after { content: "→"; transition: transform .35s var(--ease); }
.link-arrow:hover { background-size: 100% 1px; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- utility bar + header ---------- */
.util {
  position: absolute; inset: 0 0 auto; z-index: 60; height: var(--util-h);
  background: var(--pine-dd); color: rgba(251, 248, 242, .78); font-size: 13px; border-bottom: 1px solid rgba(196, 164, 106, .22);
}
.util__in { height: 100%; width: min(1440px, 100% - var(--gutter) * 2); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.util p { margin: 0; display: flex; align-items: center; gap: 18px; white-space: nowrap; }
.util__langs span + span::before { content: ""; display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: var(--gold); margin: 0 14px 3px 0; }
.util__langs { gap: 14px !important; letter-spacing: .02em; }
.util a { color: var(--gold-l); text-decoration: none; font-weight: 600; }
.util a:hover { color: var(--white); }
.util__wa { padding: 3px 12px; border: 1px solid rgba(196, 164, 106, .45); border-radius: 99px; }

.hdr {
  position: fixed; left: 0; right: 0; top: var(--util-h); z-index: 70; height: var(--hdr-h);
  color: var(--paper); transition: top .5s var(--ease), background-color .5s var(--ease), color .5s var(--ease), box-shadow .5s var(--ease), height .5s var(--ease);
}
.hdr__in { height: 100%; width: min(1440px, 100% - var(--gutter) * 2); margin: 0 auto; display: flex; align-items: center; gap: 28px; }
.hdr.is-solid { top: 0; height: 72px; background: rgba(251, 248, 242, .94); color: var(--pine-dd); box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgba(7, 39, 36, .35); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
.hdr.is-hidden { transform: translateY(-110%); }
.hdr { transform: translateY(0); transition-property: top, background-color, color, box-shadow, height, transform; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand__crest { height: 46px; width: auto; transition: height .5s var(--ease); }
.brand__crest--dark { display: none; }
.hdr.is-solid .brand__crest--light { display: none; }
.hdr.is-solid .brand__crest--dark { display: block; }
.hdr.is-solid .brand__crest { height: 40px; }
.brand__word { display: flex; flex-direction: column; line-height: 1; }
.brand__word b { font: 500 23px/1 var(--serif); letter-spacing: .02em; }
.brand__word small { font: 600 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; margin-top: 6px; opacity: .8; }
.nav { display: flex; align-items: center; gap: 30px; margin-left: auto; font-size: 15px; font-weight: 500; }
.nav > a, .nav__item > a { text-decoration: none; position: relative; padding: 8px 0; display: inline-flex; align-items: center; gap: 6px; }
.nav > a::after, .nav__item > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav > a:hover::after, .nav__item:hover > a::after { transform: scaleX(1); transform-origin: left; }
.caret { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .7; }
.hdr__cta { display: flex; gap: 10px; }
.hdr__cta .btn { --bh: 42px; padding: 0 18px; font-size: 14.5px; }
.hdr.is-solid .btn--ghost { color: var(--pine); border-color: rgba(15, 74, 67, .3); }
.hdr.is-solid .btn--ghost:hover { background: rgba(15, 74, 67, .05); border-color: var(--pine); }

/* mega menu */
.nav__item--mega { position: static; }
.mega {
  position: absolute; left: 0; right: 0; top: 100%; padding-top: 10px;
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s .35s;
}
.nav__item--mega:hover .mega, .nav__item--mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega__in {
  width: min(1320px, 100% - var(--gutter) * 2); margin: 0 auto; background: var(--paper); color: var(--ink);
  border-radius: 8px; padding: 28px; display: grid; grid-template-columns: 1.15fr repeat(5, 1fr); gap: 18px;
  box-shadow: 0 30px 60px -20px rgba(7, 39, 36, .45), 0 0 0 1px var(--line);
}
.mega__intro { padding: 6px 10px 6px 4px; display: flex; flex-direction: column; }
.mega__intro .kicker { margin-bottom: 12px; }
.mega__lead { font: 400 25px/1.15 var(--serif); color: var(--pine-dd); margin-bottom: auto; }
.mega__card { text-decoration: none; display: flex; flex-direction: column; gap: 4px; }
.mega__card img { aspect-ratio: 4/5; object-fit: cover; border-radius: 4px; margin-bottom: 10px; transition: transform .6s var(--ease), filter .6s; filter: saturate(.92); }
.mega__card:hover img { transform: translateY(-4px); filter: saturate(1.05); }
.mega__card span { font: 500 19px/1.1 var(--serif); color: var(--pine-dd); }
.mega__card small { font-size: 13px; color: var(--muted); }

.burger { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid rgba(251, 248, 242, .35); border-radius: 50%; background: none; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; transition: transform .45s var(--ease), top .45s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 26px; }
.hdr.is-solid .burger { border-color: rgba(15, 74, 67, .3); }
body.menu-open .burger span:first-child { top: 22px; transform: rotate(45deg); }
body.menu-open .burger span:last-child { top: 22px; transform: rotate(-45deg); }
body.menu-open .hdr { color: var(--paper); background: transparent; box-shadow: none; }
body.menu-open .hdr .brand__crest--light { display: block; }
body.menu-open .hdr .brand__crest--dark { display: none; }
body.menu-open .hdr .burger { border-color: rgba(251, 248, 242, .35); }

.menu {
  position: fixed; inset: 0; z-index: 65; background: var(--pine-dd); color: var(--paper);
  clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease); visibility: hidden;
}
body.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; }
.menu__in { height: 100%; overflow: auto; padding: 110px var(--gutter) 40px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.menu__nav { display: flex; flex-direction: column; }
.menu__nav a { font: 400 clamp(28px, 7vw, 44px)/1.15 var(--serif); text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--line-l); opacity: 0; transform: translateY(16px); transition: opacity .5s, transform .6s var(--ease); }
body.menu-open .menu__nav a { opacity: 1; transform: none; }
.menu__nav a:nth-child(2) { transition-delay: .04s; } .menu__nav a:nth-child(3) { transition-delay: .08s; } .menu__nav a:nth-child(4) { transition-delay: .12s; }
.menu__nav a:nth-child(5) { transition-delay: .16s; } .menu__nav a:nth-child(6) { transition-delay: .2s; } .menu__nav a:nth-child(7) { transition-delay: .24s; } .menu__nav a:nth-child(8) { transition-delay: .28s; }
.menu__foot { display: grid; gap: 12px; }

/* ---------- hero ---------- */
.hero {
  position: relative; height: max(700px, 100svh); max-height: 1120px; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; background: var(--pine); color: var(--paper);
}
.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden;
  background:
    radial-gradient(60% 55% at 50% 78%, rgba(42, 128, 112, .55), transparent 70%),
    radial-gradient(120% 90% at 50% 0%, #135A51 0%, var(--pine) 45%, var(--pine-d) 100%);
}
.hero__bg::after { /* paper grain */
  content: ""; position: absolute; inset: 0; opacity: .09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__glow { position: absolute; left: 50%; bottom: -30%; width: 120vw; height: 90vh; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(227, 207, 165, .16), transparent); }
.hero__crest { position: absolute; left: 50%; top: 52%; width: min(1100px, 92vw); transform: translate(-50%, -50%); opacity: .045; }
.hero__rings { position: absolute; left: 50%; top: 100%; width: 150vh; height: 150vh; transform: translate(-50%, -50%); border-radius: 50%; border: 1px solid rgba(227, 207, 165, .16); }
.hero__rings::before, .hero__rings::after { content: ""; position: absolute; inset: 9%; border-radius: 50%; border: 1px solid rgba(227, 207, 165, .11); }
.hero__rings::after { inset: -14%; border-color: rgba(227, 207, 165, .07); }

.hero__copy { position: relative; z-index: 3; text-align: center; padding: calc(var(--util-h) + var(--hdr-h) + clamp(18px, 4.2vh, 46px)) var(--gutter) 0; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 14px; margin: 0 0 clamp(14px, 2.2vh, 24px); font: 600 12.5px/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-l); }
.hero__eyebrow .rule { width: 42px; height: 1px; background: rgba(227, 207, 165, .6); }
.hero__eyebrow .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }
.hero__title {
  font-family: var(--serif); font-weight: 400; color: var(--paper);
  font-size: clamp(50px, min(8.6vw, 13.2svh), 156px); line-height: .98; letter-spacing: -.028em; white-space: nowrap;
}
.hero__title .ln { display: inline-block; }
.hero__title em { font-style: italic; color: var(--gold-l); font-weight: 400; letter-spacing: -.02em; }
.hero__sub { margin: clamp(14px, 2.4vh, 26px) auto 0; max-width: 56ch; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.55; color: rgba(251, 248, 242, .84); }

.hero__group { position: relative; z-index: 2; flex: 1 1 auto; min-height: 260px; margin-top: clamp(8px, 2vh, 24px); }
.hero__layer {
  position: absolute; bottom: 0; left: 50%; height: 100%; width: auto; max-width: none; transform: translateX(-50%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  filter: drop-shadow(0 30px 40px rgba(4, 22, 20, .35));
  user-select: none; pointer-events: none;
}
.hero__group::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 34%; z-index: 4; background: linear-gradient(to bottom, transparent, rgba(7, 39, 36, .78)); pointer-events: none; }

.hero__bar {
  position: absolute; left: 50%; bottom: clamp(16px, 3vh, 30px); z-index: 5; transform: translateX(-50%);
  width: min(1240px, 100% - var(--gutter) * 2); display: grid; grid-template-columns: repeat(3, 1fr) auto; align-items: stretch;
  background: rgba(7, 39, 36, .55); border: 1px solid rgba(227, 207, 165, .2); border-radius: 8px; overflow: hidden;
  backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
}
.qlink { display: flex; align-items: center; gap: 14px; padding: 18px 22px; text-decoration: none; color: var(--paper); border-right: 1px solid rgba(227, 207, 165, .16); transition: background-color .4s var(--ease); }
.qlink:hover { background: rgba(196, 164, 106, .14); }
.qlink b { display: block; font: 500 19px/1.15 var(--serif); }
.qlink small { display: block; font-size: 13px; color: rgba(251, 248, 242, .66); margin-top: 3px; }
.qlink__ic { width: 42px; height: 42px; flex: none; border-radius: 50%; border: 1px solid rgba(227, 207, 165, .45); display: grid; place-items: center; transition: background-color .4s, border-color .4s; }
.qlink:hover .qlink__ic { background: var(--gold); border-color: var(--gold); color: var(--pine-dd); }
.qlink__ic svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.hero__award { display: flex; align-items: center; gap: 12px; padding: 12px 22px; font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--gold-l); }
.hero__award img { width: 74px; }
.hero__award small { display: block; font-weight: 400; color: rgba(251, 248, 242, .6); font-size: 12px; }
.hero__scroll { display: none !important; position: absolute; right: var(--gutter); bottom: calc(clamp(16px, 3vh, 30px) + 110px); z-index: 5; width: 22px; height: 38px; border: 1px solid rgba(251, 248, 242, .4); border-radius: 12px; display: none; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 2px; height: 7px; margin-left: -1px; background: var(--gold-l); border-radius: 2px; animation: wheel 2s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-3px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- proof ---------- */
.proof { background: var(--paper); border-bottom: 1px solid var(--line); }
.proof__in { width: min(1440px, 100% - var(--gutter) * 2); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr) 1.2fr; }
.proof__item { padding: 38px 28px 34px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.proof__item:first-child { padding-left: 0; }
.proof__item .num { font: 400 clamp(46px, 4.4vw, 64px)/.9 var(--serif); color: var(--pine); letter-spacing: -.03em; }
.proof__item sup { font-size: .42em; vertical-align: top; position: relative; top: .3em; margin-left: 2px; color: var(--gold-ink); font-style: italic; }
.proof__item span { font-size: 14.5px; line-height: 1.45; color: var(--muted); max-width: 22ch; }
.proof__logos { display: grid; place-items: center; padding: 20px 0 20px 28px; }
.proof__logos img { width: min(260px, 100%); mix-blend-mode: multiply; }

/* ---------- welcome ---------- */
.welcome { padding: clamp(90px, 12vw, 170px) 0 clamp(80px, 10vw, 140px); background: var(--paper); overflow: hidden; }
.welcome__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 6vw, 110px); align-items: center; }
.welcome__text p { color: var(--muted); max-width: 54ch; }
.welcome__text .lead { color: var(--ink); margin: 28px 0 18px; }
.values { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 6px; }
.values li { font: 400 15px/1 var(--sans); color: var(--pine); padding: 9px 13px; border: 1px solid var(--line); border-radius: 99px; background: var(--white); }
.values b { font: 600 17px/1 var(--serif); color: var(--gold-ink); }
.welcome__media { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: auto auto; }
.ph { overflow: hidden; border-radius: var(--radius); background: var(--cream); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph--a { grid-column: 1 / 8; grid-row: 1 / 3; aspect-ratio: 4/5; align-self: start; }
.ph--b { grid-column: 8 / 13; grid-row: 1; aspect-ratio: 1; margin: 12% 0 0 10%; }
.ph--c { grid-column: 6 / 13; grid-row: 2; aspect-ratio: 4/3; margin: -18% 0 0; box-shadow: 0 0 0 10px var(--paper); position: relative; z-index: 2; }
.welcome__seal { position: absolute; left: 50%; top: 41%; width: 150px; height: 150px; transform: translate(-50%, -50%); z-index: 3; border-radius: 50%; background: var(--paper); display: grid; place-items: center; box-shadow: 0 20px 40px -20px rgba(7, 39, 36, .4); }
.welcome__seal svg { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); animation: spin 36s linear infinite; }
.welcome__seal text { font: 700 11.2px var(--sans); letter-spacing: .22em; fill: var(--gold-ink); }
.welcome__seal img { width: 62px; }
@keyframes spin { to { transform: rotate(360deg); } }
.principal { margin-top: clamp(80px, 10vw, 140px); text-align: center; max-width: 980px; }
.principal blockquote { margin: 0; font: italic 400 clamp(24px, 2.7vw, 38px)/1.32 var(--serif); color: var(--pine-dd); letter-spacing: -.01em; text-wrap: balance; }
.principal figcaption { margin-top: 28px; display: flex; flex-direction: column; align-items: center; gap: 16px; font: 700 12.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); }
.principal__line { width: 1px; height: 44px; background: var(--gold); }

/* ---------- journey ---------- */
.journey { background: var(--cream); padding: clamp(90px, 11vw, 160px) 0 clamp(60px, 8vw, 120px); position: relative; }
.journey__head { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 5vw, 90px); align-items: end; margin-bottom: clamp(50px, 7vw, 100px); }
.finder { background: var(--white); border-radius: 10px; padding: 26px 28px 24px; box-shadow: 0 30px 60px -40px rgba(7, 39, 36, .4), 0 0 0 1px var(--line); }
.finder__q { font: 500 22px/1.2 var(--serif); color: var(--pine-dd); margin-bottom: 16px; }
.finder__ages { display: grid; grid-template-columns: repeat(7, 1fr); gap: 7px; }
.finder__ages button { height: 42px; border-radius: 6px; border: 1px solid var(--line); background: var(--paper); font-weight: 600; font-size: 15px; color: var(--pine); transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease); }
.finder__ages button:hover { border-color: var(--pine); transform: translateY(-2px); }
.finder__ages button[aria-pressed="true"] { background: var(--pine); border-color: var(--pine); color: var(--paper); }
.finder__out { margin: 16px 0 0; min-height: 3.1em; font-size: 15px; line-height: 1.5; color: var(--muted); }
.finder__out b { color: var(--pine-dd); }
.finder__out a { color: var(--pine); font-weight: 600; }
.finder__note { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.finder__note a { color: var(--pine); font-weight: 600; }

.journey__body { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 110px); align-items: start; }
.journey__visual { position: sticky; top: 100px; }
.ruler { margin-bottom: 18px; position: relative; padding-top: 4px; }
.ruler__track { position: relative; height: 6px; background: rgba(15, 74, 67, .1); border-radius: 6px; }
.ruler__band { position: absolute; top: 0; bottom: 0; left: 0; width: 8.33%; background: linear-gradient(90deg, var(--gold), #D9BC83); border-radius: 6px; transition: left .7s var(--ease), width .7s var(--ease); }
.ruler.is-all .ruler__band { background: linear-gradient(90deg, var(--gold), #D9BC83, var(--gold)); }
.ruler__ticks { display: flex; justify-content: space-between; margin-top: 8px; font: 600 12px/1 var(--sans); color: var(--muted); }
.ruler__ticks span { width: 0; display: flex; justify-content: center; }
.ruler__label { position: absolute; right: 0; top: -22px; margin: 0; font: 700 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); }
.frames { position: relative; aspect-ratio: 4/5; max-height: calc(100vh - 190px); width: 100%; border-radius: 8px; overflow: hidden; background: var(--pine-d); box-shadow: 0 40px 80px -50px rgba(7, 39, 36, .6); }
.frame { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(100% 0 0 0); transform: scale(1.08); transition: clip-path 1s var(--ease), transform 1.6s var(--ease); }
.frame.is-on { clip-path: inset(0 0 0 0); transform: scale(1); z-index: 2; }
.frame.was-on { clip-path: inset(0 0 0 0); z-index: 1; }
.frames__tag { position: absolute; left: 18px; bottom: 16px; z-index: 3; color: var(--paper); font: 400 15px/1 var(--serif); display: flex; gap: 6px; padding: 9px 13px; border-radius: 99px; background: rgba(7, 39, 36, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.frames__tag #frame-num { font-weight: 600; }
.frames__of { opacity: .6; }

.stages { counter-reset: s; }
.stage { min-height: 74vh; padding: 9vh 0; display: flex; flex-direction: column; justify-content: center; border-top: 1px solid var(--line); opacity: .32; transition: opacity .6s var(--ease); }
.stage:first-child { border-top: 0; padding-top: 0; min-height: 62vh; justify-content: flex-start; }
.stage.is-on { opacity: 1; }
.stage__img { display: none; }
.stage__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.stage__n { font: italic 400 22px/1 var(--serif); color: var(--gold-ink); margin-right: 4px; }
.pill { font: 700 12px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--pine); padding: 8px 12px; border-radius: 99px; background: var(--white); border: 1px solid var(--line); }
.pill--gold { background: var(--gold); border-color: var(--gold); color: var(--pine-dd); }
.stage__cam { font: 600 13px/1 var(--sans); color: var(--muted); }
.stage__more { margin-top: 22px; align-self: flex-start; }
.stage__title { font: 400 clamp(38px, 4vw, 58px)/1.02 var(--serif); color: var(--pine-dd); letter-spacing: -.02em; margin-bottom: 18px; }
.stage__title em { font-style: italic; color: var(--gold-ink); }
.stage > p { color: var(--muted); max-width: 52ch; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 8px; }
.chips li { font-size: 13.5px; font-weight: 500; padding: 6px 12px; border-radius: 99px; background: var(--white); color: var(--pine); border: 1px solid var(--line); }
.milestone { margin-top: 10px; padding: 14px 0 2px 18px; border-left: 2px solid var(--gold); color: var(--ink) !important; font-size: 15.5px; }
.milestone span { display: block; font: 700 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 7px; }

/* ---------- results ---------- */
.results { position: relative; background: var(--pine-dd); color: var(--paper); padding: clamp(90px, 11vw, 160px) 0; overflow: hidden; isolation: isolate; }
.results__bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 80% at 85% 20%, rgba(28, 106, 95, .55), transparent 70%); }
.results__bg img { position: absolute; right: -8%; top: 50%; width: min(900px, 70vw); transform: translateY(-50%); opacity: .04; }
.results__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.results__photo { position: relative; }
.results__photo img { border-radius: 8px; aspect-ratio: 4/5; object-fit: cover; width: 100%; position: relative; z-index: 1; }
.results__photo::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 1px solid rgba(196, 164, 106, .55); border-radius: 8px; }
.results__photo figcaption { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 18px; padding: 16px 18px; border-radius: 6px; background: rgba(7, 39, 36, .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font: italic 400 17px/1.4 var(--serif); color: var(--gold-l); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; margin: 46px 0 40px; }
.stat { border-top: 1px solid var(--line-l); padding: 22px 0 26px; }
.stat__big { display: block; font: 400 clamp(40px, 4.4vw, 64px)/1 var(--serif); color: var(--gold-l); letter-spacing: -.02em; margin-bottom: 10px; }
.stat__big sup { font-size: .5em; vertical-align: top; position: relative; top: .15em; }
.stat span { font-size: 15px; color: rgba(251, 248, 242, .72); }
.results__quote { margin: 0 0 30px; padding-left: 22px; border-left: 2px solid var(--gold); font: italic 400 clamp(20px, 1.7vw, 25px)/1.4 var(--serif); color: var(--paper); max-width: 40ch; }
.results__quote em { color: var(--gold-l); }
.results__badges { display: flex; flex-wrap: wrap; gap: 10px; }
.badge { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; padding: 9px 14px; border-radius: 99px; border: 1px solid rgba(227, 207, 165, .35); color: var(--gold-l); }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

/* ---------- why ---------- */
.why { background: var(--paper); padding: clamp(90px, 11vw, 160px) 0; }
.why__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.why__visual { position: sticky; top: 110px; }
.why__frame { position: relative; aspect-ratio: 4/5; max-height: calc(100vh - 150px); border-radius: 8px; overflow: hidden; background: var(--cream); }
.why__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .8s var(--ease), transform 1.4s var(--ease); }
.why__frame img.is-on { opacity: 1; transform: scale(1); }
.reasons { margin-top: 44px; border-bottom: 1px solid var(--line); }
.reasons li { border-top: 1px solid var(--line); }
.reasons button { width: 100%; display: flex; align-items: baseline; gap: 22px; padding: 20px 0; background: none; border: 0; text-align: left; }
.reasons__n { font: 600 13px/1 var(--sans); color: var(--gold-ink); letter-spacing: .08em; width: 26px; flex: none; }
.reasons__t { font: 400 clamp(23px, 2.1vw, 30px)/1.12 var(--serif); color: rgba(21, 33, 30, .64);  /* 18 Nov 2026: was .55 (3.7:1), now 4.9:1 */ transition: color .4s var(--ease), transform .5s var(--ease); }
.reasons li.is-on .reasons__t, .reasons button:hover .reasons__t { color: var(--pine-dd); }
.reasons li.is-on .reasons__t { transform: translateX(6px); }
.reasons p { margin: 0; padding: 0 0 0 48px; max-height: 0; overflow: hidden; color: var(--muted); font-size: 15.5px; opacity: 0; transition: max-height .6s var(--ease), opacity .5s var(--ease), padding .6s var(--ease); }
.reasons li.is-on p { max-height: 120px; opacity: 1; padding-bottom: 22px; }

/* ---------- programmes ---------- */
.prog { background: var(--white); padding: clamp(90px, 11vw, 160px) 0; }
.prog__head { margin-bottom: 44px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; }
.prog__intro { color: var(--muted); max-width: 46ch; justify-self: end; margin: 0; }
.tabs { position: relative; display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 44px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; background: none; border: 0; padding: 16px 22px 18px; font: 500 clamp(18px, 1.5vw, 22px)/1 var(--serif); color: var(--muted); transition: color .3s; }
.tabs button[aria-selected="true"] { color: var(--pine-dd); }
.tabs button:hover { color: var(--pine); }
.tabs__ink { position: absolute; bottom: -1px; left: 0; height: 2px; width: 100px; background: var(--gold); transition: transform .6s var(--ease), width .6s var(--ease); }
.panel { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.panel[hidden] { display: none; }
.panel__img { border-radius: 8px; overflow: hidden; aspect-ratio: 3/2; background: var(--cream); }
.panel__img img { width: 100%; height: 100%; object-fit: cover; }
.panel__k { font: 700 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 14px; }
.panel h3 { font: 400 clamp(34px, 3.4vw, 48px)/1.05 var(--serif); color: var(--pine-dd); letter-spacing: -.015em; margin-bottom: 20px; }
.panel__q { font: italic 400 clamp(19px, 1.5vw, 22px)/1.45 var(--serif); color: var(--ink); }
.panel__text > p:not(.panel__q):not(.panel__k) { color: var(--muted); }
.ticks { display: grid; gap: 12px; margin-top: 22px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink); font-size: 15.5px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--pine) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.6' fill='none' stroke='%23E3CFA5' stroke-width='1.7'/%3E%3C/svg%3E") center/18px no-repeat; }
.partners { display: grid; gap: 0; margin-top: 22px; border-top: 1px solid var(--line); }
.partners li { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.partners b { font: 500 19px/1.2 var(--serif); color: var(--pine-dd); margin-right: 8px; }
.partners span[lang] { color: var(--gold-ink); margin-right: 6px; }

/* ---------- rink ---------- */
.rink { position: relative; height: 230vh; background: var(--paper); }
.rink__stage { position: sticky; top: 0; height: 100vh; overflow: hidden; display: grid; }
.rink__media { position: absolute; inset: 0; clip-path: inset(13% 14% 13% 14% round 14px); will-change: clip-path; }
.rink__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.22); will-change: transform; }
.rink__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7, 39, 36, .85) 0%, rgba(7, 39, 36, .35) 45%, rgba(7, 39, 36, .1) 70%), linear-gradient(90deg, rgba(7, 39, 36, .55), transparent 60%); }
.rink__frost { position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 40%, rgba(235, 246, 248, .0), rgba(235, 246, 248, .55)); mix-blend-mode: screen; opacity: 1; }
.rink__copy { position: relative; z-index: 2; align-self: end; width: min(var(--wrap), 100% - var(--gutter) * 2); margin: 0 auto; padding-bottom: clamp(50px, 9vh, 110px); color: var(--paper); opacity: 0; transform: translateY(40px); }
.rink__title { font: 400 clamp(40px, 5.6vw, 88px)/1.0 var(--serif); letter-spacing: -.025em; max-width: 15ch; margin-bottom: 22px; text-wrap: balance; }
.rink__title em { color: var(--gold-l); }
.rink__copy p:last-child { max-width: 54ch; color: rgba(251, 248, 242, .85); font-size: clamp(16px, 1.25vw, 18.5px); }

/* ---------- life ---------- */
.life { background: var(--paper); padding: clamp(90px, 11vw, 150px) 0 clamp(80px, 10vw, 140px); overflow: hidden; }
.life__head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; margin-bottom: 50px; }
.life__intro { color: var(--muted); max-width: 40ch; justify-self: end; margin: 0; }
.rail { overflow: hidden; }
.rail__track { display: flex; gap: 18px; padding: 0 var(--gutter); width: max-content; }
.card { position: relative; width: clamp(240px, 23vw, 330px); aspect-ratio: 3/4; border-radius: 8px; overflow: hidden; background: var(--cream); flex: none; }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover img { transform: scale(1.06); }
.card figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 50px 18px 16px; background: linear-gradient(to top, rgba(7, 39, 36, .82), transparent); color: var(--paper); font: 400 21px/1.15 var(--serif); display: flex; flex-direction: column; gap: 6px; }
.card figcaption span { font: 600 12px/1 var(--sans); letter-spacing: .14em; color: var(--gold-l); }
.cca { position: relative; margin-top: clamp(80px, 10vw, 140px); display: grid; grid-template-columns: 1fr 2.4fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.cca__lead { font: 400 clamp(26px, 2.4vw, 34px)/1.15 var(--serif); color: var(--pine-dd); max-width: 14ch; }
.cca__list { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 0; }
.cca__list li { font: 400 clamp(26px, 3.1vw, 46px)/1.25 var(--serif); color: var(--pine-dd); letter-spacing: -.015em; transition: color .3s; cursor: default; }
.cca__list li::after { content: "·"; color: var(--gold); margin: 0 .38em; display: inline-block; text-decoration: none; font-style: normal; }
.cca__list li:last-child::after { content: ""; }
.cca__list li[data-img] { font-style: italic; color: var(--pine); text-decoration: underline; text-decoration-color: rgba(196, 164, 106, .7); text-decoration-thickness: 1px; text-underline-offset: .18em; }
.cca__list li[data-img]:hover { color: var(--gold-ink); }
.cca__float { position: fixed; left: 0; top: 0; width: 220px; aspect-ratio: 4/5; object-fit: cover; border-radius: 8px; pointer-events: none; z-index: 40; opacity: 0; transform: translate(-50%, -50%) scale(.85); box-shadow: 0 30px 50px -20px rgba(7, 39, 36, .5); }

/* ---------- inclusive ---------- */
.incl { background: var(--cream); padding: clamp(90px, 11vw, 160px) 0; }
.incl__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.incl__media { position: relative; padding-bottom: 80px; }
.incl__main { border-radius: 8px; overflow: hidden; width: 82%; }
.incl__main img { aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.incl__quote { position: absolute; right: 0; bottom: 0; width: min(380px, 70%); background: var(--white); border-radius: 8px; padding: 26px 26px 22px; box-shadow: 0 40px 70px -40px rgba(7, 39, 36, .45); }
.incl__quote blockquote { margin: 0 0 18px; font: italic 400 18.5px/1.45 var(--serif); color: var(--pine-dd); }
.incl__quote figcaption { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); line-height: 1.35; }
.incl__quote figcaption img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: 30% 10%; background: var(--cream); }
.incl__quote b { display: block; color: var(--ink); font-size: 14px; }
.incl__text > p { color: var(--muted); max-width: 54ch; }
.incl__text .lead { color: var(--ink); margin: 26px 0 16px; }
.eip { display: grid; grid-template-columns: 1fr 1fr; gap: 0 26px; margin: 30px 0 34px; counter-reset: e; }
.eip li { counter-increment: e; border-top: 1px solid var(--line); padding: 16px 0 18px; display: grid; gap: 4px; }
.eip li::before { content: "0" counter(e); font: italic 400 16px/1 var(--serif); color: var(--gold-ink); margin-bottom: 4px; }
.eip b { font: 500 19px/1.2 var(--serif); color: var(--pine-dd); }
.eip span { font-size: 14px; color: var(--muted); }

/* ---------- parents ---------- */
.parents { background: var(--pine); color: var(--paper); padding: clamp(90px, 11vw, 160px) 0; position: relative; overflow: hidden; }
.parents::before { content: "“"; position: absolute; right: 4vw; top: -6vw; font: italic 400 46vw/1 var(--serif); color: rgba(227, 207, 165, .05); pointer-events: none; }
.parents .h2 { color: var(--paper); }
.parents .kicker { color: var(--gold-l); }
.parents__head { margin-bottom: 50px; }
.quotes { position: relative; display: grid; }
.q { grid-area: 1 / 1; display: grid; grid-template-columns: 4fr 7fr; gap: clamp(30px, 6vw, 100px); align-items: center; opacity: 0; visibility: hidden; transition: opacity .8s var(--ease), visibility 0s .8s; }
.q.is-on { opacity: 1; visibility: visible; transition-delay: 0s; }
.q__art { position: relative; aspect-ratio: 1; display: grid; place-items: end center; }
.q__art::before { content: ""; position: absolute; inset: 8% 8% 0; border-radius: 50% 50% 8px 8px; background: radial-gradient(circle at 50% 30%, rgba(227, 207, 165, .35), rgba(196, 164, 106, .12) 70%); border: 1px solid rgba(227, 207, 165, .3); }
.q__art img { position: relative; width: 92%; max-height: 100%; object-fit: contain; object-position: bottom; transform: translateY(18px); opacity: 0; transition: transform 1s var(--ease), opacity .8s; }
.q.is-on .q__art img { transform: none; opacity: 1; }
.q__art--photo { place-items: stretch; }
.q__art--photo::before { display: none; }
.q__art--photo img { position: absolute; inset: 8% 8% 0; width: 84%; height: 92%; max-height: none; object-fit: cover; object-position: center; border-radius: 50% 50% 8px 8px / 36% 36% 8px 8px; transform: scale(1.04); filter: saturate(.95); }
.q.is-on .q__art--photo img { transform: none; }
.q blockquote { margin: 0 0 28px; font: 400 clamp(24px, 2.5vw, 36px)/1.3 var(--serif); letter-spacing: -.01em; text-wrap: pretty; }
.q figcaption { font-size: 14.5px; color: rgba(251, 248, 242, .7); }
.q figcaption b { display: block; font: 600 16px/1.3 var(--sans); color: var(--gold-l); margin-bottom: 2px; }
.quotes__nav { grid-area: 2 / 1; display: flex; align-items: center; gap: 18px; margin-top: 44px; justify-self: end; }
.qbtn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(227, 207, 165, .4); background: none; display: grid; place-items: center; color: var(--paper); transition: background-color .3s, color .3s; }
.qbtn:hover { background: var(--gold); color: var(--pine-dd); border-color: var(--gold); }
.qbtn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.quotes__dots { display: flex; gap: 8px; }
.quotes__dots button { width: 36px; height: 3px; padding: 0; border: 0; border-radius: 2px; background: rgba(251, 248, 242, .22); position: relative; overflow: hidden; }
.quotes__dots button i { position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.quotes__dots button.is-on i { animation: fill var(--q-dur, 7s) linear forwards; }
.quotes.is-paused .quotes__dots button.is-on i { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }

/* ---------- campuses ---------- */
.campuses { background: var(--paper); padding: clamp(90px, 11vw, 160px) 0; }
.campuses__head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; margin-bottom: 50px; }
.campuses__intro { color: var(--muted); max-width: 42ch; justify-self: end; margin: 0; }
.campus-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.campus figure { position: relative; border-radius: 8px; overflow: hidden; aspect-ratio: 4/3; margin-bottom: 20px; background: var(--cream); }
.campus figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.campus:hover figure img { transform: scale(1.05); }
.campus__tag { position: absolute; left: 12px; top: 12px; font: 700 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; padding: 7px 10px; border-radius: 99px; background: var(--gold); color: var(--pine-dd); }
.campus h3 { font: 400 30px/1.1 var(--serif); color: var(--pine-dd); margin-bottom: 6px; }
.campus__type { font: 600 13px/1.4 var(--sans); color: var(--gold-ink); margin-bottom: 12px; }
.campus address { color: var(--muted); font-size: 15px; line-height: 1.55; margin-bottom: 10px; }
.campus__tel { font-size: 15px; margin-bottom: 14px; }
.campus__tel a { color: var(--pine); text-decoration: none; font-weight: 600; }
.campus__tel a:hover { text-decoration: underline; }
.growing { margin-top: 60px; padding: 26px 30px; border: 1px dashed rgba(15, 74, 67, .3); border-radius: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; }
.growing__k { margin: 0; font: 700 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); }
.growing ul { display: flex; gap: 10px; flex-wrap: wrap; }
.growing li { font: 400 22px/1 var(--serif); color: var(--pine-dd); padding: 10px 18px; border-radius: 99px; background: var(--white); border: 1px solid var(--line); }
.growing__more { margin: 0 0 0 auto; font: italic 400 20px/1 var(--serif); color: var(--muted); }

/* ---------- tour ---------- */
.tour { position: relative; padding: clamp(90px, 11vw, 160px) 0; color: var(--paper); isolation: isolate; overflow: hidden; background: var(--pine-dd); }
.tour__img { position: absolute; inset: 0; z-index: -1; }
.tour__img img { width: 100%; height: 100%; object-fit: cover; opacity: .32; filter: saturate(.7); }
.tour__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(7, 39, 36, .96) 30%, rgba(7, 39, 36, .7) 70%, rgba(7, 39, 36, .85)); }
.tour__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.tour__list { display: grid; gap: 12px; margin: 30px 0 30px; }
.tour__list li { position: relative; padding-left: 30px; color: rgba(251, 248, 242, .9); }
.tour__list li::before { content: ""; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--gold); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.6' fill='none' stroke='%23E3CFA5' stroke-width='1.7'/%3E%3C/svg%3E") center/18px no-repeat; }
.tour__call { color: rgba(251, 248, 242, .7); }
.tour__call a { color: var(--gold-l); font-weight: 600; text-decoration: none; }
.form { background: var(--paper); color: var(--ink); border-radius: 12px; padding: clamp(26px, 3vw, 40px); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .6); }
.form__title { font: 400 32px/1.1 var(--serif); color: var(--pine-dd); margin-bottom: 6px; }
.form__sub { color: var(--muted); font-size: 15px; margin-bottom: 24px; }
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field > span { font: 600 13px/1 var(--sans); color: var(--pine); letter-spacing: .02em; }
.field i { font-style: normal; color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 16px/1.4 var(--sans); color: var(--ink); background: var(--white);
  border: 1px solid rgba(15, 74, 67, .22); border-radius: 6px; padding: 13px 14px; transition: border-color .3s, box-shadow .3s; appearance: none; -webkit-appearance: none;
}
.field select { background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%230F4A43' stroke-width='1.5'/%3E%3C/svg%3E") right 14px center/12px no-repeat; padding-right: 36px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--pine); box-shadow: 0 0 0 3px rgba(15, 74, 67, .12); }
.field textarea { resize: vertical; min-height: 64px; }
.field.is-bad input, .field.is-bad select { border-color: #B3412F; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .btn { margin-top: 8px; }
.form__err { color: #A63A2A; font-size: 14px; min-height: 1.2em; margin: 12px 0 0; }

/* ---------- faq ---------- */
.faq { background: var(--paper); padding: clamp(90px, 11vw, 160px) 0; }
.faq__grid { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.faq__head { position: sticky; top: 110px; }
.faq__head p { color: var(--muted); margin-top: 24px; }
.faq__head a { color: var(--pine); font-weight: 600; }
.faq__list { border-bottom: 1px solid var(--line); }
details { border-top: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font: 400 clamp(20px, 1.7vw, 25px)/1.25 var(--serif); color: var(--pine-dd); }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: linear-gradient(var(--pine), var(--pine)) center/12px 1.5px no-repeat, linear-gradient(var(--pine), var(--pine)) center/1.5px 12px no-repeat; transition: transform .45s var(--ease), background-color .3s; }
details[open] summary::after { transform: rotate(45deg); background-color: var(--cream); }
summary:hover { color: var(--pine); }
details > div { overflow: hidden; }
details > div p { color: var(--muted); padding: 0 50px 24px 0; margin: 0; max-width: 70ch; }

/* ---------- footer ---------- */
.foot { background: var(--pine-dd); color: rgba(251, 248, 242, .78); padding: clamp(80px, 9vw, 120px) 0 0; position: relative; overflow: hidden; }
.foot__top { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; padding-bottom: 50px; border-bottom: 1px solid var(--line-l); }
.foot__brand img { width: 150px; margin-bottom: 18px; }
.foot__name { font: 400 26px/1.15 var(--serif); color: var(--paper); margin-bottom: 4px; }
.foot__motto { font: italic 400 19px/1.3 var(--serif); color: var(--gold-l); }
.foot__col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.foot__col p { font: 700 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-l); margin-bottom: 8px; }
.foot__col a { text-decoration: none; color: rgba(251, 248, 242, .78); transition: color .3s; }
.foot__col a:hover { color: var(--white); }
.foot__logos { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; padding: 30px 0; border-bottom: 1px solid var(--line-l); }
.foot__logos img { height: 58px; width: auto; background: var(--paper); border-radius: 6px; padding: 8px 14px; }
.foot__logos img + img { background: none; padding: 0; height: 64px; }
.foot__base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 22px 0 30px; font-size: 13px; color: rgba(251, 248, 242, .5); }
.foot__base p { margin: 0; }
.foot__word { margin: 0; font: italic 400 clamp(90px, 20vw, 330px)/.78 var(--serif); letter-spacing: -.04em; color: rgba(227, 207, 165, .07); text-align: center; white-space: nowrap; transform: translateY(14%); user-select: none; }

/* ---------- mobile dock ---------- */
.dock { display: none; }

/* ---------- reveal helpers (JS adds .js on <html>) ---------- */
.js .reveal-img { clip-path: inset(0 0 100% 0); }
.js .reveal-img img { transform: scale(1.18); }

/* ============ responsive ============ */
/* ---------- our story (history timeline, 5 Nov 2026) ---------- */
.story { background: var(--cream); padding: clamp(90px, 11vw, 160px) 0; }
.story__head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(44px, 5vw, 70px); }
.story__founder { color: var(--muted); max-width: 42ch; justify-self: end; margin: 0; }
.story__founder strong { color: var(--ink); }
.story__line { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 46px 28px; counter-reset: none; }
.story__item { position: relative; padding-top: 30px; border-top: 2px solid var(--line); }
.story__item::before { content: ""; position: absolute; left: 0; top: -7px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px var(--cream); }
.story__item:last-child::before { background: var(--pine); }
.story__year { display: block; font: 400 clamp(30px, 2.6vw, 40px)/1 var(--serif); color: var(--pine); letter-spacing: -.01em; margin-bottom: 12px; }
.story__item h3 { font: 600 17px/1.3 var(--sans); color: var(--ink); margin: 0 0 8px; }
.story__item p { font-size: 15px; line-height: 1.55; color: var(--muted); margin: 0; }
@media (max-width: 1180px) { .story__line { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) {
  .story__head { grid-template-columns: 1fr; gap: 18px; }
  .story__founder { justify-self: start; }
  .story__line { grid-template-columns: 1fr; gap: 0; border-left: 2px solid var(--line); margin-left: 6px; }
  .story__item { border-top: 0; padding: 0 0 30px 26px; }
  .story__item:last-child { padding-bottom: 0; }
  .story__item::before { left: -8px; top: 6px; }
  .story__year { font-size: 28px; margin-bottom: 8px; }
}

@media (max-width: 1180px) {
  .nav { gap: 22px; font-size: 14.5px; }
  .nav > a[href="#inclusive"] { display: none; }
  .mega__in { grid-template-columns: repeat(5, 1fr); }
  .mega__intro { display: none; }
  .proof__in { grid-template-columns: repeat(4, 1fr); }
  .proof__logos { grid-column: 1 / -1; border-top: 1px solid var(--line); padding: 18px 0; }
  .campus-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 26px; }
  .hero__award { display: none; }
  .hero__bar { grid-template-columns: repeat(3, 1fr); }
  .qlink:last-of-type { border-right: 0; }
}
@media (max-width: 960px) {
  :root { --hdr-h: 70px; }
  .nav, .hdr__cta { display: none; }
  .burger { display: block; }
  .prog__head { grid-template-columns: 1fr; }
  .prog__intro { justify-self: start; }
  .welcome__grid, .journey__head, .journey__body, .results__grid, .why__grid, .incl__grid, .tour__grid, .faq__grid, .life__head, .campuses__head, .cca { grid-template-columns: 1fr; }
  .life__intro, .campuses__intro { justify-self: start; }
  .panel { grid-template-columns: 1fr; }
  .journey__visual { display: none; }
  .stage { min-height: 0; opacity: 1; padding: 44px 0; }
  .stage:first-child { min-height: 0; }
  .stage__img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; margin-bottom: 22px; }
  .why__visual { position: relative; top: 0; }
  .why__frame { aspect-ratio: 4/3; max-height: none; }
  .faq__head { position: static; }
  .q { grid-template-columns: 1fr; }
  .q__art { max-width: 260px; }
  .quotes__nav { justify-self: start; }
  .rink { height: auto; }
  .rink__stage { position: relative; height: auto; display: block; }
  .rink__media { position: relative; inset: auto; clip-path: none; aspect-ratio: 4/3; }
  .rink__media img { transform: none; }
  .rink__frost { display: none; }
  .rink__copy { opacity: 1; transform: none; background: var(--pine-dd); width: 100%; padding: 40px var(--gutter) 70px; }
  .rail { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .rail::-webkit-scrollbar { display: none; }
  .card { scroll-snap-align: start; scroll-margin-left: var(--gutter); }
  .cca__float { display: none; }
}
@media (max-width: 760px) {
  :root { --util-h: 0px; --hdr-h: 66px; }
  body { font-size: 16px; }
  .util { display: none; }
  .hdr.is-solid { height: 64px; }
  .brand__crest { height: 38px; }
  .brand__word b { font-size: 20px; }
  .brand__word small { font-size: 12px; letter-spacing: .12em; }  /* 17 Nov 2026: was 9.5px (Run 4 design guard type floor) */
  .burger { width: 44px; height: 44px; }
  .burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
  body.menu-open .burger span:first-child, body.menu-open .burger span:last-child { top: 21px; }

  .hero { height: auto; min-height: 100svh; max-height: none; }
  .hero__copy { padding-top: calc(var(--hdr-h) + 22px); }
  .hero__eyebrow { font-size: 12px; letter-spacing: .12em; gap: 8px; flex-wrap: wrap; justify-content: center; }
  .hero__eyebrow .rule { display: none; }
  .hero__title { white-space: normal; font-size: clamp(46px, 14.2vw, 66px); line-height: .98; }
  .hero__title .ln { display: block; }
  .hero__sub { font-size: 16px; max-width: 34ch; }
  .hero__group { flex: 1 0 300px; min-height: 300px; margin-top: 10px; }
  .hero__layer { -webkit-mask-image: none; mask-image: none; }
  .hero__group::after { height: 45%; background: linear-gradient(to bottom, transparent, var(--pine-dd)); }
  .hero__bar { position: relative; left: auto; bottom: auto; transform: none; width: 100%; grid-template-columns: 1fr; border-radius: 0; border: 0; background: var(--pine-dd); backdrop-filter: none; -webkit-backdrop-filter: none; padding: 4px var(--gutter) 20px; }
  .qlink { border-right: 0; border-bottom: 1px solid rgba(227, 207, 165, .14); padding: 14px 0; }
  .qlink:last-of-type { border-bottom: 0; }
  .qlink b { font-size: 18px; }
  .hero__award { display: flex; padding: 14px 0 0; border-top: 1px solid rgba(227, 207, 165, .14); }

  .proof__in { grid-template-columns: 1fr 1fr; }
  .proof__item { padding: 26px 16px 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .proof__item:nth-child(odd) { border-right: 1px solid var(--line); }
  .proof__item:nth-child(even) { padding-left: 18px; }
  .proof__item span { font-size: 13.5px; }
  .proof__logos { border-top: 0; }

  .h2 { font-size: clamp(34px, 9.6vw, 44px); }
  .welcome__media { margin-top: 10px; }
  .welcome__seal { width: 112px; height: 112px; }
  .welcome__seal img { width: 46px; }
  .finder { padding: 20px 18px; }
  .finder__ages button { height: 40px; font-size: 14.5px; }
  .stats { gap: 0 20px; }
  .stat span { font-size: 14px; }
  .results__photo::before { inset: 14px -10px -14px 14px; }
  .reasons button { gap: 16px; padding: 17px 0; }
  .reasons p { padding-left: 42px; }
  .tabs { margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .tabs button { padding: 14px 14px 16px; }
  .rink__media { aspect-ratio: 4/5; }
  .rink__media img { object-position: 50% 50%; }
  .campus-grid { grid-template-columns: 1fr; }
  .growing__more { margin-left: 0; }
  .eip { grid-template-columns: 1fr; }
  .incl__main { width: 100%; }
  .incl__media { padding-bottom: 0; }
  .incl__quote { position: relative; width: auto; margin: -60px 16px 0; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .foot__top { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
  .foot__logos img { height: 46px; }
  details > div p { padding-right: 0; }

  .btn { white-space: normal; text-align: center; height: auto; min-height: var(--bh); padding-block: 12px; line-height: 1.25; }
  .dock {
    display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 55; gap: 10px;
    padding: 8px; border-radius: 12px; background: rgba(7, 39, 36, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, .5); transform: translateY(140%); transition: transform .6s var(--ease);
  }
  .dock.is-on { transform: none; }
  .dock .btn { flex: 1; --bh: 48px; }
  .dock__wa { width: 48px; height: 48px; flex: none; border-radius: 6px; border: 1px solid rgba(227, 207, 165, .4); display: grid; place-items: center; color: var(--gold-l); }
  .dock__wa svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
  .foot { padding-bottom: 76px; }
}
.qlink b { white-space: nowrap; }
@media (min-width: 761px) and (max-height: 820px) {
  .hero__copy { padding-top: calc(var(--util-h) + var(--hdr-h) + 10px); }
  .hero__eyebrow { margin-bottom: 10px; }
  .hero__title { font-size: clamp(50px, min(8vw, 12svh), 140px); }
  .hero__sub { margin-top: 10px; font-size: 16px; }
  .hero__bar { bottom: 14px; }
  .qlink { padding: 11px 18px; gap: 12px; }
  .qlink small { display: none; }
  .qlink b { font-size: 17px; }
  .qlink__ic { width: 34px; height: 34px; }
  .qlink__ic svg { width: 16px; height: 16px; }
  .hero__award { padding: 8px 18px; }
  .hero__award img { width: 58px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal-img { clip-path: none; }
  .js .reveal-img img { transform: none; }
  .rink { height: auto; }
  .rink__stage { position: relative; height: auto; min-height: 90vh; }
  .rink__media { clip-path: none; }
  .rink__media img { transform: none; }
  .rink__frost { display: none; }
  .rink__copy { opacity: 1; transform: none; }
}

/* ---------- speed pass (19 Nov 2026): the opening animation runs on CSS ----------
   Same moves, timings and curves as the GSAP intro it replaces (main.js, homepage hero), but it starts the moment the
   page shows instead of after the animation scripts have loaded, which held the page's largest paint on phones (3.5 s
   and more in the strict speed test). The title is split into letters at build time (tools/build_pages.py presplit),
   in the shape SplitText gave it. Curves: expo.out = cubic-bezier(.16,1,.3,1), power2.out = (.33,1,.68,1),
   power3.out = (.25,1,.5,1). `translate` composes with the transforms the scroll effects set, so nothing fights.
   Every fade also holds `visibility: hidden` until it starts (the element is transparent then anyway): the switch to
   visible makes Chrome repaint it, so it is counted as painted when it starts to show. A fade from transparent that
   only the compositor runs was counted when it ENDED (19 Nov measurements: the homepage subtitle at +2.15 s).
   Start times tightened the same day (moves, durations and order unchanged): header and eyebrow .05 s (were .25 / .3),
   title letters .05 (.38), rings .1 (.4), student layers .1 / .2 / .3 (.55 / .7 / .85), subtitle .3 (.85), bar .5
   (1.15). Measured honestly, the students ARE the homepage's largest paint: starting at .55 s it came to 4.1-4.2 s on
   the strict phone test, at .22 s 3.0-3.1 s (the italic font and the photos under the hero had joined the queue). */
.sx-m { position: relative; display: inline-block; overflow: clip; }
.sx-w, .sx-c { position: relative; display: inline-block; }
@keyframes sx-fade-scale { from { opacity: 0; visibility: hidden; transform: scale(1.08); } }
@keyframes sx-rings { from { opacity: 0; visibility: hidden; transform: translate(-50%, -50%) scale(.85); } }
@keyframes sx-fade-y { from { opacity: 0; visibility: hidden; translate: 0 var(--sx-y, 14px); } }
@keyframes sx-rise { from { translate: 0 var(--sx-rise, 115%); } }
@media (prefers-reduced-motion: no-preference) {
  .js .hero .hero__bg { animation: sx-fade-scale 2.2s cubic-bezier(.33, 1, .68, 1) backwards; }
  .js body:has(.hero) .hdr { --sx-y: -14px; animation: sx-fade-y 1.2s cubic-bezier(.16, 1, .3, 1) .05s backwards; }
  .js .hero__eyebrow { --sx-y: 14px; animation: sx-fade-y 1.2s cubic-bezier(.16, 1, .3, 1) .05s backwards; }
  .js .hero__title .sx-c { --sx-rise: 115%; animation: sx-rise 1.4s cubic-bezier(.16, 1, .3, 1) calc(.05s + var(--i) * .028s) backwards; }
  .js .hero__sub { --sx-y: 18px; animation: sx-fade-y 1.3s cubic-bezier(.16, 1, .3, 1) .3s backwards; }
  .js .hero__layer--l { --sx-y: 140px; animation: sx-fade-y 1.8s cubic-bezier(.16, 1, .3, 1) .1s backwards; }
  .js .hero__layer--r { --sx-y: 160px; animation: sx-fade-y 1.8s cubic-bezier(.16, 1, .3, 1) .2s backwards; }
  .js .hero__layer--c { --sx-y: 190px; animation: sx-fade-y 1.9s cubic-bezier(.16, 1, .3, 1) .3s backwards; }
  .js .hero__bar { --sx-y: 30px; animation: sx-fade-y 1.3s cubic-bezier(.16, 1, .3, 1) .5s backwards; }
  .js .hero__rings { animation: sx-rings 2.4s cubic-bezier(.25, 1, .5, 1) .1s backwards; }
}
