/* ==========================================================================
   Claverton College — Design System ("Campus Days")
   --------------------------------------------------------------------------
   One stylesheet, no framework, no build step.
   Ivory ground, forest green, marigold accents. DM Serif Display for every
   heading, DM Sans for everything else. 22px corners on photographs, 18px on
   tiles, 10px on buttons. A floating header. Warm without going soft on facts.
   Order: tokens → reset → typography → layout → components → sections →
          navigation → footer → forms → utilities → motion → responsive → print
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Brand — forest carries the institution, marigold carries the warmth.
     The old token names are kept so every component picks the palette up
     without a rename. */
  --c-ink:        #163d3a;   /* forest: headings, buttons, dark bands */
  --c-navy:       #0f2a28;   /* forest, deeper: utility strip, hover states */
  --c-navy-600:   #1f4f4a;
  --c-navy-400:   #3a7a73;
  --c-brass:      #f2b632;   /* marigold: the accent */
  --c-brass-600:  #d99a12;   /* marigold, deeper: rules, dots, ticks */
  --c-brass-deep: #8a5f05;   /* marigold that passes contrast as text on ivory */
  --c-brass-300:  #f6c65a;   /* marigold on forest */
  --c-brass-050:  #fdf1d2;
  /* The functional colour: links, focus, active states. */
  --c-teal:       #1f4f4a;
  --c-teal-300:   #5f9a92;
  --c-teal-050:   #e6f0ef;
  --c-sky:        #dbe9ee;

  /* Neutrals */
  --c-white:      #ffffff;
  --c-char:       #1d2320;   /* body text */
  --c-linen:      #fbf7f0;   /* ivory: the page ground */
  --c-mist:       #eef4f5;   /* sky wash: quiet bands and tinted cards */
  --c-cloud:      #dbe9ee;   /* sky */
  --c-line:       #e8e1d4;
  --c-line-soft:  #f1ece2;
  --c-muted:      #5d6863;
  --c-muted-2:    #66716c;

  /* Semantic */
  --c-success:    #17694a;
  --c-warn:       #96591a;
  --c-danger:     #9c2f2f;

  /* On-dark */
  --c-on-dark:        #fbf7f0;
  --c-on-dark-muted:  rgba(251, 247, 240, .76);
  --c-on-dark-line:   rgba(251, 247, 240, .16);

  /* Typography */
  --f-serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --f-sans:  "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --t-display:  clamp(2.5rem, 1.35rem + 3.4vw, 4.25rem);
  --t-h1:       clamp(2.2rem, 1.45rem + 2.5vw, 3.4rem);
  --t-h2:       clamp(1.9rem, 1.3rem + 1.9vw, 3.05rem);
  --t-h3:       clamp(1.4rem, 1.2rem + .7vw,  1.72rem);
  --t-h4:       clamp(1.14rem, 1.06rem + .3vw, 1.34rem);
  --t-lede:     clamp(1.06rem, 1rem + .36vw,  1.25rem);
  --t-body:     1.0625rem;
  --t-small:    .92rem;
  --t-micro:    .8rem;
  --t-label:    .73rem;

  /* Space scale (4px base) */
  --s-1: 4px;   --s-2: 8px;   --s-3: 12px;  --s-4: 16px;
  --s-5: 20px;  --s-6: 24px;  --s-7: 32px;  --s-8: 40px;
  --s-9: 48px;  --s-10: 64px; --s-11: 80px; --s-12: 104px;

  /* Section rhythm */
  --sec-y: clamp(56px, 3.6vw + 40px, 112px);

  /* Containers */
  --w-page: 1240px;
  --w-wide: 1400px;
  --w-text: 68ch;

  /* Radius — 22 on photographs, 18 on tiles, 10 on buttons */
  --r-xs: 6px;  --r-sm: 10px;  --r-md: 18px;
  --r-lg: 22px; --r-xl: 28px;  --r-pill: 999px;

  /* Shadow — soft, forest-tinted */
  --sh-1: 0 1px 2px rgba(22, 61, 58, .05), 0 1px 3px rgba(22, 61, 58, .04);
  --sh-2: 0 2px 6px rgba(22, 61, 58, .05), 0 12px 28px -16px rgba(22, 61, 58, .24);
  --sh-3: 0 6px 14px rgba(22, 61, 58, .05), 0 28px 56px -30px rgba(22, 61, 58, .32);
  --sh-inset: inset 0 1px 0 rgba(255, 255, 255, .6);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 96px;   /* the floating bar plus its gutter (desktop) */
}

/* --------------------------------------------------------------------------
   2. RESET
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--c-linen);
  color: var(--c-char);
  font-family: var(--f-sans);
  font-size: var(--t-body);
  line-height: 1.6;
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 400; line-height: 1.15; letter-spacing: -.008em; color: var(--c-ink); }
.on-dark :is(h1, h2, h3, h4, h5, h6) { color: inherit; }
p, ul, ol, dl, figure, table { margin: 0; }
ul, ol { padding: 0; list-style: none; }
strong, b { font-weight: 700; }

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }

table { border-collapse: collapse; width: 100%; }

hr { border: 0; border-top: 1px solid var(--c-line); margin: 0; }

:focus-visible {
  outline: 3px solid var(--c-teal-300);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}
:focus:not(:focus-visible) { outline: none; }

::selection { background: var(--c-brass-050); color: var(--c-ink); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--c-ink); color: var(--c-on-dark);
  padding: 12px 20px; border-radius: 0 0 var(--r-sm) 0;
  font-size: var(--t-small); font-weight: 700;
}
.skip-link:focus { left: 0; }

.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;
}

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY
   -------------------------------------------------------------------------- */
.display, .h1, .h2, .h3, .h4 { font-family: var(--f-serif); font-weight: 400; color: var(--c-ink); }
.on-dark .display, .on-dark .h1, .on-dark .h2, .on-dark .h3, .on-dark .h4 { color: inherit; }

.display { font-size: var(--t-display); line-height: 1.02; letter-spacing: -.012em; }
.h1      { font-size: var(--t-h1);      line-height: 1.06; letter-spacing: -.012em; }
.h2      { font-size: var(--t-h2);      line-height: 1.08; letter-spacing: -.01em; }
.h3      { font-size: var(--t-h3);      line-height: 1.18; letter-spacing: -.005em; }
.h4      { font-size: var(--t-h4);      line-height: 1.28; letter-spacing: 0; }

.lede { font-size: var(--t-lede); line-height: 1.55; color: #33403c; max-width: 60ch; }
.prose p { max-width: var(--w-text); }
.prose p + p { margin-top: var(--s-5); }
.small  { font-size: var(--t-small); }
.micro  { font-size: var(--t-micro); }
.muted  { color: var(--c-muted); }
.muted-2{ color: var(--c-muted-2); }

/* The eyebrow is a small white pill with a marigold dot: it signposts a
   section the way a name-tag does, without shouting. */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 13px; border-radius: var(--r-pill);
  background: var(--c-white); border: 1px solid var(--c-line);
  font-size: .8rem; font-weight: 500; letter-spacing: .01em; line-height: 1.2;
  color: var(--c-ink); text-transform: none;
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c-brass); flex: none;
}
.eyebrow--plain {
  padding: 0; background: none; border: 0;
  font-size: var(--t-label); font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--c-brass-deep);
}
.eyebrow--plain::before { display: none; }
.on-dark .eyebrow, .on-dark .eyebrow--light {
  background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .22); color: var(--c-on-dark);
}

.serif-num {
  font-family: var(--f-serif); font-weight: 400;
  font-variant-numeric: tabular-nums lining-nums;
  letter-spacing: -.02em;
}

.balance { text-wrap: balance; }

/* Editorial links inside body copy */
.link {
  color: var(--c-teal);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: color-mix(in srgb, var(--c-brass-600) 70%, transparent);
  transition: text-decoration-color .18s var(--ease), color .18s var(--ease);
}
.link:hover { text-decoration-color: currentColor; }
.on-dark .link { color: var(--c-brass-300); }

/* --------------------------------------------------------------------------
   4. LAYOUT
   -------------------------------------------------------------------------- */
.container { width: 100%; max-width: var(--w-page); margin-inline: auto; padding-inline: var(--s-5); }
.container--wide { max-width: var(--w-wide); }
.container--text { max-width: 820px; }

.section { padding-block: var(--sec-y); position: relative; }
.section--tight { padding-block: clamp(40px, 2.4vw + 28px, 68px); }
.section--flush-top { padding-top: 0; }
.section--flush-bottom { padding-bottom: 0; }

.bg-white { background: var(--c-white); }
.bg-mist  { background: var(--c-mist); }
.bg-linen { background: var(--c-linen); }
.bg-cloud { background: var(--c-cloud); }

.bg-ink {
  background:
    radial-gradient(900px 500px at 90% -10%, rgba(242, 182, 50, .13), transparent 60%),
    radial-gradient(700px 420px at 0% 110%, rgba(219, 233, 238, .1), transparent 60%),
    var(--c-ink);
  color: var(--c-on-dark);
}
.bg-navy {
  background:
    radial-gradient(900px 460px at 85% 0%, rgba(242, 182, 50, .1), transparent 62%),
    var(--c-navy);
  color: var(--c-on-dark);
}
.on-dark { color: var(--c-on-dark); }
.on-dark .muted, .on-dark .lede, .on-dark .muted-2 { color: var(--c-on-dark-muted); }
.on-dark hr { border-color: var(--c-on-dark-line); }

/* Section head */
.sec-head { max-width: 760px; }
.sec-head > * + * { margin-top: var(--s-4); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .eyebrow { justify-content: center; }
.sec-head--center .lede { margin-inline: auto; }
.sec-head + * { margin-top: var(--s-9); }

.sec-head-row {
  display: flex; flex-wrap: wrap; align-items: flex-end;
  justify-content: space-between; gap: var(--s-6);
}
.sec-head-row .sec-head { margin-bottom: 0; }

/* Grids */
.grid { display: grid; gap: var(--s-6); }
.grid > *, .split > *, .stats > *, .lifespan > * { min-width: 0; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-gap-lg { gap: var(--s-8); }

.split {
  display: grid; gap: clamp(32px, 4vw, 72px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
}
.split--7-5 { grid-template-columns: minmax(0, 1.32fr) minmax(0, 1fr); }
.split--5-7 { grid-template-columns: minmax(0, 1fr) minmax(0, 1.32fr); }
.split--top { align-items: start; }

.stack > * + * { margin-top: var(--s-4); }
.stack-lg > * + * { margin-top: var(--s-6); }
.stack-xl > * + * { margin-top: var(--s-8); }

.cluster { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
.cluster-lg { gap: var(--s-5); }

/* --------------------------------------------------------------------------
   5. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--c-ink);
  --btn-fg: var(--c-white);
  --btn-bd: var(--c-ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border: 1px solid var(--btn-bd); border-radius: var(--r-sm);
  background: var(--btn-bg); color: var(--btn-fg);
  font-size: .92rem; font-weight: 700; letter-spacing: .005em;
  text-align: center; white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease),
              background-color .18s var(--ease), color .18s var(--ease),
              border-color .18s var(--ease);
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 26px -14px rgba(22, 61, 58, .5); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn svg { flex: none; }
.btn .arw { transition: transform .22s var(--ease); }
.btn:hover .arw { transform: translateX(3px); }

.btn--primary { --btn-bg: var(--c-brass); --btn-bd: var(--c-brass); --btn-fg: var(--c-ink); }
.btn--primary:hover { --btn-bg: var(--c-brass-600); --btn-bd: var(--c-brass-600); }

.btn--brass { --btn-bg: var(--c-brass); --btn-bd: var(--c-brass); --btn-fg: var(--c-ink); }
.btn--brass:hover { --btn-bg: var(--c-brass-600); --btn-bd: var(--c-brass-600); }

.btn--ink { --btn-bg: var(--c-ink); --btn-bd: var(--c-ink); --btn-fg: var(--c-white); }
.btn--ink:hover { --btn-bg: var(--c-navy); --btn-bd: var(--c-navy); }

.btn--outline {
  --btn-bg: var(--c-white); --btn-fg: var(--c-ink); --btn-bd: var(--c-line);
}
.btn--outline:hover { --btn-bd: var(--c-sky); --btn-bg: var(--c-sky); }

.on-dark .btn--outline, .btn--outline-light {
  --btn-bg: transparent; --btn-fg: var(--c-on-dark); --btn-bd: rgba(251, 247, 240, .55);
}
.on-dark .btn--outline:hover, .btn--outline-light:hover {
  --btn-bg: var(--c-white); --btn-bd: var(--c-white); --btn-fg: var(--c-ink);
}
/* Inner-page heroes are light, so their "light outline" buttons become ghosts. */
.phero:not(.on-dark) .btn--outline-light { --btn-bg: var(--c-white); --btn-fg: var(--c-ink); --btn-bd: var(--c-line); }
.phero:not(.on-dark) .btn--outline-light:hover { --btn-bg: var(--c-sky); --btn-bd: var(--c-sky); }

.btn--light { --btn-bg: var(--c-white); --btn-bd: var(--c-white); --btn-fg: var(--c-ink); }

.btn--sm { min-height: 40px; padding: 0 16px; font-size: .86rem; }
.btn--lg { min-height: 54px; padding: 0 28px; font-size: .98rem; }
.btn--block { width: 100%; }

/* Quiet text link with arrow */
.textlink {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: .93rem; color: var(--c-ink);
  border-bottom: 2px solid var(--c-brass);
  padding-bottom: 2px;
  transition: border-color .18s var(--ease), gap .18s var(--ease);
}
.textlink:hover { border-color: var(--c-ink); gap: 12px; }
.on-dark .textlink { color: var(--c-on-dark); border-color: var(--c-brass); }

/* --------------------------------------------------------------------------
   6. CARDS & SURFACES
   -------------------------------------------------------------------------- */
.card {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: var(--s-7);
  position: relative;
  transition: border-color .2s var(--ease), box-shadow .24s var(--ease), transform .24s var(--ease);
}
.card--flat { box-shadow: none; }
.card--raise:hover { transform: translateY(-3px); box-shadow: var(--sh-3); border-color: var(--c-sky); }
.card--tint { background: var(--c-mist); border-color: transparent; }
.card--linen { background: var(--c-linen); border-color: var(--c-line); }
.card--pad-sm { padding: var(--s-6); }
.card--pad-lg { padding: clamp(28px, 3vw, 44px); }

.on-dark .card {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .14);
  color: var(--c-on-dark);
}
.on-dark .card--raise:hover { background: rgba(255, 255, 255, .09); border-color: rgba(251, 247, 240, .3); }

.card__icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--c-sky); color: var(--c-ink);
  margin-bottom: var(--s-5);
}
.card__icon--brass { background: var(--c-brass-050); color: var(--c-brass-deep); }
.on-dark .card__icon { background: rgba(242, 182, 50, .16); color: var(--c-brass-300); }

.card__title { font-family: var(--f-serif); font-size: 1.32rem; font-weight: 400; line-height: 1.2; letter-spacing: -.005em; color: var(--c-ink); }
.on-dark .card__title { color: inherit; }
.card__body { margin-top: var(--s-3); color: var(--c-muted); font-size: .96rem; }
.on-dark .card__body { color: var(--c-on-dark-muted); }

/* Card with a top accent rule — used for institutional pillars */
.card--rule { padding-top: calc(var(--s-7) - 3px); border-top: 3px solid var(--c-brass); border-radius: 6px var(--r-md) var(--r-md) 6px; }

/* Numbered editorial card */
.card--numbered { padding-left: calc(var(--s-7) + 8px); }
.card__num {
  font-family: var(--f-serif); font-size: 2.6rem; line-height: 1;
  color: var(--c-brass); font-weight: 400; letter-spacing: -.02em;
  margin-bottom: var(--s-4); display: block;
}
.on-dark .card__num { color: var(--c-brass-300); }

/* Link card */
a.card { display: block; }
a.card:hover { border-color: var(--c-navy-400); }
a.card .card__title { transition: color .18s var(--ease); }
a.card:hover .card__title { color: var(--c-navy-600); }

/* Badge / pill */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: var(--r-pill);
  font-size: var(--t-micro); font-weight: 500; letter-spacing: .01em;
  background: var(--c-mist); color: var(--c-ink);
  border: 1px solid color-mix(in srgb, var(--c-ink) 12%, transparent);
}
.badge--brass { background: var(--c-brass-050); color: var(--c-brass-deep); border-color: rgba(217, 154, 18, .3); }
.badge--neutral { background: var(--c-white); color: var(--c-muted); border-color: var(--c-line); }
.badge--live { background: rgba(23, 105, 74, .1); color: var(--c-success); border-color: rgba(23, 105, 74, .2); }
.on-dark .badge { background: rgba(251, 247, 240, .1); color: var(--c-on-dark); border-color: var(--c-on-dark-line); }

.badge--dot::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: currentColor; flex: none;
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

/* Content placeholder — makes missing real content unmistakable in review,
   and quiet enough not to embarrass the page. */
.placeholder {
  display: block;
  border: 1px dashed var(--c-brass-600);
  background: repeating-linear-gradient(135deg, rgba(217,154,18,.07) 0 8px, transparent 8px 16px);
  border-radius: var(--r-sm);
  padding: var(--s-4) var(--s-5);
  font-size: var(--t-micro);
  font-weight: 700;
  letter-spacing: .03em;
  color: var(--c-brass-deep);
}
.placeholder__label { display: block; text-transform: uppercase; font-size: .66rem; letter-spacing: .16em; opacity: .8; margin-bottom: 3px; }
.on-dark .placeholder { color: var(--c-brass-300); border-color: rgba(246,198,90,.5); }
.placeholder--inline { display: inline-block; padding: 2px 8px; }

/* Quiet "to be announced" text for facts the college has not fixed yet */
.tba { color: var(--c-muted-2); font-style: italic; font-weight: 400; }
p.tba { margin: 0; font-size: .92rem; }
.on-dark .tba { color: var(--c-on-dark-muted); }

/* Figure — a photograph, or a tinted slot that accepts one later.
   Tones: sky (default), warm, forest. */
.figure {
  position: relative; overflow: hidden;
  border-radius: var(--r-lg); background: var(--c-sky);
  aspect-ratio: 4 / 3;
}
.figure img { width: 100%; height: 100%; object-fit: cover; }
.figure--portrait { aspect-ratio: 4 / 5; }
.figure--wide { aspect-ratio: 16 / 9; }
.figure--square { aspect-ratio: 1 / 1; }
.figure--tall { aspect-ratio: 3 / 4; }

.figure--ph, .figure--soft {
  display: grid; place-items: center; text-align: center;
  background:
    radial-gradient(ellipse at 25% 20%, rgba(255, 255, 255, .65), transparent 50%),
    radial-gradient(ellipse at 80% 90%, rgba(242, 182, 50, .45), transparent 50%),
    linear-gradient(160deg, #dbe9ee 0%, #bfd6dd 45%, #8fb1ba 100%);
  color: var(--c-ink);
  padding: var(--s-6);
}
.figure--ph::after {
  content: ""; position: absolute; inset: 10px;
  border: 1px solid rgba(22, 61, 58, .14); border-radius: calc(var(--r-lg) - 8px);
  pointer-events: none;
}
.figure--ph.figure--warm {
  background:
    radial-gradient(ellipse at 25% 20%, rgba(255, 255, 255, .55), transparent 50%),
    linear-gradient(160deg, #f6e2b0, #e9c46a 55%, #d4a640);
  color: #5a3d02;
}
.figure--ph.figure--forest {
  background:
    radial-gradient(ellipse at 80% 90%, rgba(242, 182, 50, .35), transparent 50%),
    linear-gradient(160deg, #2b5b56, #163d3a 60%, #0f2a28);
  color: var(--c-on-dark);
}
.figure--ph.figure--forest::after { border-color: rgba(251, 247, 240, .16); }
.figure__ph-inner { position: relative; z-index: 1; display: grid; gap: 10px; justify-items: center; }
/* Public build: an unlabelled, softly tinted slot — reads as design, not as a gap */
.figure--soft::after { border-color: rgba(22, 61, 58, .07); }
.figure--soft .figure__ph-inner svg { opacity: .3; }
.figure__ph-inner svg { opacity: .5; }
.figure__ph-label {
  font-size: var(--t-micro); letter-spacing: .12em; text-transform: uppercase; font-weight: 700;
}
.figure__ph-note { font-size: .68rem; letter-spacing: .1em; opacity: .8; text-transform: uppercase; }

/* Architectural renders are always labelled. The campus is not built yet, and
   an unlabelled drawing that a visitor later discovers was not a photograph
   costs more trust than the drawing ever bought. */
.figure--render { position: relative; }
.figure__render {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  padding: 5px 10px; border-radius: var(--r-pill);
  background: rgba(29, 35, 32, .78); color: var(--c-on-dark);
  font-family: var(--f-sans); font-size: .62rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  backdrop-filter: blur(6px); pointer-events: none;
}

.figure__caption {
  position: absolute; left: 12px; bottom: 12px; max-width: calc(100% - 24px);
  padding: 6px 10px; border-radius: 8px;
  background: rgba(255, 255, 255, .92);
  color: var(--c-char); font-size: .8rem; font-weight: 500; letter-spacing: .01em;
}

/* Media frame with a marigold corner rule — editorial signature */
.framed { position: relative; }
.framed::before {
  content: ""; position: absolute; inset: auto auto -14px -14px;
  width: 46%; height: 58%;
  border-left: 2px solid var(--c-brass); border-bottom: 2px solid var(--c-brass);
  border-radius: 0 0 0 var(--r-lg);
  pointer-events: none; opacity: .7;
}

/* --------------------------------------------------------------------------
   6b. EDITORIAL LISTS — the antidote to a page made only of cards
   -------------------------------------------------------------------------- */
/* Trust strip: four facts on one quiet white bar under the hero */
.truststrip { padding-block: 0 var(--s-6); }
.truststrip__list {
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr));
  background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--r-md);
  padding: 6px 0;
}
.truststrip__list li { padding: var(--s-4) var(--s-6); border-left: 1px solid var(--c-line); display: grid; gap: 2px; }
.truststrip__list li:first-child { border-left: 0; }
.truststrip__list strong { font-family: var(--f-serif); font-size: 1.18rem; font-weight: 400; letter-spacing: -.005em; color: var(--c-ink); }
.truststrip__list span { font-size: var(--t-micro); color: var(--c-muted); }

/* Numbered year list: big serif numerals, no boxes */
.years { display: grid; gap: 0; border-top: 1px solid var(--c-line); }
.years__item { display: grid; grid-template-columns: 84px minmax(0,1fr); gap: var(--s-6); padding: var(--s-6) 0; border-bottom: 1px solid var(--c-line); align-items: start; }
.years__num { font-family: var(--f-serif); font-size: 3.2rem; line-height: .9; font-weight: 400; color: var(--c-brass); letter-spacing: -.02em; }
.years__num::before { content: "Year"; display: block; font-family: var(--f-sans); font-size: var(--t-label); letter-spacing: .14em; text-transform: uppercase; color: var(--c-muted-2); margin-bottom: 6px; font-weight: 700; }
.years__title { font-size: var(--t-h3); font-family: var(--f-serif); font-weight: 400; letter-spacing: -.005em; line-height: 1.2; color: var(--c-ink); }
.years__body { margin-top: var(--s-3); color: var(--c-muted); max-width: 60ch; }

/* Reasons: serif lead + one line, marigold rule, no icon, no card */
.reasons { gap: var(--s-7) var(--s-8); }
.reason { padding-top: var(--s-4); border-top: 2px solid var(--c-brass); }
.reason__title { font-family: var(--f-serif); font-size: 1.32rem; font-weight: 400; letter-spacing: -.005em; line-height: 1.2; color: var(--c-ink); }
.reason__body { margin-top: var(--s-3); color: var(--c-muted); font-size: .96rem; }

/* Steps: numbered list with a thin connector */
.steps { display: grid; gap: 0; }
.steps__item { display: grid; grid-template-columns: 44px minmax(0,1fr); gap: var(--s-5); padding-bottom: var(--s-6); position: relative; }
.steps__item:not(:last-child)::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 1px; background: var(--c-line); }
.steps__num { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--c-ink); color: var(--c-white); font-family: var(--f-serif); font-weight: 400; font-size: 1.1rem; }
.steps__title { font-size: 1.05rem; font-weight: 700; padding-top: 9px; }
.steps__body { margin-top: 6px; color: var(--c-muted); font-size: .95rem; }

.ticks--2col { grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--s-3) var(--s-6); }

/* --------------------------------------------------------------------------
   7. STATS / DATA BLOCKS
   -------------------------------------------------------------------------- */
.stats { display: grid; gap: 1px; background: var(--c-line); border: 1px solid var(--c-line); border-radius: var(--r-md); overflow: hidden; }
.stats--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stats--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stat { background: var(--c-white); padding: var(--s-7) var(--s-6); }
.stat__value { font-family: var(--f-serif); font-size: clamp(2rem, 1.4rem + 1.6vw, 2.9rem); font-weight: 400; letter-spacing: -.02em; line-height: 1.05; color: var(--c-ink); font-variant-numeric: tabular-nums; }
.stat__label { margin-top: var(--s-3); font-weight: 500; font-size: .95rem; }
.stat__note { margin-top: 4px; font-size: var(--t-micro); color: var(--c-muted-2); }

.on-dark .stats { background: var(--c-on-dark-line); border-color: var(--c-on-dark-line); }
.on-dark .stat { background: transparent; backdrop-filter: blur(2px); }
.on-dark .stat__value { color: var(--c-brass-300); }
.on-dark .stat__note { color: var(--c-on-dark-muted); }

/* Fact row — compact institutional facts */
.factrow { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.fact { padding-left: var(--s-4); border-left: 2px solid var(--c-brass); }
.fact__k { font-size: var(--t-label); text-transform: uppercase; letter-spacing: .14em; font-weight: 700; color: var(--c-muted-2); }
.fact__v { margin-top: 6px; font-weight: 500; font-size: 1.02rem; line-height: 1.4; }
.on-dark .fact__k { color: var(--c-on-dark-muted); }

/* Definition list — programme "at a glance" */
.deflist { display: grid; gap: 0; }
.deflist__row {
  display: grid; grid-template-columns: minmax(120px, 34%) minmax(0, 1fr);
  gap: var(--s-4); padding: var(--s-4) 0; border-bottom: 1px solid var(--c-line);
  align-items: start;
}
.deflist__row:first-child { padding-top: 0; }
.deflist__row:last-child { border-bottom: 0; padding-bottom: 0; }
.deflist__k { font-size: var(--t-micro); text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--c-muted-2); padding-top: 3px; }
.deflist__v { font-weight: 500; font-size: .98rem; }
.on-dark .deflist__row { border-color: var(--c-on-dark-line); }
.on-dark .deflist__k { color: var(--c-on-dark-muted); }

/* --------------------------------------------------------------------------
   8. LISTS
   -------------------------------------------------------------------------- */
.ticks { display: grid; gap: var(--s-3); }
.ticks li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: var(--s-3); align-items: start; font-size: .97rem; }
.ticks li::before {
  content: ""; margin-top: 8px; width: 14px; height: 8px;
  border-left: 2px solid var(--c-brass-600); border-bottom: 2px solid var(--c-brass-600);
  transform: rotate(-45deg); transform-origin: center;
}
.on-dark .ticks li::before { border-color: var(--c-brass-300); }

.bullets { display: grid; gap: var(--s-3); }
.bullets li { position: relative; padding-left: var(--s-5); font-size: .97rem; color: var(--c-muted); }
.bullets li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--c-brass); }
.on-dark .bullets li { color: var(--c-on-dark-muted); }

.taglist { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.tag {
  padding: 9px 15px; border-radius: var(--r-pill);
  background: var(--c-white); border: 1px solid var(--c-line);
  font-size: .9rem; font-weight: 500; color: var(--c-ink);
}
.on-dark .tag { background: rgba(251,247,240,.08); border-color: var(--c-on-dark-line); color: var(--c-on-dark); }

/* --------------------------------------------------------------------------
   9. TABLES
   -------------------------------------------------------------------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--c-line); border-radius: var(--r-md); background: var(--c-white); -webkit-overflow-scrolling: touch; }
.table { min-width: 620px; font-size: .95rem; }
/* A table placed in a half-width grid cell cannot honour the 620px floor: it
   clips on desktop instead of scrolling. `.table-wrap--fit` drops the floor. */
.table-wrap--fit .table { min-width: 0; }
@media (max-width: 720px) { .table-wrap--fit .table { min-width: 520px; } }
.table th, .table td { padding: var(--s-4) var(--s-5); text-align: left; vertical-align: top; border-bottom: 1px solid var(--c-line-soft); }
.table thead th {
  background: var(--c-mist); font-size: var(--t-label); text-transform: uppercase;
  letter-spacing: .12em; font-weight: 700; color: var(--c-muted-2); white-space: nowrap;
  border-bottom: 1px solid var(--c-line);
}
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: var(--c-linen); }
.table__strong { font-weight: 700; color: var(--c-ink); }

/* --------------------------------------------------------------------------
   10. ACCORDION
   -------------------------------------------------------------------------- */
.accordion { border-top: 1px solid var(--c-line); }
.acc {
  border-bottom: 1px solid var(--c-line);
  background: transparent;
}
.acc > summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-5);
  padding: 18px var(--s-2) 18px 0;
  font-family: var(--f-serif); font-weight: 400; font-size: 1.22rem; line-height: 1.3; color: var(--c-ink);
  cursor: pointer; list-style: none; transition: color .18s var(--ease);
}
.acc > summary::-webkit-details-marker { display: none; }
.acc > summary:hover { color: var(--c-navy-600); }
.acc__sign { position: relative; flex: none; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--c-line); background: var(--c-white); display: grid; place-items: center; transition: background .2s var(--ease), border-color .2s var(--ease), transform .3s var(--ease); }
.acc__sign::before, .acc__sign::after {
  content: ""; position: absolute; background: currentColor; border-radius: 1px;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.acc__sign::before { width: 10px; height: 1.6px; }
.acc__sign::after  { width: 1.6px; height: 10px; }
.acc[open] .acc__sign { background: var(--c-brass); border-color: var(--c-brass); color: var(--c-ink); }
.acc[open] .acc__sign::after { transform: scaleY(0); opacity: 0; }
.acc__body { padding: 0 var(--s-9) var(--s-6) 0; color: #33403c; font-size: .98rem; max-width: 68ch; }
.acc__body > * + * { margin-top: var(--s-3); }
.acc[open] .acc__body { animation: accIn .32s var(--ease) both; }
@keyframes accIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

.on-dark .accordion, .on-dark .acc { border-color: var(--c-on-dark-line); }
.on-dark .acc > summary { color: inherit; }
.on-dark .acc__body { color: var(--c-on-dark-muted); }
.on-dark .acc__sign { border-color: var(--c-on-dark-line); background: transparent; }

/* --------------------------------------------------------------------------
   11. TABS
   -------------------------------------------------------------------------- */
.tabs__list {
  display: flex; gap: var(--s-1); overflow-x: auto; scrollbar-width: none;
  border-bottom: 1px solid var(--c-line); padding-bottom: 0;
}
.tabs__list::-webkit-scrollbar { display: none; }
.tabs__tab {
  flex: none; padding: 13px 18px; font-size: .94rem; font-weight: 500;
  color: var(--c-muted); border-bottom: 3px solid transparent; margin-bottom: -1px;
  transition: color .18s var(--ease), border-color .18s var(--ease);
  white-space: nowrap;
}
.tabs__tab:hover { color: var(--c-ink); }
.tabs__tab[aria-selected="true"] { color: var(--c-ink); border-bottom-color: var(--c-brass); font-weight: 700; }
.tabs__panel { padding-top: var(--s-8); }
.tabs__panel[hidden] { display: none; }

/* --------------------------------------------------------------------------
   12. TIMELINE / PROCESS
   -------------------------------------------------------------------------- */
.pathway { position: relative; display: grid; gap: var(--s-6); }
.pathway--h { grid-auto-flow: column; grid-auto-columns: minmax(180px, 1fr); overflow-x: auto; padding-bottom: var(--s-4); scrollbar-width: thin; }
.pathway::before {
  content: ""; position: absolute; z-index: 0;
}
.pathway--h::before { left: 0; right: 0; top: 21px; height: 1px; background: var(--c-line); }
.on-dark .pathway--h::before { background: var(--c-on-dark-line); }

.pstep { position: relative; z-index: 1; }
.pstep__dot {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--c-white); border: 1px solid var(--c-line);
  font-family: var(--f-serif); font-weight: 400; font-size: 1.1rem; color: var(--c-ink);
  margin-bottom: var(--s-4);
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.pstep__title { font-weight: 700; font-size: 1rem; }
.pstep__body { margin-top: 6px; font-size: .9rem; color: var(--c-muted); }
.on-dark .pstep__dot { background: var(--c-ink); border-color: var(--c-on-dark-line); color: var(--c-brass-300); }
.on-dark .pstep__body { color: var(--c-on-dark-muted); }
.pstep--accent .pstep__dot { background: var(--c-brass); border-color: var(--c-brass); color: var(--c-ink); }

/* Vertical timeline */
.timeline { position: relative; padding-left: var(--s-8); }
.timeline::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 1px; background: var(--c-line); }
.tl-item { position: relative; padding-bottom: var(--s-7); }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: calc(-1 * var(--s-8) + 6px); top: 7px;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--c-white); border: 2px solid var(--c-brass-600);
}
.tl-item__k { font-size: var(--t-micro); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c-brass-deep); }
.tl-item__t { margin-top: 4px; font-weight: 700; font-size: 1.02rem; }
.tl-item__b { margin-top: 6px; font-size: .95rem; color: var(--c-muted); }
.on-dark .timeline::before { background: var(--c-on-dark-line); }
.on-dark .tl-item::before { background: var(--c-ink); }
.on-dark .tl-item__b { color: var(--c-on-dark-muted); }
.on-dark .tl-item__k { color: var(--c-brass-300); }

/* --------------------------------------------------------------------------
   13. LIFESPAN STRIP (signature component: who these professionals serve)
   -------------------------------------------------------------------------- */
.lifespan { display: grid; gap: 1px; background: var(--c-line); border: 1px solid var(--c-line); border-radius: var(--r-md); overflow: hidden; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.life {
  background: var(--c-white); padding: var(--s-7) var(--s-6);
  display: flex; flex-direction: column; gap: var(--s-4);
  transition: background .25s var(--ease);
  position: relative;
}
.life::after { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: var(--c-brass); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.life:hover { background: var(--c-linen); }
.life:hover::after { transform: scaleX(1); }
.life__stage { font-size: var(--t-label); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--c-brass-deep); }
.life__age { font-family: var(--f-serif); font-size: 1.4rem; font-weight: 400; letter-spacing: -.005em; color: var(--c-ink); }
.life__icon { color: var(--c-ink); }
.life__list { display: grid; gap: 8px; margin-top: auto; }
.life__list li { font-size: .9rem; color: var(--c-muted); padding-left: 14px; position: relative; line-height: 1.5; }
.life__list li::before { content: ""; position: absolute; left: 0; top: .58em; width: 5px; height: 5px; border-radius: 50%; background: var(--c-brass-600); }

/* --------------------------------------------------------------------------
   14. HEADER / NAVIGATION
   -------------------------------------------------------------------------- */
.utilbar {
  background: var(--c-navy); color: var(--c-on-dark-muted);
  font-size: var(--t-micro); border-bottom: 1px solid rgba(255,255,255,.06);
}
.utilbar__in { display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); min-height: 38px; }
.utilbar__left { display: flex; align-items: center; gap: var(--s-5); min-width: 0; flex: 1 1 auto; }
.utilbar__right { display: flex; align-items: center; gap: var(--s-5); }
.utilbar a { transition: color .18s var(--ease); }
.utilbar a:hover { color: var(--c-on-dark); }
.utilbar__sep { width: 1px; height: 14px; background: rgba(255,255,255,.16); }

/* Rolling announcement */
.announce { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1 1 auto; }
.announce__tag {
  flex: none; font-size: .64rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--c-ink); background: var(--c-brass); padding: 3px 8px; border-radius: 4px;
}
.announce__track { position: relative; overflow: hidden; height: 20px; flex: 1 1 auto; min-width: 0; }
.announce__item {
  position: absolute; inset: 0; display: flex; align-items: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.announce__item.is-active { opacity: 1; transform: none; }
.announce__short { display: none; }
.announce__item a { margin-left: 7px; color: var(--c-on-dark); border-bottom: 1px solid rgba(251,247,240,.35); }


/* Main bar: a floating, softly blurred panel that stays with the reader */
.masthead {
  position: sticky; top: 0; z-index: 90;
  background: transparent; border: 0;
  padding: 10px var(--s-5) 0;
  pointer-events: none;
}
.masthead__in {
  pointer-events: auto;
  display: flex; align-items: center; gap: var(--s-6); min-height: 68px;
  max-width: var(--w-wide); margin-inline: auto;
  padding: 8px 12px 8px 18px;
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(12px) saturate(140%); backdrop-filter: blur(12px) saturate(140%);
  border: 1px solid var(--c-line); border-radius: var(--r-md);
  box-shadow: 0 10px 30px rgba(22, 61, 58, .08);
  transition: box-shadow .25s var(--ease);
}
.masthead.is-stuck .masthead__in { box-shadow: 0 16px 40px rgba(22, 61, 58, .14); }

.brand { display: flex; align-items: center; gap: 10px; flex: 0 1 auto; min-width: 0; margin-right: auto; }
.brand__mark img, .brand__mark svg { width: 100%; height: 100%; object-fit: contain; }
.brand__name {
  font-family: var(--f-serif); font-size: 1.16rem; font-weight: 400; line-height: 1;
  letter-spacing: .13em; text-transform: uppercase; color: var(--c-ink); white-space: nowrap;
}
.brand__sub {
  display: flex; align-items: center; gap: 6px; margin-top: 4px;
  font-family: var(--f-sans); font-size: .6rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--c-brass-deep); font-weight: 700; white-space: nowrap;
}
.brand__sub::after { display: none; }
.brand__mark { width: 34px; height: 42px; flex: none; border-radius: 0; overflow: visible; filter: drop-shadow(0 1px 1px rgba(22,61,58,.18)); }

/* Desktop nav */
.nav { display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 10px 9px; border-radius: 0;
  font-size: .93rem; font-weight: 500; color: var(--c-char);
  border-bottom: 2px solid transparent;
  transition: color .18s var(--ease), border-color .18s var(--ease);
  white-space: nowrap;
}
.nav__link:hover, .nav__item.is-open > .nav__link { background: transparent; color: var(--c-ink); border-bottom-color: var(--c-brass); }
.nav__link[aria-current="page"], .nav__link.is-active { color: var(--c-ink); border-bottom-color: var(--c-brass); }
.nav__link.is-active::after { display: none; }
.nav__caret { transition: transform .2s var(--ease); opacity: .55; }
.nav__item.is-open .nav__caret { transform: rotate(180deg); }

.megamenu {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(calc(-50% + var(--mm-shift, 0px))) translateY(-6px);
  min-width: 640px; max-width: min(92vw, 940px);
  background: var(--c-white); border: 1px solid var(--c-line);
  border-radius: var(--r-md); box-shadow: 0 30px 60px -20px rgba(22, 61, 58, .3);
  padding: var(--s-7); z-index: 95;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s var(--ease), transform .24s var(--ease), visibility .2s;
}
.nav__item.is-open .megamenu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(calc(-50% + var(--mm-shift, 0px))) translateY(0); }
.megamenu--wide { width: 820px; }
.megamenu--right { left: auto; right: 0; transform: translateY(-6px); }
.nav__item.is-open .megamenu--right { transform: translateY(0); }

.megamenu__grid { display: grid; gap: var(--s-8); grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.05fr) minmax(0, 250px); }
.megamenu__grid--2 { grid-template-columns: minmax(0, 1fr) minmax(0, 260px); }
.megamenu__col-title { font-size: var(--t-label); text-transform: uppercase; letter-spacing: .14em; font-weight: 700; color: var(--c-brass-deep); margin-bottom: var(--s-4); }
.megamenu__links { display: grid; gap: 2px; }
.megamenu__link { display: block; padding: 8px 10px; margin-left: -10px; border-radius: var(--r-sm); transition: background .16s var(--ease); }
.megamenu__link:hover { background: var(--c-linen); }
.megamenu__link strong { display: block; font-size: .93rem; font-weight: 700; color: var(--c-ink); }
.megamenu__link span { display: block; font-size: .82rem; color: var(--c-muted); margin-top: 1px; line-height: 1.45; }
.megamenu__promo { background: var(--c-linen); border: 1px solid var(--c-line); border-radius: 14px; padding: var(--s-5); }
.megamenu__promo .eyebrow { font-size: .74rem; padding: 5px 10px; }

/* Header actions */
.masthead__actions { display: flex; align-items: center; gap: var(--s-3); flex: none; }

/* Mobile toggle */
.burger {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--c-line); background: var(--c-white); place-items: center; flex: none;
}
.burger span { display: block; width: 18px; height: 2px; background: var(--c-ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s var(--ease); }
.burger span + span { margin-top: 4.5px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 120;
  background: var(--c-linen);
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .26s var(--ease), transform .3s var(--ease), visibility .26s;
  overscroll-behavior: contain;
}
.drawer.is-open { opacity: 1; visibility: visible; transform: none; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); padding: var(--s-4) var(--s-5); border-bottom: 1px solid var(--c-line); flex: none; touch-action: none; }
.drawer__body { flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain; padding: var(--s-5) var(--s-5) var(--s-9); -webkit-overflow-scrolling: touch; }
.drawer__foot { flex: none; padding: var(--s-4) var(--s-5) calc(var(--s-4) + env(safe-area-inset-bottom)); border-top: 1px solid var(--c-line); background: var(--c-linen); display: grid; gap: var(--s-3); grid-template-columns: 1fr 1fr; touch-action: none; }

.mnav { display: grid; }
.mnav__group { border-bottom: 1px solid var(--c-line); }
.mnav__head {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  padding: var(--s-5) 0; font-family: var(--f-serif); font-size: 1.28rem; font-weight: 400; text-align: left; color: var(--c-ink);
}
.mnav__head .acc__sign { width: 26px; height: 26px; }
.mnav__group.is-open .acc__sign { background: var(--c-brass); border-color: var(--c-brass); color: var(--c-ink); }
.mnav__group.is-open .acc__sign::after { transform: scaleY(0); opacity: 0; }
.mnav__panel { display: none; padding-bottom: var(--s-5); }
.mnav__group.is-open .mnav__panel { display: block; animation: accIn .3s var(--ease) both; }
.mnav__sub { display: grid; gap: 4px; }
.mnav__sub a { display: block; padding: 11px 14px; border-radius: var(--r-sm); background: var(--c-white); border: 1px solid var(--c-line); font-size: .95rem; font-weight: 500; }
.mnav__sub a:active { background: var(--c-sky); }
.mnav__solo { display: block; padding: var(--s-5) 0; font-family: var(--f-serif); font-size: 1.28rem; font-weight: 400; color: var(--c-ink); border-bottom: 1px solid var(--c-line); }
.mnav__meta { margin-top: var(--s-7); display: grid; gap: var(--s-3); }
.mnav__meta a, .mnav__meta span { display: flex; align-items: center; gap: 10px; font-size: .94rem; color: var(--c-muted); }

/* Sticky in-page sub nav (programme / long pages): a second floating pill */
.subnav {
  position: sticky; top: 88px; z-index: 60;
  background: transparent; border: 0;
  padding: 0 var(--s-5);
}
.subnav__in {
  display: flex; align-items: center; gap: var(--s-5); min-height: 52px;
  max-width: var(--w-wide); margin-inline: auto; padding: 0 var(--s-4);
  background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(10px) saturate(140%); backdrop-filter: blur(10px) saturate(140%);
  border: 1px solid var(--c-line); border-radius: 14px; box-shadow: 0 10px 30px rgba(22, 61, 58, .08);
}
.subnav__label { font-size: var(--t-label); text-transform: uppercase; letter-spacing: .14em; font-weight: 700; color: var(--c-muted-2); flex: none; }
.subnav__links {
  display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; flex: 1 1 auto;
  padding-right: var(--s-5);
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
  mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
}
.subnav__links::-webkit-scrollbar { display: none; }
.subnav__links a {
  flex: none; padding: 8px 12px; border-radius: var(--r-pill); font-size: .86rem; font-weight: 500;
  color: var(--c-muted); white-space: nowrap; transition: background .16s var(--ease), color .16s var(--ease);
}
.subnav__links a:hover { background: var(--c-linen); color: var(--c-ink); }
.subnav__links a.is-active { background: var(--c-ink); color: var(--c-on-dark); }
.subnav__cta { flex: none; }

/* Breadcrumb */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: var(--t-micro); color: var(--c-muted-2); }
.crumbs a { transition: color .16s var(--ease); }
.crumbs a:hover { color: var(--c-ink); }
.crumbs__sep { opacity: .45; }
.on-dark .crumbs { color: var(--c-on-dark-muted); }
.on-dark .crumbs a:hover { color: var(--c-brass-300); }

/* --------------------------------------------------------------------------
   15. HERO
   -------------------------------------------------------------------------- */
/* Page hero (inner pages): light, on the ivory ground */
.phero { position: relative; overflow: hidden; background: var(--c-linen); color: var(--c-char); border-bottom: 1px solid var(--c-line); }
.phero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(720px 380px at 90% 0%, rgba(219, 233, 238, .95), transparent 62%),
    radial-gradient(520px 320px at 6% 110%, rgba(242, 182, 50, .16), transparent 60%);
}
.phero::after { display: none; }
.phero__in { position: relative; z-index: 1; padding-block: clamp(36px, 4vw, 60px) clamp(44px, 5vw, 76px); }
.phero__grid { display: grid; gap: clamp(28px, 3.5vw, 56px); grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; }
.phero__title { font-family: var(--f-serif); font-size: var(--t-h1); line-height: 1.05; letter-spacing: -.012em; margin-top: var(--s-4); color: var(--c-ink); }
.phero__lede { margin-top: var(--s-5); font-size: var(--t-lede); color: #33403c; max-width: 58ch; line-height: 1.55; }
.phero__actions { margin-top: var(--s-7); display: flex; flex-wrap: wrap; gap: var(--s-3); }
.phero__aside { display: grid; gap: var(--s-4); }
.phero__aside .card { box-shadow: 0 24px 50px -30px rgba(22, 61, 58, .35); }
.phero__aside .figure { box-shadow: 0 24px 50px -30px rgba(22, 61, 58, .35); }

/* --------------------------------------------------------------------------
   16. FORMS
   -------------------------------------------------------------------------- */
.field { display: grid; gap: 7px; }
.field__label { font-size: var(--t-micro); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--c-muted-2); }
.field__label .req { color: var(--c-danger); }
.field__hint { font-size: var(--t-micro); color: var(--c-muted-2); }
.field__error { font-size: var(--t-micro); color: var(--c-danger); font-weight: 700; display: none; }
.field.has-error .field__error { display: block; }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--c-danger); background: #fdf7f7; }

.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  border: 1px solid var(--c-line); border-radius: var(--r-sm);
  background: var(--c-white); font-size: .97rem;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.input:hover, .select:hover, .textarea:hover { border-color: var(--c-muted-2); }
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--c-teal);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-teal) 16%, transparent);
}
.textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%235d6863' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px;
}
.form-grid { display: grid; gap: var(--s-5); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid .col-2 { grid-column: span 2; }

.check { display: grid; grid-template-columns: 20px minmax(0,1fr); gap: 10px; align-items: start; font-size: .9rem; color: var(--c-muted); }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--c-teal); }

.form-note { font-size: var(--t-micro); color: var(--c-muted-2); }

.form-status {
  display: none; padding: var(--s-4) var(--s-5); border-radius: var(--r-sm);
  font-size: .92rem; font-weight: 500; border: 1px solid;
}
.form-status.is-error { color: var(--c-danger, #a3261c); }
.form-status.is-visible { display: block; animation: accIn .3s var(--ease) both; }
.form-status--ok { background: rgba(23,105,74,.07); border-color: rgba(23,105,74,.28); color: var(--c-success); }
.form-status--info { background: var(--c-mist); border-color: var(--c-line); color: var(--c-muted); }

/* Stepper */
.stepper { display: flex; gap: var(--s-2); overflow-x: auto; scrollbar-width: none; padding-bottom: var(--s-2); }
.stepper::-webkit-scrollbar { display: none; }
.stepper__item { flex: 1 1 0; min-width: 118px; display: grid; gap: 8px; }
.stepper__bar { height: 3px; border-radius: 2px; background: var(--c-line); overflow: hidden; }
.stepper__bar i { display: block; height: 100%; width: 0; background: var(--c-brass); transition: width .45s var(--ease); }
.stepper__item.is-done .stepper__bar i, .stepper__item.is-current .stepper__bar i { width: 100%; }
.stepper__item.is-done .stepper__bar i { background: var(--c-success); }
.stepper__k { font-size: var(--t-label); letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--c-muted-2); }
.stepper__t { font-size: .88rem; font-weight: 500; color: var(--c-muted); }
.stepper__item.is-current .stepper__t, .stepper__item.is-current .stepper__k { color: var(--c-ink); }
.stepper__item.is-done .stepper__t { color: var(--c-ink); }

/* --------------------------------------------------------------------------
   17. CTA BANDS & CONVERSION
   -------------------------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band__in { display: grid; gap: var(--s-8); grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); justify-content: flex-end; }

/* Sticky mobile action bar */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  display: none; gap: 1px; background: var(--c-line);
  border-top: 1px solid var(--c-line);
  padding-bottom: env(safe-area-inset-bottom);
  transform: translateY(110%); transition: transform .34s var(--ease);
}
.mobile-cta.is-visible { transform: none; }
.mobile-cta a {
  flex: 1 1 0; background: var(--c-white); color: var(--c-ink);
  display: grid; place-items: center; gap: 3px; padding: 10px 6px;
  font-size: .72rem; font-weight: 700; letter-spacing: .02em; text-align: center;
}
.mobile-cta a svg { opacity: .7; }
.mobile-cta a.is-primary { background: var(--c-brass); color: var(--c-ink); }
.mobile-cta a.is-primary svg { opacity: 1; }

/* Enquiry panel (used on admissions + contact) */
.enquiry {
  background: var(--c-white); border: 1px solid var(--c-line);
  border-radius: var(--r-lg); padding: clamp(24px, 3vw, 40px); box-shadow: var(--sh-2);
}

/* --------------------------------------------------------------------------
   18. MARQUEE / LOGO ROW
   -------------------------------------------------------------------------- */
.logorow { display: grid; gap: 1px; background: var(--c-line); border: 1px solid var(--c-line); border-radius: var(--r-md); overflow: hidden; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.logorow__cell { background: var(--c-white); min-height: 92px; display: grid; place-items: center; padding: var(--s-4); text-align: center; font-size: .82rem; font-weight: 500; color: var(--c-muted); letter-spacing: .01em; transition: background .2s var(--ease), color .2s var(--ease); }
.logorow__cell:hover { background: var(--c-linen); color: var(--c-ink); }

/* --------------------------------------------------------------------------
   19. NEWS / EVENTS
   -------------------------------------------------------------------------- */
.newscard { display: grid; gap: var(--s-4); align-content: start; }
.newscard__meta { display: flex; align-items: center; gap: 10px; font-size: var(--t-micro); color: var(--c-muted-2); }
.newscard__title { font-family: var(--f-serif); font-size: 1.3rem; font-weight: 400; line-height: 1.25; color: var(--c-ink); }
.newscard__excerpt { font-size: .95rem; color: var(--c-muted); }

.eventcard { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: var(--s-5); align-items: start; }
.eventcard__date {
  background: var(--c-ink); color: var(--c-on-dark); border-radius: 12px;
  text-align: center; padding: 10px 6px;
}
.eventcard__d { font-family: var(--f-serif); font-size: 1.6rem; font-weight: 400; line-height: 1; color: var(--c-brass-300); }
.eventcard__m { font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; margin-top: 4px; opacity: .78; font-weight: 700; }

/* --------------------------------------------------------------------------
   20. TESTIMONIAL / QUOTE
   -------------------------------------------------------------------------- */
.quote { position: relative; padding-left: var(--s-8); }
.quote::before {
  content: "\201C"; position: absolute; left: 0; top: -16px;
  font-family: var(--f-serif); font-size: 4.4rem; line-height: 1; color: var(--c-brass); opacity: .6;
}
.quote__text { font-family: var(--f-serif); font-style: italic; font-size: 1.22rem; line-height: 1.45; color: var(--c-ink); }
.quote__who { margin-top: var(--s-5); display: flex; align-items: center; gap: var(--s-3); }
.quote__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--c-sky); display: grid; place-items: center; color: var(--c-ink); flex: none; overflow: hidden; }
.quote__name { font-weight: 700; font-size: .93rem; }
.quote__role { font-size: var(--t-micro); color: var(--c-muted-2); }

/* --------------------------------------------------------------------------
   21. FOOTER — forest, with rounded shoulders, resting on the ivory page
   -------------------------------------------------------------------------- */
.footer { background: var(--c-ink); color: rgba(251,247,240,.82); border-radius: 32px 32px 0 0; margin-top: 20px; }
.footer a { color: rgba(251,247,240,.85); transition: color .16s var(--ease); }
.footer a:hover { color: var(--c-white); }

.footer__top { padding-block: clamp(48px, 4vw, 72px); border-bottom: 1px solid var(--c-on-dark-line); }
.footer__grid { display: grid; gap: var(--s-8); grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.15fr); }
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__brand .brand__name { color: var(--c-white); }
.footer__brand .brand__sub { color: var(--c-brass-300); }
.footer__brand .brand__mark { width: 49px; height: 61px; filter: drop-shadow(0 2px 6px rgba(0,0,0,.45)); }
.footer__about { margin-top: var(--s-5); font-size: .9rem; color: var(--c-on-dark-muted); max-width: 34ch; line-height: 1.65; }
.footer__col-title { font-size: var(--t-label); letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--c-brass); margin-bottom: var(--s-5); }
.footer__links { display: grid; gap: 11px; font-size: .9rem; }
.footer__contact { display: grid; gap: var(--s-4); font-size: .9rem; }
.footer__contact-item { display: grid; grid-template-columns: 18px minmax(0,1fr); gap: 11px; align-items: start; color: var(--c-on-dark-muted); }
.footer__contact-item svg { margin-top: 3px; opacity: .7; }

.socials { display: flex; gap: 8px; margin-top: var(--s-6); }
.socials a { width: 38px; height: 38px; border-radius: 12px; border: 1px solid var(--c-on-dark-line); display: grid; place-items: center; transition: background .18s var(--ease), border-color .18s var(--ease); }
.socials a:hover { background: rgba(251,247,240,.1); border-color: rgba(251,247,240,.34); }

.footer__legal { padding-block: var(--s-6); }
.footer__legal-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4); font-size: var(--t-micro); color: rgba(251,247,240,.62); }
.footer__legal-links { display: flex; flex-wrap: wrap; gap: var(--s-5); }

.footer__disclosure {
  padding: var(--s-5) 0; border-top: 1px solid var(--c-on-dark-line);
  font-size: .8rem; color: rgba(251,247,240,.6); line-height: 1.6;
}

/* Newsletter */
.subscribe { display: flex; gap: var(--s-2); flex-wrap: wrap; margin-top: var(--s-5); }
.subscribe .input { background: rgba(255,255,255,.08); border-color: rgba(251,247,240,.22); color: var(--c-white); flex: 1 1 180px; min-height: 46px; }
.subscribe .input::placeholder { color: rgba(251,247,240,.5); }
.subscribe .input:focus { border-color: var(--c-brass-300); box-shadow: 0 0 0 3px rgba(242,182,50,.22); }
/* The same form on a light card (homepage updates) */
.subscribe--light .input { background: var(--c-white); border-color: var(--c-line); color: var(--c-char); }
.subscribe--light .input::placeholder { color: var(--c-muted-2); }
.subscribe--light .input:focus { border-color: var(--c-teal); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-teal) 16%, transparent); }

/* --------------------------------------------------------------------------
   22. MOTION
   -------------------------------------------------------------------------- */
/* Only hidden when JS is present to reveal them — without JS everything shows. */
.js [data-reveal] { opacity: 0; transform: translateY(16px); }
.js [data-reveal].is-in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal][data-delay="1"].is-in { transition-delay: .07s; }
.js [data-reveal][data-delay="2"].is-in { transition-delay: .14s; }
.js [data-reveal][data-delay="3"].is-in { transition-delay: .21s; }
.js [data-reveal][data-delay="4"].is-in { transition-delay: .28s; }
.js [data-reveal][data-delay="5"].is-in { transition-delay: .35s; }

.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 130;
  background: linear-gradient(90deg, var(--c-brass), var(--c-brass-600));
  pointer-events: none;
}

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

/* --------------------------------------------------------------------------
   23. UTILITIES
   -------------------------------------------------------------------------- */
.mt-0 { margin-top: 0 !important; }
.mt-3 { margin-top: var(--s-3); }
.mt-4 { margin-top: var(--s-4); }
.mt-5 { margin-top: var(--s-5); }
.mt-6 { margin-top: var(--s-6); }
.mt-7 { margin-top: var(--s-7); }
.mt-8 { margin-top: var(--s-8); }
.mt-9 { margin-top: var(--s-9); }
.mt-10 { margin-top: var(--s-10); }
.mt-11 { margin-top: var(--s-11); }
.text-center { text-align: center; }
.hide { display: none !important; }
.full { width: 100%; }
.rule { height: 1px; background: var(--c-line); }
.on-dark .rule { background: var(--c-on-dark-line); }
.brass-rule { width: 54px; height: 2px; background: var(--c-brass); }

/* --------------------------------------------------------------------------
   26. CAMPUS DAYS — the homepage and student-life components
   -------------------------------------------------------------------------- */
/* Collage hero: three overlapping photo tiles and a marigold note */
.cd-hero { position: relative; overflow: hidden; }
.cd-hero__in {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(28px, 5vw, 72px); align-items: center;
  padding-block: clamp(32px, 4.5vw, 64px) clamp(48px, 6vw, 88px);
}
.cd-hero__title { margin-top: 18px; font-family: var(--f-serif); font-size: var(--t-display); line-height: 1.02; letter-spacing: -.012em; font-weight: 400; color: var(--c-ink); }
.cd-hero__title em { font-style: italic; }
.cd-hero__lede { margin-top: 18px; font-size: clamp(1.06rem, 1rem + .4vw, 1.25rem); line-height: 1.55; color: #33403c; max-width: 52ch; }
.cd-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.cd-hero__facts { display: flex; gap: 22px 32px; flex-wrap: wrap; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--c-line); font-size: .9rem; color: var(--c-muted); }
.cd-hero__facts b { display: block; font-family: var(--f-serif); font-weight: 400; font-size: 1.75rem; line-height: 1; color: var(--c-ink); margin-bottom: 5px; }

.collage { position: relative; padding: 5% 8% 15% 0; }
.collage .figure { border-radius: var(--r-lg); }
.collage__main { width: 80%; aspect-ratio: 4 / 5; box-shadow: 0 30px 60px -30px rgba(22, 61, 58, .4); }
.collage__main img { object-position: 50% 30%; }
.collage__b { position: absolute; right: 0; bottom: 0; width: 42%; aspect-ratio: 1; box-shadow: 0 24px 50px rgba(22, 61, 58, .18); transform: rotate(2deg); }
.collage__c { position: absolute; left: -2%; bottom: 5%; width: 30%; aspect-ratio: 1; box-shadow: 0 24px 50px rgba(22, 61, 58, .18); transform: rotate(-3deg); }

/* A day at Claverton: the horizontal scroller */
.day { background: var(--c-white); border-block: 1px solid var(--c-line); }
.day__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 30px; }
.day__head .h2 { margin-top: 14px; }
.ctl { display: flex; gap: 8px; flex: none; }
.ctl button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--c-line); display: grid; place-items: center; color: var(--c-ink); background: var(--c-white); transition: background .18s var(--ease); }
.ctl button:hover { background: var(--c-sky); }
.track { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 0 18px; overscroll-behavior-x: contain; }
.track::-webkit-scrollbar { display: none; }
.mo { flex: 0 0 min(78vw, 300px); scroll-snap-align: start; }
.mo .figure { aspect-ratio: 4 / 5; transition: transform .35s var(--ease); }
.mo:hover .figure { transform: translateY(-4px); }
.mo time { display: block; margin: 14px 0 4px; font-size: .74rem; font-weight: 700; line-height: 1; letter-spacing: .14em; text-transform: uppercase; color: var(--c-brass-deep); }
.mo b { display: block; font-family: var(--f-serif); font-weight: 400; font-size: 1.35rem; line-height: 1.15; color: var(--c-ink); }
.mo p { font-size: .95rem; color: var(--c-muted); margin-top: 6px; }
.day__note { margin-top: 6px; font-size: .86rem; color: var(--c-muted-2); }

/* Your people: three portraits, the middle one dropped */
.people { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.people .h2 { margin: 16px 0 18px; }
.faces { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.faces .figure { aspect-ratio: 3 / 4; border-radius: var(--r-md); }
.faces > div:nth-child(2) { transform: translateY(28px); }
.faces__n { display: block; padding: 10px 0 0; font-family: var(--f-serif); font-size: 1.08rem; line-height: 1.3; color: var(--c-ink); }
.faces small { display: block; font-size: .82rem; color: var(--c-muted-2); margin-top: 2px; }

/* Why it matters: one big human statement on forest */
.matters { background: var(--c-ink); color: var(--c-white); }
.matters__in { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(28px, 6vw, 96px); align-items: end; }
.matters__big { font-family: var(--f-serif); font-weight: 400; font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3.3rem); line-height: 1.12; text-wrap: balance; color: var(--c-white); }
.matters__big em { color: var(--c-brass); font-style: italic; }
.matters__small { margin-top: 24px; color: rgba(251,247,240,.78); max-width: 50ch; }
.matters__stat { border-top: 1px solid rgba(255,255,255,.3); padding-top: 16px; }
.matters__stat b { display: block; font-family: var(--f-serif); font-weight: 400; font-size: 3.4rem; line-height: 1; color: var(--c-brass); }
.matters__stat > span { display: block; margin-top: 8px; font-size: .92rem; color: rgba(251,247,240,.78); }
.matters__stat b span { font: inherit; color: inherit; }

/* Beyond the classroom: the mosaic */
.mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 220px; gap: 16px; margin-top: clamp(28px, 4vw, 44px); }
.mosaic__item { position: relative; overflow: hidden; border-radius: var(--r-md); }
.mosaic__item .figure { aspect-ratio: auto; height: 100%; border-radius: var(--r-md); transition: transform .5s var(--ease); }
.mosaic__item:hover .figure { transform: scale(1.03); }
.mosaic__item::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(15, 42, 40, .72)); pointer-events: none; border-radius: 0 0 var(--r-md) var(--r-md); }
.mosaic__a { grid-column: span 2; grid-row: span 2; }
.mosaic__b { grid-column: span 2; }
.mosaic__ov { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 1; color: var(--c-white); font-family: var(--f-serif); font-size: 1.3rem; line-height: 1.2; }
.mosaic__ov small { display: block; font-family: var(--f-sans); font-size: .72rem; font-weight: 500; opacity: .9; margin-top: 4px; letter-spacing: .06em; text-transform: uppercase; }

/* The world: photo and copy */
.world { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.world .figure { aspect-ratio: 5 / 4; }
.world .h2 { margin: 14px 0 18px; }

/* For parents: sky band, white tiles */
.parents { background: var(--c-sky); }
.parents .h2 { max-width: 24ch; margin-top: 14px; }
.pgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: clamp(28px, 4vw, 44px); }
.pgrid > div { background: var(--c-white); border-radius: var(--r-md); padding: 26px 24px; }
.pgrid b { display: block; font-family: var(--f-serif); font-weight: 400; font-size: 1.45rem; line-height: 1.15; color: var(--c-ink); margin-bottom: 10px; }
.pgrid p { font-size: .98rem; color: #33403c; }

/* Visit + the steps */
.visit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.visit .h2 { margin: 14px 0 18px; }
.vsteps { display: grid; gap: 14px; margin-top: 20px; }
.vsteps > div { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: baseline; }
.vsteps i { font-family: var(--f-serif); font-style: normal; font-size: 1.6rem; line-height: 1; color: var(--c-brass-deep); }
.vsteps b { display: block; font-size: 1rem; font-weight: 700; line-height: 1.3; color: var(--c-char); }
.vsteps p { font-size: .93rem; color: var(--c-muted); margin-top: 2px; }

/* Student life: the week grid, clubs */
.week { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-top: 28px; }
.week > div { background: var(--c-white); border: 1px solid var(--c-line); border-radius: 14px; padding: 14px; min-height: 190px; }
.week b { display: block; font-size: .74rem; font-weight: 700; line-height: 1; letter-spacing: .12em; text-transform: uppercase; color: var(--c-brass-deep); margin-bottom: 12px; }
.week span { display: block; font-size: .86rem; padding: 8px 10px; border-radius: 8px; margin-bottom: 6px; background: var(--c-linen); }
.week span.c { background: var(--c-sky); color: var(--c-ink); font-weight: 500; }
.week span.l { background: var(--c-brass-050); }
.clubs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.clubs span { padding: 10px 16px; border-radius: var(--r-pill); background: var(--c-white); border: 1px solid var(--c-line); font-size: .95rem; }

/* --------------------------------------------------------------------------
   24. RESPONSIVE
   -------------------------------------------------------------------------- */
/* Header: the full nav with the crest lockup needs ~1250px. Tighten first, then
   hand over to the drawer below 1200px so the wordmark never collides with the menu. */
@media (max-width: 1320px) {
  .nav__link { padding-left: 7px; padding-right: 7px; font-size: .88rem; }
  .masthead__in { gap: var(--s-4); }
  .masthead__actions .btn--outline { display: none; }
}
@media (max-width: 1200px) {
  :root { --header-h: 86px; }
  .nav { display: none; }
  .burger { display: grid; }
  .subnav { top: 80px; }
  .masthead__in { min-height: 62px; gap: var(--s-3); padding: 6px 10px 6px 16px; }
  .masthead__actions { gap: var(--s-2); }
}

@media (max-width: 1180px) {
  .footer__grid { grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); }
  .footer__contact-col { grid-column: span 2; }
}

@media (max-width: 1080px) {
  .phero__grid { grid-template-columns: 1fr; align-items: start; }
  .cta-band__in { grid-template-columns: 1fr; gap: var(--s-6); }
  .cta-band__actions { justify-content: flex-start; }
  .stats--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lifespan { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logorow { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .matters__in { grid-template-columns: 1fr; align-items: start; }
  .matters__stat { max-width: 320px; }
}

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stepper__item { min-width: 96px; }
  .split, .split--7-5, .split--5-7 { grid-template-columns: minmax(0, 1fr); }
  .utilbar__left .utilbar__hide-md { display: none; }
  .stats--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .truststrip__list { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .truststrip__list li:nth-child(3) { border-left: 0; }
  .truststrip__list li { padding-block: var(--s-4); }
  .ticks--2col { grid-template-columns: minmax(0,1fr); }
  .cd-hero__in { grid-template-columns: 1fr; gap: var(--s-8); }
  .cd-hero__copy { order: 1; }
  .collage { order: 2; max-width: 560px; }
  .people, .world, .visit { grid-template-columns: 1fr; }
  .faces > div:nth-child(2) { transform: none; }
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 180px; }
  .mosaic__a { grid-column: span 2; grid-row: span 1; }
  .pgrid { grid-template-columns: 1fr; }
  .week { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .week > div { min-height: 0; }
}

@media (max-width: 720px) {
  :root { --sec-y: clamp(40px, 8vw, 56px); --header-h: 78px; }
  .container { padding-inline: var(--s-4); }
  .masthead { padding: 8px var(--s-3) 0; }
  .masthead__in { min-height: 58px; padding: 6px 8px 6px 12px; border-radius: 16px; }
  .subnav { top: 72px; padding: 0 var(--s-3); }
  .footer { border-radius: 24px 24px 0 0; margin-top: 16px; }

  /* Three- and four-up card grids become one swipeable row. A phone user
     flicks sideways through six cards in two seconds; stacked, the same six
     cards are four screens of scrolling. `.grid--stack` opts out. */
  .grid-3:not(.grid--stack), .grid-4:not(.grid--stack), .lifespan {
    display: flex; gap: var(--s-3);
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(-1 * var(--s-4)); padding-inline: var(--s-4);
    padding-bottom: var(--s-2);
    border: 0; border-radius: 0; background: transparent;
  }
  .grid-3:not(.grid--stack)::-webkit-scrollbar, .grid-4:not(.grid--stack)::-webkit-scrollbar, .lifespan::-webkit-scrollbar { display: none; }
  .grid-3:not(.grid--stack) > *, .grid-4:not(.grid--stack) > *, .lifespan > * {
    flex: 0 0 84%; scroll-snap-align: start; min-width: 0;
  }
  .lifespan > .life { border: 1px solid var(--c-line); border-radius: var(--r-md); }
  .grid-2 { grid-template-columns: minmax(0, 1fr); }

  .stats--4, .stats--3, .stats--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding: var(--s-5) var(--s-4); }
  .stat__value { font-size: 1.8rem; }
  .logorow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .form-grid .col-2 { grid-column: span 1; }
  .card { padding: var(--s-5); }
  .card--pad-lg { padding: var(--s-5); }
  .mobile-cta { display: flex; }
  body.has-mobile-cta { padding-bottom: 64px; }

  /* Collage hero on a phone: the words first, then a smaller collage */
  .cd-hero__in { padding-block: var(--s-7) var(--s-8); gap: var(--s-7); }
  .cd-hero__title { font-size: clamp(2.2rem, 9.6vw, 2.8rem); margin-top: 14px; }
  .cd-hero__lede { font-size: 1.02rem; margin-top: 14px; }
  .cd-hero__actions { margin-top: 22px; }
  .cd-hero__facts { gap: 16px 22px; margin-top: 22px; padding-top: 18px; }
  .cd-hero__facts b { font-size: 1.5rem; }
  .collage { padding: 8% 8% 14% 0; }
  

  .day__head { margin-bottom: 20px; }
  .mo { flex-basis: 72vw; }
  .matters__big { font-size: clamp(1.7rem, 7vw, 2.2rem); }
  .matters__stat b { font-size: 2.6rem; }
  .pgrid > div { padding: 22px 20px; }
  .mosaic { grid-auto-rows: 160px; gap: 10px; }
  .mosaic__ov { font-size: 1.1rem; left: 12px; right: 12px; bottom: 12px; }

  .phero__in { padding-block: var(--s-7) var(--s-8); }
  .phero__title { font-size: clamp(1.9rem, 8vw, 2.4rem); }
  .phero__lede { font-size: 1rem; }
  .phero__aside { display: none; }

  .acc > summary { font-size: 1.1rem; }
  .acc__body { padding-right: var(--s-4); }
  .deflist__row { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .quote { padding-left: var(--s-6); }
  .timeline { padding-left: var(--s-7); }
  .tl-item::before { left: calc(-1 * var(--s-7) + 6px); }
  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: var(--s-7); }
  .footer__contact-col { grid-column: span 1; }
  .utilbar__right .utilbar__hide-sm { display: none; }
  .utilbar__in { min-height: 34px; }
  .eventcard { grid-template-columns: 62px minmax(0,1fr); gap: var(--s-4); }
  .subnav__label { display: none; }
  .subnav__cta { display: none; }
  .drawer__foot { grid-template-columns: minmax(0, 1fr); }
  .btn { min-height: 46px; }
  .pathway--h > .pstep { min-width: 220px; }
  .years__item { grid-template-columns: 56px minmax(0,1fr); gap: var(--s-4); padding: var(--s-5) 0; }
  .years__num { font-size: 2.3rem; }
  .years__title { font-size: 1.25rem; }
  .reasons { gap: var(--s-6); }
  .truststrip__list strong { font-size: 1.02rem; }
  .truststrip__list li { padding-inline: var(--s-4); }
  .sec-head + * { margin-top: var(--s-7); }
  .table { min-width: 520px; font-size: .9rem; }
  .table th, .table td { padding: var(--s-3) var(--s-4); }
}

/* Cards inside a horizontal snap row never intersect the viewport until they are
   swiped, so the reveal animation would leave every card after the first blank. */
@media (max-width: 900px) {
  .js .grid-3:not(.grid--stack) > [data-reveal],
  .js .grid-4:not(.grid--stack) > [data-reveal],
  .js .lifespan > [data-reveal] { opacity: 1; transform: none; }
}

/* Keep the row label visible while a wide table is scrolled sideways. */
@media (max-width: 720px) {
  .table th[scope="row"] { position: sticky; left: 0; background: var(--c-white); z-index: 1; }
  .table tbody tr:hover th[scope="row"] { background: var(--c-linen); }
}

@media (max-width: 620px) {
  .utilbar__right:empty { display: none; }
  /* The announcement CTA overflows the narrow track and cannot be tapped,
     and the full sentence is cut off mid-word, so the short variant runs. */
  .announce__item a { display: none; }
  .announce__full { display: none; }
  .announce__short { display: inline; }
  .announce__tag { font-size: .6rem; padding: 3px 6px; letter-spacing: .1em; }
}

@media (max-width: 440px) {
  .brand__name { font-size: .98rem; letter-spacing: .1em; }
  .brand__sub { display: none; }
  .brand__mark { width: 28px; height: 35px; }
  .masthead__actions .btn { padding: 0 12px; font-size: .82rem; }
  .phero__actions .btn { width: 100%; }
  .cd-hero__actions .btn { width: 100%; }
  .faces { gap: 8px; }
  .faces__n { font-size: .92rem; }
  .week { grid-template-columns: 1fr; }
}

/* Swipe hint — only where the row actually overflows, only on touch */
@media (max-width: 720px) and (hover: none) {
  .swipe-hint { display: flex; align-items: center; gap: 8px; font-size: var(--t-micro); color: var(--c-muted-2); margin-top: var(--s-3); }
  .swipe-hint::before { content: ""; width: 26px; height: 2px; background: linear-gradient(90deg, var(--c-brass), transparent); }
}
@media (min-width: 721px), (hover: hover) { .swipe-hint { display: none; } }

/* --------------------------------------------------------------------------
   25. PRINT
   -------------------------------------------------------------------------- */
@media print {
  .utilbar, .masthead, .subnav, .mobile-cta, .drawer, .scroll-progress, .cta-band, .ctl { display: none !important; }
  body { color: #000; background: #fff; }
  .bg-ink, .bg-navy, .hero--home, .phero, .matters, .footer { background: #fff !important; color: #000 !important; }
  .on-dark, .on-dark .muted, .hero__lede, .phero__lede, .matters__big, .matters__small { color: #000 !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .7em; }
}

/* Four-up variant of the parents' tiles (the parents' page) */
.pgrid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1080px) { .pgrid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .pgrid--4 { grid-template-columns: 1fr; } }
