/* ==========================================================================
   PACK LEADERS — packleaders.com
   Design system per research/DESIGN-PLAYBOOK.md + research/REFINEMENT-PLAYBOOK.md
   Paper canvas (#FCFBF8) · #0033A0 accent · white reserved for header/inputs
   Cormorant display · Inter body
   ========================================================================== */

/* ---------- Fonts (self-hosted, variable) ---------- */
@font-face {
  font-family: 'Cormorant';
  src: url('../fonts/cormorant.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant';
  src: url('../fonts/cormorant-italic.woff2') format('woff2');
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Julius Sans One';
  src: url('../fonts/julius-sans-one.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter.woff2') format('woff2');
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --white: #FFFFFF;
  --paper: #FCFBF8;
  --ink: #211E19;
  --blue: #0033A0;
  --blue-deep: #002270;
  --blue-tint: #F1F5FC;
  --navy-dusk: #0E1B38;
  --cream: #F6F2EB;
  --stone: #575147; /* AAA: 7.6:1 paper, 7.0:1 cream (was #746D61 at 4.6-5.1) */
  --hairline: #E9E4DA;
  --scrim: rgba(14, 20, 34, 0.55);
  --font-display: 'Cormorant', Georgia, serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --label: 'Julius Sans One', 'Inter', sans-serif;
  --container: 1200px;
  --measure: 640px;
  --gutter: 24px;
  --section-pad: 9rem;
  --section-pad-lg: 11rem;
  --track-eyebrow: 0.16em;
  --track-button: 0.14em;
  --btn-h: 52px;
  --header-h: 76px;
  --ease: cubic-bezier(0.66, 0, 0.34, 1);
}

/* Cross-fade between pages (progressive enhancement, Chromium/Safari) */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.35s; }
@media (min-width: 768px) { :root { --gutter: 48px; } }
@media (min-width: 1024px) { :root { --gutter: 64px; } }
@media (max-width: 1023px) { :root { --section-pad: 5.5rem; --section-pad-lg: 7rem; } }
@media (max-width: 767px) { :root { --section-pad: 4.5rem; --section-pad-lg: 5.5rem; } }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
ul, ol { list-style: none; }
::selection { background: var(--blue); color: var(--white); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; color: var(--ink); }
.display-xl { font-size: clamp(2.375rem, 5vw, 4rem); line-height: 1.05; letter-spacing: -0.015em; }
.display-l  { font-size: clamp(1.875rem, 3.4vw, 2.75rem); line-height: 1.12; letter-spacing: -0.01em; }
h3, .h3 { font-size: clamp(1.375rem, 2vw, 1.75rem); line-height: 1.25; font-weight: 400; }
h4, .h4 { font-size: 1.3125rem; line-height: 1.3; font-weight: 400; }
.lede { font-size: 1.1875rem; line-height: 1.6; }
.small { font-size: 0.875rem; line-height: 1.5; letter-spacing: 0.01em; color: var(--stone); }
.measure { max-width: var(--measure); }
.center { text-align: center; }
.center .measure { margin-left: auto; margin-right: auto; }
.stone { color: var(--stone); }

.eyebrow {
  display: block;
  font-family: var(--label);
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  -webkit-text-stroke: 0.35px currentColor;
  margin-bottom: 1.25rem;
}
.on-dark .eyebrow, .eyebrow.light { color: rgba(255, 255, 255, 0.85); }

.pullquote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.35;
  letter-spacing: -0.005em;
}

/* The italic-word signature: one emotionally loaded word per major headline */
.display-xl em, .display-l em, h3 em { font-style: italic; font-weight: 500; }

/* ---------- Layout ---------- */
.container { max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.container-wide { max-width: 1440px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-top: var(--section-pad); padding-bottom: var(--section-pad); }
.section-lg { padding-top: var(--section-pad-lg); padding-bottom: var(--section-pad-lg); }
.section-cream { background: var(--cream); }
.section-head { margin-bottom: 4rem; }
.section-head .display-l + p { margin-top: 1.5rem; }
.first-section { padding-top: calc(var(--header-h) + 4rem); }

/* ---------- Buttons ---------- */
.btn, .btn-ghost, .btn-ghost-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: var(--btn-h);
  padding: 0 2rem;
  font-family: var(--label);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  -webkit-text-stroke: 0.6px currentColor;
  border-radius: 0;
  transition: background 600ms var(--ease), color 600ms var(--ease), border-color 600ms var(--ease);
  white-space: nowrap;
}
.btn { background: var(--blue); color: var(--white); }
.btn:hover { background: var(--blue-deep); }
.btn-ghost { border: 1px solid var(--blue); color: var(--blue); }
.btn-ghost:hover { background: var(--blue); border-color: var(--white); color: var(--white); }
.btn-ghost-light { border: 1px solid rgba(255, 255, 255, 0.75); color: var(--white); }
.btn-ghost-light:hover { background: var(--white); border-color: var(--white); color: var(--blue); }

.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
main :is(.btn, .btn-ghost, .btn-ghost-light),
.btn-row > :is(.btn, .btn-ghost, .btn-ghost-light) {
  max-width: 100%;
  height: auto;
  min-height: var(--btn-h);
  padding-block: 0.75rem;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
}
.center .btn-row, .interstitial .btn-row { justify-content: center; }

.text-link {
  display: inline-block;
  font-family: var(--label);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  -webkit-text-stroke: 0.6px currentColor;
  text-transform: uppercase;
  color: var(--blue);
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
  transition: color 400ms var(--ease);
}
.text-link:hover { color: var(--blue-deep); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  color: var(--white);
  transition: background 600ms var(--ease), color 600ms var(--ease), box-shadow 600ms var(--ease);
}
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  height: 160px;
  background: linear-gradient(rgba(0, 0, 0, 0.45), transparent);
  pointer-events: none;
  opacity: 1;
  transition: opacity 600ms var(--ease);
}
.site-header.scrolled, body.no-hero .site-header {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--hairline);
}
.site-header.scrolled::before, body.no-hero .site-header::before { opacity: 0; }
.header-inner {
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.wordmark {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  line-height: 1.2;
}
.wordmark small {
  display: block;
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  opacity: 0.7;
  margin-top: 2px;
}
.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  opacity: 0.92;
  transition: opacity 300ms var(--ease);
  padding: 6px 0;
}
.site-nav a:hover { opacity: 0.6; }
.site-nav a.active { border-bottom: 1px solid currentColor; }

/* (dropdown navigation removed — flat header + full-screen menu) */
.header-cta { flex-shrink: 0; }
.header-cta .btn { height: 44px; padding: 0 1.5rem; }
.site-header:not(.scrolled) .header-cta .btn { background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.6); }
.site-header:not(.scrolled) .header-cta .btn:hover { background: rgba(255,255,255,0.25); }
body.no-hero .header-cta .btn { background: var(--blue); border: none; }

/* (legacy nav-toggle visibility rules superseded by REDESIGN LAYER 2;
   the burger is always visible and layer-2 breakpoints govern nav/CTA) */

/* Mobile overlay menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--white);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  padding: 1.5rem var(--gutter) 6rem;
  transform: translateY(-100%);
  transition: transform 500ms var(--ease);
  overflow-y: auto;
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 3rem; }
.mobile-close {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: var(--track-eyebrow);
  text-transform: uppercase;
}
/* (legacy list-menu styles removed — see REDESIGN LAYER 2 menu overlay) */

/* ---------- Hero (video / image) ---------- */
.hero {
  position: relative;
  height: auto;
  min-height: max(560px, 92svh);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
}
.hero.hero-short { height: 68vh; min-height: 440px; }
.hero video, .hero > picture img, .hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,20,34,0) 42%, var(--scrim) 100%); }
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: calc(var(--header-h) + 2rem) var(--gutter) 6.5rem;
}
.hero-content .display-xl, .hero-content .display-l { color: var(--white); max-width: 17ch; }
.hero-content .eyebrow { color: rgba(255, 255, 255, 0.85); }
.hero-content .btn-row { margin-top: 2.25rem; }
.hero-scroll-cue {
  position: absolute;
  z-index: 2;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: var(--track-eyebrow);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}
.video-toggle {
  position: absolute;
  z-index: 3;
  bottom: 1.5rem;
  left: var(--gutter);
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  color: var(--white);
  opacity: 0.7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  transition: opacity 300ms var(--ease);
}
.video-toggle:hover { opacity: 1; }
@media (max-width: 767px) {
  .hero { min-height: max(440px, 70svh); }
  .hero-content { padding-bottom: 4rem; }
}

/* ---------- Full-bleed band ---------- */
.band {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
}
.band img, .band video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,20,34,0.08) 0%, rgba(14,20,34,0.02) 18%, rgba(14,20,34,0.28) 55%, var(--scrim) 100%); }
.band-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 4.5rem var(--gutter);
}
.band-content .display-l { color: var(--white); max-width: 18ch; }
.band-content .btn-row { margin-top: 2rem; }

/* ---------- Blue interstitial ---------- */
.interstitial {
  background: var(--blue);
  color: var(--white);
  padding: calc(var(--section-pad) * 1.25) 0;
  text-align: center;
}
.interstitial .display-l, .interstitial h2, .interstitial h3 { color: var(--white); }
.interstitial .pullquote { color: var(--white); max-width: 22ch; margin: 0 auto; }
.interstitial .attribution {
  margin-top: 2rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: var(--track-eyebrow);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}
.interstitial .measure { margin-inline: auto; color: rgba(255, 255, 255, 0.92); }
.interstitial .pullquote + .measure, .interstitial .pullquote + p { margin-top: 1.75rem; }
.interstitial .eyebrow { color: rgba(255, 255, 255, 0.88); }
.interstitial .btn-row { margin-top: 2.5rem; }
.interstitial .btn { background: var(--white); color: var(--blue); }
.interstitial .btn:hover { background: var(--cream); }

/* Quiet variant for a secondary pullquote moment (cream ground, blue voice) */
.interstitial-quiet { background: var(--cream); color: var(--ink); }
.interstitial-quiet .pullquote { color: var(--blue); max-width: 40ch; }
.interstitial-quiet .eyebrow { color: var(--blue); }
.interstitial-quiet .attribution { color: var(--stone); }
.interstitial-quiet .measure { color: var(--ink); }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1023px) { .card-grid, .card-grid.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .card-grid, .card-grid.two, .card-grid.four { grid-template-columns: 1fr; gap: 2.5rem; } }

.card { display: block; }
.card-media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--cream); }
.card-media.wide { aspect-ratio: 3 / 2; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1200ms var(--ease); }
.card:hover .card-media img { transform: scale(1.02); }
.card-body { padding-top: 1.5rem; }
.card-body .eyebrow { margin-bottom: 0.6rem; font-size: 0.6875rem; }
.card-body h3, .card-body .h4 { transition: color 300ms var(--ease); }
.card:hover .card-body h3, .card:hover .card-body .h4 { color: var(--blue); }
.card-body p { margin-top: 0.6rem; color: var(--stone); font-size: 0.9375rem; line-height: 1.6; }
.card-body .text-link { margin-top: 1.1rem; }

/* ---------- Definition grid (term + description tiles) ---------- */
.def-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem 2.5rem; }
.def-grid.two { grid-template-columns: repeat(2, 1fr); }
.def-grid > div { border-top: 1px solid var(--hairline); padding-top: 1.25rem; }
.def-grid h3, .def-grid h4 { margin-bottom: 0.5rem; }
.def-grid p { color: var(--stone); font-size: 0.9375rem; line-height: 1.6; }
@media (max-width: 900px) { .def-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .def-grid, .def-grid.two { grid-template-columns: 1fr; gap: 1.75rem; } }

/* ---------- Offer tile (session packages) ---------- */
.tile { border: 1px solid var(--hairline); background: var(--white); padding: 2.75rem 2.25rem; display: flex; flex-direction: column; }
.tile h3 { margin-bottom: 0.5rem; }
.tile p { color: var(--stone); font-size: 0.9375rem; flex: 1; }
.tile .btn-row, .tile .text-link { margin-top: 1.75rem; }
.tile .text-link { align-self: flex-start; }

/* ---------- Featured quote card (image-backed) ---------- */
.feature-quote { position: relative; overflow: hidden; color: var(--white); min-height: 480px; display: flex; align-items: flex-end; }
.feature-quote img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.feature-quote::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,20,34,0.28) 0%, rgba(14,20,34,0.42) 40%, rgba(14,20,34,0.85) 100%); }
.feature-quote > div { position: relative; z-index: 2; padding: 3rem; max-width: 640px; }
.feature-quote blockquote { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.25rem, 2vw, 1.625rem); line-height: 1.4; }
.feature-quote .story-attr { color: rgba(255,255,255,0.85); }
.feature-quote .story-attr strong { color: var(--white); }

/* ---------- Editorial split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.split-media { aspect-ratio: 4 / 5; overflow: hidden; }
.split-media.wide { aspect-ratio: 3 / 2; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media figcaption { font-size: 0.875rem; color: var(--stone); padding-top: 0.75rem; }
.split .btn-row { margin-top: 2rem; }
.split-text > p { margin-top: 1.5rem; }
.split-text > p:first-of-type { margin-top: 0; }
.split .display-l { margin-bottom: 1.5rem; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split.media-right .split-media { order: -1; }
}

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
@media (max-width: 960px) { .stats { grid-template-columns: 1fr 1fr; gap: 2.25rem 1rem; } }
.stat-number {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.5rem, 4.5vw, 3.75rem);
  line-height: 1;
  color: var(--ink);
}
.interstitial .stat-number { color: var(--white); }
.stat-label {
  margin-top: 0.9rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: var(--track-eyebrow);
  text-transform: uppercase;
  color: var(--stone);
}
.interstitial .stat-label { color: rgba(255,255,255,0.88); }

/* ---------- Timeline (a day at the ranch) ---------- */
.timeline { border-top: 1px solid var(--hairline); }
.timeline-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--hairline);
}
.timeline-time {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: var(--track-eyebrow);
  text-transform: uppercase;
  color: var(--blue);
  padding-top: 0.4rem;
}
.timeline-row h4 { margin-bottom: 0.4rem; }
.timeline-row p { color: var(--stone); font-size: 0.9375rem; max-width: 56ch; }
@media (max-width: 640px) { .timeline-row { grid-template-columns: 1fr; gap: 0.5rem; } }

/* ---------- Client index (editorial roster) ---------- */
.client-index { border-top: 1px solid var(--hairline); }
.client-row {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: baseline;
  gap: 2rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--hairline);
  transition: padding-left 400ms var(--ease);
}
.client-row:hover { padding-left: 0.75rem; }
.client-num {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: var(--track-eyebrow);
  color: var(--stone);
}
.client-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.375rem, 2.4vw, 2rem);
  line-height: 1.15;
  transition: color 300ms var(--ease);
}
.client-row:hover .client-name { color: var(--blue); }
.client-role {
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone);
  text-align: right;
}
@media (max-width: 640px) {
  .client-row { grid-template-columns: 56px 1fr; }
  .client-role { grid-column: 2; text-align: left; margin-top: 2px; }
}

/* ---------- Stories / testimonials ---------- */
.story {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
  padding: 4rem 0;
  border-top: 1px solid var(--hairline);
}
.story:last-child { border-bottom: 1px solid var(--hairline); }
.story-media { aspect-ratio: 4 / 5; overflow: hidden; }
.story-media img { width: 100%; height: 100%; object-fit: cover; }
.story blockquote {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  line-height: 1.4;
}
.story blockquote p + p { margin-top: 1.25rem; }
.story-attr {
  margin-top: 1.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: var(--track-eyebrow);
  text-transform: uppercase;
  color: var(--stone);
}
.story-attr strong { color: var(--blue); font-weight: 500; display: block; margin-bottom: 2px; }
@media (max-width: 900px) { .story { grid-template-columns: 1fr; } .story-media { max-width: 420px; } }

/* Quote-only story cards */
.quote-wall { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: stretch; }
.quote-wall > div {
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.25rem 2.25rem;
  display: flex;
  flex-direction: column;
  position: relative;
}
.quote-wall .story-attr { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--hairline); }
.quote-wall blockquote { flex: 1; font-family: var(--font-display); font-weight: 500; font-size: 1.1875rem; line-height: 1.5; }
.quote-wall blockquote p + p { margin-top: 0.9rem; }
@media (min-width: 1024px) { .quote-wall.three, .quote-wall:has(> div:nth-child(3)) { grid-template-columns: repeat(3, 1fr); } }
.quote-wall > div:last-child:nth-child(3) { grid-column: 1 / -1; }
@media (min-width: 1024px) { .quote-wall > div:last-child:nth-child(3) { grid-column: auto; } }
@media (max-width: 760px) { .quote-wall { grid-template-columns: 1fr; } }

/* ---------- FAQ accordion ---------- */
.faq-list { border-top: 1px solid var(--hairline); }
.faq-list details { border-bottom: 1px solid var(--hairline); }
.faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 2rem;
  padding: 1.75rem 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.125rem, 1.8vw, 1.375rem);
  transition: color 300ms var(--ease);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--blue); }
.faq-list summary::after {
  content: '+';
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.375rem;
  color: var(--blue);
  flex-shrink: 0;
  transition: transform 300ms var(--ease);
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list .faq-answer { padding: 0 0 2rem; max-width: var(--measure); color: var(--ink); }
.faq-list .faq-answer p + p { margin-top: 1rem; }

/* ---------- Forms ---------- */
.field { margin-bottom: 1.75rem; }
.field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: var(--track-eyebrow);
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.6rem;
}
.field .hint { font-size: 0.8125rem; color: var(--stone); margin-top: 0.5rem; }
.field input, .field select, .field textarea {
  width: 100%;
  height: 52px;
  padding: 0 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--hairline);
  border-radius: 0;
  transition: border-color 300ms var(--ease);
  appearance: none;
}
.field textarea { height: auto; min-height: 140px; padding: 0.9rem 1rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); }
.field select {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23746D61'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }

.radio-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.radio-tiles label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid var(--hairline);
  padding: 0.9rem 1rem;
  cursor: pointer;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  transition: border-color 300ms var(--ease), background 300ms var(--ease);
}
.radio-tiles label:has(input:checked) { border-color: var(--blue); background: var(--blue-tint); }
.radio-tiles input { width: auto; height: auto; accent-color: var(--blue); appearance: auto; -webkit-appearance: auto; }
@media (max-width: 640px) { .radio-tiles { grid-template-columns: 1fr; } }

/* Your words, typeset in the house voice: serif entry on the application */
.application-form input[type="text"],
.application-form textarea {
  font-family: var(--font-display);
  font-size: 1.125rem;
}

/* Application stepper */
.stepper { display: flex; gap: 0; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); margin-bottom: 3.5rem; }
.step-tab {
  flex: 1;
  padding: 1.1rem 0.5rem;
  text-align: center;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: var(--track-eyebrow);
  text-transform: uppercase;
  color: var(--stone);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.step-tab.active { color: var(--blue); border-bottom-color: var(--blue); }
.step-tab.done { color: var(--ink); }
.form-step { display: none; }
.form-step.active { display: block; }
.form-step-title { margin-bottom: 2.25rem; }
.form-nav { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; margin-top: 3rem; gap: 1rem; }
.reassurance { font-size: 0.875rem; color: var(--stone); margin-top: 2rem; }

.form-success { display: none; text-align: center; padding: 4rem 0; }
.form-success.visible { display: block; }

/* ---------- Journal ---------- */
.journal-list { border-top: 1px solid var(--hairline); }
.journal-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: baseline;
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--hairline);
  transition: padding-left 400ms var(--ease);
}
.journal-row:hover { padding-left: 0.75rem; }
.journal-row h3 { transition: color 300ms var(--ease); max-width: 24ch; }
.journal-row:hover h3 { color: var(--blue); }
.journal-row p { color: var(--stone); font-size: 0.9375rem; max-width: 60ch; margin-top: 0.5rem; }
.journal-meta {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: var(--track-eyebrow);
  text-transform: uppercase;
  color: var(--stone);
  white-space: nowrap;
}
@media (max-width: 640px) { .journal-row { grid-template-columns: 1fr; gap: 0.75rem; } }

/* Article page */
.article-header { padding: calc(var(--header-h) + 5rem) 0 4rem; }
.article-header .display-xl, .article-header .display-l { max-width: 20ch; margin-left: auto; margin-right: auto; }
.article-header .article-meta { margin-top: 1.5rem; font-size: 0.75rem; font-weight: 500; letter-spacing: var(--track-eyebrow); text-transform: uppercase; color: var(--stone); }
.article-body { max-width: var(--measure); margin: 0 auto; padding-bottom: var(--section-pad); }
.article-body > p { margin-bottom: 1.5rem; }
.article-body h2 { font-size: 1.75rem; font-weight: 400; margin: 3rem 0 1.25rem; }
.article-body h3 { font-size: 1.375rem; margin: 2.5rem 0 1rem; }
.article-body ol { list-style: decimal; padding-left: 1.4rem; margin-bottom: 1.5rem; }
.article-body ul { list-style: disc; padding-left: 1.4rem; margin-bottom: 1.5rem; }
.article-body li { margin-bottom: 0.6rem; }
.article-body .pullquote { margin: 3rem 0; color: var(--blue); }
.article-figure { margin: 2.5rem 0; }
.article-figure img { width: 100%; }
.article-figure figcaption { font-size: 0.875rem; color: var(--stone); padding-top: 0.75rem; }

/* ---------- Video embeds ---------- */
.video-frame { position: relative; aspect-ratio: 16 / 9; background: var(--ink); overflow: hidden; }
.video-frame iframe, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-caption { font-size: 0.875rem; color: var(--stone); padding-top: 0.75rem; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.gallery-grid figure { overflow: hidden; }
.gallery-grid .tall { aspect-ratio: 4 / 5; }
.gallery-grid .wide { aspect-ratio: 3 / 2; grid-column: span 2; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.gallery-grid figure:hover img { transform: scale(1.03); }
.gallery-grid figcaption { font-size: 0.8125rem; color: var(--stone); padding-top: 0.6rem; }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: 1fr 1fr; } .gallery-grid .wide { grid-column: span 2; } }
@media (max-width: 560px) { .gallery-grid { grid-template-columns: 1fr; } .gallery-grid .wide { grid-column: span 1; aspect-ratio: 3/2; } }

/* ---------- Pre-footer newsletter band ---------- */
.newsletter-band { background: var(--cream); padding: 5rem 0; }
.newsletter-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
}
.newsletter-inner h2 { max-width: 24ch; }
.newsletter-form { display: flex; flex-wrap: wrap; gap: 0; max-width: 460px; flex: 1 1 340px; }
.newsletter-form .form-note { flex-basis: 100%; }
.newsletter-form input[type="email"] {
  flex: 1;
  height: var(--btn-h);
  padding: 0 1rem;
  border: 1px solid var(--hairline);
  border-right: none;
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  border-radius: 0;
}
.newsletter-form input[type="email"]:focus { outline: none; border-color: var(--blue); }
@media (max-width: 640px) { .newsletter-form input[type="email"] { font-size: 1rem; } }
.form-consent, .form-sms-consent { display: flex; align-items: flex-start; gap: 0.75rem; margin-block: 1rem; font-size: 0.875rem; line-height: 1.6; color: var(--ink); }
.form-consent input[type="checkbox"], .form-sms-consent input[type="checkbox"] { flex: 0 0 auto; width: 1.25rem; height: 1.25rem; margin-top: 0.15rem; accent-color: var(--blue); }
.form-consent input:focus-visible, .form-sms-consent input:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.form-consent a, .form-sms-consent a { text-decoration: underline; }
.newsletter-form .form-consent, .newsletter-form .form-sms-consent { flex-basis: 100%; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dusk); color: var(--white); padding: 5.5rem 0 3rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.footer-brand .wordmark { color: var(--white); }
.footer-brand p { margin-top: 1.5rem; font-size: 0.9375rem; color: rgba(255, 255, 255, 0.75); max-width: 30ch; }
.footer-contact { margin-top: 1.75rem; font-size: 0.9375rem; line-height: 2; }
.footer-contact a { color: var(--white); border-bottom: 1px solid rgba(255,255,255,0.3); transition: border-color 300ms var(--ease); }
.footer-contact a:hover { border-color: var(--white); }
.footer-col .footer-h {
  margin-top: 0;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: var(--track-eyebrow);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 1.4rem;
}
.footer-col a {
  display: block;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.9);
  padding: 0.35rem 0;
  transition: opacity 300ms var(--ease);
}
.footer-col a:hover { opacity: 0.6; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
  padding-top: 2.5rem;
}
.footer-social { display: flex; gap: 1.5rem; }
.footer-social a {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: var(--track-eyebrow);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  transition: color 300ms var(--ease);
}
.footer-social a:hover { color: var(--white); }
.footer-legal { font-size: 0.8125rem; color: rgba(255, 255, 255, 0.78); }
.footer-seal {
  margin: 3.5rem auto 0;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.375rem;
  letter-spacing: 0.05em;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 900ms var(--ease), transform 900ms var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 90ms; }
.reveal.d2 { transition-delay: 180ms; }
.reveal.d3 { transition-delay: 270ms; }

.hero .video-fallback { display: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card-media img, .gallery-grid img { transition: none; }
  .hero video, .band video, .video-toggle { display: none; }
  .hero .video-fallback { display: block; }
}

/* Crop utility: hides the right-edge clutter of the courtyard photograph.
   Containers (.hero, .band, .split-media, .card-media) all clip overflow. */
img.crop-left { transform: scale(1.5); transform-origin: 10% 66%; }

/* One unifying grade so the mixed library reads as a single commissioned shoot.
   Heroes and bands are excluded — the gradient scrim is their treatment. */
.card-media img, .split-media img, .gallery-grid img, .story-media img, .article-figure img {
  filter: saturate(0.9) sepia(0.06) contrast(0.96) brightness(1.02);
}

/* ==========================================================================
   MOTION LAYER — modern luxury presentation (aerodynamics.nl register)
   Rounded media · pill buttons · inset color blocks · carousels · GSAP hooks
   Appended last so these rules win the cascade.
   ========================================================================== */

:root {
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 14px;
}

/* Display type grows to modern scale */
.display-xl { font-size: clamp(2.6rem, 6vw, 5.25rem); line-height: 1.02; letter-spacing: -0.02em; }
.display-l  { font-size: clamp(2rem, 3.8vw, 3.25rem); line-height: 1.08; }

/* Rounded media everywhere */
.card-media, .split-media, .story-media, .gallery-grid figure,
.video-frame, .feature-quote, .tile, .article-figure img { border-radius: var(--radius-lg); overflow: hidden; }
.split-media img, .story-media img { border-radius: var(--radius-lg); }

/* Pill buttons */
.btn, .btn-ghost, .btn-ghost-light { border-radius: 999px; }
.field input, .field select, .field textarea { border-radius: var(--radius-md); }
.newsletter-form input[type="email"] { border-radius: 999px 0 0 999px; padding-left: 1.4rem; }
.newsletter-form .btn { border-radius: 0 999px 999px 0; }
.radio-tiles label { border-radius: var(--radius-md); }
.video-toggle { border-radius: 50%; }

/* Inset rounded color blocks: bands + interstitials float on the paper */
.band, .interstitial, .interstitial-quiet {
  margin-left: clamp(10px, 1.4vw, 20px);
  margin-right: clamp(10px, 1.4vw, 20px);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.band + .section, .interstitial + .section { padding-top: var(--section-pad); }
.band + .band, .band + .interstitial, .interstitial + .band,
.band + .interstitial-quiet, .interstitial-quiet + .band { margin-top: clamp(10px, 1.4vw, 20px); }

/* Header: soft blur veil when solid; hide/reveal on scroll */
.site-header.scrolled, body.no-hero .site-header {
  background: rgba(252, 251, 248, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.site-header { transform: translateY(0); transition: background 600ms var(--ease), color 600ms var(--ease), box-shadow 600ms var(--ease), transform 500ms var(--ease); }
.site-header.hidden { transform: translateY(-100%); }
.header-cta .btn { height: 46px; }

/* ---------- Carousel (reference pattern: tall rounded cards, label bottom-left, round arrow) ---------- */
.carousel { position: relative; }
.carousel-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 2.5rem; }
.carousel-nav { display: flex; gap: 0.6rem; }
.carousel-nav button {
  width: 52px; height: 52px;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: background 400ms var(--ease), color 400ms var(--ease), border-color 400ms var(--ease), opacity 300ms var(--ease);
}
.carousel-nav button:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }
.carousel-nav button:disabled { opacity: 0.35; pointer-events: none; }
.carousel-track {
  display: flex;
  gap: clamp(14px, 1.6vw, 22px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  padding: 4px var(--gutter);
  margin: 0 calc(-1 * var(--gutter));
  cursor: grab;
}
.carousel-track:active { cursor: grabbing; }
.carousel-track::-webkit-scrollbar { display: none; }
.c-card {
  position: relative;
  flex: 0 0 clamp(300px, 34vw, 430px);
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  scroll-snap-align: start;
  color: var(--white);
  display: flex;
  align-items: flex-end;
  isolation: isolate;
}
.c-card.wide { flex-basis: clamp(320px, 44vw, 640px); aspect-ratio: 4 / 3; }
.c-card img, .c-card video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1200ms var(--ease); }
.c-card:hover img { transform: scale(1.045); }
.c-card img.crop-left, .c-card:hover img.crop-left { transform: scale(1.5); transform-origin: 10% 66%; }
.c-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,20,34,0) 46%, rgba(14,20,34,0.62) 100%); z-index: 1; }
.c-card-label { position: relative; z-index: 2; padding: 1.6rem 4.5rem 1.6rem 1.6rem; width: 100%; }
.c-card-label h3, .c-card-label h4 { color: var(--white); font-size: 1.35rem; margin-bottom: 0.25rem; }
.c-card-label p { color: rgba(255,255,255,0.82); font-size: 0.875rem; line-height: 1.5; }
.c-card-label .c-kicker { display: block; font-size: 0.6875rem; font-weight: 500; letter-spacing: var(--track-eyebrow); text-transform: uppercase; color: rgba(255,255,255,0.75); margin-bottom: 0.5rem; }
.c-arrow {
  position: absolute; right: 1.25rem; bottom: 1.25rem; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--white); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem;
  transition: background 400ms var(--ease), color 400ms var(--ease), transform 400ms var(--ease);
}
.c-card:hover .c-arrow { background: var(--blue); color: var(--white); transform: translate(2px, -2px); }

/* ---------- Giant brand moment ---------- */
.display-giant {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.6rem, 13vw, 13rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-align: center;
  white-space: nowrap;
}
.display-giant em { font-style: italic; }

/* ---------- Word marquee ---------- */
.marquee { overflow: hidden; padding: 2.5rem 0; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.marquee-track { display: flex; gap: 3.5rem; width: max-content; will-change: transform; }
.marquee-track span {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  color: var(--stone);
  white-space: nowrap;
}
.marquee-track span em { color: var(--blue); font-style: italic; }

/* ---------- GSAP hooks ---------- */
html.gsap-on .reveal { opacity: 1; transform: none; transition: none; }
.img-parallax { overflow: hidden; }
.img-parallax > img { will-change: transform; }

@media (max-width: 640px) {
  .c-card, .c-card.wide { flex-basis: min(78vw, 390px); }
  .carousel-head { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .stepper { overflow-x: auto; scrollbar-width: none; }
  .step-tab { flex: 1 0 auto; white-space: nowrap; padding: 1.1rem 0.9rem; font-size: 0.625rem; letter-spacing: 0.1em; }
}

/* ==========================================================================
   REDESIGN LAYER 2 — observed from aerodynamics.nl firsthand
   Flat header · full-screen menu · two-tone display · gradient page heroes ·
   custom video player · spec chips · porthole hero
   ========================================================================== */

/* ---------- Two-tone display type: italic word carries a tint ---------- */
.display-xl em, .display-l em, .display-giant em { color: var(--blue); font-style: italic; }
.hero .display-xl em, .band .display-l em { color: #C9D9F2; }
.interstitial .display-l em { color: rgba(255, 255, 255, 0.72); }

/* ---------- Header v3: flat links · centered mark · pill CTA · burger always ---------- */
.header-inner {
  /* Single-navigation header: wordmark left, controls right. */
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1rem;
}
.site-nav { justify-self: start; gap: 1.6rem; }
.site-nav a { font-size: 0.8438rem; letter-spacing: 0.04em; position: relative; padding: 8px 0; }
.site-nav a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 1px;
  background: currentColor;
}
.site-nav a.active { border-bottom: none; }
.header-inner .wordmark { justify-self: start; text-align: left; }
.footer-brand .wordmark, .mobile-menu .wordmark { text-align: left; }
.header-right { justify-self: end; display: flex; align-items: center; gap: 0.7rem; }
.icon-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  display: flex; align-items: center; justify-content: center;
  transition: background 400ms var(--ease), border-color 400ms var(--ease), color 400ms var(--ease);
}
.site-header.scrolled .icon-btn, body.no-hero .icon-btn { border-color: var(--hairline); }
.icon-btn:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }
.icon-btn svg { width: 17px; height: 17px; }
.nav-toggle {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  align-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  transition: border-color 400ms var(--ease), background 400ms var(--ease);
}
.site-header.scrolled .nav-toggle, body.no-hero .nav-toggle { border-color: var(--hairline); }
.nav-toggle:hover { background: rgba(127, 127, 127, 0.08); }
.nav-toggle span { display: block; width: 16px; height: 1.5px; background: currentColor; transition: transform 300ms var(--ease); }
@media (max-width: 1180px) {
  .site-nav { display: none; }
  .header-inner { grid-template-columns: auto 1fr auto; }
  .header-inner .wordmark { justify-self: start; text-align: left; }
}
@media (max-width: 700px) { .header-cta { display: none; } }
@media (max-width: 480px) {
  .header-inner .wordmark small { font-size: 0.5rem; letter-spacing: 0.14em; white-space: nowrap; }
}

/* ---------- Full-screen menu overlay v2 (replaces old mobile list) ---------- */
.mobile-menu {
  background: var(--paper);
  padding: 0;
  display: block;
  overflow-y: auto;
  overscroll-behavior: contain;
  visibility: hidden;
  transition: transform 500ms var(--ease), visibility 0s linear 500ms;
}
.mobile-menu.open { visibility: visible; transition: transform 500ms var(--ease), visibility 0s; }
.menu-shell {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 1.1rem clamp(20px, 4vw, 64px) 4rem;
}
.mobile-menu-top { margin-bottom: clamp(2rem, 6vh, 5rem); align-items: center; }
.mobile-close {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  font-size: 0;
  position: relative;
}
.mobile-close::before, .mobile-close::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  width: 16px; height: 1.5px;
  background: var(--ink);
}
.mobile-close::before { transform: translate(-50%, -50%) rotate(45deg); }
.mobile-close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.menu-cols {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(2rem, 6vw, 7rem);
  flex: 1;
}
.menu-primary a {
  display: flex;
  align-items: baseline;
  gap: 1.1rem;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 4.6vh, 3.4rem);
  line-height: 1.12;
  padding: 0.55rem 0;
  border-bottom: none;
  transition: color 400ms var(--ease), padding-left 400ms var(--ease);
}
.menu-primary a:hover { color: var(--blue); padding-left: 0.75rem; }
.menu-primary a small {
  display: inline;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: var(--track-eyebrow);
  color: var(--stone);
  margin: 0;
}
.menu-primary a em { font-style: italic; }
.menu-side .menu-h {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: var(--track-eyebrow);
  text-transform: uppercase;
  color: var(--stone);
  margin: 2rem 0 0.9rem;
}
.menu-side .menu-h:first-child { margin-top: 0.5rem; }
.menu-side a {
  display: block;
  font-size: 1.0625rem;
  padding: 0.4rem 0;
  color: var(--ink);
  transition: color 300ms var(--ease), padding-left 300ms var(--ease);
}
.menu-side a:hover { color: var(--blue); padding-left: 0.5rem; }
.menu-foot {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.5rem;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--hairline);
  padding-top: 1.75rem;
  font-size: 0.9375rem;
  color: var(--stone);
}
.menu-foot a { color: var(--ink); }
.menu-foot .btn { color: var(--white); }
@media (max-width: 860px) {
  .menu-cols { grid-template-columns: 1fr; }
  .menu-primary a { font-size: clamp(1.75rem, 3.6vh, 2.5rem); }
}

/* ---------- Gradient page hero (inner pages) ---------- */
.page-hero {
  padding: calc(var(--header-h) + clamp(4rem, 10vh, 7.5rem)) 0 clamp(3.5rem, 8vh, 6rem);
  text-align: center;
  background: linear-gradient(180deg, #E8EFF9 0%, #F4F6F9 46%, var(--paper) 100%);
}
.page-hero .display-xl { max-width: 22ch; margin: 0 auto; }
.page-hero .lede { max-width: 56ch; margin: 1.75rem auto 0; color: var(--stone); }
.page-hero .chips { justify-content: center; margin-top: 2.25rem; gap: 0; width: fit-content; margin-left: auto; margin-right: auto; padding: 0.9rem 1.8rem; border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.page-hero .chip { border: none; background: none; padding: 0; font-family: var(--label); font-weight: 400; font-size: 0.74rem; letter-spacing: 0.18em; color: var(--ink); -webkit-text-stroke: 0.35px currentColor; }
.page-hero .chip:not(:last-child)::after { content: "·"; margin: 0 1.1rem; color: var(--stone); -webkit-text-stroke: 0; }
@media (max-width: 640px) {
  .page-hero .chips { flex-direction: column; gap: 0.45rem; }
  .page-hero .chip:not(:last-child)::after { content: none; }
}
.page-hero .btn-row { justify-content: center; margin-top: 2.25rem; }

/* ---------- Spec chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1.05rem;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: var(--white);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}
.chip.blue { background: #E2EBFA; border-color: rgba(0, 51, 160, 0.22); color: var(--blue); }
.c-card .chips { position: absolute; top: 1.15rem; left: 1.15rem; right: 1.15rem; z-index: 2; padding: 0; gap: 0.4rem; }
.c-card .chip {
  background: rgba(20, 26, 40, 0.55);
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--white);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.625rem;
  padding: 0.4rem 0.85rem;
}

/* ---------- Custom video player ---------- */
.vp { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink); }
.vp video { display: block; width: 100%; height: 100%; }
.vp-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, rgba(14,20,34,0.38) 0%, rgba(14,20,34,0.05) 24%, rgba(14,20,34,0.05) 55%, rgba(14,20,34,0.5) 100%);
  opacity: 1;
  transition: opacity 500ms var(--ease), background 500ms var(--ease);
  cursor: pointer;
}
.vp:fullscreen, .vp:fullscreen video { border-radius: 0; }
.vp.playing .vp-overlay { background: linear-gradient(180deg, rgba(14,20,34,0) 70%, rgba(14,20,34,0.35) 100%); }
.vp-big {
  width: clamp(64px, 7vw, 88px); height: clamp(64px, 7vw, 88px);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  transition: transform 500ms var(--ease), background 400ms var(--ease), opacity 400ms var(--ease);
  box-shadow: 0 18px 50px rgba(14, 20, 34, 0.35);
}
.vp-overlay:hover .vp-big { transform: scale(1.08); background: var(--white); }
.vp.playing .vp-big { opacity: 0; pointer-events: none; transform: scale(0.8); }
.vp-big svg { width: 26%; height: 26%; margin-left: 6%; }
.vp-kicker {
  position: absolute; top: 1.1rem; left: 1.1rem;
  max-width: calc(100% - 2.2rem);
  width: fit-content;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  background: rgba(20, 26, 40, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
  transition: opacity 400ms var(--ease);
}
@media (max-width: 480px) { .vp-full, .vp-mute { display: none; } }
@media (max-width: 900px) { .card-grid.two .vp-full, .card-grid.two .vp-mute { display: none; } }
.vp-bar {
  position: absolute;
  left: 1.1rem; right: 1.1rem; bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 400ms var(--ease), transform 400ms var(--ease);
  color: var(--white);
}
.vp-bar { pointer-events: none; }
.vp.started .vp-bar { opacity: 1; transform: none; pointer-events: auto; }
.vp-progress {
  flex: 1;
  height: 22px;
  display: flex;
  align-items: center;
  cursor: pointer;
}
.vp-progress::before { content: ''; }
.vp-rail { position: relative; width: 100%; height: 3px; border-radius: 3px; background: rgba(255,255,255,0.3); overflow: hidden; }
.vp-fill { position: absolute; inset: 0 100% 0 0; background: var(--white); border-radius: 3px; }
.vp-time { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.06em; font-variant-numeric: tabular-nums; opacity: 0.9; }
.vp-ctl {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
  backdrop-filter: blur(8px);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: background 300ms var(--ease);
}
.vp-ctl:hover { background: rgba(255,255,255,0.32); }
.vp-ctl svg { width: 15px; height: 15px; }
/* YouTube lite embed reuses the same chrome */
.vp-yt { position: relative; aspect-ratio: 16 / 9; cursor: pointer; }
.vp-yt img.vp-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vp-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Porthole hero collapse (home) ---------- */
.hero { will-change: clip-path; }

/* Belt-and-suspenders: any page opening with a gradient page-hero gets the
   solid header treatment even if the body class is missing */
body:has(.page-hero) .site-header {
  background: rgba(252, 251, 248, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--hairline);
}
body:has(.page-hero) .site-header::before { opacity: 0; }
body:has(.page-hero) .icon-btn,
body:has(.page-hero) .nav-toggle { border-color: var(--hairline); }

/* Solid-header pages always get the filled blue pill (beats the ghost variant) */
body.no-hero .site-header .header-cta .btn,
body:has(.page-hero) .site-header .header-cta .btn,
.site-header.scrolled .header-cta .btn {
  background: var(--blue);
  border: none;
  color: var(--white);
}
body.no-hero .site-header .header-cta .btn:hover,
body:has(.page-hero) .site-header .header-cta .btn:hover,
.site-header.scrolled .header-cta .btn:hover { background: var(--blue-deep); }

/* ==========================================================================
   RESPONSIVE POLISH — mobile & tablet fine-tuning
   ========================================================================== */
@media (max-width: 1023px) {
  .split { gap: 2.5rem; }
  .section-head { margin-bottom: 2.75rem; }
  .footer-grid { gap: 2.5rem; }
  .page-hero { padding-top: calc(var(--header-h) + 4.5rem); }
}
@media (max-width: 640px) {
  .lede { font-size: 1.0625rem; }
  .stats { grid-template-columns: 1fr 1fr; gap: 2.25rem 1rem; }
  .feature-quote { min-height: 0; }
  .feature-quote > div { padding: 2rem 1.5rem; }
  .quote-wall > div { padding: 1.9rem 1.5rem 1.6rem; }
  .interstitial { padding: 4.5rem 0; }
  .interstitial .pullquote, .interstitial-quiet .pullquote { max-width: 100%; padding: 0 0.25rem; }
  .band { min-height: 46vh !important; }
  .carousel-nav button { width: 44px; height: 44px; }
  .c-card-label { padding: 1.25rem 3.6rem 1.25rem 1.25rem; }
  .c-card-label h3, .c-card-label h4 { font-size: 1.2rem; }
  .c-arrow { width: 38px; height: 38px; right: 1rem; bottom: 1rem; }
  .field input, .field select { height: 48px; }
  .story { gap: 1.75rem; padding: 2.75rem 0; }
  .story-media { max-width: 100%; }
  .timeline-row { padding: 1.5rem 0; }
  .def-grid > div { padding-top: 1rem; }
  .tile { padding: 2rem 1.5rem; }
  .newsletter-inner h2 { font-size: 1.3rem; }
  .footer-seal { margin-top: 2.5rem; }
  .page-hero .chips { gap: 0.4rem; }
  .chip { padding: 0.42rem 0.85rem; font-size: 0.6875rem; max-width: 100%; white-space: normal; }
  .vp-big { box-shadow: 0 10px 30px rgba(14, 20, 34, 0.3); }
  .video-caption { font-size: 0.8125rem; }
  .menu-foot { padding-bottom: 1rem; }
  .article-header { padding-top: calc(var(--header-h) + 3.5rem); }
}
@media (max-width: 400px) {
  .display-xl { font-size: clamp(2.1rem, 10vw, 2.375rem); }
  .btn, .btn-ghost, .btn-ghost-light { padding: 0 1.5rem; }
}

@media (pointer: coarse) {
  .text-link, .footer-social a, .form-consent a, .form-sms-consent a, .menu-foot a { padding-block: 0.55rem; margin-block: -0.55rem; }
}

/* ---------- Utility ---------- */
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; } .mt-4 { margin-top: 4rem; }
.mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; } .mb-3 { margin-bottom: 3rem; }
.divider { border: none; border-top: 1px solid var(--hairline); margin: 0; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--blue); color: var(--white); padding: 0.75rem 1.25rem;
}
.skip-link:focus { left: 0; }

/* Roster (celebrity) card titles: keep the former h4 scale after h4->h3 promotion */
.roster-grid .card-body h3 { font-size: 1.3125rem; }
/* Visually-hidden section headings (semantic hierarchy without visual change) */
.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; }

/* Homepage team: three people, portrait-weighted cards */
.card-grid.team-grid { grid-template-columns: repeat(3, 1fr); }
.team-grid .card-media { aspect-ratio: 4 / 5; }
.team-grid .card-media img { width: 100%; height: 100%; object-fit: cover; }
.team-grid .card-body p { font-size: 0.9375rem; }
@media (max-width: 900px) { .card-grid.team-grid { grid-template-columns: 1fr; } }

/* Paired figures under a page hero */
.figure-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2vw, 1.75rem); }
.figure-pair img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@media (max-width: 700px) { .figure-pair { grid-template-columns: 1fr; } }

/* ==========================================================================
   TOWN & PRICING COMPONENTS - ported from the retired field skin
   (field-skin.css removed 2026-08-31; these classes are used by the four
   town pages and board-and-train-cost, restyled to the paper system)
   ========================================================================== */
.town-prose { max-width: 720px; }
.town-prose > p { margin-bottom: 1.2em; }
.town-prose > p:last-child { margin-bottom: 0; }

.problem-list { border-top: 1px solid var(--hairline); margin-top: 1.9rem; max-width: 760px; }
.problem-list li { padding: 1rem 0; border-bottom: 1px solid var(--hairline); line-height: 1.6; }

.local-list { border-top: 1px solid var(--hairline); margin-top: 2.25rem; }
.local-row { display: grid; grid-template-columns: minmax(215px, 1fr) 1.7fr; gap: 1.3rem 2.5rem; padding: 1.5rem 0; border-bottom: 1px solid var(--hairline); align-items: baseline; }
.local-row .loc-name { font-weight: 600; line-height: 1.5; }
.local-row .loc-note { color: var(--stone); font-size: 0.875rem; line-height: 1.65; }
@media (max-width: 760px) { .local-row { grid-template-columns: 1fr; gap: 0.4rem; padding: 1.25rem 0; } }

.town-links { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.town-links a { border: 1px solid var(--hairline); border-radius: 999px; padding: 0.7rem 1.2rem; font-size: 0.75rem; font-weight: 500; letter-spacing: var(--track-button); text-transform: uppercase; transition: border-color 300ms var(--ease), color 300ms var(--ease); }
.town-links a:hover { border-color: var(--blue); color: var(--blue); }

a.tile { text-decoration: none; transition: border-color 300ms var(--ease); }
a.tile:hover { border-color: var(--blue); }
.tile .eyebrow { margin-bottom: 0.65rem; }

/* Standalone-CTA polish: ghost buttons inside tiles keep card rhythm */
.tile .btn-ghost { align-self: flex-start; margin-top: 1.75rem; }

.sms-phone { flex-basis: 100%; display: grid; gap: 0.4rem; font-size: 0.875rem; margin-block: 0.75rem; }
.sms-phone input { width: 100%; min-width: 0; padding: 0.75rem; border: 1px solid var(--hairline); border-radius: 0.5rem; color: var(--ink); background: var(--white); }
