/* ============================================================
   OXFORD TUTORS — "OUP-derived" visual system
   ------------------------------------------------------------
   A study of the Oxford University Press house style, rebuilt
   as an Oxford Tutors identity (not a copy):

     · Deep Oxford navy as the single brand anchor
     · Warm ivory ground, near-white paper for cards
     · Antique gold used ONLY for fine rules + accents
     · An old-style book serif (Crimson Pro — the free relative
       of OUP's ITC Galliard logotype) for display & editorial
     · A quiet neutral grotesque (Public Sans) for UI & body
     · Thin 1px rules, letterspaced small-caps labels,
       generous book-like vertical rhythm, no gradients/glow

   Fonts are free (Google Fonts). Nothing licensed is used yet.
   ============================================================ */

:root {
  /* ---- colour — THE MIX: OUP structure + OT warmth ----
     Oxford-blue anchor & discipline from OUP; a warm ivory ground and
     restrained antique gold (accents only) as OT's own differentiation. */
  --navy:        #002147;   /* true Oxford blue, Pantone 282       */
  --navy-700:    #123a63;   /* hover / raised on navy              */
  --navy-600:    #1d4d7c;
  --navy-deep:   #002147;   /* alias for text/emphasis on gold     */
  --ivory:       #f7f4ec;   /* warm ivory ground (OT warmth)       */
  --ivory-2:     #efeadd;   /* deeper warm panel                   */
  --paper:       #fdfbf6;   /* warm white cards                    */
  --ink:         #002147;   /* headings = deep Oxford navy          */
  --body:        #2c3752;   /* warm-navy body (~9:1)               */
  --muted:       #64656e;   /* warm-grey meta / captions (~4.9:1)  */
  --gold:        #96792d;   /* antique gold — decorative accents   */
  --gold-ink:    #7a611f;   /* gold TEXT on warm ivory (~5:1)      */
  --gold-2:      #b49447;
  --cream:       #f4ecd9;   /* warm cream — text/headings on blue  */
  --on-navy:     #f4ecd9;   /* cream on blue (was pure white)      */
  --on-navy-mut: rgba(244, 236, 217, .78);
  --gold-navy:   #d8bd77;   /* warm gold accents on blue (OT)      */
  --line:        #e6dfce;   /* warm hairline                       */
  --line-2:      #d8cfba;   /* stronger warm hairline              */
  --line-navy:   rgba(244, 236, 217, .20);
  --rule:        #a6763c;   /* accent brown — section dividers     */
  --rule-2:      #7e5626;   /* deeper accent brown                 */

  /* ---- type ---- */
  --display: "EB Garamond", Georgia, "Times New Roman", serif;
  --serif: "EB Garamond", Georgia, "Times New Roman", serif;
  /* Emphasis: Cormorant Garamond — thinner line, elegant contrast against
     EB Garamond headings. Spectral is a more approachable alternative if wanted. */
  --italic: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  /* Body/UI sans: Work Sans — light and well-spaced. */
  --sans:  "Work Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* ---- metrics ---- */
  --container: 1220px;
  --measure: 66ch;
  --header-h: 92px;
  --radius: 8px;            /* buttons, inputs, small surfaces      */
  --radius-lg: 16px;        /* cards, panels, video (OUP-rounded)   */
  --ease: cubic-bezier(.33, 0, .2, 1);

  --z-sticky: 100; --z-drawer: 95; --z-backdrop: 90; --z-cta: 85; --z-skip: 200;
}

/* ============================================================
   RESET / BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; }

body {
  font-family: var(--sans);
  color: var(--body);
  background: var(--ivory);
  font-size: 18px;
  line-height: 1.62;
  font-weight: 400;
  letter-spacing: -.003em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv05";
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -.011em;
  text-wrap: balance;
}
p  { overflow-wrap: break-word; }
em { font-style: italic; font-family: var(--italic); }
a  { color: var(--navy); text-decoration: none; }
img, iframe { max-width: 100%; display: block; }
::selection { background: rgba(20, 35, 61, .12); }

/* shared containers / utilities ------------------------------ */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 40px; }
.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: 16px; top: -60px; z-index: var(--z-skip);
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius);
  font-family: var(--sans); font-size: 14px; font-weight: 600; transition: top .15s;
}
.skip-link:focus { top: 16px; }

/* small floating link to the design-system page -------------- */
.ds-pill {
  position: fixed; right: 18px; bottom: 18px; z-index: var(--z-sticky);
  background: var(--navy); color: var(--on-navy);
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 10px 15px; border-radius: 999px;
  border: 1px solid var(--navy-600);
  box-shadow: 0 6px 22px rgba(20, 35, 61, .22);
  transition: transform .18s var(--ease), background .18s var(--ease);
}
.ds-pill:hover { transform: translateY(-2px); background: var(--navy-700); }

/* the "kicker" small-caps label used throughout -------------- */
.hero-eyebrow, .acc-label, .footer-head, .field-legend, .kind,
.whb-tag, .video-caption, .founder-role {
  font-family: var(--sans);
}

/* ============================================================
   BUTTONS
   OUP style: crisp rectangles, letterspaced sans, minimal radius
   ============================================================ */
.btn {
  --btn-fg: #fff;
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--sans); font-size: .82rem; font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase;
  line-height: 1; padding: 15px 26px; border-radius: var(--radius);
  border: 1px solid transparent; cursor: pointer;
  transition: background .18s var(--ease), color .18s var(--ease),
              border-color .18s var(--ease), transform .18s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn-primary, .btn-navy {
  background: var(--navy); color: #fff; border-color: var(--navy);
}
.btn-primary:hover, .btn-navy:hover { background: var(--navy-700); border-color: var(--navy-700); }

.btn-outline {
  background: transparent; color: var(--navy); border-color: var(--line-2);
}
.btn-outline:hover { border-color: var(--navy); background: rgba(20, 35, 61, .04); }

/* text + arrow tertiary */
.btn-text {
  background: transparent; color: var(--navy); padding: 15px 4px;
  border: 0; border-radius: 0; text-transform: uppercase;
  border-bottom: 1px solid transparent;
}
.btn-text:hover { border-bottom-color: var(--gold-ink); }

/* buttons that sit on navy */
.on-navy .btn-navy, .on-navy .btn-primary { background: var(--gold-navy); border-color: var(--gold-navy); color: var(--navy); }
.on-navy .btn-navy:hover, .on-navy .btn-primary:hover { background: #d8bf78; border-color: #d8bf78; }
.on-navy .btn-outline { color: var(--on-navy); border-color: var(--line-navy); }
.on-navy .btn-outline:hover { border-color: var(--on-navy); background: rgba(255, 255, 255, .08); }
.on-navy .btn-text { color: var(--on-navy); }
.on-navy .btn-text:hover { border-bottom-color: var(--gold-navy); }

/* ============================================================
   FOCUS — a consistent, visible navy+gold ring everywhere
   ============================================================ */
a:focus-visible, button:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible,
.whb-item:focus-visible, summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: 2px;
}
.on-navy a:focus-visible, .on-navy button:focus-visible { outline-color: var(--gold-navy); }
/* The speaker films used the browser's thin blue ring, faint on navy (3.0:1). */
video:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.on-navy video:focus-visible { outline-color: var(--gold-navy); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: var(--z-sticky);
  background: linear-gradient(180deg, #063061 0%, var(--navy) 100%);
  backdrop-filter: saturate(1.1) blur(10px);
  border-bottom: 2px solid var(--gold-navy);
  box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 6px 20px -14px rgba(0,20,45,.7);
}
/* fine brown hairline just under the gold, for depth */
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--rule); opacity: .5; }
.header-inner {
  min-height: var(--header-h);
  display: flex; align-items: stretch; justify-content: space-between; gap: 30px;
}
/* the original OT logo: OXFORD / TUTORS in white serif caps, navy box */
.brand { display: inline-flex; align-items: center; }
.header-inner > .brand { align-self: center; }
/* (removed unused text-logo styles; the header/footer use an <img> logo) */
/* real Oxford Tutors logo (navy block, white serif caps) */
.site-logo { display: block; width: auto; height: 52px; border-radius: 4px; }
/* wordmark: OXFORD / TUTORS reworked as live serif caps so it reads as part of the
   navy masthead, not an image resting on top of it */
.wordmark { display: inline-flex; flex-direction: column; line-height: .92; }
.wm-line {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  letter-spacing: .18em; font-size: 1.6rem; color: var(--cream);
}
.site-footer .wm-line { font-size: 1.36rem; }
@media (max-width: 767px) { .wm-line { font-size: 1.04rem; } }

.primary-nav { display: flex; align-items: stretch; gap: 34px; }
.primary-nav > .nav-cta { align-self: center; }
.nav-list { display: flex; align-items: stretch; gap: 36px; list-style: none; padding: 0; }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-link {
  font-family: var(--display); font-size: .95rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .14em; color: rgba(244, 236, 217, .95);
  padding: 8px 0; display: inline-flex; align-items: center; gap: 4px;
  border-bottom: 2px solid transparent; transition: color .18s var(--ease);
}
.nav-link:hover, .nav-link.active { color: #fff; border-bottom-color: var(--gold-navy); }
.outbound { color: var(--gold-ink); font-size: .82em; }
.site-header .outbound { color: var(--gold-navy); }
/* header CTA — filled gold pill so the bar reads as designed, not blank */
.nav-cta { display: inline-flex; flex: none; padding: 13px 24px; font-size: .84rem;
  background: var(--gold-navy); color: var(--navy-deep); border-color: var(--gold-navy); }
.nav-cta:hover { background: #e6cd8a; border-color: #e6cd8a; }
.caret { width: 0; height: 0; border-left: 3.5px solid transparent; border-right: 3.5px solid transparent; border-top: 4px solid currentColor; opacity: .5; margin-left: 2px; }

/* dropdowns injected by main.js */
.dropdown {
  position: absolute; top: calc(100% + 14px); left: -14px; min-width: 272px;
  background: var(--paper); border: 1px solid var(--line-2);
  border-radius: var(--radius); box-shadow: 0 18px 44px rgba(20, 35, 61, .16);
  padding: 8px; list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .16s var(--ease), transform .16s var(--ease), visibility .16s;
}
/* Each line of the menu fits on one line, and the About menu opens leftward:
   on a tablet it ran past the right edge of the screen. */
.dropdown { width: max-content; max-width: min(340px, calc(100vw - 32px)); }
.nav-list > li:nth-last-child(-n+2) > .dropdown { left: auto; right: -14px; }
/* invisible bridge across the gap so the pointer never leaves the hover zone */
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav-list > li:hover .dropdown, .nav-list > li:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 10px 14px; border-radius: 4px; font-family: var(--serif); font-size: .98rem; font-weight: 700; line-height: 1.25; color: var(--ink); }
.dropdown a:hover { background: var(--ivory-2); color: var(--navy); }
.d-desc { display: block; font-family: var(--sans); font-size: .82rem; font-weight: 400; color: var(--muted); margin-top: 3px; }

/* mobile toggle */
.nav-toggle { display: none; width: 44px; height: 40px; background: transparent; border: 1px solid rgba(255, 255, 255, .3); border-radius: var(--radius); position: relative; cursor: pointer; }
.nav-toggle-bar { position: absolute; left: 11px; right: 11px; height: 1.6px; background: #fff; transition: transform .2s var(--ease), opacity .2s; }
.nav-toggle-bar:nth-child(1) { top: 13px; }
.nav-toggle-bar:nth-child(2) { top: 19px; }
.nav-toggle-bar:nth-child(3) { top: 25px; }
.nav-backdrop { position: fixed; inset: 0; background: rgba(20, 35, 61, .4); z-index: var(--z-backdrop); }

/* ============================================================
   SECTIONS — the vertical rhythm & the two grounds
   ============================================================ */
.section { padding-block: clamp(64px, 8vw, 108px); position: relative; }
.section--white { background: var(--paper); }
.section--navy { background: var(--navy); }

/* accent-brown rule dividing adjacent light sections, for depth */
.section + .section:not(.section--navy):not(.section--white)::before,
.section--white + .section:not(.section--navy)::before,
.section + .section--white:not(.section--navy)::before {
  content: ""; position: absolute; top: 0; left: 40px; right: 40px;
  border-top: 1px solid var(--rule); opacity: .55;
}
/* a small brown diamond centred on the divider */
.section + .section:not(.section--navy):not(.section--white)::after,
.section--white + .section:not(.section--navy)::after,
.section + .section--white:not(.section--navy)::after {
  content: ""; position: absolute; top: -4px; left: 50%; transform: translateX(-50%) rotate(45deg);
  width: 7px; height: 7px; background: var(--ivory); border: 1px solid var(--rule);
}
/* gold hairlines frame the blue sections */
.section--navy { border-block: 2px solid var(--gold-navy); }

.on-navy, .section--navy { color: var(--on-navy); }
.on-navy h1, .on-navy h2, .on-navy h3, .on-navy h4 { color: var(--cream); }
.on-navy p { color: var(--on-navy-mut); }
.on-navy em { color: var(--gold-navy); font-style: italic; }

/* section title lockup — kicker rule + serif head */
.title {
  font-family: var(--display);
  font-size: clamp(2.05rem, 3.5vw, 3rem); font-weight: 400;
  letter-spacing: -.019em; line-height: 1.06; max-width: 18ch;
  padding-top: 24px; position: relative; margin-bottom: 26px;
}
.title::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 48px; border-top: 2px solid var(--gold);
}
.title em { color: var(--navy); font-style: italic; }
.on-navy .title em { color: var(--gold-navy); }
.on-navy .title::before { border-top-color: var(--gold-navy); }

.intro { font-family: var(--serif); font-size: 1.24rem; line-height: 1.5; color: var(--body); max-width: 58ch; font-weight: 400; letter-spacing: -.006em; }
.on-navy .intro { color: var(--on-navy-mut); }

.inline-link { color: var(--navy); font-weight: 600; border-bottom: 1px solid var(--line-2); padding-bottom: 1px; transition: border-color .16s; }
.inline-link:hover { border-bottom-color: var(--gold-ink); }
.inline-link--light { color: #fff; border-bottom-color: var(--line-navy); }
.inline-link--light:hover { border-bottom-color: var(--gold-navy); }

.note { font-size: .86rem; color: var(--muted); margin-top: clamp(32px, 4vw, 46px); max-width: 58ch; }
.on-navy .note { color: var(--on-navy-mut); }

/* --- centered single-column sections, OUP-style consistency --- */
.section--center .title { text-align: center; margin-inline: auto; max-width: 24ch; }
.section--center .title::before { left: 50%; transform: translateX(-50%); }
.section--center .intro { margin-inline: auto; text-align: center; }
.section--center .stat-big { text-align: center; padding: 40px 24px 8px; border-right: 0; }
.section--center .stat-big p { margin-inline: auto; }
.section--center .acc-caption { text-align: center; margin-inline: auto; }
.section--center .note { text-align: center; margin-inline: auto; }
.section--center p:has(> .btn) { text-align: center; }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding-block: clamp(72px, 10vw, 132px); }
/* centered single-column hero (no video) */
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-inner .hero-title { max-width: 16ch; margin-inline: auto; }
.hero-inner .hero-lede { max-width: 46ch; margin-inline: auto; }
.hero-inner .hero-actions { justify-content: center; }

/* ---- image hero: crossfading background photos behind the text ---- */
.hero--media { position: relative; overflow: hidden; background: var(--navy); min-height: clamp(540px, 82vh, 780px); display: grid; align-items: center; padding-block: clamp(80px, 10vw, 140px); border-bottom: 2px solid var(--gold-navy); }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.6s var(--ease); will-change: opacity; }
.hero-slide.is-active { opacity: 1; }
.hero-video-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,17,38,.72) 0%, rgba(0,17,38,.6) 42%, rgba(0,17,38,.8) 100%); }
.hero--media .hero-inner { position: relative; z-index: 2; }
.hero--media .hero-eyebrow { color: var(--gold-navy); text-shadow: 0 1px 14px rgba(0,12,28,.7); }
.hero--media .hero-eyebrow::before { border-top-color: var(--gold-navy); opacity: 1; }
.hero--media .hero-title { color: var(--cream); text-shadow: 0 1px 30px rgba(0,12,28,.45); }
.hero--media .hero-title em { color: var(--gold-navy); }
.hero--media .hero-lede { color: var(--cream); opacity: .92; }
@media (prefers-reduced-motion: reduce) { .hero-slide { transition: none; } }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 5vw, 70px); align-items: center; }
/* grid children must be allowed to shrink below intrinsic content width,
   or an image/media child forces horizontal overflow (page "zooms out") */
.hero-grid > *, .founder-grid > *, .cta-grid > *, .programs > * { min-width: 0; }
.hero-eyebrow {
  font-size: .76rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-ink); display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px;
}
.hero-eyebrow::before { content: ""; width: 34px; border-top: 1px solid var(--gold); opacity: .7; }
.hero-title {
  font-size: clamp(2.5rem, 5.2vw, 4.1rem); font-weight: 600; line-height: 1.04;
  letter-spacing: -.012em; color: var(--ink);
}
.hero-title em { color: var(--navy); font-style: italic; }
/* Hero emphasis word "extraordinary": underlined (in gold), not italic. */
.hero-em {
  position: relative; display: inline-block; font-style: normal;
  text-decoration: underline; text-decoration-color: var(--gold-navy);
  text-decoration-thickness: 2px; text-underline-offset: 8px;
}
.hero-em::after {
  content: ""; position: absolute; left: -0.05em; bottom: -0.22em; width: calc(100% + 0.42em); height: 0.36em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 22' preserveAspectRatio='none'%3E%3Cpath d='M0 13 C 70 7 140 7 190 12 S 268 17 300 14' fill='none' stroke='%2396792d' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") left center / 100% 100% no-repeat;
  clip-path: inset(0 100% 0 0);
  pointer-events: none;
}
.hero-em.is-drawn::after { clip-path: inset(0 0 0 0); transition: clip-path .9s cubic-bezier(.6, 0, .2, 1); }
@media (prefers-reduced-motion: reduce) { .hero-em.is-drawn::after { transition: none; } }
.masthead-rule { width: 60px; border-top: 2px solid var(--gold); margin: 26px 0; }
.hero-lede { font-family: var(--serif); font-size: 1.32rem; line-height: 1.55; color: var(--body); max-width: 46ch; font-weight: 400; margin-top: clamp(34px, 4vw, 50px); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 34px; }

/* hero film facade */
.hero-video {
  position: relative; display: block; min-width: 0; aspect-ratio: 16 / 10; border-radius: var(--radius-lg);
  overflow: hidden; background: var(--navy); border: 1px solid var(--line-2);
  box-shadow: 0 24px 60px -30px rgba(20, 35, 61, .5);
}
.hero-video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .92; transition: transform .5s var(--ease), opacity .3s; }
.hero-video:hover img { transform: scale(1.03); opacity: 1; }
.hero-video-play {
  position: absolute; inset: 0; margin: auto; width: 74px; height: 74px; border-radius: 50%;
  background: rgba(255, 255, 255, .95); display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(20, 35, 61, .35); transition: transform .2s var(--ease), background .2s;
}
.hero-video-play::after { content: ""; margin-left: 4px; border-left: 18px solid var(--navy); border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.hero-video:hover .hero-video-play { transform: scale(1.06); background: #fff; }
.hero-video-label {
  position: absolute; left: 16px; bottom: 14px; z-index: 2;
  font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: #fff; background: rgba(20, 35, 61, .58); padding: 7px 12px; border-radius: 999px; backdrop-filter: blur(4px);
}
.hero-video-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.hero-video.is-playing .hero-video-play, .hero-video.is-playing .hero-video-label, .hero-video.is-playing img { display: none; }

/* hero stats row */
.hero-stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: 52px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.hstat { display: flex; flex-direction: column; min-height: 140px; padding: 24px 24px; border-right: 1px solid var(--line); }
.hstat:last-child { border-right: 0; }
.hstat dt { font-family: var(--serif); font-size: 2.1rem; font-weight: 600; color: var(--navy); line-height: 1.05; letter-spacing: -.01em; }
.hstat dd { font-family: var(--sans); font-size: .82rem; color: var(--muted); margin-top: auto; padding-top: 12px; line-height: 1.45; }

/* ============================================================
   PHILOSOPHY (navy)
   ============================================================ */
.phil3 { max-width: 980px; margin-inline: auto; text-align: center; background: var(--navy); color: var(--on-navy); border-radius: 24px; padding: clamp(48px, 6vw, 82px) clamp(28px, 5vw, 64px); box-shadow: 0 34px 80px -50px rgba(0, 33, 71, .55); }
.phil3-thesis { font-family: var(--sans); font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-navy); }
.phil3-thesis em { color: var(--cream); font-style: normal; }
.phil3-quote { font-family: var(--serif); font-size: clamp(1.8rem, 3.6vw, 2.9rem); font-weight: 500; font-style: italic; line-height: 1.24; color: var(--cream); margin: 26px auto 0; max-width: 18ch; position: relative; text-wrap: balance; }
.phil3-mark { color: var(--gold-navy); font-style: normal; }
.phil3-attr { font-family: var(--sans); font-size: .86rem; color: var(--on-navy-mut); margin-top: 22px; letter-spacing: .02em; }
.phil3-principles { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 34px; list-style: none; padding: 0; margin: 40px 0 0; }
.phil3-principles li { position: relative; font-family: var(--sans); font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--on-navy-mut); padding-left: 20px; }
.phil3-principles li::before { content: ""; position: absolute; left: 0; top: 50%; width: 10px; height: 1px; margin-top: -0.5px; background: var(--gold-navy); }
/* Phone: one principle per line with the gold dash right before the words, so a
   wrapped line no longer leaves the dash stranded at the far left. */
@media (max-width: 767px) {
  .phil3-principles { flex-direction: column; align-items: center; gap: 12px; }
  .phil3-principles li { padding-left: 0; text-align: center; text-wrap: balance; }
  .phil3-principles li::before { position: static; display: inline-block; vertical-align: middle; margin: -2px 10px 0 0; }
}

/* ============================================================
   WHO WE SERVE — reveal cards
   ============================================================ */
.whb { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.whb-item {
  display: flex; flex-direction: column; justify-content: center; text-align: center;
  background: var(--paper); border: 0; cursor: pointer;
  padding: 34px 28px; min-height: 176px; transition: background .2s var(--ease);
  position: relative;
}
.whb-item:hover, .whb-item:focus-visible, .whb-item:focus { background: var(--ivory-2); }
.whb-title { display: block; font-family: var(--serif); font-size: 1.32rem; font-weight: 600; color: var(--ink); line-height: 1.2; }
.whb-reveal { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .28s var(--ease); }
.whb-reveal-inner { overflow: hidden; min-height: 0; }
.whb-item:hover .whb-reveal, .whb-item:focus-visible .whb-reveal, .whb-item:focus .whb-reveal { grid-template-rows: 1fr; }
.whb-tag { display: inline-block; margin-top: 16px; font-family: var(--sans); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); }
.whb-desc { display: block; margin-top: 8px; font-family: var(--sans); font-size: .95rem; color: var(--muted); line-height: 1.5; }

/* ============================================================
   SERVICES TEASER
   ============================================================ */
.svc-teaser { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.svc-teaser-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.svc-teaser-list li { border-bottom: 1px solid var(--line); }
.svc-teaser-list a { display: flex; align-items: center; justify-content: space-between; padding: 20px 6px; color: var(--ink); transition: padding .2s var(--ease), color .2s; }
.svc-teaser-list a:hover { padding-left: 14px; color: var(--navy); }
.svc-label { font-family: var(--serif); font-size: 1.28rem; font-weight: 500; }
.arw { color: var(--gold-ink); font-size: 1.1rem; transition: transform .2s var(--ease); }
.svc-teaser-list a:hover .arw { transform: translateX(5px); }

/* ============================================================
   FOUNDER (navy) — video + bio
   ============================================================ */
.founder-grid { display: grid; grid-template-columns: 0.9fr 1fr; gap: clamp(36px, 5vw, 68px); align-items: start; }
/* Keep the video visually anchored to the bio: stick it near the top of its
   column so the talking-head frame lines up with the founder's name. */
.founder-grid > :first-child { position: sticky; top: 96px; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: #001832; border: 1px solid var(--line-navy); box-shadow: 0 22px 55px -28px rgba(0, 0, 0, .7); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #001832; }
.video-caption { font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-navy); margin-top: 16px; }

/* Text-beside-portrait-film (Holistic services) */
.media-split { display: grid; grid-template-columns: minmax(0, 0.82fr) 1fr; gap: clamp(40px, 5vw, 72px); align-items: stretch; }
.media-split > * { min-width: 0; }
.media-portrait {
  margin: 0 0 0 -40px; position: relative; aspect-ratio: 9 / 16; width: calc(100% + 40px); max-height: 560px;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0; overflow: hidden; background: #001832;
  border: 1px solid var(--line); border-left: 0; box-shadow: 0 30px 66px -34px rgba(0,33,71,.5);
}
/* In the philosophy split the copy runs long, so the film fills the column
   height instead of floating as a short fixed portrait. */
.media-split .media-portrait {
  aspect-ratio: auto; max-height: none; height: 100%; min-height: 460px; align-self: stretch;
}
.media-portrait-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media-split-body .intro { margin-top: 16px; }

/* Full-bleed background film behind the CTA band */
.cta--film { position: relative; overflow: hidden; }
.cta-film-bg { position: absolute; inset: 0; z-index: 0; }
.cta-film-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-film-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,20,44,.86) 0%, rgba(0,20,44,.80) 50%, rgba(0,20,44,.90) 100%);
}
.cta--film > .cta-grid { position: relative; z-index: 1; }

@media (max-width: 767px) {
  .media-split { grid-template-columns: 1fr; gap: 28px; }
  .media-portrait { max-height: 460px; max-width: 340px; width: 100%; margin: 0 auto; border-left: 1px solid var(--line); border-radius: var(--radius-lg); }
}
.founder-name { font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 600; color: var(--cream); }
.founder-role { font-family: var(--sans); font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-navy); margin-top: 8px; }
.founder-bio { font-family: var(--serif); font-size: 1.18rem; line-height: 1.6; color: var(--on-navy-mut); margin-top: 24px; max-width: 46ch; }
.founder-creds { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; }
.founder-creds li { font-family: var(--sans); font-size: .95rem; color: var(--on-navy-mut); padding-left: 18px; position: relative; }
.founder-creds li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; border-top: 1px solid var(--gold-navy); }
.founder-creds b { color: var(--cream); font-weight: 600; }
.founder-more { margin-top: 26px; }

/* ============================================================
   PROGRAMS
   ============================================================ */
.programs { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.program { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 38px 34px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease); }
.program:hover { border-color: var(--navy); box-shadow: 0 18px 44px -26px rgba(20, 35, 61, .4); transform: translateY(-3px); }
.program h3 { font-size: 1.55rem; font-weight: 600; color: var(--ink); }
.kind { display: inline-block; margin-top: 8px; font-family: var(--sans); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); }
.program p { margin-top: 16px; color: var(--body); }
.feats { list-style: none; padding: 16px 0; margin: 18px 0; display: flex; flex-wrap: wrap; gap: 8px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feats li { font-family: var(--sans); font-size: .78rem; color: var(--muted); padding: 4px 12px; border: 1px solid var(--line-2); border-radius: 999px; }
.go { margin-top: 8px; }

/* ============================================================
   PROCESS
   ============================================================ */
.flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
/* Three steps fill the row instead of leaving an empty fourth cell. */
@media (min-width: 981px) { .flow:has(> .step:nth-child(3):last-child) { grid-template-columns: repeat(3, 1fr); } }
.step { background: var(--paper); padding: 34px 26px; }
.step .no { font-family: var(--serif); font-size: 1rem; font-weight: 600; color: var(--gold-ink); letter-spacing: .1em; }

/* Homepage process: an editorial numbered sequence, not boxed cards.
   Big serif numerals anchor each step; a hairline rule links them like a
   timeline. No enclosing card outlines. */
#process .flow {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(28px, 3.4vw, 56px);
  background: none; border: 0; border-radius: 0; overflow: visible; text-align: left;
  margin-top: 52px; counter-reset: step;
}
#process .step {
  background: none; padding: 30px 0 0; position: relative; counter-increment: step;
}
#process .step::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gold-ink); opacity: .32;
}
#process .step .no {
  display: block; font-size: clamp(2.4rem, 3vw, 3.2rem); font-weight: 400;
  color: var(--gold-ink); letter-spacing: -.01em; line-height: 1; margin-bottom: 18px;
}
#process .step h3 { margin-top: 0; font-size: 1.18rem; }
#process .step p { max-width: 30ch; }
/* The id selector above outranks the shared .flow breakpoints, so repeat them here:
   two steps per row on a tablet, one per row on a phone (step 04 was cut off). */
@media (max-width: 980px) { #process .flow { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { #process .flow { grid-template-columns: 1fr; } #process .step p { max-width: none; } }
.step h3 { font-size: 1.24rem; font-weight: 600; color: var(--ink); margin-top: 14px; }
.step p { font-family: var(--sans); font-size: .95rem; color: var(--muted); margin-top: 12px; line-height: 1.55; }

/* ============================================================
   OUTCOMES (navy) — quiet, no giant scoreboard
   ============================================================ */
.outcomes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line-navy); }
/* A lead paragraph above the figures no longer touches the rule. */
.intro + .outcomes { margin-top: 32px; }
/* Two stats (Admissions) sit as a centred pair instead of leaving an empty third cell. */
@media (min-width: 981px) { .outcomes:has(> .stat-big:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 340px)); justify-content: center; } }
/* Tablet: two or three figures stay in one row, as on a desktop, instead of a tall stack. */
@media (min-width: 768px) and (max-width: 980px) {
  .outcomes:not(.outcomes--row):has(> .stat-big:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 300px)); justify-content: center; }
  .outcomes:not(.outcomes--row):has(> .stat-big:nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .outcomes:not(.outcomes--row):has(> .stat-big:nth-child(-n+3):last-child) > .stat-big { border-bottom: 0; }
}
/* Four stats on a single horizontal line (homepage proof banner) */
.outcomes--row { grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line-navy); }
.section--center .outcomes--row .stat-big { padding: 30px 20px; }
.outcomes--row .stat-big .num { font-size: clamp(2.1rem, 3.4vw, 3rem); }
.outcomes--row .stat-big p { margin-top: 12px; font-size: .9rem; max-width: 20ch; }
.stat-big { padding: 40px 30px 8px 0; border-right: 1px solid var(--line-navy); }
.stat-big:last-child { border-right: 0; }
.stat-big .num { font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 3.8rem); font-weight: 500; color: var(--gold-navy); line-height: 1; letter-spacing: -.01em; }
.stat-big p { font-family: var(--sans); font-size: .98rem; color: var(--on-navy-mut); margin-top: 18px; max-width: 26ch; line-height: 1.5; }

/* ============================================================
   ACCEPTANCES — typeset names, never logos
   ============================================================ */
.acc-group { margin-top: 40px; }
.acc-group:first-of-type { margin-top: 8px; }
.acc-label { font-family: var(--sans); font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.acc-names { columns: 3; column-gap: 40px; margin-top: 20px; }
.acc-names span { display: block; break-inside: avoid; font-family: var(--serif); font-size: 1.06rem; color: var(--ink); padding: 6px 0; border-bottom: 1px solid var(--line); }
.acc-more { margin-top: 34px; }
.acc-more summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-family: var(--sans); font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); list-style: none; padding: 10px 0; }
.acc-more summary::-webkit-details-marker { display: none; }
.acc-more summary::before { content: "+"; font-size: 1.1rem; color: var(--gold-ink); line-height: 1; }
.acc-more[open] summary::before { content: "\2013"; }
.acc-caption { font-size: .86rem; color: var(--muted); margin-top: 28px; font-style: italic; max-width: 70ch; }

/* ============================================================
   TESTIMONIALS (click to advance, staggered line reveal on navy)
   ============================================================ */
.voices { padding-block: clamp(64px, 8vw, 108px); }
.voices-stage {
  max-width: 820px; margin: clamp(30px, 5vw, 50px) auto 0; text-align: center;
  background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.voices-stage:focus-visible { outline: 2px solid var(--gold-navy); outline-offset: 12px; border-radius: 10px; }
.voices-quote { margin: 0; display: flex; flex-direction: column; justify-content: center; }
.voice-q {
  font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.35rem); font-weight: 400;
  line-height: 1.4; color: #fff; text-wrap: pretty;
}
.voice-q .v-line { display: block; }
.voice-q .v-line-inner {
  display: inline-block; position: relative; top: 0;
  transition: opacity .75s ease, top .8s cubic-bezier(.2, .75, .25, 1);
}
.voices-stage.is-in .v-line-inner { opacity: 0; top: .6em; }
.voices-stage.is-out .v-line-inner { opacity: 0; top: -.35em; }
.voices-by { display: flex; flex-direction: column; gap: 4px; margin-top: clamp(24px, 3vw, 34px); position: relative; top: 0; transition: opacity .7s ease .18s, top .7s cubic-bezier(.2, .75, .25, 1) .18s; }
.voices-stage.is-in .voices-by { opacity: 0; top: .4em; }
.voices-stage.is-out .voices-by { opacity: 0; }
.voice-name { font-family: var(--sans); font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-navy); }
.voice-role { font-family: var(--sans); font-size: .9rem; color: var(--on-navy-mut); }
.voices-hint { margin-top: clamp(26px, 3vw, 38px); font-family: var(--sans); font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--on-navy-mut); transition: color .2s var(--ease); }
.voices-stage:hover .voices-hint, .voices-stage:focus-visible .voices-hint { color: var(--gold-navy); }
/* quote height is locked to the tallest testimonial per width in JS (vMeasureMax) */
@media (prefers-reduced-motion: reduce) {
  .voice-q .v-line-inner, .voices-by { transition: none !important; }
  .voices-stage.is-in .v-line-inner, .voices-stage.is-out .v-line-inner { opacity: 1; top: 0; }
  .voices-stage.is-in .voices-by, .voices-stage.is-out .voices-by { opacity: 1; top: 0; }
}

/* ============================================================
   TRUSTED NETWORK
   ============================================================ */
.cols { display: grid; gap: clamp(16px, 1.8vw, 24px); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.col { background: var(--navy); border: 1px solid var(--navy-700); border-radius: 0; padding: clamp(26px, 2.6vw, 38px); transition: border-color .3s var(--ease); }
.col:hover { border-color: var(--gold-navy); }
.col h3 { font-size: 1.2rem; color: var(--cream); padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line-navy); }
.col p { font-family: var(--sans); font-size: .92rem; color: var(--on-navy-mut); line-height: 1.6; }
#network-title { max-width: none; }
.provider-quote { margin: clamp(50px, 6vw, 78px) auto 0; max-width: 640px; text-align: center; padding: clamp(30px, 4vw, 42px) 0; background: none; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.provider-quote blockquote { font-family: var(--serif); font-size: clamp(1.2rem, 1.9vw, 1.4rem); font-style: italic; line-height: 1.5; color: var(--ink); }
.provider-quote figcaption { font-family: var(--sans); font-size: .82rem; letter-spacing: .04em; color: var(--muted); margin-top: 22px; }
.provider-quote figcaption b { color: var(--navy); font-weight: 600; }

/* Acceptances marquee (typeset names, continuous scroll, no logos) */
.acc-label--marquee { margin-top: clamp(34px, 4vw, 52px); margin-bottom: 8px; }
.acc-marquee {
  position: relative; width: 100vw; margin-left: calc(50% - 50vw); margin-top: 26px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.acc-marquee-track { display: flex; width: max-content; animation: acc-scroll 150s linear infinite; }
.acc-marquee--reverse .acc-marquee-track { animation-direction: reverse; }
.acc-marquee:hover .acc-marquee-track, .acc-marquee:focus-within .acc-marquee-track { animation-play-state: paused; }
.acc-marquee-row { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }
.acc-marquee-row li {
  display: flex; align-items: center; white-space: nowrap;
  font-family: var(--serif); font-size: clamp(1.05rem, 1.5vw, 1.4rem); color: var(--ink);
  padding-right: clamp(22px, 3vw, 44px);
}
.acc-marquee-row li::after { content: ""; width: 1px; height: 1.15em; margin-left: clamp(22px, 3vw, 44px); background: var(--line-2); flex: none; }
@keyframes acc-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .acc-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .acc-marquee-track { animation: none; }
  .acc-marquee-row[aria-hidden="true"] { display: none; }
}

/* ============================================================
   CTA + INTAKE FORM
   ============================================================ */
.cta-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 5vw, 72px); align-items: start; }
.cta-title { font-size: clamp(1.9rem, 3.4vw, 2.75rem); font-weight: 600; color: var(--cream); line-height: 1.14; }
.cta-sub { font-family: var(--serif); font-size: 1.22rem; line-height: 1.55; color: var(--on-navy-mut); margin-top: 22px; max-width: 42ch; }
.cta-aside { font-family: var(--sans); font-size: .9rem; color: var(--on-navy-mut); margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line-navy); }

/* ------------------------------------------------------------
   Full-width CTA strip — a warm, centered band above the footer
   on every content page (injected by main.js). Deliberately a
   different ground from the navy footer.
   ------------------------------------------------------------ */
.cta-strip { background: var(--ivory-2); border-top: 2px solid var(--rule); padding-block: clamp(52px, 6vw, 84px); text-align: center; }
.cta-strip-inner { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.cta-strip-kicker { font-family: var(--sans); font-size: .8125rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); }
.cta-strip-title { font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 600; color: var(--ink); line-height: 1.14; max-width: 22ch; }
.cta-strip .btn { flex: none; }

.panel { background: var(--paper); border-radius: var(--radius-lg); padding: clamp(28px, 3vw, 40px); box-shadow: 0 30px 70px -40px rgba(0, 0, 0, .6); }
/* A light .panel can sit inside an .on-navy section (e.g. the homepage
   #consult form). Without this, .on-navy h1-4 / p leak white text onto the
   light card and hide the form success message. Restore dark-on-light. */
.on-navy .panel { color: var(--body); }
.on-navy .panel h1, .on-navy .panel h2, .on-navy .panel h3, .on-navy .panel h4,
.on-navy .panel .success-title { color: var(--ink); }
.on-navy .panel p { color: var(--body); }
.on-navy .panel .success-body, .on-navy .panel .form-reassure, .on-navy .panel .optional { color: var(--muted); }
.on-navy .panel .field-error { color: #a8412f; } /* keep validation/submit errors red, not leaked white */
.intake-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.intake-form[hidden] { display: none; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label, .field-legend { font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: .04em; color: var(--ink); }
.optional { color: var(--muted); font-weight: 400; text-transform: none; letter-spacing: 0; }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: .98rem; color: var(--ink);
  background: var(--ivory); border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: 12px 14px; width: 100%; transition: border-color .16s, box-shadow .16s, background .16s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 1; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy); background: #fff;
  box-shadow: 0 0 0 3px rgba(150, 121, 45, .18);
}
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #a8412f; box-shadow: 0 0 0 3px rgba(168, 65, 47, .12); }
.field-error { font-family: var(--sans); font-size: .78rem; color: #a8412f; }
.select-wrap { position: relative; }
.select-wrap::after { content: ""; position: absolute; right: 15px; top: 50%; margin-top: -2px; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid var(--muted); pointer-events: none; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 34px; cursor: pointer; }
.field-legend { margin-bottom: 4px; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; margin-top: 8px; }
.check { display: flex; align-items: center; gap: 9px; font-family: var(--sans); font-size: .9rem; font-weight: 400; color: var(--body); letter-spacing: 0; text-transform: none; cursor: pointer; }
.check input { accent-color: var(--navy); width: 16px; height: 16px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 6px; }
.form-reassure { font-family: var(--sans); font-size: .82rem; color: var(--muted); max-width: 34ch; }

.intake-success { text-align: center; padding: 30px 10px; }
.success-mark { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: rgba(20, 35, 61, .06); color: var(--navy); border: 1px solid var(--line-2); }
.success-title { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--ink); margin-top: 18px; }
.success-body { font-family: var(--sans); font-size: .96rem; color: var(--muted); margin-top: 12px; max-width: 42ch; margin-inline: auto; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy); color: var(--on-navy-mut); padding-block: 64px 30px; border-top: 2px solid var(--gold-navy); }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px; }
/* Phone: the brand takes the full width and the three link columns wrap in pairs,
   so the Contact column no longer runs off the right edge. */
@media (max-width: 767px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 34px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  /* the Contact column sat alone in half the width and broke its two short lines */
  .footer-inner > .footer-col:last-child:nth-child(4) { grid-column: 1 / -1; }
}
/* Tablet: four columns were too tight (links broke onto two lines, "Call" alone);
   the brand takes the first row and the three link columns share the second. */
@media (min-width: 768px) and (max-width: 980px) {
  .footer-inner { grid-template-columns: repeat(3, 1fr); gap: 34px 32px; }
  .footer-brand { grid-column: 1 / -1; }
}
/* (removed unused footer text-logo overrides) */
.footer-tagline { font-family: var(--sans); font-size: .92rem; color: var(--on-navy-mut); margin-top: 18px; max-width: 40ch; line-height: 1.6; }
.footer-confidential { font-size: .82rem; color: rgba(255, 255, 255, .7); margin-top: 16px; max-width: 40ch; }
.footer-head { font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-navy); margin-bottom: 16px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer-link { font-family: var(--sans); font-size: .92rem; color: var(--on-navy-mut); border-bottom: 1px solid transparent; }
.footer-link:hover { color: #fff; border-bottom-color: var(--gold-navy); }
.footer-quiet .ph { font-size: .9rem; color: rgba(255, 255, 255, .7); font-style: italic; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line-navy); }
.footer-base p { font-family: var(--sans); font-size: .8rem; color: rgba(255, 255, 255, .7); }
.footer-staff { font-family: var(--sans); font-size: .8rem; color: rgba(255, 255, 255, .5); text-decoration: none; }
.footer-staff:hover, .footer-staff:focus-visible { color: rgba(255, 255, 255, .85); text-decoration: underline; }

/* Outcomes methodology note (sits on navy) */
.outcomes-note { font-family: var(--sans); font-size: .8rem; color: var(--on-navy-mut); margin-top: 34px; max-width: 54ch; margin-inline: auto; text-align: center; }

/* Persistent, quiet mobile CTA to the intake form (mobile only) */
.mobile-cta { display: none; }
@media (max-width: 767px) {
  .mobile-cta {
    position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    z-index: var(--z-cta); display: block; text-align: center;
    font-family: var(--sans); font-weight: 600; font-size: .95rem; letter-spacing: .01em;
    color: var(--on-navy); background: var(--navy); border: 1px solid var(--gold-navy);
    padding: 14px 18px; border-radius: var(--radius); box-shadow: 0 12px 30px -10px rgba(0, 33, 71, .55);
    transform: translateY(160%); transition: transform .45s var(--ease);
  }
  .mobile-cta.is-visible { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) { .mobile-cta { transition: none; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero-grid, .svc-teaser, .founder-grid, .cta-grid, .programs { grid-template-columns: 1fr; }
  .hero-video { order: -1; }
  .whb, .flow { grid-template-columns: repeat(2, 1fr); }
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .outcomes { grid-template-columns: 1fr; }
  .outcomes--row { grid-template-columns: repeat(2, 1fr); }
  .outcomes--row .stat-big { border-right: 1px solid var(--line-navy); }
  .outcomes--row .stat-big:nth-child(2n) { border-right: 0; }
  .stat-big { border-right: 0; border-bottom: 1px solid var(--line-navy); padding-block: 30px; }
  .acc-names { columns: 2; }
  .founder-grid .video { order: -1; }
}
@media (max-width: 767px) {
  .container { padding-inline: 22px; }
  .nav-toggle { display: block; }
  .primary-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: var(--z-drawer);
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 12px 22px 22px; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  }
  .primary-nav.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; }
  .nav-link { padding: 15px 0; font-size: .92rem; letter-spacing: .12em; color: var(--ink); }
  .nav-link:hover, .nav-link.active { color: var(--navy); border-bottom-color: var(--gold-ink); }
  .site-header .outbound { color: var(--gold-ink); }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px 12px; min-width: 0; width: auto; max-width: none; }
  .nav-cta { margin-top: 16px; justify-content: center; }
  .hero-stats-row { grid-template-columns: 1fr 1fr; }
  .hstat:nth-child(2n) { border-right: 0; }
  .whb, .flow, .cols-4, .checks, .intake-form { grid-template-columns: 1fr; }
  .acc-names { columns: 1; }
  .hstat dt { font-size: 2rem; }
}

/* ============================================================
   MOTION / PRINT
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ============================================================
   LIBRE CASLON TUNING
   Caslon is most refined un-bolded — headings run at regular
   weight; the hero uses the high-contrast Display cut. Emphasis
   comes from true Caslon italics, not bold.
   ============================================================ */
.hero-title, .title, .whb-title, .svc-label, .founder-name, .program h3,
.step h3, .col h3, .cta-title, .success-title, .hstat dt, .stat-big .num,
.phil3-quote, .provider-quote blockquote { font-weight: 400; }
.hero-title { font-family: var(--display); letter-spacing: -.004em; }

/* Accent italics use Cormorant — a more elegant italic than Caslon Text.
   Cormorant sets smaller/lighter, so nudge weight and size to match the
   surrounding display serif. */
.hero-title em, .title em, .page-hero h1 em, .img-hero h1 em,
.on-navy .title em, .phil3--statement .phil3-quote em, .cta-title em {
  font-family: var(--italic); font-style: italic; font-weight: 500;
  font-size: 1.08em; letter-spacing: 0;
}

/* ============================================================
   INNER PAGES (subpages) — same system, page-specific parts
   ============================================================ */
.page-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(30px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.page-hero .eyebrow { display: inline-flex; align-items: center; gap: 12px; }
.page-hero .eyebrow::before { content: ""; width: 30px; border-top: 1px solid var(--gold); }
.page-hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2.2rem, 4.6vw, 3.5rem); line-height: 1.06; letter-spacing: -.006em; color: var(--ink); margin-top: 18px; max-width: 20ch; }
.page-hero h1 em { font-family: var(--serif); font-style: italic; color: var(--navy); }
.page-hero > .container > p { font-family: var(--serif); font-size: 1.22rem; line-height: 1.55; color: var(--body); max-width: 60ch; margin-top: 20px; }
/* split page-hero: text left, credibility video right */
.ph-split { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(36px, 5vw, 64px); align-items: center; }
.ph-split h1 + p { font-family: var(--serif); font-size: 1.18rem; line-height: 1.55; color: var(--body); margin-top: 16px; max-width: 44ch; }
.ph-split .video { margin-top: 0; }
.ph-media { position: relative; aspect-ratio: 3 / 2; border-radius: var(--radius-lg); overflow: hidden; background: #001832; border: 1px solid var(--line-navy); box-shadow: 0 22px 55px -28px rgba(0, 0, 0, .6); display: grid; place-items: center; }
.ph-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph-media::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(175deg, rgba(0, 33, 71, .04) 40%, rgba(0, 33, 71, .34) 100%); }
.ph-media:empty::after { content: "Photograph pending"; z-index: 2; font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-navy); }
@media (max-width: 900px) { .ph-split { grid-template-columns: 1fr; } }
.eyebrow { font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--gold-ink); }
.kicker { font-family: var(--sans); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); }
.ph { font-style: italic; color: var(--muted); }

/* Services grid */
.svc-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.svc-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 32px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease); }
.svc-card:hover { border-color: var(--navy); box-shadow: 0 18px 44px -26px rgba(0,33,71,.4); transform: translateY(-3px); }
.svc-card h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; color: var(--ink); margin-top: 10px; }
.svc-card p { color: var(--body); margin-top: 12px; }
.svc-card .more { margin-top: 18px; }
.tags-row { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags-row li { font-family: var(--sans); font-size: .76rem; color: var(--muted); padding: 4px 12px; border: 1px solid var(--line-2); border-radius: 999px; transition: border-color .15s, background .15s; }
.tags-row li a { color: var(--navy); display: block; }
.tags-row li:hover { border-color: var(--navy); background: rgba(0, 33, 71, .04); }
.more { margin-top: 16px; }

/* About — founder portrait + mentors */
.founder-portrait { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy); border: 1px solid var(--line-navy); display: grid; place-items: center; }
.founder-portrait.arch { border-radius: 200px 200px var(--radius-lg) var(--radius-lg); }
.founder-portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.founder-portrait .monogram { font-family: var(--display); font-size: 3.4rem; color: var(--gold-navy); letter-spacing: .06em; }
.mentors-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; margin-top: 30px; }
.mentor { background: var(--paper); padding: 26px 24px; display: flex; flex-direction: column; }
.mentor.director { grid-column: span 4; }
.mentor.tier2 { grid-column: span 3; }
.mentor .role { font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); }
.mentor h3 { font-family: var(--serif); font-size: 1.24rem; font-weight: 400; color: var(--ink); margin-top: 8px; }
.mentor .specialties { font-family: var(--sans); font-size: .88rem; line-height: 1.5; color: var(--body); margin-top: 10px; }
.mentor .cred { font-family: var(--sans); font-size: .9rem; color: var(--muted); margin-top: auto; padding-top: 12px; }

/* More of the team — continuous auto-scrolling tutor carousel (does NOT touch .mentor.director).
   CSS transform marquee: main.js clones the cards for a doubled list, then the track slides
   translateX(-50%) on a loop so it never visibly resets. Pauses on hover. Reliable + smooth
   (a JS scrollLeft ticker fights scroll-snap and stutters, so we don't use it). */
.tutor-marquee { margin-top: 30px; overflow: hidden; }
.tutor-marquee-track { display: flex; width: max-content; padding: 14px 4px 24px; animation: tutor-scroll 42s linear infinite; }
.tutor-marquee:hover .tutor-marquee-track,
.tutor-marquee:focus-within .tutor-marquee-track { animation-play-state: paused; }
@keyframes tutor-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.mentor.tier2 {
  flex: 0 0 320px;
  margin-right: 34px; /* margin (not gap) so the doubled list's -50% loop is seamless */
  background: #FCFAF6;
  border: 1px solid var(--line); /* warm hairline, matches the site palette */
  border-radius: 8px;
  /* restrained offset accent + a soft ambient lift — modern but in the luxury register */
  box-shadow: 2px 3px 0 oklch(32% 0.11 255 / 0.22), 0 8px 20px -14px rgba(0,33,71,.25);
  padding: 34px 30px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.mentor.tier2:hover {
  transform: translateY(-3px);
  box-shadow: 3px 5px 0 oklch(32% 0.11 255 / 0.3), 0 14px 28px -14px rgba(0,33,71,.28);
}
.mentor.tier2 .role { font-family: var(--sans); font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); }
.mentor.tier2 h3 { font-family: var(--serif); font-size: 24px; font-weight: 400; color: var(--navy); margin-top: 10px; }
.mentor.tier2 .specialties { font-family: var(--sans); font-size: 14.5px; line-height: 1.5; color: #5c6470; margin-top: 12px; }
.mentor.tier2 .rule { display: block; width: 28px; height: 1.5px; background: oklch(62% 0.1 75); border: 0; margin-top: auto; margin-bottom: 14px; }
.mentor.tier2 .cred { font-family: var(--sans); font-size: 13px; color: var(--muted); margin-top: 0; padding-top: 0; }

/* Service detail */
.detail-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(30px, 5vw, 60px); align-items: start; }
.prose-block h2 { font-family: var(--serif); font-weight: 400; font-size: 1.55rem; color: var(--ink); margin-bottom: 8px; }
.prose-block p { color: var(--body); margin-top: 12px; }
.prose-block p:first-of-type { margin-top: 0; }
.includes { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 10px; }
.includes li { font-family: var(--sans); font-size: .98rem; color: var(--body); padding-left: 22px; position: relative; }
.includes li::before { content: ""; position: absolute; left: 0; top: .7em; width: 10px; height: 1px; background: var(--gold); }
.related { background: var(--ivory-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 30px; max-width: 760px; }
.related h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; color: var(--ink); margin-top: 8px; }
.related p { color: var(--body); margin-top: 12px; }
.svc-support-label { font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.svc-more { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 14px; }

/* Insights */
.rail-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.rail-arrows { display: flex; gap: 10px; }
.rail-arrows .v-arrow { border-color: var(--line-2); color: var(--navy); }
.rail-arrows .v-arrow:hover { border-color: var(--navy); background: rgba(0,33,71,.04); }
.blog-rail { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 24px 2px 8px; scrollbar-width: none; }
.blog-rail::-webkit-scrollbar { display: none; }
.blog-card { flex: 0 0 320px; scroll-snap-align: start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 26px; }
.blog-card h3 { font-family: var(--serif); font-size: 1.32rem; font-weight: 400; color: var(--ink); margin-top: 14px; }
.blog-card p { color: var(--muted); font-size: .96rem; margin-top: 10px; }
.blog-meta { display: inline-block; margin-top: 16px; font-family: var(--sans); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); }
.draft { display: inline-block; font-family: var(--sans); font-size: .64rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line-2); border-radius: 999px; padding: 3px 10px; }
.insights-list { border-top: 1px solid var(--line); margin-top: 20px; }
.post { display: flex; align-items: flex-start; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.post h3 { font-family: var(--serif); font-size: 1.24rem; font-weight: 400; color: var(--ink); }
.post p { color: var(--muted); font-size: .95rem; margin-top: 4px; }
.insights-note { font-size: .9rem; color: var(--muted); font-style: italic; margin-top: 26px; max-width: 66ch; }

/* ============================================================
   Insights: featured essay — full-bleed navy band
   ============================================================ */
.feature-band { padding-block: clamp(56px, 7vw, 96px); overflow: hidden; }
.feature-hero {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 4vw, 60px);
  align-items: stretch; color: var(--cream); border-radius: var(--radius-lg);
}
/* --- image side --- */
.fh-media {
  position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden;
  min-height: clamp(280px, 34vw, 460px); border: 1px solid var(--line-navy);
  box-shadow: 0 40px 80px -48px rgba(0,0,0,.7);
}
.fh-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.92) contrast(1.02);
  transition: transform .6s var(--ease);
}
.fh-media::after { /* navy wash so the gold index + cream text read as one piece */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(0,33,71,.12) 0%, rgba(0,33,71,.62) 100%);
}
.fh-index {
  position: absolute; left: clamp(16px, 2vw, 26px); bottom: clamp(6px, 1vw, 12px); z-index: 1;
  font-family: var(--serif); font-size: clamp(4rem, 9vw, 8.5rem); line-height: .8;
  font-weight: 400; color: transparent; -webkit-text-stroke: 1.5px var(--gold-navy);
  opacity: .9; letter-spacing: -.02em; pointer-events: none;
}
.feature-hero:hover .fh-media img { transform: scale(1.045); }

/* --- text side --- */
.fh-body { display: flex; flex-direction: column; justify-content: center; padding: clamp(4px, 1vw, 12px) 0; }
.fh-eyebrow {
  font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold-navy); display: inline-flex; align-items: center; gap: 10px;
}
.fh-sep { opacity: .6; }
.fh-kicker {
  font-family: var(--sans); font-size: .74rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--cream); opacity: .82; margin-top: 22px;
}
.fh-title {
  font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.15rem); font-weight: 400;
  line-height: 1.08; letter-spacing: -.01em; color: var(--cream); margin-top: 14px;
}
.fh-deck {
  font-family: var(--serif); font-size: clamp(1.08rem, 1.5vw, 1.28rem); line-height: 1.55;
  color: var(--cream); opacity: .9; margin-top: 20px; max-width: 46ch;
}
.fh-cta {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 30px;
  font-family: var(--sans); font-weight: 600; font-size: 1rem; color: var(--gold-navy);
}
.fh-cta-text { border-bottom: 1px solid rgba(216,189,119,.45); padding-bottom: 3px; transition: border-color .2s var(--ease); }
.fh-arrow { transition: transform .25s var(--ease); }
.fh-time {
  margin-left: 4px; padding-left: 14px; border-left: 1px solid var(--line-navy);
  font-weight: 500; font-size: .85rem; color: var(--cream); opacity: .7; letter-spacing: .02em;
}
.feature-hero:hover .fh-cta-text { border-bottom-color: var(--gold-navy); }
.feature-hero:hover .fh-arrow { transform: translateX(5px); }

@media (max-width: 820px) {
  .feature-hero { grid-template-columns: 1fr; gap: 26px; }
  .fh-media { min-height: clamp(220px, 52vw, 340px); }
}

/* ============================================================
   Insights: the reading room — filterable library
   ============================================================ */
.lib-head { max-width: 62ch; }
.lib-intro { color: var(--body); font-size: 1.06rem; line-height: 1.6; margin-top: 14px; }

/* --- Filter controls --- */
.lib-controls { margin-top: 34px; display: grid; gap: 20px; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.lib-filter { display: flex; flex-wrap: wrap; gap: 10px; }

/* topic chips — pill outline, navy-fills when active */
.lib-chip {
  font-family: var(--sans); font-size: .84rem; font-weight: 600; color: var(--navy);
  background: transparent; border: 1px solid var(--line-2); border-radius: 999px;
  padding: 9px 17px; cursor: pointer; line-height: 1;
  transition: border-color .16s var(--ease), background .16s var(--ease), color .16s var(--ease), box-shadow .16s var(--ease);
}
.lib-chip:hover { border-color: var(--navy); background: rgba(0,33,71,.04); }
.lib-chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 8px 20px -12px rgba(0,33,71,.5); }

/* format — a quieter segmented control, echoing the "Read / Listen" toggle */
.lib-formatline { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.lib-formatlabel { font-family: var(--sans); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); }
.lib-filter--format { gap: 4px; background: rgba(0,33,71,.05); border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.lib-seg {
  font-family: var(--sans); font-size: .82rem; font-weight: 600; color: var(--navy);
  background: transparent; border: 0; border-radius: 999px; padding: 8px 15px; cursor: pointer; line-height: 1;
  transition: background .16s var(--ease), color .16s var(--ease);
}
.lib-seg:hover { color: var(--gold-ink); }
.lib-seg.is-active { background: var(--paper); color: var(--navy); box-shadow: 0 2px 8px -3px rgba(0,33,71,.35); }

/* --- Card grid --- */
.lib-grid { margin-top: 30px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.lib-card {
  position: relative; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
/* category-coloured top rule — the accent bar from the reference, in-house palette */
.lib-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--gold); }
.lib-card[data-topic="learning"]::before  { background: var(--navy); }
.lib-card[data-topic="admissions"]::before { background: var(--gold); }
.lib-card[data-topic="executive"]::before  { background: var(--navy-600); }
.lib-card[data-topic="fit"]::before         { background: var(--gold-2); }
.lib-card[data-topic="strategy"]::before    { background: var(--gold-ink); }
.lib-card:hover { border-color: var(--navy); box-shadow: 0 22px 46px -30px rgba(0,33,71,.4); transform: translateY(-3px); }

.lib-card-link { display: flex; flex-direction: column; height: 100%; padding: 26px 24px 24px; }
.lib-cat { font-family: var(--sans); font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); }
.lib-card-title { font-family: var(--serif); font-size: 1.28rem; font-weight: 400; line-height: 1.18; color: var(--ink); margin-top: 12px; }
.lib-card-deck { color: var(--muted); font-size: .95rem; line-height: 1.5; margin-top: 10px; }
.lib-meta { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 20px; font-family: var(--sans); font-size: .8rem; color: var(--body); }
.lib-fmt { font-weight: 600; }
.lib-dot { color: var(--line-2); }
a.lib-card-link:hover .lib-card-title { color: var(--navy); }

/* "In preparation" sits by the category, replacing the read-CTA of live pieces */
.lib-card .draft { margin-top: 12px; }
.lib-card-link .lib-cat + .draft { margin-left: 10px; }

.lib-card.is-hidden { display: none; }
.lib-empty { margin-top: 34px; font-size: 1rem; color: var(--body); max-width: 60ch; }

@media (max-width: 1080px) { .lib-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px)  { .lib-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  {
  .lib-grid { grid-template-columns: 1fr; }
  .lib-filter--format { width: 100%; }
  .lib-seg { flex: 1; text-align: center; }
}

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 5vw, 64px); align-items: start; }
.contact-details { display: grid; gap: 18px; margin-top: 32px; border-top: 1px solid var(--line); padding-top: 24px; }
.contact-details > div { display: grid; gap: 3px; }
.contact-details dt { font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); }
.contact-details dd { font-family: var(--serif); font-size: 1.08rem; color: var(--ink); }

@media (max-width: 900px) {
  .svc-cards, .detail-grid, .contact-grid, .mentors-grid { grid-template-columns: 1fr; }
  /* Phones and tablets: the form comes first on Contact, What to expect follows it. */
  .contact-grid > .panel { order: -1; }
  .mentor.director, .mentor.tier2 { grid-column: auto; }
  .founder-portrait.arch { border-radius: 150px 150px var(--radius-lg) var(--radius-lg); }
  .blog-card { flex-basis: 82%; }
}
/* Tablet: the four Admissions strands stay two by two, as on a desktop. */
@media (min-width: 768px) and (max-width: 900px) { .svc-cards { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   About pages: Our Story · The Team · The Method
   ============================================================ */
.narrow { max-width: 760px; }
.prose { margin-top: 26px; max-width: 66ch; }
.prose p { font-family: var(--serif); font-size: 1.1rem; line-height: 1.68; color: var(--body); margin-top: 18px; }
.prose p:first-child { margin-top: 0; }

/* Five-step method flow */
.flow-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1000px) { .flow-5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .flow-5 { grid-template-columns: 1fr; } }
/* Tablet: a two-column grid with an odd number of boxes left an empty cell after the
   last one. The last box now takes the whole row, and three short audience boxes keep
   their three columns. */
@media (min-width: 561px) and (max-width: 1000px) {
  .flow-5 > .step:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 768px) and (max-width: 980px) {
  .flow > .step:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .whb:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 561px) and (max-width: 1000px) {
  .flow > .step:last-child:nth-child(odd) p { max-width: 62ch; }
}

/* Sibling links between the three About pages */
.about-more { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; margin-top: clamp(32px, 4vw, 46px); }
.about-more a { background: var(--paper); padding: 26px 28px; display: block; transition: background .18s var(--ease); }
.about-more a:hover { background: var(--ivory-2); }
.about-more .k { display: block; font-family: var(--sans); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); }
.about-more .t { display: block; font-family: var(--serif); font-size: 1.3rem; color: var(--ink); margin-top: 8px; text-wrap: balance; }
.about-more .t::after { content: "\00a0\2192"; color: var(--gold-ink); }
@media (max-width: 560px) { .about-more { grid-template-columns: 1fr; } }

/* Testimonial cards (Results page) */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 20px; }
.quotes-group-head {
  font-family: var(--sans); font-size: .78rem; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase; color: var(--gold-ink);
  margin: 40px 0 4px; padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.quote-card { background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--rule); border-radius: var(--radius-lg); padding: 30px 32px; }
.quote-card blockquote { font-family: var(--serif); font-size: 1.14rem; line-height: 1.55; color: var(--ink); font-style: italic; text-wrap: pretty; }
.quote-card blockquote::before { content: "\201C"; color: var(--rule); font-size: 1.4em; line-height: 0; vertical-align: -.2em; margin-right: .06em; }
.quote-card figcaption { font-family: var(--sans); font-size: .82rem; letter-spacing: .03em; color: var(--muted); margin-top: 18px; text-wrap: balance; }
.quote-card figcaption b { color: var(--navy); font-weight: 600; }
@media (max-width: 760px) { .quotes { grid-template-columns: 1fr; } }

/* ============================================================
   HOMEPAGE — proof, persuasion, method, team, insights, FAQ
   ============================================================ */
/* proof strip: destination names marquee on navy */
.proof-strip .acc-marquee { margin-top: clamp(30px, 4vw, 44px); }
.proof-strip .acc-marquee-row li { color: var(--on-navy-mut); }
.proof-strip .acc-marquee-row li::after { background: var(--line-navy); }
.proof-strip .acc-label { color: var(--gold-navy); }

/* ============================================================
   INSIGHTS — featured essay card + long-form article
   ============================================================ */
/* featured essay card on the Insights index */
.feature-post { display: block; background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--rule); border-radius: var(--radius-lg); padding: clamp(30px, 4vw, 52px); max-width: 900px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease); }
.feature-post:hover { border-color: var(--navy); box-shadow: 0 24px 54px -32px rgba(0,33,71,.4); transform: translateY(-2px); }
.fp-kicker { font-family: var(--sans); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); }
.fp-title { font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 400; color: var(--ink); margin-top: 14px; line-height: 1.12; }
.fp-deck { font-family: var(--serif); font-size: 1.18rem; line-height: 1.55; color: var(--body); margin-top: 16px; max-width: 62ch; }
.fp-more { display: inline-block; margin-top: 22px; font-family: var(--sans); font-weight: 600; font-size: .95rem; color: var(--navy); border-bottom: 1px solid var(--line-2); padding-bottom: 2px; }
.feature-post:hover .fp-more { border-bottom-color: var(--gold-ink); }

/* long-form article */
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 22px; font-family: var(--sans); font-size: .86rem; color: var(--muted); }
.article-meta .am-cat { font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .72rem; color: var(--gold-ink); }
.article-meta .am-dot { color: var(--line-2); }
.prose h2 { font-family: var(--serif); font-size: clamp(1.3rem, 2.1vw, 1.65rem); font-weight: 600; color: var(--ink); margin-top: 42px; line-height: 1.2; }
.prose em { font-style: italic; }
.prose .pull { font-family: var(--serif); font-style: italic; font-size: clamp(1.45rem, 2.6vw, 2rem); line-height: 1.3; color: var(--ink); border-left: 3px solid var(--rule); padding-left: clamp(20px, 3vw, 32px); margin: clamp(36px, 5vw, 52px) 0; max-width: 26ch; }
.prose .lede-first::first-letter { }
.article-ref { max-width: 66ch; margin: clamp(40px, 5vw, 60px) 0 0; padding-top: 26px; border-top: 1px solid var(--line); font-family: var(--sans); font-size: .86rem; line-height: 1.6; color: var(--muted); }
.article-ref b { color: var(--ink); font-weight: 600; }
.article-ref-link { display: block; margin-top: 10px; color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.article-ref-label { display: block; margin-bottom: 6px; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.article-ref-apa { display: block; padding-left: 2em; text-indent: -2em; color: var(--ink); }
.article-ref-apa i { font-style: italic; }
.article-ref-url { color: inherit; overflow-wrap: anywhere; }
.article-ref-note { display: block; margin-top: 10px; }
.article-back { margin-top: 30px; }
/* compact article header (less vertical space) */
.page-hero--tight { padding-block: clamp(24px, 3.4vw, 40px) clamp(4px, 1.4vw, 12px); border-bottom: 0; }
.page-hero--tight h1 { font-size: clamp(1.85rem, 3.4vw, 2.7rem); margin-top: 8px; max-width: 26ch; }
.page-hero--tight > .container > p { font-size: 1.12rem; line-height: 1.5; margin-top: 12px; }
.page-hero--tight .article-meta { margin-top: 14px; }

/* ============================================================
   SERVICES PAGE — image-driven, dark layout
   ============================================================ */
/* image hero: text left, photo bleeding right, navy scrim */
.img-hero { position: relative; overflow: hidden; background: var(--navy); min-height: clamp(460px, 64vh, 620px); display: grid; align-items: center; border-bottom: 2px solid var(--gold-navy); }
.img-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center right; }
.img-hero-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,17,38,.96) 0%, rgba(0,17,38,.84) 30%, rgba(0,17,38,.38) 60%, rgba(0,17,38,.12) 100%); }
.img-hero .container { position: relative; z-index: 2; }
.img-hero-eyebrow { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--gold-navy); letter-spacing: .01em; }
.img-hero h1 { font-family: var(--display); font-weight: 400; color: var(--cream); font-size: clamp(2.3rem, 4.8vw, 3.9rem); line-height: 1.05; letter-spacing: -.004em; max-width: 15ch; margin-top: 16px; }
.img-hero .img-hero-lede { font-family: var(--serif); font-size: 1.2rem; line-height: 1.55; color: var(--on-navy-mut); max-width: 44ch; margin-top: 20px; }
.img-hero .btn { margin-top: 30px; }
@media (max-width: 720px) { .img-hero-scrim { background: linear-gradient(180deg, rgba(0,17,38,.66), rgba(0,17,38,.88)); } }

/* split: prose + tilted, rounded photo */
.svc-split { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.svc-split > * { min-width: 0; }
.svc-split h2 { max-width: 18ch; }
.svc-split-media { position: relative; aspect-ratio: 5 / 6; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 34px 74px -34px rgba(0,0,0,.65); transform: rotate(1.6deg); }
.svc-split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc-split-media::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-lg); border: 1px solid var(--line-navy); }
@media (max-width: 820px) { .svc-split { grid-template-columns: 1fr; } .svc-split-media { transform: none; order: -1; aspect-ratio: 3 / 2; } }

/* pillars: image with overlaid title + services accordion */
.pillars { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(30px, 4vw, 60px); align-items: start; }
.pillars > * { min-width: 0; }
.pillars-media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; }
.pillars-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pillars-media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,17,38,.62), rgba(0,17,38,.12) 46%); }
.pillars-media .pm-title { position: absolute; top: 26px; left: 28px; right: 28px; z-index: 2; font-family: var(--display); font-weight: 400; color: var(--cream); font-size: clamp(1.4rem, 2vw, 1.95rem); line-height: 1.1; }
.pillar { border-top: 1px solid var(--line-navy); }
.pillar:last-of-type { border-bottom: 1px solid var(--line-navy); }
.pillar > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 4px; font-family: var(--serif); font-size: clamp(1.15rem, 1.5vw, 1.42rem); color: var(--cream); transition: color .15s var(--ease); }
.pillar > summary:hover { color: #fff; }
.pillar > summary::-webkit-details-marker { display: none; }
.pillar-icon { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--gold-navy); color: var(--gold-navy); position: relative; transition: background .2s var(--ease), color .2s var(--ease); }
.pillar-icon::before, .pillar-icon::after { content: ""; position: absolute; top: 50%; left: 50%; background: currentColor; }
.pillar-icon::before { width: 12px; height: 1.5px; transform: translate(-50%,-50%); }
.pillar-icon::after { width: 1.5px; height: 12px; transform: translate(-50%,-50%); transition: transform .2s var(--ease); }
.pillar[open] .pillar-icon { background: var(--gold-navy); color: var(--navy); }
.pillar[open] .pillar-icon::after { transform: translate(-50%,-50%) scaleY(0); }
.pillar-body { padding: 0 4px 26px; font-family: var(--sans); font-size: 1rem; line-height: 1.62; color: var(--on-navy-mut); max-width: 62ch; }
.pillar-body .inline-link { color: var(--cream); border-bottom-color: var(--line-navy); }
.pillar-body .inline-link:hover { border-bottom-color: var(--gold-navy); }
@media (max-width: 820px) { .pillars { grid-template-columns: 1fr; } .pillars-media { aspect-ratio: 16 / 9; } }

/* ---- Private tutor profile pages ---- */
.tp-cv { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 0; }
.tp-cv li { display: grid; grid-template-columns: 8.5rem 1fr; gap: 20px; padding: 16px 0; border-top: 1px solid var(--line); align-items: baseline; }
.tp-cv li:last-child { border-bottom: 1px solid var(--line); }
.tp-cv .yr { font-family: var(--sans); font-size: .82rem; font-weight: 700; letter-spacing: .06em; color: var(--gold-ink); }
.tp-cv .what { font-family: var(--serif); font-size: 1.08rem; line-height: 1.5; color: var(--ink); }
.tp-cv .what span { display: block; font-family: var(--sans); font-size: .92rem; color: var(--muted); margin-top: 3px; }
@media (max-width: 620px) { .tp-cv li { grid-template-columns: 1fr; gap: 4px; } }
.tp-cv-actions { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }
.tp-video-caption { font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 16px; text-align: center; }

/* Tutor profile: bio without a portrait column */
.founder-body--full { max-width: 62ch; }
.founder-body--full .founder-bio { max-width: none; }

/* ================= Password gate (client-side) ================= */
/* NOTE: deters casual access only; passcode is present in page JS. Not real security. */
.gate { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; background: var(--navy); padding: 24px; }
.gate[hidden] { display: none; }
.gate-card { width: min(420px, 100%); text-align: center; }
.gate-card .wordmark { justify-content: center; margin-bottom: 26px; }
.gate-card h1 { font-family: var(--display); font-weight: 400; font-size: clamp(1.8rem, 4vw, 2.4rem); color: var(--cream); line-height: 1.1; }
.gate-card p { font-family: var(--serif); color: var(--on-navy-mut); margin-top: 14px; font-size: 1.04rem; line-height: 1.55; }
.gate-form { margin-top: 30px; display: flex; flex-direction: column; gap: 12px; }
.gate-form input { font-family: var(--sans); font-size: 1rem; padding: 15px 16px; border-radius: var(--radius-sm, 8px); border: 1px solid var(--line-navy); background: rgba(255,255,255,.06); color: var(--cream); text-align: center; letter-spacing: .04em; }
.gate-form input:focus { outline: 2px solid var(--gold-navy); outline-offset: 2px; }
.gate-form input::placeholder { color: var(--on-navy-mut); }
.gate-form .btn-primary { background: var(--gold-navy); border-color: var(--gold-navy); color: var(--navy); justify-content: center; }
.gate-form .btn-primary:disabled { opacity: .7; cursor: progress; }
.gate-error { min-height: 1.2em; font-family: var(--sans); font-size: .86rem; color: #ff9a9a; margin-top: 2px; }
.gate-kicker { font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--gold-navy); margin: 0 0 12px; }
.gate-card p.gate-kicker { font-family: var(--sans); font-size: .72rem; line-height: 1.4; color: var(--gold-navy); margin-top: 0; }
.gate-back { display: inline-block; margin-top: 26px; font-family: var(--sans); font-size: .9rem; color: var(--cream); text-decoration: underline; text-decoration-color: var(--gold-navy); text-underline-offset: 4px; }
.gate-back::before { content: "\2190\00a0"; }
.gate-back:hover, .gate-back:focus-visible { color: var(--gold-navy); }
.gate-hint { font-family: var(--sans); font-size: .8rem; color: var(--on-navy-mut); margin-top: 18px; }
.gate--shake { animation: gate-shake .4s; }
@keyframes gate-shake { 0%,100%{transform:translateX(0)} 20%,60%{transform:translateX(-8px)} 40%,80%{transform:translateX(8px)} }
.gate-locked { overflow: hidden; }
[data-protected][hidden] { display: none; }

/* ---- Layout A: classic stacked (video opener, centered narrow) ---- */
.tpl-a .page-hero h1 { max-width: none; }

/* ---- Layout B: sidebar (sticky facts rail + main column) ---- */
.tpl-b-grid { display: grid; grid-template-columns: 300px 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.tpl-b-rail { position: sticky; top: 96px; display: grid; gap: 18px; }
.tpl-b-rail .tp-video-caption { text-align: left; }
.tpl-b-facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.tpl-b-facts li { font-family: var(--sans); font-size: .92rem; color: var(--body); padding-left: 16px; position: relative; }
.tpl-b-facts li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; border-top: 1px solid var(--gold); }
.tpl-b-facts b { color: var(--ink); }
@media (max-width: 860px) { .tpl-b-grid { grid-template-columns: 1fr; } .tpl-b-rail { position: static; } }

/* ---- Layout C: editorial hero (big video first, magazine feel) ---- */
.tpl-c-hero { background: var(--navy); }
.tpl-c-hero .video-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-navy); box-shadow: 0 30px 70px -30px rgba(0,0,0,.7); }
.tpl-c-hero .media-portrait-video { aspect-ratio: 16 / 9; width: 100%; display: block; }
.tpl-c-name { font-family: var(--display); font-weight: 400; color: var(--cream); font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.05; margin-top: 30px; }
.tpl-c-role { font-family: var(--sans); font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-navy); margin-top: 12px; }
.tpl-c-lede { font-family: var(--serif); font-size: 1.2rem; line-height: 1.6; color: var(--on-navy-mut); margin-top: 20px; max-width: 60ch; }

/* ================= Tutor profile — simple ================= */
/* Plain single column. Video sized to the actual file (1280x720, 16:9). */
.tpl-e .section { padding-block: clamp(36px, 4.5vw, 60px); }
.tpl-e-wrap { max-width: 760px; margin-inline: auto; }

/* Header: name + role + lede, centered above the video */
.tpl-e-name { font-family: var(--display); font-weight: 400; color: var(--ink); font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1.05; }
.tpl-e-role { font-family: var(--sans); font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); margin-top: 10px; }
.tpl-e-lede { font-family: var(--serif); font-size: 1.14rem; line-height: 1.55; color: var(--body); margin-top: 16px; }

/* Video: exact 16:9 of the source file, capped at its native 1280px width */
.tpl-e-video { margin: 26px 0 0; max-width: 1280px; }
.tpl-e-video video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius-lg); }
.tpl-e-video figcaption { font-family: var(--sans); font-size: .8rem; color: var(--muted); margin-top: 10px; }

/* Short films on the service and story pages (same figure as the tutor intro videos) */
.svc-film { padding-block: clamp(40px, 5vw, 64px); }
.svc-film .tpl-e-video { margin: 0 auto; max-width: 880px; }
.tpl-e-video figcaption b { color: var(--ink); font-weight: 600; }
.prose-film { margin: 30px 0 34px; }

/* Simple section headings */
.tpl-e h2.sh { font-family: var(--serif); font-weight: 700; font-size: 1.4rem; color: var(--ink); margin: 0 0 12px; }
.tpl-e .prose p:first-child { margin-top: 0; }

/* Plain fact list */
.tpl-e-facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.tpl-e-facts li { font-family: var(--sans); font-size: .98rem; line-height: 1.5; color: var(--body); }
.tpl-e-facts b { color: var(--ink); font-weight: 600; }

/* ------------------------------------------------------------------ */
/* Background: navy editorial card — deliberately distinct from the    */
/* rest of the page so the profile doesn't end on a flat bullet list.  */
/* ------------------------------------------------------------------ */
.tpl-e-closer {
  margin-top: 44px;
  background: var(--navy);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: 24px 30px 26px;
  position: relative;
}
/* heading: kicker as a small eyebrow tight above the title */
.tpl-e-closer .sh {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--cream);
  letter-spacing: .01em;
  margin: 0;
}
.tpl-e-closer .sh-kicker {
  display: block;
  font-family: var(--sans);
  font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-navy);
  margin: 0 0 3px;
}
/* facts as a tight engraved list: label and value on one line */
.tpl-e-closer .tpl-e-facts { gap: 0; margin-top: 12px; border-top: 1px solid rgba(216, 189, 119, .28); }
.tpl-e-closer .tpl-e-facts li {
  font-family: var(--serif);
  font-size: .95rem; line-height: 1.45;
  color: var(--on-navy-mut);
  padding: 9px 0;
  border-bottom: 1px solid rgba(244, 236, 217, .1);
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 4px 18px;
  align-items: baseline;
}
.tpl-e-closer .tpl-e-facts li:last-child { border-bottom: none; padding-bottom: 2px; }
.tpl-e-closer .tpl-e-facts b {
  font-family: var(--sans);
  font-size: .64rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-navy);
  padding-top: 3px;
}
.tpl-e-closer .tpl-e-facts li > span { display: block; }
/* buttons row inside the card */
.tpl-e-closer .tp-cv-actions {
  margin-top: 32px;
  display: flex; flex-wrap: wrap; gap: 10px;
}
.tpl-e-closer .tp-cv-actions .btn { padding-block: 10px; }
/* CTA line beneath the card */
.tpl-e-cta { margin-top: 22px; text-align: center; }

/* on narrow screens the two-column facts stack */
@media (max-width: 560px) {
  .tpl-e-closer .tpl-e-facts li { grid-template-columns: 1fr; gap: 2px; }
}

/* ============================================================
   THE ARISTOTLE PROGRAM
   Uses the site's section system, page-hero, .title, .eyebrow and
   phil3 blocks for cohesion. Only two elements are bespoke: the
   aphorism pillars and the Standard-vs-Aristotle comparison table.
   ============================================================ */

/* The thesis here is a paragraph-length statement, not a short motto,
   so it needs a wider measure and a smaller size than the default phil3. */
.phil3--statement .phil3-quote { font-size: clamp(1.4rem, 2.6vw, 2.1rem); font-style: normal; line-height: 1.32; max-width: 30ch; }
.phil3--statement .phil3-quote em { font-style: italic; color: var(--gold-navy); }

/* Second statement under the thesis quote (not an attribution). */
.phil3-coda { font-family: var(--serif); font-style: italic; font-size: clamp(1.1rem, 1.9vw, 1.45rem); line-height: 1.5; color: var(--on-navy-mut); margin: 28px auto 0; max-width: 40ch; }

/* Aphorism pillars: rule-separated rows, title beside the line.
   Echoes the site's hairline rules and serif/sans pairing. */
.ari-pillars { margin-top: clamp(34px, 4vw, 52px); border-top: 1px solid var(--line); }
.ari-pillar { display: grid; grid-template-columns: minmax(0, 0.4fr) minmax(0, 0.6fr); gap: clamp(20px, 5vw, 72px); align-items: baseline; padding: clamp(28px, 3.4vw, 44px) 0; border-bottom: 1px solid var(--line); }
.ari-pillar h3 { font-family: var(--display); font-weight: 400; color: var(--ink); font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.12; letter-spacing: -.01em; }
.ari-pillar p { font-family: var(--serif); font-size: clamp(1.1rem, 1.8vw, 1.42rem); line-height: 1.48; color: var(--body); }

/* The Difference — comparison table (the one distinctive component).
   Gold-accented Aristotle column, matching the site's gold-on-ivory. */
.ari-table { margin-top: clamp(30px, 4vw, 46px); border-top: 2px solid var(--ink); max-width: 760px; }
.ari-row { display: grid; grid-template-columns: 1fr 1fr; }
.ari-cell { padding: clamp(16px, 2.2vw, 24px) clamp(16px, 2.4vw, 30px); font-size: clamp(1rem, 1.4vw, 1.16rem); border-bottom: 1px solid var(--line); }
.ari-cell--std { font-family: var(--sans); color: var(--muted); }
.ari-cell--ari { font-family: var(--serif); color: var(--ink); background: var(--ivory-2); border-left: 2px solid var(--gold); }
.ari-row--head .ari-cell { font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; padding-block: 15px; border-bottom: 1px solid var(--ink); }
.ari-row--head .ari-cell--std { color: var(--ink); }
.ari-row--head .ari-cell--ari { color: var(--gold-ink); }

@media (max-width: 720px) {
  .ari-pillar { grid-template-columns: 1fr; gap: 8px; }
}

/* ── Tutor carousel — slow auto-scrolling coaster (pauses on hover) ───────── */
/* Directors — featured bio cards with arch portraits, above the tutor carousel */
.directors { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 3vw, 40px); margin-top: 34px; }
.directors > * { min-width: 0; }
.director-portrait { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy); border: 1px solid var(--line); display: grid; place-items: center; }
.director-portrait.arch { border-radius: 170px 170px var(--radius-lg) var(--radius-lg); }
.director-portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.director-portrait .monogram { font-family: var(--display); font-size: 2.6rem; color: var(--gold-navy); letter-spacing: .06em; }
.director-card .role { font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); margin-top: 20px; }
.director-card h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--ink); margin-top: 6px; }
.director-card .director-bio { font-family: var(--sans); font-size: .96rem; line-height: 1.55; color: var(--body); margin-top: 10px; }
.director-card .cred { font-family: var(--sans); font-size: .9rem; color: var(--muted); margin-top: 12px; }
@media (max-width: 767px) { .directors { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; } }

/* Tutor carousel is defined above (~L866): track = overflow-x auto + scroll-snap,
   cards = cream (#FCFAF6) with a thin cool hairline + an Oxford-blue solid offset
   shadow + a short gold divider, and JS (main.js) drives the auto-scroll. This block
   supersedes the old CSS-animation marquee (gold top band + boxy inset/lift shadows). */
@media (max-width: 720px) { .mentor.tier2 { flex-basis: 260px; } }

/* CV pop-up (cv-modal.js) */
.cv-modal{ position:fixed; inset:0; z-index:1000; display:none; }
.cv-modal.is-open{ display:block; }
.cv-modal-overlay{ position:absolute; inset:0; background:rgba(15,18,30,.62); }
.cv-modal-panel{ position:relative; max-width:820px; width:92%; height:86vh; margin:6vh auto; background:#fff; border-radius:12px; overflow:hidden; box-shadow:0 24px 70px rgba(0,0,0,.4); display:flex; flex-direction:column; }
.cv-modal-head{ display:flex; align-items:center; justify-content:space-between; padding:14px 18px; border-bottom:1px solid var(--line); }
.cv-modal-title{ font-family:"Work Sans",sans-serif; font-size:13px; font-weight:600; letter-spacing:.04em; color:var(--navy); }
.cv-modal-close{ border:0; background:transparent; font-size:26px; line-height:1; cursor:pointer; color:var(--navy); }
.cv-modal-body{ flex:1; overflow:auto; }
.cv-modal-frame{ width:100%; height:100%; border:0; }
.cv-modal-doc{ padding:34px 40px; font-size:15px; line-height:1.55; color:#20242e; }
.cv-modal-pages{ background:#e9e6de; padding:18px; display:flex; flex-direction:column; gap:18px; align-items:center; -webkit-user-select:none; user-select:none; }
.cv-modal-pages img{ display:block; width:100%; max-width:780px; height:auto; background:#fff; box-shadow:0 2px 10px rgba(0,0,0,.15); pointer-events:none; -webkit-touch-callout:none; }
@media print{ .cv-modal{ display:none !important; } }

/* ============================================================
   STOCK VIDEO HEADERS (stock-video.js, clips in stock-video/)
   A muted looping clip behind the page heading, under a soft navy
   overlay. "No video" removes .has-film and the header returns to
   its usual ivory look.
   ============================================================ */
.stock-film { position: absolute; inset: 0; z-index: 0; background: var(--navy) center / cover no-repeat; }
.stock-film[hidden] { display: none; }
.stock-film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero--media:not(.has-film) .hero-bg { display: none; }

.page-hero--film { position: relative; overflow: hidden; isolation: isolate; }
.page-hero--film > .container { position: relative; z-index: 2; }
.page-hero--film:not(.has-film) .stock-film { display: none; }
.page-hero--film .stock-film::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0, 17, 38, .70) 0%, rgba(0, 21, 46, .62) 45%, rgba(0, 17, 38, .82) 100%);
}
.page-hero--film.has-film { background: var(--navy); border-bottom: 2px solid var(--gold-navy); padding-block: clamp(64px, 9vw, 120px) clamp(48px, 6vw, 80px); }
.page-hero--film.has-film h1 { color: var(--cream); text-shadow: 0 1px 24px rgba(0, 12, 28, .45); }
.page-hero--film.has-film h1 em { color: var(--gold-navy); }
.page-hero--film.has-film p,
.page-hero--film.has-film .ph-split h1 + p,
.page-hero--film.has-film > .container > p { color: var(--cream); opacity: .94; }
.page-hero--film.has-film .eyebrow { color: var(--gold-navy); text-shadow: 0 1px 14px rgba(0,12,28,.7); }
.page-hero--film.has-film .eyebrow::before { border-top-color: var(--gold-navy); }
.page-hero--film.has-film .tags-row li { color: var(--cream); border-color: rgba(244, 236, 217, .38); }
.page-hero--film.has-film .tags-row li:hover { border-color: var(--gold-navy); background: rgba(255, 255, 255, .06); }
.page-hero--film.has-film .btn-primary { background: var(--gold-navy); border-color: var(--gold-navy); color: var(--navy); }
.page-hero--film.has-film .btn-primary:hover { background: #e2c98a; border-color: #e2c98a; }
.page-hero--film.has-film .ph-media { border-color: rgba(216, 189, 119, .45); }

/* ---------- "Choose a Video" picker (test copy only) ---------- */
.ot-picker-on .fl-btn, .ot-picker-on .fl-panel { right: auto; left: 18px; }
.vp-open {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 9998;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy); color: var(--cream);
  border: 2px solid var(--gold-navy); border-radius: 999px;
  padding: 7px 16px 7px 8px; min-height: 44px;
  font-family: var(--sans); font-size: .9rem; font-weight: 700; letter-spacing: .01em;
  box-shadow: 0 0 0 3px rgba(216, 189, 119, .24), 0 10px 24px -10px rgba(0, 17, 38, .7);
  cursor: pointer; transition: transform .2s var(--ease, ease), background .2s;
}
.vp-open:hover { background: var(--navy-700); transform: translateY(-2px); }
.vp-open:focus-visible { outline: 3px solid var(--gold-navy); outline-offset: 4px; }
.vp-open-icon {
  width: 26px; height: 26px; border-radius: 50%; background: var(--gold-navy); position: relative; flex: none;
}
.vp-open-icon::after {
  content: ""; position: absolute; left: 10px; top: 7px;
  border-left: 9px solid var(--navy); border-top: 6px solid transparent; border-bottom: 6px solid transparent;
}
/* Keep the footer's last line (and the Staff link) clear of the button. */
.ot-picker-on .footer-base { padding-bottom: 72px; }
@media (max-width: 767px) {
  /* Phone: a smaller pill in the corner, so it no longer covers the hero buttons
     and headings; it rises above the Schedule bar only while that bar is showing. */
  .vp-open {
    right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    gap: 8px; min-height: 44px; padding: 7px 16px 7px 8px; font-size: .9rem;
    box-shadow: 0 0 0 3px rgba(216, 189, 119, .24), 0 10px 24px -10px rgba(0, 17, 38, .7);
    transition: bottom .45s var(--ease, ease), transform .2s var(--ease, ease), background .2s;
  }
  .vp-open .vp-open-icon { width: 26px; height: 26px; }
  .vp-open .vp-open-icon::after { left: 10px; top: 7px; border-left-width: 9px; border-top-width: 6px; border-bottom-width: 6px; }
  .vp-open--lift { bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
  body:has(.mobile-cta.is-visible) .vp-open--lift { bottom: calc(78px + env(safe-area-inset-bottom, 0px)); }
}
.vp-lock, .vp-lock body { overflow: hidden; }
.vp-overlay {
  position: fixed; inset: 0; z-index: 10000; background: rgba(0, 17, 38, .72);
  display: flex; align-items: flex-start; justify-content: center;
  padding: clamp(12px, 4vw, 48px) clamp(10px, 3vw, 32px); overflow-y: auto;
}
.vp-overlay[hidden] { display: none; }
.vp-dialog {
  width: min(1100px, 100%); background: var(--paper); color: var(--body);
  border-radius: 16px; border-top: 6px solid var(--gold-navy);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .7);
  padding: clamp(18px, 3vw, 34px); font-family: var(--sans);
}
.vp-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
  position: sticky; top: calc(-1 * clamp(12px, 4vw, 48px)); z-index: 2; background: var(--paper);
  margin: calc(-1 * clamp(18px, 3vw, 34px)) calc(-1 * clamp(18px, 3vw, 34px)) 0;
  padding: clamp(18px, 3vw, 34px) clamp(18px, 3vw, 34px) 12px; border-radius: 16px 16px 0 0;
}
.vp-title { font-family: var(--display); font-weight: 400; color: var(--navy); font-size: clamp(1.7rem, 3.4vw, 2.4rem); line-height: 1.1; margin: 0; }
.vp-close {
  flex: none; font: 600 1rem/1 var(--sans); color: var(--navy); background: var(--ivory);
  border: 1px solid var(--line-2); border-radius: 999px; padding: 12px 20px; cursor: pointer;
}
.vp-close:hover { border-color: var(--navy); }
.vp-status { margin: 14px 0 0; font-size: 1.15rem; color: var(--navy); }
.vp-status strong { font-weight: 700; background: rgba(216, 189, 119, .35); padding: 2px 8px; border-radius: 6px; }
.vp-help { margin: 6px 0 0; font-size: 1rem; color: var(--muted); }
.vp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 16px; margin-top: 12px; }
.vp-group { margin-top: 26px; }
.vp-group-title {
  margin: 0; padding-bottom: 6px; border-bottom: 1px solid var(--line);
  font-family: var(--sans); font-size: .85rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink);
}
.vp-card {
  display: flex; flex-direction: column; gap: 6px; text-align: left; cursor: pointer;
  background: #fff; border: 2px solid var(--line); border-radius: 12px; padding: 10px 10px 16px;
  font: inherit; color: inherit; position: relative; transition: border-color .15s, box-shadow .15s;
}
.vp-card:hover { border-color: var(--navy-600); }
.vp-card:focus-visible { outline: 3px solid var(--gold-navy); outline-offset: 2px; }
.vp-card.is-current { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(216, 189, 119, .55); background: #fffaf0; }
.vp-media { display: block; position: relative; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: var(--navy); }
.vp-media video, .vp-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vp-media--none { display: grid; place-items: center; background: repeating-linear-gradient(135deg, var(--navy) 0 14px, #062a52 14px 28px); }
.vp-none-mark { font-family: var(--display); color: var(--cream); font-size: 1.5rem; }
.vp-name { font-family: var(--display); color: var(--navy); font-size: 1.6rem; line-height: 1.15; margin-top: 8px; padding-inline: 4px; }
.vp-num { color: var(--gold-ink); }
.vp-text { font-size: 1rem; line-height: 1.45; color: var(--body); padding-inline: 4px; }
.vp-badge {
  display: none; align-self: flex-start; margin: 4px 4px 0; font-size: .85rem; font-weight: 700;
  color: var(--navy); background: var(--gold-navy); border-radius: 999px; padding: 4px 12px;
}
.vp-card.is-current .vp-badge { display: inline-block; }
.vp-foot { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.vp-tell { font-size: 1.15rem; color: var(--navy); font-weight: 600; margin: 0; }
.vp-all { margin: 8px 0 0; font-size: 1rem; color: var(--body); }
.vp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 16px; }
.vp-copy {
  font: 700 1.05rem/1 var(--sans); color: var(--navy); background: var(--gold-navy);
  border: 2px solid var(--gold-navy); border-radius: 999px; padding: 14px 24px; cursor: pointer;
}
.vp-copy:hover { background: #e2c98a; }
.vp-copy-note { font-size: 1rem; color: var(--navy); }
@media (prefers-reduced-motion: reduce) { .vp-open, .vp-card { transition: none; } .vp-open:hover { transform: none; } }
.vp-manual { display: block; width: 100%; margin-top: 12px; font: 1rem/1.4 var(--sans); color: var(--navy); background: #fff; border: 2px solid var(--gold-navy); border-radius: 8px; padding: 10px 12px; resize: vertical; }
.vp-manual[hidden] { display: none; }
@media (max-width: 560px) {
  .vp-title { font-size: 1.5rem; }
  .vp-head { padding-bottom: 8px; }
  .vp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .vp-card { padding: 6px 6px 10px; gap: 4px; }
  .vp-name { font-size: 1.15rem; margin-top: 4px; padding-inline: 2px; }
  .vp-text { font-size: .85rem; line-height: 1.35; padding-inline: 2px; }
  .vp-badge { font-size: .75rem; }
}
