/* ════════════════════════════════════════════════════════════════════
   Parallax Advisory — production stylesheet
   Single source of truth for tokens, components, layout, motion.

   Edits live here. CSS custom properties at the top do most of the
   global work — change a value here, the whole site responds.
   Comments mark the major regions so a non-developer + AI assistant
   can navigate this file confidently.
   ════════════════════════════════════════════════════════════════════ */

/* ──────────────────────────────────────────────────────────────────
   01 · TOKENS
   Locked palette + type + spacing per the design-system brief.
   ──────────────────────────────────────────────────────────────── */

:root {
  /* Palette */
  --cream:       #F5F0EB;   /* default background */
  --limewash:    #ECE4DA;   /* panels, alternating bands */
  --stone:       #DCD2C5;   /* rules, hairlines */
  --ink:         #0A0E1A;   /* foreground text, ink sections */
  --ink-soft:    #2A2E3A;   /* secondary ink */
  --ink-mute:    #5E626D;   /* tertiary / metadata — darkened to pass WCAG 4.5:1 on cream */
  --cobalt:      #1F3D7A;   /* the single sanctioned accent */
  --cobalt-soft: #6E8FC9;   /* cobalt on ink backgrounds — lightened to pass WCAG 4.5:1 for small labels on dark */

  --hairline:      rgba(10, 14, 26, 0.12);
  --hairline-soft: rgba(10, 14, 26, 0.06);
  --hairline-dark: rgba(245, 240, 235, 0.15);

  /* Semantic aliases used inline */
  --bg:        var(--cream);
  --bg-elev:   #FBF8F4;
  --fg:        var(--ink);
  --fg-muted:  var(--ink-mute);
  --rule:      var(--stone);
  --accent:    var(--cobalt);

  /* Type stacks */
  --font-display: "Outfit", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-body:    "Inter", "Outfit", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Type scale — fluid */
  --t-hero:     clamp(52px, 7.6vw, 112px);
  --t-display:  clamp(40px, 5.4vw, 80px);
  --t-h1:       clamp(38px, 4.6vw, 72px);
  --t-h2:       clamp(28px, 3.2vw, 52px);
  --t-h3:       clamp(20px, 1.8vw, 28px);
  --t-body:     17px;
  --t-body-sm:  15px;
  --t-caption:  13px;
  --t-eyebrow:  11px;
  --t-micro:    10px;

  /* Layout */
  --maxw:   1280px;
  --gutter: clamp(20px, 4vw, 56px);

  /* Spacing — 8pt scale */
  --s-1: 4px;  --s-2: 8px;   --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px;  --s-7: 48px; --s-8: 64px;
  --s-9: 96px; --s-10: 128px; --s-11: 192px;

  /* Motion */
  --ease:      cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast:  180ms;
  --dur-base:  280ms;
  --dur-slow:  420ms;
}

/* ──────────────────────────────────────────────────────────────────
   02 · RESET + BASE
   ──────────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (max-width: 720px) { html { scroll-padding-top: 68px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--t-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11", "kern";
}

::selection { background: var(--ink); color: var(--cream); }

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}

button { font: inherit; cursor: pointer; }

hr { border: 0; height: 1px; background: var(--rule); margin: 0; }

/* Skip link — accessibility */
.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--ink); color: var(--cream);
  padding: 12px 18px;
  font-family: var(--font-mono); font-size: var(--t-caption);
  letter-spacing: 0.18em; text-transform: uppercase;
  z-index: 200;
}
.skip:focus { left: 8px; outline: 2px solid var(--cobalt); outline-offset: 2px; }

/* Focus rings — cobalt, never decorative */
:focus-visible {
  outline: 2px solid var(--cobalt);
  outline-offset: 2px;
}

/* ──────────────────────────────────────────────────────────────────
   03 · LAYOUT PRIMITIVES
   ──────────────────────────────────────────────────────────────── */

.wrap     { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.col      { max-width: 880px; margin: 0 auto; }
.col-wide { max-width: 1120px; margin: 0 auto; }

/* ──────────────────────────────────────────────────────────────────
   04 · TYPE UTILITIES
   ──────────────────────────────────────────────────────────────── */

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--t-eyebrow);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0;
}
/* Accent eyebrow — cobalt. Used to mark numbered / structural sections.
   Prefer this utility over inline color so the rule stays enforceable. */
.eyebrow--accent { color: var(--cobalt); }

/* Standalone bio block (e.g. About → "Founded by Andy Parton") */
.bio { max-width: 760px; }
.bio h3 {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(22px, 2.2vw, 30px); line-height: 1.3;
  letter-spacing: -0.01em; margin: 0 0 var(--s-5) 0; color: var(--ink);
}
.bio p { font-size: 16.5px; line-height: 1.78; color: var(--ink-soft); margin: 0; }
.bio .bio__links { margin-top: var(--s-6); }

.mono {
  font-family: var(--font-mono);
  font-size: var(--t-caption);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* The signature PA/ slash — vertically extended hairline in cobalt */
.slash {
  display: inline-block;
  color: var(--cobalt);
  font-weight: 300;
  transform: translateY(0.02em) scaleY(1.16);
  margin: 0 0.04em;
  font-style: normal;
}

/* The cobalt period after case titles + display lines */
em.dot, .em-dot { font-style: normal; color: var(--cobalt); }

/* ──────────────────────────────────────────────────────────────────
   05 · TOP NAV (sticky, blur-backed)
   ──────────────────────────────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 240, 235, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
}
.nav__mark {
  display: inline-flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 13px;
  line-height: 1.04;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}
.nav__mark span { display: block; }

.nav__links {
  display: flex;
  gap: var(--s-6);
  font-family: var(--font-mono);
  font-size: var(--t-eyebrow);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.nav__links a {
  position: relative;
  color: var(--ink-mute);
  padding: 6px 0;
}
.nav__links a:hover,
.nav__links a[aria-current="page"] { color: var(--cobalt); }
.nav__links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--cobalt);
}

.nav__toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--ink);
  transition: transform var(--dur-base) var(--ease), opacity var(--dur-base) var(--ease);
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed;
    top: 64px; right: 0; left: 0; bottom: auto;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    gap: var(--s-5);
    padding: var(--s-8) var(--gutter);
    font-size: 14px;
    letter-spacing: 0.18em;
    transform: translateY(-120vh);
    transition: transform var(--dur-base) var(--ease);
    border-bottom: 1px solid var(--hairline);
  }
  .nav__links.is-open { transform: translateY(0); }
}

/* ──────────────────────────────────────────────────────────────────
   06 · GLOBAL HERO (Technique A — sticky scroll-out)
   Used on every page entry.
   ──────────────────────────────────────────────────────────────── */

.hero {
  padding: clamp(80px, 14vw, 192px) 0 clamp(64px, 10vw, 128px);
  border-bottom: 1px solid var(--hairline);
  position: relative;
}
.hero__eyebrow { margin: 0 0 var(--s-9) 0; }
.hero__h1 {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: var(--t-hero);
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0;
  max-width: 18ch;
  text-wrap: pretty;
}
.hero__h1 em { font-style: normal; color: inherit; }
.hero__sub {
  margin-top: var(--s-7);
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.32;
  color: var(--ink-soft);
  max-width: 36ch;
}
.hero__body {
  margin-top: var(--s-7);
  font-family: var(--font-body);
  font-size: var(--t-h3);
  line-height: 1.5;
  color: var(--ink);
  max-width: 66ch;
}

/* Background layered display word (Technique B) — used on /work, /about, /thinking */
.hero--layered { overflow: clip; }
.hero__bgword {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(180px, 30vw, 460px);
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--stone);
  opacity: 0.55;
  pointer-events: none;
  user-select: none;
  right: -3vw;
  bottom: -8vw;
  z-index: 0;
}
.hero--layered .wrap { position: relative; z-index: 1; }

/* Sticky hero scroll-out (Technique A) — translate only, no opacity
   fade. Per the parallax-addendum legibility rule: the headline must
   stay readable at every frame. */
@supports (animation-timeline: scroll()) {
  .hero--sticky .hero__h1,
  .hero--sticky .hero__sub,
  .hero--sticky .hero__body {
    animation: heroScrollOut linear both;
    animation-timeline: scroll(nearest);
    animation-range: 0 80vh;
  }
  @keyframes heroScrollOut {
    to { transform: translateY(-24px); }
  }
}

/* ──────────────────────────────────────────────────────────────────
   06b · FULL-SCREEN SIZZLE REEL (homepage opener placeholder)
   ──────────────────────────────────────────────────────────────── */

.reel {
  min-height: 100vh;
  background: var(--ink);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--hairline-dark);
  position: relative;
  overflow: hidden;
}
.reel::before {
  content: "";
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(135deg, transparent 0, transparent 32px, rgba(31, 61, 122, 0.06) 32px, rgba(31, 61, 122, 0.06) 33px),
    radial-gradient(circle at 30% 40%, rgba(31, 61, 122, 0.18), transparent 55%),
    radial-gradient(circle at 75% 75%, rgba(74, 107, 165, 0.10), transparent 60%);
  opacity: 0.9;
  pointer-events: none;
}
.reel__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 var(--gutter);
  max-width: 880px;
}
.reel__play {
  width: 96px; height: 96px;
  border: 1.5px solid var(--cream); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--s-8);
  transition: transform var(--dur-base) var(--ease);
}
.reel__play::after {
  content: ''; width: 0; height: 0;
  border-left: 22px solid var(--cream);
  border-top: 14px solid transparent; border-bottom: 14px solid transparent;
  margin-left: 5px;
}
.reel:hover .reel__play { transform: scale(1.04); }
.reel__label {
  font-family: var(--font-mono);
  font-size: var(--t-eyebrow);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--cobalt-soft);
  margin: 0 0 var(--s-5);
}
.reel__title {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(28px, 3.8vw, 56px);
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0 auto var(--s-5);
  max-width: 22ch;
  color: var(--cream);
}
.reel__brief {
  font-family: var(--font-mono);
  font-size: var(--t-caption);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 240, 235, 0.55);
  margin: 0;
}
/* Tiny scroll cue below the reel content */
.reel::after {
  content: "SCROLL";
  position: absolute;
  left: 50%;
  bottom: var(--s-7);
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(245, 240, 235, 0.45);
}

/* ──────────────────────────────────────────────────────────────────
   06c · STICKY CTA (homepage bottom-right)
   Brand-faithful: no shadow, hairline border, ink fill, mono label.
   Hidden while the .reel section is in view (ink-on-ink would lose
   it) and while the ink cta-ink section is in view (redundant).
   ──────────────────────────────────────────────────────────────── */

.sticky-cta {
  position: fixed;
  bottom: var(--s-5);
  right: var(--s-5);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  padding: 16px 24px;
  background: var(--ink);
  color: var(--cream);
  border: 1px solid var(--cobalt-soft);
  font-family: var(--font-mono);
  font-size: var(--t-caption);
  letter-spacing: 0.20em;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition:
    opacity var(--dur-base) var(--ease),
    transform var(--dur-base) var(--ease),
    background var(--dur-fast) var(--ease),
    color var(--dur-fast) var(--ease),
    border-color var(--dur-fast) var(--ease);
}
.sticky-cta[hidden] { display: none; }
.sticky-cta.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.sticky-cta:hover {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--ink);
}
@media (max-width: 720px) {
  .sticky-cta {
    bottom: var(--s-4);
    right: var(--s-4);
    padding: 13px 18px;
    font-size: 11px;
    letter-spacing: 0.16em;
  }
}

/* ──────────────────────────────────────────────────────────────────
   07 · SECTION SCAFFOLD
   ──────────────────────────────────────────────────────────────── */

section.section {
  padding: clamp(72px, 10vw, 128px) 0;
  border-bottom: 1px solid var(--hairline);
  position: relative;
}
section.section--limewash { background: var(--limewash); }
/* (removed unused .section--ink dark variant — ink is reserved for footer, the single CTA band, and media) */

.section__eyebrow { margin: 0 0 var(--s-7) 0; }
.section__h2 {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: var(--t-display);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 var(--s-9) 0;
  max-width: 22ch;
  text-wrap: pretty;
}
.section__h2 em { font-style: normal; color: inherit; }
.section__lead {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.35;
  color: var(--ink-soft);
  max-width: 760px;
  margin: 0 0 var(--s-9) 0;
}

/* ──────────────────────────────────────────────────────────────────
   08 · HOMEPAGE — FEATURED WORK
   ──────────────────────────────────────────────────────────────── */

.work-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-7);
  padding: var(--s-9) 0;
  border-top: 1px solid var(--hairline);
  align-items: center;
}
.work-row:first-of-type { border-top: 0; padding-top: 0; }
@media (min-width: 880px) {
  .work-row { grid-template-columns: 5fr 7fr; gap: var(--s-8); }
  .work-row--reverse .work-image { order: 2; }
}

.work-image {
  aspect-ratio: 5 / 4;
  background: var(--bg-elev);
  border: 1px solid var(--hairline);
  position: relative;
  overflow: hidden;
}
.work-image::after { /* fine grain */
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.06 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  pointer-events: none;
}
.work-image .corner-meta {
  position: absolute; top: var(--s-4); left: var(--s-4);
  font-family: var(--font-mono); font-size: var(--t-micro);
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-mute);
  z-index: 2;
}

/* Textural backgrounds (AI imagery placeholders) */
.tex-paper {
  background:
    radial-gradient(1200px 600px at 30% 30%, rgba(245,235,210,0.55), transparent 60%),
    radial-gradient(800px  600px at 70% 70%, rgba(220,200,180,0.35), transparent 55%),
    var(--bg-elev);
}
.tex-concrete {
  background:
    radial-gradient(1000px 500px at 25% 25%, rgba(50,55,65,0.06), transparent 60%),
    radial-gradient(900px  700px at 80% 80%, rgba(20,25,35,0.10), transparent 55%),
    var(--bg-elev);
}
.tex-glass {
  background:
    linear-gradient(135deg, rgba(245,240,235,0.95) 0%, rgba(220,215,205,0.45) 50%, rgba(245,240,235,0.95) 100%),
    var(--bg-elev);
}
.tex-vellum {
  background:
    linear-gradient(180deg, rgba(245,235,215,0.6), rgba(225,210,180,0.3) 50%, rgba(245,235,215,0.6)),
    var(--bg-elev);
}
.tex-stone {
  background:
    radial-gradient(900px 500px at 50% 50%, rgba(170,160,150,0.18), transparent 65%),
    var(--limewash);
}

.work-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  font-family: var(--font-mono);
  font-size: var(--t-eyebrow);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 var(--s-4) 0;
}
.work-meta span:not(:last-child)::after {
  content: "·"; margin-left: var(--s-3); color: var(--ink-mute);
}

.work-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--t-h2);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0 0 var(--s-3) 0;
  text-wrap: pretty;
}
.work-title em { font-style: normal; color: inherit; }

.work-headline {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--t-h3);
  line-height: 1.3;
  color: var(--ink-mute);
  margin: 0 0 var(--s-5) 0;
  max-width: 36ch;
}
.work-body {
  font-family: var(--font-body);
  font-size: var(--t-body-sm);
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
  max-width: 50ch;
}
.work-stat {
  margin-top: var(--s-5);
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: 22px;
  color: var(--cobalt);
  letter-spacing: -0.01em;
}

.read-link, .text-link {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--t-caption);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}
.read-link:hover, .text-link:hover { color: var(--cobalt); border-bottom-color: var(--cobalt); }
.read-link::after, .text-link::after { content: " →"; }
.work-row .read-link { margin-top: var(--s-5); }

.view-all {
  text-align: right;
  margin-top: var(--s-9);
}

/* ──────────────────────────────────────────────────────────────────
   08b · HOMEPAGE — WORK CAROUSEL
   ──────────────────────────────────────────────────────────────── */

.work-carousel__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s-6);
  margin-bottom: var(--s-8);
  flex-wrap: wrap;
}
.work-carousel__header .section__h2 { margin-bottom: 0; }
.work-carousel__header .section__eyebrow { margin-bottom: var(--s-5); }
@media (max-width: 640px) {
  .work-carousel__header { align-items: baseline; gap: var(--s-4); margin-bottom: var(--s-6); }
}

.work-carousel__index {
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: clamp(22px, 4.2vw, 44px);
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1;
  margin: 0;
  white-space: nowrap;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.work-carousel__index [data-wc-current] {
  display: inline-block;
  min-width: 1.6ch;
  color: var(--cobalt);
}
.work-carousel__index [data-wc-total] { color: var(--ink-mute); }
.work-carousel__index-sep { color: var(--ink-mute); font-weight: 300; }

.work-carousel {
  position: relative;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.work-carousel__viewport {
  position: relative;
  overflow: hidden;
  /* allow vertical page scroll, claim horizontal for swipe */
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}

.work-carousel__track {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  transform: translate3d(0, 0, 0);
  transition: transform 520ms cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

.work-slide {
  flex: 0 0 100%;
  min-width: 0;
  padding: var(--s-9) 0;
  overflow: hidden; /* clip each slide so the next slide's scaled (1.02) cobalt tile can't bleed in as a right-edge bar */
}
@media (max-width: 720px) {
  .work-slide { padding: var(--s-7) 0; }
  /* Cut slide content for mobile: image, category, title, headline, CTA only. */
  .work-slide .work-body,
  .work-slide .work-stat { display: none; }
  .work-slide .work-headline { margin-bottom: var(--s-5); }
}

.work-slide__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-7);
  align-items: center;
  color: inherit;
  text-decoration: none;
}
@media (min-width: 880px) {
  .work-slide__inner { grid-template-columns: 6fr 6fr; gap: var(--s-9); }
}
.work-slide .work-image { aspect-ratio: 4 / 3; }

/* On non-active slides we soften the imagery so the active slide owns focus.
   Track opacity is also controlled so movement reads as a series, not a stack. */
.work-slide[aria-hidden="true"] .work-content { opacity: 0; transition: opacity 320ms var(--ease); }
.work-slide:not([aria-hidden="true"]) .work-content {
  opacity: 1;
  transition: opacity 480ms 120ms var(--ease);
}

/* Word-by-word entry for active title — restrained, no overshoot */
.work-slide__inner .work-title,
.work-slide__inner .work-headline,
.work-slide__inner .work-body,
.work-slide__inner .work-stat,
.work-slide__inner .read-link,
.work-slide__inner .work-meta {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 420ms var(--ease), transform 420ms var(--ease);
}
.work-slide:not([aria-hidden="true"]) .work-slide__inner .work-meta    { transition-delay: 80ms;  opacity: 1; transform: none; }
.work-slide:not([aria-hidden="true"]) .work-slide__inner .work-title   { transition-delay: 140ms; opacity: 1; transform: none; }
.work-slide:not([aria-hidden="true"]) .work-slide__inner .work-headline{ transition-delay: 200ms; opacity: 1; transform: none; }
.work-slide:not([aria-hidden="true"]) .work-slide__inner .work-body    { transition-delay: 260ms; opacity: 1; transform: none; }
.work-slide:not([aria-hidden="true"]) .work-slide__inner .work-stat    { transition-delay: 320ms; opacity: 1; transform: none; }
.work-slide:not([aria-hidden="true"]) .work-slide__inner .read-link    { transition-delay: 380ms; opacity: 1; transform: none; }

/* Image: subtle scale-in on active slide (no bounce) */
.work-slide .work-image {
  transform: scale(1.02);
  transition: transform 700ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.work-slide:not([aria-hidden="true"]) .work-image { transform: scale(1); }

.work-slide__inner:hover .work-title { color: var(--cobalt); }
.work-slide__inner:hover .read-link { color: var(--cobalt); border-bottom-color: var(--cobalt); }

/* ── Controls row ──────────────────────────────────────────── */

.work-carousel__controls {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: stretch;
  gap: 0;
  border-top: 1px solid var(--hairline);
}
@media (max-width: 720px) {
  .work-carousel__controls { grid-template-columns: 1fr; }
}

.work-carousel__tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.work-carousel__tabs > li { min-width: 0; }
@media (max-width: 880px) {
  .work-carousel__tabs { grid-template-columns: repeat(2, 1fr); }
  /* When tabs wrap to two rows, give the bottom row its own top hairline
     so the progress bar has a line to sit on. */
  .work-carousel__tabs > li:nth-child(n+3) .work-carousel__tab { border-top: 1px solid var(--hairline); }
}
@media (max-width: 520px) {
  .work-carousel__tabs { grid-template-columns: 1fr; }
  .work-carousel__tabs > li + li .work-carousel__tab { border-top: 1px solid var(--hairline); }
  .work-carousel__tab { border-right: 0 !important; }
}

.work-carousel__tab {
  appearance: none;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--hairline);
  cursor: pointer;
  text-align: left;
  width: 100%;
  padding: var(--s-5) var(--s-5);
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--ink-mute);
  position: relative;
  font-family: inherit;
  transition: color var(--dur-base) var(--ease);
  min-height: 56px;
}
.work-carousel__tabs > li:last-child  .work-carousel__tab { border-right: 0; }

/* Top progress hairline — fills on active. Sits on the tab's own top edge. */
.work-carousel__tab::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0; right: 0;
  height: 2px;
  background: var(--cobalt);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 320ms var(--ease);
}
.work-carousel__tab.is-active::before { transform: scaleX(1); }
.work-carousel__tab.is-active.is-autoplaying::before {
  transform: scaleX(0);
  animation: wc-progress 7000ms linear forwards;
}
@keyframes wc-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.work-carousel__tab:hover { color: var(--ink); }
.work-carousel__tab.is-active { color: var(--ink); }

.work-carousel__tab-num {
  font-family: var(--font-mono);
  font-size: var(--t-eyebrow);
  font-weight: 300;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
}
.work-carousel__tab.is-active .work-carousel__tab-num { color: var(--cobalt); }
.work-carousel__tab-label {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(14px, 1.1vw, 17px);
  letter-spacing: -0.005em;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.work-carousel__nav {
  display: flex;
  align-items: stretch;
  border-left: 1px solid var(--hairline);
}
@media (max-width: 720px) {
  .work-carousel__nav { border-left: 0; border-top: 1px solid var(--hairline); }
  .work-carousel__btn { flex: 1 1 0; justify-content: center; padding: var(--s-5) var(--s-4); }
}

.work-carousel__btn {
  appearance: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: var(--s-5) var(--s-6);
  font-family: var(--font-mono);
  font-size: var(--t-caption);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: color var(--dur-base) var(--ease), background var(--dur-base) var(--ease);
}
.work-carousel__btn + .work-carousel__btn { border-left: 1px solid var(--hairline); }
.work-carousel__btn:hover { background: var(--limewash); color: var(--cobalt); }
.work-carousel__btn[disabled] { color: var(--ink-mute); cursor: not-allowed; }
.work-carousel__btn[disabled]:hover { background: transparent; color: var(--ink-mute); }
.work-carousel__btn span[aria-hidden] { display: inline-block; transition: transform var(--dur-base) var(--ease); }
.work-carousel__btn:hover:not([disabled]) [data-wc-next] span[aria-hidden],
[data-wc-next]:hover:not([disabled]) span[aria-hidden] { transform: translateX(3px); }
[data-wc-prev]:hover:not([disabled]) span[aria-hidden] { transform: translateX(-3px); }

@media (prefers-reduced-motion: reduce) {
  .work-carousel__track { transition: none; }
  .work-carousel__tab.is-active.is-autoplaying::before { animation: none; transform: scaleX(1); }
  .work-slide .work-image,
  .work-slide__inner .work-title,
  .work-slide__inner .work-headline,
  .work-slide__inner .work-body,
  .work-slide__inner .work-stat,
  .work-slide__inner .read-link,
  .work-slide__inner .work-meta { transition: none; transform: none; opacity: 1; }
}

/* ──────────────────────────────────────────────────────────────────
   09 · VOICE / POV BLOCK (homepage + /about)
   ──────────────────────────────────────────────────────────────── */

.voice__h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 var(--s-7) 0;
  max-width: 38ch;
  text-wrap: pretty;
}
.voice__body {
  font-family: var(--font-body);
  font-size: var(--t-h3);
  line-height: 1.55;
  color: var(--ink);
  max-width: 62ch;
  margin: 0;
}

/* ──────────────────────────────────────────────────────────────────
   10 · LATEST THINKING — homepage + /thinking index cards
   ──────────────────────────────────────────────────────────────── */

/* .thinking-grid layout is defined once in the Route D motion layer (§ foot of file). */

.thinking-card {
  padding: var(--s-7) 0 var(--s-5);
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  color: inherit;
}
.thinking-card .meta {
  font-family: var(--font-mono);
  font-size: var(--t-eyebrow);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 var(--s-4) 0;
}
.thinking-card h3 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(22px, 1.9vw, 26px);
  line-height: 1.18;
  letter-spacing: -0.005em;
  margin: 0 0 var(--s-3) 0;
  color: var(--ink);
}
.thinking-card p {
  font-family: var(--font-body);
  font-size: var(--t-body-sm);
  line-height: 1.6;
  margin: 0 0 var(--s-5) 0;
  color: var(--ink-soft);
}
.thinking-card .read-link { margin-top: auto; }

a.thinking-card:hover h3 { color: var(--cobalt); }

/* ──────────────────────────────────────────────────────────────────
   11 · INBOUND CTA STRIP (ink-fill)
   ──────────────────────────────────────────────────────────────── */

.cta-ink {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(96px, 12vw, 160px) 0;
  border-bottom: 0;
}
.cta-ink .eyebrow { color: var(--cobalt-soft); }
.cta-ink__h2 {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(32px, 4.2vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--cream);
  max-width: 28ch;
  margin: var(--s-6) 0 var(--s-8) 0;
  text-wrap: pretty;
}
.cta-ink__h2 em { font-style: normal; color: inherit; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  padding: 17px 28px;
  border: 1px solid currentColor;
  font-family: var(--font-mono);
  font-size: var(--t-caption);
  letter-spacing: 0.20em;
  text-transform: uppercase;
  background: transparent;
  color: inherit;
  text-decoration: none;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.cta-ink .btn { color: var(--cream); }
.cta-ink .btn:hover { background: var(--cream); color: var(--ink); }
.btn--solid { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn--solid:hover { background: transparent; color: var(--ink); }
.btn[disabled],
.btn--solid[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

/* ──────────────────────────────────────────────────────────────────
   12 · FOOTER (ink-fill)
   ──────────────────────────────────────────────────────────────── */

footer.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(72px, 10vw, 128px) 0 var(--s-7) 0;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-7);
  padding-bottom: var(--s-9);
  border-bottom: 1px solid var(--hairline-dark);
}
@media (min-width: 880px) {
  .site-footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
.site-footer__mark {
  display: inline-flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.04;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
}
.site-footer__mark span { display: block; }
.site-footer__tag {
  margin-top: var(--s-5);
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--t-h3);
  line-height: 1.3;
  color: var(--cream);
  max-width: 28ch;
}
.site-footer h4 {
  font-family: var(--font-mono);
  font-size: var(--t-eyebrow);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cobalt-soft);
  margin: 0 0 var(--s-5) 0;
  font-weight: 400;
}
.site-footer ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: var(--s-3);
}
.site-footer a {
  color: var(--cream);
  font-family: var(--font-body);
  font-size: var(--t-body-sm);
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}
.site-footer a:hover { border-bottom-color: var(--cream); }
.site-footer__bottom {
  margin-top: var(--s-7);
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: rgba(245, 240, 235, 0.55);
  line-height: 1.6;
}

/* ──────────────────────────────────────────────────────────────────
   13 · WORK INDEX — slate grid
   ──────────────────────────────────────────────────────────────── */

.slate-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}
@media (max-width: 860px) { .slate-grid { grid-template-columns: 1fr; } }

.slate-card {
  background: var(--cream);
  padding: 40px 36px;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  min-height: 260px;
  transition: background var(--dur-base) var(--ease);
}
.slate-card:hover { background: var(--limewash); }
.slate-card .ix {
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cobalt);
  margin-bottom: 18px;
}
.slate-card h3 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 30px;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin: 0 0 14px;
  color: var(--ink);
}
.slate-card h3 em { font-style: normal; color: inherit; }
.slate-card .meta {
  font-family: var(--font-mono);
  font-size: var(--t-eyebrow);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 18px;
}
.slate-card .desc {
  font-size: var(--t-body-sm);
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 18px;
  flex: 1;
}
.slate-card .desc em { font-style: italic; color: var(--ink-soft); }
.slate-card .stat {
  font-family: var(--font-mono);
  font-weight: 300;
  font-size: 22px;
  color: var(--cobalt);
  letter-spacing: -0.01em;
}

/* Portfolio map */
.pm-lead {
  font-family: var(--font-mono);
  font-size: var(--t-eyebrow);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cobalt);
  margin-bottom: var(--s-5);
}
.pm-title {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(30px, 3.8vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 var(--s-8) 0;
  max-width: 22ch;
}
.pm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}
@media (max-width: 720px) { .pm-grid { grid-template-columns: 1fr; } }
.pm-row {
  background: var(--cream);
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: inherit;
  text-decoration: none;
  transition: background var(--dur-fast) var(--ease);
}
a.pm-row:hover { background: var(--limewash); }
a.pm-row:hover .case { color: var(--cobalt); }
.pm-row .need {
  font-family: var(--font-mono); font-size: var(--t-micro);
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--cobalt);
}
.pm-row .case {
  font-family: var(--font-display); font-weight: 300;
  font-size: 19px; letter-spacing: -0.01em; color: var(--ink);
}

.pm-key {
  margin-top: var(--s-7);
  font-family: var(--font-mono);
  font-size: var(--t-eyebrow);
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  line-height: 2;
}

/* ──────────────────────────────────────────────────────────────────
   PROOF LAYER — numbered references + sources + disclaimer
   ──────────────────────────────────────────────────────────────── */

/* Inline superscript link from body copy to a numbered source entry. */
.ref-note {
  vertical-align: super;
  font-size: 0.6em;
  font-family: var(--font-mono);
  color: var(--cobalt);
  text-decoration: none;
  padding: 0 1px;
  border-bottom: 0;
  line-height: 1;
}
.ref-note:hover { text-decoration: underline; color: var(--cobalt); }

/* Sources & substantiation block at the foot of each case. */
section.sources {
  padding: var(--s-8) 0;
  background: var(--cream);
  border-top: 1px solid var(--hairline);
}
.sources .lead {
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cobalt);
  margin: 0 0 var(--s-5) 0;
}
.sources ol {
  margin: 0;
  padding-left: 22px;
}
.sources li {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: var(--s-3);
}
.sources li a {
  color: var(--cobalt);
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 1px;
}
.sources li a:hover { border-bottom-color: var(--cobalt); }
.sources .nda-note {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: var(--s-5) 0 0 0;
  font-style: italic;
  max-width: 760px;
}
.sources .nda-note a {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: var(--t-caption);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cobalt);
  border-bottom: 1px solid var(--cobalt);
  padding-bottom: 2px;
  margin-left: 6px;
  white-space: nowrap;
}

/* Legal/IP disclaimer at the very foot of each case. */
section.disclaimer {
  padding: var(--s-6) 0 var(--s-7);
  background: var(--cream);
  border-top: 1px solid var(--hairline-soft);
}
.disclaimer p {
  font-family: var(--font-body);
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--ink-mute);
  max-width: 880px;
  margin: 0;
}

/* Programme pills */
.prog-pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 11px;
  margin: 0 6px 0 0;
  background: var(--cobalt);
  color: var(--cream);
}
.prog-pill.ghost { background: transparent; color: var(--cobalt); border: 1px solid var(--cobalt); }

/* ──────────────────────────────────────────────────────────────────
   14 · CASE STUDY — chapter scaffold + components
   ──────────────────────────────────────────────────────────────── */

/* Case hero with multi-layer depth (Technique E) */
.case-hero {
  padding: clamp(80px, 11vw, 144px) 0 clamp(48px, 6vw, 80px);
  border-bottom: 1px solid var(--hairline);
  position: relative;
}
.case-meta {
  font-family: var(--font-mono);
  font-size: var(--t-eyebrow);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 var(--s-7) 0;
  display: flex; flex-wrap: wrap; gap: 12px;
}
.case-h1 {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(40px, 5.6vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0 0 var(--s-6) 0;
  text-wrap: pretty;
}
.case-h1 em { font-style: normal; color: inherit; }
.case-subhead {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.32;
  letter-spacing: -0.01em;
  color: var(--ink-soft);
  margin: 0 0 var(--s-7) 0;
  max-width: 880px;
}
.case-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 var(--s-7) 0; }
.tag {
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 7px 12px;
  border: 1px solid var(--hairline);
  color: var(--ink-soft);
}
.tag.cobalt { border-color: var(--cobalt); color: var(--cobalt); }
.case-scope {
  font-size: 16px;
  line-height: 1.72;
  color: var(--ink-soft);
  max-width: 760px;
}

/* Video hero */
.video-hero {
  margin: var(--s-8) 0 0;
  aspect-ratio: 16 / 9;
  border: 1px dashed var(--hairline);
  background:
    repeating-linear-gradient(135deg, transparent 0, transparent 32px, rgba(31, 61, 122, 0.05) 32px, rgba(31, 61, 122, 0.05) 33px),
    var(--ink);
  color: var(--cream);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 40px;
}
.video-hero .play {
  width: 72px; height: 72px;
  border: 1.5px solid var(--cream); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin-bottom: 22px;
}
.video-hero .play::after {
  content: ''; width: 0; height: 0;
  border-left: 18px solid var(--cream);
  border-top: 12px solid transparent; border-bottom: 12px solid transparent;
  margin-left: 4px;
}
.video-hero .label { font-family: var(--font-mono); font-size: var(--t-micro); letter-spacing: 0.24em; text-transform: uppercase; opacity: 0.7; margin-bottom: 14px; }
.video-hero .title { font-family: var(--font-display); font-weight: 300; font-size: 24px; letter-spacing: -0.01em; margin-bottom: 10px; max-width: 700px; }
.video-hero .brief { font-size: 13px; opacity: 0.65; max-width: 560px; line-height: 1.55; }

/* At-a-glance module */
.case-module { background: var(--limewash); border-bottom: 6px solid var(--ink); padding: 64px 0; }
.cm-lead { font-family: var(--font-mono); font-size: var(--t-eyebrow); letter-spacing: 0.22em; text-transform: uppercase; color: var(--cobalt); margin-bottom: 26px; }
.cm-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); }
@media (max-width: 720px) { .cm-grid { grid-template-columns: 1fr; } }
.cm-cell { background: var(--cream); padding: 26px 28px; }
.cm-cell.full { grid-column: 1 / -1; }
.cm-cell .k { font-family: var(--font-mono); font-size: var(--t-micro); letter-spacing: 0.16em; text-transform: uppercase; color: var(--cobalt); margin-bottom: 10px; }
.cm-cell .v { font-family: var(--font-display); font-weight: 300; font-size: 17px; line-height: 1.42; color: var(--ink); letter-spacing: -0.01em; }

/* Chapter sub-nav */
.chapter-nav { padding: 28px 0; border-bottom: 1px solid var(--hairline); font-family: var(--font-mono); font-size: var(--t-eyebrow); letter-spacing: 0.18em; text-transform: uppercase; }
.chapter-nav .row { display: flex; gap: 40px; color: var(--ink-mute); flex-wrap: wrap; }
.chapter-nav a { color: var(--ink-mute); }
.chapter-nav a:hover { color: var(--ink); }

/* Chapter section */
section.chapter { padding: clamp(64px, 8vw, 100px) 0; border-bottom: 1px solid var(--hairline); }
.chapter-number { font-family: var(--font-mono); font-size: var(--t-eyebrow); letter-spacing: 0.22em; text-transform: uppercase; color: var(--cobalt); margin-bottom: 22px; }
.chapter-title {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(30px, 3.8vw, 50px); line-height: 1.08; letter-spacing: -0.02em;
  margin: 0 0 var(--s-7) 0; max-width: 880px;
}
.chapter p { font-size: 16.5px; line-height: 1.78; color: var(--ink-soft); margin: 0 0 var(--s-5) 0; max-width: 760px; }
.chapter p:last-child { margin-bottom: 0; }
.chapter p em { font-style: italic; color: var(--cobalt); font-weight: 400; }
.chapter p strong { color: var(--ink); font-weight: 500; }

/* Visual strip (image placeholders) */
.visual-strip { padding: 56px 0; border-bottom: 1px solid var(--hairline); background: var(--limewash); }
.visual-pair { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.visual-pair.single { grid-template-columns: 1fr; }
.visual-pair.triple { grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) {
  .visual-pair, .visual-pair.triple { grid-template-columns: 1fr; }
}
.visual-placeholder {
  border: 1px dashed var(--hairline);
  background:
    repeating-linear-gradient(135deg, transparent 0, transparent 22px, rgba(31, 61, 122, 0.03) 22px, rgba(31, 61, 122, 0.03) 23px),
    var(--cream);
  padding: 36px 30px;
  min-height: 280px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.visual-placeholder.short     { min-height: 200px; }
.visual-placeholder.tall      { min-height: 380px; }
.visual-placeholder.cinematic { min-height: 460px; }
.visual-placeholder .ix { font-family: var(--font-mono); font-size: var(--t-micro); letter-spacing: 0.22em; text-transform: uppercase; color: var(--cobalt); margin-bottom: 10px; }
.visual-placeholder .caption { font-family: var(--font-display); font-weight: 300; font-size: 19px; line-height: 1.32; color: var(--ink); margin-bottom: 8px; letter-spacing: -0.01em; }
.visual-placeholder .brief { font-family: var(--font-mono); font-size: var(--t-micro); letter-spacing: 0.12em; color: var(--ink-mute); text-transform: uppercase; }

/* Phases list (numbered workflow blocks) */
.phases { margin: var(--s-7) 0 0; display: grid; gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); }
.phase { background: var(--cream); padding: 26px 30px; display: grid; grid-template-columns: 140px 1fr; gap: 22px; align-items: start; }
@media (max-width: 720px) { .phase { grid-template-columns: 1fr; gap: 6px; } }
.phase .ix { font-family: var(--font-mono); font-size: var(--t-micro); letter-spacing: 0.22em; text-transform: uppercase; color: var(--cobalt); padding-top: 4px; }
.phase .body h4 { font-family: var(--font-display); font-weight: 400; font-size: 20px; letter-spacing: -0.01em; margin: 0 0 8px; }
.phase .body p { font-size: 15px; line-height: 1.66; color: var(--ink-soft); margin: 0; max-width: none; }

/* Stats grid (used on case studies) — Technique D: pinned section with internal scroll-driven state */
section.stats { padding: clamp(80px, 10vw, 128px) 0; border-bottom: 1px solid var(--hairline); background: var(--limewash); position: relative; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); }
@media (max-width: 720px) { .stats-grid { grid-template-columns: 1fr; } }
.stat { background: var(--limewash); padding: 48px 36px; }
.stat .num { font-family: var(--font-mono); font-weight: 300; font-size: clamp(40px, 4.6vw, 64px); line-height: 1; letter-spacing: -0.02em; color: var(--cobalt); margin-bottom: 16px; }
.stat .lab { font-size: 13.5px; line-height: 1.55; color: var(--ink-soft); }

/* Pull quote */
section.pullquote { padding: clamp(72px, 10vw, 120px) 0; border-bottom: 1px solid var(--hairline); background: var(--cream); }
.pullquote-line {
  font-family: var(--font-display); font-weight: 200;
  font-size: clamp(28px, 3.8vw, 52px);
  line-height: 1.14; letter-spacing: -0.02em;
  color: var(--cobalt); max-width: 22ch; margin: 0 auto; text-wrap: pretty;
}

/* Reflection block (ends a case) */
section.reflection { padding: clamp(88px, 11vw, 144px) 0; border-bottom: 6px solid var(--ink); }
.reflection .lead { font-family: var(--font-mono); font-size: var(--t-eyebrow); letter-spacing: 0.22em; text-transform: uppercase; color: var(--cobalt); margin-bottom: 26px; }
.reflection-title {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(28px, 3.6vw, 48px); line-height: 1.08; letter-spacing: -0.02em;
  margin: 0 0 var(--s-7) 0; max-width: 820px;
}
.reflection p { font-size: 16.5px; line-height: 1.78; color: var(--ink-soft); margin: 0 0 var(--s-5) 0; max-width: 760px; }
.reflection p strong { color: var(--ink); font-weight: 500; }
.reflection p em { font-style: normal; color: var(--cobalt); }

/* Case CTA */
section.case-cta { padding: clamp(96px, 12vw, 160px) 0 clamp(80px, 9vw, 120px); background: var(--ink); color: var(--cream); }
.case-cta .lead { font-family: var(--font-mono); font-size: var(--t-eyebrow); letter-spacing: 0.22em; text-transform: uppercase; color: var(--cobalt-soft); margin-bottom: var(--s-6); }
.case-cta__h2 {
  font-family: var(--font-display); font-weight: 200;
  font-size: clamp(30px, 4vw, 58px); line-height: 1.08; letter-spacing: -0.02em;
  color: var(--cream); max-width: 820px; margin: 0 0 var(--s-8) 0;
}
.case-cta__h2 em { font-style: normal; color: inherit; }

/* Case-end navigation strip */
.case-end {
  padding: 28px 0;
  background: var(--cream); color: var(--ink-mute); text-align: center;
  font-family: var(--font-mono); font-size: var(--t-micro); letter-spacing: 0.22em; text-transform: uppercase;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.case-end a { display: inline-block; margin: 0 24px; color: var(--ink-mute); }
.case-end a:hover, .case-end a.next { color: var(--cobalt); }

/* ──────────────────────────────────────────────────────────────────
   15 · APPROACH — programme cards + FAQ
   ──────────────────────────────────────────────────────────────── */

.programmes { display: grid; gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); }
.programme {
  background: var(--cream);
  padding: clamp(40px, 5vw, 64px) clamp(28px, 3.5vw, 56px);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-7);
}
@media (min-width: 880px) {
  .programme { grid-template-columns: 280px 1fr; }
}
.programme__name {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(48px, 5.2vw, 76px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: var(--cobalt);
  margin: 0;
}
.programme__desc {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(22px, 2vw, 28px); line-height: 1.25;
  letter-spacing: -0.01em; color: var(--ink);
  margin: 0 0 var(--s-5) 0; max-width: 26ch;
}
.programme__body { font-size: 16.5px; line-height: 1.72; color: var(--ink-soft); margin: 0 0 var(--s-6) 0; max-width: 64ch; }
.programme__specs {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
  font-family: var(--font-mono);
  font-size: var(--t-caption);
  letter-spacing: 0.04em;
  line-height: 1.6;
  color: var(--ink-soft);
  border-top: 1px solid var(--hairline);
  padding-top: var(--s-5);
}
@media (min-width: 720px) {
  .programme__specs { grid-template-columns: repeat(3, 1fr); }
}
.programme__specs strong {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cobalt);
  font-weight: 400;
  margin-bottom: 4px;
}

/* FAQ — the collapsible .pfaq / details.pfaq__q system (foot of file) is the single
   FAQ component used on every page. */

/* ──────────────────────────────────────────────────────────────────
   16 · HOW WE WORK — entry-point table
   ──────────────────────────────────────────────────────────────── */

.hww-block { padding: clamp(72px, 9vw, 112px) 0; border-bottom: 1px solid var(--hairline); }
.hww-block h2 {
  font-family: var(--font-display); font-weight: 200;
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.1; letter-spacing: -0.02em;
  margin: 0 0 var(--s-7) 0; max-width: 24ch; text-wrap: pretty;
}
.hww-block p {
  font-size: 16.5px; line-height: 1.78; color: var(--ink-soft);
  max-width: 64ch; margin: 0;
}

.entry-table {
  display: grid; gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}
.entry-table__row {
  background: var(--cream);
  padding: 22px 26px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
@media (min-width: 720px) {
  .entry-table__row { grid-template-columns: 1fr 1.4fr; gap: var(--s-6); align-items: baseline; }
}
.entry-table__role {
  font-family: var(--font-display); font-weight: 300; font-size: 19px;
  letter-spacing: -0.01em; color: var(--ink);
}
.entry-table__next {
  font-family: var(--font-body); font-size: var(--t-body-sm);
  line-height: 1.6; color: var(--ink-soft);
}
.entry-table__next strong { color: var(--cobalt); font-weight: 400; font-family: var(--font-mono); font-size: var(--t-caption); letter-spacing: 0.12em; text-transform: uppercase; }

/* Legal page prose */
.legal-prose { max-width: 720px; }
.legal-prose h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: var(--s-7) 0 var(--s-3) 0;
}
.legal-prose h3:first-child { margin-top: 0; }
.legal-prose p,
.legal-prose ul { font-size: 16px; line-height: 1.7; color: var(--ink-soft); margin: 0 0 var(--s-4) 0; }
.legal-prose ul { padding-left: 22px; }
.legal-prose li { margin-bottom: var(--s-3); }
.legal-prose a { color: var(--cobalt); border-bottom: 1px solid var(--hairline); padding-bottom: 1px; }
.legal-prose a:hover { border-bottom-color: var(--cobalt); }
.legal-prose strong { color: var(--ink); font-weight: 500; }
.legal-prose em { font-style: italic; color: var(--ink-soft); }

/* Scheduling embed placeholder — Cal.com / Calendly drops in here at launch. */
.schedule-embed {
  margin-top: var(--s-7);
  border: 1px solid var(--hairline);
  background: var(--cream);
}
.schedule-embed__placeholder {
  padding: clamp(40px, 6vw, 72px) clamp(28px, 5vw, 56px);
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
  align-items: flex-start;
  background:
    repeating-linear-gradient(135deg, transparent 0, transparent 22px, rgba(31, 61, 122, 0.04) 22px, rgba(31, 61, 122, 0.04) 23px),
    var(--cream);
}
.schedule-embed__eyebrow {
  font-family: var(--font-mono);
  font-size: var(--t-eyebrow);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cobalt);
  margin: 0;
}
.schedule-embed__lead {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.3;
  color: var(--ink);
  margin: 0;
  max-width: 48ch;
}

/* ──────────────────────────────────────────────────────────────────
   17 · ABOUT — credentials block
   ──────────────────────────────────────────────────────────────── */

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-8);
  align-items: start;
}
@media (min-width: 960px) {
  .about-grid { grid-template-columns: 1.4fr 1fr; gap: clamp(48px, 6vw, 96px); }
}
.portrait {
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(circle at 30% 30%, rgba(50,55,65,0.18), transparent 60%),
    radial-gradient(circle at 70% 80%, rgba(20,25,35,0.20), transparent 55%),
    var(--limewash);
  border: 1px solid var(--hairline);
  position: relative;
  overflow: hidden;
}
.portrait::after {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.08 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.portrait__caption {
  position: absolute;
  left: var(--s-5);
  bottom: var(--s-5);
  font-family: var(--font-mono);
  font-size: var(--t-micro);
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(245, 240, 235, 0.85);
  padding: 8px 12px;
}

.credentials {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(48px, 6vw, 80px);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-8) var(--s-7);
}
@media (max-width: 720px) { .credentials { grid-template-columns: 1fr; } }
.credentials h3 {
  font-family: var(--font-mono); font-size: var(--t-eyebrow);
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--cobalt-soft); margin: 0 0 var(--s-4) 0;
  font-weight: 400;
}
.credentials ul, .credentials .lines {
  list-style: none; padding: 0; margin: 0;
  font-family: var(--font-mono); font-size: var(--t-caption);
  line-height: 1.8; color: var(--cream); letter-spacing: 0.02em;
}
.credentials .span2 { grid-column: 1 / -1; }
.credentials .closing {
  grid-column: 1 / -1;
  border-top: 1px solid var(--hairline-dark);
  padding-top: var(--s-6);
  font-family: var(--font-mono); font-size: var(--t-caption);
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(245, 240, 235, 0.7);
}

.manifesto { display: grid; gap: var(--s-7); }
.manifesto__block { border-top: 1px solid var(--hairline); padding-top: var(--s-7); }
.manifesto__block:first-child { border-top: 0; padding-top: 0; }
.manifesto__num {
  font-family: var(--font-mono); font-size: var(--t-eyebrow);
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--cobalt); margin: 0 0 var(--s-3) 0;
}
.manifesto__lede {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(20px, 2vw, 26px); line-height: 1.3;
  letter-spacing: -0.01em; color: var(--ink);
  margin: 0 0 var(--s-4) 0;
}
.manifesto__body { font-size: 16.5px; line-height: 1.78; color: var(--ink-soft); margin: 0; max-width: 60ch; }

/* ──────────────────────────────────────────────────────────────────
   18 · THINKING — article scaffold
   ──────────────────────────────────────────────────────────────── */

.article-hero { padding: clamp(80px, 12vw, 160px) 0 clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--hairline); }
.article-meta {
  font-family: var(--font-mono); font-size: var(--t-eyebrow);
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-mute); margin: 0 0 var(--s-5) 0;
}
.article-h1 {
  font-family: var(--font-display); font-weight: 200;
  font-size: clamp(38px, 5.2vw, 76px); line-height: 1.02;
  letter-spacing: -0.025em; margin: 0 0 var(--s-6) 0;
  text-wrap: pretty;
}
.article-deck {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(22px, 2.4vw, 30px); line-height: 1.3;
  letter-spacing: -0.01em; color: var(--ink-soft);
  max-width: 36ch; margin: 0;
}

.article-body { padding: clamp(56px, 7vw, 96px) 0; }
.article-body .tldr {
  border-left: 2px solid var(--cobalt);
  padding: 6px 0 6px var(--s-5);
  font-family: var(--font-body); font-size: var(--t-body);
  line-height: 1.7; color: var(--ink);
  margin: 0 0 var(--s-8) 0;
  max-width: 64ch;
}
.article-body .tldr strong { color: var(--cobalt); font-weight: 500; }

.article-body h2 {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(26px, 3vw, 38px); line-height: 1.15;
  letter-spacing: -0.015em; margin: var(--s-9) 0 var(--s-5) 0;
  max-width: 32ch; color: var(--ink);
}
.article-body h2:first-child { margin-top: 0; }
.article-body h3 {
  font-family: var(--font-display); font-weight: 400;
  font-size: 22px; letter-spacing: -0.005em; line-height: 1.3;
  margin: var(--s-7) 0 var(--s-3) 0; color: var(--ink);
}
.article-body p {
  font-size: 17px; line-height: 1.78;
  color: var(--ink-soft); margin: 0 0 var(--s-5) 0;
  max-width: 64ch;
}
.article-body p strong { color: var(--ink); font-weight: 500; }
.article-body p em { font-style: italic; color: var(--cobalt); font-weight: 400; }
.article-body ul, .article-body ol {
  font-size: 17px; line-height: 1.7; color: var(--ink-soft);
  padding-left: var(--s-5); margin: 0 0 var(--s-5) 0; max-width: 64ch;
}
.article-body li { margin-bottom: var(--s-3); }
.article-body li::marker { color: var(--cobalt); }
.article-body blockquote {
  border-left: 2px solid var(--cobalt);
  padding-left: var(--s-5);
  margin: var(--s-6) 0;
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(20px, 2vw, 26px); line-height: 1.35;
  color: var(--ink); max-width: 64ch;
}
.article-body table {
  width: 100%; max-width: 100%;
  border-collapse: collapse;
  font-size: var(--t-body-sm);
  margin: var(--s-7) 0;
  border: 1px solid var(--hairline);
}
.article-body table th, .article-body table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--hairline);
  border-right: 1px solid var(--hairline);
  vertical-align: top;
}
.article-body table th:last-child, .article-body table td:last-child { border-right: 0; }
.article-body table th {
  font-family: var(--font-mono); font-size: var(--t-eyebrow);
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--cobalt); font-weight: 400;
  background: var(--limewash);
}
.article-body hr { margin: var(--s-8) 0; background: var(--hairline); }
.article-body a:not(.read-link):not(.btn) {
  color: var(--cobalt);
  border-bottom: 1px solid var(--cobalt);
  padding-bottom: 1px;
}
.article-body a:not(.read-link):not(.btn):hover { color: var(--ink); border-bottom-color: var(--ink); }

/* Coming-soon teaser for unpublished thinking pieces */
.coming-soon {
  display: inline-block;
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: var(--t-caption);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ──────────────────────────────────────────────────────────────────
   19 · CONTACT — three routes + form
   ──────────────────────────────────────────────────────────────── */

.routes { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); margin-top: var(--s-7); }
@media (min-width: 880px) { .routes { grid-template-columns: repeat(3, 1fr); } }
.routes__item { background: var(--cream); padding: var(--s-7) var(--s-6); }
.routes__num { font-family: var(--font-mono); font-size: var(--t-eyebrow); letter-spacing: 0.22em; text-transform: uppercase; color: var(--cobalt); margin: 0 0 var(--s-4) 0; }
.routes__h3 { font-family: var(--font-display); font-weight: 300; font-size: 22px; letter-spacing: -0.01em; margin: 0 0 var(--s-3) 0; }
.routes__p { font-size: var(--t-body-sm); line-height: 1.65; color: var(--ink-soft); margin: 0; }

.cta-cluster {
  display: flex; flex-wrap: wrap; gap: var(--s-4) var(--s-6);
  align-items: center;
  margin: var(--s-7) 0;
}
.cta-cluster .secondary {
  font-family: var(--font-mono); font-size: var(--t-caption);
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-mute);
}

.form {
  margin-top: var(--s-8);
  border-top: 1px solid var(--hairline);
  padding-top: var(--s-8);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
  max-width: 720px;
}
.form__field { display: flex; flex-direction: column; gap: 6px; }
.form__field--inline { flex-direction: row; align-items: center; gap: var(--s-3); }
.form label {
  font-family: var(--font-mono); font-size: var(--t-eyebrow);
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-mute);
}
.form input[type="text"],
.form input[type="email"],
.form select,
.form textarea {
  font-family: var(--font-body);
  font-size: var(--t-body);
  padding: 14px 16px;
  border: 1px solid var(--hairline);
  background: var(--cream);
  color: var(--ink);
  border-radius: 2px;
  width: 100%;
  font-weight: 300;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none;
  border-color: var(--cobalt);
  box-shadow: 0 0 0 2px rgba(31, 61, 122, 0.12);
}
.form textarea { resize: vertical; min-height: 140px; line-height: 1.55; }
.form__honeypot { position: absolute; left: -5000px; visibility: hidden; }

.form__reassure {
  margin: var(--s-3) 0 var(--s-5);
  font-size: var(--t-body-sm); line-height: 1.6;
  color: var(--ink-mute); max-width: 60ch;
}

.contact-details {
  margin-top: var(--s-10);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
  font-family: var(--font-mono);
  font-size: var(--t-caption);
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  line-height: 1.7;
}
@media (min-width: 720px) {
  .contact-details { grid-template-columns: repeat(3, 1fr); }
}
.contact-details strong {
  display: block;
  font-family: var(--font-mono); font-size: var(--t-micro);
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--cobalt);
  margin-bottom: 6px;
  font-weight: 400;
}
.contact-details a { color: var(--ink-soft); border-bottom: 1px solid var(--hairline); padding-bottom: 1px; }
.contact-details a:hover { color: var(--cobalt); border-bottom-color: var(--cobalt); }

/* ──────────────────────────────────────────────────────────────────
   20 · MOTION — reveals, parallax, clip-ins
   Technique C — clip-reveal + in-image parallax.
   Technique B — background word layered with foreground scroll.
   Technique D — pinned section (CSS sticky + view() timeline).
   ──────────────────────────────────────────────────────────────── */

/* Generic fade-up on entry (used everywhere as the base reveal) */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
  will-change: opacity, transform;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Clip-reveal (Technique C) — element enters from a thin top strip
   into its full crop. JS adds .in-view on intersection. */
.clip-reveal {
  clip-path: inset(45% 0 45% 0);
  opacity: 0;
  transition: clip-path 700ms var(--ease-out), opacity 500ms var(--ease-out);
  will-change: clip-path, opacity;
}
.clip-reveal.in-view {
  clip-path: inset(0 0 0 0);
  opacity: 1;
}

/* In-image parallax (Technique C secondary) — once visible, the
   background shifts subtly as the section moves through viewport. */
@supports (animation-timeline: view()) {
  .parallax-image {
    animation: imgShift linear both;
    animation-timeline: view();
    animation-range: entry 0% exit 100%;
  }
  @keyframes imgShift {
    from { transform: translateY(-12px); }
    to   { transform: translateY(12px);  }
  }
}

/* Background word layered at slower scroll (Technique B). */
@supports (animation-timeline: scroll()) {
  .hero__bgword {
    animation: bgwordDrift linear both;
    animation-timeline: scroll(nearest);
    animation-range: 0 120vh;
  }
  @keyframes bgwordDrift {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(0, -30%, 0); }
  }
}


/* Case-hero multi-layer depth (Technique E) — title moves
   moderately, metadata leaves first, image moves slowest. */
@supports (animation-timeline: scroll()) {
  .case-hero .case-meta {
    animation: heroLayerFastest linear both;
    animation-timeline: scroll(nearest);
    animation-range: 0 70vh;
  }
  .case-hero .case-h1 {
    animation: heroLayerMid linear both;
    animation-timeline: scroll(nearest);
    animation-range: 0 90vh;
  }
  @keyframes heroLayerFastest {
    to { transform: translateY(-60px); opacity: 0; }
  }
  @keyframes heroLayerMid {
    to { transform: translateY(-40px); opacity: 0.5; }
  }
}

/* Reduced motion — kill all parallax + entry animations. */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .clip-reveal,
  .parallax-image,
  .hero__bgword,
  .case-hero .case-meta,
  .case-hero .case-h1,
  .hero--sticky .hero__h1,
  .hero--sticky .hero__sub,
  .hero--sticky .hero__body {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
    clip-path: none !important;
  }
}

/* ──────────────────────────────────────────────────────────────────
   20b · CASE-STUDY LEGACY CLASS COMPAT
   The case-study blocks extracted from the in-system v17 build use
   class names like .headline / .subhead / .metadata / .scope and
   <section class="cta"> rather than my BEM-style hero/CTA classes.
   Map them here so a single stylesheet handles both vocabularies.
   ──────────────────────────────────────────────────────────────── */

/* Case hero — overrides .hero defaults inside a case-section context */
.case-section section.hero { padding: clamp(80px, 11vw, 144px) 0 clamp(48px, 6vw, 80px); }
.case-section .metadata {
  font-family: var(--font-mono);
  font-size: var(--t-eyebrow);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 var(--s-7) 0;
  display: flex; flex-wrap: wrap; gap: 12px;
}
.case-section .metadata .sep { color: var(--stone); }
.case-section h1.headline {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(40px, 5.6vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0 0 var(--s-6) 0;
  text-wrap: pretty;
}
.case-section h1.headline em { font-style: normal; color: inherit; }
.case-section h2.subhead {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.32;
  letter-spacing: -0.01em;
  color: var(--ink-soft);
  margin: 0 0 var(--s-7) 0;
  max-width: 880px;
}
.case-section .tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 var(--s-7) 0; }
.case-section .scope {
  font-size: 16px;
  line-height: 1.72;
  color: var(--ink-soft);
  max-width: 760px;
  margin: 0;
}

/* Case hero — multi-layer depth (Technique E) on the legacy classes */
@supports (animation-timeline: scroll()) {
  .case-section section.hero .metadata {
    animation: heroLayerFastest linear both;
    animation-timeline: scroll(nearest);
    animation-range: 0 70vh;
  }
  .case-section section.hero h1.headline {
    animation: heroLayerMid linear both;
    animation-timeline: scroll(nearest);
    animation-range: 0 90vh;
  }
}
@media (prefers-reduced-motion: reduce) {
  .case-section section.hero .metadata,
  .case-section section.hero h1.headline {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* Case CTA block — legacy <section class="cta"> */
section.cta {
  padding: clamp(96px, 12vw, 160px) 0 clamp(80px, 9vw, 120px);
  background: var(--ink);
  color: var(--cream);
  border-bottom: 0;
}
.cta-lead {
  font-family: var(--font-mono);
  font-size: var(--t-eyebrow);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cobalt-soft);
  margin-bottom: var(--s-6);
}
h3.cta-headline {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(32px, 4.4vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--cream);
  max-width: 820px;
  margin: 0 0 var(--s-8) 0;
  text-wrap: pretty;
}
h3.cta-headline em { font-style: normal; color: inherit; }
.cta-button {
  display: inline-block;
  padding: 18px 32px;
  border: 1px solid var(--cream);
  color: var(--cream);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: var(--t-caption);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.cta-button:hover { background: var(--cream); color: var(--ink); }

/* Case-end inner links — legacy .end-link */
.case-end .end-link { display: inline-block; margin: 0 24px; color: var(--ink-mute); }
.case-end .end-link:hover, .case-end .end-link.next { color: var(--cobalt); }

/* Case-back link — sits above the case hero on each case study */
.case-back {
  padding: var(--s-6) 0 0;
  border-bottom: 0;
  background: var(--cream);
}
.case-back a {
  font-family: var(--font-mono);
  font-size: var(--t-caption);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  text-decoration: none;
}
.case-back a::before {
  content: "←";
  font-size: 16px;
  line-height: 1;
  transition: transform var(--dur-fast) var(--ease);
}
.case-back a:hover { color: var(--cobalt); }
.case-back a:hover::before { transform: translateX(-4px); }

/* Trailing-period treatment (used as the brand's full-stop emphasis
   on titles): no italic, inherit colour. Cobalt is reserved for the
   wordmark slash, not for end-of-headline punctuation. */
.pm-title em,
.article-h1 em,
.voice__h2 em,
.faq__q em,
.routes__h3 em,
.reel__title em { font-style: normal; color: inherit; }

/* ──────────────────────────────────────────────────────────────────
   21 · MOBILE-FIRST TUNING (360 → 1440)
   ──────────────────────────────────────────────────────────────── */

@media (max-width: 720px) {
  .nav__inner { padding: 14px var(--gutter); }
  .nav__mark { font-size: 16px; }
  .hero { padding-top: clamp(56px, 14vw, 96px); padding-bottom: var(--s-9); }
  .work-row { padding: var(--s-7) 0; }
  .work-image { aspect-ratio: 4 / 3; }
  .case-h1, .article-h1 { font-size: clamp(34px, 8.5vw, 52px); }
  .section__h2, .pm-title, .voice__h2 { font-size: clamp(26px, 7vw, 40px); }
  .credentials { padding: var(--s-7) var(--s-6); }
  .programme { padding: var(--s-7) var(--s-6); }
  .programme__name { font-size: clamp(40px, 12vw, 60px); }
  .visual-strip { padding: 32px 0; }
}

/* ════════════════════════════════════════════════════════════════════
   ROUTE D — MOTION LAYER  (original V1, brought to life)
   Headline animate-in + hover-spotlight tiles + brand ticker +
   bigger/bolder practitioner's notes. Gated for reduced-motion.
   ════════════════════════════════════════════════════════════════════ */
.dyn-clip{overflow:hidden; padding-bottom:.08em}
.dyn-line{display:inline-block; transform:translateY(118%); filter:blur(8px); opacity:0; transition:transform 1s cubic-bezier(.16,1,.3,1), filter 1s cubic-bezier(.16,1,.3,1), opacity 1s}
.dyn-ready .dyn-clip .dyn-line{transform:translateY(0); filter:blur(0); opacity:1}

/* (removed .dyn-tile cursor-spotlight) */

/* brand ticker (from Route B) */
.dyn-ticker{border-top:1px solid var(--hairline); border-bottom:1px solid var(--hairline); padding:clamp(24px,3vw,38px) 0; overflow:hidden; background:var(--cream); position:relative; z-index:2}
.dyn-ticker__label{font-family:var(--font-mono); font-size:var(--t-eyebrow); letter-spacing:.3em; text-transform:uppercase; color:var(--ink-mute); margin-bottom:clamp(16px,2vw,24px)}
.dyn-ticker__viewport{overflow:hidden}
.dyn-ticker__track{display:flex; width:max-content; animation:dyn-scroll 70s linear infinite; will-change:transform}
.dyn-ticker:hover .dyn-ticker__track{animation-play-state:paused}
.dyn-ticker__track span{font-family:var(--font-display); font-weight:300; font-size:clamp(22px,2.6vw,36px); letter-spacing:-.01em; color:var(--ink-soft); display:flex; align-items:center; gap:clamp(40px,5vw,72px); margin-right:clamp(40px,5vw,72px)}
.dyn-ticker__track span::after{content:"/"; color:var(--cobalt); font-weight:200}
@keyframes dyn-scroll{to{transform:translateX(-50%)}}

/* bigger, bolder practitioner's notes (from Route B) */
.thinking-grid{display:grid; grid-template-columns:1fr 1fr; gap:clamp(22px,3vw,44px)}
.thinking-grid .thinking-card{border-top:1px solid var(--hairline); padding-top:clamp(20px,2vw,30px); transition:padding-left .4s cubic-bezier(.16,1,.3,1)}
.thinking-grid .thinking-card:first-child{grid-column:1 / -1}
.thinking-grid .thinking-card:first-child h3{font-size:clamp(30px,3.8vw,58px); max-width:20ch; letter-spacing:-.02em}
.thinking-grid .thinking-card h3{font-size:clamp(22px,2.2vw,32px); letter-spacing:-.015em; line-height:1.06; margin-top:10px}
.thinking-grid .thinking-card:hover{padding-left:10px}
@media(max-width:760px){ .thinking-grid{grid-template-columns:1fr} }

/* route badge */
.dyn-badge{position:fixed; left:16px; bottom:16px; z-index:200; font-family:var(--font-mono); font-size:10px; letter-spacing:.16em; text-transform:uppercase; background:var(--ink); color:var(--cream); padding:8px 12px; border-radius:100px; opacity:.82}
.dyn-badge a{color:var(--cobalt-soft)}

@media (prefers-reduced-motion: reduce){
  .dyn-line{transform:none; filter:none; opacity:1}
  .dyn-ticker__track{animation:none}
}

/* FAQ + sources/disclaimer (review round 3) */
.pfaq{margin-top:6rem; border-top:1px solid var(--hairline); padding-top:3rem}
.pfaq__h{font-family:var(--font-mono); font-size:var(--t-eyebrow); letter-spacing:.24em; text-transform:uppercase; color:var(--cobalt); margin-bottom:2rem}
.pfaq__q{border-top:1px solid var(--hairline); padding:1.5rem 0}
.pfaq__q:first-of-type{border-top:0; padding-top:0}
.pfaq__q h3{font-size:var(--t-h3); font-weight:400; letter-spacing:-.01em; margin-bottom:.6rem}
.pfaq__q p{font-size:var(--t-body-sm); color:var(--ink-mute); line-height:1.66; max-width:72ch}
.pdisc{margin-top:4rem; border-top:1px solid var(--hairline); padding-top:2rem}
.pdisc h4{font-family:var(--font-mono); font-size:var(--t-eyebrow); letter-spacing:.24em; text-transform:uppercase; color:var(--ink-mute); margin-bottom:1rem}
.pdisc p{font-family:var(--font-mono); font-size:var(--t-caption); color:var(--ink-mute); line-height:1.8; max-width:94ch; margin-bottom:.6rem}
.pdisc a{color:var(--ink); border-bottom:1px solid var(--hairline)}
.creds-clean{border-top:1px solid var(--hairline)}
.cc-row{display:grid; grid-template-columns:170px 1fr; gap:2rem; padding:1.5rem 0; border-bottom:1px solid var(--hairline)}
.cc-k{font-family:var(--font-mono); font-size:var(--t-caption); letter-spacing:.14em; text-transform:uppercase; color:var(--cobalt)}
.cc-v{font-size:var(--t-body-sm); color:var(--ink-soft); line-height:1.6}
@media(max-width:720px){ .cc-row{grid-template-columns:1fr; gap:6px} }

/* stacked alternating selected work (Route B style) */
.dwork{display:flex; flex-direction:column; gap:5rem}
.dwork__item{display:grid; grid-template-columns:1fr 1fr; gap:clamp(28px,5vw,72px); align-items:center}
.dwork__item:nth-child(even){direction:rtl}
.dwork__item:nth-child(even) > *{direction:ltr}
.dwork__visual{position:relative; aspect-ratio:5/4; border-radius:6px; overflow:hidden; border:1px solid var(--hairline); box-shadow:0 22px 48px -22px rgba(3,7,20,.70), 0 8px 20px -10px rgba(3,7,20,.42); transition:box-shadow .4s cubic-bezier(.22,1,.36,1), transform .4s cubic-bezier(.22,1,.36,1)}
.dwork__item:hover .dwork__visual{box-shadow:0 30px 60px -24px rgba(3,7,20,.78), 0 10px 26px -10px rgba(3,7,20,.5); transform:translateY(-3px)}
.dwork__visual .ph{position:absolute; inset:0}
/* ── Selected-work logo tiles · silver lockups on the cobalt "animatic" gradient ─────────── */
/* Base gradient. Odd/even items MIRROR it so the highlight always faces the centre of the page
   (left-column tiles lit from the right; right-column tiles lit from the left). */
.logo-tile{display:flex;align-items:center;justify-content:center;padding:0;box-sizing:border-box;
  background:
    radial-gradient(120% 120% at 50% 8%, rgba(74,112,176,.50), rgba(74,112,176,0) 56%),
    radial-gradient(140% 120% at 50% 128%, rgba(3,9,26,.60), rgba(3,9,26,0) 60%),
    linear-gradient(180deg, #1C3A6B 0%, #0F2548 56%, #07142E 100%)}
.dwork__item:nth-child(odd) .logo-tile{   /* tile on the LEFT → lit toward centre (right) */
  background:
    radial-gradient(120% 120% at 82% 12%, rgba(74,112,176,.62), rgba(74,112,176,0) 56%),
    radial-gradient(140% 120% at 50% 128%, rgba(3,9,26,.62), rgba(3,9,26,0) 60%),
    linear-gradient(212deg, #1C3A6B 0%, #0F2548 56%, #07142E 100%)}
.dwork__item:nth-child(even) .logo-tile{  /* tile on the RIGHT → lit toward centre (left) */
  background:
    radial-gradient(120% 120% at 18% 12%, rgba(74,112,176,.62), rgba(74,112,176,0) 56%),
    radial-gradient(140% 120% at 50% 128%, rgba(3,9,26,.62), rgba(3,9,26,0) 60%),
    linear-gradient(148deg, #1C3A6B 0%, #0F2548 56%, #07142E 100%)}
/* baked multi-brand lockups (5:4, padding already composited in) → fill the tile */
.logo-tile .tile-lockup{width:100%;height:100%;object-fit:contain;
  filter:drop-shadow(0 3px 9px rgba(0,0,0,.50)) drop-shadow(0 0 13px rgba(156,196,255,.30))}
/* single-brand tiles: one wordmark, glow dialled back */
.logo-tile>.brand-logo{max-width:52%;max-height:30%;width:auto;height:auto;object-fit:contain;
  filter:drop-shadow(0 3px 8px rgba(0,0,0,.50)) drop-shadow(0 0 9px rgba(156,196,255,.24))}
.dwork__num{position:absolute; left:18px; top:14px; z-index:3; font-family:var(--font-mono); font-size:var(--t-caption); letter-spacing:.18em; color:var(--ink-mute)}
.dwork__cat{font-family:var(--font-mono); font-size:var(--t-caption); letter-spacing:.16em; text-transform:uppercase; color:var(--ink-mute)}
.dwork__title{font-family:var(--font-display); font-weight:300; font-size:clamp(26px,2.8vw,42px); letter-spacing:-.02em; line-height:1.02; margin:.6rem 0 1rem}
.dwork__title em{font-style:normal; color:var(--cobalt)}
.dwork__body{font-size:var(--t-body-sm); color:var(--ink-mute); line-height:1.66; max-width:46ch}
.dwork__foot{display:flex; gap:1.5rem; align-items:center; margin-top:1.4rem; flex-wrap:wrap}
.dwork__stat{font-family:var(--font-mono); font-size:var(--t-caption); color:var(--cobalt); letter-spacing:.04em}
.dtex-1{background:linear-gradient(135deg,#23304f,#0A0E1A 70%)}
.dtex-2{background:linear-gradient(135deg,#33405c,#1F3D7A 90%)}
.dtex-3{background:linear-gradient(135deg,#3a3f4d,#15171f)}
.dtex-4{background:linear-gradient(135deg,#2e4a45,#0e1614)}
.dtex-5{background:linear-gradient(135deg,#4a3a52,#161018)}
.dtex-6{background:linear-gradient(135deg,#5a4a36,#241c12)}
.dtex-7{background:linear-gradient(135deg,#43321f,#15100a)}
@media(max-width:760px){ .dwork__item,.dwork__item:nth-child(even){grid-template-columns:1fr; direction:ltr; gap:1.4rem} }
/* collapsible FAQ (details/summary) */
details.pfaq__q summary{list-style:none; cursor:pointer; display:flex; align-items:flex-start; justify-content:space-between; gap:1.2rem}
details.pfaq__q summary::-webkit-details-marker{display:none}
details.pfaq__q summary>span{font-family:var(--font-display); font-weight:400; font-size:var(--t-h3); letter-spacing:-.01em; color:var(--ink); line-height:1.2}
details.pfaq__q summary::after{content:"+"; font-family:var(--font-mono); font-size:1.5rem; line-height:1; color:var(--cobalt); flex:0 0 auto}
details.pfaq__q[open] summary::after{content:"–"}
details.pfaq__q p{margin-top:.7rem}
details.pfaq__q + details.pfaq__q{border-top:1px solid var(--hairline)}
/* round6: FAQ spacing tidy + footer separation + thinking read-link */
.pfaq{margin-top:4rem}
.pfaq__h{margin-bottom:0; padding-bottom:14px; border-bottom:1px solid var(--hairline)}
details.pfaq__q{border-top:0; border-bottom:1px solid var(--hairline); padding:18px 0}
details.pfaq__q:first-of-type{padding-top:18px}
details.pfaq__q + details.pfaq__q{border-top:0}
details.pfaq__q p{margin-top:.6rem}
.site-footer{background:#06070D}
@media(max-width:600px){.hero-br{display:none}}
.thinking-card .read-link{display:inline-flex; width:auto; align-self:flex-start}

/* ════════════════════════════════════════════════════════════════════
   HOMEPAGE PROOF STRIP — quantified credibility directly under the hero
   ════════════════════════════════════════════════════════════════════ */
.proof-strip{ border-top:1px solid var(--hairline); border-bottom:1px solid var(--hairline); background:var(--bg-elev); }
.proof-strip .wrap{ padding-top:clamp(28px,4vw,44px); padding-bottom:clamp(28px,4vw,44px); }
.proof-strip__grid{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:1fr; gap:var(--s-6); }
@media(min-width:560px){ .proof-strip__grid{ grid-template-columns:repeat(2,1fr); } }
@media(min-width:920px){ .proof-strip__grid{ grid-template-columns:repeat(4,1fr); gap:var(--s-7); } }
.proof-strip__grid > li{ display:flex; flex-direction:column; gap:8px; }
@media(min-width:920px){ .proof-strip__grid > li + li{ border-left:1px solid var(--hairline); padding-left:var(--s-7); } }
.proof-strip__num{ font-family:var(--font-mono); font-weight:300; font-size:clamp(34px,4.2vw,52px); line-height:1; letter-spacing:-.02em; color:var(--cobalt); }
.proof-strip__num i{ font-style:normal; color:var(--ink-mute); font-size:.58em; }
.proof-strip__lab{ font-size:var(--t-body-sm); line-height:1.5; color:var(--ink-soft); max-width:36ch; }

/* Home hero sub-lines — wider measure so each paragraph sits on ~2 lines (desktop) */
.hero__body--wide{ max-width:66ch; }
@media (max-width: 720px){ .hero__body--wide{ max-width:44ch; } }

/* Two-sentence home hero — lift the 18ch cap and size so each sentence holds its own line */
.hero__h1--two{ max-width:none; font-size:clamp(40px,5.6vw,84px); line-height:1.3; color:var(--cobalt); }

/* ════════════════════════════════════════════════════════════════════
   CASE PROOF BAR — top-of-case spec strip (grounds the case in seconds)
   ════════════════════════════════════════════════════════════════════ */
.case-proofbar{ display:grid; grid-template-columns:repeat(2,1fr); gap:1px; background:var(--hairline); border:1px solid var(--hairline); margin:0 0 var(--s-7); }
@media(min-width:680px){ .case-proofbar{ grid-template-columns:repeat(3,1fr); } }
.case-proofbar__item{ background:var(--cream); padding:16px 18px; display:flex; flex-direction:column; gap:5px; }
.case-proofbar__item .k{ font-family:var(--font-mono); font-size:var(--t-micro); letter-spacing:.18em; text-transform:uppercase; color:var(--cobalt); }
.case-proofbar__item .v{ font-family:var(--font-display); font-weight:300; font-size:16px; line-height:1.3; letter-spacing:-.005em; color:var(--ink); }

/* ════════════════════════════════════════════════════════════════════
   CUSTOM CURSOR — cobalt arrow with a subtle sheen; grows slightly over
   clickable elements. Fine-pointer only; native cursor on touch.
   ════════════════════════════════════════════════════════════════════ */
@media (hover:hover) and (pointer:fine){
  body{ cursor:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2724%27%20height%3D%2724%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cdefs%3E%3ClinearGradient%20id%3D%27g%27%20x1%3D%270%27%20y1%3D%270%27%20x2%3D%271%27%20y2%3D%271%27%3E%3Cstop%20offset%3D%270%27%20stop-color%3D%27%236E8FC9%27%2F%3E%3Cstop%20offset%3D%27.5%27%20stop-color%3D%27%231F3D7A%27%2F%3E%3Cstop%20offset%3D%271%27%20stop-color%3D%27%23142C57%27%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cpath%20d%3D%27M2%2C2%20L2%2C19%20L6.5%2C14.8%20L9.8%2C21.5%20L12.6%2C20.2%20L9.3%2C13.7%20L15.2%2C13.7%20Z%27%20fill%3D%27url%28%23g%29%27%20stroke%3D%27%23F5F0EB%27%20stroke-width%3D%271.1%27%20stroke-linejoin%3D%27round%27%2F%3E%3C%2Fsvg%3E") 2 2, auto; }
  a, button, summary, select, [role="tab"], label[for], .work-slide__inner, [data-dyn-tile]{ cursor:url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2730%27%20height%3D%2730%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cdefs%3E%3ClinearGradient%20id%3D%27g%27%20x1%3D%270%27%20y1%3D%270%27%20x2%3D%271%27%20y2%3D%271%27%3E%3Cstop%20offset%3D%270%27%20stop-color%3D%27%236E8FC9%27%2F%3E%3Cstop%20offset%3D%27.5%27%20stop-color%3D%27%231F3D7A%27%2F%3E%3Cstop%20offset%3D%271%27%20stop-color%3D%27%23142C57%27%2F%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Cpath%20d%3D%27M2%2C2%20L2%2C19%20L6.5%2C14.8%20L9.8%2C21.5%20L12.6%2C20.2%20L9.3%2C13.7%20L15.2%2C13.7%20Z%27%20fill%3D%27url%28%23g%29%27%20stroke%3D%27%23F5F0EB%27%20stroke-width%3D%271.1%27%20stroke-linejoin%3D%27round%27%2F%3E%3C%2Fsvg%3E") 3 3, pointer; }
  input, textarea{ cursor:text; }
}

/* ══════════════════════════════════════════════════════════════════
   SHORT CASE PAGE — redesigned case template (scoped, additive)
   Bespoke native visuals · scroll-snap carousel · designed film poster.
   All classnames prefixed sc-/scard/scz- so older case pages are untouched.
   ══════════════════════════════════════════════════════════════════ */

/* — Designed film poster (replaces the dashed video-hero on short pages) — */
.sc-film {
  margin: var(--s-8) 0 0;
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  overflow: hidden;
  background:
    radial-gradient(120% 140% at 18% 12%, rgba(74,107,165,0.30), transparent 55%),
    radial-gradient(90% 120% at 92% 88%, rgba(31,61,122,0.45), transparent 60%),
    var(--ink);
  color: var(--cream);
  cursor: pointer;
  display: block; width: 100%; text-align: left;
  border: none;
  font: inherit;
}
.sc-film::after { /* fine grain so the panel reads as finished, not empty */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: repeating-linear-gradient(135deg, transparent 0 33px, rgba(245,240,235,0.035) 33px 34px);
}
.sc-film__inner { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(24px, 4vw, 56px); }
.sc-film__play { position: absolute; top: clamp(24px,4vw,56px); left: clamp(24px,4vw,56px); width: 64px; height: 64px; border: 1.5px solid rgba(245,240,235,0.85); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: transform var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease); }
.sc-film__play::after { content: ""; width: 0; height: 0; border-left: 16px solid var(--cream); border-top: 11px solid transparent; border-bottom: 11px solid transparent; margin-left: 4px; }
.sc-film:hover .sc-film__play { transform: scale(1.06); background: rgba(245,240,235,0.10); }
.sc-film__label { font-family: var(--font-mono); font-size: var(--t-micro); letter-spacing: 0.24em; text-transform: uppercase; color: var(--cobalt-soft); margin-bottom: 12px; }
.sc-film__title { font-family: var(--font-display); font-weight: 300; font-size: clamp(20px, 2.4vw, 30px); letter-spacing: -0.01em; line-height: 1.2; max-width: 22ch; margin: 0 0 8px; }
.sc-film__brief { font-size: var(--t-body-sm); color: rgba(245,240,235,0.62); max-width: 56ch; line-height: 1.5; margin: 0; }

/* — Carousel section — */
.sc-cards { padding: clamp(72px, 9vw, 120px) 0; border-top: 1px solid var(--hairline); }
.sc-cards__head { max-width: var(--maxw); margin: 0 auto var(--s-7); padding: 0 var(--gutter); display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.sc-cards__lead { font-family: var(--font-mono); font-size: var(--t-eyebrow); letter-spacing: 0.22em; text-transform: uppercase; color: var(--cobalt); }
.sc-cards__hint { font-family: var(--font-mono); font-size: var(--t-micro); letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-mute); }

.scarousel { position: relative; }
.scarousel__track {
  display: flex; align-items: stretch; gap: clamp(16px, 2vw, 28px);
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 30px max(var(--gutter), calc((100% - 680px) / 2)) 40px;
  scrollbar-width: none; -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}
.scarousel__track::-webkit-scrollbar { display: none; }
.scarousel__track.is-dragging { cursor: grabbing; scroll-behavior: auto; scroll-snap-type: none; }
.scarousel__track.is-dragging * { pointer-events: none; }

.scard {
  scroll-snap-align: center;
  flex: 0 0 auto;
  width: clamp(280px, 70vw, 680px);
  display: flex; flex-direction: column;
  background: var(--bg-elev);
  border: 1px solid var(--hairline);
  border-radius: 6px; overflow: hidden;
  transform-origin: center;
}
/* Focus carousel — only once JS enables it; degrades to all-visible otherwise */
.scarousel.is-enhanced .scard {
  transform: scale(0.9);
  opacity: 0.4;
  filter: blur(2.5px);
  transition: transform var(--dur-slow) var(--ease-out), opacity var(--dur-slow) var(--ease), filter var(--dur-slow) var(--ease), box-shadow var(--dur-slow) var(--ease);
}
.scarousel.is-enhanced .scard.is-active {
  transform: scale(1);
  opacity: 1;
  filter: blur(0);
  box-shadow: 0 24px 60px -28px rgba(10, 14, 26, 0.4);
}
.scarousel.is-enhanced .scard.is-near {
  opacity: 0.6;
  filter: blur(1.5px);
}
.scarousel.is-enhanced .scarousel__track.is-dragging .scard { transition: none; }
.scard__viz { aspect-ratio: 16 / 9; border-bottom: 1px solid var(--hairline); background: var(--limewash); position: relative; overflow: hidden; }
.scard__viz--ink { background: var(--ink); }
.scard__viz--auto { aspect-ratio: auto; min-height: 200px; display: flex; }
.scard__viz--auto .scz { position: relative; }
.scard__viz img { width: 100%; height: 100%; object-fit: cover; display: block; }
.scard__text { padding: clamp(22px, 3vw, 38px); display: flex; flex-direction: column; flex: 1; }
.scard__index { font-family: var(--font-mono); font-size: var(--t-micro); letter-spacing: 0.2em; text-transform: uppercase; color: var(--cobalt); margin-bottom: 14px; }
.scard__title { font-family: var(--font-display); font-weight: 300; font-size: clamp(21px, 2.2vw, 30px); line-height: 1.22; letter-spacing: -0.01em; margin: 0 0 14px; }
.scard__body { font-size: var(--t-body-sm); line-height: 1.6; color: var(--ink-soft); margin: 0; }
.scard__proof { margin-top: auto; padding-top: 18px; font-family: var(--font-mono); font-size: var(--t-micro); letter-spacing: 0.06em; color: var(--ink-mute); }

/* — Carousel controls — */
.scarousel__nav { max-width: var(--maxw); margin: var(--s-6) auto 0; padding: 0 var(--gutter); display: flex; align-items: center; gap: 18px; }
.scarousel__dots { display: flex; gap: 9px; }
.scarousel__dot { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; background: var(--stone); cursor: pointer; transition: background var(--dur-base) var(--ease), transform var(--dur-base) var(--ease); }
.scarousel__dot[aria-current="true"] { background: var(--cobalt); transform: scale(1.25); }
.scarousel__arrows { margin-left: auto; display: flex; gap: 10px; }
.scarousel__arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--hairline); background: transparent; color: var(--ink); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: border-color var(--dur-base) var(--ease), background var(--dur-base) var(--ease), color var(--dur-base) var(--ease); }
.scarousel__arrow:hover { border-color: var(--cobalt); color: var(--cobalt); }
.scarousel__arrow:disabled { opacity: 0.32; cursor: default; }
.scarousel__arrow svg { width: 17px; height: 17px; }

/* — Bespoke card visuals — */
/* shared */
.scz { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.scz text { font-family: var(--font-mono); }

/* Problem — three brands, one diagnosis (typographic) */
.scz-prob { padding: 0; }
.scz-prob .row { opacity: 0; transform: translateY(8px); }
.scz-prob .uline { stroke-dasharray: 520; stroke-dashoffset: 520; }
.is-inview .scz-prob .row { opacity: 1; transform: translateY(0); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.is-inview .scz-prob .row.r2 { transition-delay: .12s; }
.is-inview .scz-prob .row.r3 { transition-delay: .24s; }
.is-inview .scz-prob .uline { animation: scz-draw 1s var(--ease-out) .5s forwards; }

/* Idea — 4-step path; AI role — 4-phase pipeline (shared node draw) */
.scz-line { stroke: var(--cobalt); stroke-width: 1.5; fill: none; stroke-dasharray: 600; stroke-dashoffset: 600; }
.is-inview .scz-line { animation: scz-draw 1.3s var(--ease-out) forwards; }
.scz-node { opacity: 0; }
.is-inview .scz-node { animation: scz-pop .5s var(--ease-out) forwards; }
.is-inview .scz-node.n2 { animation-delay: .28s; }
.is-inview .scz-node.n3 { animation-delay: .52s; }
.is-inview .scz-node.n4 { animation-delay: .76s; }
.is-inview .scz-node.n5 { animation-delay: 1s; }

/* AI pipeline phase chips loop */
.scz-phase { opacity: 0.32; transition: opacity .4s var(--ease); }
.is-inview .scz-phase { animation: scz-pulse 5.2s linear infinite; }
.is-inview .scz-phase.p2 { animation-delay: 1.0s; }
.is-inview .scz-phase.p3 { animation-delay: 2.0s; }
.is-inview .scz-phase.p4 { animation-delay: 3.0s; }

/* Proof — counters */
.scz-proof { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: clamp(20px,3vw,34px); }
.scz-proof .fig { font-family: var(--font-mono); font-weight: 300; color: var(--cobalt); font-size: clamp(30px, 4.4vw, 52px); line-height: 1; letter-spacing: -0.02em; }
.scz-proof .row { display: flex; align-items: baseline; gap: 12px; }
.scz-proof .cap { font-size: var(--t-caption); color: var(--ink-mute); line-height: 1.35; }

/* Learnings — pull quote plate */
.scz-quote { display: flex; flex-direction: column; justify-content: center; padding: clamp(22px,3.4vw,40px); }
.scz-quote .mark { font-family: var(--font-display); font-size: 60px; line-height: 0.6; color: var(--cobalt); opacity: 0.5; height: 34px; }
.scz-quote p { font-family: var(--font-display); font-weight: 300; font-size: clamp(17px, 1.9vw, 24px); line-height: 1.34; letter-spacing: -0.01em; color: var(--cream); margin: 10px 0 0; }

@keyframes scz-draw { to { stroke-dashoffset: 0; } }
@keyframes scz-pop  { from { opacity: 0; transform: scale(0.6); } to { opacity: 1; transform: scale(1); } }
@keyframes scz-pulse { 0%,100% { opacity: 0.3; } 8%,18% { opacity: 1; } 30% { opacity: 0.3; } }

/* — Request-the-full-case CTA — */
.sc-fullcta { background: var(--ink); color: var(--cream); padding: clamp(64px, 8vw, 104px) 0; }
.sc-fullcta .lead { font-family: var(--font-mono); font-size: var(--t-eyebrow); letter-spacing: 0.22em; text-transform: uppercase; color: var(--cobalt-soft); margin-bottom: 22px; }
.sc-fullcta h2 { font-family: var(--font-display); font-weight: 300; font-size: var(--t-h2); line-height: 1.12; letter-spacing: -0.01em; margin: 0 0 18px; max-width: 20ch; }
.sc-fullcta p { font-size: var(--t-body); color: rgba(245,240,235,0.66); max-width: 56ch; line-height: 1.6; margin: 0 0 32px; }
.sc-fullcta__row { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.sc-fullcta__btn { display: inline-flex; align-items: center; gap: 10px; background: var(--cream); color: var(--ink); font-family: var(--font-mono); font-size: var(--t-caption); letter-spacing: 0.06em; text-decoration: none; padding: 16px 26px; border-radius: 3px; transition: transform var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease); }
.sc-fullcta__btn:hover { transform: translateY(-2px); background: #fff; }
.sc-fullcta__note { font-family: var(--font-mono); font-size: var(--t-micro); letter-spacing: 0.12em; text-transform: uppercase; color: rgba(245,240,235,0.5); }

@media (max-width: 720px) {
  .scarousel__arrows { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .scz-prob .row, .scz-node, .scz-phase { opacity: 1 !important; transform: none !important; animation: none !important; }
  .scz-line, .scz-prob .uline { stroke-dashoffset: 0 !important; animation: none !important; }
  .scarousel__track { scroll-behavior: auto; }
  .scarousel.is-enhanced .scard { transition: none !important; }
}
