@font-face{
  font-family:'Fraunces';
  src:url('fonts/fraunces-var.woff2') format('woff2');
  font-weight:300 700;
  font-style:normal;
  font-display:swap;
}
@font-face{
  font-family:'Inter';
  src:url('fonts/inter-var.woff2') format('woff2');
  font-weight:300 700;
  font-style:normal;
  font-display:swap;
}

/* ==========================================================================
   Green Cottage Academy — design system
   Palette sampled from the school crest (deep forest green, sage, mint)
   ========================================================================== */

:root{
  /* Brand — from the crest */
  --forest-950:#042016;
  --forest-900:#052E1E;
  --forest-800:#073D27;
  --forest-700:#0A5938;
  --forest-600:#116044;
  --forest-500:#2A7356;
  --sage-400:#7AAEA0;
  --mint-200:#BEE3DD;
  --mint-100:#E9F1EC;

  /* Accent — muted gold */
  --gold-600:#8A6E33;
  --gold-500:#B08D3F;
  --gold-300:#D8C08A;

  /* Subject accents — vivid, but deep enough to stay institutional */
  --teal-600:#146B5F;  --teal-500:#1D8577;  --teal-100:#E6F0ED;
  --sky-600:var(--teal-600);      --sky-500:var(--teal-500);      --sky-100:var(--teal-100);
  --marigold-600:var(--gold-600); --marigold-500:var(--gold-500); --marigold-100:#F7F0DF;
  --coral-600:var(--gold-600);    --coral-500:var(--gold-500);    --coral-100:#F7F0DF;
  --indigo-600:var(--forest-700); --indigo-500:var(--forest-600); --indigo-100:var(--mint-100);

  --accent:var(--gold-500);
  --accent-soft:var(--marigold-100);

  /* Neutrals — warm, never pure black/white */
  --ink-900:#152019;
  --ink-700:#2E3B34;
  --ink-500:#5A6A62;
  --ink-300:#8D9A93;
  --paper:#FDFBF6;
  --paper-2:#F6F1E6;
  --paper-3:#EDE6D6;
  --line:#E6DFCE;
  --line-strong:#D4CAB2;

  /* Type */
  --serif:'Fraunces','Iowan Old Style',Georgia,'Times New Roman',serif;
  --sans:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;

  /* Rhythm */
  --pad:clamp(58px,6vw,104px);
  --gutter:clamp(20px,4vw,48px);
  --maxw:1240px;
  --maxw-wide:1440px;
  --maxw-text:68ch;

  --r-sm:3px;
  --r-md:6px;
  --r-lg:10px;

  --shadow-sm:0 1px 2px rgba(5,46,30,.05),0 2px 8px rgba(5,46,30,.04);
  --shadow-md:0 2px 4px rgba(5,46,30,.05),0 12px 32px rgba(5,46,30,.08);
  --shadow-lg:0 4px 8px rgba(5,46,30,.06),0 24px 64px rgba(5,46,30,.12);

  --ease:cubic-bezier(.22,.61,.36,1);
}

/* --------------------------------------------------------------- reset -- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body,h1,h2,h3,h4,h5,p,figure,blockquote,dl,dd,ul,ol{margin:0}
ul[class],ol[class]{list-style:none;padding:0}
img,picture,svg,video{display:block;max-width:100%}
button,input,select,textarea{font:inherit;color:inherit}
a{color:inherit;text-decoration:none}

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

body{
  font-family:var(--sans);
  font-size:17.5px;
  line-height:1.72;
  color:var(--ink-700);
  background:var(--paper);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  /* `hidden` is the fallback; where `clip` is supported it is preferred, so
     body never becomes a scroll container and position:sticky keeps working
     once html is clipped. See the overflow guards at the end of this file. */
  overflow-x:hidden;
  overflow-x:clip;
}

/* ---------------------------------------------------------- typography -- */
h1,h2,h3,h4,.display{
  font-family:var(--serif);
  font-variation-settings:'SOFT' 18,'WONK' 0;
  color:var(--ink-900);
  font-weight:500;
  line-height:1.1;
  letter-spacing:-.022em;
  text-wrap:balance;
}
h1,.h1{font-size:clamp(2.9rem,5.2vw,4.75rem);line-height:1.02;letter-spacing:-.032em}
h2,.h2{font-size:clamp(2.1rem,3.4vw,3.1rem);line-height:1.08;letter-spacing:-.026em}
h3,.h3{font-size:clamp(1.3rem,1.75vw,1.6rem);line-height:1.24;font-weight:500;letter-spacing:-.018em}
h4,.h4{font-family:var(--sans);font-size:1.02rem;line-height:1.35;font-weight:600;letter-spacing:-.005em}

p{text-wrap:pretty}
.lede{
  font-size:clamp(1.1rem,1.3vw,1.24rem);
  line-height:1.62;
  font-weight:400;
  color:var(--ink-500);
  max-width:60ch;
}
.measure{max-width:var(--maxw-text)}

/* Eyebrow — small caps label above headings */
.eyebrow{
  display:inline-flex;align-items:center;gap:.7em;
  font-family:var(--sans);
  font-size:.7rem;
  font-weight:600;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:var(--gold-600);
  margin-bottom:1.1rem;
}
.eyebrow::before{
  content:"";width:26px;height:1px;background:var(--gold-500);flex:none;
}
.eyebrow--light{color:var(--gold-300)}
.eyebrow--light::before{background:var(--gold-300)}
.eyebrow--plain::before{display:none}

/* Gold rule used under section headings */
.rule{width:52px;height:2px;background:var(--gold-500);border:0;margin:1.6rem 0 0}
.rule--center{margin-inline:auto}

/* ------------------------------------------------------------- layout -- */
.wrap{width:100%;max-width:var(--maxw);margin-inline:auto;padding-inline:var(--gutter)}
.wrap-wide{width:100%;max-width:var(--maxw-wide);margin-inline:auto;padding-inline:var(--gutter)}
.section{padding-block:var(--pad)}
.section--tight{padding-block:clamp(48px,5vw,80px)}
.section--paper2{background:var(--paper-2)}
.section--mint{background:var(--mint-100)}
.section--dark{background:var(--forest-900);color:var(--mint-100)}
.section--dark h1,.section--dark h2,.section--dark h3,.section--dark h4{color:#fff}
.section--dark .lede{color:rgba(231,242,238,.78)}
.section--dark p{color:rgba(231,242,238,.78)}

.grid{display:grid;gap:clamp(20px,2.6vw,34px)}
.g-2{grid-template-columns:repeat(2,1fr)}
.g-3{grid-template-columns:repeat(3,1fr)}
.g-4{grid-template-columns:repeat(4,1fr)}
@media (max-width:980px){.g-3,.g-4{grid-template-columns:repeat(2,1fr)}}
@media (max-width:620px){.g-2,.g-3,.g-4{grid-template-columns:1fr}}

/* Editorial split: text + image */
.split{display:grid;grid-template-columns:1fr 1fr;gap:clamp(32px,5vw,80px);align-items:center}
.split--wide-img{grid-template-columns:.9fr 1.1fr}
.split--wide-text{grid-template-columns:1.1fr .9fr}
@media (max-width:900px){.split,.split--wide-img,.split--wide-text{grid-template-columns:1fr;gap:36px}}

.section-head{max-width:62ch;margin-bottom:clamp(36px,4.5vw,64px)}
.section-head--center{margin-inline:auto;text-align:center}
.section-head--center .eyebrow{justify-content:center}

/* ------------------------------------------------------------ buttons -- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.6em;
  font-family:var(--sans);
  font-size:.76rem;font-weight:600;
  letter-spacing:.13em;text-transform:uppercase;
  padding:1.05em 2.1em;
  border:1px solid transparent;
  border-radius:var(--r-sm);
  cursor:pointer;
  transition:background .25s var(--ease),color .25s var(--ease),border-color .25s var(--ease),transform .25s var(--ease);
  white-space:nowrap;
}
.btn:focus-visible{outline:2px solid var(--gold-500);outline-offset:3px}
.btn--primary{background:var(--forest-700);color:#fff}
.btn--primary:hover{background:var(--forest-900)}
.btn--gold{background:var(--gold-500);color:var(--forest-950)}
.btn--gold:hover{background:var(--gold-300)}
.btn--ghost{background:transparent;color:var(--forest-700);border-color:var(--line-strong)}
.btn--ghost:hover{border-color:var(--forest-700);background:var(--forest-700);color:#fff}
.btn--on-dark{background:transparent;color:#fff;border-color:rgba(255,255,255,.45)}
.btn--on-dark:hover{background:#fff;color:var(--forest-900);border-color:#fff}
.btn--sm{padding:.8em 1.5em;font-size:.72rem}

/* Text link with arrow */
.tlink{
  display:inline-flex;align-items:center;gap:.5em;
  font-size:.78rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;
  color:var(--forest-700);
  padding-bottom:.35em;
  border-bottom:1px solid var(--line-strong);
  transition:border-color .25s var(--ease),color .25s var(--ease),gap .25s var(--ease);
}
.tlink::after{content:"→";font-size:1.05em;line-height:1;transition:transform .25s var(--ease)}
.tlink:hover{color:var(--forest-900);border-color:var(--gold-500);gap:.8em}
.tlink--light{color:var(--gold-300);border-color:rgba(217,193,133,.4)}
.tlink--light:hover{color:#fff;border-color:var(--gold-300)}

/* ------------------------------------------------------------- header -- */
.topbar{
  background:var(--forest-950);
  color:rgba(231,242,238,.72);
  font-size:.78rem;
  letter-spacing:.02em;
}
.topbar__inner{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:38px;flex-wrap:wrap}
.topbar a{display:inline-flex;align-items:center;gap:.5em;transition:color .2s var(--ease)}
.topbar a:hover{color:#fff}
.topbar__group{display:flex;align-items:center;gap:clamp(14px,2.4vw,30px);flex-wrap:wrap}
.topbar svg{width:14px;height:14px;opacity:.75;flex:none}
.topbar__social{display:flex;gap:4px}
.topbar__social a{width:28px;height:28px;justify-content:center;border-radius:50%;transition:background .2s var(--ease),color .2s var(--ease)}
.topbar__social a:hover{background:rgba(255,255,255,.12)}
@media (max-width:760px){.topbar__inner{justify-content:center;padding-block:8px}.topbar__mail{display:none}}

.site-header{
  position:sticky;top:0;z-index:100;
  background:rgba(252,251,248,.92);
  backdrop-filter:saturate(180%) blur(14px);
  -webkit-backdrop-filter:saturate(180%) blur(14px);
  border-bottom:1px solid var(--line);
  transition:box-shadow .3s var(--ease);
}
.site-header.is-stuck{box-shadow:var(--shadow-sm)}
.site-header__inner{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:70px}

.brand{display:flex;align-items:center;gap:13px;flex:none}
.brand img{width:42px;height:auto;flex:none}
.brand__name{
  font-family:var(--serif);font-size:1.02rem;font-weight:500;line-height:1.1;
  color:var(--forest-800);letter-spacing:-.018em;
}
.brand__motto{
  display:block;margin-top:3px;
  font-family:var(--sans);font-size:.54rem;font-weight:600;
  letter-spacing:.22em;text-transform:uppercase;color:var(--gold-600);
}
@media (max-width:420px){.brand__name{font-size:.95rem}.brand img{width:42px}}

/* Nav */
.nav{display:flex;align-items:center;gap:clamp(18px,2.2vw,34px)}
.nav__link{
  position:relative;
  font-size:.79rem;font-weight:600;letter-spacing:.11em;text-transform:uppercase;
  color:var(--ink-700);
  padding-block:6px;
  transition:color .22s var(--ease);
}
.nav__link::after{
  content:"";position:absolute;left:0;right:0;bottom:-2px;height:2px;
  background:var(--gold-500);transform:scaleX(0);transform-origin:left;
  transition:transform .3s var(--ease);
}
.nav__link:hover{color:var(--forest-700)}
.nav__link:hover::after,.nav__link[aria-current="page"]::after{transform:scaleX(1)}
.nav__link[aria-current="page"]{color:var(--forest-700)}

.nav__item{position:relative}
.nav__item--has-menu > .nav__link{display:inline-flex;align-items:center;gap:.4em}
.nav__caret{width:9px;height:9px;transition:transform .25s var(--ease);opacity:.6}
.nav__item--has-menu:hover .nav__caret{transform:rotate(180deg)}

.submenu{
  position:absolute;top:calc(100% + 14px);left:50%;transform:translateX(-50%) translateY(-6px);
  min-width:230px;padding:8px;
  background:#fff;border:1px solid var(--line);border-radius:var(--r-md);
  box-shadow:var(--shadow-md);
  opacity:0;visibility:hidden;pointer-events:none;
  transition:opacity .22s var(--ease),transform .22s var(--ease),visibility .22s;
}
.nav__item--has-menu:hover .submenu,
.nav__item--has-menu:focus-within .submenu{opacity:1;visibility:visible;pointer-events:auto;transform:translateX(-50%) translateY(0)}
.submenu::before{content:"";position:absolute;bottom:100%;left:0;right:0;height:14px}
.submenu a{
  display:block;padding:.65rem .9rem;border-radius:var(--r-sm);
  font-size:.95rem;font-weight:600;color:var(--ink-700);
  transition:background .18s var(--ease),color .18s var(--ease);
}
.submenu a:hover{background:var(--mint-100);color:var(--forest-800)}

.header__cta{display:flex;align-items:center;gap:12px;flex:none}

/* Mobile nav */
.burger{
  display:none;width:44px;height:44px;flex:none;
  align-items:center;justify-content:center;
  background:transparent;border:1px solid var(--line-strong);border-radius:var(--r-sm);cursor:pointer;
}
.burger span{display:block;width:19px;height:1.5px;background:var(--ink-900);position:relative;transition:background .2s var(--ease)}
.burger span::before,.burger span::after{
  content:"";position:absolute;left:0;width:19px;height:1.5px;background:var(--ink-900);
  transition:transform .28s var(--ease),top .28s var(--ease);
}
.burger span::before{top:-6px}
.burger span::after{top:6px}
.burger[aria-expanded="true"] span{background:transparent}
.burger[aria-expanded="true"] span::before{top:0;transform:rotate(45deg)}
.burger[aria-expanded="true"] span::after{top:0;transform:rotate(-45deg)}

@media (max-width:1040px){
  .burger{display:flex}
  .header__cta .btn{display:none}
  .nav{
    position:fixed;inset:calc(var(--header-h,84px) + var(--topbar-h,42px)) 0 auto 0;
    display:block;
    background:var(--paper);
    border-bottom:1px solid var(--line);
    padding:14px var(--gutter) 28px;
    max-height:calc(100dvh - var(--header-h,84px) - var(--topbar-h,42px));
    overflow-y:auto;
    transform:translateY(-12px);opacity:0;visibility:hidden;pointer-events:none;
    transition:opacity .26s var(--ease),transform .26s var(--ease),visibility .26s;
    box-shadow:var(--shadow-lg);
  }
  .nav.is-open{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0)}
  .nav__item{border-bottom:1px solid var(--line)}
  .nav__link{display:flex;width:100%;padding:1rem 0;font-size:.9rem}
  .nav__link::after{display:none}
  .nav__item--has-menu > .nav__link{justify-content:space-between}
  .submenu{
    position:static;transform:none;opacity:1;visibility:visible;pointer-events:auto;
    box-shadow:none;border:0;border-radius:0;min-width:0;padding:0 0 .7rem .2rem;
    display:none;background:transparent;
  }
  .nav__item--has-menu.is-open .submenu{display:block}
  .nav__item--has-menu.is-open .nav__caret{transform:rotate(180deg)}
  .nav__mobile-cta{display:block;margin-top:22px}
  .nav__mobile-cta .btn{width:100%}
}
@media (min-width:1041px){.nav__mobile-cta{display:none}}

/* --------------------------------------------------------------- hero -- */
.hero{position:relative;isolation:isolate;background:var(--forest-950);overflow:hidden}
.hero__media{position:absolute;inset:0;z-index:-2}
.hero__media img{width:100%;height:100%;object-fit:cover;object-position:center 32%}
.hero::after{
  content:"";position:absolute;inset:0;z-index:-1;
  background:
    linear-gradient(100deg,rgba(4,32,22,.93) 0%,rgba(5,46,30,.78) 30%,rgba(5,46,30,.30) 56%,rgba(5,46,30,0) 82%),
    linear-gradient(to top,rgba(4,32,22,.5),transparent 38%);
}
.hero__inner{
  position:relative;
  display:flex;flex-direction:column;justify-content:center;align-items:flex-start;
  min-height:clamp(540px,76vh,780px);
  padding-block:clamp(72px,9vw,116px);
  max-width:46rem;
  margin-inline:0;
}
.hero h1{color:#fff;margin-bottom:1.4rem}
.hero h1 em{font-style:italic;color:var(--gold-300)}
.hero__lede{
  font-size:clamp(1.04rem,1.35vw,1.21rem);
  line-height:1.62;color:rgba(231,242,238,.84);max-width:46ch;margin-bottom:2.3rem;
}
.hero__actions{display:flex;flex-wrap:wrap;gap:14px}

/* Hero stat strip */
.hero__stats{
  position:relative;z-index:1;
  border-top:1px solid rgba(190,227,221,.18);
  display:grid;grid-template-columns:repeat(4,1fr);
}
.hero__stats > *{padding:clamp(20px,2.4vw,30px) clamp(10px,1.6vw,26px)}
.hero__stats > * + *{border-left:1px solid rgba(190,227,221,.18)}
.stat__num{
  font-family:var(--serif);font-size:clamp(1.6rem,2.5vw,2.25rem);font-weight:800;
  color:#fff;line-height:1;margin-bottom:.45rem;letter-spacing:-.025em;
}
.stat__label{
  font-size:.66rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;
  color:rgba(190,227,221,.68);line-height:1.4;
}
@media (max-width:760px){
  .hero__stats{grid-template-columns:repeat(2,1fr)}
  .hero__stats > *:nth-child(n+3){border-top:1px solid rgba(190,227,221,.18)}
  .hero__stats > *:nth-child(odd){border-left:0}
}

/* Page banner (interior pages) */
.page-hero{position:relative;isolation:isolate;background:var(--forest-900);overflow:hidden}
.page-hero__media{position:absolute;inset:0;z-index:-2}
.page-hero__media img{width:100%;height:100%;object-fit:cover;object-position:center 38%}
.page-hero::after{
  content:"";position:absolute;inset:0;z-index:-1;
  background:linear-gradient(95deg,rgba(4,32,22,.92),rgba(4,32,22,.66) 62%,rgba(4,32,22,.44));
}
.page-hero__inner{
  position:relative;display:flex;flex-direction:column;justify-content:flex-end;
  min-height:clamp(290px,38vh,420px);
  padding-block:clamp(48px,6vw,76px);
}
.page-hero h1{color:#fff;max-width:20ch}
.page-hero__lede{color:rgba(231,242,238,.8);max-width:54ch;margin-top:1.1rem;font-size:1.06rem}

.crumbs{display:flex;align-items:center;gap:.6em;font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;color:rgba(190,227,221,.62);margin-bottom:1.2rem}
.crumbs a:hover{color:#fff}
.crumbs span{opacity:.5}

/* --------------------------------------------------------------- cards -- */
.card{
  background:#fff;border:1px solid var(--line);border-radius:var(--r-md);
  padding:clamp(26px,2.8vw,38px);
  display:flex;flex-direction:column;
  transition:border-color .3s var(--ease),box-shadow .3s var(--ease),transform .3s var(--ease);
}
.card:hover{border-color:var(--sage-400);box-shadow:var(--shadow-md);transform:translateY(-3px)}
.card__num{
  font-family:var(--serif);font-size:.95rem;color:var(--gold-500);
  letter-spacing:.06em;margin-bottom:1.3rem;display:block;
}
.card h3{margin-bottom:.7rem}
.card p{color:var(--ink-500);font-size:1.02rem}
.card__icon{width:30px;height:30px;color:var(--forest-700);margin-bottom:1.2rem}

/* Value card — bordered, numbered, no fill */
.value{
  position:relative;padding:clamp(28px,2.6vw,34px);
  display:grid;grid-template-rows:subgrid;grid-row:span 3;align-content:start;
  border:1px solid var(--line);border-radius:var(--r-md);background:#fff;
  transition:border-color .3s var(--ease),box-shadow .3s var(--ease);
}
.value::before{
  content:"";position:absolute;left:-1px;right:-1px;top:-1px;height:4px;
  background:var(--accent);border-radius:var(--r-md) var(--r-md) 0 0;
}
.value:hover{border-color:var(--accent);box-shadow:var(--shadow-md);transform:translateY(-3px)}
.value__num{
  display:inline-grid;place-items:center;
  width:46px;height:46px;border-radius:50%;
  background:var(--accent-soft);color:var(--accent);
  font-family:var(--serif);font-size:1.12rem;line-height:1;
  margin-bottom:1.15rem;
}
.value h3{font-size:1.18rem;margin-bottom:.6rem}
.value p{font-size:1.01rem;color:var(--ink-500)}

/* Media card — photo above text */
.mcard{
  display:flex;flex-direction:column;
  background:#fff;border:1px solid var(--line);border-radius:var(--r-md);
  overflow:hidden;
  transition:box-shadow .35s var(--ease),transform .35s var(--ease),border-color .35s var(--ease);
}
.mcard:hover{box-shadow:var(--shadow-lg);transform:translateY(-5px);border-color:var(--accent)}
.mcard__media{position:relative;aspect-ratio:4/3;overflow:hidden;background:var(--accent-soft)}
.mcard__media img{width:100%;height:100%;object-fit:cover;transition:transform .7s var(--ease)}
.mcard:hover .mcard__media img{transform:scale(1.045)}
.mcard__body{padding:clamp(20px,2.2vw,28px);display:flex;flex-direction:column;flex:1}
.mcard__body h3{font-size:1.2rem;margin-bottom:.45rem}
.mcard__meta{
  display:inline-block;align-self:flex-start;
  padding:.36em .8em;border-radius:100px;
  background:var(--accent-soft);color:var(--accent);
  font-size:.64rem;font-weight:700;letter-spacing:.13em;text-transform:uppercase;
  margin-bottom:.95rem;
}
.mcard__body p{font-size:1.01rem;color:var(--ink-500);margin-bottom:1.3rem}
.mcard__body .tlink{margin-top:auto;align-self:flex-start}

/* Figure with caption bar */
.figure{position:relative;border-radius:var(--r-md);overflow:hidden;background:var(--paper-3)}
.figure img{width:100%;height:100%;object-fit:cover}
.figure--tall{aspect-ratio:3/4}
.figure--square{aspect-ratio:1/1}
.figure--wide{aspect-ratio:4/3}
.figure--pano{aspect-ratio:16/9}
.figure__cap{
  position:absolute;left:0;right:0;bottom:0;
  padding:1.6rem 1.4rem .95rem;
  background:linear-gradient(to top,rgba(4,32,22,.86),transparent);
  color:#fff;font-size:.78rem;letter-spacing:.1em;text-transform:uppercase;font-weight:600;
}

/* Stacked duo of images, offset */
.duo{position:relative}
.duo__back{border-radius:var(--r-md);overflow:hidden;aspect-ratio:4/3}
.duo__back img{width:100%;height:100%;object-fit:cover}
.duo__front{
  position:absolute;right:-6%;bottom:-13%;width:48%;
  border-radius:var(--r-md);overflow:hidden;aspect-ratio:1/1;
  border:7px solid var(--paper);box-shadow:var(--shadow-lg);
}
.duo__front img{width:100%;height:100%;object-fit:cover}
.duo__badge{
  position:absolute;left:-5%;top:-5%;
  background:var(--forest-700);color:#fff;
  padding:1.15rem 1.35rem;border-radius:var(--r-md);
  box-shadow:var(--shadow-md);text-align:center;
}
.duo__badge strong{display:block;font-family:var(--serif);font-size:1.75rem;line-height:1}
.duo__badge span{font-size:.62rem;letter-spacing:.14em;text-transform:uppercase;color:var(--mint-200)}
@media (max-width:900px){
  .duo{margin-bottom:46px}
  .duo__front{width:42%;right:0;bottom:-11%}
  .duo__badge{left:0}
}

/* --------------------------------------------------------------- steps -- */
.steps{counter-reset:step;display:grid;gap:0}
.step{
  display:grid;grid-template-columns:auto 1fr;gap:clamp(18px,2.4vw,32px);
  padding-block:clamp(22px,2.4vw,30px);
  border-top:1px solid var(--line);
}
.step:last-child{border-bottom:1px solid var(--line)}
.step__num{
  font-family:var(--serif);font-size:1.5rem;line-height:1.15;
  color:var(--gold-500);min-width:2.2ch;
}
.step h3{font-size:1.14rem;margin-bottom:.35rem}
.step p{font-size:1.02rem;color:var(--ink-500);margin:0}

/* ---------------------------------------------------------- pillar row -- */
.pillar{padding:clamp(24px,2.6vw,32px) 0;border-top:1px solid var(--line)}
.pillar h3{font-size:1.22rem;margin-bottom:.55rem}
.pillar p{font-size:1.02rem;color:var(--ink-500)}
.section--dark .pillar{border-color:rgba(190,227,221,.16)}

/* ------------------------------------------------------------ gallery -- */
.gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.gallery a{
  position:relative;overflow:hidden;border-radius:var(--r-sm);
  aspect-ratio:1/1;background:var(--paper-3);display:block;
}
.gallery a:nth-child(8n+1),.gallery a:nth-child(8n){grid-column:span 2;grid-row:span 2;aspect-ratio:1/1}
.gallery img{width:100%;height:100%;object-fit:cover;transition:transform .7s var(--ease),filter .4s var(--ease)}
.gallery a:hover img{transform:scale(1.06)}
@media (max-width:760px){
  .gallery{grid-template-columns:repeat(2,1fr)}
  .gallery a:nth-child(8n+1),.gallery a:nth-child(8n){grid-column:span 2;grid-row:auto;aspect-ratio:16/10}
}

/* ------------------------------------------------------------ quote --- */
.quote{
  border-left:2px solid var(--gold-500);
  padding-left:clamp(22px,3vw,38px);
}
.quote blockquote{
  font-family:var(--serif);font-size:clamp(1.42rem,2.1vw,1.95rem);font-weight:700;
  line-height:1.42;color:var(--ink-900);letter-spacing:-.018em;
}
.section--dark .quote blockquote{color:#fff}
.quote figcaption{
  margin-top:1.5rem;font-size:.74rem;font-weight:600;
  letter-spacing:.14em;text-transform:uppercase;color:var(--gold-600);
}
.section--dark .quote figcaption{color:var(--gold-300)}

/* ------------------------------------------------------------- stats --- */
.statrow{display:grid;grid-template-columns:repeat(4,1fr);gap:clamp(18px,2.4vw,30px)}
.statrow > *{padding-top:1.5rem;border-top:2px solid var(--forest-700)}
.statrow .stat__num{color:var(--ink-900);font-size:clamp(1.9rem,3vw,2.7rem)}
.statrow .stat__label{color:var(--ink-500)}
.section--dark .statrow > *{border-color:var(--gold-500)}
.section--dark .statrow .stat__num{color:#fff}
.section--dark .statrow .stat__label{color:rgba(190,227,221,.7)}
@media (max-width:760px){.statrow{grid-template-columns:repeat(2,1fr)}}

/* ------------------------------------------------------------ accordion */
.acc__item{border-bottom:1px solid var(--line)}
.acc__btn{
  width:100%;display:flex;align-items:center;justify-content:space-between;gap:20px;
  padding:1.35rem 0;background:none;border:0;cursor:pointer;text-align:left;
  font-family:var(--serif);font-size:1.2rem;font-weight:700;color:var(--ink-900);
  transition:color .22s var(--ease);
}
.acc__btn:hover{color:var(--forest-700)}
.acc__sign{position:relative;width:15px;height:15px;flex:none}
.acc__sign::before,.acc__sign::after{
  content:"";position:absolute;background:var(--gold-500);transition:transform .3s var(--ease);
}
.acc__sign::before{left:0;top:7px;width:15px;height:1.5px}
.acc__sign::after{left:7px;top:0;width:1.5px;height:15px}
.acc__btn[aria-expanded="true"] .acc__sign::after{transform:rotate(90deg)}
.acc__panel{overflow:hidden;height:0;transition:height .34s var(--ease)}
.acc__panel-inner{padding-bottom:1.5rem;color:var(--ink-500);font-size:.96rem;max-width:68ch}

/* -------------------------------------------------------------- forms -- */
.field{display:flex;flex-direction:column;gap:.5rem}
.field label{font-size:.72rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-500)}
.field input,.field select,.field textarea{
  width:100%;padding:.92rem 1rem;
  background:#fff;border:1px solid var(--line-strong);border-radius:var(--r-sm);
  font-size:.96rem;color:var(--ink-900);
  transition:border-color .22s var(--ease),box-shadow .22s var(--ease);
}
.field input::placeholder,.field textarea::placeholder{color:var(--ink-300)}
.field input:focus,.field select:focus,.field textarea:focus{
  outline:none;border-color:var(--forest-600);box-shadow:0 0 0 3px rgba(10,89,56,.1);
}
.field textarea{resize:vertical;min-height:140px}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.form-grid .field--full{grid-column:1/-1}
@media (max-width:620px){.form-grid{grid-template-columns:1fr}}

/* Inline newsletter */
.signup{display:flex;gap:10px;flex-wrap:wrap}
.signup input{
  flex:1 1 240px;padding:.95rem 1.1rem;
  background:rgba(255,255,255,.07);border:1px solid rgba(190,227,221,.26);
  border-radius:var(--r-sm);color:#fff;font-size:.95rem;
}
.signup input::placeholder{color:rgba(190,227,221,.55)}
.signup input:focus{outline:none;border-color:var(--gold-500);background:rgba(255,255,255,.11)}

/* ------------------------------------------------------------ contact -- */
.contact-card{
  background:#fff;border:1px solid var(--line);border-radius:var(--r-md);
  padding:clamp(26px,2.8vw,34px);height:100%;
  display:flex;flex-direction:column;
  transition:border-color .3s var(--ease),box-shadow .3s var(--ease);
}
.contact-card:hover{border-color:var(--sage-400);box-shadow:var(--shadow-md)}
.contact-card h3{font-size:1.16rem;margin-bottom:.3rem}
.contact-card__place{
  font-size:.7rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;
  color:var(--gold-600);margin-bottom:1.4rem;
}
.dl{display:grid;gap:.9rem;margin-bottom:1.6rem}
.dl > div{display:grid;grid-template-columns:20px 1fr;gap:.75rem;align-items:start}
.dl svg{width:15px;height:15px;color:var(--forest-600);margin-top:.28rem}
.dl dt{font-size:.66rem;letter-spacing:.13em;text-transform:uppercase;color:var(--ink-300);margin-bottom:.1rem}
.dl dd{margin:0;font-size:1rem;color:var(--ink-700)}
.dl dd a:hover{color:var(--forest-700);text-decoration:underline;text-underline-offset:3px}

/* ----------------------------------------------------------- download -- */
.dl-row{
  display:flex;align-items:center;justify-content:space-between;gap:20px;
  padding:1.25rem 0;border-top:1px solid var(--line);
}
.dl-row:last-child{border-bottom:1px solid var(--line)}
.dl-row__name{display:flex;align-items:center;gap:.9rem}
.dl-row__name svg{width:19px;height:19px;color:var(--forest-600);flex:none}
.dl-row h3{font-size:1.04rem}
.dl-row__size{font-size:.74rem;color:var(--ink-300);letter-spacing:.06em}
@media (max-width:560px){.dl-row{flex-direction:column;align-items:flex-start;gap:12px}}

/* --------------------------------------------------------------- CTA --- */
.cta{position:relative;isolation:isolate;overflow:hidden;background:var(--forest-900)}
.cta__media{position:absolute;inset:0;z-index:-2}
.cta__media img{width:100%;height:100%;object-fit:cover}
.cta::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(95deg,rgba(4,32,22,.94),rgba(4,32,22,.74))}
.cta__inner{padding-block:clamp(64px,7vw,110px);max-width:48rem}
.cta h2{color:#fff;margin-bottom:1.1rem}
.cta p{color:rgba(231,242,238,.8);margin-bottom:2rem;max-width:52ch}
.cta__actions{display:flex;flex-wrap:wrap;gap:14px}

/* ------------------------------------------------------------- footer -- */
.site-footer{background:var(--forest-950);color:rgba(231,242,238,.66);font-size:1rem}
.footer__top{
  display:grid;grid-template-columns:1.5fr 1fr 1fr 1.3fr;
  gap:clamp(28px,4vw,56px);
  padding-block:clamp(56px,6vw,86px);
}
@media (max-width:980px){.footer__top{grid-template-columns:1fr 1fr}}
@media (max-width:560px){.footer__top{grid-template-columns:1fr}}

.footer__brand{display:flex;align-items:center;gap:13px;margin-bottom:1.3rem}
.footer__brand img{width:52px;height:auto}
.footer__brand .brand__name{color:#fff;font-size:1.05rem}
.footer__brand .brand__motto{color:var(--gold-300)}
.footer p{color:rgba(231,242,238,.62);font-size:1rem;max-width:36ch}

.footer h4{
  color:#fff;font-family:var(--sans);font-size:.72rem;font-weight:700;
  letter-spacing:.16em;text-transform:uppercase;margin-bottom:1.3rem;
}
.footer__links{display:grid;gap:.75rem}
.footer__links a{color:rgba(231,242,238,.66);font-size:1rem;transition:color .2s var(--ease),padding-left .2s var(--ease)}
.footer__links a:hover{color:#fff;padding-left:4px}

.footer__contact{display:grid;gap:1rem;margin-bottom:1.7rem}
.footer__contact > div{display:grid;grid-template-columns:18px 1fr;gap:.7rem;align-items:start}
.footer__contact svg{width:14px;height:14px;color:var(--gold-300);margin-top:.33rem}
.footer__contact a{color:rgba(231,242,238,.72)}
.footer__contact a:hover{color:#fff}

.social{display:flex;gap:9px}
.social a{
  width:36px;height:36px;display:grid;place-items:center;
  border:1px solid rgba(190,227,221,.22);border-radius:50%;
  color:rgba(231,242,238,.72);
  transition:background .22s var(--ease),border-color .22s var(--ease),color .22s var(--ease);
}
.social a:hover{background:var(--gold-500);border-color:var(--gold-500);color:var(--forest-950)}
.social svg{width:15px;height:15px}

.footer__bottom{
  border-top:1px solid rgba(190,227,221,.14);
  padding-block:1.6rem;
  display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;
  font-size:.82rem;color:rgba(231,242,238,.5);
}
.footer__bottom nav{display:flex;gap:1.5rem}
.footer__bottom a:hover{color:#fff}

/* ---------------------------------------------------------- utilities -- */
.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:absolute;left:12px;top:-60px;z-index:200;
  background:var(--forest-700);color:#fff;padding:.7rem 1.2rem;border-radius:var(--r-sm);
  font-size:.85rem;transition:top .2s var(--ease);
}
.skip-link:focus{top:12px}
.center{text-align:center}
.mt-0{margin-top:0}.mt-1{margin-top:.6rem}.mt-2{margin-top:1.2rem}.mt-3{margin-top:2rem}.mt-4{margin-top:3rem}
.mb-0{margin-bottom:0}.mb-2{margin-bottom:1.2rem}.mb-3{margin-bottom:2rem}
.stack{display:flex;flex-direction:column;gap:1.1rem}
.stack-sm{display:flex;flex-direction:column;gap:.6rem}
.flow > * + *{margin-top:1.15rem}
.pill{
  display:inline-block;padding:.4em .9em;border-radius:100px;
  background:var(--mint-100);color:var(--forest-800);
  font-size:.7rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;
}

/* Scroll reveal */
.reveal{opacity:0;transform:translateY(22px);transition:opacity .7s var(--ease),transform .7s var(--ease)}
.reveal.is-in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){.reveal{opacity:1;transform:none}}

/* Lightbox */
.lightbox{
  position:fixed;inset:0;z-index:300;display:grid;place-items:center;
  background:rgba(4,32,22,.94);padding:clamp(16px,4vw,52px);
  opacity:0;visibility:hidden;transition:opacity .3s var(--ease),visibility .3s;
}
.lightbox.is-open{opacity:1;visibility:visible}
.lightbox__stage{display:flex;flex-direction:column;align-items:center;gap:.9rem;max-width:100%}
.lightbox img{
  max-width:100%;max-height:78vh;border-radius:var(--r-md);box-shadow:var(--shadow-lg);
  animation:lightboxIn .32s var(--ease) both;
}
@keyframes lightboxIn{from{opacity:0;transform:scale(.985)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.lightbox img{animation:none}}
.lightbox figcaption{
  color:rgba(255,255,255,.84);font-size:.95rem;text-align:center;
  max-width:58ch;text-wrap:balance;
}
.lightbox figcaption[hidden]{display:none}
.lightbox__close,.lightbox__nav{
  position:absolute;width:46px;height:46px;border-radius:50%;
  background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.28);
  color:#fff;line-height:1;cursor:pointer;
  display:grid;place-items:center;transition:background .2s var(--ease),transform .2s var(--ease);
}
.lightbox__close{top:clamp(14px,3vw,30px);right:clamp(14px,3vw,30px);font-size:1.4rem}
.lightbox__close:hover,.lightbox__nav:hover{background:rgba(255,255,255,.22)}
.lightbox__nav{top:50%;margin-top:-23px;width:52px;height:52px}
.lightbox__nav--prev{left:clamp(10px,2.5vw,32px)}
.lightbox__nav--next{right:clamp(10px,2.5vw,32px)}
.lightbox__nav--prev:hover{transform:translateX(-3px)}
.lightbox__nav--next:hover{transform:translateX(3px)}
.lightbox__nav[hidden]{display:none}
.lightbox__count{
  position:absolute;left:50%;transform:translateX(-50%);
  bottom:clamp(12px,2.6vw,26px);
  color:rgba(255,255,255,.62);
  font-size:.7rem;font-weight:500;letter-spacing:.18em;
}
@media (max-width:620px){
  .lightbox__nav{width:44px;height:44px;margin-top:-22px}
  .lightbox img{max-height:66vh}
}

body.is-locked{overflow:hidden}

/* --------------------------------------------------------- API content -- */
.js-empty{color:var(--ink-300);font-size:.95rem;font-style:italic}
.job{padding:clamp(22px,2.4vw,30px) 0;border-top:1px solid var(--line)}
.job:last-child{border-bottom:1px solid var(--line)}
.job__head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:.7rem}
.job h3{font-size:1.2rem}
.job__date{font-size:.7rem;font-weight:600;letter-spacing:.13em;text-transform:uppercase;color:var(--gold-600);margin:0}
.job p{color:var(--ink-500);font-size:.96rem;margin-bottom:1.1rem;max-width:72ch}

/* -------------------------------------------------- admissions extras -- */
.inc-list{display:grid;gap:.85rem}
.inc{display:grid;grid-template-columns:20px 1fr;gap:.8rem;align-items:start;font-size:.97rem;color:var(--ink-700)}
.inc svg{width:16px;height:16px;color:var(--forest-600);margin-top:.34rem}

.numlist{counter-reset:n;display:grid;gap:.8rem;padding:0;list-style:none}
.numlist li{counter-increment:n;display:grid;grid-template-columns:28px 1fr;gap:.85rem;align-items:start;font-size:.96rem;color:var(--ink-700)}
.numlist li::before{
  content:counter(n,decimal-leading-zero);
  font-family:var(--serif);font-size:.82rem;color:var(--gold-600);
  padding-top:.2rem;letter-spacing:.04em;
}

.notice{
  background:var(--mint-100);border-left:3px solid var(--forest-600);
  padding:1.1rem 1.3rem;border-radius:0 var(--r-sm) var(--r-sm) 0;
  font-size:.95rem;color:var(--forest-800);
}
.notice strong{color:var(--forest-900)}

.paybill{display:grid;gap:1px;background:var(--line);border:1px solid var(--line);border-radius:var(--r-md);overflow:hidden}
.paybill > div{display:flex;align-items:center;justify-content:space-between;gap:16px;background:#fff;padding:1rem 1.2rem;flex-wrap:wrap}
.paybill__label{font-size:.68rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-300)}
.paybill__value{font-family:var(--serif);font-size:1.05rem;color:var(--ink-900)}
.paybill__value[data-pending]{color:var(--ink-300);font-style:italic;font-size:.95rem}

.form-note{font-size:.78rem;color:var(--ink-300)}
.topbar__label{letter-spacing:.14em;text-transform:uppercase;font-size:.66rem;opacity:.75}
@media (max-width:760px){.topbar__label{display:none}}

/* ===========================================================================
   Colour system — vivid, subject-coded accents
   Apply an accent class to any element; children read var(--accent).
   =========================================================================== */
.a-forest   {--accent:var(--forest-700);   --accent-soft:var(--mint-100)}
.a-sky      {--accent:var(--sky-600);      --accent-soft:var(--sky-100)}
.a-marigold {--accent:var(--marigold-600); --accent-soft:var(--marigold-100)}
.a-coral    {--accent:var(--coral-600);    --accent-soft:var(--coral-100)}
.a-teal     {--accent:var(--teal-600);     --accent-soft:var(--teal-100)}
.a-indigo   {--accent:var(--indigo-600);   --accent-soft:var(--indigo-100)}
.a-gold     {--accent:var(--gold-600);     --accent-soft:var(--marigold-100)}

/* Tinted section grounds — break up the cream */
.section--sky{background:var(--sky-100)}
.section--marigold{background:var(--marigold-100)}
.section--coral{background:var(--coral-100)}
.section--teal{background:var(--teal-100)}
.section--indigo{background:var(--indigo-100)}

/* Eyebrow picks up the surrounding accent */
.eyebrow{color:var(--accent)}
.eyebrow::before{background:var(--accent)}
.rule{background:var(--accent)}

/* A band of colour that separates major sections */
.colourbar{display:flex;height:6px}
.colourbar span{flex:1}
.colourbar span:nth-child(1){background:var(--forest-700)}
.colourbar span:nth-child(2){background:var(--sky-500)}
.colourbar span:nth-child(3){background:var(--marigold-500)}
.colourbar span:nth-child(4){background:var(--coral-500)}
.colourbar span:nth-child(5){background:var(--teal-500)}

/* Hero: vivid stat band */
.hero__stats{
  border-top:0;
  background:linear-gradient(90deg,rgba(10,89,56,.93),rgba(12,122,106,.9) 52%,rgba(18,130,168,.88));
  border-radius:var(--r-md) var(--r-md) 0 0;
  box-shadow:0 -10px 40px rgba(4,32,22,.3);
}
.hero__stats > * + *{border-left:1px solid rgba(255,255,255,.18)}
.hero__stats .stat__num{color:#fff}
.hero__stats .stat__label{color:rgba(255,255,255,.76)}

/* Section heading with a colour swatch behind the eyebrow */
.section-head .eyebrow{
  background:var(--accent-soft);
  padding:.42em .9em .42em .78em;
  border-radius:100px;
}
.section-head .eyebrow::before{width:18px}

/* Cards: stronger presence */
.card{border-top:4px solid var(--accent)}
.card__num{
  display:inline-grid;place-items:center;width:42px;height:42px;border-radius:50%;
  background:var(--accent-soft);color:var(--accent);
  font-size:.95rem;margin-bottom:1.15rem;
}
.card:hover{border-color:var(--line);border-top-color:var(--accent);box-shadow:var(--shadow-lg)}

/* Pillars on dark grounds get a coloured marker */
.section--dark .pillar{border-top:2px solid var(--accent)}
.section--dark .pillar h3{color:#fff}

/* Steps: filled accent numerals */
.step__num{
  display:inline-grid;place-items:center;
  width:44px;height:44px;border-radius:50%;
  background:var(--accent);color:#fff;
  font-size:1rem;min-width:0;
}
.step{align-items:start}

/* Gallery: bigger, livelier */
.gallery{gap:14px}
.gallery a{border-radius:var(--r-md)}
.gallery a::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(to top,rgba(4,32,22,.5),transparent 55%);
  opacity:0;transition:opacity .35s var(--ease);
}
.gallery a:hover::after{opacity:1}

/* Stat row on light grounds */
.statrow > *{border-top:4px solid var(--accent)}
.statrow > *:nth-child(1){--accent:var(--forest-700)}
.statrow > *:nth-child(2){--accent:var(--sky-600)}
.statrow > *:nth-child(3){--accent:var(--marigold-600)}
.statrow > *:nth-child(4){--accent:var(--coral-600)}

/* Contact cards take an accent too */
.contact-card{border-top:4px solid var(--accent)}
.contact-card__place{color:var(--accent)}
.contact-card:hover{border-color:var(--line);border-top-color:var(--accent);box-shadow:var(--shadow-lg)}

/* Buttons: a touch more punch */
.btn--gold{background:var(--marigold-500);color:var(--forest-950)}
.btn--gold:hover{background:var(--gold-300)}
.btn--primary{background:var(--forest-700)}
.btn--primary:hover{background:var(--teal-600)}
.tlink{color:var(--accent);border-color:color-mix(in srgb,var(--accent) 35%,transparent)}
.tlink:hover{color:var(--accent);border-color:var(--accent)}

/* Duo: keep the badge clear of signage, show the full frame */
.duo__back{aspect-ratio:3/2}
.duo__badge{left:auto;right:auto;top:auto;left:-4%;bottom:8%;background:var(--accent)}
.duo__badge span{color:rgba(255,255,255,.82)}
.duo__front{border-color:var(--paper)}

/* Notice / quote pick up accent */
.notice{background:var(--accent-soft);border-left-color:var(--accent);color:var(--forest-900)}
.quote{border-left-color:var(--accent)}
.quote figcaption{color:var(--accent)}

/* Pill */
.pill{background:var(--accent-soft);color:var(--accent)}

/* ===========================================================================
   Hero — split panel: deep colour field beside a full-saturation photograph
   =========================================================================== */
.hero{background:var(--forest-900);overflow:visible}
.hero::after{display:none}
.hero__media{display:none}

.hero__grid{
  position:relative;
  display:grid;grid-template-columns:1.02fr .98fr;
  align-items:stretch;
  gap:0;
}

.hero__panel{
  position:relative;z-index:2;
  display:flex;flex-direction:column;justify-content:center;
  padding:clamp(52px,6vw,96px) clamp(28px,3.4vw,62px) clamp(52px,6vw,96px) 0;
  min-height:clamp(540px,72vh,730px);
}
/* The colour field bleeds off the left edge of the viewport */
.hero__panel::before{
  content:"";position:absolute;z-index:-1;
  top:0;bottom:0;right:0;left:calc(50% - 50vw);
  background:
    radial-gradient(120% 95% at 8% 108%,rgba(18,130,168,.55),transparent 62%),
    radial-gradient(90% 80% at 96% -10%,rgba(12,122,106,.5),transparent 60%),
    linear-gradient(155deg,var(--forest-800),var(--forest-950));
}
/* Faint grid, so the panel is not a dead flat block */
.hero__panel::after{
  content:"";position:absolute;z-index:-1;inset:0;left:calc(50% - 50vw);
  background-image:
    linear-gradient(rgba(190,227,221,.07) 1px,transparent 1px),
    linear-gradient(90deg,rgba(190,227,221,.07) 1px,transparent 1px);
  background-size:62px 62px;
  mask-image:radial-gradient(130% 110% at 10% 50%,#000 25%,transparent 78%);
  -webkit-mask-image:radial-gradient(130% 110% at 10% 50%,#000 25%,transparent 78%);
}

.hero__eyebrow{
  display:inline-flex;align-items:center;gap:.65em;align-self:flex-start;
  background:rgba(242,169,59,.16);
  border:1px solid rgba(242,169,59,.42);
  color:var(--gold-300);
  padding:.5em 1.05em;border-radius:100px;
  font-size:.68rem;font-weight:700;letter-spacing:.15em;text-transform:uppercase;
  margin-bottom:1.5rem;
}
.hero__eyebrow i{width:6px;height:6px;border-radius:50%;background:var(--marigold-500);flex:none;font-style:normal}

.hero h1{
  color:#fff;margin-bottom:1.3rem;
  font-size:clamp(2.7rem,4.6vw,4.3rem);
}
.hero h1 em{
  font-style:italic;position:relative;white-space:nowrap;
  color:var(--marigold-500);
}
.hero h1 em::after{
  content:"";position:absolute;left:0;right:0;bottom:.08em;height:.1em;
  background:rgba(242,169,59,.38);border-radius:2px;
}
.hero__lede{
  font-size:clamp(1.02rem,1.22vw,1.17rem);line-height:1.64;
  color:rgba(222,240,235,.84);max-width:40ch;margin-bottom:2.1rem;
}
.hero__actions{display:flex;flex-wrap:wrap;gap:13px}

/* Photo side */
.hero__frame{
  position:relative;z-index:1;
  min-height:clamp(380px,72vh,730px);
}
.hero__frame > img{
  position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;object-position:center 30%;
}
/* The photograph bleeds to the right edge of the viewport */
.hero__frame::before{
  content:"";position:absolute;top:0;bottom:0;left:100%;width:50vw;z-index:1;
  background:inherit;
}
.hero__bleed{
  position:absolute;top:0;bottom:0;left:0;right:calc(50% - 50vw);
  overflow:hidden;
}
.hero__bleed img{width:100%;height:100%;object-fit:cover;object-position:center 30%}
/* A soft tint only where the panel meets the photo */
.hero__bleed::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(90deg,rgba(5,46,30,.86),rgba(5,46,30,.18) 26%,transparent 50%);
}

/* Floating cards over the seam */
.hero__chip{
  position:absolute;z-index:3;
  background:#fff;border-radius:var(--r-md);
  box-shadow:var(--shadow-lg);
  padding:.95rem 1.15rem;
  display:flex;align-items:center;gap:.8rem;
}
.hero__chip i{
  width:38px;height:38px;border-radius:50%;flex:none;
  display:grid;place-items:center;
  background:var(--accent-soft);color:var(--accent);
}
.hero__chip i svg{width:18px;height:18px}
.hero__chip strong{display:block;font-family:var(--serif);font-size:1.02rem;color:var(--ink-900);line-height:1.15}
.hero__chip span{font-size:.64rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-300)}
.hero__chip--one{left:-9%;top:16%}
.hero__chip--two{right:6%;bottom:16%}

/* Inset photograph for depth */
.hero__inset{
  position:absolute;z-index:3;left:-13%;bottom:9%;
  width:40%;max-width:252px;aspect-ratio:4/3;
  border-radius:var(--r-md);overflow:hidden;
  border:6px solid var(--paper);box-shadow:var(--shadow-lg);
}
.hero__inset img{width:100%;height:100%;object-fit:cover}

@media (max-width:1040px){
  .hero__chip--one{left:-5%;top:9%}
  .hero__inset{display:none}
}
@media (max-width:860px){
  .hero__grid{grid-template-columns:1fr}
  .hero__panel{padding:clamp(48px,7vw,70px) 0;min-height:0}
  .hero__panel::before,.hero__panel::after{left:calc(50% - 50vw);right:calc(50% - 50vw)}
  .hero__frame{min-height:330px;order:-1;margin-inline:calc(var(--gutter) * -1)}
  .hero__bleed{right:0}
  .hero__bleed::after{background:linear-gradient(to bottom,rgba(5,46,30,.25),rgba(5,46,30,.72))}
  .hero__chip{display:none}
}

/* Stat band sits across the seam */
.hero__statwrap{position:relative;z-index:4;margin-top:-1px}

/* ===========================================================================
   REFINEMENT LAYER
   Cinematic hero, floating statistics, restrained accents, subtle texture.
   =========================================================================== */

/* Accents collapse to forest / gold / teal — gold is for guiding the eye */
.a-sky, .a-indigo {--accent:var(--forest-700); --accent-soft:var(--mint-100)}
.a-marigold, .a-coral, .a-gold {--accent:var(--gold-600); --accent-soft:#F7F0DF}
.a-teal {--accent:var(--teal-600); --accent-soft:var(--teal-100)}
.a-forest {--accent:var(--forest-700); --accent-soft:var(--mint-100)}
:root{--accent:var(--gold-600); --accent-soft:#F7F0DF}

.section--sky, .section--indigo{background:var(--paper-2)}
.section--marigold, .section--coral{background:var(--paper-2)}
.section--teal{background:var(--teal-100)}

/* Eyebrow returns to a fine gold rule — no pill */
.section-head .eyebrow{background:none;padding:0;border-radius:0}
.section-head .eyebrow::before{width:30px}
.eyebrow{color:var(--gold-600)}
.eyebrow::before{background:var(--gold-500)}
.eyebrow--light{color:var(--gold-300)}
.eyebrow--light::before{background:var(--gold-300)}

/* Hairline divider instead of the rainbow bar */
.colourbar{height:1px;background:none}
.colourbar span{background:none!important}
.colourbar span:nth-child(3){background:linear-gradient(90deg,transparent,var(--gold-500),transparent)!important}

/* --------------------------------------------------------------- HERO --- */
.hero{position:relative;isolation:isolate;background:var(--forest-950);overflow:hidden}
.hero__media{display:block;position:absolute;inset:0;z-index:-3}
.hero__media img{width:100%;height:100%;object-fit:cover;object-position:center 28%}

/* Layered grade: warm at the subject, deep at the type, vignette all round */
.hero::after{
  content:"";position:absolute;inset:0;z-index:-2;display:block;
  background:
    linear-gradient(104deg,rgba(4,25,17,.95) 0%,rgba(4,25,17,.88) 24%,rgba(4,25,17,.68) 42%,rgba(4,25,17,.34) 62%,rgba(4,25,17,.20) 82%,rgba(4,25,17,.34) 100%),
    radial-gradient(130% 120% at 18% 46%,transparent 34%,rgba(3,18,12,.62) 100%),
    linear-gradient(to top,rgba(3,18,12,.78),transparent 46%);
}
/* Subtle film grain so the block never reads flat */
.hero::before{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:.5;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
}

.hero__grid{display:block}
.hero__panel,.hero__frame,.hero__bleed,.hero__chip,.hero__inset{all:unset;display:none}

.hero__inner{
  position:relative;z-index:1;
  display:flex;flex-direction:column;justify-content:center;align-items:flex-start;
  min-height:clamp(560px,78vh,800px);
  padding-block:clamp(84px,9vw,130px) clamp(128px,13vw,176px);
  max-width:min(54rem,100%);
  margin-inline:0;
}
.hero__eyebrow{
  display:inline-flex;align-items:center;gap:.9em;
  background:none;border:0;padding:0;border-radius:0;
  color:var(--gold-300);
  font-family:var(--sans);
  font-size:.68rem;font-weight:500;letter-spacing:.26em;text-transform:uppercase;
  margin-bottom:2rem;white-space:nowrap;
}
.hero__eyebrow i{width:34px;height:1px;border-radius:0;background:var(--gold-500);flex:none}

.hero h1{
  color:#fff;
  font-size:clamp(3rem,6vw,5.6rem);
  line-height:1.0;
  letter-spacing:-.035em;
  font-weight:400;
  margin-bottom:1.9rem;
  max-width:18ch;
  text-shadow:0 2px 40px rgba(3,18,12,.45);
}
.hero h1 em{font-style:italic;color:var(--gold-300);font-weight:400}
.hero h1 em::after{display:none}

.hero__lede{
  font-family:var(--sans);
  font-size:clamp(1.04rem,1.2vw,1.18rem);
  font-weight:300;line-height:1.72;
  color:rgba(246,241,230,.82);
  max-width:46ch;margin-bottom:2.6rem;
  text-shadow:0 1px 20px rgba(3,18,12,.4);
}
.hero__actions{display:flex;flex-wrap:wrap;gap:16px}
.hero__actions .btn{padding:1.15em 2.4em}

@media (max-width:860px){
  .hero__inner{min-height:clamp(500px,76vh,680px);padding-block:84px 150px;max-width:none}
  .hero h1{max-width:none}
}

/* ---------------------------------------------- floating statistics ---- */
.hero__statwrap{
  position:relative;z-index:6;
  margin-top:clamp(-108px,-8vw,-78px);
  margin-bottom:clamp(40px,5vw,64px);
}
.hero__stats{
  grid-template-columns:repeat(4,1fr);
  background:rgba(253,251,246,.97);
  backdrop-filter:blur(18px) saturate(140%);
  -webkit-backdrop-filter:blur(18px) saturate(140%);
  border:1px solid var(--line);
  border-radius:var(--r-lg);
  box-shadow:0 2px 6px rgba(5,46,30,.05),0 30px 70px -24px rgba(5,46,30,.3);
  overflow:hidden;
}
.hero__stats > *{
  padding:clamp(24px,2.6vw,34px) clamp(16px,2vw,30px);
  text-align:left;position:relative;
  display:flex;flex-direction:column;justify-content:flex-start;
}
.hero__stats .stat__num{white-space:nowrap}
.hero__stats > * + *{border-left:1px solid var(--line)}
.hero__stats .stat__num{
  font-family:var(--serif);font-weight:400;
  font-size:clamp(1.7rem,2.5vw,2.5rem);
  color:var(--forest-800);letter-spacing:-.035em;line-height:1;margin-bottom:.55rem;
}
.hero__stats .stat__label{
  font-family:var(--sans);
  font-size:.64rem;font-weight:500;letter-spacing:.18em;text-transform:uppercase;
  color:var(--ink-300);
}
/* Gold hairline that ties the strip to the hero above it */
.hero__stats::before{
  content:"";position:absolute;left:0;right:0;top:0;height:2px;z-index:1;
  background:linear-gradient(90deg,var(--forest-700),var(--gold-500) 50%,var(--teal-600));
}
@media (max-width:760px){
  .hero__statwrap{margin-top:-70px}
  .hero__stats{grid-template-columns:repeat(2,1fr)}
  .hero__stats > *:nth-child(n+3){border-top:1px solid var(--line)}
  .hero__stats > *:nth-child(odd){border-left:0}
}

/* -------------------------------------------- restrained components ---- */
.value{border-top:0}
.value::before{height:2px;background:var(--accent);opacity:.9}
.value__num{
  background:none;color:var(--gold-600);
  width:auto;height:auto;display:block;
  font-family:var(--serif);font-size:.82rem;font-weight:500;
  letter-spacing:.2em;margin-bottom:1.1rem;
}
.value:hover{border-color:var(--line-strong);transform:translateY(-2px);box-shadow:var(--shadow-md)}

.card{border-top:1px solid var(--line);position:relative}
.card::before{content:"";position:absolute;left:-1px;right:-1px;top:-1px;height:2px;background:var(--accent);opacity:.85}
.card__num{
  background:none;color:var(--gold-600);width:auto;height:auto;display:block;
  font-family:var(--serif);font-size:.86rem;letter-spacing:.18em;margin-bottom:1.1rem;
}
.card:hover{border-color:var(--line-strong);box-shadow:var(--shadow-md);transform:translateY(-2px)}

.mcard__meta{
  background:none;padding:0;border-radius:0;color:var(--gold-600);
  font-family:var(--sans);font-size:.64rem;font-weight:600;letter-spacing:.2em;
}
.mcard{border-radius:var(--r-md)}
.mcard:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg);border-color:var(--line-strong)}
.mcard__media img{transition:transform .9s var(--ease),filter .6s var(--ease)}
.mcard:hover .mcard__media img{transform:scale(1.05)}

.step__num{
  background:none;color:var(--gold-600);width:auto;height:auto;display:block;
  font-family:var(--serif);font-size:1.5rem;font-weight:400;letter-spacing:-.02em;min-width:2.4ch;
}

.statrow > *{border-top:1px solid var(--line);position:relative}
.statrow > *::before{content:"";position:absolute;left:0;top:-1px;width:44px;height:2px;background:var(--gold-500)}
.statrow > *:nth-child(n){--accent:var(--gold-600)}
.statrow .stat__num{font-family:var(--serif);font-weight:400;letter-spacing:-.03em}

.contact-card{border-top:1px solid var(--line);position:relative}
.contact-card::before{content:"";position:absolute;left:-1px;right:-1px;top:-1px;height:2px;background:var(--accent);opacity:.85}
.contact-card__place{color:var(--gold-600);letter-spacing:.18em}

.btn--gold{background:var(--gold-500);color:var(--forest-950)}
.btn--gold:hover{background:var(--gold-300);color:var(--forest-950)}
.btn--primary:hover{background:var(--forest-900)}
.tlink{color:var(--forest-700);border-color:var(--line-strong)}
.tlink:hover{color:var(--gold-600);border-color:var(--gold-500)}
.tlink--light{color:var(--gold-300)}

.duo__badge{background:var(--forest-800)}
.duo__badge strong{font-family:var(--serif);font-weight:400;letter-spacing:-.02em}

.section--dark .pillar{border-top:1px solid rgba(216,192,138,.25)}
.section--dark .pillar h3{color:#fff}

/* Soft, intentional transitions throughout */
a,.btn,.card,.mcard,.value,.contact-card,.gallery a img{transition-timing-function:var(--ease)}
.gallery a::after{background:linear-gradient(to top,rgba(4,25,17,.55),transparent 60%)}

/* ===========================================================================
   REFINEMENT II — commanding headline, roomier header, seamless hero exit
   =========================================================================== */

/* Header: a little more presence */
.site-header__inner{min-height:84px}
.brand img{width:52px}
.brand__name{font-size:1.2rem;letter-spacing:-.02em}
.brand__motto{font-size:.58rem;letter-spacing:.24em}
.nav{gap:clamp(20px,2.4vw,38px)}
.nav__link{font-size:.845rem;letter-spacing:.095em;font-weight:500}
.header__cta .btn{font-size:.78rem;padding:1.05em 1.9em}
.topbar__inner{min-height:40px}
@media (max-width:1040px){.site-header__inner{min-height:76px}}

/* Headline: larger, tighter, with the gold italic as the focal point */
.hero h1{
  font-size:clamp(3.2rem,6.6vw,6.1rem);
  line-height:.96;
  letter-spacing:-.042em;
  margin-bottom:2rem;
  max-width:17ch;
}
.hero h1 em{
  display:block;
  color:var(--gold-300);
  font-style:italic;
  letter-spacing:-.034em;
  margin-top:.08em;
}
.hero__eyebrow{margin-bottom:2.2rem;font-size:.7rem;letter-spacing:.28em}
.hero__lede{font-size:clamp(1.06rem,1.22vw,1.2rem);max-width:44ch;margin-bottom:2.8rem}
.hero__media img{object-position:62% 32%}

/* Hero exits straight into the next section — no dead cream band */
.hero__statwrap{margin-bottom:0}
.hero__statwrap + .section{padding-top:clamp(44px,4.6vw,76px)}

/* --------------------------------------------------------- testimonials - */
.voices{display:grid;grid-template-columns:repeat(2,1fr);gap:clamp(24px,3vw,44px)}
@media (max-width:860px){.voices{grid-template-columns:1fr}}
.voice{
  position:relative;
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:var(--r-md);
  padding:clamp(32px,3.4vw,52px);
  display:flex;flex-direction:column;
  transition:box-shadow .4s var(--ease),transform .4s var(--ease),border-color .4s var(--ease);
}
.voice:hover{box-shadow:var(--shadow-md);transform:translateY(-3px);border-color:var(--line-strong)}
.voice::before{
  content:"\201C";position:absolute;top:.08em;right:.22em;
  font-family:var(--serif);font-size:7rem;line-height:1;
  color:var(--gold-500);opacity:.16;pointer-events:none;
}
.voice blockquote{
  font-family:var(--serif);font-weight:400;
  font-size:clamp(1.22rem,1.65vw,1.5rem);
  line-height:1.46;letter-spacing:-.018em;color:var(--ink-900);
  margin-bottom:1.8rem;
}
.voice blockquote p + p{margin-top:.9rem}
.voice figcaption{
  margin-top:auto;padding-top:1.5rem;border-top:1px solid var(--line);
  font-family:var(--sans);font-size:.7rem;font-weight:600;
  letter-spacing:.2em;text-transform:uppercase;color:var(--gold-600);
}
.section--dark .voice{background:rgba(255,255,255,.04);border-color:rgba(216,192,138,.2)}
.section--dark .voice blockquote{color:#fff}
.section--dark .voice figcaption{color:var(--gold-300);border-top-color:rgba(216,192,138,.2)}

/* Feature rows — "Learning at Green Cottage" */
.feature{display:grid;grid-template-columns:auto 1fr;gap:1.3rem;align-items:start}
.feature__mark{
  width:40px;height:40px;border-radius:50%;flex:none;
  display:grid;place-items:center;
  background:var(--mint-100);color:var(--forest-700);
  border:1px solid rgba(10,89,56,.14);
}
.feature__mark svg{width:19px;height:19px}
.feature h3{font-size:1.18rem;margin-bottom:.4rem}
.feature p{color:var(--ink-500);font-size:1rem;margin:0}

/* Campus card: location line under the name */
.mcard__where{
  display:flex;align-items:center;gap:.5em;
  font-size:.86rem;color:var(--ink-300);margin-bottom:1rem;
}
.mcard__where svg{width:13px;height:13px;flex:none;color:var(--gold-600)}

/* ===========================================================================
   Hero — cross-fading photography
   Three frames, slow dissolve, gentle drift. First frame is eager; the rest
   are swapped in by site.js after load so first paint stays fast.
   =========================================================================== */
.hero__media img{
  position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;object-position:62% 32%;
  opacity:0;
  transition:opacity 1.7s var(--ease);
  will-change:opacity;
}
.hero__media img.is-active{opacity:1}
@media (prefers-reduced-motion:no-preference){
  .hero__media img.is-active{animation:heroDrift 13s linear both}
}
@keyframes heroDrift{from{transform:scale(1)}to{transform:scale(1.07)}}

.hero__frames{
  position:absolute;left:0;right:0;bottom:clamp(128px,14vw,178px);
  z-index:3;pointer-events:none;
}
.hero__frames .wrap{display:flex;justify-content:flex-end;gap:12px}
.hero__dot{
  pointer-events:auto;
  width:46px;height:3px;padding:0;border:0;border-radius:2px;
  background:rgba(253,251,246,.3);cursor:pointer;position:relative;overflow:hidden;
  transition:background .3s var(--ease);
}
.hero__dot:hover{background:rgba(253,251,246,.5)}
.hero__dot::after{
  content:"";position:absolute;inset:0;transform:scaleX(0);transform-origin:left;
  background:var(--gold-500);
}
.hero__dot.is-active::after{transform:scaleX(1);transition:transform 6.4s linear}
.hero__dot:focus-visible{outline:2px solid var(--gold-300);outline-offset:4px}
@media (prefers-reduced-motion:reduce){
  .hero__dot.is-active::after{transform:scaleX(1);transition:none}
}
@media (max-width:860px){
  .hero__frames{bottom:clamp(108px,20vw,140px)}
  .hero__dot{width:34px}
}

/* ===========================================================================
   BRAND HERO — matched to the approved homepage design
   Deep green panel, gold sweep, bold geometric headline, icon stat card.
   =========================================================================== */
@font-face{font-family:'Poppins';src:url('fonts/poppins-500.woff2') format('woff2');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:'Poppins';src:url('fonts/poppins-600.woff2') format('woff2');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:'Poppins';src:url('fonts/poppins-700.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:'Poppins';src:url('fonts/poppins-800.woff2') format('woff2');font-weight:800;font-style:normal;font-display:swap}
@font-face{font-family:'Poppins';src:url('fonts/poppins-700i.woff2') format('woff2');font-weight:700;font-style:italic;font-display:swap}
@font-face{font-family:'Poppins';src:url('fonts/poppins-800i.woff2') format('woff2');font-weight:800;font-style:italic;font-display:swap}

:root{
  --display:'Poppins','Avenir Next','Segoe UI',system-ui,sans-serif;
  --gold-bright:#F9B814;
  --gold-deep:#E39A05;
  --green-panel:#0B4D2E;
  --green-panel-dark:#063D23;
  --green-bar:#0A4428;
}

/* Headings move to the geometric sans; the wordmark keeps the serif */
h1,h2,h3,.display{font-family:var(--display);font-weight:700;letter-spacing:-.025em;font-variation-settings:normal}
h1,.h1{font-weight:800;letter-spacing:-.035em}
h2,.h2{font-weight:700;letter-spacing:-.028em}
h3,.h3{font-weight:600;letter-spacing:-.018em}
.brand__name,.stat__num,.voice blockquote,.quote blockquote{font-family:var(--serif)}
.stat__num{font-weight:400}

/* ------------------------------------------------------------- topbar --- */
.topbar{background:var(--green-bar);color:rgba(255,255,255,.88);font-size:.82rem}
.topbar__inner{min-height:48px}
.topbar svg{color:var(--gold-bright);opacity:1;width:15px;height:15px}
.topbar__group:first-child{gap:0}
.topbar__group:first-child > a{padding-inline:clamp(10px,1.4vw,20px)}
.topbar__group:first-child > a:first-child{padding-left:0}
.topbar__group:first-child > a + a{border-left:1px solid rgba(255,255,255,.22)}
.topbar__label{font-size:.8rem;letter-spacing:0;text-transform:none;opacity:.9;font-weight:500}
.topbar__social{gap:8px}
.topbar__social a{width:26px;height:26px;color:#fff}
.topbar__social svg{width:16px;height:16px;color:#fff}
.topbar__social a:hover{background:transparent;color:var(--gold-bright)}
.topbar__social a:hover svg{color:var(--gold-bright)}

/* ------------------------------------------------------------- header --- */
.site-header{background:#fff;border-bottom:0;box-shadow:0 1px 0 rgba(11,77,46,.08)}
.site-header.is-stuck{box-shadow:0 4px 24px rgba(6,61,35,.1)}
.site-header__inner{min-height:92px}
.brand img{width:62px}
.brand__name{font-size:1.5rem;font-weight:500;color:var(--green-panel);letter-spacing:-.02em}
.brand__motto{
  display:flex;align-items:center;gap:.7em;justify-content:center;
  margin-top:5px;font-family:var(--display);font-size:.6rem;font-weight:600;
  letter-spacing:.2em;color:var(--green-panel);opacity:.8;
}
.brand__motto::before,.brand__motto::after{content:"";height:2px;flex:1;background:var(--gold-bright);border-radius:2px}
.nav__link{font-family:var(--display);font-size:.84rem;font-weight:600;letter-spacing:.02em;color:var(--green-panel-dark)}
.nav__link::after{height:3px;background:var(--gold-bright);bottom:-6px;border-radius:2px}
.nav__link:hover,.nav__link[aria-current="page"]{color:var(--green-panel)}
.header__cta .btn{
  background:var(--green-panel);color:#fff;border-radius:100px;
  padding:.85em .85em .85em 1.6em;font-family:var(--display);font-weight:700;
  font-size:.8rem;letter-spacing:.04em;gap:.7em;
}
.header__cta .btn::after{
  content:"";width:28px;height:28px;border-radius:50%;flex:none;
  background:var(--gold-bright) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23063D23' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E") center/13px no-repeat;
}
.header__cta .btn:hover{background:var(--green-panel-dark)}

/* --------------------------------------------------------------- hero --- */
.hero{background:var(--green-panel-dark);overflow:hidden;isolation:isolate}
.hero::before,.hero::after{display:none}

/* Green field with a faint campus photograph behind it */
.hero__field{
  position:absolute;inset:0;z-index:0;
  background:
    radial-gradient(85% 70% at 12% 12%,rgba(21,110,69,.55),transparent 62%),
    linear-gradient(150deg,var(--green-panel) 0%,var(--green-panel-dark) 70%);
}
.hero__field img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:30% 50%;opacity:.07;mix-blend-mode:luminosity}

/* Photograph, clipped by the sweep */
.hero__media{position:absolute;inset:0;z-index:1;clip-path:url(#gcaSweep);-webkit-clip-path:url(#gcaSweep)}
.hero__media img{
  position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;object-position:50% 36%;
  filter:saturate(1.06) contrast(1.03);
  opacity:0;transition:opacity 1.6s var(--ease);
}
.hero__media img.is-active{opacity:1}
@media (prefers-reduced-motion:no-preference){.hero__media img.is-active{animation:heroDrift 14s linear both}}

/* The gold ribbon itself */
.hero__sweep{position:absolute;inset:0;z-index:2;width:100%;height:100%;pointer-events:none}
.hero__media::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(100deg,rgba(6,61,35,.34) 0%,rgba(6,61,35,.06) 14%,transparent 30%);
}
.hero__sweep path{fill:var(--gold-bright)}

.hero__inner{
  position:relative;z-index:3;
  min-height:clamp(560px,76vh,760px);
  padding-block:clamp(54px,6vw,84px) clamp(140px,15vw,190px);
  max-width:min(42rem,100%);
  justify-content:center;
}

/* Eyebrow pill with the mortar-board */
.hero__eyebrow{
  display:inline-flex;align-items:center;gap:.8em;
  padding:.62em 1.4em .62em .62em;border-radius:100px;
  border:2px solid var(--gold-bright);background:rgba(0,0,0,.18);
  font-family:var(--display);font-size:.78rem;font-weight:700;
  letter-spacing:.055em;text-transform:uppercase;color:#fff;
  margin-bottom:1.5rem;white-space:nowrap;
}
.hero__eyebrow i{
  width:30px;height:30px;border-radius:50%;flex:none;
  display:grid;place-items:center;background:var(--gold-bright);color:var(--green-panel-dark);
}
.hero__eyebrow i svg{width:17px;height:17px}

.hero h1{
  font-family:var(--display);font-weight:800;
  font-size:clamp(2.9rem,5.6vw,4.9rem);
  line-height:1.03;letter-spacing:-.035em;
  color:#fff;margin-bottom:0;max-width:none;text-shadow:0 2px 24px rgba(3,24,14,.4);
}
.hero h1 em{display:inline;font-style:italic;font-weight:800;color:var(--gold-bright)}
.hero h1 b{display:inline;font-style:italic;font-weight:800;color:#fff}
/* Hand-drawn gold underline beneath the final line */
.hero__underline{display:block;width:clamp(180px,22vw,290px);height:14px;margin:.45rem 0 1.6rem;overflow:visible}
.hero__underline path{fill:none;stroke:var(--gold-bright);stroke-width:7;stroke-linecap:round}

.hero__lede{
  font-family:var(--sans);font-weight:400;
  font-size:clamp(1.02rem,1.18vw,1.14rem);line-height:1.62;
  color:rgba(255,255,255,.9);max-width:44ch;margin-bottom:2.1rem;text-shadow:none;
}

.hero__actions .btn{
  border-radius:100px;font-family:var(--display);font-weight:700;
  font-size:.82rem;letter-spacing:.04em;padding:.95em .95em .95em 1.8em;gap:.75em;
}
.btn--gold{background:linear-gradient(100deg,var(--gold-bright),var(--gold-deep));color:var(--green-panel-dark);box-shadow:0 8px 22px -8px rgba(249,184,20,.8)}
.btn--gold:hover{background:linear-gradient(100deg,var(--gold-deep),var(--gold-bright));color:var(--green-panel-dark)}
.hero__actions .btn i{width:28px;height:28px;border-radius:50%;flex:none;display:grid;place-items:center}
.hero__actions .btn--gold i{background:rgba(6,61,35,.16)}
.hero__actions .btn--on-dark{background:#fff;color:var(--green-panel);border-color:#fff;padding-left:.95em}
.hero__actions .btn--on-dark:hover{background:var(--paper-2);color:var(--green-panel-dark)}
.hero__actions .btn--on-dark i{background:var(--green-panel);color:#fff;order:-1}
.hero__actions .btn i svg{width:14px;height:14px}

/* Floating curriculum chip */
.hero__chip{
  position:absolute;z-index:4;top:clamp(26px,4vw,56px);right:clamp(16px,3vw,48px);
  display:flex;align-items:center;gap:.85rem;
  background:#fff;border-radius:12px;padding:.85rem 1.3rem .85rem 1rem;
  box-shadow:0 18px 40px -14px rgba(3,24,14,.5);
}
.hero__chip i{width:34px;height:34px;border-radius:50%;flex:none;display:grid;place-items:center;background:var(--green-panel);color:var(--gold-bright)}
.hero__chip i svg{width:18px;height:18px}
.hero__chip strong{display:block;font-family:var(--display);font-weight:700;font-size:1.02rem;color:var(--green-panel-dark);line-height:1.15}
.hero__chip span{font-family:var(--sans);font-size:.7rem;color:var(--ink-500);letter-spacing:.02em}
@media (max-width:900px){.hero__chip{display:none}}

/* Frame indicators */
.hero__frames{bottom:clamp(150px,16vw,196px)}
.hero__frames .wrap{justify-content:flex-start}
.hero__dot{background:rgba(255,255,255,.34)}
.hero__dot::after{background:var(--gold-bright)}

/* --------------------------------------------------- floating stat card -- */
.hero__statwrap{margin-top:clamp(-116px,-9vw,-88px);margin-bottom:clamp(48px,5vw,76px)}
.hero__stats{
  background:#fff;border:0;border-radius:18px;
  box-shadow:0 26px 60px -22px rgba(3,24,14,.45);
  padding:clamp(18px,2vw,26px) clamp(10px,1.4vw,22px);
  grid-template-columns:repeat(4,1fr);
}
.hero__stats::before{display:none}
.hero__stats > *{
  display:grid;grid-template-columns:auto 1fr;align-items:center;gap:clamp(10px,1.2vw,18px);
  padding:clamp(8px,1vw,14px) clamp(10px,1.4vw,22px);
}
.hero__stats > * + *{border-left:1px solid var(--line)}
.hero__stats i{
  width:clamp(44px,3.6vw,54px);height:clamp(44px,3.6vw,54px);border-radius:50%;
  display:grid;place-items:center;background:var(--green-panel);color:#fff;flex:none;
}
.hero__stats i svg{width:50%;height:50%}
.hero__stats i b{font-family:var(--display);font-weight:800;font-size:.92rem;color:#fff}
.hero__stats .stat__num{
  font-family:var(--display);font-weight:800;letter-spacing:-.03em;
  font-size:clamp(1.25rem,1.8vw,1.75rem);color:var(--green-panel-dark);margin-bottom:.1rem;
}
.hero__stats .stat__label{
  font-family:var(--sans);font-size:.74rem;font-weight:500;letter-spacing:.01em;
  text-transform:none;color:var(--ink-500);
}
@media (max-width:860px){
  .hero__stats{grid-template-columns:repeat(2,1fr)}
  .hero__stats > *:nth-child(n+3){border-top:1px solid var(--line)}
  .hero__stats > *:nth-child(odd){border-left:0}
}
@media (max-width:560px){
  .hero__stats{grid-template-columns:1fr}
  .hero__stats > * + *{border-left:0;border-top:1px solid var(--line)}
}

/* On narrow screens the sweep is dropped and the photo sits behind the text */
@media (max-width:900px){
  .hero__media{clip-path:none;-webkit-clip-path:none;opacity:.3}
  .hero__sweep{display:none}
  .hero__inner{max-width:none;padding-bottom:clamp(130px,22vw,170px)}
}

/* Buttons elsewhere inherit the rounded brand shape */
.btn{border-radius:100px;font-family:var(--display);font-weight:600}
.btn--primary{background:var(--green-panel)}
.btn--primary:hover{background:var(--green-panel-dark)}

/* ===========================================================================
   BRAND SYSTEM — the hero's language applied to the whole site
   Deep green + bright gold, Poppins headings, rounded cards, green icon
   badges, soft shadows, gold sweeps between bands.
   =========================================================================== */
:root{
  --forest-700:var(--green-panel);
  --forest-800:#083C23;
  --forest-900:var(--green-panel-dark);
  --forest-950:#042B18;
  --gold-500:var(--gold-bright);
  --gold-600:var(--gold-deep);
  --gold-300:#FFD469;
  --paper:#FFFFFF;
  --paper-2:#F3F8F4;
  --paper-3:#E4EFE7;
  --line:#E2EBE5;
  --line-strong:#CBDCD1;
  --mint-100:#EAF4EE;
  --r-md:16px;
  --r-lg:22px;
  --shadow-md:0 10px 30px -12px rgba(6,61,35,.22);
  --shadow-lg:0 26px 60px -22px rgba(6,61,35,.34);
}

body{color:#41524A}
h1,h2,h3,h4{color:var(--green-panel-dark)}

/* --------------------------------------------------------- section heads */
.eyebrow{
  font-family:var(--display);font-size:.72rem;font-weight:700;
  letter-spacing:.14em;color:var(--gold-deep);gap:.6em;
}
.eyebrow::before{width:22px;height:3px;border-radius:2px;background:var(--gold-bright)}
.eyebrow--light{color:var(--gold-bright)}
.eyebrow--light::before{background:var(--gold-bright)}
.rule{
  width:92px;height:7px;border-radius:4px;background:none;margin-top:1.3rem;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 92 7' preserveAspectRatio='none'%3E%3Cpath d='M3 5C22 1 66 1 89 3' fill='none' stroke='%23F9B814' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-size:100% 100%;
}
.section--dark .rule{filter:none}

/* ------------------------------------------------------------- surfaces */
.section--paper2{background:var(--paper-2)}
.section--sky,.section--indigo,.section--marigold,.section--coral{background:var(--paper-2)}
.section--mint,.section--teal{background:var(--mint-100)}
.section--dark{background:var(--green-panel-dark);position:relative}
.section--dark::before{
  content:"";position:absolute;left:0;right:0;top:-1px;height:clamp(26px,3vw,46px);
  background:inherit;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 10' preserveAspectRatio='none'%3E%3Cpath d='M0 10V3c25-4 75-4 100 0v7z' fill='%23000'/%3E%3C/svg%3E") no-repeat center/100% 100%;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 10' preserveAspectRatio='none'%3E%3Cpath d='M0 10V3c25-4 75-4 100 0v7z' fill='%23000'/%3E%3C/svg%3E") no-repeat center/100% 100%;
  transform:translateY(-100%);
}

/* ---------------------------------------------------------------- cards */
.card,.value,.mcard,.contact-card,.voice{
  border-radius:var(--r-lg);border:1px solid var(--line);background:#fff;
  box-shadow:0 2px 10px -6px rgba(6,61,35,.14);
}
.card::before,.value::before,.contact-card::before{display:none}
.card,.value,.contact-card{border-top:1px solid var(--line)}
.card:hover,.value:hover,.mcard:hover,.contact-card:hover,.voice:hover{
  border-color:var(--line-strong);box-shadow:var(--shadow-lg);transform:translateY(-5px);
}

/* Numbered badges become green circles with gold numerals */
.card__num,.value__num,.step__num{
  display:inline-grid;place-items:center;
  width:52px;height:52px;border-radius:50%;
  background:var(--green-panel);color:var(--gold-bright);
  font-family:var(--display);font-weight:800;font-size:1.02rem;letter-spacing:0;
  margin-bottom:1.3rem;
}
.step__num{margin-bottom:0;width:54px;height:54px}
.card:hover .card__num,.value:hover .value__num{background:var(--gold-bright);color:var(--green-panel-dark)}
.card__icon,.feature__mark{background:var(--green-panel);color:#fff;border:0}
.feature__mark{width:48px;height:48px}
.feature__mark svg{width:21px;height:21px}

/* Chips */
.mcard__meta,.contact-card__place{
  display:inline-block;padding:.42em .95em;border-radius:100px;
  background:var(--mint-100);color:var(--green-panel);
  font-family:var(--display);font-size:.66rem;font-weight:700;letter-spacing:.1em;
}
.mcard__media{border-radius:0}
.mcard{overflow:hidden}
.mcard__where svg{color:var(--gold-deep)}
.pill{background:var(--mint-100);color:var(--green-panel)}

/* ---------------------------------------------------------------- links */
.tlink{
  font-family:var(--display);font-weight:700;font-size:.76rem;letter-spacing:.08em;
  color:var(--green-panel);border:0;padding-bottom:0;gap:.55em;
}
.tlink::after{
  content:"";width:22px;height:22px;border-radius:50%;
  background:var(--mint-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B4D2E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E") center/11px no-repeat;
  transition:background-color .25s var(--ease),transform .25s var(--ease);
}
.tlink:hover{color:var(--gold-deep)}
.tlink:hover::after{background-color:var(--gold-bright);transform:translateX(3px)}
.tlink--light{color:var(--gold-bright)}
.tlink--light::after{background-color:rgba(255,255,255,.16)}

/* --------------------------------------------------------------- steps */
.step{border-top:0;padding-block:clamp(14px,1.6vw,20px);align-items:center}
.step + .step{margin-top:14px}
.step:last-child{border-bottom:0}
.steps{gap:0}
.step{background:#fff;border:1px solid var(--line);border-radius:var(--r-lg);padding:clamp(18px,2vw,26px);transition:box-shadow .3s var(--ease),transform .3s var(--ease)}
.step:hover{box-shadow:var(--shadow-md);transform:translateY(-3px)}

/* -------------------------------------------------------------- pillars */
.pillar{border-top:0;position:relative;padding-left:0}
.section--dark .pillar{border-top:1px solid rgba(249,184,20,.26)}
.section--dark .pillar h3{color:#fff}
.section--dark p,.section--dark .lede{color:rgba(236,246,240,.8)}

/* -------------------------------------------------------------- gallery */
.gallery a{border-radius:var(--r-md)}

/* ------------------------------------------------------------- page hero */
.page-hero{background:var(--green-panel-dark);overflow:hidden}
.page-hero::after{
  background:linear-gradient(100deg,rgba(6,61,35,.94),rgba(6,61,35,.74) 56%,rgba(6,61,35,.52));
}
.page-hero__inner{min-height:clamp(300px,40vh,430px);padding-bottom:clamp(58px,6vw,86px)}
.page-hero h1{font-family:var(--display);font-weight:800;color:#fff;letter-spacing:-.03em}
.page-hero__sweep{position:absolute;left:0;right:0;bottom:-1px;z-index:1;width:100%;height:clamp(26px,3.4vw,52px)}
.page-hero__sweep path{fill:var(--paper)}
.page-hero__rule{position:absolute;left:0;right:0;bottom:-1px;z-index:2;height:6px;background:var(--gold-bright);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 6' preserveAspectRatio='none'%3E%3Cpath d='M0 6V2.6C26 6.6 74 6.6 100 2.6V6z' fill='%23000'/%3E%3C/svg%3E") no-repeat center/100% 100%;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 6' preserveAspectRatio='none'%3E%3Cpath d='M0 6V2.6C26 6.6 74 6.6 100 2.6V6z' fill='%23000'/%3E%3C/svg%3E") no-repeat center/100% 100%;
  display:none;
}
.crumbs{font-family:var(--display);font-weight:600;color:rgba(236,246,240,.7)}
.crumbs a:hover{color:var(--gold-bright)}

/* ------------------------------------------------------------------ CTA */
.cta{background:var(--green-panel-dark)}
.cta::after{background:linear-gradient(100deg,rgba(6,61,35,.95),rgba(6,61,35,.78) 58%,rgba(6,61,35,.6))}
.cta h2{color:#fff}
.cta__inner{position:relative}

/* ---------------------------------------------------------------- forms */
.field input,.field select,.field textarea{border-radius:12px;border-color:var(--line-strong)}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--green-panel);box-shadow:0 0 0 3px rgba(11,77,46,.12)}
.field label{font-family:var(--display);font-weight:600;letter-spacing:.08em;color:var(--green-panel)}
.signup input{border-radius:100px}
.notice{border-radius:12px;border-left:4px solid var(--gold-bright);background:#FFF8E6;color:var(--green-panel-dark)}
.paybill{border-radius:var(--r-md)}
.dl-row{border-top:0;background:#fff;border:1px solid var(--line);border-radius:var(--r-md);padding:1.1rem 1.4rem;margin-bottom:12px}
.dl-row:last-child{border-bottom:1px solid var(--line)}
.dl-row__name svg{color:var(--gold-deep)}
.job{border-top:0;background:#fff;border:1px solid var(--line);border-radius:var(--r-lg);padding:clamp(22px,2.4vw,30px);margin-bottom:14px}
.job:last-child{border-bottom:1px solid var(--line)}
.job__date{color:var(--gold-deep);font-family:var(--display)}

/* --------------------------------------------------------------- footer */
.site-footer{background:var(--green-panel-dark);position:relative}
.site-footer::before{
  content:"";position:absolute;left:0;right:0;top:0;height:6px;
  background:linear-gradient(90deg,var(--gold-bright),var(--gold-deep) 50%,var(--gold-bright));
}
.footer h4{font-family:var(--display);color:var(--gold-bright);letter-spacing:.14em}
.footer__links a:hover{color:var(--gold-bright)}
.footer__contact svg{color:var(--gold-bright)}
.social a:hover{background:var(--gold-bright);border-color:var(--gold-bright);color:var(--green-panel-dark)}
.footer__brand .brand__motto{color:var(--gold-bright)}
.footer__brand .brand__motto::before,.footer__brand .brand__motto::after{background:var(--gold-bright)}

/* ------------------------------------------------------------- statrow */
.statrow > *{border-top:0;background:#fff;border:1px solid var(--line);border-radius:var(--r-lg);padding:clamp(22px,2.4vw,30px)}
.statrow > *::before{display:none}
.statrow .stat__num{font-family:var(--display);font-weight:800;color:var(--green-panel-dark)}
.statrow .stat__label{font-family:var(--sans);text-transform:none;letter-spacing:0;font-size:.82rem}

/* --------------------------------------------------------------- quotes */
.quote{border-left:4px solid var(--gold-bright)}
.quote figcaption,.voice figcaption{font-family:var(--display);color:var(--gold-deep)}
.voice::before{color:var(--gold-bright);opacity:.22}
.duo__badge{background:var(--green-panel);border-radius:var(--r-md)}
.duo__badge strong{font-family:var(--display);font-weight:800}
.duo__back,.duo__front,.figure{border-radius:var(--r-lg)}
.duo__front{border-width:8px}

/* Page-hero curved foot, echoing the homepage sweep */
.page-hero{padding-bottom:clamp(26px,3.4vw,52px)}
.page-hero__sweep{position:absolute;left:0;right:0;bottom:-1px;z-index:2;width:100%;height:clamp(30px,4vw,62px);display:block}
.page-hero__sweep path{fill:var(--paper)}
.page-hero__sweep path.is-gold{fill:var(--gold-bright)}
.page-hero::after{background:linear-gradient(100deg,rgba(6,61,35,.95),rgba(6,61,35,.82) 48%,rgba(6,61,35,.62))}

/* ===========================================================================
   IMAGERY — large, clear and immersive rather than small thumbnails
   =========================================================================== */

/* Cards show a generous 3:2 frame */
.mcard__media{aspect-ratio:3/2}
.mcard__body{padding:clamp(22px,2.4vw,32px)}
.mcard__body h3{font-size:clamp(1.22rem,1.5vw,1.46rem)}

/* Campuses: four large cards, two across, instead of four narrow ones */
.grid--campus{grid-template-columns:repeat(2,1fr);gap:clamp(22px,2.6vw,38px)}
.grid--campus .mcard__media{aspect-ratio:16/10}
@media (max-width:760px){.grid--campus{grid-template-columns:1fr}}

/* Feature figures get real presence */
.figure--wide{aspect-ratio:3/2}
.figure--tall{aspect-ratio:4/5}
.figure--pano{aspect-ratio:21/9}
.duo__back{aspect-ratio:3/2}
.duo__front{width:46%}

/* Full-bleed banner between sections */
.band{position:relative;isolation:isolate;overflow:hidden;background:var(--green-panel-dark)}
.band__media{position:absolute;inset:0;z-index:-2}
.band__media img{width:100%;height:100%;object-fit:cover;object-position:center 40%}
.band::after{content:"";position:absolute;inset:0;z-index:-1;
  background:linear-gradient(100deg,rgba(6,61,35,.9),rgba(6,61,35,.55) 52%,rgba(6,61,35,.28))}
.band__inner{position:relative;padding-block:clamp(90px,12vw,170px);max-width:46rem}
.band h2{color:#fff}
.band p{color:rgba(236,246,240,.86);margin-top:1.1rem;font-size:1.08rem;max-width:52ch}

/* The branded motto frame. The photograph already carries the words and the
   crest, so it is shown whole — no crop, no overlay, nothing on top of it. */
.section--motto{padding-block:clamp(44px,5vw,78px)}
.motto-shot{
  position:relative;max-width:1080px;margin-inline:auto;
  border-radius:var(--r-lg);overflow:hidden;
  box-shadow:0 2px 6px rgba(5,46,30,.06),0 34px 80px -30px rgba(5,46,30,.42);
}
.motto-shot img{display:block;width:100%;height:auto;transition:transform 1.1s var(--ease)}
.motto-shot:hover img{transform:scale(1.02)}
@media (prefers-reduced-motion:reduce){.motto-shot img{transition:none}.motto-shot:hover img{transform:none}}
/* Gold hairline that ties the frame to the rest of the page furniture */
.motto-shot::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  border-radius:inherit;border:1px solid rgba(255,255,255,.22);
  box-shadow:inset 0 0 0 4px rgba(4,32,22,.05);
}

/* Gallery becomes a large mosaic */
.gallery{grid-template-columns:repeat(3,1fr);grid-auto-rows:clamp(160px,17vw,250px);gap:clamp(12px,1.4vw,20px)}
.gallery a{aspect-ratio:auto;height:100%}
.gallery a:nth-child(8n+1){grid-column:span 2;grid-row:span 2}
.gallery a:nth-child(8n+6){grid-column:span 2}
.gallery a:nth-child(8n){grid-column:span 1;grid-row:span 1}
.gallery a::before{
  content:"";position:absolute;inset:0;z-index:2;pointer-events:none;
  border:2px solid transparent;border-radius:var(--r-md);transition:border-color .3s var(--ease);
}
.gallery a:hover::before{border-color:var(--gold-bright)}
@media (max-width:860px){
  .gallery{grid-template-columns:repeat(2,1fr);grid-auto-rows:clamp(140px,26vw,200px)}
  .gallery a:nth-child(8n+1){grid-column:span 2;grid-row:span 1}
  .gallery a:nth-child(8n+6){grid-column:span 2}
  /* The mosaic sizes tiles from the row height, so the 16/10 ratio the small
     -screen base rule puts on tiles 1 and 8 would compute a width wider than
     its column and push the page sideways. The row height governs here. */
  .gallery a:nth-child(8n+1),.gallery a:nth-child(8n){aspect-ratio:auto}
}

/* Steps sit beside a tall photograph comfortably */
.split--wide-img .figure--tall{aspect-ratio:4/5}

/* Section rules: one plain gold bar. The hand-drawn sweep stays unique to
   the hero headline, where it is a deliberate signature rather than a tic. */
.rule{
  width:56px;height:4px;border-radius:2px;
  background:var(--gold-bright);background-image:none;margin-top:1.25rem;
}
.rule--center{margin-inline:auto}

/* ===========================================================================
   Hero geometry — give the photograph real width, and adapt it to the
   viewport so the subject is never cropped down to a sliver on a laptop.
   =========================================================================== */
.hero__inner{
  min-height:clamp(520px,64vh,680px);
  padding-block:clamp(48px,5vw,74px) clamp(132px,14vw,178px);
  max-width:min(34rem,100%);
}
.hero h1{font-size:clamp(2.6rem,4.4vw,4.1rem)}
.hero__lede{max-width:38ch;font-size:clamp(1rem,1.05vw,1.08rem);margin-bottom:1.8rem}
.hero__eyebrow{font-size:.7rem;padding:.55em 1.15em .55em .55em;margin-bottom:1.3rem}
.hero__eyebrow i{width:26px;height:26px}
.hero__underline{width:clamp(150px,17vw,235px);margin-bottom:1.3rem}

.hero__media{clip-path:url(#gcaSweep);-webkit-clip-path:url(#gcaSweep)}
.hero__sweep .sweep-md{display:none}
.hero__sweep .sweep-lg{display:block}

@media (min-width:901px) and (max-width:1340px){
  .hero__media{clip-path:url(#gcaSweepMd);-webkit-clip-path:url(#gcaSweepMd)}
  .hero__sweep .sweep-lg{display:none}
  .hero__sweep .sweep-md{display:block}
  .hero__inner{max-width:min(27rem,100%)}
  .hero h1{font-size:clamp(2.4rem,3.6vw,3.2rem)}
  .hero__lede{max-width:34ch}
}

@media (min-width:1700px){.hero__inner{min-height:clamp(600px,58vh,720px)}}

.hero__media img{object-position:54% 34%}
@media (min-width:901px) and (max-width:1340px){.hero__media img{object-position:50% 34%}}

/* Mobile hero: let the photograph read properly, with a scrim that keeps
   the headline legible rather than washing the image out. */
@media (max-width:900px){
  .hero__media{opacity:1}
  .hero__media::after{
    background:linear-gradient(to bottom,rgba(6,61,35,.86) 0%,rgba(6,61,35,.72) 42%,rgba(6,61,35,.88) 100%);
  }
  .hero__field img{opacity:0}
  .hero__inner{min-height:auto;padding-block:40px 150px;max-width:none}
  .hero h1{font-size:clamp(2.1rem,8vw,3rem)}
  .hero__lede{max-width:46ch}
  .hero__frames{bottom:auto;top:calc(100% - 196px)}
  .hero__frames .wrap{justify-content:flex-start}
}
@media (max-width:560px){
  .hero__actions{flex-direction:column;align-items:stretch}
  .hero__actions .btn{justify-content:center}
}

/* Hero headline: the gold italic phrase carries the emphasis on its own,
   so the underline flourish is gone. */
.hero__underline{display:none}
.hero h1{margin-bottom:1.5rem}
.hero h1 em{display:inline;color:var(--gold-bright);font-style:italic;font-weight:800}
.hero__lede{max-width:50ch;margin-bottom:2rem}
@media (min-width:901px) and (max-width:1340px){.hero__lede{max-width:42ch}}

/* ---------------------------------------------------- academics: subjects */
.subjects{display:grid;grid-template-columns:repeat(2,1fr);gap:clamp(20px,2.4vw,34px)}
@media (max-width:880px){.subjects{grid-template-columns:1fr}}
.subject{
  display:grid;grid-template-columns:auto 1fr;gap:clamp(16px,1.8vw,24px);
  background:#fff;border:1px solid var(--line);border-radius:var(--r-lg);
  padding:clamp(24px,2.6vw,34px);
  transition:box-shadow .3s var(--ease),transform .3s var(--ease),border-color .3s var(--ease);
}
.subject:hover{box-shadow:var(--shadow-lg);transform:translateY(-4px);border-color:var(--line-strong)}
.subject__icon{
  width:54px;height:54px;border-radius:50%;flex:none;
  display:grid;place-items:center;background:var(--green-panel);color:var(--gold-bright);
}
.subject__icon svg{width:25px;height:25px}
.subject h3{font-size:1.22rem;margin-bottom:.45rem}
.subject__strands{
  font-family:var(--display);font-size:.72rem;font-weight:700;letter-spacing:.08em;
  text-transform:uppercase;color:var(--gold-deep);margin-bottom:.9rem;
}
.subject p:last-child{color:var(--ink-500);font-size:1.01rem;margin:0}

/* Homepage learning-areas grid */
.subject-grid{
  display:grid;grid-template-columns:repeat(4,1fr);
  gap:clamp(10px,1.2vw,16px);list-style:none;padding:0;
}
@media (max-width:980px){.subject-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:520px){.subject-grid{grid-template-columns:1fr}}
.subject-grid li{
  display:flex;align-items:center;gap:.85rem;
  background:#fff;border:1px solid var(--line);border-radius:var(--r-md);
  padding:.95rem 1.1rem;
  font-family:var(--display);font-weight:600;font-size:.95rem;color:var(--green-panel-dark);
  transition:border-color .25s var(--ease),box-shadow .25s var(--ease),transform .25s var(--ease);
}
.subject-grid li:hover{border-color:var(--gold-bright);box-shadow:var(--shadow-md);transform:translateY(-2px)}
.subject-grid span{
  width:38px;height:38px;border-radius:50%;flex:none;
  display:grid;place-items:center;background:var(--mint-100);color:var(--green-panel);
}
.subject-grid svg{width:19px;height:19px}

/* ===========================================================================
   Fit for six nav items, and keep the headline inside the green panel
   =========================================================================== */

/* Navigation: tighter, never wrapping */
.nav__link{white-space:nowrap;font-size:.8rem;letter-spacing:.06em}
.nav{gap:clamp(14px,1.7vw,28px)}
.brand img{width:54px}
.brand__name{font-size:1.1rem}
.header__cta .btn{font-size:.74rem;padding:.8em .8em .8em 1.4em}
.header__cta .btn::after{width:26px;height:26px}
@media (max-width:1240px){
  .nav__link{font-size:.76rem;letter-spacing:.04em}
  .brand__name{font-size:1rem}
  .brand img{width:46px}
}
/* Below this the six items genuinely do not fit — switch to the menu button */
@media (max-width:1180px){
  .burger{display:flex}
  .header__cta .btn{display:none}
  .nav{
    position:fixed;inset:calc(var(--header-h,84px) + var(--topbar-h,40px)) 0 auto 0;
    display:block;background:var(--paper);border-bottom:1px solid var(--line);
    padding:14px var(--gutter) 28px;
    max-height:calc(100dvh - var(--header-h,84px) - var(--topbar-h,40px));
    overflow-y:auto;
    transform:translateY(-12px);opacity:0;visibility:hidden;pointer-events:none;
    transition:opacity .26s var(--ease),transform .26s var(--ease),visibility .26s;
    box-shadow:var(--shadow-lg);
  }
  .nav.is-open{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0)}
  .nav__item{border-bottom:1px solid var(--line)}
  .nav__link{display:flex;width:100%;padding:1rem 0;font-size:.92rem}
  .nav__link::after{display:none}
  .nav__item--has-menu > .nav__link{justify-content:space-between}
  .submenu{
    position:static;transform:none;opacity:1;visibility:visible;pointer-events:auto;
    box-shadow:none;border:0;border-radius:0;min-width:0;padding:0 0 .7rem .2rem;
    display:none;background:transparent;
  }
  .nav__item--has-menu.is-open .submenu{display:block}
  .nav__mobile-cta{display:block;margin-top:22px}
  .nav__mobile-cta .btn{width:100%;justify-content:center}
}
@media (min-width:1181px){.nav__mobile-cta{display:none}.burger{display:none}}

/* Headline sized to sit entirely within the green panel */
.hero__inner{max-width:min(31rem,100%)}
.hero h1{font-size:clamp(2.3rem,3.5vw,3.5rem);line-height:1.02}
.hero h1 em{display:block;margin-top:.04em}
.hero__lede{max-width:40ch;font-size:clamp(.98rem,1vw,1.06rem)}
@media (min-width:901px) and (max-width:1340px){
  .hero__inner{max-width:min(26rem,100%)}
  .hero h1{font-size:clamp(2.1rem,3.1vw,2.8rem)}
  .hero__lede{max-width:36ch;font-size:.98rem}
}
@media (max-width:900px){
  .hero__inner{max-width:none}
  .hero h1{font-size:clamp(2.1rem,7.6vw,3rem)}
  .hero__lede{max-width:48ch}
}

/* ===========================================================================
   FULL-WIDTH LAYOUT
   The page used a 1240px box, which left large empty margins on modern
   displays. The container is now fluid with generous gutters.
   =========================================================================== */
:root{
  --maxw:1760px;
  --maxw-wide:1920px;
  --gutter:clamp(20px,4vw,72px);
}

/* Keep running text readable even though the columns are much wider */
.split > div > .flow,
.split > div > .stack,
.split > div > p,
.split > div > .lede{max-width:62ch}
.section-head{max-width:72ch}
.section-head .lede{max-width:66ch}
.hero__lede{max-width:44ch}

/* Grids rebalanced for the wider container */
@media (min-width:1500px){
  .grid--campus{grid-template-columns:repeat(4,1fr)}
  .grid--campus .mcard__media{aspect-ratio:4/3}
  .subjects{grid-template-columns:repeat(3,1fr)}
  .subject{grid-template-columns:1fr;gap:1.1rem}
}
@media (min-width:1700px){
  .subject-grid{grid-template-columns:repeat(6,1fr)}
}

/* Hero: the extra width goes to the text column so the headline can breathe */
@media (min-width:1341px){
  .hero__inner{max-width:min(40rem,100%)}
  .hero h1{font-size:clamp(2.6rem,3.4vw,4rem)}
  .hero__lede{max-width:46ch}
}
@media (min-width:1700px){
  .hero__inner{max-width:min(46rem,100%)}
  .hero h1{font-size:clamp(3rem,3.3vw,4.4rem)}
}

/* Footer and stat strip follow the same rhythm */
.hero__stats{padding-inline:clamp(10px,1.2vw,20px)}

/* ===========================================================================
   M-PESA PAYMENT — a payment card plus a clear stepper
   Replaces the plain bullet list, which read as unformatted notes.
   =========================================================================== */
.pay{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(24px,3vw,46px);align-items:start}
@media (max-width:900px){.pay{grid-template-columns:1fr}}

/* The card */
.paycard{
  position:relative;overflow:hidden;
  background:linear-gradient(145deg,var(--green-panel) 0%,var(--green-panel-dark) 100%);
  border-radius:var(--r-lg);
  padding:clamp(26px,2.8vw,36px);
  box-shadow:var(--shadow-lg);
  color:#fff;
}
.paycard::before{
  content:"";position:absolute;right:-70px;top:-70px;width:230px;height:230px;border-radius:50%;
  background:radial-gradient(circle,rgba(249,184,20,.26),transparent 68%);pointer-events:none;
}
.paycard__head{display:flex;align-items:center;gap:.8rem;margin-bottom:1.8rem}
.paycard__chip{
  width:42px;height:42px;border-radius:10px;flex:none;display:grid;place-items:center;
  background:var(--gold-bright);color:var(--green-panel-dark);
}
.paycard__chip svg{width:22px;height:22px}
.paycard__head strong{display:block;font-family:var(--display);font-weight:700;font-size:1.02rem;color:#fff;line-height:1.2}
.paycard__head span{font-size:.76rem;color:rgba(255,255,255,.66)}

.payfield{position:relative;padding:1.05rem 0;border-top:1px solid rgba(255,255,255,.16)}
.payfield:last-of-type{border-bottom:1px solid rgba(255,255,255,.16)}
.payfield__label{
  display:block;font-family:var(--display);font-size:.64rem;font-weight:700;
  letter-spacing:.18em;text-transform:uppercase;color:var(--gold-bright);margin-bottom:.45rem;
}
.payfield__row{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.payfield__value{
  font-family:ui-monospace,"SF Mono",Menlo,Consolas,monospace;
  font-size:clamp(1.25rem,2vw,1.7rem);font-weight:600;letter-spacing:.06em;color:#fff;
  word-break:break-all;
}
.payfield__value[data-pending]{
  font-family:var(--sans);font-size:1rem;font-weight:400;letter-spacing:0;
  color:rgba(255,255,255,.6);font-style:italic;
}
.copy{
  flex:none;display:inline-flex;align-items:center;gap:.45em;
  background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.26);
  color:#fff;border-radius:100px;padding:.45em .9em;cursor:pointer;
  font-family:var(--display);font-size:.68rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase;
  transition:background .22s var(--ease),border-color .22s var(--ease),color .22s var(--ease);
}
.copy svg{width:13px;height:13px}
.copy:hover{background:var(--gold-bright);border-color:var(--gold-bright);color:var(--green-panel-dark)}
.copy.is-done{background:#fff;border-color:#fff;color:var(--green-panel-dark)}
.copy:focus-visible{outline:2px solid var(--gold-bright);outline-offset:3px}
.paycard__foot{margin-top:1.4rem;font-size:.86rem;color:rgba(255,255,255,.7);line-height:1.6}

/* The stepper */
.stepper{position:relative;counter-reset:pay;padding-left:0;list-style:none;margin:0}
.stepper li{
  position:relative;display:grid;grid-template-columns:auto 1fr;gap:1.05rem;
  padding-bottom:1.5rem;align-items:start;
}
.stepper li::before{
  counter-increment:pay;content:counter(pay);
  width:36px;height:36px;border-radius:50%;flex:none;z-index:1;
  display:grid;place-items:center;
  background:#fff;border:2px solid var(--green-panel);color:var(--green-panel);
  font-family:var(--display);font-weight:700;font-size:.84rem;
}
/* connecting rail */
.stepper li::after{
  content:"";position:absolute;left:17px;top:36px;bottom:0;width:2px;
  background:linear-gradient(to bottom,var(--line-strong),var(--line));
}
.stepper li:last-child{padding-bottom:0}
.stepper li:last-child::after{display:none}
.stepper li > span{padding-top:.42rem;font-size:1.01rem;color:var(--ink-700)}
.stepper strong{font-weight:600;color:var(--green-panel-dark)}
.section--paper2 .stepper li::before{background:var(--paper-2)}

/* ===========================================================================
   CAMPUS MAP — four campuses, switchable, map loads only on request
   (keeps the page free of third-party requests until the visitor asks)
   =========================================================================== */
.campusmap{display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);gap:clamp(22px,2.6vw,38px);align-items:stretch}
@media (max-width:960px){.campusmap{grid-template-columns:1fr}}

.campuslist{display:flex;flex-direction:column;gap:12px}
.campusbtn{
  display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:1rem;
  width:100%;text-align:left;cursor:pointer;
  background:#fff;border:1px solid var(--line);border-radius:var(--r-md);
  padding:1.05rem 1.2rem;
  transition:border-color .25s var(--ease),box-shadow .25s var(--ease),transform .25s var(--ease),background .25s var(--ease);
}
.campusbtn:hover{border-color:var(--line-strong);box-shadow:var(--shadow-md);transform:translateX(3px)}
.campusbtn[aria-selected="true"]{
  background:var(--green-panel);border-color:var(--green-panel);box-shadow:var(--shadow-md);
}
.campusbtn__pin{
  width:40px;height:40px;border-radius:50%;flex:none;display:grid;place-items:center;
  background:var(--mint-100);color:var(--green-panel);transition:background .25s var(--ease),color .25s var(--ease);
}
.campusbtn__pin svg{width:19px;height:19px}
.campusbtn[aria-selected="true"] .campusbtn__pin{background:var(--gold-bright);color:var(--green-panel-dark)}
.campusbtn__name{font-family:var(--display);font-weight:700;font-size:1.02rem;color:var(--green-panel-dark);line-height:1.25}
.campusbtn__where{font-size:.84rem;color:var(--ink-500);margin-top:.15rem}
.campusbtn[aria-selected="true"] .campusbtn__name{color:#fff}
.campusbtn[aria-selected="true"] .campusbtn__where{color:rgba(255,255,255,.72)}
.campusbtn__go{color:var(--ink-300);transition:transform .25s var(--ease),color .25s var(--ease)}
.campusbtn__go svg{width:17px;height:17px}
.campusbtn[aria-selected="true"] .campusbtn__go{color:var(--gold-bright);transform:translateX(3px)}
.campusbtn:focus-visible{outline:2px solid var(--gold-bright);outline-offset:3px}

.mappanel{
  position:relative;overflow:hidden;min-height:clamp(340px,44vw,520px);
  border:1px solid var(--line);border-radius:var(--r-lg);background:var(--mint-100);
  display:flex;flex-direction:column;
}
.mappanel__frame{position:absolute;inset:0;border:0;width:100%;height:100%;display:block}
.mappanel__holder{
  position:relative;z-index:1;flex:1;display:flex;flex-direction:column;
  align-items:center;justify-content:center;text-align:center;gap:1rem;
  padding:clamp(26px,3vw,44px);
  background:
    radial-gradient(70% 60% at 50% 42%,rgba(255,255,255,.75),transparent 70%),
    repeating-linear-gradient(45deg,rgba(11,77,46,.045) 0 14px,transparent 14px 28px),
    var(--mint-100);
}
.mappanel__holder svg.pin{width:46px;height:46px;color:var(--green-panel)}
.mappanel__holder h3{font-size:1.3rem;margin:0}
.mappanel__holder p{color:var(--ink-500);font-size:.98rem;max-width:40ch;margin:0}
.mappanel.is-loaded .mappanel__holder{display:none}

.mapbar{
  position:relative;z-index:2;display:flex;flex-wrap:wrap;align-items:center;gap:10px;
  padding:1rem 1.15rem;background:#fff;border-top:1px solid var(--line);margin-top:auto;
}
.mapbar__addr{flex:1 1 220px;min-width:0;font-size:.9rem;color:var(--ink-700);line-height:1.5}
.mapbar__addr strong{display:block;font-family:var(--display);font-weight:700;color:var(--green-panel-dark);font-size:.95rem}
.mapbar .btn{padding:.72em 1.25em;font-size:.7rem}
@media (max-width:520px){.mapbar .btn{width:100%;justify-content:center}}

/* Safety net: an inline icon must never expand to fill its badge, even if
   this stylesheet arrives late or from cache. Containers set their own size. */
.paycard__chip svg,.campusbtn__pin svg,.campusbtn__go svg,.hero__chip i svg,
.hero__stats i svg,.subject__icon svg,.feature__mark svg,.card__icon svg,
.hero__eyebrow i svg,.hero__actions .btn i svg,.copy svg,.dl svg,
.footer__contact svg,.topbar svg,.social svg,.inc svg,.dl-row__name svg,
.mcard__where svg,.subject-grid span svg{max-width:100%;max-height:100%}
.mappanel__holder svg.pin{width:46px;height:46px;flex:none}

/* ---------------------------------------------- fees: included vs extra -- */
.feebox{
  background:#fff;border:1px solid var(--line);border-radius:var(--r-lg);
  padding:clamp(24px,2.6vw,34px);height:100%;
}
.feebox__title{
  display:flex;align-items:center;gap:.6em;
  font-size:1.1rem;margin-bottom:1.3rem;padding-bottom:1rem;
  border-bottom:1px solid var(--line);
}
.feebox__title::before{
  content:"";width:10px;height:10px;border-radius:50%;flex:none;
}
.feebox__title--in::before{background:var(--green-panel)}
.feebox__title--out::before{background:var(--gold-bright)}
.inc--extra svg{color:var(--gold-deep)}

.banklist{display:grid;gap:.7rem;list-style:none;padding:0}
.banklist li{
  display:flex;flex-wrap:wrap;align-items:baseline;gap:.2rem .8rem;
  padding:.75rem 1rem;background:var(--mint-100);border-radius:var(--r-md);
}
.banklist strong{font-family:var(--display);font-weight:700;font-size:.95rem;color:var(--green-panel-dark)}
.banklist span{font-size:.88rem;color:var(--ink-500)}

/* ------------------------------------------------------ transport zones -- */
.zone{
  background:#fff;border:1px solid var(--line);border-radius:var(--r-lg);
  padding:clamp(24px,2.6vw,32px);
  transition:box-shadow .3s var(--ease),transform .3s var(--ease),border-color .3s var(--ease);
}
.zone:hover{box-shadow:var(--shadow-lg);transform:translateY(-4px);border-color:var(--line-strong)}
.zone h3{font-size:1.18rem;margin-bottom:.2rem}
.zone__county{
  font-family:var(--display);font-size:.68rem;font-weight:700;letter-spacing:.14em;
  text-transform:uppercase;color:var(--gold-deep);margin-bottom:1.2rem;
}
.zone__list{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0}
.zone__list li{
  background:var(--mint-100);color:var(--green-panel-dark);
  border-radius:100px;padding:.38em .85em;
  font-size:.85rem;font-weight:500;
}

/* ==========================================================================
   Overflow guards
   Nothing below changes the design; each rule stops one element from
   measuring wider than the viewport and dragging the page sideways.
   ========================================================================== */

/* Grid and flex items default to min-width:auto, so a single unbreakable run
   of text — an email address, a URL — sets the whole track's width. The
   contact cards, the footer and the campus lists all carry one. */
.contact-card,.card,.mcard,.value,.zone,.feebox,.voice,
.dl > div,.dl dd,.dl dt,
.footer__contact li,.footer__col,
.dl-row,.dl-row__name{min-width:0}

/* Let those long tokens wrap instead. `anywhere` (not `break-word`) is the
   one that also shrinks the intrinsic width the track is measured from. */
.dl dd,.dl dd a,
.footer__contact a,.footer__contact li,
a[href^="mailto:"],a[href^="tel:"]{overflow-wrap:anywhere}

/* Prose keeps normal wrapping and only breaks a word that cannot fit. */
p,li,dd,h1,h2,h3,h4,blockquote,.lede{overflow-wrap:break-word}

/* The hero photograph drifts (scale 1.07) and the clip-path that used to
   contain it is switched off on small screens — clip it here instead. */
.hero__media,.page-hero__media{overflow:hidden}

/* Last line of defence, in case a future block bleeds right. `clip` is used
   rather than `hidden` because it does not create a scroll container, so the
   sticky header still sticks to the viewport. Browsers without `overflow:clip`
   fall back to the `overflow-x:hidden` on body near the top of this file. */
html{overflow-x:clip}

/* Very narrow phones (320px and below). Three things here are sized for a
   wider screen: the brand lockup refuses to shrink, the hero eyebrow is one
   nowrap line, and button labels are nowrap. The clip above would simply
   hide them — and take the burger with it — so give them room instead. */
@media (max-width:400px){
  .site-header__inner{gap:14px}
  .brand{flex:0 1 auto;min-width:0}
  .brand img{width:36px}
  .brand__name{font-size:.9rem}

  .hero__eyebrow{
    max-width:100%;white-space:normal;flex-wrap:wrap;
    font-size:.68rem;padding-right:1em;
  }

  /* Buttons are nowrap by default, so a long label such as "Request an
     Application Form" sets a width wider than the screen. Let the label
     wrap rather than run off the edge. */
  .btn{white-space:normal;text-align:center;padding-inline:1.5em}
}

/* ------------------------------------------------- contact form status -- */

/* Honeypot. Hidden from people, left in the tab order's blind spot, but a
   bot filling in every field will trip it. Not display:none — some bots skip
   fields that are display:none, which defeats the point. */
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

.formstatus{
  padding:1rem 1.2rem;margin-bottom:1.6rem;
  border-radius:var(--r-md);border:1px solid transparent;
  font-size:.96rem;line-height:1.55;
}
.formstatus.is-ok{
  background:var(--mint-100);border-color:var(--sage-400);color:var(--forest-800);
}
.formstatus.is-bad{
  background:#FBEEE6;border-color:#D8A277;color:#7A4318;
}


/* ===========================================================================
   REFINEMENT III — a taller hero and an honest mosaic
   =========================================================================== */

/* The hero photograph was being cropped to a letterbox strip on wide screens:
   at ~2000px the frame was barely 670px tall, so faces sat half outside it.
   Giving the hero real height shows far more of each photograph and lets the
   headline column breathe. */
.hero__inner{
  min-height:clamp(600px,80vh,880px);
  padding-block:clamp(60px,6vw,100px) clamp(152px,15vw,204px);
}
@media (min-width:901px) and (max-width:1340px){
  .hero__inner{min-height:clamp(560px,76vh,780px)}
}
@media (min-width:1700px){
  .hero__inner{min-height:clamp(700px,78vh,920px)}
}
/* With the taller frame there is room to sit the crop a little higher, which
   keeps faces in the upper third of the photograph clear of the stat card. */
.hero__media img{object-position:54% 30%}
@media (min-width:901px) and (max-width:1340px){.hero__media img{object-position:50% 30%}}

/* A soft floor under the photograph so the white stat card lands on depth
   rather than on a hard edge of the image. */
.hero__media::before{
  content:"";position:absolute;inset:auto 0 0 0;height:38%;z-index:1;pointer-events:none;
  background:linear-gradient(to top,rgba(4,32,22,.62),rgba(4,32,22,.12) 55%,transparent);
}

/* Frame indicators clear the taller hero */
.hero__frames{bottom:clamp(160px,16vw,210px)}

@media (max-width:900px){
  .hero__inner{min-height:clamp(480px,70vh,640px);padding-block:44px 156px}
  .hero__media::before{height:100%}
}

/* Mosaic: tiles 1 and 8 of each run carry a square aspect-ratio from the
   small-screen base rule, which on the desktop mosaic fought the column span
   and left a hole in the grid. The row track governs their height here. */
.gallery a:nth-child(8n+1),
.gallery a:nth-child(8n+6),
.gallery a:nth-child(8n){aspect-ratio:auto}
/* Dense packing backfills the cells the 2x2 and 2x1 tiles step over, so a
   sixteen-photograph mosaic closes off square instead of trailing a part-row. */
.gallery{grid-auto-flow:row dense}


/* ===========================================================================
   The stat strip — the first thing a parent reads after the headline, so it
   earns a real design: a tinted chip per figure, a display-weight number, an
   accent rule that draws on hover, and dividers that stop short of the edges.
   =========================================================================== */
.hero__stats{
  --stat-accent:var(--green-panel);
  --stat-tint:var(--mint-100);
  padding:0;
  border-radius:20px;
  box-shadow:0 1px 2px rgba(3,24,14,.06),0 30px 66px -24px rgba(3,24,14,.42);
  overflow:hidden;
}
/* The old hairline across the card top is lost against the dark hero behind
   it; the per-figure accents below carry the colour instead. */
.hero__stats::before{display:none}
.hero__stats > *{
  --stat-accent:var(--green-panel);
  --stat-tint:var(--mint-100);
  position:relative;
  grid-template-columns:auto 1fr;
  align-items:center;
  gap:clamp(12px,1.3vw,20px);
  padding:clamp(24px,2.3vw,34px) clamp(16px,1.7vw,28px);
  transition:background .35s var(--ease);
}
.hero__stats > *:nth-child(2){--stat-accent:var(--teal-600);--stat-tint:var(--teal-100)}
.hero__stats > *:nth-child(3){--stat-accent:var(--gold-deep);--stat-tint:var(--marigold-100)}
.hero__stats > *:nth-child(4){--stat-accent:var(--teal-500);--stat-tint:var(--teal-100)}

/* Dividers that breathe: a hairline inset from the card edges, not a full rule */
.hero__stats > * + *{border-left:0}
.hero__stats > * + *::before{
  content:"";position:absolute;left:0;top:clamp(18px,2vw,28px);bottom:clamp(18px,2vw,28px);
  width:1px;background:var(--line);
}

/* The accent rule that draws itself in on hover */
.hero__stats > *::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:3px;
  background:var(--stat-accent);
  transform:scaleX(0);transform-origin:left;
  transition:transform .45s var(--ease);
}
.hero__stats > *:hover{background:var(--stat-tint)}
.hero__stats > *:hover::after{transform:scaleX(1)}
@media (prefers-reduced-motion:reduce){.hero__stats > *::after{transition:none}}

/* Icon chip picks up its column's accent */
.hero__stats i{
  width:clamp(46px,3.4vw,56px);height:clamp(46px,3.4vw,56px);
  background:var(--stat-tint);color:var(--stat-accent);
  border:1px solid color-mix(in srgb,var(--stat-accent) 22%,transparent);
  transition:background .35s var(--ease),color .35s var(--ease);
}
.hero__stats > *:hover i{background:var(--stat-accent);color:#fff}
.hero__stats i svg{width:46%;height:46%}

/* Figure and label */
.hero__stats .stat__num{
  font-family:var(--display);font-weight:800;
  font-size:clamp(1.65rem,2.3vw,2.4rem);
  letter-spacing:-.04em;line-height:1;
  color:var(--green-panel-dark);margin-bottom:.4rem;
}
.hero__stats .stat__label{
  font-family:var(--display);font-size:.66rem;font-weight:600;
  letter-spacing:.16em;text-transform:uppercase;
  color:var(--ink-500);line-height:1.3;
}

@media (max-width:760px){
  .hero__stats > *:nth-child(odd)::before{display:none}
  .hero__stats > *:nth-child(n+3){border-top:1px solid var(--line)}
}
@media (max-width:420px){
  .hero__stats{grid-template-columns:1fr}
  .hero__stats > * + *::before{display:none}
  .hero__stats > * + *{border-top:1px solid var(--line)}
}
