/* ================================================================
   TIM O'DONNELL — KEYNOTE SPEAKER
   Premium Design System v2 — Field Manual edition (Phase 3)
   ================================================================ */

/* ── Cascade layers (Phase 3, §7.1) ─────────────
   Layer order: later layers win, unlayered (existing rules below)
   beats all layered styles. Future edits land in the right layer;
   for now the declaration alone establishes priority. */
@layer reset, tokens, legacy, base, layout, components, motion, utilities;


/* ── @layer tokens — Field Manual design tokens (§1, §2, §3, §4) ── */
@layer tokens {
  :root {
    /* ─── Type families ─── */
    --ff-display: 'Fraunces', 'Times New Roman', Georgia, serif;
    --ff-body:    'Switzer', system-ui, -apple-system, sans-serif;
    --ff-mono:    'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;

    /* ─── Type scale (fluid) ─── */
    --fs-mega:      clamp(4.5rem,  9vw,   8.5rem);
    --fs-display:   clamp(3rem,    6vw,   5.5rem);
    --fs-h1:        clamp(2.25rem, 4vw,   3.75rem);
    --fs-h2:        clamp(1.75rem, 3vw,   2.75rem);
    --fs-h3:        clamp(1.25rem, 1.8vw, 1.625rem);
    --fs-pullquote: clamp(1.75rem, 3vw,   2.5rem);
    --fs-lead:      clamp(1.125rem, 1.4vw, 1.3125rem);
    --fs-body:      1rem;
    --fs-small:     0.875rem;
    --fs-eyebrow:   0.6875rem;
    --fs-caption:   0.8125rem;

    /* ─── Tracking ─── */
    --tracking-eyebrow:      0.18em;
    --tracking-mono-display: 0.02em;
    --tracking-tight:        -0.02em;
    --tracking-tighter:      -0.035em;

    /* ─── Palette — The Field Manual ─── */
    --ink:          #0E0E0F;
    --bone:         #F4EFE6;
    --paper:        #FAF7F1;
    --stone:        #8A8278;
    --smoke:        #1C1C1E;
    --whisper:      #E8E2D5;
    --oxblood:      #6E1614;
    --oxblood-deep: #4E0D0C;
    --bone-on-ink:  #EAE3D4;

    /* ─── Legacy variable bridges (so old rules use new palette) ─── */
    --bg:           var(--bone);
    --bg-warm:      var(--paper);
    --surface:      var(--paper);
    --text:         var(--ink);
    --text-2:       var(--stone);
    --text-3:       var(--stone);
    --border:       var(--whisper);
    --accent:       var(--oxblood);
    --serif:        var(--ff-display);

    /* ─── Space ─── */
    --space-section: clamp(5rem, 10vw, 9rem);
    --space-block:   clamp(2.5rem, 5vw, 4.5rem);
    --space-stack:   1.5rem;
    --gutter:        clamp(1.5rem, 4vw, 4rem);
    --margin-w:      220px;
    --max:           1320px;
    --max-narrow:    880px;

    /* ─── Motion ─── */
    --ease-out:  cubic-bezier(.2, .6, .2, 1);
    --ease-draw: cubic-bezier(.7, 0, .3, 1);
    --dur-fast:  200ms;
    --dur-med:   500ms;
    --dur-slow:  900ms;
  }
}


/* ── @layer base — editorial defaults mapped onto existing classes ── */
@layer base {
  /* Re-bridge legacy variables to the Field Manual palette HERE in @layer
     base so they beat @layer legacy's :root redefinitions (which would
     otherwise reintroduce the pre-Phase-3 off-white/terracotta values).
     Legacy CSS using var(--bg) / var(--bg-warm) / var(--text) / etc. now
     resolves to bone / paper / ink. */
  :root {
    --bg:           var(--bone);
    --bg-warm:      var(--paper);
    --surface:      var(--paper);
    --text:         var(--ink);
    --text-2:       var(--stone);
    --text-3:       var(--stone);
    --border:       var(--whisper);
    --accent:       var(--oxblood);
    --serif:        var(--ff-display);
    --sans:         var(--ff-body);
    --dk:           var(--smoke);
    --dk-surface:   var(--smoke);
    --dk-text:      var(--bone-on-ink);
    --dk-muted:     var(--stone);
  }

  html, body {
    background: var(--bone);
    color: var(--ink);
    font-family: var(--ff-body);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }

  h1, h2, h3, h4, h5, .hero__title, .story-text__title {
    font-family: var(--ff-display);
    color: var(--ink);
    letter-spacing: var(--tracking-tight);
    font-weight: 400;
  }

  h1, .hero__title {
    font-size: var(--fs-h1);
    line-height: 1.05;
    letter-spacing: var(--tracking-tighter);
  }
  h2 { font-size: var(--fs-h2); line-height: 1.1; }
  h3 { font-size: var(--fs-h3); line-height: 1.25; }

  p, li, .lead {
    font-family: var(--ff-body);
  }
  .lead {
    font-size: var(--fs-lead);
    line-height: 1.5;
    color: var(--ink);
    font-weight: 300;
  }

  .eyebrow {
    font-family: var(--ff-mono);
    font-size: var(--fs-eyebrow);
    letter-spacing: var(--tracking-eyebrow);
    text-transform: uppercase;
    color: var(--oxblood);
    font-weight: 500;
    font-style: normal !important;
  }
  .eyebrow--light {
    color: var(--bone-on-ink);
  }

  blockquote, .pull-quote-card blockquote, .quote-card__body {
    font-family: var(--ff-display);
    font-style: italic;
    font-size: var(--fs-pullquote);
    line-height: 1.25;
    color: var(--ink);
    letter-spacing: var(--tracking-tight);
  }

  cite, .quote-card__meta, figcaption, .small, .testimonial__attr {
    font-family: var(--ff-mono);
    font-size: var(--fs-caption);
    font-style: normal;
    color: var(--stone);
    letter-spacing: var(--tracking-mono-display);
    text-transform: none;
  }

  /* Dark sections — applies ONLY to explicit dark sections, not all heroes */
  .section--dark {
    background: var(--smoke);
  }
  .section--dark,
  .section--dark h2,
  .section--dark h3,
  .section--dark p,
  .section--dark .lead {
    color: var(--bone-on-ink);
  }
  .section--dark .eyebrow {
    color: var(--bone-on-ink);
  }

  /* Warm sections become paper */
  .section--warm {
    background: var(--paper);
  }

  /* Hairline rule accent — used under headlines */
  .rule, .rule--accent, .rule--dark {
    display: block;
    width: 64px;
    height: 1px;
    background: var(--oxblood);
    border: 0;
    margin: 1.25rem 0 1.5rem;
  }

  /* Links */
  a {
    color: var(--ink);
    text-decoration-color: var(--oxblood);
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
  }
  a:hover {
    color: var(--oxblood);
  }
  .mono-link {
    font-family: var(--ff-mono);
    font-size: var(--fs-caption);
    letter-spacing: var(--tracking-mono-display);
    text-transform: uppercase;
    color: var(--oxblood);
    text-decoration: none;
    border-bottom: 1px solid var(--oxblood);
    padding-bottom: 2px;
  }

  /* Brand wordmark */
  .brand {
    font-family: var(--ff-display);
    font-weight: 400;
    letter-spacing: var(--tracking-tighter);
  }
  .brand__emphasis {
    font-style: italic;
    color: var(--oxblood);
  }

  /* Nav links */
  .nav__link {
    font-family: var(--ff-mono);
    font-size: var(--fs-eyebrow);
    text-transform: uppercase;
    letter-spacing: var(--tracking-eyebrow);
    color: var(--ink);
    text-decoration: none;
    padding-bottom: 4px;
  }
  .nav__link--active {
    border-bottom: 1px solid var(--oxblood);
  }
  .header__cta {
    font-family: var(--ff-mono);
    font-size: var(--fs-eyebrow);
    text-transform: uppercase;
    letter-spacing: var(--tracking-eyebrow);
    color: var(--ink);
    background: transparent;
    border: 1px solid var(--ink);
    border-radius: 0; /* Defeat legacy pill (999px) */
    padding: 0.625rem 1rem;
    text-decoration: none;
  }
  .header__cta:hover {
    background: var(--ink);
    color: var(--bone);
    border-color: var(--ink);
  }

  /* Buttons */
  .btn {
    font-family: var(--ff-mono);
    font-size: var(--fs-eyebrow);
    text-transform: uppercase;
    letter-spacing: var(--tracking-eyebrow);
    font-weight: 500;
    padding: 0.875rem 1.25rem;
    border-radius: 0;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
  }
  .btn--white, .btn--primary {
    background: var(--ink);
    color: var(--bone);
    border: 1px solid var(--ink);
  }
  .btn--white:hover, .btn--primary:hover {
    background: var(--oxblood);
    border-color: var(--oxblood);
    color: var(--bone);
  }
  .btn--ghost, .btn--ghost-light {
    background: transparent;
    border: 1px solid currentColor;
    color: inherit;
  }
  .btn--ghost:hover, .btn--ghost-light:hover {
    background: var(--ink);
    color: var(--bone);
    border-color: var(--ink);
  }

  /* Stats — typeset numerals in mono. On dark .stats-bar use light text. */
  .stat__value {
    font-family: var(--ff-mono);
    font-weight: 500;
    letter-spacing: var(--tracking-mono-display);
    color: var(--ink);
  }
  .stat__label {
    font-family: var(--ff-mono);
    font-size: var(--fs-caption);
    text-transform: uppercase;
    letter-spacing: var(--tracking-eyebrow);
    color: var(--stone);
  }
  .stats-bar .stat__value {
    color: var(--bone-on-ink);
  }
  .stats-bar .stat__label {
    color: rgba(234, 227, 212, 0.6);
  }

  /* ── Badges — editorial label, not a pill ──────────────
     Legacy `.badge` is a pill with paper bg. On .section--warm
     (also paper) the pill becomes invisible. Strip chrome, use
     a thin oxblood underline instead. */
  .badge {
    display: inline-block;
    padding: 0 0 0.4rem 0;
    border-radius: 0;
    background: transparent;
    font-family: var(--ff-mono);
    font-size: var(--fs-eyebrow);
    font-weight: 500;
    letter-spacing: var(--tracking-eyebrow);
    text-transform: uppercase;
    color: var(--oxblood);
    border-bottom: 1px solid var(--oxblood);
    margin: 0 0 1.25rem 0;
  }
  .badge--dark {
    color: var(--bone-on-ink);
    border-bottom-color: var(--bone-on-ink);
    background: transparent;
  }

  /* Keynote cards on Speaking — restore editorial separation
     after base layer stripped chrome. Use hairline rules between
     cards in the .grid-3 instead of card borders. */
  .section--warm .grid-3 {
    column-gap: 0;
    border-top: 1px solid var(--whisper);
  }
  .section--warm .grid-3 > .card {
    padding: clamp(2rem, 3vw, 2.5rem) clamp(1.5rem, 2.5vw, 2rem) clamp(2rem, 3vw, 2.5rem) 0;
    border-bottom: 1px solid var(--whisper);
  }
  @media (min-width: 800px) {
    .section--warm .grid-3 > .card {
      padding: clamp(2rem, 3vw, 2.5rem) clamp(1.5rem, 2.5vw, 2rem);
      border-bottom: 0;
      border-right: 1px solid var(--whisper);
    }
    .section--warm .grid-3 > .card:last-child {
      border-right: 0;
      padding-right: 0;
    }
    .section--warm .grid-3 > .card:first-child {
      padding-left: 0;
    }
  }
  .section--warm .grid-3 > .card--featured {
    border-left: 0;
    padding-left: 0;
  }
  @media (min-width: 800px) {
    .section--warm .grid-3 > .card--featured {
      padding-left: 0;
    }
  }

  /* Card heading on warm bg */
  .section--warm .card h3 {
    font-family: var(--ff-display);
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    line-height: 1.15;
    color: var(--ink);
    margin: 0 0 0.875rem;
    letter-spacing: -0.015em;
  }
  .section--warm .card > p {
    font-family: var(--ff-body);
    font-size: 1rem;
    line-height: 1.55;
    color: var(--ink);
    font-weight: 300;
    margin: 0 0 1.25rem;
  }

  /* Check-list — minimal tick mark */
  .check-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .check-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.625rem;
    font-family: var(--ff-body);
    font-size: 0.9375rem;
    line-height: 1.45;
    color: var(--ink);
  }
  .check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 0.875rem;
    height: 1px;
    background: var(--oxblood);
  }

  /* ── Hero with inset (About / Proof) — top-align text, strip chrome ── */
  .hero--with-inset__grid {
    align-items: start;
  }
  .hero--with-inset .hero__content {
    padding-top: 0;
  }
  .hero__inset {
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    overflow: visible;
  }
  .hero__inset > img {
    border-radius: 0;
  }

  /* ── Keynote Index — three offerings, numbered chapter spread ── */
  .keynote-index {
    background: var(--bone);
    padding: clamp(4rem, 8vw, 7rem) 0;
  }
  .keynote-index__title {
    font-family: var(--ff-display);
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: var(--ink);
    margin: 0.75rem 0 clamp(2.5rem, 5vw, 4rem);
    max-width: 18ch;
  }
  .keynote {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: clamp(2.5rem, 5vw, 4rem) 0;
    border-top: 1px solid var(--whisper);
  }
  .keynote:last-of-type {
    border-bottom: 1px solid var(--whisper);
  }
  @media (min-width: 800px) {
    .keynote {
      grid-template-columns: minmax(160px, 1.4fr) 5fr;
      column-gap: clamp(2.5rem, 5vw, 5rem);
      align-items: start;
    }
  }
  .keynote__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem 1.25rem;
  }
  @media (min-width: 800px) {
    .keynote__meta {
      flex-direction: row;
      align-items: baseline;
      flex-wrap: wrap;
    }
    .keynote__meta-text {
      display: flex;
      flex-direction: column;
      gap: 0.35rem;
    }
  }
  .keynote__num {
    font-family: var(--ff-mono);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 500;
    letter-spacing: var(--tracking-mono-display);
    color: var(--oxblood);
    line-height: 1;
    display: block;
  }
  .keynote__tag {
    display: block;
    font-family: var(--ff-mono);
    font-size: var(--fs-eyebrow);
    text-transform: uppercase;
    letter-spacing: var(--tracking-eyebrow);
    color: var(--ink);
    font-weight: 500;
  }
  .keynote__duration,
  .keynote__audience {
    display: block;
    font-family: var(--ff-mono);
    font-size: var(--fs-eyebrow);
    text-transform: uppercase;
    letter-spacing: var(--tracking-eyebrow);
    color: var(--stone);
  }
  .keynote__title {
    font-family: var(--ff-display);
    font-size: clamp(1.75rem, 3.2vw, 2.75rem);
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin: 0 0 1rem;
    font-weight: 400;
  }
  .keynote__desc {
    font-family: var(--ff-body);
    font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
    line-height: 1.5;
    color: var(--ink);
    font-weight: 300;
    margin: 0 0 1.75rem;
    max-width: 56ch;
  }
  .keynote__outcomes {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .keynote__outcomes li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    font-family: var(--ff-body);
    font-size: 0.9375rem;
    line-height: 1.5;
    color: var(--ink);
  }
  .keynote__outcomes li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.625em;
    width: 1.25rem;
    height: 1px;
    background: var(--oxblood);
  }
  .keynote__outcomes li:last-child {
    margin-bottom: 0;
  }

  /* ── Opener / Manifesto — editorial chapter spread ───────── */
  .opener-section {
    background: var(--bone);
    padding: clamp(5rem, 10vw, 9rem) 0;
    position: relative;
    border-top: 1px solid var(--whisper);
    border-bottom: 1px solid var(--whisper);
  }
  .opener-section__grid {
    max-width: var(--max);
    margin: 0 auto;
    padding-inline: var(--gutter);
    display: block;
  }
  .opener-section__label {
    font-family: var(--ff-mono);
    font-size: var(--fs-eyebrow);
    text-transform: uppercase;
    letter-spacing: var(--tracking-eyebrow);
    color: var(--stone);
  }
  .opener-statement {
    position: relative;
    margin: 0;
    padding: 0;
    border: 0;
  }
  .opener-statement p {
    font-family: var(--ff-display);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.08;
    letter-spacing: -0.025em;
    color: var(--ink);
    margin: 0 0 clamp(0.4rem, 1vw, 0.75rem);
    max-width: 22ch;
  }
  .opener-statement p:last-child {
    margin-bottom: 0;
  }
  .opener-statement__period {
    color: var(--oxblood);
    font-style: normal;
    font-family: var(--ff-display);
  }
  /* Defensive — legacy .kicker shouldn't target this section. */
  .opener-section::before { display: none; }

  /* ── Testimonials section — editorial spread ─────────── */
  .testimonials-section {
    background: var(--bone);
  }
  .testimonials-section h2 {
    max-width: 18ch;
  }
  .testimonials-section h2::before {
    display: none;
  }
  .testimonials-section .lead {
    display: none;
  }

  /* Featured quote — oversized magazine pull-quote */
  .testimonials-section .quote-card--featured {
    position: relative;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: clamp(2rem, 4vw, 3.5rem) 0 clamp(2.5rem, 4vw, 3.5rem) clamp(2.5rem, 4vw, 4rem);
    max-width: 920px;
    margin-left: 0;
    border-top: 1px solid var(--whisper);
    border-bottom: 1px solid var(--whisper);
  }
  .testimonials-section .quote-card--featured::before {
    content: '\201C';
    position: absolute;
    left: -0.05em;
    top: clamp(1rem, 2vw, 1.5rem);
    font-family: var(--ff-display);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(5rem, 9vw, 9rem);
    line-height: 0.8;
    color: var(--oxblood);
  }
  .testimonials-section .quote-card--featured .quote-card__body {
    font-family: var(--ff-display);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(1.625rem, 3vw, 2.5rem);
    line-height: 1.25;
    letter-spacing: var(--tracking-tight);
    color: var(--ink);
    margin: 0 0 1.5rem;
    max-width: 28ch;
  }
  .testimonials-section .quote-card--featured .quote-card__meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--ff-mono);
    font-size: var(--fs-eyebrow);
    text-transform: uppercase;
    letter-spacing: var(--tracking-eyebrow);
    color: var(--stone);
  }
  .testimonials-section .quote-card--featured .quote-card__meta strong {
    color: var(--ink);
    font-weight: 500;
  }
  .testimonials-section .quote-card--featured .quote-card__meta span::before {
    content: '·';
    margin-right: 0.5rem;
    color: var(--whisper);
  }

  /* Sub-quotes — 3-up grid, hairline-divided */
  .testimonials-section .testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: clamp(2rem, 4vw, 3rem);
  }
  @media (min-width: 800px) {
    .testimonials-section .testimonials-grid {
      grid-template-columns: repeat(3, 1fr);
      gap: 0;
    }
  }
  .testimonials-section .quote-card--sm {
    position: relative;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    padding: clamp(2rem, 3vw, 2.5rem) clamp(1.5rem, 2.5vw, 2rem) clamp(2rem, 3vw, 2.5rem) 0;
    margin: 0;
    border-bottom: 1px solid var(--whisper);
  }
  @media (min-width: 800px) {
    .testimonials-section .quote-card--sm {
      padding: clamp(2rem, 3vw, 2.5rem) clamp(1.5rem, 2.5vw, 2rem);
      border-bottom: 0;
      border-left: 1px solid var(--whisper);
    }
    .testimonials-section .quote-card--sm:first-child {
      border-left: 0;
      padding-left: 0;
    }
  }
  .testimonials-section .quote-card--sm .quote-card__body {
    font-family: var(--ff-display);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
    line-height: 1.45;
    color: var(--ink);
    margin: 0 0 1.25rem;
    letter-spacing: -0.005em;
  }
  .testimonials-section .quote-card--sm .quote-card__meta {
    display: block;
    font-family: var(--ff-mono);
    font-size: var(--fs-eyebrow);
    text-transform: uppercase;
    letter-spacing: var(--tracking-eyebrow);
    line-height: 1.5;
    color: var(--stone);
  }
  .testimonials-section .quote-card--sm .quote-card__meta strong {
    display: block;
    color: var(--ink);
    font-weight: 500;
    margin-bottom: 0.15rem;
  }

  .testimonials-section__link {
    margin-top: clamp(2rem, 3vw, 2.5rem);
  }

  /* Client list — typeset display grid of names */
  .client-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    column-gap: clamp(1.5rem, 3vw, 3rem);
    row-gap: 0;
    border-top: 1px solid var(--whisper);
  }
  .client-list li {
    font-family: var(--ff-display);
    font-size: clamp(1.35rem, 2.2vw, 1.875rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.015em;
    color: var(--ink);
    padding: clamp(1.25rem, 2.2vw, 1.75rem) 0;
    border-bottom: 1px solid var(--whisper);
  }
  .client-note {
    font-family: var(--ff-mono);
    font-size: var(--fs-eyebrow);
    text-transform: uppercase;
    letter-spacing: var(--tracking-eyebrow);
    color: var(--stone);
    margin-top: 1.25rem;
  }

  /* Cards — strip the chrome */
  .card, .card--dark, .card--featured, .quote-card, .pull-quote-card {
    border-radius: 0;
    box-shadow: none;
    border: none;
    background: transparent;
  }
  .card--dark {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(234, 227, 212, 0.12);
    padding: 2rem;
  }
  .card--featured {
    border-left: 2px solid var(--oxblood);
    padding-left: 1.5rem;
  }

  /* Typeset client list (added by Phase 1 agent) */
  .client-line {
    font-family: var(--ff-display);
    font-style: italic;
    font-size: var(--fs-pullquote);
    line-height: 1.4;
    color: var(--ink);
    max-width: 60ch;
  }

  /* Footer */
  .footer {
    background: var(--ink);
    color: var(--bone-on-ink);
    /* Was --whisper (bone hairline on dark) which read as a bright line.
       Use a subtle dark-on-dark hairline instead. */
    border-top: 1px solid rgba(234, 227, 212, 0.12);
  }
  .footer a {
    color: var(--bone-on-ink);
    text-decoration: none;
    border-bottom: 1px solid transparent;
  }
  .footer a:hover {
    border-bottom-color: var(--oxblood);
  }

  /* Form fields — magazine-form treatment */
  .field label {
    font-family: var(--ff-mono);
    font-size: var(--fs-eyebrow);
    text-transform: uppercase;
    letter-spacing: var(--tracking-eyebrow);
    color: var(--stone);
  }
  .field input,
  .field textarea,
  .field select {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--whisper);
    border-radius: 0;
    padding: 0.75rem 0;
    font-family: var(--ff-body);
    font-size: var(--fs-body);
    color: var(--ink);
    transition: border-color var(--dur-fast) var(--ease-out);
  }
  .field input:focus,
  .field textarea:focus,
  .field select:focus {
    outline: none;
    border-bottom-color: var(--oxblood);
    box-shadow: none; /* defeat legacy 3px focus ring */
  }

  /* Framework step numerals */
  .framework-step__num {
    font-family: var(--ff-mono);
    font-weight: 500;
    color: var(--oxblood);
  }

  /* Outcome numerals */
  .outcome__num {
    font-family: var(--ff-mono);
    font-weight: 500;
    color: var(--oxblood);
    font-size: 2rem;
  }

  /* Reduce motion */
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
  }
}


/* ── @layer components — Phase 3 component overrides ── */
@layer components {
  /* Marquee retired in favor of typeset client list */
  .logo-marquee, .logo-marquee__track {
    display: none !important;
  }

  /* ============================================================
     Phase 4 — Signature Moments (§5)
     Five components that take the site from polished to memorable:
       1. Closing spread        — §5.5
       2. Records typeset       — §5.2
       3. Heartbeat (cor) marker — §5.3
       4. Marginalia rail       — §5.4 / §3.1
       5. Typographic home hero — §5.1
     ============================================================ */

  /* ── 1. Closing spread (§5.5) — "Built Forward." ───────────── */
  .closing-spread {
    background: var(--bone);
    padding: clamp(6rem, 12vw, 12rem) var(--gutter);
  }
  .closing-spread__inner {
    max-width: 880px;
    margin: 0 auto;
  }
  .closing-spread__line {
    font-family: var(--ff-display);
    font-size: var(--fs-mega);
    color: var(--ink);
    line-height: 1;
    letter-spacing: var(--tracking-tighter);
    margin: 0;
    font-weight: 400;
  }
  .closing-spread__line--roman {
    font-style: normal;
    font-weight: 400;
  }
  .closing-spread__line--italic {
    font-style: italic;
    font-weight: 400;
    margin-top: -0.1em;
  }
  .closing-spread__period {
    color: var(--oxblood);
    font-style: normal;
  }
  .closing-spread__rule {
    width: 80px;
    height: 0;
    border: none;
    border-top: 1px solid var(--oxblood);
    margin: 2.5rem 0 1.75rem;
  }
  .closing-spread__contact {
    font-family: var(--ff-mono);
    font-size: var(--fs-eyebrow);
    text-transform: uppercase;
    letter-spacing: var(--tracking-eyebrow);
    color: var(--stone);
    margin: 0;
  }
  .closing-spread__contact a {
    color: var(--ink);
    text-decoration: none;
    border-bottom: 1px solid var(--oxblood);
    padding-bottom: 2px;
    transition: color var(--dur-fast) var(--ease-out);
  }
  .closing-spread__contact a:hover {
    color: var(--oxblood);
  }
  .closing-spread__contact span {
    margin: 0 0.6rem;
    /* Was --whisper which sat invisibly on bone bg.
       Stone gives a calm but readable dot separator. */
    color: var(--stone);
  }

  /* ── 2. Records typeset (§5.2) — editorial stacked rows ─────── */
  .record-set {
    display: flex;
    flex-direction: column;
    margin: clamp(2rem, 4vw, 3.5rem) 0 clamp(3rem, 6vw, 5rem);
    border-top: 1px solid var(--whisper);
  }
  .record {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: clamp(1.75rem, 3.5vw, 2.75rem) 0;
    border-bottom: 1px solid var(--whisper);
    align-items: baseline;
  }
  @media (min-width: 700px) {
    .record {
      grid-template-columns: minmax(0, 1.6fr) minmax(0, 2fr);
      column-gap: clamp(2rem, 4vw, 4rem);
    }
  }
  .record__value {
    display: block;
    font-family: var(--ff-mono);
    font-weight: 500;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 0.95;
    letter-spacing: var(--tracking-mono-display);
    color: var(--ink);
  }
  .record__rule {
    display: none;
  }
  .record__meta {
    display: block;
    font-family: var(--ff-mono);
    font-size: var(--fs-eyebrow);
    text-transform: uppercase;
    letter-spacing: var(--tracking-eyebrow);
    line-height: 1.6;
    color: var(--stone);
  }

  /* Solo variant — single big record, centered (used on Athletic Story) */
  .record-set--solo {
    border-top: 0;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  .record-set--solo .record {
    grid-template-columns: 1fr;
    border-bottom: 0;
    padding: 0;
    gap: 1.25rem;
  }
  .record-set--solo .record__value {
    font-size: clamp(3.5rem, 12vw, 8rem);
  }
  .record-set--solo .record__rule {
    display: block;
    width: clamp(96px, 18vw, 180px);
    height: 0;
    border: none;
    border-top: 1px solid var(--oxblood);
    margin: 0 auto;
  }

  /* ── 3. Heartbeat marker (§5.3) — the signature pulse ──────── */
  .cor-marker {
    display: block;
    margin: clamp(2rem, 4vw, 3.5rem) 0;
    max-width: 240px;
  }
  .cor-marker__line {
    display: block;
    height: 1px;
    width: 80px;
    background: var(--oxblood);
    transform-origin: left center;
    transform: scaleX(1);
    opacity: 0.55;
  }
  .cor-marker__label {
    display: block;
    margin-top: 0.75rem;
    font-family: var(--ff-mono);
    font-size: var(--fs-eyebrow);
    text-transform: uppercase;
    letter-spacing: var(--tracking-eyebrow);
    color: var(--stone);
    font-style: normal;
    opacity: 0;
    transition: opacity 0.6s 0.2s ease-out;
  }
  .cor-marker.is-visible .cor-marker__line {
    animation: cor-pulse 1.4s cubic-bezier(.4, 0, .2, 1) both;
  }
  .cor-marker.is-visible .cor-marker__label {
    opacity: 1;
  }

  @keyframes cor-pulse {
    0%   { transform: scaleX(1);    opacity: 0.55; }
    45%  { transform: scaleX(1.05); opacity: 1; }
    100% { transform: scaleX(1);    opacity: 0.55; }
  }

  /* ── 4. Marginalia rail (§3.1, §5.4) ───────────────────────── */
  .editorial-grid {
    display: block;
  }
  .editorial-grid__content {
    /* main column flows naturally */
  }
  .editorial-grid__margin {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--whisper);
  }
  @media (min-width: 1100px) {
    .editorial-grid {
      display: grid;
      grid-template-columns: 1fr 220px;
      gap: clamp(2rem, 4vw, 4rem);
      align-items: start;
    }
    .editorial-grid__margin {
      margin-top: 0;
      padding-top: 0.5rem;
      border-top: 0;
    }
    /* When .editorial-grid is nested inside .story-text (which already
       sits in a 2-col .story-split), the side rail can't fit — collapse
       back to block flow so margin notes stack under the body copy. */
    .story-text .editorial-grid {
      display: block;
    }
    .story-text .editorial-grid__margin {
      margin-top: 1.5rem;
      padding-top: 1rem;
      border-top: 1px solid var(--whisper);
    }
  }
  .margin-note {
    font-family: var(--ff-mono);
    font-size: var(--fs-caption);
    text-transform: uppercase;
    letter-spacing: var(--tracking-eyebrow);
    color: var(--stone);
    margin: 0 0 0.75rem 0;
    line-height: 1.4;
  }
  .margin-note--date {
    color: var(--oxblood);
  }

  /* ── 5. Typographic home hero (§5.1) — "Champion. Redefined." ─ */
  .home-hero {
    position: relative;
    background: var(--bone);
    padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 7rem);
    overflow: hidden;
  }
  .home-hero__inner {
    width: min(90%, var(--max-w));
    margin: 0 auto;
    display: grid;
    grid-template-areas:
      'eyebrow'
      'title'
      'rule'
      'body'
      'figure';
    gap: 1.5rem;
  }
  .home-hero .eyebrow {
    grid-area: eyebrow;
  }
  .eyebrow--mono {
    font-family: var(--ff-mono);
    font-size: var(--fs-eyebrow);
    text-transform: uppercase;
    letter-spacing: var(--tracking-eyebrow);
    color: var(--oxblood);
  }
  .home-hero__title {
    grid-area: title;
    margin: 0;
    font-family: var(--ff-display);
    color: var(--ink);
    letter-spacing: var(--tracking-tighter);
    line-height: 0.92;
    display: flex;
    flex-direction: column;
  }
  .home-hero__word {
    display: block;
    font-size: clamp(5.5rem, 13vw, 13rem);
  }
  .home-hero__word--italic {
    font-style: italic;
    font-weight: 400;
  }
  .home-hero__word--roman {
    font-style: normal;
    font-weight: 400;
    font-size: clamp(3rem, 6vw, 5.5rem);
    margin-top: -0.05em;
  }
  .home-hero__period {
    color: var(--oxblood);
    font-style: normal;
  }
  .home-hero__rule {
    grid-area: rule;
    width: 80px;
    height: 0;
    border: 0;
    border-top: 1px solid var(--oxblood);
    margin: 0.5rem 0 0;
  }
  .home-hero__body {
    grid-area: body;
    max-width: 38ch;
  }
  .home-hero__lead {
    font-family: var(--ff-body);
    font-size: var(--fs-lead);
    line-height: 1.5;
    color: var(--ink);
    font-weight: 300;
    margin: 0 0 2rem;
  }
  .home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
  }
  .home-hero__subtle {
    font-family: var(--ff-mono);
    font-size: var(--fs-caption);
    color: var(--stone);
    text-transform: uppercase;
    letter-spacing: var(--tracking-eyebrow);
    margin: 0;
  }
  .home-hero__subtle a {
    color: var(--ink);
    text-decoration: none;
    border-bottom: 1px solid var(--oxblood);
    padding-bottom: 1px;
  }
  /* Mobile-first base figure: in normal grid flow (overridden absolute at ≥900px) */
  .home-hero__figure {
    grid-area: figure;
    margin: 0;
    justify-self: end;
  }
  .home-hero__figure img {
    display: block;
    width: 100%;
    max-width: 460px;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    object-position: center top;
  }
  .home-hero__caption {
    font-family: var(--ff-mono);
    font-size: var(--fs-caption);
    text-transform: uppercase;
    letter-spacing: var(--tracking-eyebrow);
    color: var(--stone);
    margin-top: 0.75rem;
    text-align: right;
  }
  @media (max-width: 768px) {
    .home-hero__figure {
      justify-self: center;
    }
    .home-hero__figure img {
      max-width: 320px;
    }
    .home-hero__caption {
      text-align: center;
    }
  }

  /* Desktop overrides — placed LAST so they win the cascade against the
     mobile-first base rules above (which set aspect-ratio, max-width, etc.) */
  @media (min-width: 900px) {
    .home-hero {
      min-height: clamp(820px, 100vh, 1140px);
      padding-top: clamp(1.5rem, 3vw, 2.5rem);
      padding-bottom: clamp(4rem, 8vw, 7rem);
    }
    .home-hero__inner {
      grid-template-columns: 1fr;
      grid-template-areas:
        'eyebrow'
        'title'
        'rule'
        'body';
      row-gap: clamp(1.5rem, 3vw, 2.5rem);
      align-content: start;
      isolation: isolate;
      position: relative;
      min-height: inherit;
    }
    .home-hero .eyebrow,
    .home-hero__title,
    .home-hero__rule,
    .home-hero__body {
      position: relative;
      z-index: 1;
    }
    .home-hero__title {
      /* Reserve room on the right for the absolutely-positioned portrait
         plus a small breathing gutter, so 'Champion.' can't visually
         collide with the image edge. Font-size clamp below is also
         tightened so the text physically fits inside this padded box
         (padding-right alone doesn't clip overflowing inline text). */
      padding-right: calc(clamp(380px, 34vw, 560px) + 2.5rem);
    }
    .home-hero__word {
      font-size: clamp(5rem, 10vw, 9.5rem);
    }
    .home-hero__word--roman {
      font-size: clamp(3rem, 5.5vw, 5rem);
    }
    .home-hero__body,
    .home-hero__rule {
      max-width: 48%;
    }
    .home-hero__figure {
      position: absolute;
      top: calc(clamp(1.5rem, 3vw, 2.5rem) * -1);
      /* Bleed to the viewport's right edge, not just the wrap edge.
         100% = .home-hero__inner width, so (100% - 100vw) / 2 equals
         the negative outside gutter on the right side. */
      right: calc((100% - 100vw) / 2);
      bottom: 0;
      width: clamp(380px, 34vw, 560px);
      margin: 0;
      pointer-events: none;
      z-index: 0;
      overflow: hidden;
    }
    .home-hero__figure img {
      width: 100%;
      height: 100%;
      max-width: none;
      aspect-ratio: auto;
      object-fit: cover;
      object-position: right top;
      display: block;
    }
    .home-hero__caption {
      position: absolute;
      right: 0;
      bottom: 0.75rem;
      text-align: right;
      pointer-events: auto;
    }
  }
  @media (min-width: 1200px) {
    .home-hero__figure {
      width: clamp(500px, 40vw, 700px);
    }
  }

  /* ── Very wide screens (≥1600px): meet the menu in the middle at 1300px.
     Title, portrait, and content column scale to fit the narrower container.
     Mac (≤1600) is untouched. */
  @media (min-width: 1600px) {
    .home-hero__inner {
      width: min(92%, 1300px);
    }
    .home-hero__figure {
      width: clamp(520px, 34vw, 660px);
      /* Pull the portrait off the viewport edge so it sits inside the
         wrap (aligned with the menu/content edges) instead of bleeding. */
      right: 0;
    }
    .home-hero__title {
      padding-right: calc(clamp(520px, 34vw, 660px) + 2.5rem);
    }
    .home-hero__word {
      font-size: clamp(6rem, 9vw, 10rem);
    }
    .home-hero__word--roman {
      font-size: clamp(3.5rem, 5vw, 5.5rem);
    }
    .home-hero__body,
    .home-hero__rule {
      max-width: 46%;
    }
    .home-hero__lead {
      font-size: clamp(1.25rem, 1.3vw, 1.5rem);
    }
  }

  /* ── Laptop-height fit (≤820px viewport height) ──────────────
     Hero min-height + portrait stay full-size. Only the text
     column compresses: tighter top padding, smaller display
     type, smaller gaps — so eyebrow + title + lead + CTAs land
     in the first viewport. Image and figure rules untouched. */
  @media (max-height: 820px) and (min-width: 900px) {
    /* Photo fills the viewport height; text distributes vertically
       on the left to match the photo's height. Title group sits at
       the top, body group (lead + CTAs + backstory) pushes to the
       bottom — the empty grid row in between expands to absorb the
       slack so the column feels deliberate, not stacked. */
    .home-hero {
      min-height: calc(100svh - 5rem);
      padding-top: clamp(0.5rem, 1vh, 1rem);
      padding-bottom: clamp(0.5rem, 1vh, 1rem);
    }
    .home-hero__inner {
      min-height: inherit;
      align-content: start;
      row-gap: clamp(1rem, 2vh, 2rem);
    }
    /* Title — bigger display impact, more breath between the two words. */
    .home-hero__title {
      gap: clamp(0.5rem, 1.25vh, 1.25rem);
    }
    .home-hero__word {
      font-size: clamp(5rem, 12vw, 12rem);
    }
    .home-hero__word--roman {
      font-size: clamp(2.75rem, 5.5vw, 5.5rem);
    }
    /* Push body (lead + CTAs + backstory) down from the title block. */
    .home-hero__body {
      margin-top: clamp(1rem, 2.5vh, 2.5rem);
    }
    .home-hero__figure {
      top: calc(clamp(0.5rem, 1vh, 1rem) * -1);
    }
  }

  /* ── Reduced-motion: kill the cor-pulse animation ──────────── */
  @media (prefers-reduced-motion: reduce) {
    .cor-marker.is-visible .cor-marker__line {
      animation: none;
      opacity: 1;
    }
    .cor-marker__label {
      transition: none;
    }
  }
}


/* ================================================================
   @layer legacy — pre-Field-Manual styles. Wrapped so @layer base
   wins on the properties base specifies. Legacy still controls
   layout, spacing, and anything base doesn't override.
   ================================================================ */

@layer legacy {

:root {
  /* Warm neutral palette */
  --bg:            #FAFAF7;
  --bg-warm:       #F3F1EC;
  --surface:       var(--paper);

  /* Text hierarchy */
  --text:          #1A1A1A;
  --text-2:        #5C5A55;
  --text-3:        #908E89;

  /* Borders */
  --border:        #E5E2DB;
  --border-light:  #EDEBE6;

  /* Dark palette (hero, CTA, footer) */
  --dk:            #141413;
  --dk-surface:    #1C1C1A;
  --dk-border:     #2C2C29;
  --dk-text:       #F2F1ED;
  --dk-muted:      #9E9D99;

  /* Accent – warm terracotta for editorial punch */
  --accent:        #B85C38;
  --accent-soft:   rgba(184, 92, 56, 0.12);
  --accent-muted:  #9A4D2E;

  /* Fonts */
  --serif:  'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans:   'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* System */
  --radius:     10px;
  --radius-lg:  14px;
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.03);
  --shadow-md:  0 2px 8px rgba(0,0,0,0.04), 0 8px 20px rgba(0,0,0,0.04);
  --shadow-lg:  0 4px 12px rgba(0,0,0,0.05), 0 20px 40px rgba(0,0,0,0.06);
  --max-w:      1100px;
  --max-narrow: 780px;
}


/* ── Reset ────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
p { margin: 0; }
button { cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
}


/* ── Layout ───────────────────────────── */

.wrap {
  width: min(90%, var(--max-w));
  margin: 0 auto;
}

.wrap--narrow {
  max-width: var(--max-narrow);
}


/* ── Header ───────────────────────────── */

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  /* Was rgba(250,250,247,0.92) — an off-white that did not match bone.
     Translucent bone keeps the sticky header sympathetic to page bg. */
  background: rgba(244, 239, 230, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 20px;
}

/* Very wide screens: meet the hero in the middle — widen the menu wrap
   to 1300px so the logo aligns with the eyebrow / hero start edge. */
@media (min-width: 1600px) {
  .header .header__inner {
    width: min(92%, 1300px);
  }
}

.brand {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  color: var(--text);
  white-space: nowrap;
}

.brand__emphasis {
  font-weight: 700;
}

@media (max-width: 720px) {
  .brand {
    font-size: 1.15rem;
  }
}

.nav__list {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.nav__link {
  position: relative;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-2);
  padding-bottom: 2px;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: currentColor;
  transition: width 0.3s ease;
}

.nav__link:hover,
.nav__link--active {
  color: var(--text);
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

.header__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font-family: var(--sans);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  border: 1.5px solid var(--border);
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.header__cta:hover {
  border-color: var(--text);
  background: var(--text);
  color: var(--bone-on-ink);
}

.header__cta-arrow {
  font-size: 0.9em;
  transition: transform 0.25s ease;
}

.header__cta:hover .header__cta-arrow {
  transform: translateX(2px);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 6px;
  color: var(--text);
  flex-shrink: 0;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: 0.2s ease;
}

.menu-toggle span + span {
  margin-top: 5px;
}


/* ── Buttons ──────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  border-radius: 999px;
  padding: 15px 30px;
  font-family: var(--sans);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  transition: 0.2s ease;
  white-space: nowrap;
}

.btn--primary {
  background: var(--text);
  color: var(--bone-on-ink);
}

.btn--primary:hover {
  background: #333;
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn--ghost:hover {
  border-color: #b8b5ae;
}

.btn--white {
  background: #fff;
  color: var(--dk);
}

.btn--white:hover {
  background: #f0efec;
}

.btn--ghost-light {
  background: transparent;
  color: var(--dk-text);
  border: 1.5px solid var(--dk-border);
}

.btn--ghost-light:hover {
  border-color: var(--dk-muted);
}


/* ── Eyebrow ──────────────────────────── */

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}

.eyebrow--light {
  color: var(--dk-muted);
}


/* ── Decorative Rule ──────────────────── */

.rule {
  width: 56px;
  height: 1.5px;
  border: 0;
  background: var(--text-3);
}

.rule--center {
  margin-left: auto;
  margin-right: auto;
}

.rule--light {
  background: var(--dk-muted);
}

.rule--accent {
  background: var(--accent);
  opacity: 0.85;
}

.rule--dark {
  background: var(--border);
}


/* ── Hero — Split (image left, content right) ── */

.hero--split {
  display: grid;
  grid-template-columns: 52% 1fr;
  min-height: clamp(520px, 75vh, 700px);
  background: var(--dk);
  color: var(--dk-text);
  position: relative;
  overflow: hidden;
}

/* ── Image column ── */
.hero__image-col {
  position: relative;
  overflow: hidden;
  background: var(--ink);
}

.hero__image-col > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

/* Smooth horizontal fade: image → dark background */
.hero__image-fade {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 35%;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(20, 20, 19, 0.2) 30%,
    rgba(20, 20, 19, 0.6) 60%,
    var(--dk) 100%
  );
  pointer-events: none;
  z-index: 2;
}

/* Subtle bottom fade for clean section join */
.hero__image-fade-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 25%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(20, 20, 19, 0.35) 50%,
    var(--dk) 100%
  );
  pointer-events: none;
  z-index: 2;
}

/* ── Text column ── */
.hero__text-col {
  display: flex;
  align-items: center;
  padding: clamp(48px, 6vw, 80px) clamp(32px, 5vw, 72px);
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 560px;
}

.hero--split .eyebrow {
  margin-bottom: 20px;
}

.hero--split .hero__title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.2vw, 3.8rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.06;
  color: var(--dk-text);
  margin: 0 0 28px;
  text-wrap: balance;
}

.hero__br {
  display: none;
}

.hero--split .rule {
  margin: 0 0 28px;
}

.hero--split .hero__lead {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--dk-muted);
  max-width: 48ch;
  margin: 0 0 36px;
}

.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__subtle-link {
  margin-top: 24px;
  font-size: 0.86rem;
  color: var(--dk-muted);
  letter-spacing: 0.005em;
}

.hero__subtle-link a {
  color: #d8d6d1;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(216, 214, 209, 0.35);
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.hero__subtle-link a:hover {
  color: var(--bone-on-ink);
  text-decoration-color: var(--bone-on-ink);
}


/* ── Hero — Subpage with image bleed (text aligned with nav) ── */

.hero--sub {
  position: relative;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
}

.hero--sub > .wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: clamp(72px, 9vw, 104px);
}

.hero--sub .hero__content {
  position: relative;
  z-index: 3;
  max-width: 420px;
  align-items: flex-start;
}

.hero--sub .hero__title {
  color: var(--text);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  margin: 0 0 24px;
}

.hero--sub .hero__lead {
  color: var(--text-2);
  max-width: 38ch;
  margin: 0;
}

.hero--sub .eyebrow {
  color: var(--text-3);
  margin-bottom: 18px;
}

.hero--sub .rule {
  margin: 0 0 24px;
}

/* Very wide screens (≥1600px): scale the sub-hero to match the home hero.
   Widens the wrap to 1500px, scales title/lead, keeps portrait right-bleed.
   Content is top-anchored (matches home hero's start position) instead of
   vertically centered. Below 1600 (Mac view) is untouched. */
@media (min-width: 1600px) {
  .hero--sub > .wrap {
    width: min(92%, 1300px);
  }
  .hero--sub .hero__content {
    max-width: 46%;
  }
  .hero--sub .hero__title {
    font-size: clamp(3.5rem, 4.5vw, 5rem);
    line-height: 1.02;
  }
  .hero--sub .hero__lead {
    font-size: clamp(1.35rem, 1.4vw, 1.6rem);
    max-width: 44ch;
  }
  .hero--sub .hero__image-bleed {
    width: 50%;
  }
}

/* Image: absolute, bleeds to the right edge */
.hero__image-bleed {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 55%;
  overflow: hidden;
  background: var(--bg);
}

.hero__image-bleed > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

/* Fade on the left edge → page bg */
.hero__image-bleed-fade {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 12%;
  background: linear-gradient(
    to left,
    transparent 0%,
    rgba(244, 239, 230, 0.5) 45%,
    var(--bg) 100%
  );
  pointer-events: none;
  z-index: 2;
}

/* Bottom fade */
.hero__image-bleed-fade-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 12%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(244, 239, 230, 0.45) 50%,
    var(--bg) 100%
  );
  pointer-events: none;
  z-index: 2;
}


/* ── Hero entrance animation ── */

/* Image: scale-down + fade in */
.hero__image-col > img {
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1),
              transform 1.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero--split.is-loaded .hero__image-col > img {
  opacity: 1;
  transform: scale(1);
}

/* Fade overlays with image (same start time) */
.hero__image-fade,
.hero__image-fade-bottom {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero--split.is-loaded .hero__image-fade,
.hero--split.is-loaded .hero__image-fade-bottom {
  opacity: 1;
}

/* Text elements: staggered fade-up */
.hero--split .hero__content > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero--split.is-loaded .hero__content > * {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger each child */
.hero--split.is-loaded .hero__content > *:nth-child(1) { transition-delay: 0.5s; }
.hero--split.is-loaded .hero__content > *:nth-child(2) { transition-delay: 0.65s; }
.hero--split.is-loaded .hero__content > *:nth-child(3) { transition-delay: 0.8s; }
.hero--split.is-loaded .hero__content > *:nth-child(4) { transition-delay: 0.95s; }
.hero--split.is-loaded .hero__content > *:nth-child(5) { transition-delay: 1.1s; }
.hero--split.is-loaded .hero__content > *:nth-child(6) { transition-delay: 1.25s; }

/* Subpage hero: text first, then image bleed appears last */
.hero--sub .hero__content > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero--sub.is-loaded .hero__content > * {
  opacity: 1;
  transform: translateY(0);
}

.hero--sub.is-loaded .hero__content > *:nth-child(1) { transition-delay: 0.3s; }
.hero--sub.is-loaded .hero__content > *:nth-child(2) { transition-delay: 0.45s; }
.hero--sub.is-loaded .hero__content > *:nth-child(3) { transition-delay: 0.6s; }
.hero--sub.is-loaded .hero__content > *:nth-child(4) { transition-delay: 0.75s; }

/* Image bleed: fade overlays visible immediately, image reveals last */
.hero__image-bleed-fade,
.hero__image-bleed-fade-bottom {
  opacity: 1;
}

.hero__image-bleed > img {
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1),
              transform 1.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero--sub.is-loaded .hero__image-bleed > img {
  opacity: 1;
  transform: scale(1);
  transition-delay: 1s;
}


/* ── Hero — Light (Subpages) ──────────── */

.hero--light {
  background: var(--bg);
  padding: clamp(72px, 9vw, 104px) 0 clamp(40px, 5vw, 56px);
}

.hero--light .hero__title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.1;
  color: var(--text);
  max-width: 20ch;
  margin: 0 0 16px;
}

.hero--light .rule {
  margin: 20px 0;
}

.hero--light .hero__lead {
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--text-2);
  max-width: 60ch;
}


/* ── Sections ─────────────────────────── */

.section {
  padding: clamp(72px, 9vw, 112px) 0;
}

.section--warm {
  background: var(--bg-warm);
}

.section--dark {
  background: var(--dk);
  color: var(--dk-text);
}

.section--dark h2 {
  color: var(--dk-text);
}

.section--dark .lead {
  color: var(--dk-muted);
}

.section h2 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 14px;
}

.testimonials-section h2::before {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  background: var(--accent);
  margin-bottom: 14px;
  opacity: 0.7;
}

.section .lead {
  color: var(--text-2);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 62ch;
}

.section__actions {
  margin-top: 32px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}


/* ── Kicker (opening statement) ───────── */

.kicker {
  text-align: center;
  max-width: 660px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.kicker::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, var(--accent-soft) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.kicker p {
  position: relative;
  z-index: 1;
  font-size: clamp(1.08rem, 1.6vw, 1.25rem);
  line-height: 1.75;
  color: var(--text-2);
}


/* ── Stats Bar ────────────────────────── */

.stats-bar {
  background: var(--dk);
  border-top: 1px solid var(--dk-border);
  border-bottom: 1px solid var(--dk-border);
  position: relative;
}

.stats-bar::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 10%, var(--accent) 50%, transparent 90%);
  opacity: 0.5;
}

.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 36px 0;
}

.stat {
  text-align: center;
}

.stat__value {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.1;
  color: var(--dk-text);
}

.stat__label {
  display: block;
  margin-top: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--dk-muted);
}


/* ── Grids ────────────────────────────── */

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.split--stretch {
  align-items: stretch;
}

.media-placeholder--portrait {
  aspect-ratio: 2 / 3;
  min-height: 0;
}


/* ── Keynote Section (cards left, full-height image right) ── */

.keynote-section {
  position: relative;
  overflow: hidden;
}

.keynote-section > .wrap {
  position: relative;
  z-index: 2;
}

/* Full-height image on the right */
.keynote-section__bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50%;
  overflow: hidden;
}

.keynote-section__bg > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

/* Gradient blends into dark background — softer, lets the portrait read clearly */
.keynote-section__bg-fade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to right, var(--dk) 0%, rgba(20, 20, 19, 0.25) 22%, transparent 45%),
    linear-gradient(to top, rgba(20, 20, 19, 0.55) 0%, transparent 12%),
    linear-gradient(to bottom, rgba(20, 20, 19, 0.4) 0%, transparent 8%);
}

.keynote-split {
  max-width: 540px;
}

.keynote-split__cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}


/* ── Cards ────────────────────────────── */

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: transform 0.25s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.card h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.25;
  margin: 0 0 10px;
}

.card > p {
  color: var(--text-2);
  font-size: 0.96rem;
  line-height: 1.65;
}

.card--featured {
  border-top: 3px solid var(--accent);
}

/* Dark card variant */
.card--dark {
  background: var(--dk-surface);
  border-color: var(--dk-border);
}

.card--dark:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.card--dark h3 {
  color: var(--dk-text);
}

.card--dark > p {
  color: var(--dk-muted);
}

.badge--dark {
  background: rgba(255, 255, 255, 0.08);
  color: var(--dk-muted);
}

.pull-quote-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
}

.pull-quote-card blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2.3vw, 1.5rem);
  line-height: 1.55;
  color: var(--text);
}

.pull-quote-card cite {
  display: block;
  margin-top: 12px;
  color: var(--text-3);
  font-size: 0.86rem;
  font-style: normal;
}


/* ── Badge ────────────────────────────── */

.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--bg-warm);
  color: var(--text-2);
  margin-bottom: 14px;
}


/* ── Testimonials ─────────────────────── */

.testimonials-section {
  background: var(--bg-warm);
  position: relative;
}

.testimonials-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-muted), transparent);
  opacity: 0.4;
}

/* Featured testimonial – editorial centerpiece */
.testimonial-featured {
  background: var(--dk);
  color: var(--dk-text);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.4s ease;
}

.testimonial-featured:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 48px rgba(20, 20, 19, 0.25);
}

.testimonial-featured::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--accent);
}

.testimonial-featured__quote-mark {
  font-family: var(--serif);
  font-size: 6rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.35;
  position: absolute;
  top: 20px;
  left: 28px;
  user-select: none;
}

.testimonial-featured__quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  line-height: 1.6;
  color: var(--dk-text);
  margin: 0 0 24px;
  padding-left: 28px;
  position: relative;
  z-index: 1;
}

.testimonial-featured__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 28px;
  position: relative;
  z-index: 1;
}

.testimonial-featured__attr {
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--dk-text);
}

.testimonial-featured__company {
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--dk-muted);
}

/* Scroller cards – accent left border */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 28px 28px 32px;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.3s ease;
}

.testimonial::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24px;
  bottom: 24px;
  width: 3px;
  background: var(--accent);
  border-radius: 0 2px 2px 0;
  opacity: 0.6;
}

.testimonial:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.testimonial:hover::before {
  opacity: 1;
}

.testimonial__quote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.06rem;
  line-height: 1.65;
  color: var(--text);
  margin-bottom: 16px;
}

.testimonial__attr {
  font-family: var(--sans);
  font-size: 0.88rem;
  color: var(--text-2);
  font-weight: 600;
}

.testimonial__company {
  margin-top: 4px;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-3);
}

.testimonials-scroller {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, 1fr);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
}

.testimonial--wide {
  scroll-snap-align: start;
}


/* ── Stagger Reveal Animation ────────── */

[data-stagger] > * {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-stagger] > .is-stagger-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-stagger] > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* ── Audience Grid (Who it's for) ─────── */

.audience-section h2 {
  color: var(--dk-text);
  max-width: 20ch;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.audience-card {
  background: var(--dk-surface);
  border: 1px solid var(--dk-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

/* Accent stripe at top — slides in on hover */
.audience-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.audience-card:hover {
  transform: translateY(-3px);
  border-color: rgba(184, 92, 56, 0.25);
}

.audience-card:hover::before {
  transform: scaleX(1);
}

.audience-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(184, 92, 56, 0.12);
  color: var(--accent);
  margin-bottom: 16px;
  transition: background 0.3s ease;
}

.audience-card:hover .audience-card__icon {
  background: rgba(184, 92, 56, 0.2);
}

.audience-card__label {
  display: block;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.audience-card p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--dk-muted);
  margin: 0;
}


/* ── Outcomes Grid (What changes) ────── */

.outcomes-section {
  overflow: hidden;
}

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.outcome {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Subtle left accent bar on hover */
.outcome::after {
  content: "";
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 0;
  width: 3px;
  background: var(--accent);
  border-radius: 0 3px 3px 0;
  transform: scaleY(0);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.outcome:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.outcome:hover::after {
  transform: scaleY(1);
}

.outcome__num {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(184, 92, 56, 0.08);
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1;
  color: var(--accent);
}

.outcome__body {
  flex: 1;
  min-width: 0;
}

.outcome__title {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text);
  margin: 0 0 6px;
}

.outcome__desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-2);
  margin: 0;
}


/* ── Inline CTA ───────────────────────── */

.inline-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border-left: 3px solid var(--accent);
}

.inline-cta__text {
  color: var(--text-2);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 52ch;
}


/* ── Gallery Strip ────────────────────── */

.gallery-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 1fr);
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
}

.gallery-strip img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  scroll-snap-align: start;
}


/* ── Framework Steps ──────────────────── */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform 0.25s ease, box-shadow 0.3s ease;
}

.step:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.step__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-warm);
  border: 1px solid var(--border);
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 18px;
}

.step__title {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text);
}

.step__desc {
  font-size: 0.96rem;
  color: var(--text-2);
  line-height: 1.6;
}


/* ── Logo Marquee ─────────────────────── */

.logo-marquee {
  display: flex;
  overflow: hidden;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 12px 0;
}

.logo-marquee__track {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  animation: logo-marquee 28s linear infinite;
}

.logo-marquee:hover .logo-marquee__track {
  animation-play-state: paused;
}

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text-3);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 10px;
}

.logo-item img {
  display: block;
  width: auto;
  height: 28px;
  max-width: 140px;
  object-fit: contain;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

@keyframes logo-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}


/* ── Bullet Lists ─────────────────────── */

.check-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
  color: var(--text-2);
  font-size: 0.96rem;
  line-height: 1.6;
}

.check-list li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-3);
}


/* ── Forms ────────────────────────────── */

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

.field input,
.field textarea,
.field select {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  padding: 12px 14px;
  font-family: var(--sans);
  font-size: 0.94rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--text-3);
  box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.06);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235C5A55' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

.span-2 {
  grid-column: 1 / -1;
}


/* ── Media Placeholders ───────────────── */

.media-placeholder {
  position: relative;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.55), transparent 40%),
    linear-gradient(135deg, #e6e3dc 0%, #f3f1ec 52%, #dcd9d1 100%);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  min-height: 220px;
  overflow: hidden;
}

/* Image inside placeholder */
.media-placeholder > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.media-placeholder > img[data-slot="CON-001"] {
  object-position: center 15%;
}

.media-placeholder.has-image {
  border-color: transparent;
}

.media-placeholder.has-image .media-placeholder__content {
  display: none;
}

.media-placeholder--wide {
  min-height: 280px;
}

.media-placeholder--tall {
  min-height: 410px;
}

.media-placeholder--video {
  min-height: 320px;
}

.media-placeholder--video::after {
  content: "";
  position: absolute;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(20, 20, 19, 0.72);
  box-shadow: var(--shadow-md);
  z-index: 4;
}

.media-placeholder--video::before {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 16px solid #f2f1ed;
  transform: translateX(4px);
  z-index: 5;
}

.media-placeholder__content {
  text-align: center;
  max-width: 62ch;
  position: relative;
  z-index: 3;
}

.media-placeholder__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(20, 20, 19, 0.08);
  color: var(--text-2);
  margin-bottom: 8px;
}

.media-placeholder__title {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
}

.media-placeholder__note {
  display: block;
  margin-top: 6px;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--text-2);
}

.media-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.media-strip .media-placeholder {
  min-height: 170px;
}

.mobile-cta {
  display: none;
}


/* ── CTA Section (dark bookend) ───────── */

.cta-section {
  background: var(--dk);
  color: var(--dk-text);
  padding: clamp(72px, 9vw, 112px) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(255,255,255,0.06), transparent 35%),
    radial-gradient(circle at 80% 100%, rgba(184, 92, 56, 0.08), transparent 40%);
}

.cta-section .wrap {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 400;
  color: var(--dk-text);
  max-width: 22ch;
  margin: 0 auto 16px;
}

.cta-section .lead {
  color: var(--dk-muted);
  max-width: 52ch;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.7;
}

.cta-section .section__actions {
  justify-content: center;
}

.cta-section__note {
  margin-top: 18px;
  font-size: 0.85rem;
  color: var(--dk-muted);
}


/* ── Footer (dark) ────────────────────── */

.footer {
  background: var(--dk);
  border-top: 1px solid var(--dk-border);
  padding: 36px 0;
  color: var(--dk-muted);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__brand {
  font-family: var(--serif);
  font-size: 0.92rem;
  color: var(--dk-muted);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer__tagline {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dk-muted);
  opacity: 0.75;
}

/* ── Client logo strip · shared across pages (Home, Proof) ── */
.logo-strip {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
  gap: clamp(1.75rem, 3.5vw, 3rem) clamp(1.5rem, 3vw, 2.5rem);
}
.logo-strip li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
}
.logo-strip img {
  max-height: 46px;
  max-width: 170px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(0);
  opacity: 0.62;
  transition: opacity 0.2s ease;
}
.logo-strip img:hover {
  opacity: 0.92;
}
/* Service Nation: supplied at 2000×970; sized up so it doesn't read as
   a tiny mark next to the other logos. */
.logo-strip img[alt="Service Nation"] {
  max-height: 54px;
  max-width: 180px;
}
/* Voloridge: portrait mark (400×265); scaled up on a taller cap
   so the wordmark reads as evenly-weighted with the rest. */
.logo-strip img[alt="Voloridge Investment Management"] {
  max-height: 58px;
  max-width: 110px;
}
/* FRONTSTEPS: very wide/flat wordmark (910×70). Cap max-width tighter
   so it doesn't overpower the row. */
.logo-strip img[alt="FRONTSTEPS"] {
  max-height: 22px;
  max-width: 160px;
}
/* Cloud Dentistry: composite of the brand icon (with transparent tooth
   cutout) plus the wordmark, pre-rendered in dark ink so brightness(0)
   is a no-op and the interior tooth stays visible as a proper cutout. */
.logo-strip img[alt="Cloud Dentistry"] {
  max-height: 48px;
  max-width: 190px;
}
@media (max-width: 720px) {
  .logo-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .logo-strip img {
    max-height: 36px;
    max-width: 120px;
  }
}

.footer__links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.88rem;
}

.footer__links a {
  color: #dddbd5;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer__links a:hover {
  color: var(--dk-text);
}

.footer__links .footer__cta {
  color: var(--dk-text);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--dk-border);
}

.footer__links a[href="athletic-story.html"] {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: #5a5955;
}


.footer__links .footer__cta:hover {
  text-decoration-color: var(--dk-text);
}


/* ── Scroll Reveal ────────────────────── */

[data-reveal],
[data-reveal-item] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

[data-reveal].is-visible,
[data-reveal-item].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal],
  [data-reveal-item] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  /* Disable hero entrance animation */
  .hero__image-col > img,
  .hero__image-fade,
  .hero__image-fade-bottom,
  .hero--split .hero__content > *,
  .hero__image-bleed > img,
  .hero__image-bleed-fade,
  .hero__image-bleed-fade-bottom,
  .hero--sub .hero__content > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* ── Utilities ────────────────────────── */

.text-center { text-align: center; }
.mt-sm  { margin-top: 16px; }
.mt-md  { margin-top: 28px; }
.mt-lg  { margin-top: 40px; }
.mb-sm  { margin-bottom: 16px; }
.gap-sm { gap: 12px; }

.small {
  font-size: 0.88rem;
  color: var(--text-3);
}

.mono-link {
  color: var(--text-2);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--border);
  transition: text-decoration-color 0.2s ease;
}

.mono-link:hover {
  text-decoration-color: var(--text);
}


/* ── Portrait Placeholder ─────────────── */

.portrait {
  background: linear-gradient(145deg, #E8E6E0 0%, #F3F1EC 50%, #E0DED8 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.portrait > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.portrait > img[data-slot="ABT-001"] {
  object-position: center top;
}

.portrait.has-image {
  border-color: transparent;
}

.portrait.has-image .portrait__label {
  display: none;
}

.portrait::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(26,26,26,0.03) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 80%, rgba(26,26,26,0.04) 0%, transparent 50%);
}

.portrait__label {
  position: relative;
  background: rgba(255,255,255,0.85);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 12px 18px;
  text-align: center;
}

.portrait__label strong {
  display: block;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-2);
}

.portrait__label span {
  font-size: 0.78rem;
  color: var(--text-3);
}


/* ── Responsive ───────────────────────── */

@media (max-width: 1060px) {
  .grid-3,
  .steps-grid {
    grid-template-columns: 1fr 1fr;
  }

  .split {
    grid-template-columns: 1fr;
  }

  .keynote-section__bg {
    position: relative;
    width: 100%;
    height: 280px;
    margin-top: 28px;
  }

  .keynote-section__bg-fade {
    background:
      linear-gradient(to top, var(--dk) 0%, transparent 30%),
      linear-gradient(to bottom, var(--dk) 0%, transparent 25%);
  }

  .keynote-section > .wrap {
    z-index: 2;
  }

  .keynote-split {
    max-width: none;
  }

  .stats-bar__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Adjust hero proportions on smaller desktops */
  .hero--split {
    grid-template-columns: 48% 1fr;
    min-height: clamp(460px, 65vh, 600px);
  }

  .hero__image-bleed {
    width: 50%;
  }

  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .outcomes-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {

  /* ── Header mobile ── */

  .header__inner {
    min-height: 64px;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 0;
    order: 10;          /* Always last → always right */
    margin-left: auto;
  }

  .header__cta {
    display: none;
  }

  .nav__list {
    display: none;
    position: absolute;
    right: 5%;
    top: 64px;
    min-width: 260px;
    padding: 18px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    gap: 6px;
  }

  .nav__list.open {
    display: flex;
  }

  .nav__list .nav__link {
    display: block;
    padding: 10px 8px;
    font-size: 1rem;
    border-radius: 8px;
  }

  .nav__list .nav__link:hover {
    background: var(--bg-warm);
  }

  .nav__list .nav__link::after {
    display: none;
  }

  /* ── Grid collapse ── */

  .grid-3,
  .steps-grid,
  .testimonials-grid,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .inline-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .audience-grid {
    grid-template-columns: 1fr;
  }

  .audience-section h2 {
    max-width: none;
  }

  .outcomes-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-featured {
    padding: 36px 28px;
  }

  .testimonial-featured__quote-mark {
    font-size: 4.5rem;
    top: 14px;
    left: 20px;
  }

  .testimonial-featured__quote,
  .testimonial-featured__meta {
    padding-left: 20px;
  }

  .testimonials-scroller {
    grid-auto-columns: minmax(280px, 88%);
  }

  .gallery-strip {
    grid-auto-columns: minmax(240px, 78%);
  }

  /* ── Hero split → stacked on mobile ── */

  .hero--split {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero__image-col {
    height: 55vh;
    height: 55svh;
  }

  .hero__image-col > img {
    object-position: center 15%;
  }

  /* On mobile: fade bottom of image into dark background */
  .hero__image-fade {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 45%;
    background: linear-gradient(
      to bottom,
      transparent 0%,
      rgba(20, 20, 19, 0.3) 40%,
      rgba(20, 20, 19, 0.75) 70%,
      var(--dk) 100%
    );
  }

  .hero__image-fade-bottom {
    display: none;
  }

  /* Subpage bleed hero: stack on mobile */
  .hero--sub {
    min-height: auto;
  }

  .hero--sub > .wrap {
    min-height: auto;
    margin-left: auto;
    margin-right: auto;
    align-items: center;
  }

  .hero--sub .hero__content {
    max-width: none;
    text-align: center;
    align-items: center;
    padding: clamp(80px, 10vw, 100px) 0 32px;
  }

  .hero--sub .rule {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__image-bleed {
    position: relative;
    width: 100%;
    height: 50vh;
    height: 50svh;
  }

  .hero__image-bleed-fade,
  .hero__image-bleed-fade-bottom {
    display: none;
  }

  .hero__text-col {
    padding: 32px 5% 48px;
  }

  .hero__content {
    align-items: center;
    text-align: center;
    max-width: none;
  }

  .hero--split .hero__title {
    font-size: clamp(2rem, 8.5vw, 3rem);
    letter-spacing: -0.03em;
    line-height: 1.08;
  }

  .hero__br {
    display: inline;
  }

  .hero--split .hero__lead {
    font-size: 1rem;
    line-height: 1.7;
    max-width: 38ch;
    margin-bottom: 36px;
  }

  .hero--split .rule {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  /* ── Mobile sticky CTA ── */

  .mobile-cta {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 60;
    display: block;
  }

  .mobile-cta .btn {
    width: 100%;
    min-height: 48px;
    background: var(--dk);
    color: var(--dk-text);
    border: 1px solid var(--dk-border);
    box-shadow: var(--shadow-lg);
  }

  body {
    padding-bottom: 82px;
  }
}

@media (max-width: 540px) {

  /* ── Sections ── */

  .section {
    padding: clamp(56px, 8vw, 72px) 0;
  }

  .cta-section {
    padding: clamp(56px, 8vw, 80px) 0;
  }

  .stats-bar__grid {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 30px 0;
  }

  .card {
    padding: 24px;
  }

  .testimonial {
    padding: 24px;
  }

  .step {
    padding: 24px;
  }

  .hero--light {
    padding: clamp(56px, 8vw, 72px) 0 clamp(32px, 4vw, 40px);
  }

  /* ── Hero mobile small ── */

  .hero__image-col {
    height: 45vh;
    height: 45svh;
  }

  .hero--split .hero__title {
    font-size: clamp(1.75rem, 8vw, 2.6rem);
    padding: 0 4px;
  }

  .hero--split .hero__lead {
    font-size: 0.95rem;
    padding: 0 4px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding: 0 4px;
  }

  .hero__actions .btn {
    width: 100%;
    min-height: 50px;
    white-space: normal;
    text-align: center;
  }

  .hero__subtle-link {
    margin-top: 20px;
    font-size: 0.82rem;
  }

  .cta-section .section__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-section .section__actions .btn {
    width: 100%;
    min-height: 48px;
  }

  .portrait {
    min-height: 320px;
  }

  .form-card {
    padding: 20px;
  }

  .media-placeholder--wide {
    min-height: 185px;
  }

  .media-placeholder--tall {
    min-height: 300px;
  }

  .media-placeholder--video {
    min-height: 210px;
  }

  .media-strip {
    grid-template-columns: 1fr;
  }

  .logo-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-scroller,
  .gallery-strip {
    grid-auto-columns: 92%;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .footer__links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ── DESIGN MODE: Image Slot Overlay ───────────
   Renders a labeled badge over every img[data-slot] so designers/clients
   can see which slot is which. Toggleable via bottom-right button.
   Remove this block + the slot-overlay JS for production. */

.slot-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-width: calc(100% - 16px);
  padding: 8px 10px;
  background: rgba(255, 90, 31, 0.96);
  color: #fff;
  border-radius: 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  line-height: 1.35;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.slot-badge__id {
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.slot-badge__aspect {
  opacity: 0.95;
  font-weight: 600;
}

.slot-badge__mood {
  opacity: 0.92;
  font-weight: 400;
  white-space: normal;
  max-width: 320px;
}

.slot-toggle {
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 9999;
  padding: 10px 16px;
  background: #FF5A1F;
  color: #fff;
  border: 0;
  border-radius: 8px;
  font: 600 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.slot-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

body.slots-hidden .slot-badge { display: none; }
/* Default: hide the dev toggle when slots are hidden (production feel).
   Holding Shift on page load is not implemented; this can be re-enabled
   by removing `slots-hidden` from body.classList in script.js. */
body.slots-hidden .slot-toggle { display: none; }

@media (max-width: 600px) {
  .slot-badge { font-size: 10px; padding: 6px 8px; }
  .slot-badge__mood { display: none; } /* keep mobile uncluttered */
  .slot-toggle { bottom: 12px; right: 12px; padding: 8px 12px; }
}

/* ── NEW SLOT WRAPPERS (Phase 3 additions) ────── */

/* Generic faded background pattern */
.stats-bar--with-bg,
.cta-section--with-bg,
.audience-section--with-bg,
.bridge-section {
  position: relative;
  overflow: hidden;
}

.stats-bar__bg,
.cta-section__bg,
.audience-section__bg,
.bridge-section__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.stats-bar__bg img,
.cta-section__bg img,
.audience-section__bg img,
.bridge-section__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Tuned per-section opacities */
.stats-bar__bg img       { opacity: 0.12; filter: saturate(0.85) blur(1px); }
.cta-section__bg img     { opacity: 0.18; filter: saturate(0.9); }
.audience-section__bg img { opacity: 0.15; filter: saturate(0.85); }
.bridge-section__bg img  { opacity: 0.22; filter: saturate(0.9); }

/* Lift the actual content above the bg */
.stats-bar--with-bg > .wrap,
.cta-section--with-bg > .wrap,
.audience-section--with-bg > .wrap,
.bridge-section > .wrap {
  position: relative;
  z-index: 1;
}

/* ── Hero with right-aligned inset portrait (about + proof) ─ */

.hero--with-inset__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.hero--with-inset .hero__content {
  min-width: 0;
}

.hero__inset {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(145deg, #E8E6E0 0%, #F3F1EC 50%, #E0DED8 100%);
  box-shadow: var(--shadow-md, 0 12px 32px rgba(0, 0, 0, 0.08));
}

.hero__inset > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

@media (min-width: 861px) {
  .hero__inset {
    margin-top: calc(clamp(72px, 9vw, 104px) * -1);
  }

  .hero--inset-bleed {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    padding-top: clamp(4rem, 9vw, 7rem);
  }

  .hero--inset-bleed .hero__inset {
    position: absolute;
    top: 0;
    right: calc(min(0px, (var(--max) - 100vw) / 2) - var(--gutter));
    bottom: 0;
    width: clamp(420px, 48vw, 760px);
    aspect-ratio: auto;
    margin-top: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
  }

  .hero--inset-bleed .hero__inset > img {
    object-position: center top;
  }
}

@media (max-width: 860px) {
  .hero--with-inset__grid {
    grid-template-columns: 1fr;
  }
  .hero__inset {
    max-width: 360px;
    margin: 0 auto;
  }
}

/* ── Athletic story top hero band ─────────── */

.hero-band {
  position: relative;
  width: 100%;
  height: clamp(280px, 48vh, 520px);
  overflow: hidden;
  background: var(--ink);
}

.hero-band > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero-band__fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(20, 20, 19, 0) 50%,
    rgba(245, 243, 238, 0.4) 85%,
    rgba(245, 243, 238, 0.95) 100%
  );
  pointer-events: none;
}

/* ── Reel Frame (looping video preview) ─────── */

.reel-frame {
  position: relative;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
}

.reel-frame > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Subtle vignette for visual integration with the dark section */
.reel-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    transparent 55%,
    rgba(0, 0, 0, 0.25) 100%
  );
  pointer-events: none;
}

@media (max-width: 640px) {
  .reel-frame { max-width: 100%; border-radius: var(--radius); }
}

/* ── Reel as Section Background (Watch Tim in Action) ─── */

.reel-bg-section {
  position: relative;
  overflow: hidden;
  min-height: clamp(420px, 60vh, 600px);
  display: flex;
  align-items: center;
  padding-top: clamp(80px, 10vw, 120px);
  padding-bottom: clamp(80px, 10vw, 120px);
}

.reel-bg-section__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.reel-bg-section__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* Source is B&W — minimal warm tint to keep it from pure cold-grey */
  filter:
    sepia(0.18)
    brightness(0.72)
    contrast(1.04);
}

/* Mostly dark vignette for legibility — terracotta is now just a hint */
.reel-bg-section__overlay {
  position: absolute;
  inset: 0;
  background:
    /* tiny terracotta hint, top-left only */
    linear-gradient(
      135deg,
      rgba(184, 92, 56, 0.08) 0%,
      rgba(184, 92, 56, 0.02) 40%,
      rgba(0, 0, 0, 0) 70%
    ),
    /* dark vignette for text readability */
    linear-gradient(
      180deg,
      rgba(20, 20, 19, 0.55) 0%,
      rgba(20, 20, 19, 0.30) 40%,
      rgba(20, 20, 19, 0.62) 100%
    );
  pointer-events: none;
}

.reel-bg-section__content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.reel-bg-section h2 {
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
}

.reel-bg-section .lead {
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

/* ── Athletic Story · Scroll Narrative ────── */

/* Split layout for story moments (text + image) */
.story-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.story-split--reverse {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
}

@media (max-width: 768px) {
  .story-split,
  .story-split--reverse {
    grid-template-columns: 1fr;
  }
  .story-split--reverse > .story-text {
    order: -1;
  }
}

.story-text__title {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  margin-bottom: 18px;
  letter-spacing: -0.015em;
}

.story-text p {
  font-size: 1.04rem;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 56ch;
}

.story-figure {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--ink);
  box-shadow: var(--shadow-md);
}

.story-figure > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Full-width story bands (cinematic image with caption) */
.story-band {
  position: relative;
  width: 100%;
  height: clamp(420px, 65vh, 640px);
  overflow: hidden;
  background: var(--ink);
}

.story-band__media {
  position: absolute;
  inset: 0;
}

.story-band__media > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Bottom-anchored gradient for caption legibility */
.story-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 35%,
    rgba(0, 0, 0, 0.55) 80%,
    rgba(0, 0, 0, 0.78) 100%
  );
  pointer-events: none;
}

.story-band--dark::after {
  background: linear-gradient(
    to bottom,
    rgba(20, 20, 19, 0.15) 0%,
    rgba(20, 20, 19, 0.45) 50%,
    rgba(20, 20, 19, 0.85) 100%
  );
}

.story-band__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: clamp(36px, 5vw, 72px) clamp(24px, 5vw, 88px);
  color: var(--dk-text);
  max-width: var(--max-w);
  margin: 0 auto;
}

.story-band__caption .eyebrow {
  margin-bottom: 10px;
  color: rgba(242, 241, 237, 0.72);
}

.story-band__caption p {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.32;
  color: var(--bone-on-ink);
  max-width: 720px;
  margin: 0;
}

/* ════════════════════════════════════════════════
   ANIMATIONS SUITE — premium motion, reduced-motion safe
   ════════════════════════════════════════════════ */

/* Cubic-bezier easing reused */
:root {
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Decorative rule expansion ─────────── */
.rule {
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 1.1s var(--ease-out-quint) 0.35s;
}
.is-visible .rule,
.hero.is-loaded .rule,
.hero--split.is-loaded .rule,
.hero--sub.is-loaded .rule {
  transform: scaleX(1);
}

/* ── Stat value: scale-in on count ─────── */
.stat__value {
  display: inline-block;
  transition: transform 0.5s var(--ease-out-quint);
}

/* ── Card hover lift ───────────────────── */
.card,
.testimonial,
.testimonial-featured,
.audience-card,
.outcome,
.step {
  transition:
    transform 0.4s var(--ease-out-quint),
    box-shadow 0.4s var(--ease-out-quint),
    border-color 0.3s ease;
}

.card:hover,
.testimonial:hover,
.testimonial-featured:hover,
.audience-card:hover,
.outcome:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card--dark:hover {
  border-color: var(--accent);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

/* ── Built Forward step micro-hover ─── */
.step__num {
  transition: color 0.3s ease, transform 0.4s var(--ease-out-quint);
}
.step:hover {
  transform: translateY(-3px);
}
.step:hover .step__num {
  color: var(--accent);
  transform: scale(1.05);
}

/* ── Gallery image hover zoom ─────────── */
.gallery-strip img,
.media-strip img {
  transition: transform 0.8s var(--ease-out-quint);
}
.gallery-strip img:hover,
.media-strip img:hover {
  transform: scale(1.06);
}

/* Story-figure (athletic story) hover */
.story-figure > img {
  transition: transform 1s var(--ease-out-quint);
}
.story-figure:hover > img {
  transform: scale(1.04);
}

/* ── Reel section content fade-up ─────── */
.reel-bg-section__content {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 1s var(--ease-out-quint) 0.15s,
    transform 1s var(--ease-out-quint) 0.15s;
}
.reel-bg-section.is-visible .reel-bg-section__content {
  opacity: 1;
  transform: translateY(0);
}

/* ── Story-band caption fade-up ───────── */
.story-band__caption {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 1.1s var(--ease-out-quint) 0.25s,
    transform 1.1s var(--ease-out-quint) 0.25s;
}
.story-band.is-visible .story-band__caption {
  opacity: 1;
  transform: translateY(0);
}

/* ── Brand wordmark micro-interaction ─── */
.brand {
  transition: letter-spacing 0.4s ease;
}
.brand:hover {
  letter-spacing: 0.025em;
}

/* ── CTA button arrow — micro nudge ───── */
.btn {
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    transform 0.3s var(--ease-out-quint),
    box-shadow 0.3s var(--ease-out-quint);
}
.btn:hover {
  transform: translateY(-1px);
}
.btn--primary:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.18); }
.btn--white:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.22); }

/* ── Reduced motion: disable all ──────── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .rule { transform: scaleX(1) !important; }
  .reel-bg-section__content,
  .story-band__caption {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ── Built Forward Framework (editorial) ─── */

.framework-section {
  position: relative;
  overflow: hidden;
}

/* Subtle accent ornament across the section */
.framework-section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(184, 92, 56, 0.5) 35%,
    rgba(184, 92, 56, 0.5) 65%,
    transparent 100%
  );
  opacity: 0.6;
}

.framework-flow {
  list-style: none;
  margin: clamp(48px, 6vw, 72px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  counter-reset: framework;
  position: relative;
}

.framework-step {
  position: relative;
  padding: 0 clamp(24px, 3vw, 44px);
}

/* Vertical hairline between desktop columns */
.framework-step + .framework-step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    var(--dk-border) 18%,
    var(--dk-border) 82%,
    transparent 100%
  );
}

.framework-step__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(3.6rem, 6.5vw, 5.4rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--accent);
  margin-bottom: 22px;
  display: block;
}

.framework-step__title {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--dk-text);
  margin-bottom: 14px;
}

.framework-step__principle {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.98rem;
  line-height: 1.5;
  color: rgba(184, 92, 56, 0.92);
  margin: 0 0 16px;
  padding-left: 14px;
  border-left: 2px solid rgba(184, 92, 56, 0.5);
}

.framework-step__desc {
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--dk-muted);
  margin: 0;
  max-width: 32ch;
}

/* ── Framework: per-element cascading reveal ─── */

/* Each child element animates independently */
.framework-step__num {
  opacity: 0;
  transform: translateY(18px) scale(0.94);
  transition:
    opacity 0.85s var(--ease-out-quint),
    transform 0.85s var(--ease-out-quint),
    color 0.4s ease;
}

.framework-step__title {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.7s var(--ease-out-quint),
    transform 0.7s var(--ease-out-quint);
}

.framework-step__principle {
  opacity: 0;
  transform: translateX(-14px);
  transition:
    opacity 0.7s var(--ease-out-quint),
    transform 0.7s var(--ease-out-quint),
    border-color 0.3s ease;
}

.framework-step__desc {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.7s var(--ease-out-quint),
    transform 0.7s var(--ease-out-quint);
}

/* Stagger inside each step (children of an .is-stagger-visible step) */
.framework-step.is-stagger-visible .framework-step__num,
.is-visible .framework-step .framework-step__num {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0s;
}

.framework-step.is-stagger-visible .framework-step__title,
.is-visible .framework-step .framework-step__title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.18s;
}

.framework-step.is-stagger-visible .framework-step__principle,
.is-visible .framework-step .framework-step__principle {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.34s;
}

.framework-step.is-stagger-visible .framework-step__desc,
.is-visible .framework-step .framework-step__desc {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}

/* Hairline divider draw-in (between desktop columns) */
.framework-step + .framework-step::before {
  transform: scaleY(0);
  transform-origin: center top;
  transition: transform 1.1s var(--ease-out-quint) 0.4s;
}
.is-visible .framework-step + .framework-step::before {
  transform: scaleY(1);
}

/* Hover micro-interaction */
.framework-step:hover .framework-step__num {
  transform: translateY(-3px) scale(1.04);
  color: rgba(220, 116, 76, 0.95);
}

.framework-step:hover .framework-step__principle {
  border-left-color: var(--accent);
}

.framework-step:hover .framework-step__title {
  color: var(--bone-on-ink);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .framework-step__num,
  .framework-step__title,
  .framework-step__principle,
  .framework-step__desc,
  .framework-step + .framework-step::before {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Mobile: vertical stack with horizontal hairline between steps */
@media (max-width: 820px) {
  .framework-flow {
    grid-template-columns: 1fr;
    gap: clamp(32px, 5vw, 48px);
  }
  .framework-step {
    padding: 0;
  }
  .framework-step + .framework-step::before {
    top: -16px;
    bottom: auto;
    left: 0;
    right: 0;
    width: auto;
    height: 1px;
    background: linear-gradient(
      to right,
      transparent 0%,
      var(--dk-border) 25%,
      var(--dk-border) 75%,
      transparent 100%
    );
  }
}

/* ── Testimonials (aligned with site card aesthetic) ─── */

.quote-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 36px) clamp(28px, 3.2vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--shadow-sm);
}

/* Featured (bigger, with vertical accent rail) */
.quote-card--featured {
  padding: clamp(32px, 4vw, 52px) clamp(36px, 4.5vw, 60px);
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  gap: 28px;
}

.quote-card--featured::before {
  content: "";
  position: absolute;
  left: 0;
  top: clamp(32px, 4vw, 52px);
  bottom: clamp(32px, 4vw, 52px);
  width: 3px;
  background: var(--accent);
  border-top-right-radius: 2px;
  border-bottom-right-radius: 2px;
}

/* Body — italic serif quote */
.quote-card__body {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--text);
  margin: 0;
  letter-spacing: -0.005em;
}

.quote-card--featured .quote-card__body {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.42;
  max-width: 60ch;
}

/* Footer attribution */
.quote-card__meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
  margin-top: auto;
}

.quote-card__meta strong {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text);
}

.quote-card__meta span {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.83rem;
  color: var(--text-2);
}

/* Home testimonials grid — scoped to home only so proof page stays 2-col */
.testimonials-section .testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}

@media (max-width: 820px) {
  .testimonials-section .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* Bridge link to proof page */
.testimonials-section__link {
  text-align: center;
}

.mono-link {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-decoration: underline;
  text-underline-offset: 4px;
  color: var(--text);
  transition: color 0.3s ease;
}

.mono-link:hover {
  color: var(--accent);
}

/* Hover + entrance animation */
.quote-card {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.7s var(--ease-out-quint),
    transform 0.7s var(--ease-out-quint),
    border-color 0.3s ease,
    box-shadow 0.4s var(--ease-out-quint);
}

.quote-card:hover {
  transform: translateY(-3px);
  border-color: var(--border);
  box-shadow: var(--shadow-md);
}

.quote-card.is-visible,
.quote-card.is-stagger-visible {
  opacity: 1;
  transform: translateY(0);
}

.quote-card.is-visible:hover,
.quote-card.is-stagger-visible:hover {
  transform: translateY(-3px);
}

@media (prefers-reduced-motion: reduce) {
  .quote-card {
    opacity: 1 !important;
    transform: none !important;
  }
}


/* close @layer legacy */
}

/* ── Unlayered override ───────────────────
   The mobile sticky CTA lives in the `legacy` layer, but its color
   rule (color: var(--dk-text)) loses to `a { color: var(--ink) }` in
   the later `base` layer — layer order beats specificity. Restating
   the color rule outside any @layer wins the cascade, so the sticky
   CTA text is legible on its dark background. */
@media (max-width: 820px) {
  .mobile-cta a.btn {
    color: var(--dk-text);
  }
}

/* ── Feature clip ─────────────────────────────
   Reusable YouTube video section that matches the editorial style used
   across the site: eyebrow → heading → optional lede → 16:9 frame with
   rounded corners, soft shadow, and a click-through overlay to YouTube.
   The frame is set up like the .from-room__video--yt player for consistency. */

.feature-clip__head {
  max-width: 60ch;
}
.feature-clip__lede {
  color: var(--text-2);
  font-size: 1.08rem;
  line-height: 1.6;
  max-width: 56ch;
  margin: 1rem 0 0;
}
.feature-clip__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #0d0d0d;
  box-shadow: 0 12px 40px rgba(20, 20, 19, 0.14);
  margin: clamp(2rem, 4vw, 3rem) 0 0;
  max-width: 1080px;
}
.feature-clip__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  pointer-events: none;
}
.feature-clip__link {
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: pointer;
  text-decoration: none;
}
.feature-clip__meta {
  font-family: var(--ff-mono);
  font-size: var(--fs-caption);
  text-transform: uppercase;
  letter-spacing: var(--tracking-eyebrow);
  color: var(--stone);
  margin: 0.75rem 0 0;
}

/* Two-column variant: main video on the left, smaller supporting card on the right. */
.feature-clip--pair {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  column-gap: clamp(2rem, 4vw, 3.5rem);
  row-gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
  margin-top: clamp(2rem, 4vw, 3rem);
}
.feature-clip--pair .feature-clip__frame {
  margin: 0;
}
.feature-clip__support .feature-clip__head {
  margin-bottom: 0.75rem;
}
.feature-clip__support h3 {
  font-family: var(--ff-display);
  font-size: clamp(1.25rem, 1.8vw, 1.6rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0.35rem 0 0;
  line-height: 1.15;
}
.feature-clip__support .feature-clip__frame {
  margin-top: 1rem;
}

@media (max-width: 860px) {
  .feature-clip--pair {
    grid-template-columns: 1fr;
  }
}

/* ================================================================
   Stage feature — cinema treatment for featured single clips.
   Poster-first facade, corner brackets, warm ambient shadow, and a
   mono meta ticker underneath. Used on home, speaking, and proof.
   ================================================================ */

.stage-feature__stage {
  position: relative;
  margin: clamp(2.5rem, 5vw, 4rem) 0 0;
  max-width: 1200px;
}
.stage-feature__stage::before {
  content: '';
  position: absolute;
  inset: -14px -14px -20px -14px;
  border: 1px solid var(--whisper);
  z-index: 0;
  pointer-events: none;
}
.stage-feature__frame {
  position: relative;
  z-index: 1;
  aspect-ratio: 16 / 9;
  background: #0a0a0a;
  border-radius: 2px;
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    0 30px 60px -22px rgba(20, 20, 19, 0.42),
    0 14px 32px -18px rgba(110, 22, 20, 0.22);
}

.stage-feature__facade,
.reel-player__facade {
  appearance: none;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  width: 100%;
  height: 100%;
  cursor: pointer;
  display: block;
  position: relative;
  color: var(--bone);
}
.stage-feature__poster,
.reel-player__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1),
    filter 0.5s ease,
    opacity 0.35s ease;
}
.reel-player__poster.is-swapping { opacity: 0; }
.stage-feature__scrim,
.reel-player__scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 50% 50%, rgba(10, 10, 10, 0.05), rgba(10, 10, 10, 0.55) 95%),
    linear-gradient(180deg, rgba(10, 10, 10, 0) 55%, rgba(10, 10, 10, 0.42));
  transition: opacity 0.35s ease;
}
.stage-feature__play,
.reel-player__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(72px, 9vw, 108px);
  height: clamp(72px, 9vw, 108px);
  border-radius: 999px;
  background: var(--bone);
  color: var(--oxblood);
  display: grid;
  place-items: center;
  box-shadow:
    0 0 0 1px rgba(244, 239, 230, 0.35),
    0 0 0 12px rgba(244, 239, 230, 0.10),
    0 24px 44px -18px rgba(0, 0, 0, 0.6);
  transition:
    transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1),
    background 0.25s ease,
    color 0.25s ease,
    box-shadow 0.4s ease;
}
.stage-feature__play svg,
.reel-player__play svg {
  width: 34%;
  height: 34%;
  margin-left: 6%;
}
.stage-feature__facade:hover .stage-feature__poster,
.stage-feature__facade:focus-visible .stage-feature__poster,
.reel-player__facade:hover .reel-player__poster,
.reel-player__facade:focus-visible .reel-player__poster {
  transform: scale(1.02);
  filter: saturate(1.06);
}
.stage-feature__facade:hover .stage-feature__play,
.stage-feature__facade:focus-visible .stage-feature__play,
.reel-player__facade:hover .reel-player__play,
.reel-player__facade:focus-visible .reel-player__play {
  transform: translate(-50%, -50%) scale(1.06);
  background: var(--oxblood);
  color: var(--bone);
  box-shadow:
    0 0 0 1px rgba(110, 22, 20, 0.45),
    0 0 0 18px rgba(110, 22, 20, 0.10),
    0 26px 52px -18px rgba(110, 22, 20, 0.55);
}
.stage-feature__facade:focus-visible,
.reel-player__facade:focus-visible {
  outline: 2px solid var(--oxblood);
  outline-offset: 4px;
}

.stage-feature__corner,
.reel-player__corner {
  position: absolute;
  width: 24px;
  height: 24px;
  pointer-events: none;
  z-index: 3;
  --c: rgba(244, 239, 230, 0.55);
}
.stage-feature__corner--tl,
.reel-player__corner--tl { top: 16px; left: 16px;  border-top: 1px solid var(--c); border-left: 1px solid var(--c); }
.stage-feature__corner--tr,
.reel-player__corner--tr { top: 16px; right: 16px; border-top: 1px solid var(--c); border-right: 1px solid var(--c); }
.stage-feature__corner--bl,
.reel-player__corner--bl { bottom: 16px; left: 16px;  border-bottom: 1px solid var(--c); border-left: 1px solid var(--c); }
.stage-feature__corner--br,
.reel-player__corner--br { bottom: 16px; right: 16px; border-bottom: 1px solid var(--c); border-right: 1px solid var(--c); }

.stage-feature__player,
.reel-player__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.stage-feature__meta {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: clamp(0.7rem, 1.4vw, 1.15rem);
  flex-wrap: wrap;
  margin: 1.4rem 0 0;
  padding: 0;
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
}
.stage-feature__meta-run {
  color: var(--ink);
  font-weight: 500;
}
.stage-feature__meta-sep {
  display: inline-block;
  width: 26px;
  height: 1px;
  background: var(--whisper);
}
.stage-feature__meta-link {
  margin-left: auto;
  color: var(--oxblood);
  text-decoration: none;
  border-bottom: 1px solid var(--oxblood);
  padding-bottom: 0.15rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: gap 0.25s ease;
}
.stage-feature__meta-link:hover {
  gap: 0.75rem;
}

@media (max-width: 720px) {
  .stage-feature__stage::before {
    inset: -8px -8px -12px -8px;
  }
  .stage-feature__corner,
  .reel-player__corner {
    width: 16px;
    height: 16px;
  }
  .stage-feature__corner--tl,
  .stage-feature__corner--tr,
  .reel-player__corner--tl,
  .reel-player__corner--tr { top: 10px; }
  .stage-feature__corner--bl,
  .stage-feature__corner--br,
  .reel-player__corner--bl,
  .reel-player__corner--br { bottom: 10px; }
  .stage-feature__corner--tl,
  .stage-feature__corner--bl,
  .reel-player__corner--tl,
  .reel-player__corner--bl { left: 10px; }
  .stage-feature__corner--tr,
  .stage-feature__corner--br,
  .reel-player__corner--tr,
  .reel-player__corner--br { right: 10px; }
  .stage-feature__meta-link {
    margin-left: 0;
  }
}

/* ================================================================
   Reel player — chapter selector for multi-clip sections.
   One cinema viewport + a numbered chapter row underneath.
   ================================================================ */

.reel-player {
  display: flex;
  flex-direction: column;
  gap: clamp(1.75rem, 3vw, 2.5rem);
}
.reel-player__stage {
  margin: 0;
  max-width: 1200px;
  position: relative;
}
.reel-player__stage::before {
  content: '';
  position: absolute;
  inset: -14px -14px -20px -14px;
  border: 1px solid var(--whisper);
  z-index: 0;
  pointer-events: none;
}
.reel-player__frame {
  position: relative;
  z-index: 1;
  aspect-ratio: 16 / 9;
  background: #0a0a0a;
  border-radius: 2px;
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    0 30px 60px -22px rgba(20, 20, 19, 0.42),
    0 14px 32px -18px rgba(110, 22, 20, 0.22);
}

.reel-player__meta {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: clamp(0.7rem, 1.4vw, 1.15rem);
  flex-wrap: wrap;
  margin: 1.4rem 0 0;
  padding: 0;
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
}
.reel-player__meta-tag {
  color: var(--oxblood);
  font-weight: 500;
}
.reel-player__meta-num,
.reel-player__meta-title {
  color: var(--ink);
  font-weight: 500;
}
.reel-player__meta-sep {
  display: inline-block;
  width: 26px;
  height: 1px;
  background: var(--whisper);
}
.reel-player__meta-run {
  color: var(--stone);
}

.reel-chapters {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--whisper);
}
.reel-chapters--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.reel-chapters > li {
  position: relative;
  padding: 0;
  border-right: 1px solid var(--whisper);
}
.reel-chapters > li:last-child {
  border-right: 0;
}

.reel-chapter {
  appearance: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 0.6rem;
  padding: 1.5rem 1.25rem 1.35rem;
  text-align: left;
  color: var(--ink);
  position: relative;
  width: 100%;
  transition: opacity 0.25s ease;
}
.reel-chapter::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 1.25rem;
  width: 0;
  height: 2px;
  background: var(--oxblood);
  transition: width 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reel-chapter.is-active::before { width: 48px; }

.reel-chapter__num {
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: var(--stone);
  transition: color 0.25s ease;
}
.reel-chapter.is-active .reel-chapter__num { color: var(--oxblood); }

.reel-chapter__title {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  max-width: 22ch;
}

.reel-chapter__meta {
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.reel-chapter__dot { color: var(--whisper); }

.reel-chapter:not(.is-active) { opacity: 0.7; }
.reel-chapter:hover:not(.is-active),
.reel-chapter:focus-visible { opacity: 1; }
.reel-chapter:focus-visible {
  outline: 2px solid var(--oxblood);
  outline-offset: -2px;
}

@media (max-width: 900px) {
  .reel-chapters,
  .reel-chapters--2 {
    grid-template-columns: 1fr;
  }
  .reel-chapters > li {
    border-right: 0;
    border-bottom: 1px solid var(--whisper);
  }
  .reel-chapters > li:last-child { border-bottom: 0; }
  .reel-chapter { padding: 1.25rem 0; }
  .reel-chapter::before { left: 0; }
}
