
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  :root {
    --bg: #F8F7F4;
    --bg-secondary: #F0EFE7;
    --bg-card: #ffffff;
    --text: #1A1A18;
    --text-secondary: #555550;
    --text-tertiary: #999990;
    --border: rgba(0,0,0,0.1);
    --border-hover: rgba(0,0,0,0.22);
    --teal: #1A6FA8;
    --teal-light: #DCEEF9;
    --teal-dark: #0D4A73;
    --purple-light: #EEEDFE;
    --purple: #534AB7;
    --purple-dark: #3C3489;
    --amber-light: #FAEEDA;
    --amber: #BA7517;
    --amber-dark: #633806;
    --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
    --mono: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  }
  body { font-family: var(--sans); background: var(--bg); color: var(--text); font-size: 15px; line-height: 1.6; }

  /* NAV */
  /* ── NAV BASE — sticky at top, never changes ── */
  .nav {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 48px;
    background: #1A1A18;
    border-bottom: none;
    border-radius: 0;
    box-shadow: none;
    position: relative;
    top: auto;
    z-index: 200;
    width: 100%;
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }
  .nav.nav-hidden {
    opacity: 0;
    pointer-events: none;
  }

  /* ── PILL NAV — always fixed at bottom, opacity-only transitions ── */
  .nav-pill-fixed {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    bottom: 64px;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    max-width: 920px;
    padding: 10px 22px;
    border-radius: 100px;
    z-index: 300;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.15), 0 0 0 0.5px rgba(0,0,0,0.2);
    background: rgba(26,26,24,0);
    opacity: 0;
    pointer-events: none;
    transition:
      opacity    0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
      background 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }
  .nav-pill-fixed.state-scrolling {
    background: rgba(26,26,24,0.55);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-pill-fixed.state-hover {
    background: rgba(26,26,24,0.92);
    opacity: 1;
    pointer-events: auto;
  }


  .nav-logo { display: flex; flex-direction: column; gap: 1px; text-decoration: none; cursor: pointer; }
.nav-logo-name { font-size: 15px; font-weight: 500; font-family: var(--serif); color: #F8F7F4; line-height: 1.1; letter-spacing: 0; }
.nav-logo-sub { font-size: 9px; font-family: var(--mono); color: rgba(248,247,244,0.45); letter-spacing: 0.1em; text-transform: uppercase; line-height: 1; }
  .nav-dot { display: none; }
  .nav-links { display: flex; gap: 2px; list-style: none; align-items: center; }
  .nav .nav-cta-right { font-size: 11px; padding: 8px 16px; flex-shrink: 0; }
  .nav .nav-links { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
  .nav-links button ,.nav-links a  { font-size: 13px; color: rgba(248,247,244,0.65); background: none; border: none; cursor: pointer; padding: 4px 10px; font-family: var(--sans); transition: color 0.15s, background 0.15s, transform 0.1s; border-radius: 20px; }
  .nav-links button:hover ,.nav-links a:hover  { color: #4DA3E0; background: rgba(26,111,168,0.15); }
.nav-links button.active ,.nav-links a.active  { background: rgba(26,111,168,0.3); color: #4DA3E0; font-weight: 700; position: relative; }
  .nav-links button.active::after ,.nav-links a.active::after  { content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%); width: 16px; height: 2px; border-radius: 4px; background: #1A6FA8; }

  /* PAGE SWITCHING */
  .page { display: none; }
  .page.active { display: block; }

  /* HERO */
  .hero { padding: 80px 48px 56px; border-bottom: none; position: relative; text-align: center; overflow: hidden; }
  .hero::before {
    content: '';
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background:
      radial-gradient(760px 520px at 8% -20%, rgba(26,111,168,0.55), transparent 65%),
      radial-gradient(720px 500px at 96% -5%, rgba(83,74,183,0.50), transparent 65%),
      radial-gradient(680px 460px at 50% 120%, rgba(186,117,23,0.42), transparent 65%);
  }
  .hero > * { position: relative; z-index: 1; }
  .dot-bg { position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(0,0,0,0.07) 1px, transparent 1px); background-size: 24px 24px; pointer-events: none; }
  .hero-inner { position: relative; z-index: 1; }
  .hero-cols { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 40px; }
  .hero-hyp-card { background: var(--bg-card); border: 0.5px solid var(--border); border-radius: 14px; padding: 24px; }
  .hyp-out-val.g { color: var(--teal-dark); }
  .hyp-out-val.p { color: var(--purple); }
  .eyebrow { font-size: 11px; letter-spacing: 0.14em; color: var(--teal); font-family: var(--mono); margin-bottom: 22px; }
  .hero-h1 { font-size: 48px; font-weight: 500; font-family: var(--serif); line-height: 1.1; margin: 0 0 20px; color: var(--text); }
  .hero-h1 em { font-style: italic; color: var(--teal); }
  .hero-sub { font-size: 15px; color: var(--text-secondary); line-height: 1.7; margin: 0 auto 36px; max-width: 720px;}
  .btn-row { display: flex; gap: 10px; margin-bottom: 0; align-items: center; flex-wrap: wrap; }
  .btn-p { font-size: 13px; padding: 12px 24px; border-radius: 100px; background: var(--text); color: var(--bg); border: none; cursor: pointer; letter-spacing: 0.02em; }
  .btn-p:hover { opacity: 0.85; }
  .btn-g { font-size: 13px; padding: 12px 24px; border-radius: 100px; border: 0.5px solid var(--border-hover); background: transparent; color: var(--text); cursor: pointer; }
  .btn-g:hover { background: var(--bg-secondary); }
  .ticker { border-top: 0.5px solid var(--border); margin: 0 48px; padding-top: 16px; overflow: hidden; position: relative; }
  .ticker-label { font-size: 9px; letter-spacing: 0.14em; color: var(--text-tertiary); font-family: var(--mono); margin-bottom: 10px; display: flex; align-items: center; justify-content: space-between; }
  .ticker-pause-hint { font-size: 9px; letter-spacing: 0.08em; color: var(--text-tertiary); opacity: 0; transition: opacity 0.3s ease; pointer-events: none; }
  .ticker:hover .ticker-pause-hint { opacity: 1; }
  .ticker-track { margin: 0 -48px; display: flex; white-space: nowrap; animation: marquee 62s linear infinite; }
  .ticker-track:hover { animation-play-state: paused; }
  .tick-group { display: inline-flex; align-items: center; flex-shrink: 0; }
  .tick-cat { font-size: 9px; letter-spacing: 0.1em; color: rgba(26,111,168,0.7); font-family: var(--mono); padding: 0 12px 0 24px; font-weight: 500; }
  .tick { font-size: 11px; letter-spacing: 0.06em; color: var(--text-secondary); font-family: var(--mono); padding: 0 14px; border-left: 0.5px solid var(--border); }
  .tick-sep { display: none; }

  /* STAT BAR */
  .stat-bar { background: var(--text); padding: 2px 48px 26px; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 0; position: relative; overflow: hidden; }
  .stat-bar::before { content: ''; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(700px 320px at 8% 120%, rgba(26,111,168,0.16), transparent 60%),
                radial-gradient(600px 300px at 95% 130%, rgba(186,117,23,0.12), transparent 60%); }
  .stat-item { position: relative; z-index: 1; padding: 16px 24px 0; border-right: 0.5px solid rgba(255,255,255,0.1); text-align: left; }
  .stat-item:first-child { padding-left: 0; }
  .stat-item:last-child { border-right: none; }
  .stat-method { display: block; font-size: 9px; color: rgba(255,255,255,0.32); font-family: var(--mono); line-height: 1.45; margin-top: 7px; padding-top: 7px; border-top: 0.5px solid rgba(255,255,255,0.09); }
  .stat-hd { background: var(--text); padding: 20px 48px 14px; position: relative; overflow: hidden; }
  .stat-hd::before { content: ''; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(760px 200px at 12% 0%, rgba(26,111,168,0.22), transparent 62%),
                radial-gradient(620px 180px at 88% 0%, rgba(83,74,183,0.16), transparent 62%); }
  .stat-hd-inner { position: relative; z-index: 1; }
  .stat-hd-inner { display: flex; align-items: baseline; gap: 20px; flex-wrap: wrap; }
  .stat-hd-lab { flex-shrink: 0; font-size: 9px; letter-spacing: 0.13em; text-transform: uppercase; font-family: var(--mono); color: #6FC3EE; font-weight: 700; }
  .stat-hd-note { font-size: 11px; color: rgba(255,255,255,0.45); line-height: 1.55; max-width: 620px; padding-left: 20px; border-left: 0.5px solid rgba(255,255,255,0.15); }
  .stat-item:first-child { padding-left: 0; }
  .stat-item:last-child { border-right: none; }
  .stat-val { font-size: 20px; font-weight: 500; color: #6FC3EE; font-family: var(--mono); margin-bottom: 5px; letter-spacing: -0.01em; }
  .stat-item.is-primary .stat-val { font-family: var(--serif); font-size: 34px; line-height: 1.05; margin-bottom: 7px; }
  .stat-item.is-primary .stat-lab { font-size: 13px; color: rgba(255,255,255,0.82); }
  .stat-val.sv-purple { color: #A79CFF; }
  .stat-val.sv-amber { color: #F0B15C; }
  .stat-kind { display: inline-flex; align-items: center; gap: 6px; font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; font-family: var(--mono); font-weight: 700; padding: 3px 9px; border-radius: 20px; margin-bottom: 10px; }
  .stat-kind i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; display: block; }
  .stat-kind.k-measured { background: rgba(22,163,74,0.18); color: #86EFAC; border: 0.5px solid rgba(134,239,172,0.3); }
  .stat-kind.k-research { background: rgba(186,117,23,0.2); color: #F5CE94; border: 0.5px solid rgba(245,206,148,0.3); }
  .stat-method span { display: block; color: rgba(255,255,255,0.5); font-weight: 600; margin-bottom: 3px; letter-spacing: 0.04em; }
  .stat-lab { font-size: 11px; color: rgba(255,255,255,0.4); line-height: 1.4; }
  .stat-attr { font-size: 9px; color: rgba(255,255,255,0.25); font-family: var(--mono); margin-top: 6px; letter-spacing: 0.06em; display: block; }

  /* BRIEF */
  /* mid-page emphasis moment */
  .mid-insight { padding: 88px 0 80px; border-top: 0.5px solid var(--border); text-align: center; }
  .mid-insight-q { font-family: var(--serif); font-size: 26px; font-weight: 500; line-height: 1.3; color: var(--text); max-width: 720px; margin: 0 auto 14px; letter-spacing: -0.01em; }
  .mid-insight-a { font-size: 11px; font-family: var(--mono); color: var(--text-tertiary); letter-spacing: 0.03em; }
  @media (max-width: 860px) { .mid-insight-q { font-size: 20px; } .mid-insight { padding: 32px 0 28px; } }

  .ticker-sec { padding: 44px 0 40px; border-bottom: 0.5px solid var(--border); }
  @media (max-width: 860px) {
    .ticker { margin: 0 20px; }
    .ticker-track { margin: 0 -20px; }
  }
  /* readable measure for body copy */
  .sec-body, .who-body, .who-intro, .method-intro, .contact-sub, .exp-note { max-width: 68ch; }

  /* ── CASE STUDY: key insight, opens each section with the conclusion ── */
  .key-insight { font-family: var(--serif); font-size: 20px; line-height: 1.5; color: var(--text); border-left: 3px solid var(--teal); padding: 4px 0 4px 18px; margin: 0 0 26px; max-width: 720px; }
  .key-insight:empty { display: none; }

  /* ── CASE STUDY: beyond this case study ── */
  .cs-beyond { margin: 8px 0 72px; padding: 34px 0 0; border-top: 0.5px solid var(--border); }
  .cs-beyond-lab { font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; font-family: var(--mono); font-weight: 700; color: var(--teal); margin-bottom: 14px; }
  .cs-beyond-txt { font-size: 15px; color: var(--text-secondary); line-height: 1.8; max-width: 720px; margin-bottom: 22px; }
  .cs-beyond-q { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
  .oq { font-size: 12.5px; color: var(--text-secondary); background: var(--bg-card); border: 0.5px solid var(--border); border-radius: 100px; padding: 7px 15px; }
  .cs-beyond-cta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 20px; border-top: 0.5px solid var(--border); }
  .cs-beyond-cta span { font-size: 14px; color: var(--text-secondary); }
  .cs-beyond-cta a { font-size: 14px; font-weight: 600; color: var(--teal); text-decoration: none; }

  /* ── EXPLORATION: investigation status ── */
  .inv-status { border: 0.5px solid rgba(83,74,183,0.35); border-left: 3px solid var(--purple); border-radius: 14px; padding: 20px 22px; margin-bottom: 34px; background: #FBFAFF; }
  .inv-hd { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
  .inv-badge { font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; font-family: var(--mono); font-weight: 700; color: #fff; background: var(--purple); padding: 5px 11px; border-radius: 100px; }
  .inv-note { font-size: 12px; color: var(--text-secondary); line-height: 1.5; }
  .inv-steps { display: flex; flex-wrap: wrap; gap: 8px; }
  .inv-step { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-family: var(--mono); color: var(--text-tertiary); background: #fff; border: 0.5px solid var(--border); padding: 6px 12px; border-radius: 100px; }
  .inv-step i { width: 7px; height: 7px; border-radius: 100px; border: 1.5px solid var(--text-tertiary); display: block; }
  .inv-step.done { color: var(--purple-dark); border-color: rgba(83,74,183,0.3); }
  .inv-step.done i { background: var(--purple); border-color: var(--purple); }

  /* ── EXPLORATION: falsification ── */
  .wrong-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; margin-top: 12px; }
  .wrong-card { background: var(--bg-card); border: 0.5px solid var(--border); border-left: 3px solid var(--purple); border-radius: 14px; padding: 18px 20px; }
  .wr-if, .wr-then { font-size: 13px; line-height: 1.6; }
  .wr-if { color: var(--text); font-weight: 600; margin-bottom: 12px; }
  .wr-then { color: var(--text-secondary); padding-top: 12px; border-top: 0.5px solid var(--border); }
  .wr-if span, .wr-then span { display: block; font-size: 8.5px; letter-spacing: 0.11em; text-transform: uppercase; font-family: var(--mono); font-weight: 700; color: var(--text-tertiary); margin-bottom: 5px; }

  /* ── EXPLORATION: the next research question ── */
  .next-q { margin: 8px 0 44px; padding: 34px 0 0; border-top: 0.5px solid var(--border); }
  .nq-lab { font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; font-family: var(--mono); font-weight: 700; color: var(--purple); margin-bottom: 14px; }
  .nq-txt { font-family: var(--serif); font-size: 26px; line-height: 1.4; color: var(--text); max-width: 720px; font-style: italic; }

  .cs-why-pull { font-family: var(--serif); font-size: 20px; line-height: 1.55; color: var(--text); border-left: 3px solid var(--teal); padding-left: 20px; margin: 20px 0 0; max-width: 62ch; }
  .cs-why-pull b { font-weight: 600; }
  @media (max-width: 860px) { .cs-why-pull { font-size: 17px; padding-left: 14px; } }

  /* ── BRIEF POINTS — supporting reasoning as a scannable list ── */
  .brief-points { margin-top: 26px; border-top: 0.5px solid var(--border); }
  .bp-item { display: grid; grid-template-columns: 240px 1fr; gap: 26px; padding: 16px 0; border-bottom: 0.5px solid var(--border); align-items: start; }
  .bp-k { font-size: 13px; font-weight: 600; color: var(--text); line-height: 1.5; }
  .bp-v { font-size: 15px; color: var(--text-secondary); line-height: 1.7; max-width: 60ch; }
  .bp-v b { color: var(--text); font-weight: 600; }
  @media (max-width: 860px) {
    .bp-item { grid-template-columns: 1fr; gap: 5px; padding: 14px 0; }
    .bp-k { font-size: 12px; color: var(--teal); }
    .bp-v { font-size: 14px; }
  }

  /* ── REFLECTION AS A SCANNABLE LIST ── */
  .refl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0; margin-top: 4px; }
  .refl-item { padding: 18px 0; border-top: 0.5px solid var(--border); }
  .refl-item:first-child, .refl-item:nth-child(2) { border-top: none; }
  .refl-k { font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; font-family: var(--mono); font-weight: 700; color: var(--teal); margin-bottom: 9px; }
  .refl-v { font-size: 15px; color: var(--text); line-height: 1.7; max-width: 52ch; padding-right: 26px; }
  .refl-v b { font-weight: 600; }
  @media (max-width: 860px) {
    .refl-grid { grid-template-columns: 1fr; }
    .refl-item:nth-child(2) { border-top: 0.5px solid var(--border); }
    .refl-v { padding-right: 0; font-size: 14px; }
  }

  /* ── KEY TAKEAWAY — closes each chapter before the next begins ── */
  .key-take { margin-top: 34px; padding: 24px 28px; background: var(--bg-card); border: 0.5px solid var(--border); border-left: 3px solid var(--teal); border-radius: 14px; }
  .kt-lab { font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; font-family: var(--mono); font-weight: 700; color: var(--teal); margin-bottom: 10px; }
  .kt-txt { font-family: var(--serif); font-size: 20px; line-height: 1.45; color: var(--text); max-width: 62ch; }
  .kt-txt b { font-weight: 600; }
  .kt-ex { margin-top: 16px; padding-top: 14px; border-top: 0.5px solid var(--border); font-size: 13px; color: var(--text-secondary); line-height: 1.65; }
  .kt-ex span { display: block; font-size: 8.5px; letter-spacing: 0.12em; text-transform: uppercase; font-family: var(--mono); font-weight: 700; color: var(--text-tertiary); margin-bottom: 5px; }
  .kt-ex b { color: var(--text); font-weight: 600; }
  .kt-ex i { font-style: italic; }
  @media (max-width: 860px) { .key-take { padding: 18px 20px; } .kt-txt { font-size: 17px; } }

  /* ── FRAMEWORK: case study pointers + what this isn't ── */
  .fw-see { display: inline-block; margin-top: 10px; font-size: 12.5px; font-family: var(--mono); color: var(--teal); letter-spacing: 0.02em; }
  .fw-isnt { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 12px; margin-top: 18px; }
  .fw-isnt-item { background: var(--bg-card); border: 0.5px solid var(--border); border-radius: 14px; padding: 18px 20px; font-size: 14px; color: var(--text-secondary); line-height: 1.65; }
  .fw-isnt-item span { display: inline-block; font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; font-family: var(--mono); font-weight: 700; color: var(--amber-dark); background: var(--amber-light); padding: 3px 9px; border-radius: 100px; margin-right: 9px; }

  /* Approach hero CTAs — inside the padded wrapper, left-aligned like the copy above */
  .fw-hero-cta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
  @media (max-width: 860px) { .fw-hero-cta { margin-top: 24px; } .fw-hero-cta button { width: 100%; justify-content: center; } }

  /* ── CTA SYSTEM ──
     One base for every button-style CTA so padding, radius, weight and
     feedback are identical regardless of which variant is used. */
  .cta-lab-primary, .cta-lab-secondary, .cta-teal, .cta-contact-primary,
  .cta-ghost-dark, .ws-info-cta, .bridge-cta {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-family: var(--sans); font-size: 13px; font-weight: 600;
    padding: 12px 26px; border-radius: 100px; min-height: 44px;
    cursor: pointer; text-decoration: none; white-space: nowrap;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
  }
  .cta-lab-primary:active, .cta-lab-secondary:active, .cta-teal:active,
  .cta-contact-primary:active, .cta-ghost-dark:active, .ws-info-cta:active,
  .bridge-cta:active { transform: translateY(1px); }
  /* keyboard users get the same affordance as mouse users */
  .cta-lab-primary:focus-visible, .cta-lab-secondary:focus-visible, .cta-teal:focus-visible,
  .cta-contact-primary:focus-visible, .cta-ghost-dark:focus-visible, .ws-info-cta:focus-visible,
  .bridge-cta:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

  /* ── TEXT CTAs ──
     Link-style actions: underline on hover plus a colour shift, so the
     affordance is unambiguous without adding a button shape. */
  .ws-more, .ah-link, .fw-see, .sp-close-link, .cs-beyond-cta a, .fd-nav-link {
    text-decoration: none;
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
    transition: color 0.16s ease, text-decoration-color 0.16s ease;
  }
  .ws-more:hover, .ah-link:hover, .fw-see:hover, .cs-beyond-cta a:hover {
    color: var(--teal-dark);
    text-decoration: underline;
  }
  .sp-close-link:hover { color: var(--teal); text-decoration: underline; }
  .fd-nav-link:hover { color: rgba(255,255,255,0.9); text-decoration: underline; }
  .ws-more:focus-visible, .ah-link:focus-visible, .fw-see:focus-visible,
  .sp-close-link:focus-visible, .cs-beyond-cta a:focus-visible, .fd-nav-link:focus-visible {
    outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px;
  }

  /* variants — colour only; the base above handles shape and feedback */
  .cta-lab-primary { background: var(--text); color: var(--bg); border: 1.5px solid var(--text); }
  .cta-lab-primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; }
  .cta-lab-secondary { background: none; color: var(--text); border: 1.5px solid var(--border-hover); }
  .cta-lab-secondary:hover { color: var(--teal-dark); border-color: var(--teal); }
  /* on dark backgrounds */
  .contact-dark .cta-lab-secondary, .fw-summary .cta-lab-secondary {
    color: rgba(248,247,244,0.75); border-color: rgba(248,247,244,0.3); }
  .contact-dark .cta-lab-secondary:hover, .fw-summary .cta-lab-secondary:hover {
    color: #F8F7F4; border-color: rgba(248,247,244,0.6); }

  /* section intro copy — was unstyled, so it sat flush against the cards below */
  .fw-sec-body { font-size: 15px; color: var(--text-secondary); line-height: 1.75; max-width: 68ch; margin-bottom: 32px; }
  /* the grids that follow section copy */
  .behaviour-grid, .fw-isnt, .fw-limits, .examples-grid, .wf-grid { margin-top: 6px; }

  /* hero headline: line one sets the thought, line two lands it */
  .fw-l1 { display: block; line-height: 1.15; color: var(--text-secondary); }
  .fw-l2 { display: block; line-height: 1.15; color: var(--text); }
  .fw-l2 em { font-style: italic; color: var(--teal); }

  /* ── WHY THIS EXISTS — narrative left, the pattern itself right ── */
  .fw-origin .fw-sec-h2 { margin-bottom: 22px; }
  .fw-origin-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); gap: 56px; align-items: start; }
  .fw-origin p { max-width: none; }
  .fw-pattern { background: var(--bg-card); border: 0.5px solid var(--border); border-radius: 14px; padding: 22px 24px; }
  .fwp-lab { font-size: 9px; letter-spacing: 0.13em; text-transform: uppercase; font-family: var(--mono); font-weight: 700; color: var(--teal); margin-bottom: 14px; }
  .fwp-row { display: grid; grid-template-columns: 132px 1fr; gap: 14px; padding: 11px 0; border-top: 0.5px solid var(--border); align-items: baseline; }
  .fwp-k { font-size: 12px; font-family: var(--mono); font-weight: 700; color: var(--text); }
  .fwp-v { font-size: 13.5px; color: var(--text-secondary); line-height: 1.5; }
  .fwp-foot { font-size: 13.5px; color: var(--text-secondary); line-height: 1.6; margin-top: 16px; padding-top: 14px; border-top: 0.5px solid var(--border); }
  .fwp-foot b { color: var(--text); font-weight: 600; }
  @media (max-width: 900px) {
    .fw-origin-cols { grid-template-columns: 1fr; gap: 26px; }
    .fwp-row { grid-template-columns: 108px 1fr; gap: 10px; }
  }

  .how-pull { font-family: var(--serif); font-size: 26px; line-height: 1.45; color: var(--text); border-left: 3px solid var(--teal); padding-left: 22px; margin: 26px 0 0; max-width: 52ch; }
  @media (max-width: 860px) { .how-pull { font-size: 20px; padding-left: 16px; } }

  /* card rows inside full-width sections */
  .how-sec .principle, .corp-sec .brand-card { min-width: 0; }
  .how-sec, .corp-sec { position: relative; }
  .principles-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-top: 26px; }
  .brand-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-top: 26px; }
  .principles-row .principle { margin: 0; }

  /* education stays alongside the work history rather than leaving a gap */
  .edu-col { position: sticky; top: 90px; }
  @media (max-width: 900px) { .edu-col { position: static; } }

  /* ── ABOUT: Discord story ── */
  .wild-p { font-size: 15px; color: var(--text-secondary); line-height: 1.85; margin-bottom: 18px; }
  .wild-p b { color: var(--text); font-weight: 600; }
  .wild-outcome { background: var(--bg-card); border: 0.5px solid var(--border); border-left: 3px solid var(--teal); border-radius: 14px; padding: 20px 24px; margin: 26px 0; }
  .wo-lab { font-size: 9px; letter-spacing: 0.13em; text-transform: uppercase; font-family: var(--mono); font-weight: 700; color: var(--teal); margin-bottom: 9px; }
  .wo-txt { font-size: 15px; color: var(--text); line-height: 1.75; }

  .gm-list { display: flex; flex-direction: column; gap: 0; margin-top: 18px; border-top: 0.5px solid var(--border); max-width: 60ch; }
  .gm-list span { font-size: 14px; color: var(--text-secondary); line-height: 1.6; padding: 12px 0 12px 22px; border-bottom: 0.5px solid var(--border); position: relative; }
  .gm-list span::before { content: ''; position: absolute; left: 0; top: 19px; width: 6px; height: 6px; border-radius: 100px; background: var(--teal); }
  .ms-who { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 22px; }
  .ms-who span { font-size: 12px; font-family: var(--mono); color: var(--text-secondary); background: var(--bg-card); border: 0.5px solid var(--border); padding: 6px 13px; border-radius: 100px; }

  .ai-list { list-style: none; padding: 0; margin: 12px 0; display: flex; flex-direction: column; gap: 7px; }
  .ai-list li { font-size: 13px; color: var(--text-secondary); line-height: 1.6; padding-left: 18px; position: relative; }
  .ai-list li::before { content: ''; position: absolute; left: 0; top: 8px; width: 5px; height: 5px; border-radius: 100px; background: var(--amber); }

  /* ── ABOUT HERO — researcher's notebook meets editorial portrait ── */
  .about-hero { padding: 64px 48px 52px; }
  /* the grid texture is the page's ruled paper — kept faint enough to read as substrate */
  .about-hero .dot-bg {
    background-image:
      linear-gradient(rgba(0,0,0,0.030) 1px, transparent 1px),
      linear-gradient(90deg, rgba(0,0,0,0.030) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), transparent 82%);
    -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.9), transparent 82%);
  }

  .ah-grid {
    position: relative; z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.9fr);
    grid-template-areas: "text portrait" "meta meta";
    column-gap: 72px; row-gap: 26px;
    align-items: start;
  }
  .ah-text { grid-area: text; min-width: 0; padding-top: 6px; display: flex; flex-direction: column; }

  /* research notes fill the lower left and balance the portrait's height */
  .ah-notes { margin-top: 34px; display: flex; flex-direction: column; gap: 0; border-top: 0.5px solid var(--border); max-width: 46ch; }
  .ah-note { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 13px 0; border-bottom: 0.5px solid var(--border); align-items: baseline; }
  .ah-note-k { font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; font-family: var(--mono); color: var(--text-tertiary); }
  .ah-note-v { font-size: 14px; color: var(--text-secondary); line-height: 1.5; }
  .ah-link { background: none; border: none; padding: 0; font: inherit; color: var(--teal); font-weight: 600; cursor: pointer; }

  /* role label reads as an annotation, with a small alignment tick */
  .ah-label {
    display: flex; align-items: center; gap: 10px;
    font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
    font-family: var(--mono); color: var(--teal); margin-bottom: 26px;
  }
  .ah-tick { width: 22px; height: 1px; background: var(--teal); flex-shrink: 0; position: relative; }
  .ah-tick::before { content: ''; position: absolute; left: 0; top: -3px; width: 1px; height: 7px; background: var(--teal); }

  /* headline: line one sets the thought, line two lands it */
  .about-h1 { font-size: 48px; font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; margin-bottom: 26px; }
  .ah-l1 { display: block; line-height: 1.15; color: var(--text-secondary); }
  .ah-l2 { display: block; line-height: 1.15; color: var(--text); text-indent: -0.02em; }
  .ah-l2 em { font-style: italic; color: var(--teal); }

  .about-sub { font-size: 15px; color: var(--text-secondary); line-height: 1.8; max-width: 54ch; }

  /* portrait breaks the grid slightly — authored rather than dropped in */
  .ah-portrait { grid-area: portrait; margin: 0; position: relative; margin-top: -14px; }
  .ah-frame { position: relative; border-radius: 4px; overflow: hidden; background: var(--bg-secondary); }
  .ah-frame img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
  /* a single hairline rule instead of a card border */
  .ah-portrait::before {
    content: ''; position: absolute; left: -22px; top: 0; bottom: 46px;
    width: 1px; background: var(--border);
  }
  .ah-cap { display: flex; flex-direction: column; gap: 4px; margin-top: 16px; }
  .ah-name { font-family: var(--serif); font-size: 20px; font-weight: 500; color: var(--text); line-height: 1.2; }
  .ah-role { font-size: 11px; font-family: var(--mono); color: var(--text-tertiary); letter-spacing: 0.05em; }

  /* contexts drop to quiet metadata on their own rule */
  .ah-meta {
    grid-area: meta; align-self: end;
    display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
    padding-top: 20px; border-top: 0.5px solid var(--border);
    font-size: 12px; font-family: var(--mono); color: var(--text-tertiary); letter-spacing: 0.03em;
  }
  .ah-meta-k { font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); flex-shrink: 0; }

  @media (max-width: 900px) {
    .about-hero { padding: 44px 20px 40px; }
    .ah-grid { grid-template-columns: 1fr; grid-template-areas: "text" "portrait" "meta"; row-gap: 26px; }
    .about-h1 { font-size: 30px; }
    .ah-portrait { max-width: 240px; margin-top: 0; }
    .ah-notes { margin-top: 24px; }
    .ah-note { grid-template-columns: 92px 1fr; gap: 12px; }
    .ah-portrait::before { display: none; }
  }

  /* hero: a glimpse of the questions the page goes on to explore */
  .ah-open { margin-top: 30px; padding-left: 18px; border-left: 2px solid var(--border); max-width: 46ch; }
  .ah-open-k { font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; font-family: var(--mono); color: var(--teal); margin-bottom: 12px; }
  .ah-open-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
  .ah-open-list li {
    font-family: var(--serif); font-size: 15px; line-height: 1.5; color: var(--text-secondary);
    position: relative; padding-left: 20px;
  }
  .ah-open-list li::before {
    content: '?'; position: absolute; left: 0; top: 0;
    font-family: var(--mono); font-size: 12px; color: var(--text-tertiary);
  }
  @media (max-width: 900px) { .ah-open { margin-top: 22px; } .ah-open-list li { font-size: 14px; } }

  /* ── ABOUT: story as scannable steps ── */
  .story-steps { margin: 22px 0 26px; border-top: 0.5px solid var(--border); }
  .story-step { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 15px 0; border-bottom: 0.5px solid var(--border); align-items: start; }
  .ss-k { font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; font-family: var(--mono); font-weight: 700; color: var(--teal); padding-top: 4px; }
  .ss-v { font-size: 15px; color: var(--text-secondary); line-height: 1.7; }
  .ss-v b { color: var(--text); font-weight: 600; }
  @media (max-width: 860px) {
    .story-step { grid-template-columns: 1fr; gap: 6px; padding: 13px 0; }
    .ss-v { font-size: 14px; }
  }

  /* ── ABOUT: Discord story — narrative left, structure right ── */
  .wild-cols { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 48px; align-items: start; }
  .wild-shot { margin: 4px 0 0; position: sticky; top: 90px; }
  .ws-frame { border-radius: 10px; overflow: hidden; background: var(--bg-secondary); border: 0.5px solid var(--border); position: relative; }
  .ws-frame img { display: block; width: 100%; }
  .ws-frame::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(180deg, rgba(248,247,244,0) 60%, rgba(248,247,244,0.85) 100%);
  }
  .wild-shot figcaption { display: flex; flex-direction: column; gap: 6px; margin-top: 14px; padding-left: 13px; border-left: 2px solid var(--teal); }
  .wsc-k { font-size: 9px; letter-spacing: 0.13em; text-transform: uppercase; font-family: var(--mono); font-weight: 700; color: var(--teal); }
  .wsc-v { font-size: 12.5px; color: var(--text-secondary); line-height: 1.6; }
  .wsc-v b { color: var(--text); font-weight: 600; }
  @media (max-width: 900px) {
    .wild-cols { grid-template-columns: 1fr; gap: 28px; }
    .wild-shot { position: static; max-width: 260px; }
  }

  /* ── ABOUT: gaming as a research environment ── */
  .gaming-sec { padding: 64px 48px; border-bottom: 0.5px solid var(--border); background: var(--bg-secondary); }
  .gm-intro { font-size: 15px; color: var(--text-secondary); line-height: 1.8; max-width: 68ch; margin: 10px 0 28px; }
  .gm-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; margin-bottom: 26px; }
  .gm-col { background: var(--bg-card); border: 0.5px solid var(--border); border-radius: 14px; padding: 22px 24px; }
  .gm-col-hl { border-left: 3px solid var(--teal); }
  .gm-k { font-size: 9px; letter-spacing: 0.13em; text-transform: uppercase; font-family: var(--mono); font-weight: 700; color: var(--text-tertiary); margin-bottom: 10px; }
  .gm-col-hl .gm-k { color: var(--teal); }
  .gm-v { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
  .gm-close { font-size: 15px; color: var(--text-secondary); line-height: 1.85; max-width: 68ch; }

  /* ── ABOUT: questions I keep asking ── */
  .questions-sec { padding: 64px 48px; border-bottom: 0.5px solid var(--border); }
  .qs-intro { font-size: 14px; color: var(--text-secondary); line-height: 1.7; max-width: 60ch; margin: 10px 0 26px; }
  .qs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
  .qs-card { background: var(--bg-card); border: 0.5px solid var(--border); border-top: 3px solid var(--purple); border-radius: 14px; padding: 24px; }
  .qs-n { font-size: 11px; font-family: var(--mono); font-weight: 700; color: var(--purple); }
  .qs-q { font-family: var(--serif); font-size: 20px; line-height: 1.4; color: var(--text); margin-top: 14px; }

  /* ── ABOUT: mission ── */
  .mission-sec { padding: 96px 48px; border-bottom: 0.5px solid var(--border); position: relative; overflow: hidden; }
  .mission-sec::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(620px 300px at 50% 0%, rgba(26,111,168,0.10), transparent 62%); }
  .ms-inner { position: relative; z-index: 1; }
  .ms-line { font-family: var(--serif); font-size: 48px; font-weight: 500; line-height: 1.15; letter-spacing: -0.02em; color: var(--text); margin: 20px 0 24px; max-width: 20ch; }
  .ms-body { font-size: 15px; color: var(--text-secondary); line-height: 1.85; max-width: 68ch; }
  .ms-body b { color: var(--text); font-weight: 600; }

  @media (max-width: 860px) {
    .gaming-sec, .questions-sec, .mission-sec { padding: 40px 20px; }
    .ms-line { font-size: 34px; }
  }

  /* ── ABOUT: tools strip ── */
  .tools-strip { padding: 44px 48px; border-bottom: 0.5px solid var(--border); }
  .ts-grid { display: flex; flex-direction: column; gap: 0; margin-top: 14px; border-top: 0.5px solid var(--border); }
  .ts-row { display: grid; grid-template-columns: 140px 1fr; gap: 20px; padding: 14px 0; border-bottom: 0.5px solid var(--border); align-items: baseline; }
  .ts-lab { font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; font-family: var(--mono); font-weight: 700; color: var(--teal); }
  .ts-items { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

  /* ── ABOUT: working together ── */
  .work-with { padding: 64px 48px; border-bottom: 0.5px solid var(--border); }
  .ww-hd { margin-bottom: 30px; }
  .ww-intro { font-size: 15px; color: var(--text-secondary); line-height: 1.75; max-width: 620px; margin-top: 10px; }
  .ww-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
  .ww-card { background: var(--bg-card); border: 0.5px solid var(--border); border-left: 3px solid var(--purple); border-radius: 14px; padding: 22px 24px; }
  .ww-t { font-family: var(--serif); font-size: 20px; font-weight: 500; line-height: 1.25; margin-bottom: 10px; }
  .ww-b { font-size: 13px; color: var(--text-secondary); line-height: 1.7; }

  /* ── ABOUT: beyond the work ── */
  .beyond-sec { padding: 64px 48px; border-bottom: 0.5px solid var(--border); background: var(--bg-secondary); }
  .by-intro { font-size: 15px; color: var(--text-secondary); line-height: 1.75; max-width: 620px; margin: 10px 0 28px; }
  .by-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0; border-top: 0.5px solid var(--border); }
  .by-item { padding: 18px 24px 18px 0; border-bottom: 0.5px solid var(--border); }
  .by-k { display: block; font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; font-family: var(--mono); font-weight: 700; color: var(--text-tertiary); margin-bottom: 7px; }
  .by-v { font-size: 13px; color: var(--text-secondary); line-height: 1.65; }

  @media (max-width: 860px) {
    .tools-strip, .work-with, .beyond-sec { padding: 40px 20px; }
    .ts-row { grid-template-columns: 1fr; gap: 4px; }
  }

  /* ── EXPERIENCE STRIP ── */
  .exp-sec { padding: 44px 48px; border-bottom: 0.5px solid var(--border); }
  .exp-hd { margin-bottom: 28px; }
  .exp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1px; background: var(--border); border: 0.5px solid var(--border); border-radius: 14px; overflow: hidden; }
  .exp-item { background: var(--bg-card); padding: 22px 20px; }
  .exp-val { font-family: var(--serif); font-size: 26px; font-weight: 500; color: var(--teal); line-height: 1.1; margin-bottom: 6px; }
  .exp-lab { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }
  .exp-note { font-size: 13px; color: var(--text-secondary); line-height: 1.7; margin-top: 18px; max-width: 720px; }
  .exp-link { background: none; border: none; padding: 0; font: inherit; color: var(--teal); font-weight: 600; cursor: pointer; }
  .contact-actions { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
  .cta-contact-primary { display: inline-flex; align-items: center; gap: 8px; background: #6FC3EE; color: #10202B; font-size: 13px; font-weight: 700; padding: 13px 26px; border-radius: 100px; text-decoration: none; }
  .cta-contact-primary:hover { background: #8AD2F5; }

  /* ── NON-CLICKABLE CARD (work in progress, no case study yet) ── */
  .ws-imac-body.ws-nolink { cursor: default; }
  .ws-imac-body.ws-nolink:hover { transform: none; }
  .ws-nolink ~ .ws-imac-chin, .ws-nolink ~ .ws-imac-stand { opacity: 0.85; }
  .ws-read-solo {
    display: inline-flex; align-items: center; gap: 8px; margin-left: 0;
    font-size: 11px; font-family: var(--mono); color: var(--amber-dark);
    background: var(--amber-light); border: 0.5px solid rgba(186,117,23,0.28);
    padding: 9px 15px; border-radius: 100px; letter-spacing: 0.03em;
  }
  .ws-read-solo::before {
    content: ''; width: 6px; height: 6px; border-radius: 100px;
    background: var(--amber); flex-shrink: 0;
  }

  /* ── STUDIES: the memorable line + reading time ── */
  .ws-line { font-family: var(--serif); font-size: 20px; line-height: 1.45; color: var(--text); margin: 0 0 22px; max-width: 44ch; padding-left: 18px; border-left: 3px solid var(--teal); }
  .ws-read { font-size: 11px; font-family: var(--mono); color: var(--text-tertiary); letter-spacing: 0.05em; margin-left: 22px; }
  /* flagship study carries more weight */
  .studies-page [data-group="client"] .ws-line { font-size: 26px; }
  .studies-page [data-group="client"] .ws-info-cta { background: var(--text); color: var(--bg); border-color: var(--text); }

  /* pull quote inside a case study card — the emotional takeaway */
  .ws-pull { font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.45; color: var(--text); border-left: 3px solid var(--teal); padding-left: 18px; margin: 0 0 24px; max-width: 46ch; }
  .ws-pull cite { display: block; font-family: var(--mono); font-style: normal; font-size: 11px; color: var(--text-tertiary); margin-top: 10px; letter-spacing: 0.03em; }

  /* ── EDITORIAL BRIDGE — reusable chapter transition ── */
  .bridge {
    margin: 0 -48px; padding: 112px 48px 108px;
    border-top: 0.5px solid var(--border); border-bottom: 0.5px solid var(--border);
    background: #FBFBF9;
  }
  .bridge.bridge-alt { background: #F7F7F4; }
  /* a bridge that isn't nested inside a padded section has no gutter to cancel */
  .bridge.bridge-standalone { margin: 0; }
  .bridge-inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: 80px; align-items: start; }
  .bridge-ey { font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; font-family: var(--mono); color: var(--teal); margin-bottom: 22px; }
  .bridge-h { font-family: var(--serif); font-size: 48px; font-weight: 500; line-height: 1.1; letter-spacing: -0.02em; color: var(--text); }
  .bridge-h em { font-style: italic; color: var(--teal); }
  .bridge-p { font-size: 15px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 26px; max-width: 62ch; }
  .bridge-cta { display: inline-flex; align-items: center; gap: 8px; background: none; border: 1.5px solid var(--text); color: var(--text); font-size: 13px; font-weight: 600; font-family: var(--sans); padding: 12px 26px; border-radius: 100px; cursor: pointer; transition: background 0.18s ease, color 0.18s ease; }
  .bridge-cta:hover { color: var(--teal-dark); border-color: var(--teal); }

  /* supporting artefacts */
  .bridge-art { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; padding: 16px 0 22px; margin-bottom: 4px; border-top: 0.5px solid var(--border); padding-top: 20px; }
  .ba-step { font-size: 11px; font-family: var(--mono); font-weight: 700; letter-spacing: 0.04em; color: var(--teal-dark); background: var(--teal-light); padding: 6px 12px; border-radius: 100px; }
  .ba-x, .ba-eq { font-size: 13px; color: var(--text-tertiary); font-family: var(--mono); }
  .ba-out { font-size: 11px; font-family: var(--mono); font-weight: 700; color: #fff; background: var(--text); padding: 6px 12px; border-radius: 100px; }
  .bridge-art-quote { border-top: 0.5px solid var(--border); }
  .bridge-art-quote span { font-family: var(--serif); font-style: italic; font-size: 17px; line-height: 1.5; color: var(--text); border-left: 2px solid var(--teal); padding-left: 16px; }
  .bridge-art-note { flex-direction: column; align-items: flex-start; gap: 6px; }
  .ba-note-k { font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; font-family: var(--mono); font-weight: 700; color: var(--text-tertiary); }
  .ba-note-v { font-family: var(--serif); font-style: italic; font-size: 16px; line-height: 1.5; color: var(--text); }

  @media (max-width: 860px) {
    .bridge { margin: 0 -20px; padding: 64px 20px 60px; }
    .bridge-inner { grid-template-columns: 1fr; gap: 28px; }
    .bridge-h { font-size: 34px; }
  }


  /* ── WHO I HELP ── */
  .who-sec { padding: 72px 48px; border-bottom: 0.5px solid var(--border); }
  .sp-who { padding: 76px 0; border-top: 0.5px solid var(--border); border-bottom: 0.5px solid var(--border); background: var(--bg-secondary); margin: 8px -48px; padding-left: 48px; padding-right: 48px; }
  .who-hd { margin-bottom: 34px; }
  .who-intro { font-size: 15px; color: var(--text-secondary); line-height: 1.7; max-width: 620px; margin-top: 10px; }
  .who-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
  .who-card { background: var(--bg-card); border: 0.5px solid var(--border); border-left: 3px solid var(--border-hover); border-top: 0.5px solid var(--border); border-radius: 14px; padding: 26px 24px; transition: transform 0.18s ease, box-shadow 0.18s ease; }
  .who-card:hover { transform: translateY(-3px); box-shadow: 0 16px 32px -18px rgba(0,0,0,0.18); }
  .who-icon { width: 42px; height: 42px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
  .who-icon svg { width: 20px; height: 20px; }
  .who-teal { border-top-color: var(--teal); }
  .who-teal .who-icon { background: var(--teal-light); color: var(--teal-dark); }
  .who-purple { border-top-color: var(--purple); }
  .who-purple .who-icon { background: var(--purple-light); color: var(--purple-dark); }
  .who-amber { border-top-color: var(--amber); }
  .who-amber .who-icon { background: var(--amber-light); color: var(--amber-dark); }
  .who-title { font-family: var(--serif); font-size: 20px; font-weight: 500; margin-bottom: 10px; }
  .who-body { font-size: 13px; color: var(--text-secondary); line-height: 1.65; margin-bottom: 14px; }
  .who-body em { font-style: italic; color: var(--text); }
  .who-tag { font-size: 11px; font-family: var(--mono); color: var(--text-tertiary); letter-spacing: 0.05em; padding-top: 12px; border-top: 0.5px solid var(--border); }

  /* ── PHILOSOPHY BAND — the page's primary pull quote ── */
  .philosophy { padding: 104px 48px 100px; background: #1A1A18; border-top: 0.5px solid var(--border); border-bottom: 0.5px solid var(--border); position: relative; overflow: hidden; }
  .philosophy::after { content: ''; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(760px 300px at 50% 0%, rgba(26,111,168,0.20), transparent 62%),
                radial-gradient(600px 260px at 82% 100%, rgba(83,74,183,0.14), transparent 60%); }
  .philosophy::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(680px 320px at 50% 0%, rgba(26,111,168,0.10), transparent 65%);
  }
  .philosophy-inner { max-width: 900px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
  .philosophy-eyebrow { font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; font-family: var(--mono); color: var(--teal); margin-bottom: 26px; }
  .philosophy-line { font-family: var(--serif); font-size: 48px; font-weight: 500; line-height: 1.15; letter-spacing: -0.015em; color: #F8F7F4; margin: 0 0 28px; }
  .philosophy-sub { font-size: 15px; color: rgba(248,247,244,0.7); line-height: 1.75; max-width: 620px; margin: 0 auto; }

  .brief { padding: 64px 48px; border-bottom: 0.5px solid var(--border); align-items: start; }
  .sec-eyebrow { font-size: 9px; letter-spacing: 0.13em; color: var(--teal); font-family: var(--mono); margin-bottom: 14px; }
  .sec-h2 { font-size: 26px; font-weight: 500; font-family: var(--serif); line-height: 1.25; margin-bottom: 14px; color: var(--text); }
  .sec-body { font-size: 15px; color: var(--text-secondary); line-height: 1.75; }
  .principles { display: flex; flex-direction: column; gap: 10px; }
  .principle { background: var(--bg-card); border: 0.5px solid var(--border); border-left: 3px solid var(--border); border-radius: 14px; padding: 14px 16px; display: flex; gap: 14px; align-items: flex-start; }
  .principle-icon { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .principle-icon svg { width: 18px; height: 18px; }
  .principle.pr-teal { border-left-color: var(--teal); }
  .principle.pr-teal .principle-icon { background: var(--teal-light); color: var(--teal-dark); }
  .principle.pr-purple { border-left-color: var(--purple); }
  .principle.pr-purple .principle-icon { background: var(--purple-light); color: var(--purple); }
  .principle.pr-amber { border-left-color: var(--amber); }
  .principle.pr-amber .principle-icon { background: var(--amber-light); color: var(--amber-dark); }
  .principle.pr-tealdark { border-left-color: var(--teal-dark); }
  .principle.pr-tealdark .principle-icon { background: var(--teal-light); color: var(--teal-dark); }
  .p-num { font-size: 11px; font-family: var(--mono); color: var(--teal); flex-shrink: 0; margin-top: 2px; }
  .p-name { font-size: 13px; font-weight: 500; color: var(--text); margin-bottom: 3px; }
  .p-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.45; }

  /* STUDIES SECTION */
  .studies-sec { padding: 64px 48px; background: var(--bg-secondary); border-bottom: 0.5px solid var(--border); }
  .studies-hdr { display: flex; flex-direction: column; align-items: flex-start; margin-bottom: 24px; gap: 12px; }
  .view-all { font-size: 11px; color: var(--teal); font-family: var(--mono); cursor: pointer; background: none; border: none; letter-spacing: 0.04em; }
  .sc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
  .sc-id { font-size: 9px; letter-spacing: 0.12em; color: var(--text-tertiary); font-family: var(--mono); }
  .sc-tags { display: flex; gap: 6px; }
  .sc-tag { font-size: 11px; padding: 2px 9px; border-radius: 20px; background: var(--teal-light); color: var(--teal-dark); }
  .sc-tag.p { background: var(--purple-light); color: var(--purple-dark); }
  .sc-title { font-size: 17px; font-weight: 500; font-family: var(--serif); color: var(--text); line-height: 1.3; margin-bottom: 12px; }
  .hyp { border-left: 2px solid var(--teal); padding: 9px 14px; margin-bottom: 16px; border-radius: 0; }
  .sc-metrics { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
  .sc-met { background: var(--bg-secondary); border-radius: 10px; padding: 10px 12px; }
  .sc-met-val { font-size: 20px; font-weight: 500; color: var(--text); font-family: var(--mono); }
  .sc-met-val.up { color: var(--teal-dark); }
  .sc-met-val.dn { color: var(--purple); }
  .sc-met-lab { font-size: 9px; color: var(--text-tertiary); margin-top: 2px; }

  /* METHOD */
  .method-sec { padding: 64px 48px; border-bottom: 0.5px solid var(--border); }
  .method-steps { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; margin-top: 24px; }
  .m-step { padding: 18px 16px; border-radius: 10px; background: var(--bg-card); border: 0.5px solid var(--border); border-left: 3px solid var(--border); }
  .m-step:hover { border-color: var(--teal); }
  .m-step.m-1 { border-left-color: var(--teal); }
  .m-step.m-2 { border-left-color: var(--purple); }
  .m-step.m-3 { border-left-color: var(--amber); }
  .m-step.m-4 { border-left-color: var(--teal-dark); }
  .method-intro { font-size: 13px; color: var(--text-secondary); line-height: 1.7; max-width: 620px; margin: 10px 0 4px; }
  .m-out { display: flex; flex-direction: column; gap: 3px; font-size: 11px; color: var(--text); font-weight: 600; line-height: 1.4; margin-top: 12px; padding-top: 10px; border-top: 0.5px solid var(--border); }
  .m-out span { font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; font-family: var(--mono); font-weight: 700; color: var(--text-tertiary); }
  .m-num { font-size: 9px; letter-spacing: 0.12em; color: var(--teal); font-family: var(--mono); margin-bottom: 10px; }
  .m-step.m-1 .m-num { color: var(--teal-dark); }
  .m-step.m-2 .m-num { color: var(--purple); }
  .m-step.m-3 .m-num { color: var(--amber-dark); }
  .m-step.m-4 .m-num { color: var(--teal-dark); }
  .m-name { font-size: 13px; font-weight: 500; color: var(--text); margin-bottom: 10px; }
  .m-tools { display: flex; flex-wrap: wrap; gap: 4px; }
  .m-tool { font-size: 11px; font-family: var(--mono); color: var(--text-secondary); background: var(--bg-secondary); padding: 2px 6px; border-radius: 4px; }

  /* CONTACT DARK */
  .contact-dark { padding: 88px 48px; background: linear-gradient(180deg, #F8F7F4 0%, #1A1A18 100%); position: relative; overflow: hidden; text-align: center; }
  .contact-dots { position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(26,26,24,0.04) 1px, transparent 1px); background-size: 24px 24px; pointer-events: none; }
  .contact-inner { position: relative; z-index: 1; }
  .contact-ey { font-size: 9px; letter-spacing: 0.14em; color: rgba(248,247,244,0.55); font-family: var(--mono); margin-bottom: 16px; }
  .contact-h2 { font-size: 34px; font-weight: 500; font-family: var(--serif); color: #F8F7F4; margin-bottom: 12px; line-height: 1.2; text-shadow: 0 1px 8px rgba(0,0,0,0.15); }
  .contact-sub { font-size: 15px; color: rgba(248,247,244,0.75); margin: 0 auto 28px; line-height: 1.6; text-shadow: 0 1px 6px rgba(0,0,0,0.12); }
  .contact-email { font-size: 15px; font-family: var(--mono); color: var(--teal); border: 0.5px solid rgba(26,111,168,0.35); padding: 12px 24px; border-radius: 100px; display: inline-block; }

  /* ABOUT */
  .about-hero { padding: 80px 48px 64px; border-bottom: 0.5px solid var(--border); position: relative; overflow: hidden; }
  .about-hero::after {
    content: '';
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background:
      radial-gradient(600px 400px at 8% -10%, rgba(83,74,183,0.20), transparent 62%),
      radial-gradient(560px 380px at 96% 8%, rgba(26,111,168,0.18), transparent 62%);
  }
  .about-h1 { font-size: 48px; font-weight: 500; font-family: var(--serif); line-height: 1.12; margin-bottom: 20px; color: var(--text); }
  .about-h1 em { font-style: italic; color: var(--teal); }
  .about-sub { font-size: 15px; color: var(--text-secondary); line-height: 1.7; max-width: 720px;}
  .wild-sec { padding: 64px 48px; border-bottom: 0.5px solid var(--border); }
  .wild-body { font-size: 15px; color: var(--text-secondary); line-height: 1.8; }
  .wild-intro { font-size: 15px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 18px; }
  .wild-list { display: flex; flex-direction: column; gap: 14px; margin: 0 0 4px; list-style: none; padding: 0; }
  .wild-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--text-secondary); line-height: 1.6; }
  .wild-list li b { color: var(--text); font-weight: 600; }
  .wild-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; margin-top: 8px; }
  .wild-body p { margin-bottom: 16px; }
  .wild-body p:last-child { margin-bottom: 0; }
  .field-notes { display: flex; flex-direction: column; gap: 10px; }
  .fn { background: var(--bg-card); border: 0.5px solid var(--border); border-radius: 14px; padding: 16px 18px; }
  .fn-top { display: flex; align-items: center; gap: 10px; margin-bottom: 5px; }
  .fn-icon { width: 28px; height: 28px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .fn-icon svg { width: 14px; height: 14px; }
  .fn-label { font-size: 9px; letter-spacing: 0.13em; color: var(--teal); font-family: var(--mono); margin-bottom: 5px; }
  .fn-title { font-size: 13px; font-weight: 500; color: var(--text); margin-bottom: 4px; }
  .fn-body { font-size: 13px; color: var(--text-secondary); line-height: 1.55; }
  .fn-tags { display: flex; gap: 5px; margin-top: 8px; flex-wrap: wrap; }
  .fn-tag { font-size: 9px; font-family: var(--mono); color: var(--text-secondary); background: var(--bg-secondary); padding: 2px 7px; border-radius: 4px; }
  .proof-bar { background: var(--text); padding: 28px 48px; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0; }
  .pi { padding: 0 20px; border-right: 0.5px solid rgba(255,255,255,0.1); }
  .pi:first-child { padding-left: 0; }
  .pi:last-child { border-right: none; }
  .pi-val { font-size: 20px; font-weight: 500; color: var(--teal); font-family: var(--mono); margin-bottom: 4px; }
  .pi-val.piv-amber { color: #F0B15C; }
  .pi-val.piv-purple { color: #A79CFF; }
  .pi-lab { font-size: 11px; color: rgba(255,255,255,0.4); line-height: 1.4; }
  .bq-sec { padding: 56px 48px; border-bottom: 0.5px solid var(--border); }
  .bq { border-left: 2px solid var(--teal); padding: 18px 24px; background: var(--bg-card); border-radius: 0; }
  .bq-text { font-size: 20px; font-family: var(--serif); font-style: italic; color: var(--text); line-height: 1.5; margin-bottom: 8px; }
  .bq-attr { font-size: 11px; color: var(--text-tertiary); font-family: var(--mono); }
  .how-sec { padding: 44px 48px; border-bottom: 0.5px solid var(--border); }
  .corp-sec { padding: 44px 48px; border-bottom: 0.5px solid var(--border); }
  .brand-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .brand-card { background: var(--bg-card); border: 0.5px solid var(--border); border-radius: 14px; padding: 14px 16px; }
  .brand-name { font-size: 13px; font-weight: 500; color: var(--text); margin-bottom: 3px; }
  .brand-focus { font-size: 11px; color: var(--text-tertiary); font-family: var(--mono); }

  /* STUDIES PAGE */
  .studies-page { padding: 64px 48px; }
  .sp-header { margin-bottom: 40px; }
  .sp-h1 { font-size: 34px; font-weight: 500; font-family: var(--serif); color: var(--text); margin-bottom: 10px; }
  .sp-sub { font-size: 15px; color: var(--text-secondary); margin-bottom: 32px; line-height: 1.7; }
  .study-full { background: var(--bg-card); border: 0.5px solid var(--border); border-radius: 14px; padding: 28px 32px; margin-bottom: 16px; }
  .sf-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
  .sf-id { font-size: 9px; letter-spacing: 0.13em; color: var(--text-tertiary); font-family: var(--mono); }
  .sf-title { font-size: 20px; font-weight: 500; font-family: var(--serif); color: var(--text); line-height: 1.25; margin-bottom: 14px; }
  .sf-hyp { border-left: 2px solid var(--teal); padding: 10px 16px; margin-bottom: 18px; border-radius: 0; background: #F0F6FD; }
  .sf-hyp-l { font-size: 9px; letter-spacing: 0.13em; color: var(--teal-dark); font-family: var(--mono); margin-bottom: 4px; }
  .sf-hyp-t { font-size: 13px; font-family: var(--serif); font-style: italic; color: var(--text); line-height: 1.55; }
  .sf-meta { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 0.5px solid var(--border); }
  .sf-ml { font-size: 9px; letter-spacing: 0.08em; color: var(--text-tertiary); text-transform: uppercase; margin-bottom: 3px; }
  .sf-mv { font-size: 11px; color: var(--text-secondary); font-family: var(--mono); }
  .sf-metrics { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
  .sf-met { background: var(--bg-secondary); border-radius: 10px; padding: 12px 14px; }
  .sf-met-val { font-size: 20px; font-weight: 500; font-family: var(--mono); margin-bottom: 3px; }
  .sf-met-val.g { color: var(--teal-dark); }
  .sf-met-val.p { color: var(--purple); }
  .sf-met-val.a { color: var(--amber); }
  .sf-met-lab { font-size: 11px; color: var(--text-tertiary); line-height: 1.4; }

  footer { padding: 20px 48px; border-top: 0.5px solid rgba(255,255,255,0.08); background: var(--text); display: flex; justify-content: space-between; align-items: center; }
  .footer-copy { font-size: 11px; color: rgba(255,255,255,0.25); font-family: var(--mono); }
  .footer-links { display: flex; gap: 20px; }
  .footer-links a { font-size: 11px; color: rgba(255,255,255,0.3); text-decoration: none; }
  .footer-links a:hover { color: rgba(255,255,255,0.6); }
  .finding-bridge { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; margin-bottom: 24px; }
  .mockup-wrap { background: var(--bg-secondary); border-radius: 14px; padding: 12px; }
  .mockup-tag { font-size: 9px; font-family: var(--mono); padding: 3px 9px; border-radius: 20px; display: inline-block; margin-bottom: 10px; }
  .tag-before { background: #FCEBEB; color: #791F1F; }
  .tag-after { background: #DCEEF9; color: #0D4A73; }
  .mockup-inner { background: var(--bg-card); border: 0.5px solid var(--border); border-radius: 10px; padding: 12px; }
  .mk-nav { background: var(--bg-secondary); border-radius: 4px; padding: 6px 10px; display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; border: 0.5px solid var(--border); }
  .mk-brand { font-size: 11px; font-weight: 500; color: var(--text); }
  .mk-btn { font-size: 9px; background: #E24B4A; color: #fff; padding: 3px 8px; border-radius: 4px; }
  .mk-product-row { display: grid; grid-template-columns: 72px 1fr; gap: 10px; margin-bottom: 10px; }
  .mk-img { background: var(--bg-secondary); border-radius: 4px; height: 72px; border: 0.5px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 26px; color: var(--text-tertiary); }
  .mk-title { font-size: 11px; font-weight: 500; color: var(--text); margin-bottom: 4px; line-height: 1.3; }
  .mk-price { font-size: 13px; font-weight: 500; color: var(--text); margin-bottom: 6px; }
  .mk-cond-row { display: flex; gap: 4px; margin-bottom: 6px; flex-wrap: wrap; }
  .mk-cond { font-size: 9px; padding: 2px 6px; border-radius: 4px; border: 0.5px solid var(--border); color: var(--text-secondary); }
  .mk-cond.on { background: var(--text); color: var(--bg); border-color: var(--text); }
  .mk-warranty-old { font-size: 9px; color: var(--text-tertiary); margin-bottom: 8px; }
  .mk-verified { display: flex; align-items: center; gap: 6px; background: #DCEEF9; border-radius: 4px; padding: 5px 8px; margin-bottom: 8px; font-size: 11px; color: #0D4A73; font-weight: 500; }
  .mk-savings { background: #FAEEDA; border-radius: 4px; padding: 5px 8px; margin-bottom: 8px; font-size: 11px; color: #633806; font-weight: 500; }
  .mk-grade-old { font-size: 9px; color: var(--text-tertiary); padding: 4px 0; }
  .mk-grade-new { background: var(--bg-secondary); padding: 6px 8px; border-left: 2px solid var(--teal); margin-bottom: 8px; }
  .mk-grade-lbl { font-size: 9px; color: #0D4A73; font-family: var(--mono); letter-spacing: 0.08em; margin-bottom: 2px; }
  .mk-grade-txt { font-size: 11px; color: var(--text-secondary); line-height: 1.4; }
  .mk-warranty-new { display: flex; align-items: center; gap: 6px; background: #DCEEF9; border-radius: 4px; padding: 5px 8px; margin-bottom: 8px; font-size: 11px; color: #0D4A73; font-weight: 500; }
  .mk-cta { background: #E24B4A; color: #fff; font-size: 11px; padding: 7px 12px; border-radius: 4px; text-align: center; margin-bottom: 8px; font-weight: 500; }
  .mk-pay { display: flex; gap: 6px; align-items: center; font-size: 20px; color: var(--text-tertiary); }
  .decisions-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 8px; margin-bottom: 24px; }
  .di { background: var(--bg-card); border: 0.5px solid var(--border); border-radius: 10px; padding: 10px 12px; }
  .di-num { font-size: 9px; letter-spacing: 0.1em; color: var(--teal); font-family: var(--mono); margin-bottom: 5px; }
  .di-name { font-size: 11px; font-weight: 500; color: var(--text); margin-bottom: 3px; line-height: 1.35; }
  .di-link { font-size: 11px; color: var(--teal); font-family: var(--mono); }
  .cd-out-val.g { color: var(--teal-dark); }
  .cd-out-val.p { color: var(--purple); }

  /* ── FRAMEWORK PAGE ── */
  .fw-hero { padding: 80px 48px 64px; border-bottom: 0.5px solid var(--border); position: relative; overflow: hidden; }
  .fw-hero::after {
    content: '';
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background:
      radial-gradient(600px 400px at 92% -10%, rgba(26,111,168,0.20), transparent 62%),
      radial-gradient(560px 380px at 4% 6%, rgba(186,117,23,0.16), transparent 62%);
  }
  .fw-h1 { font-size: 48px; font-weight: 500; font-family: var(--serif); line-height: 1.1; margin: 0 0 20px; }
  .fw-h1 em { font-style: italic; color: var(--teal); }
  .fw-sub { font-size: 15px; color: var(--text-secondary); line-height: 1.7; margin: 0 0 28px; max-width: 68ch;}
  .fw-formula { display: inline-flex; align-items: center; gap: 12px; background: var(--text); color: var(--bg); padding: 14px 24px; border-radius: 10px; margin-bottom: 0; }
  .fw-formula-part { font-size: 13px; font-family: var(--mono); font-weight: 500; }
  .fw-formula-op { font-size: 17px; color: var(--teal); font-family: var(--mono); }

  .fw-section { padding: 64px 48px; border-bottom: 0.5px solid var(--border); }
  .fw-section.alt { background: var(--bg-secondary); }
  .fw-sec-ey { font-size: 9px; letter-spacing: 0.13em; color: var(--teal); font-family: var(--mono); margin-bottom: 12px; }
  .fw-sec-h2 { font-size: 26px; font-weight: 500; font-family: var(--serif); margin-bottom: 10px; line-height: 1.25; }
  .fw-sec-sub { font-size: 15px; color: var(--text-secondary); line-height: 1.7; max-width: 68ch; margin-bottom: 32px; }

  .behaviour-grid { display: flex; flex-direction: column; gap: 0; }
  .beh-icon { font-size: 26px; margin-bottom: 10px; }
  .beh-type { font-size: 13px; font-weight: 500; color: var(--text); margin-bottom: 4px; }
  .beh-signal { font-size: 11px; color: var(--teal); font-family: var(--mono); margin-bottom: 8px; }
  .beh-desc { font-size: 11px; color: var(--text-secondary); line-height: 1.5; }

  .industry-grid { display: flex; flex-direction: column; gap: 0; }
  .ind-icon { font-size: 20px; margin-bottom: 8px; }
  .ind-name { font-size: 13px; font-weight: 500; color: var(--text); margin-bottom: 4px; }
  .ind-signal { font-size: 11px; color: var(--purple); font-family: var(--mono); margin-bottom: 6px; }
  .ind-desc { font-size: 11px; color: var(--text-secondary); line-height: 1.5; }

  .workflow-steps { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 0; position: relative; }
  .workflow-steps::before { content: ''; position: absolute; top: 28px; left: 10%; right: 10%; height: 1px; background: linear-gradient(to right, var(--teal), var(--purple)); opacity: 0.3; z-index: 0; }
  .wf-num { width: 52px; height: 52px; border-radius: 50%; background: var(--bg-card); border: 1.5px solid var(--border); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; font-size: 13px; font-weight: 500; font-family: var(--mono); color: var(--teal); }
  .wf-title { font-size: 13px; font-weight: 500; color: var(--text); margin-bottom: 6px; }
  .wf-tools { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; }
  .wf-tool { font-size: 9px; font-family: var(--mono); background: var(--bg-secondary); color: var(--text-secondary); padding: 2px 6px; border-radius: 4px; }

  .examples-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; }
  .ex-card { background: var(--bg-card); border: 0.5px solid var(--border); border-radius: 14px; padding: 22px 24px; }
  .ex-tag-row { display: flex; gap: 6px; margin-bottom: 14px; flex-wrap: wrap; }
  .ex-tag { font-size: 11px; padding: 2px 9px; border-radius: 20px; }
  .ex-tag.teal { background: var(--teal-light); color: var(--teal-dark); }
  .ex-tag.purple { background: var(--purple-light); color: var(--purple-dark); }
  .ex-tag.amber { background: var(--amber-light); color: var(--amber-dark); }
  .ex-title { font-size: 15px; font-weight: 500; font-family: var(--serif); color: var(--text); margin-bottom: 14px; line-height: 1.3; }
  .ex-row { display: grid; grid-template-columns: 80px 1fr; gap: 10px; align-items: start; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 0.5px solid var(--border); }
  .ex-row:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
  .ex-label { font-size: 9px; letter-spacing: 0.08em; color: var(--text-tertiary); font-family: var(--mono); padding-top: 1px; }
  .ex-val { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }
  .ex-val strong { color: var(--text); font-weight: 500; }
  .ex-hyp { border-left: 2px solid var(--teal); padding: 8px 14px; margin-top: 12px; border-radius: 0; }
  .ex-hyp-l { font-size: 9px; letter-spacing: 0.12em; color: var(--teal-dark); font-family: var(--mono); margin-bottom: 4px; }
  .ex-hyp-t { font-size: 13px; font-family: var(--serif); font-style: italic; color: var(--text); line-height: 1.5; }

  .fw-summary { padding: 96px 48px; background: #1A1A18; position: relative; overflow: hidden; border-top: 0.5px solid var(--border); }
  .fw-summary-dots { position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(26,26,24,0.04) 1px, transparent 1px); background-size: 24px 24px; pointer-events: none; }
  .fw-summary::before { content: ''; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(780px 300px at 50% 0%, rgba(26,111,168,0.20), transparent 62%),
                radial-gradient(620px 260px at 85% 100%, rgba(83,74,183,0.14), transparent 60%); }
  .fw-summary-inner { position: relative; z-index: 1; max-width: 860px; margin: 0 auto; text-align: center; }
  .fw-sum-ey { font-size: 9px; letter-spacing: 0.14em; color: rgba(248,247,244,0.55); font-family: var(--mono); margin-bottom: 16px; }
  .fw-sum-h2 { font-size: 34px; font-weight: 500; font-family: var(--serif); color: #F8F7F4; margin-bottom: 16px; line-height: 1.2; text-shadow: 0 1px 8px rgba(0,0,0,0.15); }
  .fw-sum-body { font-size: 15px; color: rgba(248,247,244,0.7); line-height: 1.7; margin-bottom: 32px; }
  .fw-formula-dark { display: inline-flex; align-items: center; gap: 12px; border: 0.5px solid rgba(26,111,168,0.35); padding: 14px 24px; border-radius: 10px; }
  .fw-formula-dark .fw-formula-part { color: #F8F7F4; }


  /* ── DARK FOOTER ── */
  .footer-dark-full { background: #1A1A18; padding: 48px 48px 0; position: relative; overflow: hidden; }
  .footer-dark-full .fd-dots { position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px); background-size: 24px 24px; pointer-events: none; z-index: 0; }
  .footer-dark-full .fd-inner { position: relative; z-index: 1; }
  .fd-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 36px; }
  .fd-col-label { font-size: 9px; letter-spacing: 0.12em; color: rgba(255,255,255,0.3); font-family: var(--mono); margin-bottom: 12px; text-transform: uppercase; }
  .fd-brand { font-size: 13px; font-weight: 500; color: #F8F7F4; margin-bottom: 8px; display: flex; align-items: center; gap: 7px; }
  .fd-brand-dot { width: 7px; height: 7px; border-radius: 50%; background: #1A6FA8; flex-shrink: 0; }
  .fd-tagline { font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.6; max-width: 240px; margin-bottom: 14px; }
  .fd-formula { font-size: 11px; font-family: var(--mono); color: #1A6FA8; border: 0.5px solid rgba(26,111,168,0.3); padding: 5px 12px; border-radius: 4px; display: inline-block; }
  .fd-nav-links { display: flex; flex-direction: column; gap: 9px; }
  .fd-nav-link { font-size: 13px; color: rgba(255,255,255,0.4); text-decoration: none; cursor: pointer; transition: color 0.15s; }
  .fd-nav-link:hover { color: rgba(255,255,255,0.8); }
  .fd-available { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: #1A6FA8; border: 0.5px solid rgba(26,111,168,0.3); padding: 5px 11px; border-radius: 20px; margin-bottom: 12px; }
  .fd-avail-dot { width: 6px; height: 6px; border-radius: 50%; background: #1A6FA8; animation: pulse 2s infinite; }
  @keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:0.4;} }
  @keyframes marquee { 0%{transform:translateX(0);} 100%{transform:translateX(-50%);} }
  .fd-bottom { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; border-top: 0.5px solid rgba(255,255,255,0.08); }
  .fd-copy { font-size: 11px; color: rgba(255,255,255,0.2); font-family: var(--mono); }
  .fd-copy-right { font-size: 11px; color: rgba(255,255,255,0.2); font-family: var(--mono); font-style: italic; }
  .panel-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.45); z-index: 200; opacity: 0; pointer-events: none; transition: opacity 0.25s; }
  .panel-overlay.open { opacity: 1; pointer-events: all; }
  .panel { position: fixed; top: 0; right: 0; width: min(680px, 95vw); height: 100vh; background: var(--bg); z-index: 201; transform: translateX(100%); transition: transform 0.3s cubic-bezier(0.4,0,0.2,1); overflow-y: auto; display: flex; flex-direction: column; }
  .panel.open { transform: translateX(0); }
  .panel-header { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; border-bottom: 0.5px solid var(--border); position: sticky; top: 0; background: var(--bg); z-index: 1; }
  .panel-header-left { display: flex; flex-direction: column; gap: 2px; }
  .panel-study-id { font-size: 9px; letter-spacing: 0.12em; color: var(--teal); font-family: var(--mono); }
  .panel-title { font-size: 15px; font-weight: 500; color: var(--text); font-family: var(--serif); }
  .panel-close { width: 32px; height: 32px; border-radius: 50%; border: 0.5px solid var(--border); background: none; cursor: pointer; font-size: 15px; color: var(--text-secondary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .panel-close:hover { background: var(--bg-secondary); }
  .panel-body { padding: 24px; flex: 1; }
  .panel-ey { font-size: 9px; letter-spacing: 0.12em; color: var(--teal); font-family: var(--mono); margin-bottom: 8px; }
  .panel-h2 { font-size: 20px; font-weight: 500; font-family: var(--serif); margin-bottom: 8px; line-height: 1.3; }
  .panel-sub { font-size: 13px; color: var(--text-secondary); line-height: 1.65; margin-bottom: 20px; }
  .panel-fb-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin-bottom: 20px; }
  .panel-fb { background: var(--bg-secondary); border-radius: 10px; padding: 12px 14px; }
  .panel-fb-label { font-size: 9px; letter-spacing: 0.1em; color: #A32D2D; font-family: var(--mono); margin-bottom: 5px; }
  .panel-fb-title { font-size: 11px; font-weight: 500; margin-bottom: 3px; line-height: 1.3; }
  .panel-fb-body { font-size: 11px; color: var(--text-secondary); line-height: 1.45; }
  .panel-cmp-lbl { font-size: 9px; letter-spacing: 0.1em; color: var(--text-tertiary); font-family: var(--mono); margin-bottom: 10px; }
  .panel-cmp { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
  .panel-mwrap { background: var(--bg-secondary); border-radius: 10px; padding: 10px; }
  .panel-mtag { font-size: 9px; font-family: var(--mono); padding: 2px 8px; border-radius: 20px; display: inline-block; margin-bottom: 8px; }
  .pmb { background: #FCEBEB; color: #791F1F; } .pma { background: #DCEEF9; color: #0D4A73; }
  .panel-mi { background: var(--bg-card); border: 0.5px solid var(--border); border-radius: 10px; padding: 10px; }
  .pmn { background: var(--bg-secondary); border-radius: 4px; padding: 5px 8px; display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; border: 0.5px solid var(--border); }
  .pmnb { font-size: 9px; font-weight: 500; } .pmnbtn { font-size: 9px; color: #fff; padding: 2px 6px; border-radius: 4px; }
  .pmprow { display: grid; grid-template-columns: 52px 1fr; gap: 7px; margin-bottom: 7px; }
  .pmimg { background: var(--bg-secondary); border-radius: 4px; height: 52px; display: flex; align-items: center; justify-content: center; font-size: 17px; border: 0.5px solid var(--border); }
  .pmtt { font-size: 11px; font-weight: 500; margin-bottom: 3px; line-height: 1.3; }
  .pmpr { font-size: 13px; font-weight: 500; margin-bottom: 4px; }
  .pmcr { display: flex; gap: 3px; flex-wrap: wrap; margin-bottom: 4px; }
  .pmc { font-size: 9px; padding: 1px 5px; border-radius: 4px; border: 0.5px solid var(--border); color: var(--text-secondary); }
  .pmc.on { background: var(--text); color: var(--bg); border-color: var(--text); }
  .pmwold { font-size: 9px; color: var(--text-tertiary); margin-bottom: 5px; }
  .pmgold { font-size: 9px; color: var(--text-tertiary); padding: 2px 0; }
  .pmverified { display: flex; align-items: center; gap: 4px; background: #DCEEF9; border-radius: 4px; padding: 4px 7px; margin-bottom: 6px; font-size: 9px; color: #0D4A73; font-weight: 500; }
  .pmsav { background: #FAEEDA; border-radius: 4px; padding: 4px 7px; margin-bottom: 5px; font-size: 9px; color: #633806; font-weight: 500; }
  .pmgnew { background: var(--bg-secondary); padding: 5px 7px; border-left: 2px solid var(--teal); margin-bottom: 6px; }
  .pmgl { font-size: 9px; color: #0D4A73; font-family: var(--mono); margin-bottom: 1px; }
  .pmgt { font-size: 9px; color: var(--text-secondary); line-height: 1.4; }
  .pmwn { display: flex; align-items: center; gap: 4px; background: #DCEEF9; border-radius: 4px; padding: 4px 7px; margin-bottom: 6px; font-size: 9px; color: #0D4A73; font-weight: 500; }
  .pmcta { background: #E24B4A; color: #fff; font-size: 9px; padding: 5px 8px; border-radius: 4px; text-align: center; margin-bottom: 6px; font-weight: 500; }
  .pmpay { display: flex; gap: 4px; font-size: 13px; color: var(--text-tertiary); }
  .panel-dgrid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; margin-bottom: 16px; }
  .panel-out-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; margin-bottom: 16px; }
  .panel-out { background: var(--bg-secondary); border-radius: 10px; padding: 10px; }
  .panel-outv { font-size: 17px; font-weight: 500; font-family: var(--mono); margin-bottom: 2px; }
  .pov-g { color: #0F6E56; } .pov-p { color: var(--purple); } .pov-a { color: var(--amber); }
  .panel-outl { font-size: 9px; color: var(--text-tertiary); line-height: 1.4; }
  .panel-rat { border-left: 2px solid var(--purple); padding: 10px 14px; background: var(--bg-card); margin-bottom: 24px; }
  .panel-rat-l { font-size: 9px; letter-spacing: 0.12em; color: var(--purple-dark); font-family: var(--mono); margin-bottom: 4px; }
  .panel-rat-t { font-size: 13px; font-family: var(--serif); font-style: italic; line-height: 1.55; }


  /* ── UXPILOT-STYLE PRINCIPLE CARDS ── */
  .principles-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
  .pc { background: var(--bg-card); border: 0.5px solid var(--border); border-top: 3px solid transparent; border-radius: 14px; padding: 28px 24px 24px; position: relative; transition: transform 0.2s ease, box-shadow 0.2s ease; }
  .pc:hover { transform: translateY(-3px); box-shadow: 0 16px 32px -18px rgba(0,0,0,0.18); }
  .pc-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 28px; }
  .pc-icon-pill { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .pc-icon-pill svg { width: 26px; height: 26px; }
  .pc-step-pill { font-size: 9px; letter-spacing: 0.1em; font-family: var(--mono); font-weight: 500; padding: 4px 10px; border-radius: 20px; white-space: nowrap; }
  .pc-heading { font-size: 20px; font-weight: 500; font-family: var(--serif); color: var(--text); line-height: 1.25; margin-bottom: 12px; }
  .pc-body { font-size: 13px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 20px; }
  .pc-outcome { display: flex; align-items: baseline; gap: 8px; font-size: 13px; color: var(--text); font-weight: 600; margin-bottom: 18px; line-height: 1.45; }
  .pc-outcome span { font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; font-family: var(--mono); font-weight: 700; color: var(--text-tertiary); flex-shrink: 0; }
  .pc-divider { height: 0.5px; background: var(--border); margin-bottom: 18px; }
  .pc-list { display: flex; flex-direction: column; gap: 10px; list-style: none; padding: 0; }
  .pc-list li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-secondary); }
  .pc-tick { width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .pc-tick svg { width: 10px; height: 10px; }

  /* colour themes per card — tinted background + top edge, not just small icon chips */
  .pc-purple { background: linear-gradient(180deg, var(--purple-light) 0%, var(--bg-card) 42%); border-top-color: var(--purple); }
  .pc-purple .pc-icon-pill { background: #fff; }
  .pc-purple .pc-icon-pill svg { color: var(--purple); }
  .pc-purple .pc-step-pill { background: #fff; color: var(--purple-dark); }
  .pc-purple .pc-tick { background: #fff; }
  .pc-purple .pc-tick svg { color: var(--purple); }

  .pc-teal { background: linear-gradient(180deg, var(--teal-light) 0%, var(--bg-card) 42%); border-top-color: var(--teal); }
  .pc-teal .pc-icon-pill { background: #fff; }
  .pc-teal .pc-icon-pill svg { color: var(--teal); }
  .pc-teal .pc-step-pill { background: #fff; color: var(--teal-dark); }
  .pc-teal .pc-tick { background: #fff; }
  .pc-teal .pc-tick svg { color: var(--teal); }

  .pc-amber { background: linear-gradient(180deg, var(--amber-light) 0%, var(--bg-card) 42%); border-top-color: var(--amber); }
  .pc-amber .pc-icon-pill { background: #fff; }
  .pc-amber .pc-icon-pill svg { color: var(--amber-dark); }
  .pc-amber .pc-step-pill { background: #fff; color: var(--amber-dark); }
  .pc-amber .pc-tick { background: #fff; }
  .pc-amber .pc-tick svg { color: var(--amber-dark); }


  /* override old brief layout */
  .brief { display: block; padding: 64px 48px; border-bottom: 0.5px solid var(--border); }
  .brief-intro { max-width: 620px; margin-bottom: 40px; }


  /* ── WORKFLOW CARDS (UXPilot style) ── */
  .wf-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 14px; }
  .wfc { background: var(--bg-card); border: 0.5px solid var(--border); border-radius: 14px; padding: 24px 20px 20px; position: relative; }
  .wfc-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 24px; }
  .wfc-icon { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .wfc-icon svg { width: 24px; height: 24px; }
  .wfc-step { font-size: 9px; letter-spacing: 0.1em; font-family: var(--mono); font-weight: 500; padding: 3px 9px; border-radius: 20px; white-space: nowrap; }
  .wfc-heading { font-size: 15px; font-weight: 500; font-family: var(--serif); line-height: 1.3; margin-bottom: 8px; color: var(--text); }
  .wfc-desc { font-size: 11px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 16px; }
  .wfc-divider { height: 0.5px; background: var(--border); margin-bottom: 14px; }
  .wfc-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0; }
  .wfc-list li { display: flex; align-items: flex-start; gap: 10px; padding: 7px 0; position: relative; }
  .wfc-list li:not(:last-child)::after { content: ''; position: absolute; left: 13px; top: 28px; bottom: -7px; width: 1px; background: var(--border); }
  .wfc-num { width: 27px; height: 27px; border-radius: 50%; background: var(--teal); color: #fff; font-size: 9px; font-weight: 600; font-family: var(--mono); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .wfc-method-title { font-size: 11px; font-weight: 500; color: var(--text); margin-bottom: 1px; }
  .wfc-method-sub { font-size: 11px; color: var(--text-secondary); line-height: 1.45; }
  .wfc-list li { display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--text-secondary); font-family: var(--mono); }
  .wfc-tick { width: 16px; height: 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .wfc-tick svg { width: 9px; height: 9px; }

  /* five colour themes */
  .wfc-blue   .wfc-icon { background: #DBEAFE; } .wfc-blue   .wfc-icon svg { color: #2563EB; }
  .wfc-blue   .wfc-step { background: #DBEAFE; color: #1D4ED8; }
  .wfc-blue   .wfc-tick { background: #DBEAFE; } .wfc-blue   .wfc-tick svg { color: #2563EB; }

  .wfc-purple .wfc-icon { background: #EDE9FE; } .wfc-purple .wfc-icon svg { color: #7C3AED; }
  .wfc-purple .wfc-step { background: #EDE9FE; color: #5B21B6; }
  .wfc-purple .wfc-tick { background: #EDE9FE; } .wfc-purple .wfc-tick svg { color: #7C3AED; }

  .wfc-teal   .wfc-icon { background: #DCEEF9; } .wfc-teal   .wfc-icon svg { color: #059669; }
  .wfc-teal   .wfc-step { background: #DCEEF9; color: #0D4A73; }
  .wfc-teal   .wfc-tick { background: #DCEEF9; } .wfc-teal   .wfc-tick svg { color: #059669; }

  .wfc-amber  .wfc-icon { background: #FEF3C7; } .wfc-amber  .wfc-icon svg { color: #D97706; }
  .wfc-amber  .wfc-step { background: #FEF3C7; color: #92400E; }
  .wfc-amber  .wfc-tick { background: #FEF3C7; } .wfc-amber  .wfc-tick svg { color: #D97706; }

  .wfc-rose   .wfc-icon { background: #FCE7F3; } .wfc-rose   .wfc-icon svg { color: #DB2777; }
  .wfc-rose   .wfc-step { background: #FCE7F3; color: #9D174D; }
  .wfc-rose   .wfc-tick { background: #FCE7F3; } .wfc-rose   .wfc-tick svg { color: #DB2777; }


  /* ── GLOBAL CTA STYLES ── */
  .cta-secondary { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; padding: 11px 22px; border-radius: 100px; border: 1.5px solid rgba(0,0,0,0.18); background: transparent; color: var(--text); cursor: pointer; text-decoration: none; font-family: var(--sans); transition: background 0.15s; }
  .cta-secondary:hover { background: var(--bg-secondary); }
  .cta-teal { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; font-family: var(--sans); color: var(--teal); background: none; border: 1.5px solid rgba(26,111,168,0.45); padding: 11px 22px; border-radius: 100px; cursor: pointer; text-decoration: none; transition: background 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.15s; }
  .cta-teal:hover { border-color: rgba(26,111,168,0.85); color: var(--teal-dark); }
  .cta-ghost-dark { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-family: var(--mono); color: var(--teal); border: 1.5px solid rgba(26,111,168,0.35); padding: 12px 24px; border-radius: 100px; text-decoration: none; transition: background 0.15s; }
  .cta-ghost-dark:hover { color: var(--teal-dark); border-color: var(--teal); }
  .cta-row-centered { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }


  /* ══════════════════════════════════════════════════
     MOBILE RESPONSIVE — @media max-width: 768px
     ══════════════════════════════════════════════════ */
  @media (max-width: 768px) {

    /* Hide desktop pill nav and back-to-top on mobile */
    .nav-pill-fixed { display: none !important; }
    

    /* Nav — hamburger on mobile */
    .nav { padding: 12px 20px; }
    .nav-links { display: none !important; }
    #cv-download-link { display: none; }
    .mob-hamburger {
      display: flex !important;
      align-items: center; justify-content: center;
      width: 36px; height: 36px;
      background: none; border: none; cursor: pointer;
      padding: 0;
    }
    .mob-hamburger svg {
      width: 22px; height: 22px;
      stroke: #F8F7F4; stroke-width: 1.8;
      fill: none; stroke-linecap: round;
    }

    /* Hero */
    .hero { padding: 44px 20px 36px; }
    .hero-h1 { font-size: 26px; }
    .hero-sub { font-size: 13px; }
    .btn-row { flex-direction: column; align-items: flex-start; gap: 10px; }
    .cta-primary, .cta-secondary, .cta-teal, .cta-lab-primary { width: 100%; justify-content: center; }
    .cta-lab-secondary { font-size: 13px; }

    /* Stat bar */
    .stat-bar { grid-template-columns: 1fr 1fr; gap: 0; padding: 20px; }
    .stat-item { padding: 16px 0; border-right: none; border-bottom: 0.5px solid rgba(255,255,255,0.1); text-align: left; }
    .stat-item.is-primary .stat-val { font-size: 34px; }
    .stat-item:nth-child(odd) { border-right: 0.5px solid rgba(255,255,255,0.1); }
    .stat-item:nth-child(3), .stat-item:nth-child(4) { border-bottom: none; }

    /* Brief / Principles */
    .brief { padding: 36px 20px; }
    .philosophy { padding: 56px 20px 52px; }
    .who-sec { padding: 40px 20px; }
    .exp-sec { padding: 40px 20px; }
    .sp-close { margin: 0; padding: 56px 20px 52px; }
    .sp-close-h2 { font-size: 20px; }
    .philosophy-line { font-size: 26px; }
    .brief-intro { margin-bottom: 24px; }
    .principles-grid { grid-template-columns: 1fr; gap: 12px; }

    /* Studies section on home */
    .studies-sec { padding: 36px 20px; }
    .sc-metrics { grid-template-columns: repeat(3, minmax(0,1fr)); }
    .sf-meta { grid-template-columns: 1fr 1fr; }
    .sf-metrics { grid-template-columns: 1fr; gap: 6px; }

    /* Methodology */
    .method-sec { padding: 36px 20px; }
    .method-steps { grid-template-columns: 1fr 1fr; gap: 10px; }

    /* Studies page */
    .studies-page { padding: 32px 20px; }
    .study-full { padding: 18px 16px; }
    .sf-top { flex-direction: column; gap: 8px; }
    .sc-top { flex-direction: column; gap: 8px; }
    .finding-bridge { grid-template-columns: 1fr; }
    .decisions-grid { grid-template-columns: 1fr 1fr; }

    /* About page */
    .about-hero { padding: 44px 20px 36px; }
    .about-h1 { font-size: 34px; }
    .wild-sec { padding: 36px 20px; }
    .proof-bar { grid-template-columns: 1fr 1fr; padding: 20px; }
    .pi { padding: 10px 14px; border-right: none; border-bottom: 0.5px solid rgba(255,255,255,0.08); }
    .pi:nth-child(odd) { border-right: 0.5px solid rgba(255,255,255,0.08); }
    .pi:nth-child(3), .pi:nth-child(4) { border-bottom: none; }
    .bq-sec { padding: 32px 20px; }
    .how-sec { padding: 36px 20px; }
    .corp-sec { padding: 36px 20px; }
    .brand-grid { grid-template-columns: 1fr 1fr; }

    /* Education / experience section */
    .edu-grid-responsive { grid-template-columns: 1fr !important; gap: 20px !important; }

    /* Tools section */
    .tools-grid-responsive { grid-template-columns: 1fr !important; }

    /* Contact form */
    .contact-grid-responsive { grid-template-columns: 1fr !important; gap: 28px !important; }

    /* Framework page */
    .fw-hero { padding: 44px 20px 36px; }
    .fw-h1 { font-size: 26px; }
    .fw-section { padding: 36px 20px; }
    .fw-section.alt { padding: 36px 20px; }
    .behaviour-grid { grid-template-columns: 1fr; gap: 10px; }
    .industry-grid { grid-template-columns: 1fr; gap: 10px; }
    .wf-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .examples-grid { grid-template-columns: 1fr; }
    .fw-formula { flex-wrap: wrap; gap: 8px; }
    .fw-formula-dark { flex-wrap: wrap; gap: 8px; }

    /* Framework workflow steps */
    .workflow-steps { grid-template-columns: 1fr 1fr; }
    .workflow-steps::before { display: none; }

    /* Side panel */
    .panel { width: 100vw; }
    .panel-fb-grid { grid-template-columns: 1fr; }
    .panel-cmp { grid-template-columns: 1fr; }
    .panel-dgrid { grid-template-columns: 1fr 1fr; }
    .panel-out-grid { grid-template-columns: 1fr; }

    /* Footer */
    .footer-dark-full { padding: 36px 20px 0; }
    .fd-grid { grid-template-columns: 1fr 1fr; gap: 24px; }

    /* Contact dark section */
    .contact-dark { padding: 52px 20px; }
    .contact-h2 { font-size: 26px; }

    /* CRO section inline grids */
    .cro-grid { grid-template-columns: 1fr !important; }
    .score-board { grid-template-columns: 1fr 1fr !important; }

    /* Phase 3 additions — 768px */
    .hero-cols { grid-template-columns: 1fr !important; gap: 24px; }
    .principles-grid { grid-template-columns: 1fr !important; }
    .wf-grid { grid-template-columns: 1fr 1fr !important; }
    .sc-tags { flex-wrap: wrap; }
    .filter-bar { display: flex; flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; scrollbar-width: none; gap: 8px; align-items: center; padding-top: 24px; border-top: 0.5px solid var(--border); padding-bottom: 4px; justify-content: flex-start; }
    .filter-bar::-webkit-scrollbar { display: none; }
    .filter-bar button { flex-shrink: 0; }
    .fw-section { padding: 36px 20px; }
    .fw-sum { padding: 52px 20px; }
    .fw-summary-inner { text-align: left; }
    .fw-formula-dark { justify-content: flex-start; }
    .examples-grid { grid-template-columns: 1fr !important; }
    .ex-row { grid-template-columns: 64px 1fr; }
    .fw-sec-h2 { font-size: 20px; }
    .fw-sum-h2 { font-size: 20px; }
    /* Tools / edu / contact inline grids */
    [style*="grid-template-columns: repeat(3"] { grid-template-columns: 1fr !important; }
    [style*="grid-template-columns: 1fr 1fr;gap:48px"] { grid-template-columns: 1fr !important; gap: 20px !important; }
    [style*="grid-template-columns: 1fr 1fr;gap:56px"] { grid-template-columns: 1fr !important; gap: 28px !important; }
    .ai-grid { grid-template-columns: 1fr !important; gap: 20px !important; }
    /* Panel */
    .panel { width: 100vw !important; }
    .pcmp { grid-template-columns: 1fr !important; }
    .pfb-grid { grid-template-columns: 1fr !important; }
    /* Hero graphic */
    .hero-graphic { display: none; }
    /* Study filter bar */
    .filter-bar button { font-size: 11px; padding: 5px 11px; }
  }

  @media (max-width: 480px) {
    .hero-h1 { font-size: 26px; }
    .about-h1 { font-size: 26px; }
    .fw-h1 { font-size: 20px; }
    .behaviour-grid { grid-template-columns: 1fr; }
    .industry-grid { grid-template-columns: 1fr; }
    .wf-grid { grid-template-columns: 1fr; }
    .method-steps { grid-template-columns: 1fr; }
    .decisions-grid { grid-template-columns: 1fr; }
    .brand-grid { grid-template-columns: 1fr; }
    .fd-grid { grid-template-columns: 1fr; }

    /* Phase 3 additions — 480px */
    .pc { padding: 18px 14px 14px; }
    .pc-heading { font-size: 17px; }
    .wf-grid { grid-template-columns: 1fr !important; }
    .wfc { padding: 16px 14px 14px; }
    .ex-hyp { padding: 7px 10px; }
    .ex-hyp-t { font-size: 11px; }
    .filter-bar { gap: 5px; }
    .filter-bar button { font-size: 9px; padding: 4px 9px; }
    .ai-card { padding: 14px 14px; }
    .sp-h1 { font-size: 20px; }

    .proof-bar { grid-template-columns: 1fr 1fr; }
    .sc-metrics { grid-template-columns: 1fr 1fr; }
    .nav-links { gap: 8px; }
    .nav-links button ,.nav-links a  { font-size: 9px; }
  }


  /* ── STUDY FILTER BAR ── */
  .filter-bar { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
  .filter-lab { font-size: 9px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; font-family: var(--mono); color: var(--teal); margin-right: 2px; flex-shrink: 0; }
  .filter-sep { width: 1px; height: 20px; background: var(--border); margin: 0 8px; flex-shrink: 0; }
  .filter-bar button { font-size: 11px; font-family: var(--mono); padding: 6px 14px; border-radius: 20px; border: 0.5px solid var(--border); background: transparent; color: var(--text-secondary); cursor: pointer; transition: all 0.15s; }
  .filter-bar button:hover { border-color: var(--teal); color: var(--teal); }
  .filter-bar button.active { background: var(--teal); color: #fff; border-color: var(--teal); box-shadow: 0 2px 8px rgba(26,111,168,0.25); }
  .filter-bar button.active::before { content: '✓ '; font-size: 9px; opacity: 0.85; }
  .filter-bar button.f-eng.active::before { content: none; }

  /* engagement filters — primary choices, carrying the same colour language as
     the badges on the cards so the connection is obvious */
  .filter-bar button.f-eng { font-weight: 700; padding: 7px 16px; border-width: 1.5px; display: inline-flex; align-items: center; gap: 7px; }
  .filter-bar button.f-eng::after { content: ''; width: 6px; height: 6px; border-radius: 50%; display: block; order: -1; }
  .filter-bar button.f-client { border-color: rgba(22,163,74,0.5); color: #14532D; background: #F0FDF4; }
  .filter-bar button.f-client::after { background: #16A34A; }
  .filter-bar button.f-client:hover { background: #DCFCE7; border-color: #16A34A; color: #14532D; }
  .filter-bar button.f-client.active { background: #16A34A; border-color: #16A34A; color: #fff; box-shadow: 0 2px 10px rgba(22,163,74,0.3); }
  .filter-bar button.f-client.active::after { background: #fff; }
  .filter-bar button.f-self { border-color: rgba(83,74,183,0.45); color: var(--purple-dark); background: #F7F6FE; }
  .filter-bar button.f-self::after { background: var(--purple); }
  .filter-bar button.f-self:hover { background: var(--purple-light); border-color: var(--purple); color: var(--purple-dark); }
  .filter-bar button.f-self.active { background: var(--purple); border-color: var(--purple); color: #fff; box-shadow: 0 2px 10px rgba(83,74,183,0.3); }
  .filter-bar button.f-self.active::after { background: #fff; }
  .study-full { transition: opacity 0.2s; }
  .study-full.hidden { display: none; }
  .ws-showcase.hidden { display: none; }


  /* ── AI IN PRACTICE SECTION ── */
  .ai-section { padding: 48px; border-bottom: 0.5px solid var(--border); }
  .ai-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
  .ai-card { background: var(--bg-card); border: 0.5px solid var(--border); border-radius: 14px; padding: 18px 20px; margin-bottom: 10px; }
  .ai-card-top { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
  .ai-icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .ai-card-title { font-size: 13px; font-weight: 500; }
  .ai-card-body { font-size: 11px; color: var(--text-secondary); line-height: 1.6; }
  .ai-callout { border-left: 2px solid var(--teal); padding: 12px 16px; background: var(--bg-secondary); border-radius: 0; margin-top: 16px; }
  .ai-callout-label { font-size: 9px; letter-spacing: 0.12em; color: var(--teal); font-family: var(--mono); margin-bottom: 4px; }
  .ai-callout-text { font-size: 13px; font-family: var(--serif); font-style: italic; line-height: 1.55; }


  /* ── STUDY CARD METRIC BADGES ── */
  .met-badge-row { margin-top: 7px; }
  .met-badge { display: inline-block; font-size: 9px; font-family: var(--mono); letter-spacing: 0.08em; padding: 2px 6px; border-radius: 4px; font-weight: 500; }
  .met-badge.measured { background: var(--teal-light); color: var(--teal-dark); }
  .met-badge.projected { background: var(--amber-light); color: var(--amber-dark); }
  .met-badge.qualitative { background: var(--purple-light); color: var(--purple-dark); }

  /* ── STUDY CARD FOOTER ── */
  .sc-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding-top: 14px; border-top: 0.5px solid var(--border); }
  .sc-footer-ctx { font-size: 11px; color: var(--text-tertiary); font-family: var(--mono); }
  .sc-footer-cta { font-size: 11px; font-family: var(--mono); color: var(--teal); display: inline-flex; align-items: center; gap: 5px; font-weight: 500; }


  /* ── BEHAVIOUR & INDUSTRY CARDS — CONCEPT C (wfc-pattern) ── */
  .beh-card-new { background: var(--bg-card); border: 0.5px solid var(--border); border-radius: 14px; padding: 22px 18px 18px; position: relative; }
  .beh-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 20px; }
  .beh-icon-pill { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .beh-icon-pill svg { width: 22px; height: 22px; }
  .beh-label-pill { font-size: 9px; letter-spacing: 0.1em; font-family: var(--mono); font-weight: 500; padding: 3px 9px; border-radius: 20px; white-space: nowrap; align-self: flex-start; }
  .beh-heading { font-size: 15px; font-weight: 500; font-family: var(--serif); line-height: 1.3; margin-bottom: 6px; color: var(--text); }
  .beh-signal-new { font-size: 11px; font-family: var(--mono); margin-bottom: 10px; }
  .beh-desc-new { font-size: 11px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 14px; }
  .beh-divider { height: 0.5px; background: var(--border); margin-bottom: 12px; }
  .beh-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 7px; }
  .beh-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 11px; color: var(--text-secondary); line-height: 1.4; }
  .beh-tick { width: 15px; height: 15px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
  .beh-tick svg { width: 9px; height: 9px; }
  /* safety net: an inline SVG with no sizing rule must never render at full width */
  li > svg, p > svg, span > svg:not([width]) { width: 1em; height: 1em; flex-shrink: 0; }


  /* Colour themes — behaviour cards */
  .c-teal .beh-icon-pill { background: var(--teal-light); }
  .c-teal .beh-icon-pill svg { stroke: var(--teal-dark); }
  .c-teal .beh-label-pill { background: var(--teal-light); color: var(--teal-dark); }
  .c-teal .beh-signal-new { color: var(--teal); }
  .c-teal .beh-tick { background: var(--teal-light); }
  .c-teal .beh-tick svg { stroke: var(--teal-dark); }

  .c-blue .beh-icon-pill { background: #DBEAFE; }
  .c-blue .beh-icon-pill svg { stroke: #1D4ED8; }
  .c-blue .beh-label-pill { background: #DBEAFE; color: #1D4ED8; }
  .c-blue .beh-signal-new { color: #1D4ED8; }
  .c-blue .beh-tick { background: #DBEAFE; }
  .c-blue .beh-tick svg { stroke: #1D4ED8; }

  .c-purple .beh-icon-pill { background: var(--purple-light); }
  .c-purple .beh-icon-pill svg { stroke: var(--purple-dark); }
  .c-purple .beh-label-pill { background: var(--purple-light); color: var(--purple-dark); }
  .c-purple .beh-signal-new { color: var(--purple); }
  .c-purple .beh-tick { background: var(--purple-light); }
  .c-purple .beh-tick svg { stroke: var(--purple-dark); }

  .c-amber .beh-icon-pill { background: var(--amber-light); }
  .c-amber .beh-icon-pill svg { stroke: var(--amber-dark); }
  .c-amber .beh-label-pill { background: var(--amber-light); color: var(--amber-dark); }
  .c-amber .beh-signal-new { color: var(--amber); }
  .c-amber .beh-tick { background: var(--amber-light); }
  .c-amber .beh-tick svg { stroke: var(--amber-dark); }

  .c-coral .beh-icon-pill { background: #FCE7F3; }
  .c-coral .beh-icon-pill svg { stroke: #9D174D; }
  .c-coral .beh-label-pill { background: #FCE7F3; color: #9D174D; }
  .c-coral .beh-signal-new { color: #9D174D; }
  .c-coral .beh-tick { background: #FCE7F3; }
  .c-coral .beh-tick svg { stroke: #9D174D; }

  .c-orange .beh-icon-pill { background: #FFEDD5; }
  .c-orange .beh-icon-pill svg { stroke: #C2410C; }
  .c-orange .beh-label-pill { background: #FFEDD5; color: #C2410C; }
  .c-orange .beh-signal-new { color: #C2410C; }
  .c-orange .beh-tick { background: #FFEDD5; }
  .c-orange .beh-tick svg { stroke: #C2410C; }


  /* ── NDA STUDY CARD ── */
  .nda-badge { display: inline-flex; align-items: center; font-size: 9px; font-family: var(--mono); letter-spacing: 0.1em; font-weight: 500; padding: 2px 8px; border-radius: 4px; background: var(--amber-light); color: var(--amber-dark); border: 0.5px solid rgba(186,117,23,0.25); }
  .nda-notice { display: flex; align-items: flex-start; gap: 8px; margin-top: 16px; padding: 12px 14px; background: var(--bg-secondary); border-radius: 10px; font-size: 11px; color: var(--text-tertiary); line-height: 1.55; font-family: var(--mono); }
  .nda-notice svg { flex-shrink: 0; margin-top: 1px; stroke: var(--text-tertiary); }


  /* ── CTA LAB SYSTEM — Concept B ── */
  .cta-lab-primary { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; font-family: var(--sans); letter-spacing: 0.01em; padding: 11px 22px; border-radius: 100px; border: none; color: #ffffff; background: var(--teal); cursor: pointer; text-decoration: none; transition: opacity 0.15s, transform 0.15s, box-shadow 0.15s; }
  .cta-lab-primary:hover { opacity: 0.93; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(26,111,168,0.28); }
  /* was --text-tertiary (#999990), which is 2.68:1 on the page background —
     below the 4.5:1 AA minimum for an interactive label. --text-secondary
     keeps the muted, secondary read at 7.0:1. */
  .cta-lab-secondary { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-family: var(--mono); color: var(--text-secondary); background: none; border: none; cursor: pointer; text-decoration: none; transition: color 0.15s; padding: 0; }
  .cta-lab-secondary:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
  .cta-lab-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
  .cta-lab-dot { color: rgba(0,0,0,0.2); font-family: var(--mono); font-size: 11px; }


  /* ── HERO STATUS LINE ── */
  .hero-status { display: flex; align-items: center; gap: 8px; font-size: 11px; font-family: var(--mono); color: var(--text-tertiary); margin-bottom: 20px; letter-spacing: 0.04em; }
  .hero-status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); flex-shrink: 0; }
  .hero-cta-stack { display: flex; flex-direction: column; gap: 12px; align-items: center; }
  .hero-cta-sub { display: flex; align-items: center; gap: 10px; }
  /* Identity bar — tinted background per study */
  .inv-id-bar { padding: 10px 18px; display: flex; align-items: center; justify-content: space-between; border-bottom: 0.5px solid rgba(0,0,0,0.06); }
  .inv-id-bar.inv-h-blue   { background: var(--teal-light); border-bottom-color: rgba(26,111,168,0.15); }
  .inv-id-bar.inv-h-green  { background: #D1FAE5; border-bottom-color: rgba(26,122,74,0.15); }
  .inv-id-bar.inv-h-purple { background: var(--purple-light); border-bottom-color: rgba(83,74,183,0.15); }
  .inv-company { font-size: 11px; font-weight: 600; line-height: 1.1; }
  .inv-company.inv-h-blue   { color: var(--teal-dark); }
  .inv-company.inv-h-green  { color: #065F46; }
  .inv-company.inv-h-purple { color: var(--purple-dark); }
  .inv-company-meta { font-size: 9px; margin-top: 1px; }
  .inv-company-meta.inv-h-blue   { color: rgba(13,74,115,0.6); }
  .inv-company-meta.inv-h-green  { color: rgba(6,95,70,0.6); }
  .inv-company-meta.inv-h-purple { color: rgba(60,52,137,0.6); }
  .inv-status-open { font-size: 9px; padding: 2px 8px; border-radius: 20px; font-weight: 500; letter-spacing: 0.06em; border: 0.5px solid; }
  .inv-status-open.inv-h-blue   { background: rgba(26,111,168,0.1); color: var(--teal-dark); border-color: rgba(26,111,168,0.25); }
  .inv-status-open.inv-h-purple { background: rgba(83,74,183,0.1); color: var(--purple-dark); border-color: rgba(83,74,183,0.2); }
  .inv-status-nda { font-size: 9px; padding: 2px 8px; border-radius: 20px; font-weight: 500; letter-spacing: 0.06em; border: 0.5px solid; }
  .inv-status-nda.inv-h-green   { background: rgba(26,122,74,0.1); color: #065F46; border-color: rgba(26,122,74,0.2); }
  /* Card body */
  .inv-body { padding: 16px 18px; }
  .inv-headline-num { font-size: 34px; font-weight: 700; line-height: 1; margin-bottom: 2px; }
  .inv-headline-num.inv-h-blue   { color: var(--teal); }
  .inv-headline-num.inv-h-green  { color: #1A7A4A; }
  .inv-headline-sub { font-size: 9px; color: var(--text-tertiary); line-height: 1.3; }
  .inv-work-title { font-size: 13px; font-weight: 700; color: var(--text); line-height: 1.2; margin-bottom: 3px; }
  .inv-work-domain { font-size: 9px; color: var(--text-tertiary); }
  .inv-qual-title { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 3px; }
  .inv-qual-domain { font-size: 9px; color: var(--text-tertiary); margin-bottom: 14px; }
  .inv-section-l { font-size: 9px; letter-spacing: 0.12em; color: var(--text-tertiary); text-transform: uppercase; margin-bottom: 6px; }
  .inv-findings { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
  .inv-finding-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; font-size: 11px; color: var(--text-secondary); }
  .inv-badge { font-size: 9px; padding: 2px 6px; border-radius: 4px; font-weight: 500; flex-shrink: 0; white-space: nowrap; }
  .inv-badge.measured   { background: var(--teal-light); color: var(--teal-dark); }
  .inv-badge.projected  { background: var(--amber-light); color: var(--amber-dark); }
  .inv-badge.qualitative{ background: var(--purple-light); color: var(--purple-dark); }
  .inv-divider { height: 0.5px; background: var(--border); margin-bottom: 10px; }
  .inv-method-l { font-size: 9px; letter-spacing: 0.12em; color: var(--text-tertiary); text-transform: uppercase; margin-bottom: 4px; }
  .inv-method-line { font-size: 9px; color: var(--text-tertiary); line-height: 1.5; }
  .inv-footer { padding: 10px 18px; border-top: 0.5px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
  .inv-footer-cta { font-size: 11px; color: var(--teal); font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 4px; }
  .inv-footer-nda { font-size: 9px; color: var(--text-tertiary); display: flex; align-items: center; gap: 6px; }
  .inv-id-bar { padding: 10px 18px; display: flex; align-items: center; justify-content: space-between; border-bottom: 0.5px solid rgba(0,0,0,0.06); }
  .inv-id-bar.inv-h-blue { background: var(--teal-light); border-bottom-color: rgba(26,111,168,0.15); }
  .inv-id-bar.inv-h-green { background: #D1FAE5; border-bottom-color: rgba(26,122,74,0.15); }
  .inv-id-bar.inv-h-purple { background: var(--purple-light); border-bottom-color: rgba(83,74,183,0.15); }
  .inv-company { font-size: 11px; font-weight: 600; line-height: 1.1; }
  .inv-company.inv-h-blue { color: var(--teal-dark); }
  .inv-company.inv-h-green { color: #065F46; }
  .inv-company.inv-h-purple { color: var(--purple-dark); }
  .inv-company-meta { font-size: 9px; margin-top: 1px; }
  .inv-company-meta.inv-h-blue { color: rgba(13,74,115,0.6); }
  .inv-company-meta.inv-h-green { color: rgba(6,95,70,0.6); }
  .inv-company-meta.inv-h-purple { color: rgba(60,52,137,0.6); }
  .inv-status-open { font-size: 9px; padding: 2px 8px; border-radius: 20px; font-weight: 500; letter-spacing: 0.06em; border: 0.5px solid; }
  .inv-status-open.inv-h-blue { background: rgba(26,111,168,0.1); color: var(--teal-dark); border-color: rgba(26,111,168,0.25); }
  .inv-status-open.inv-h-purple { background: rgba(83,74,183,0.1); color: var(--purple-dark); border-color: rgba(83,74,183,0.2); }
  .inv-status-nda { font-size: 9px; padding: 2px 8px; border-radius: 20px; font-weight: 500; letter-spacing: 0.06em; border: 0.5px solid; }
  .inv-status-nda.inv-h-green { background: rgba(26,122,74,0.1); color: #065F46; border-color: rgba(26,122,74,0.2); }
  .inv-body { padding: 16px 18px; }
  .inv-headline-num { font-size: 34px; font-weight: 700; line-height: 1; margin-bottom: 2px; }
  .inv-headline-num.inv-h-blue { color: var(--teal); }
  .inv-headline-num.inv-h-green { color: #1A7A4A; }
  .inv-headline-sub { font-size: 9px; color: var(--text-tertiary); line-height: 1.3; }
  .inv-work-title { font-size: 13px; font-weight: 700; color: var(--text); line-height: 1.2; margin-bottom: 3px; }
  .inv-work-domain { font-size: 9px; color: var(--text-tertiary); }
  .inv-qual-title { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 3px; }
  .inv-qual-domain { font-size: 9px; color: var(--text-tertiary); margin-bottom: 14px; }
  .inv-section-l { font-size: 9px; letter-spacing: 0.12em; color: var(--text-tertiary); text-transform: uppercase; margin-bottom: 6px; }
  .inv-findings { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
  .inv-finding-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; font-size: 11px; color: var(--text-secondary); }
  .inv-badge { font-size: 9px; padding: 2px 6px; border-radius: 4px; font-weight: 500; flex-shrink: 0; white-space: nowrap; }
  .inv-badge.measured { background: var(--teal-light); color: var(--teal-dark); }
  .inv-badge.projected { background: var(--amber-light); color: var(--amber-dark); }
  .inv-badge.qualitative { background: var(--purple-light); color: var(--purple-dark); }
  .inv-divider { height: 0.5px; background: var(--border); margin-bottom: 10px; }
  .inv-method-l { font-size: 9px; letter-spacing: 0.12em; color: var(--text-tertiary); text-transform: uppercase; margin-bottom: 4px; }
  .inv-method-line { font-size: 9px; color: var(--text-tertiary); line-height: 1.5; }
  .inv-footer { padding: 10px 18px; border-top: 0.5px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
  .inv-footer-cta { font-size: 11px; color: var(--teal); font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 4px; }
  .inv-footer-nda { font-size: 9px; color: var(--text-tertiary); display: flex; align-items: center; gap: 6px; }
  .il-card.clickable:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.1); }
  .il-card.il-teal { border-top-color: var(--teal); }
  .il-card.il-teal .il-image { background: var(--teal-light); }
  .il-card.il-teal.clickable:hover { box-shadow: 0 14px 34px -12px rgba(26,111,168,0.38); }
  .il-card.il-amber { border-top-color: var(--amber); }
  .il-card.il-amber .il-image { background: var(--amber-light); }
  .il-card.il-amber.clickable:hover { box-shadow: 0 14px 34px -12px rgba(186,117,23,0.38); }
  .il-card.il-purple { border-top-color: var(--purple); }
  .il-card.il-purple .il-image { background: var(--purple-light); }
  .il-card.il-purple.clickable:hover { box-shadow: 0 14px 34px -12px rgba(83,74,183,0.38); }
  .il-image.tall { height: 320px; }
  .il-image.medium { height: 220px; }
  .il-status.nda { background: rgba(0,0,0,0.5); }
  .il-status.nda .il-dot { background: #999; }
  .il-status.nda .il-status-lbl { color: #fff; }
  .il-pill.purple { background: var(--purple-light); color: var(--purple-dark); }
  .il-pill.blue { background: var(--teal-light); color: var(--teal-dark); }
  .il-pill.amber { background: var(--amber-light); color: var(--amber-dark); }
  .il-pill.green { background: #DCFCE7; color: #14532D; }
  .il-pill.grey { background: var(--bg-secondary); color: var(--text-secondary); }
  .il-td-figma { background: #0ACF83; }
  .il-td-hotjar { background: #FF6C37; }
  .il-td-dovetail { background: #6366F1; }
  .il-td-maze { background: #FF6154; }
  .il-td-miro { background: #FFD02F; }
  .il-td-ga { background: #E37400; }
  .il-td-sheets { background: #0F9D58; }
  .il-tag { font-size: 9px; padding: 3px 9px; border-radius: 20px; background: var(--bg); border: 0.5px solid var(--border); color: var(--text-secondary); font-family: var(--mono); }
  .il-grid .study-full { margin-bottom: 0; }
  .il-grid .il-image.medium { height: 200px; }
  .il-nda-card .il-sub.nda-note { font-style: italic; color: var(--text-tertiary); }

  @media (max-width: 768px) {
    .il-image.tall { height: 220px; }
    .il-image.medium { height: 180px; }
  }


  /* ── BACK TO TOP ── */
  .btt-btn {
    position: fixed;
    bottom: 64px;
    right: 28px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 0.5px solid var(--border);
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 250;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.2s ease;
  }
  .btt-btn.btt-visible {
    opacity: 1;
    pointer-events: auto;
  }
  .btt-btn:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.14);
    transform: translateY(-2px);
  }
  .btt-btn svg {
    width: 16px;
    height: 16px;
    stroke: var(--text-secondary);
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .study-full.inv-card[onclick]:hover { box-shadow: 0 4px 24px rgba(0,0,0,0.1); transform: translateY(-1px); transition: box-shadow 0.2s ease, transform 0.2s ease; }

  .cta-row-centered { display: flex; gap: 12px; justify-content: center; align-items: center; flex-wrap: wrap; }

  .nav .cta-teal, .nav a.cta-teal { color: rgba(248,247,244,0.8); border-color: rgba(248,247,244,0.3); }
  .nav .cta-teal:hover, .nav a.cta-teal:hover { color: #F8F7F4; border-color: rgba(248,247,244,0.6); box-shadow: none; transform: none; }

  /* ── PILL NAV — Option B dark text colours ── */
  .nav-pill-fixed .nav-logo-name { color: #F8F7F4; }
  .nav-pill-fixed .nav-logo-sub  { color: rgba(248,247,244,0.45); }
  .nav-pill-fixed .nav-links button ,.nav-links a  { color: rgba(248,247,244,0.65); }
  .nav-pill-fixed .nav-links button.active ,.nav-links a.active  { background: rgba(26,111,168,0.3); color: #4DA3E0; font-weight: 700; position: relative; }
  .nav-pill-fixed .nav-links button.active::after ,.nav-links a.active::after  { content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%); width: 16px; height: 2px; border-radius: 4px; background: #1A6FA8; }
  .nav-pill-fixed .nav-links button:hover  ,.nav-links a:hover   { color: #4DA3E0; background: rgba(26,111,168,0.15); }
  .nav-pill-fixed .cta-teal, .nav-pill-fixed a.cta-teal { color: rgba(248,247,244,0.8); border-color: rgba(248,247,244,0.3); }
  .nav-pill-fixed .cta-teal:hover, .nav-pill-fixed a.cta-teal:hover { color: #F8F7F4; border-color: rgba(248,247,244,0.6); box-shadow: none; transform: none; }

  /* ══ MOBILE NAV ══ */
  .mob-trigger { display: none; }
  .mob-menu    { display: none; }
  .mob-backdrop { display: none; }

  @media (max-width: 768px) {
    .mob-trigger {
      display: flex; align-items: center; justify-content: center;
      position: fixed; bottom: 28px; right: 20px;
      width: 48px; height: 48px; border-radius: 50%;
      background: #1A1A18; border: none; cursor: pointer;
      z-index: 400;
      box-shadow: 0 4px 20px rgba(0,0,0,0.25), 0 0 0 0.5px rgba(255,255,255,0.08);
      opacity: 0; pointer-events: none; transform: scale(0.85);
      transition: opacity 0.3s cubic-bezier(0.25,0.46,0.45,0.94), transform 0.3s cubic-bezier(0.25,0.46,0.45,0.94);
    }
    .mob-trigger.mob-visible { opacity: 1; pointer-events: auto; transform: scale(1); }
    .mob-trigger svg { width: 20px; height: 20px; stroke: #F8F7F4; stroke-width: 1.8; fill: none; stroke-linecap: round; transition: opacity 0.15s; }
    .mob-trigger .icon-menu  { display: block; }
    .mob-trigger .icon-close { display: none;  }
    .mob-trigger.mob-open .icon-menu  { display: none;  }
    .mob-trigger.mob-open .icon-close { display: block; }

    .mob-backdrop {
      display: block; position: fixed; inset: 0;
      background: rgba(0,0,0,0); z-index: 380;
      pointer-events: none; transition: background 0.3s;
    }
    .mob-backdrop.mob-open { background: rgba(0,0,0,0.4); pointer-events: auto; }

    .mob-menu {
      display: flex; flex-direction: column;
      position: fixed; bottom: 0; left: 0; right: 0;
      z-index: 390; background: #1A1A18;
      border-radius: 20px 20px 0 0; padding: 12px 0 40px;
      box-shadow: 0 -8px 40px rgba(0,0,0,0.35);
      transform: translateY(100%); opacity: 0; pointer-events: none;
      transition: transform 0.35s cubic-bezier(0.25,0.46,0.45,0.94), opacity 0.25s cubic-bezier(0.25,0.46,0.45,0.94);
    }
    .mob-menu.mob-open { transform: translateY(0); opacity: 1; pointer-events: auto; }

    .mob-menu-handle {
      width: 36px; height: 4px; border-radius: 4px;
      background: rgba(248,247,244,0.2); margin: 0 auto 16px;
    }
    .mob-menu-item {
      display: flex; align-items: center; gap: 14px;
      padding: 14px 28px; font-size: 15px; font-weight: 500;
      color: rgba(248,247,244,0.65); background: none; border: none;
      cursor: pointer; font-family: inherit; text-align: left; width: 100%;
      border-bottom: 0.5px solid rgba(248,247,244,0.06);
      transition: color 0.15s, background 0.15s;
    }
    .mob-menu-item:last-of-type { border-bottom: none; }
    .mob-menu-item.active { color: #4DA3E0; }
    .mob-menu-item:hover  { color: #F8F7F4; background: rgba(248,247,244,0.05); }
    .mob-menu-item .item-dot {
      width: 6px; height: 6px; border-radius: 50%;
      background: rgba(248,247,244,0.2); flex-shrink: 0; transition: background 0.15s;
    }
    .mob-menu-item.active .item-dot { background: #4DA3E0; }
    .mob-menu-contact {
      margin: 12px 28px 0;
      display: flex; align-items: center; justify-content: center; gap: 8px;
      padding: 12px; border-radius: 100px; background: rgba(26,111,168,0.2);
      color: #4DA3E0; font-size: 13px; font-weight: 600;
      cursor: pointer; border: none; font-family: inherit; width: calc(100% - 56px);
      transition: background 0.15s;
    }
    .mob-menu-contact:hover { background: rgba(26,111,168,0.3); }

    /* FIX 1 — Hero CTAs stacked */
    .hero-cta-sub { flex-direction: column !important; gap: 10px; width: 100%; align-items: center; }
    .hero-cta-sub .cta-teal, .hero-cta-sub .cta-lab-secondary, .hero-cta-sub .cta-ghost-dark { width: 100%; justify-content: center; }
    .cta-lab-dot { display: none !important; }

    /* FIX 2 — Eyebrow margin */
    .eyebrow { margin-bottom: 10px !important; }

    /* FIX 3 — Studies subtitle */
    .sp-sub { font-size: 13px !important; margin-bottom: 20px !important; }

    /* FIX 5 — Workflow steps stacked */
    .wfc-list { flex-direction: column !important; gap: 0 !important; }
    .wfc-list li { border-bottom: 0.5px solid var(--border) !important; padding: 10px 0 !important; }
    .wfc-list li:last-child { border-bottom: none !important; }
    .wfc-list li::after { display: none !important; }

    /* FIX 6 — Proof bar numbers */
    .pi-num { font-size: 26px !important; }

    /* FIX A — Glance strip: horizontal scroll */
    .fw-glance-grid { display: flex !important; flex-wrap: nowrap !important; overflow-x: auto !important; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
    .fw-glance-grid > * { min-width: 130px !important; flex-shrink: 0 !important; }
    .fw-glance-grid::-webkit-scrollbar { display: none; }

    /* FIX B — Hero behaviour cards: 1 column */
    .beh-hero-row { grid-template-columns: 1fr !important; }

    /* FIX C — Compact cards: 2-col, third spans full */
    .beh-compact-row { grid-template-columns: 1fr 1fr !important; }
    .beh-compact-row > div:last-child { grid-column: 1 / -1 !important; }

    /* FIX D — Workflow: stacked list */
    .wf-grid { display: flex !important; flex-direction: column !important; gap: 0 !important; border: 0.5px solid var(--border); border-radius: 14px; overflow: hidden; }
    .wfc { border-radius: 0 !important; border: none !important; border-bottom: 0.5px solid var(--border) !important; padding: 12px 14px !important; flex-direction: row !important; align-items: center !important; gap: 10px !important; }
    .wfc:last-child { border-bottom: none !important; }
    .wfc-top { margin-bottom: 0 !important; flex-shrink: 0; }
    .wfc-heading { font-size: 11px !important; margin-bottom: 2px !important; }
    .wfc-body { font-size: 9px !important; margin-bottom: 0 !important; }
    .wfc-divider { display: none !important; }
    .wfc-list { display: none !important; }

    /* FIX E — Example cards: 1 col, ex-row stacked */
    .examples-grid { grid-template-columns: 1fr !important; }
    .ex-row { flex-direction: column !important; gap: 4px !important; }
    .ex-label { align-self: flex-start !important; }

    /* BTT — mobile only, left side so it doesn't clash with nav trigger */
    .btt-btn {
      display: flex !important;
      position: fixed;
      bottom: 28px;
      left: 20px;
      right: auto;
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: #1A1A18;
      border: none;
      box-shadow: 0 4px 16px rgba(0,0,0,0.2), 0 0 0 0.5px rgba(255,255,255,0.08);
      z-index: 390;
    }
    .btt-btn svg {
      stroke: #F8F7F4;
    }
  }

  .mob-hamburger { display: none; }

  /* ── CONTACT-DARK + FW-SUMMARY — boosted contrast on G7 gradient ── */
  .contact-dark .cta-ghost-dark {
    color: #6DC0F0;
    border-color: rgba(109,192,240,0.5);
  }
  .contact-dark .cta-ghost-dark:hover { border-color: rgba(109,192,240,0.7); }
  .contact-dark .contact-ey {
    color: rgba(248,247,244,0.65);
  }
  .fw-summary .fw-formula-op {
    color: #6DC0F0;
  }
  .fw-summary .fw-sum-ey {
    color: rgba(248,247,244,0.65);
  }
  .fw-origin p { font-size: 15px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 16px; max-width: 68ch; }
  .fw-origin p:last-child { margin-bottom: 0; }
  .fw-origin em { font-style: italic; color: var(--text); }
  .fw-compare { border: 0.5px solid var(--border); border-radius: 14px; overflow: hidden; margin-top: 18px; background: var(--bg-card); }
  .fw-compare-row { display: grid; grid-template-columns: 1fr 1.35fr; gap: 0; border-bottom: 0.5px solid var(--border); }
  .fw-compare-row:last-child { border-bottom: none; }
  .fw-compare-row > div { padding: 15px 20px; font-size: 13px; line-height: 1.55; }
  .fw-compare-row > div:first-child { color: var(--text-tertiary); border-right: 0.5px solid var(--border); }
  .fw-compare-row > div:last-child { color: var(--text-secondary); }
  .fw-compare-row b { color: var(--text); font-weight: 600; }
  .fw-compare-head > div { font-size: 9px !important; letter-spacing: 0.11em; text-transform: uppercase; font-family: var(--mono); font-weight: 700; background: var(--bg-secondary); }
  .fw-compare-head > div:last-child { color: var(--teal-dark) !important; }
  .fw-limits { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-top: 18px; }
  .fw-limit { background: var(--bg-card); border: 0.5px solid var(--border); border-left: 3px solid var(--amber); border-radius: 14px; padding: 20px; }
  .fw-limit-t { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 9px; line-height: 1.35; }
  .fw-limit-b { font-size: 13px; color: var(--text-secondary); line-height: 1.65; }
  @media (max-width: 860px) { .fw-compare-row { grid-template-columns: 1fr; } .fw-compare-row > div:first-child { border-right: none; border-bottom: 0.5px solid var(--border); } }
  .fw-artefact { margin-top: 14px; padding-top: 12px; border-top: 0.5px solid var(--border); font-size: 11px; color: var(--text); font-weight: 600; line-height: 1.5; }
  .fw-artefact span { display: block; font-size: 9px; letter-spacing: 0.11em; text-transform: uppercase; font-family: var(--mono); font-weight: 700; color: var(--teal); margin-bottom: 4px; }
  .fw-summary .cta-teal,
  .fw-summary .cta-ghost-dark {
    color: #6DC0F0;
    border-color: rgba(109,192,240,0.5);
  }

  /* ══════════════════════════════════════════════════════════════
     CASE STUDY FULL PAGE — rail nav + ATF hero + bento + content
     (replaces the old side-panel drawer)
  ══════════════════════════════════════════════════════════════ */
  .cs-ph { background: repeating-linear-gradient(135deg, rgba(0,0,0,0.035), rgba(0,0,0,0.035) 8px, transparent 8px, transparent 16px), var(--bg-card); border: 1px dashed var(--border-hover); border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--text-tertiary); text-align: center; padding: 12px; }
  .cs-ph-label { font-size: 11px; font-family: var(--mono); }
  .cs-ph-sub { font-size: 9px; opacity: 0.7; }

  .cs-atf-hero { position: relative; width: 100%; height: 58vh; min-height: 380px; max-height: 560px; overflow: hidden; }
  .cs-atf-hero .cs-ph { position: absolute; inset: 0; border-radius: 0; border: none; height: 100%; }
  .cs-hero-overlay { position: absolute; inset: 0; z-index: 4; pointer-events: none; background: linear-gradient(180deg, rgba(26,26,24,0) 35%, rgba(26,26,24,0.55) 78%, rgba(26,26,24,0.86) 100%); display: flex; align-items: flex-end; }
  .cs-hero-overlay a, .cs-hero-overlay button { pointer-events: auto; }
  /* dim the footage itself — video frames vary in brightness, so a flat dim layer
     is more reliable than relying on the gradient scrim alone */
  .cs-hero-video::after {
    content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
    background: rgba(14,14,10,0.42);
  }
  /* over a video hero the background is moving and light, so the title needs a
     stronger, taller scrim plus a soft shadow to stay legible */
  .cs-atf-hero.has-video .cs-hero-overlay {
    background:
      linear-gradient(180deg, rgba(14,14,10,0.55) 0%, rgba(14,14,10,0.2) 30%, rgba(14,14,10,0.72) 66%, rgba(14,14,10,0.96) 100%);
  }
  .cs-atf-hero.has-video .cs-h1 { text-shadow: 0 2px 28px rgba(0,0,0,0.85), 0 1px 4px rgba(0,0,0,0.7); }
  .cs-atf-hero.has-video .cs-eyebrow { color: #9BDCFA; text-shadow: 0 1px 12px rgba(0,0,0,0.9); }
  .cs-atf-hero.has-video .cs-tag { background: rgba(14,14,10,0.62); border-color: rgba(255,255,255,0.34); text-shadow: 0 1px 4px rgba(0,0,0,0.6); }
  .cs-hero-inner { max-width: 1560px; margin: 0 auto; width: 100%; padding: 0 48px 40px; }
  .cs-tags { display: flex; gap: 8px; margin-bottom: 16px; }
  .cs-tag { font-size: 11px; font-weight: 600; padding: 5px 13px; border-radius: 100px; background: rgba(255,255,255,0.14); color: #fff; backdrop-filter: blur(6px); border: 0.5px solid rgba(255,255,255,0.2); }
  .cs-eyebrow { font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; font-family: var(--mono); color: #6FC3EE; margin-bottom: 10px; }
  .cs-h1 { font-family: var(--serif); font-size: 34px; font-weight: 500; color: #F8F7F4; line-height: 1.14; max-width: 720px; }
  .cs-h1 em { font-style: italic; color: #6FC3EE; }

  .cs-layout { display: grid; grid-template-columns: 280px 1fr; max-width: 1560px; margin: 0 auto; }

  .cs-rail { position: sticky; top: 0; align-self: start; height: 100vh; padding: 40px 28px; display: flex; flex-direction: column; justify-content: space-between; border-right: 0.5px solid var(--border); }
  .cs-rail-back { font-size: 11px; font-family: var(--mono); color: var(--text-secondary); text-decoration: none; display: block; margin-bottom: 32px; background: none; border: none; cursor: pointer; padding: 0; }
  .cs-rail-eyebrow { font-size: 9px; letter-spacing: 0.12em; color: var(--teal); font-family: var(--mono); text-transform: uppercase; margin-bottom: 10px; }
  .cs-rail-title { font-size: 20px; font-weight: 500; font-family: var(--serif); line-height: 1.3; margin-bottom: 22px; }
  .cs-rail-meta { display: flex; flex-direction: column; gap: 12px; margin-bottom: 30px; }
  .cs-rail-meta-lab { font-size: 9px; letter-spacing: 0.08em; color: var(--text-tertiary); font-family: var(--mono); text-transform: uppercase; margin-bottom: 2px; }
  .cs-rail-meta-val { font-size: 13px; color: var(--text); }
  .cs-rail-nav { display: flex; flex-direction: column; gap: 2px; }
  .cs-rail-nav a { font-size: 13px; color: var(--text-tertiary); text-decoration: none; padding: 7px 10px; border-left: 2px solid transparent; margin-left: -1px; }
  .cs-rail-nav a:hover { color: var(--teal); border-left-color: rgba(26,111,168,0.4); }
  .cs-rail-bottom-stats { display: flex; gap: 14px; padding-top: 18px; border-top: 0.5px solid var(--border); }
  .cs-rail-stat-val { font-size: 15px; font-family: var(--mono); font-weight: 500; color: var(--teal); }
  .cs-rail-stat-lab { font-size: 9px; color: var(--text-tertiary); }

  .cs-content { padding: 48px 48px 0; }
  .cs-lede { font-size: 17px; color: var(--text-secondary); line-height: 1.65; margin-bottom: 36px; max-width: 720px; }

  /* ── INFLUENCE MOMENT — the "how I changed the decision" story, mid-page ── */
  .cs-influence { display: none; margin: 0 0 56px; padding: 30px 34px; border-radius: 14px; background: linear-gradient(100deg, var(--purple-light), #F7F6FE); border-left: 4px solid var(--purple); }
  .cs-influence.on { display: block; }
  .cs-influence-lab { font-size: 9px; letter-spacing: 0.13em; text-transform: uppercase; font-family: var(--mono); font-weight: 700; color: var(--purple-dark); margin-bottom: 12px; }
  .cs-influence-txt { font-family: var(--serif); font-size: 20px; line-height: 1.55; color: var(--text); max-width: 68ch; }
  .cs-future-list { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-direction: column; gap: 12px; }
  .cs-future-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--text-secondary); line-height: 1.6; max-width: 70ch; }
  .cs-future-list li::before { content: '→'; color: var(--teal); font-family: var(--mono); flex-shrink: 0; }

  /* ── RESEARCH SNAPSHOT — answers the recruiter's first-minute checklist ── */
  .cs-snap { display: none; background: var(--bg-card); border: 0.5px solid var(--border); border-left: 3px solid var(--teal); border-radius: 14px; padding: 22px 26px; margin-bottom: 40px; }
  .cs-snap.on { display: block; }
  .cs-snap-lab { font-size: 9px; letter-spacing: 0.13em; text-transform: uppercase; font-family: var(--mono); font-weight: 700; color: var(--teal); margin-bottom: 16px; }
  .cs-snap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px 26px; }
  .cs-snap-row { display: flex; flex-direction: column; gap: 4px; }
  .cs-snap-row.wide { grid-column: 1 / -1; }
  .cs-snap-k { font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; font-family: var(--mono); font-weight: 700; color: var(--text-tertiary); }
  .cs-snap-v { font-size: 13px; color: var(--text); line-height: 1.55; }
  .cs-snap-v em { font-style: normal; color: var(--text-secondary); }
  .cs-snap-constraints { margin-top: 18px; padding-top: 16px; border-top: 0.5px solid var(--border); }
  .cs-snap-constraints .cs-snap-v { color: var(--text-secondary); font-size: 13px; }

  .cs-bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 76px; gap: 10px; margin-bottom: 52px; }
  .cs-tile { background: var(--bg-card); border: 0.5px solid var(--border); border-radius: 14px; padding: 18px; position: relative; overflow: hidden; }
  .cs-tile:hover { border-color: var(--border-hover); }
  .cs-tile-hero { grid-column: span 3; grid-row: span 4; padding: 0; }
  .cs-tile-hero .cs-ph { height: 100%; border-radius: 14px; }
  .cs-tile-ring { grid-column: span 3; grid-row: span 4; background: var(--text); color: #fff; display: flex; flex-direction: column; justify-content: space-between; border-radius: 14px; padding: 18px; }
  .cs-tile-problem { grid-column: span 3; grid-row: span 2; border-left: 3px solid var(--amber); padding: 15px 18px; }
  .cs-tile-solution { grid-column: span 3; grid-row: span 2; border-left: 3px solid var(--purple); padding: 15px 18px; }
  .cs-tile-lab { font-size: 9px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-tertiary); margin-bottom: 8px; }
  .cs-tile-ring .cs-tile-lab { color: rgba(255,255,255,0.4); }
  .cs-tile-problem .cs-tile-lab { color: var(--amber-dark); }
  .cs-tile-solution .cs-tile-lab { color: var(--purple-dark); }
  .cs-tile-problem .cs-tile-lab, .cs-tile-solution .cs-tile-lab { margin-bottom: 6px; }
  .cs-tile-title { font-size: 13px; font-weight: 600; line-height: 1.35; margin-bottom: 6px; }
  .cs-tile-desc { font-size: 11px; color: var(--text-secondary); line-height: 1.5; }
  .cs-ring-wrap { display: flex; justify-content: center; padding: 4px 0; }
  .cs-ring-num { font-size: 26px; font-weight: 600; text-align: center; }
  .cs-ring-cap { font-size: 11px; color: rgba(255,255,255,0.5); text-align: center; }

  .cs-block { padding-bottom: 56px; }
  .cs-num { font-size: 11px; font-family: var(--mono); color: var(--teal); margin-bottom: 8px; }
  .cs-h2 { font-size: 26px; font-weight: 500; font-family: var(--serif); margin-bottom: 18px; line-height: 1.25; }
  .cs-p { font-size: 15px; color: var(--text-secondary); line-height: 1.85; margin-bottom: 0; max-width: 720px; }

  /* Reuse existing .panel-fb-grid / .panel-cmp / .panel-dgrid / .panel-out-grid / .panel-rat
     but size them up slightly since they're now the main content, not a narrow drawer */
  .cs-content .panel-fb-grid, .cs-content .panel-out-grid { grid-template-columns: repeat(3, minmax(0,1fr)); margin-top: 8px; }
  .cs-content .panel-dgrid { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); margin-top: 8px; }
  /* ── DECISION TRACE — compact, high-contrast: the section that should stand out ── */
  .dt-panel { background: var(--text); border-radius: 14px; padding: 26px 26px 28px; margin-top: 8px; position: relative; overflow: hidden; }
  .dt-panel::before { content: ''; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(560px 260px at 88% -20%, rgba(111,195,238,0.18), transparent 62%),
                radial-gradient(420px 220px at 5% 110%, rgba(240,177,92,0.14), transparent 62%); }
  .dt-panel-hd { position: relative; z-index: 1; display: flex; align-items: baseline; gap: 10px; margin-bottom: 18px; }
  .dt-panel-hd b { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; font-family: var(--mono); color: #C9C0FF; font-weight: 700; }
  .dt-panel-hd span { font-size: 11px; color: rgba(248,247,244,0.45); }
  .dt-list { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 10px; }
  .dt-row { background: rgba(255,255,255,0.05); border: 0.5px solid rgba(255,255,255,0.1); border-radius: 14px; padding: 14px 16px; transition: background 0.15s ease, border-color 0.15s ease; }
  .dt-row:hover { background: rgba(255,255,255,0.09); border-color: rgba(167,156,255,0.5); }
  .dt-top { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; }
  .dt-num { font-family: var(--mono); font-size: 9px; font-weight: 700; color: #fff; background: #A79CFF; padding: 2px 7px; border-radius: 20px; flex-shrink: 0; }
  .dt-ev { font-size: 11px; color: #F0B15C; font-family: var(--mono); line-height: 1.3; }
  .dt-title { font-size: 13px; font-weight: 600; color: #F8F7F4; line-height: 1.4; }
  .dt-result { font-size: 11px; font-family: var(--mono); color: #8FE3B4; line-height: 1.45; margin-top: 9px; padding-top: 8px; border-top: 0.5px solid rgba(255,255,255,0.12); }

  @media (max-width: 860px) {
    .dt-panel { padding: 20px 18px 22px; }
    .dt-list { grid-template-columns: 1fr; }
  }



  /* ── WORK IN PROGRESS — make unfinished studies obvious at a glance ── */
  .cs-wip { display: none; }
  .cs-wip.on { display: block; }
  .cs-wip-inner {
    background: linear-gradient(100deg, var(--amber-light), #FDF6E9);
    border: 1px solid rgba(186,117,23,0.35); border-left: 4px solid var(--amber);
    border-radius: 14px; padding: 18px 22px; margin-bottom: 30px;
    display: flex; gap: 15px; align-items: flex-start;
  }
  .cs-wip-icon { width: 34px; height: 34px; border-radius: 10px; background: var(--amber); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .cs-wip-icon svg { width: 18px; height: 18px; }
  .cs-wip-ttl { font-size: 15px; font-weight: 700; color: var(--amber-dark); margin-bottom: 4px; letter-spacing: 0.01em; }
  .cs-wip-txt { font-size: 13px; color: #7a5416; line-height: 1.6; max-width: 720px; }
  .cs-wip-steps { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
  .cs-wip-step { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-family: var(--mono); padding: 4px 10px; border-radius: 20px; background: rgba(255,255,255,0.75); color: #7a5416; border: 0.5px solid rgba(186,117,23,0.25); }
  .cs-wip-step.done { color: #14532D; background: #DCFCE7; border-color: rgba(22,163,74,0.3); }
  .cs-wip-step i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; display: block; }

  /* diagonal hazard stripes on placeholder device frames for WIP studies */
  .ws-device-ph.wip-ph {
    background:
      repeating-linear-gradient(45deg, rgba(186,117,23,0.14), rgba(186,117,23,0.14) 12px, transparent 12px, transparent 24px),
      var(--bg-secondary);
    border: 1px dashed rgba(186,117,23,0.45);
    color: var(--amber-dark); font-weight: 600; gap: 8px;
  }
  .ws-device-ph.wip-ph .wip-ph-tag { font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; background: var(--amber); color: #fff; padding: 4px 10px; border-radius: 20px; font-family: var(--mono); }


  /* ── CASE STUDY VIDEO HERO — video replaces the hero image ── */
  .cs-hero-video {
    position: absolute; inset: 0; z-index: 1; overflow: hidden;
    /* ambient wash behind the video so any uncovered edge reads as part of the
       site rather than as black letterboxing */
    background:
      radial-gradient(120% 100% at 50% 0%, rgba(26,111,168,0.22), transparent 60%),
      radial-gradient(120% 100% at 50% 100%, rgba(83,74,183,0.18), transparent 60%),
      #14140F;
  }
  /* size the player to COVER the hero: driven off width, but never shorter or
     narrower than the box, so it always fills edge to edge */
  .cs-hero-video iframe, .cs-hero-video #cs-yt-player {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 100%; height: 56.25vw;
    min-height: 100%; min-width: 178vh;
    border: 0; pointer-events: none;   /* clicks handled by the layer below */
  }
  /* transparent layer over the whole hero — click anywhere to play/pause */
  .cs-hero-click { position: absolute; inset: 0; z-index: 3; cursor: pointer; background: none; border: none; padding: 0; }
  .cs-hero-toggle {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.8);
    width: 74px; height: 74px; border-radius: 50%;
    background: rgba(20,20,15,0.55); backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.25); color: #fff;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.35s ease, transform 0.35s ease;
    pointer-events: none; z-index: 4;
  }
  .cs-hero-toggle svg { width: 26px; height: 26px; }
  /* show the icon while paused, or briefly on hover */
  .cs-atf-hero.is-paused .cs-hero-toggle,
  .cs-hero-click:hover ~ .cs-hero-toggle { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  .cs-hero-poster { position: absolute; inset: 0; display: block; cursor: pointer; }
  .cs-hero-poster img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
  .cs-hero-play {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 68px; height: 68px; border-radius: 50%;
    background: rgba(255,255,255,0.95); color: #1A1A18;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.35); transition: transform 0.18s ease;
    border: none; cursor: pointer;
  }
  .cs-hero-poster:hover .cs-hero-play { transform: translate(-50%, -50%) scale(1.08); }
  .cs-hero-play svg { width: 28px; height: 28px; margin-left: 3px; }
  .cs-hero-video-badge {
    position: absolute; top: 18px; right: 18px; z-index: 5;
    display: flex; align-items: center; gap: 7px;
    background: rgba(14,14,10,0.72); backdrop-filter: blur(8px);
    border: 0.5px solid rgba(255,255,255,0.28); border-radius: 100px;
    padding: 6px 13px; font-size: 11px; font-family: var(--mono);
    letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.92);
  }
  .cs-hero-video-badge i { width: 6px; height: 6px; border-radius: 50%; background: #6FC3EE; display: block; animation: csPulse 2s ease-in-out infinite; }
  @keyframes csPulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

  /* ── WORK TYPE — separates commissioned client work from explorations ── */
  .wt-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 9px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; font-family: var(--mono); padding: 3px 9px; border-radius: 20px; white-space: nowrap; }
  .wt-badge i { width: 5px; height: 5px; border-radius: 50%; display: block; }
  .wt-client { background: #DCFCE7; color: #14532D; }
  .wt-client i { background: #16A34A; }
  .wt-self { background: var(--purple-light); color: var(--purple-dark); }
  .wt-self i { background: var(--purple); }
  /* dark contexts (case study hero) */
  .cs-tags .wt-badge { padding: 5px 11px; font-size: 9px; }
  .wt-badge.wt-wip { background: var(--amber-light); color: var(--amber-dark); }
  .wt-badge.wt-wip i { background: var(--amber); }
  .cs-tags .wt-wip { background: rgba(186,117,23,0.28); color: #F5CE94; border: 0.5px solid rgba(245,206,148,0.4); }
  .cs-mini-tags .wt-wip { background: rgba(186,117,23,0.34); color: #F8DCB0; border: 0.5px solid rgba(248,220,176,0.42); }
  .cs-tags .wt-client { background: rgba(22,163,74,0.22); color: #A7F3C0; border: 0.5px solid rgba(167,243,192,0.35); }
  .cs-tags .wt-self { background: rgba(167,156,255,0.2); color: #C9C0FF; border: 0.5px solid rgba(201,192,255,0.35); }
  .cs-mini-tags .wt-client { background: rgba(22,163,74,0.3); color: #C6F6D5; border: 0.5px solid rgba(167,243,192,0.4); }
  .cs-mini-tags .wt-self { background: rgba(167,156,255,0.28); color: #DDD8FF; border: 0.5px solid rgba(201,192,255,0.4); }

  .sp-group { margin: 44px 0 20px; }
  .sp-group:first-of-type { margin-top: 20px; }
  .sp-group-hd { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; flex-wrap: wrap; }
  .sp-group-title { font-family: var(--serif); font-size: 20px; font-weight: 500; color: var(--text); }
  .sp-group-sub { font-size: 13px; color: var(--text-secondary); line-height: 1.6; max-width: 620px; }


  /* ── DEVICE FRAMES — wrap comparison screenshots in desktop/mobile chrome ── */
  .dev { border-radius: 10px; overflow: hidden; }
  /* desktop: browser chrome with traffic lights + address bar */
  .dev-desktop { background: #2A2A28; border-radius: 10px; padding: 0 0 6px; box-shadow: 0 10px 26px -12px rgba(0,0,0,0.35); }
  .dev-desktop-bar { display: flex; align-items: center; gap: 7px; padding: 9px 12px; }
  .dev-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
  .dev-dot.r { background: #FF5F57; }
  .dev-dot.y { background: #FEBC2E; }
  .dev-dot.g { background: #28C840; }
  .dev-url { flex: 1; margin-left: 8px; background: rgba(255,255,255,0.1); border-radius: 4px; height: 18px; display: flex; align-items: center; padding: 0 9px; font-family: var(--mono); font-size: 9px; color: rgba(255,255,255,0.55); overflow: hidden; white-space: nowrap; }
  .dev-desktop-screen { margin: 0 6px; border-radius: 4px; overflow: hidden; background: #fff; }
  .dev-desktop-screen img { width: 100%; display: block; }
  /* mobile: phone body with notch */
  .dev-mobile { background: #1A1A18; border-radius: 14px; padding: 9px; box-shadow: 0 12px 28px -12px rgba(0,0,0,0.4); max-width: 260px; margin: 0 auto; position: relative; }
  .dev-mobile-notch { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 78px; height: 16px; background: #1A1A18; border-radius: 0 0 11px 11px; z-index: 2; }
  .dev-mobile-screen { border-radius: 14px; overflow: hidden; background: #fff; position: relative; }
  .dev-mobile-screen img { width: 100%; display: block; }
  .dev-mobile-bar { position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%); width: 82px; height: 3.5px; border-radius: 20px; background: rgba(0,0,0,0.28); z-index: 2; }
  .dev-cap { text-align: center; font-size: 9px; font-family: var(--mono); color: var(--text-tertiary); letter-spacing: 0.07em; text-transform: uppercase; margin-top: 8px; }

  /* ── DESIGN ANNOTATIONS — sticky notes calling out what changed ── */
  .cmp-block { margin-bottom: 34px; }
  .cmp-hd { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
  .cmp-hd-lab { font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; font-family: var(--mono); color: var(--text-tertiary); }
  .cmp-count { font-size: 9px; font-family: var(--mono); font-weight: 700; color: var(--teal-dark); background: var(--teal-light); padding: 3px 9px; border-radius: 20px; }
  .notes-hd { display: flex; align-items: center; gap: 8px; margin: 20px 0 14px; }
  .notes-hd-txt { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; font-family: var(--mono); font-weight: 700; color: var(--text-secondary); }
  .notes-hd-line { flex: 1; height: 0.5px; background: var(--border); }
  .notes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 16px; }
  .note {
    position: relative; border-radius: 4px; padding: 30px 16px 16px;
    box-shadow: 0 6px 16px -6px rgba(0,0,0,0.28), 0 1px 2px rgba(0,0,0,0.12);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
  }
  .note:nth-child(odd) { transform: rotate(-0.9deg); }
  .note:nth-child(even) { transform: rotate(0.7deg); }
  .note:hover { transform: rotate(0deg) translateY(-4px) scale(1.02); box-shadow: 0 14px 26px -8px rgba(0,0,0,0.3); z-index: 2; }
  .note-pin { position: absolute; top: -11px; left: 14px; width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 11px; font-weight: 700; color: #fff; box-shadow: 0 3px 7px rgba(0,0,0,0.28); }
  .note-title { font-size: 13px; font-weight: 700; line-height: 1.3; margin-bottom: 6px; }
  .note-body { font-size: 11px; line-height: 1.5; }
  /* change notes — teal, what was done */
  .note.n-change { background: #DCEEF9; }
  .note.n-change .note-pin { background: var(--teal); }
  .note.n-change .note-title { color: var(--teal-dark); }
  .note.n-change .note-body { color: #235a80; }
  /* issue notes — amber, what was wrong */
  .note.n-issue { background: #FAEEDA; }
  .note.n-issue .note-pin { background: var(--amber); }
  .note.n-issue .note-title { color: var(--amber-dark); }
  .note.n-issue .note-body { color: #7a5416; }

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


  /* ── PROJECTED OUTCOMES — explicitly framed as hypotheses, not measured results ── */
  .po-note { display: flex; align-items: flex-start; gap: 10px; background: var(--amber-light); border: 0.5px solid rgba(186,117,23,0.3); border-radius: 14px; padding: 12px 15px; margin: 0 0 14px; }
  .po-note svg { width: 15px; height: 15px; color: var(--amber-dark); flex-shrink: 0; margin-top: 1px; }
  .po-note-txt { font-size: 13px; color: var(--amber-dark); line-height: 1.5; }
  .po-note-txt b { font-weight: 700; }
  .po-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 12px; margin-top: 0; }
  .po-card { background: var(--bg-card); border: 0.5px solid var(--border); border-radius: 14px; padding: 18px 18px 0; display: flex; flex-direction: column; overflow: hidden; }
  .po-status { display: inline-flex; align-items: center; gap: 5px; font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; font-family: var(--mono); font-weight: 700; color: var(--amber-dark); background: var(--amber-light); padding: 3px 8px; border-radius: 20px; align-self: flex-start; margin-bottom: 12px; }
  .po-status i { width: 5px; height: 5px; border-radius: 50%; background: var(--amber); display: block; }
  .po-card.po-validated .po-status { color: #14532D; background: #DCFCE7; }
  .po-card.po-validated .po-status i { background: #16A34A; }
  .po-note.po-note-validated { background: #DCFCE7; border-color: rgba(22,163,74,0.3); }
  .po-note.po-note-validated svg, .po-note.po-note-validated .po-note-txt { color: #14532D; }
  .po-val { font-family: var(--serif); font-size: 34px; font-weight: 700; line-height: 1; color: var(--teal); margin-bottom: 8px; }
  .po-card.po-a .po-val { color: var(--amber-dark); }
  .po-card.po-p .po-val { color: var(--purple); }
  .po-label { font-size: 13px; color: var(--text-secondary); line-height: 1.55; padding-bottom: 16px; flex: 1; }
  .po-guard { margin: 0 -18px; padding: 11px 18px; background: var(--amber-light); border-top: 0.5px solid rgba(186,117,23,0.25); font-size: 11px; color: #7a5416; line-height: 1.5; }
  .po-guard span { display: block; font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; font-family: var(--mono); font-weight: 700; color: var(--amber-dark); margin-bottom: 3px; }
  .po-valid { border-top: 0.5px solid var(--border); background: var(--bg-secondary); margin: 0 -18px; padding: 11px 18px; display: flex; align-items: flex-start; gap: 7px; }
  .po-valid svg { width: 13px; height: 13px; color: var(--text-tertiary); flex-shrink: 0; margin-top: 1px; }
  .po-valid-txt { font-size: 11px; color: var(--text-tertiary); line-height: 1.45; }
  .po-valid-txt b { color: var(--text-secondary); font-weight: 600; }

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


  /* ── ALTERNATIVES / TRADE-OFFS ── */
  .alt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; margin-top: 12px; }
  .alt-card { background: var(--bg-card); border: 0.5px solid var(--border); border-left: 3px solid var(--purple); border-radius: 14px; padding: 18px 20px; }
  .alt-id { font-family: var(--mono); font-size: 11px; font-weight: 700; color: var(--purple); margin-bottom: 12px; }
  .alt-chose, .alt-row, .alt-cost { font-size: 13px; line-height: 1.55; margin-bottom: 12px; }
  .alt-chose { color: var(--text); font-weight: 600; }
  .alt-row { color: var(--text-secondary); }
  .alt-cost { color: #7a5416; background: var(--amber-light); margin: 0 -20px -18px; padding: 12px 20px 14px; border-top: 0.5px solid rgba(186,117,23,0.2); }
  .alt-chose span, .alt-row span, .alt-cost span { display: block; font-size: 9px; letter-spacing: 0.11em; text-transform: uppercase; font-family: var(--mono); font-weight: 700; color: var(--text-tertiary); margin-bottom: 4px; }
  .alt-cost span { color: var(--amber-dark); }

  /* ── PRIORITISATION MATRIX ── */
  .prio-wrap { overflow-x: auto; margin-top: 14px; }
  .prio-table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 620px; }
  .prio-table th { text-align: left; font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; font-family: var(--mono); color: var(--text-tertiary); font-weight: 700; padding: 0 14px 10px 0; border-bottom: 0.5px solid var(--border); }
  .prio-table td { padding: 14px 14px 14px 0; border-bottom: 0.5px solid var(--border); vertical-align: middle; }
  .prio-name { color: var(--text-secondary); }
  .prio-name b { font-family: var(--mono); color: var(--text); margin-right: 6px; }
  .prio-p { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 20px; font-family: var(--mono); }
  .prio-high { background: #DCFCE7; color: #14532D; }
  .prio-medium { background: var(--amber-light); color: var(--amber-dark); }
  .prio-low { background: var(--bg-secondary); color: var(--text-tertiary); }
  .prio-order { font-family: var(--mono); font-size: 17px; font-weight: 700; color: var(--teal); }

  /* ── RISKS ── */
  .risk-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; margin-top: 12px; }
  .risk-card { background: var(--bg-card); border: 0.5px solid var(--border); border-left: 3px solid var(--amber); border-radius: 14px; padding: 16px 18px; }
  .risk-id { font-size: 9px; font-family: var(--mono); font-weight: 700; color: var(--amber-dark); margin-bottom: 8px; }
  .risk-t { font-size: 13px; color: var(--text); line-height: 1.55; margin-bottom: 12px; }
  .risk-alt { font-size: 11px; color: var(--text-secondary); line-height: 1.5; padding-top: 10px; border-top: 0.5px solid var(--border); }
  .risk-alt span { display: block; font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; font-family: var(--mono); font-weight: 700; color: var(--text-tertiary); margin-bottom: 4px; }

  /* ── EVIDENCE CARDS — visual findings in Discover & Define ── */
  .ev-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; margin-top: 8px; }
  .ev-card { background: var(--bg-card); border: 0.5px solid var(--border); border-left: 3px solid var(--teal); border-top: 0.5px solid var(--border); border-radius: 14px; padding: 20px 20px 22px; display: flex; flex-direction: column; }
  .ev-card.ev-amber { border-top-color: var(--amber); }
  .ev-card.ev-purple { border-top-color: var(--purple); }
  .ev-top { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
  .ev-icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: var(--teal-light); color: var(--teal-dark); }
  .ev-card.ev-amber .ev-icon { background: var(--amber-light); color: var(--amber-dark); }
  .ev-card.ev-purple .ev-icon { background: var(--purple-light); color: var(--purple-dark); }
  .ev-icon svg { width: 18px; height: 18px; }
  .ev-stat { font-family: var(--mono); font-size: 26px; font-weight: 700; color: var(--teal); line-height: 1; }
  .ev-card.ev-amber .ev-stat { color: var(--amber-dark); }
  .ev-card.ev-purple .ev-stat { color: var(--purple); }
  .ev-stat-cap { font-size: 11px; color: var(--text-tertiary); margin-top: 3px; letter-spacing: 0.03em; }
  /* dot meter — "7 of 8 participants" */
  .ev-dots { display: flex; gap: 5px; margin-bottom: 14px; }
  .ev-dot { width: 100%; height: 7px; border-radius: 20px; background: var(--border); }
  .ev-dot.on { background: var(--teal); }
  .ev-card.ev-amber .ev-dot.on { background: var(--amber); }
  .ev-card.ev-purple .ev-dot.on { background: var(--purple); }
  /* bar meter — percentages */
  .ev-bar { height: 7px; border-radius: 20px; background: var(--border); overflow: hidden; margin-bottom: 14px; }
  .ev-bar-fill { height: 100%; border-radius: 20px; background: var(--teal); }
  .ev-card.ev-amber .ev-bar-fill { background: var(--amber); }
  .ev-card.ev-purple .ev-bar-fill { background: var(--purple); }
  .ev-quote { font-family: var(--serif); font-style: italic; font-size: 15px; line-height: 1.55; color: var(--text); border-left: 2px solid var(--teal); padding: 2px 0 2px 14px; margin: 16px 0 0; }
  .ev-quote cite { display: block; font-family: var(--mono); font-style: normal; font-size: 11px; color: var(--text-tertiary); margin-top: 8px; letter-spacing: 0.04em; }
  .ev-principle { margin-top: 16px; padding-top: 14px; border-top: 0.5px solid var(--border); font-size: 13px; color: var(--text-secondary); line-height: 1.55; }
  .ev-principle span { display: block; font-size: 9px; letter-spacing: 0.11em; text-transform: uppercase; font-family: var(--mono); font-weight: 700; color: var(--text-tertiary); margin-bottom: 5px; }
  .ev-principle b { color: var(--text); font-weight: 700; display: block; margin-bottom: 3px; }
  .ev-conf { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 9px; font-family: var(--mono); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 10px; border-radius: 20px; }
  .ev-conf i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
  .ev-conf-high { background: #DCFCE7; color: #14532D; }
  .ev-conf-medium { background: var(--amber-light); color: var(--amber-dark); }
  .ev-title { font-size: 15px; font-weight: 600; line-height: 1.35; margin-bottom: 8px; color: var(--text); }
  .ev-body { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

  .cs-content .panel-fb { padding: 16px 18px; border-radius: 14px; }  .cs-content .panel-fb-title { font-size: 13px; }
  .cs-content .panel-fb-body { font-size: 13px; }
  .cs-content .panel-cmp { margin-top: 8px; }
  .cs-content .panel-mi { font-size: 13px; }
  .cs-content .panel-out { padding: 16px; }
  .cs-content .panel-outv { font-size: 26px; }
  .cs-content .panel-rat { border-radius: 14px; padding: 22px 26px; margin-bottom: 0; }
  .cs-content .panel-rat-t { font-size: 17px; max-width: 900px; }

  .cs-end-nav { display: flex; justify-content: space-between; align-items: center; padding: 40px 0 64px; border-top: 0.5px solid var(--border); margin-top: 8px; }
  .cs-end-nav button { font-size: 13px; font-family: var(--mono); color: var(--teal); text-decoration: none; background: none; border: none; cursor: pointer; padding: 0; }

  /* ── MORE STUDIES — mini cards at bottom of each case study page ── */
  .cs-more-block { padding: 8px 0 48px; border-top: 0.5px solid var(--border); margin-top: 8px; }
  .cs-more-label { font-size: 11px; font-family: var(--mono); color: var(--text-tertiary); letter-spacing: 0.08em; text-transform: uppercase; margin: 24px 0 16px; }
  .cs-mini-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
  .cs-mini-card { position: relative; border-radius: 14px; overflow: hidden; cursor: pointer; min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end; border: 0.5px solid var(--border); background: var(--bg-secondary); transition: transform 0.18s ease, box-shadow 0.18s ease; }
  .cs-mini-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -16px rgba(0,0,0,0.32); }
  .cs-mini-bg { position: absolute; inset: 0; z-index: 0; }
  .cs-mini-bg img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; transition: transform 0.4s ease; }
  .cs-mini-card:hover .cs-mini-bg img { transform: scale(1.03); }
  .cs-mini-scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(26,26,24,0) 30%, rgba(26,26,24,0.55) 62%, rgba(26,26,24,0.93) 100%); }
  .cs-mini-thumb-label { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center; font-size: 9px; font-family: var(--mono); color: var(--text-tertiary); text-align: center; padding: 0 12px; background: repeating-linear-gradient(135deg, rgba(0,0,0,0.035), rgba(0,0,0,0.035) 8px, transparent 8px, transparent 16px), var(--bg-secondary); }
  .cs-mini-body { position: relative; z-index: 2; padding: 18px 18px 18px; }
  .cs-mini-tags { display: flex; gap: 6px; margin-bottom: 10px; flex-wrap: wrap; }
  .cs-mini-tag { font-size: 9px; font-weight: 600; padding: 4px 10px; border-radius: 100px; background: rgba(255,255,255,0.16); color: #fff; backdrop-filter: blur(6px); border: 0.5px solid rgba(255,255,255,0.22); }
  .cs-mini-title { font-size: 15px; font-weight: 600; margin-bottom: 12px; line-height: 1.3; color: #F8F7F4; font-family: var(--serif); }
  .cs-mini-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
  .cs-mini-stat { display: inline-flex; align-items: baseline; gap: 5px; font-size: 11px; font-family: var(--mono); font-weight: 600; color: #1A1A18; background: rgba(255,255,255,0.92); padding: 5px 11px; border-radius: 100px; }
  .cs-mini-stat span { font-size: 9px; font-weight: 500; color: #555550; }
  .cs-mini-cta { font-size: 11px; font-family: var(--mono); color: rgba(255,255,255,0.85); }

  @media (max-width: 900px) {
    .cs-layout { grid-template-columns: 1fr; }
    .cs-rail { position: relative; height: auto; border-right: none; border-bottom: 0.5px solid var(--border); }
    .cs-content { padding: 36px 24px 0; }
    .cs-hero-inner { padding: 0 24px 32px; }
    .cs-h1 { font-size: 26px; }
    .cs-bento { grid-template-columns: 1fr 1fr; }
    .cs-tile-hero, .cs-tile-ring, .cs-tile-problem, .cs-tile-solution { grid-column: span 2; }
    .cs-content .panel-fb-grid, .cs-content .panel-dgrid, .cs-content .panel-out-grid, .cs-content .panel-cmp { grid-template-columns: 1fr; }
    .ev-grid { grid-template-columns: 1fr; }
    .cs-mini-grid { grid-template-columns: 1fr; }
  }

  /* ══════════════════════════════════════════════════════════════
     HOMEPAGE — WORK SHOWCASE (replaces the old bento il-card grid)
  ══════════════════════════════════════════════════════════════ */
  .ws-sec { padding: 8px 48px 64px; }
  .ws-hdr { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 12px; }
  .ws-showcase { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: center; padding: 56px 0; border-top: 0.5px solid var(--border); }
  .ws-showcase:last-of-type { border-bottom: 0.5px solid var(--border); }
  .ws-showcase.rev .ws-device-col { order: 2; }
  .ws-device-col { position: relative; }
  /* glow is hidden on landing and fades in on hover */
  .ws-device-col::before { content: ''; position: absolute; inset: -30px; z-index: 0; border-radius: 100px; filter: blur(40px); opacity: 0; transition: opacity 0.3s ease; }
  .ws-device-col:hover::before { opacity: 0.45; }
  .ws-device-col.glow-teal::before { background: var(--teal); }
  .ws-device-col.glow-amber::before { background: var(--amber); }
  .ws-device-col.glow-purple::before { background: var(--purple); }
  /* ── iMac-STYLE DESKTOP FRAME ── */
  .ws-imac { position: relative; z-index: 1; width: 100%; max-width: 82%; margin-right: auto; }
  .ws-showcase.rev .ws-imac { margin-left: auto; margin-right: 0; }
  .ws-imac-body {
    background: #1A1A18; border-radius: 14px 14px 4px 4px;
    padding: 16px 16px 18px; cursor: pointer;
    box-shadow: 0 26px 50px -22px rgba(0,0,0,0.42);
    transition: box-shadow 0.3s ease;
  }
  /* on hover the frame's own shadow picks up the study's colour */
  .glow-teal:hover .ws-imac-body { box-shadow: 0 26px 50px -20px rgba(26,111,168,0.55); }
  .glow-amber:hover .ws-imac-body { box-shadow: 0 26px 50px -20px rgba(186,117,23,0.55); }
  .glow-purple:hover .ws-imac-body { box-shadow: 0 26px 50px -20px rgba(83,74,183,0.55); }
  .ws-imac-cam { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,0.16); margin: 0 auto 11px; }
  .ws-imac-screen { width: 100%; border-radius: 4px; overflow: hidden; background: #0E0E0A; position: relative; aspect-ratio: 16 / 10; }
  .ws-imac-screen img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; border-radius: inherit; }
  .ws-imac-screen iframe {
    position: absolute; inset: 0; width: 100%; height: 100%;
    border: 0; pointer-events: none; z-index: 3; border-radius: inherit;
  }
  .ws-imac-screen::after {
    content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 4;
    background: linear-gradient(122deg, rgba(255,255,255,0) 62%, rgba(255,255,255,0.07) 100%);
  }
  .ws-imac-chin {
    height: 34px; border-radius: 0 0 10px 10px;
    background: linear-gradient(180deg, #E3E3E1 0%, #C9C9C6 42%, #AFAFAC 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.65);
  }
  .ws-imac-stand {
    width: 86px; height: 40px; margin: 0 auto;
    background: linear-gradient(180deg, #C4C4C1, #E6E6E4);
    clip-path: polygon(26% 0, 74% 0, 100% 100%, 0 100%);
  }
  .ws-imac-foot {
    width: 150px; height: 6px; margin: 0 auto;
    border-radius: 0 0 8px 8px;
    background: linear-gradient(180deg, #D6D6D3, #B3B3B0);
  }
  .ws-imac-screen .imac-play {
    position: absolute; bottom: 10px; right: 10px; z-index: 5;
    display: inline-flex; align-items: center; gap: 5px;
    background: rgba(14,14,10,0.6); backdrop-filter: blur(6px);
    border: 0.5px solid rgba(255,255,255,0.25); border-radius: 100px;
    padding: 4px 10px; font-size: 9px; font-family: var(--mono);
    letter-spacing: 0.07em; text-transform: uppercase; color: rgba(255,255,255,0.9);
    opacity: 0.85; transition: opacity 0.25s ease, background 0.25s ease; pointer-events: none;
  }
  .ws-imac-screen .imac-play svg { width: 9px; height: 9px; }
  .ws-imac:hover .ws-imac-screen .imac-play { opacity: 1; background: rgba(14,14,10,0.78); }
  .ws-imac-cap { text-align: center; font-size: 9px; font-family: var(--mono); color: var(--text-tertiary); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 12px; }
  .ws-imac-screen.wip-screen {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px;
    background:
      repeating-linear-gradient(45deg, rgba(186,117,23,0.14), rgba(186,117,23,0.14) 12px, transparent 12px, transparent 24px),
      var(--bg-secondary);
    color: var(--amber-dark); font-size: 11px; font-family: var(--mono); text-align: center; padding: 16px;
  }
  .ws-imac-screen .wip-ph-tag { font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; background: var(--amber); color: #fff; padding: 4px 10px; border-radius: 20px; }

  @media (max-width: 860px) {
    .ws-imac-body { padding: 10px 10px 12px; }
    .ws-imac-chin { height: 30px; }
    .ws-imac-stand { width: 80px; height: 36px; }
    .ws-imac-foot { width: 140px; }
  }

  .ws-device-frame { background: #1A1A18; border-radius: 14px; padding: 14px 14px 40px; box-shadow: 0 30px 60px -20px rgba(0,0,0,0.22); cursor: pointer; transition: transform 0.2s ease; position: relative; z-index: 1; }
  .ws-device-frame:hover { transform: translateY(-3px); }
  .ws-device-dots { display: flex; gap: 6px; padding: 4px 4px 12px; }
  .ws-device-dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.2); }
  .ws-device-ph { height: 320px; border-radius: 10px; background: repeating-linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.05) 8px, transparent 8px, transparent 16px), var(--bg-secondary); border: 1px dashed rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.4); font-family: var(--mono); font-size: 11px; text-align: center; padding: 12px; }
  .ws-info-eyebrow b { color: var(--text); font-weight: 700; letter-spacing: 0.04em; }
  .ws-info-eyebrow { display: flex; align-items: center; gap: 8px; font-size: 11px; font-family: var(--mono); color: var(--text-tertiary); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; }
  .ws-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
  .ws-dot.dot-teal { background: var(--teal); }
  .ws-dot.dot-amber { background: var(--amber); }
  .ws-dot.dot-purple { background: var(--purple); }
  .ws-info-h3 { font-family: var(--serif); font-size: 34px; font-weight: 500; line-height: 1.12; margin-bottom: 16px; cursor: pointer; }
  .ws-info-h3:hover { color: var(--teal-dark); }
  .ws-info-h3 em { font-style: italic; color: var(--teal); }
  .ws-info-desc { font-size: 15px; color: var(--text-secondary); line-height: 1.75; max-width: 440px; margin-bottom: 22px; }
  /* studies page — intro, evidence key, closing */
  .sp-note { font-size: 13px; font-style: italic; color: var(--text-secondary); line-height: 1.7; margin-top: 14px; max-width: 68ch; }
  .ev-key { display: flex; align-items: baseline; gap: 26px; flex-wrap: wrap; margin: 26px 0 30px; padding: 14px 0; border-top: 0.5px solid var(--border); border-bottom: 0.5px solid var(--border); text-align: left; }
  .ev-key-lab { flex-shrink: 0; text-align: left; font-size: 9px; letter-spacing: 0.13em; text-transform: uppercase; font-family: var(--mono); font-weight: 700; color: var(--text-tertiary); margin-bottom: 12px; }
  .ev-key-row { display: inline-flex; align-items: baseline; text-align: left; gap: 9px; font-size: 13px; color: var(--text-secondary); line-height: 1.5; }
  .ev-key-row:last-child { margin-bottom: 0; }
  .ev-key-row b { color: var(--text); font-weight: 600; }
  .ev-key-dot { width: 7px; height: 7px; border-radius: 100px; flex-shrink: 0; }
  .ev-key-measured { background: #16A34A; }
  .ev-key-research { background: var(--amber); }
  .sp-close { margin: 0; padding: 112px 48px 108px; border-top: 0.5px solid var(--border); border-bottom: 0.5px solid var(--border); background: #FBFBF9; }
  .sp-close-lab { font-size: 9px; letter-spacing: 0.13em; text-transform: uppercase; font-family: var(--mono); color: var(--teal); margin-bottom: 12px; }
    .sp-close-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
  .sp-close-link { font-size: 13px; font-family: var(--mono); color: var(--text-secondary); text-decoration: none; align-self: center; }
  /* metric emphasis + card rhythm */
  .studies-page .ws-info-stat-val { font-size: 26px; }
  .studies-page .sp-group { margin-top: 26px; }
  .studies-page [data-group="client"] { padding: 68px 0; }
  .studies-page [data-group="client"] .ws-info-h3 { font-size: 34px; }
  /* editorial: lighter CTA buttons on this page */
  /* homepage cards use the same hierarchy as the landing page:
     the client study is solid, explorations are outlined */
  .ws-sec .ws-info-cta { background: transparent; color: var(--text); border: 1.5px solid var(--text); }
  .ws-sec .ws-showcase.is-client .ws-info-cta { background: var(--text); color: var(--bg); border-color: var(--text); }
  .ws-sec .ws-showcase.is-client .ws-info-h3 { font-size: 34px; }
  .ws-sec .ws-showcase.is-client .ws-line { font-size: 26px; }
  .ws-sec .ws-info-stat-val { font-size: 26px; }
  @media (max-width: 860px) {
    .ws-sec .ws-showcase.is-client .ws-info-h3 { font-size: 24px; }
    .ws-sec .ws-showcase.is-client .ws-line { font-size: 17px; }
  }

  .studies-page .ws-info-cta { background: transparent; color: var(--text); border: 1.5px solid var(--text); }
  .ws-metric-kind { font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; font-family: var(--mono); font-weight: 700; color: var(--text-tertiary); margin-bottom: 6px; }
  .ws-insight { font-family: var(--serif); font-style: italic; font-size: 15px; line-height: 1.5; color: var(--text); border-left: 2px solid var(--teal); padding-left: 14px; margin: 0 0 20px; max-width: 60ch; }
  .ws-meta-own { flex-basis: 100%; margin-top: 4px; }
  .ws-meta-own .ws-meta-val { font-weight: 400; color: var(--text-secondary); line-height: 1.55; font-size: 11px; max-width: 62ch; }
  .ws-info-stat { display: inline-flex; align-items: baseline; gap: 8px; margin-bottom: 22px; }
  .ws-info-stat-val { font-family: var(--mono); font-size: 20px; font-weight: 700; color: var(--teal); }
  .ws-info-stat-lab { font-size: 13px; color: var(--text-tertiary); }
  .ws-info-tools { display: flex; gap: 8px; margin-bottom: 26px; flex-wrap: wrap; }
  .ws-info-tool { display: flex; align-items: center; gap: 7px; border-radius: 10px; padding: 8px 14px; font-size: 13px; font-weight: 700; background: var(--bg-secondary); color: var(--text-secondary); }
  .ws-info-tool svg { width: 14px; height: 14px; flex-shrink: 0; }
  .ws-info-tool.tool-figma  { background: #fff; border: 1.5px solid var(--text); color: var(--text); padding: 6.5px 12.5px; }
  .ws-info-tool.tool-figma svg { width: 11px; height: 16px; }
  .ws-info-tool.tool-hotjar { background: #fff; border: 1.5px solid var(--text); color: var(--text); padding: 6.5px 12.5px; }
  .ws-info-tool.tool-hotjar svg { width: 14px; height: 14px; }
  .ws-info-tool.tool-dovetail { background: #fff; border: 1.5px solid var(--text); color: var(--text); padding: 6.5px 12.5px; }
  .ws-info-tool.tool-dovetail svg { width: 13px; height: 14px; }
  .ws-info-tool.tool-maze   { background: #fff; border: 1.5px solid var(--text); color: var(--text); padding: 6.5px 12.5px; }
  .ws-info-tool.tool-maze svg { width: 15px; height: 14px; }
  .ws-info-tool.tool-ga4    { background: #fff; border: 1.5px solid var(--text); color: var(--text); padding: 6.5px 12.5px; }
  .ws-info-tool.tool-ga4 svg { width: 13px; height: 15px; }
  .ws-info-tool.tool-miro   { background: #fff; border: 1.5px solid var(--text); color: var(--text); padding: 6.5px 12.5px; }
  .ws-info-tool.tool-miro svg { width: 14px; height: 14px; }
  .ws-info-tool.tool-sheets { background: #fff; border: 1.5px solid var(--text); color: var(--text); padding: 6px 12px; }
  .ws-info-tool.tool-sheets svg { width: 11px; height: 14px; }
  .ws-info-cta { display: inline-block; background: var(--text); color: var(--bg); font-size: 13px; font-weight: 600; padding: 12px 24px; border-radius: 100px; text-decoration: none; cursor: pointer; border: none; }
  /* Hover matches .cta-lab-primary in the hero: lift, shadow, slight dim — the
     fill and text colour never change. That keeps the solid-vs-outlined
     hierarchy readable in both states, avoids a black-to-blue hue jump, and
     makes a colour-pairing bug structurally impossible, since hover no longer
     touches background or colour at all. */
  .ws-info-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(26,26,24,0.22); opacity: 0.93; }
  .ws-info-cta:active { transform: translateY(0); box-shadow: none; opacity: 1; }
  /* Feedback now leans on movement, so honour a reduced-motion preference —
     the shadow and dim still read, they just arrive without the lift. */
  @media (prefers-reduced-motion: reduce) {
    .ws-info-cta { transition: box-shadow 0.18s ease, opacity 0.18s ease; }
    .ws-info-cta:hover, .ws-info-cta:active { transform: none; }
  }

  /* muted/locked variant — used for the NDA (GoToHealthcare) entry */
  .ws-device-col.glow-muted::before { background: var(--text-tertiary); }
  .ws-device-col.glow-muted:hover::before { opacity: 0.22; }
  .ws-device-frame.locked { cursor: default; }
  .ws-device-frame.locked:hover { transform: none; }
  .ws-device-ph.locked-ph { filter: blur(2px); opacity: 0.5; }
  .ws-lock-pill { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: rgba(255,255,255,0.08); border: 0.5px solid rgba(255,255,255,0.18); padding: 8px 18px; border-radius: 20px; font-size: 11px; color: rgba(255,255,255,0.6); font-family: var(--mono); letter-spacing: 0.06em; display: flex; align-items: center; gap: 6px; white-space: nowrap; }
  .ws-info-cta.ws-cta-ghost { background: transparent; color: var(--teal); border: 1.5px solid rgba(26,111,168,0.4); }
  /* same-hue border strengthening only — text and background are untouched */
  .ws-info-cta.ws-cta-ghost:hover { border-color: var(--teal); }

  /* ── STUDIES PAGE ONLY — extra context vs. the homepage teaser ── */
  .ws-showcase.ws-archive { position: relative; }
  .ws-meta-row { display: flex; gap: 22px; flex-wrap: wrap; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 0.5px solid var(--border); }
  .ws-meta-item { display: flex; flex-direction: column; gap: 2px; }
  .ws-meta-lab { font-size: 9px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-tertiary); font-family: var(--mono); }
  .ws-meta-val { font-size: 13px; color: var(--text); font-weight: 500; }
  .ws-tags-row { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 22px; }

  @media (max-width: 860px) {
    .ws-showcase, .ws-showcase.rev { grid-template-columns: 1fr; gap: 28px; padding: 40px 0; }
    .ws-showcase.rev .ws-device-col { order: 0; }
    .ws-info-h3 { font-size: 26px; }
  }

  /* ══ MOBILE: swipe sliders ══
     Every card grid collapses to one column below 860px, which turns the
     Approach and About pages into very long stacks. On touch screens these
     become horizontal scroll-snap carousels instead — same content, a
     fraction of the scroll depth. */
  @media (max-width: 860px) {
    .qs-grid,
    .ww-grid,
    .by-grid,
    .fw-isnt,
    .fw-limits,
    .gm-split,
    .ev-grid,
    .risk-grid,
    .alt-grid,
    .po-grid,
    .wrong-grid,
    .who-grid,
    .notes-grid,
    .cs-mini-grid,
    .examples-grid,
    .behaviour-grid,
    .wf-grid,
    .principles-grid,
    .dt-list,
    .brand-row, .principles-row, .industry-grid {
      display: flex !important;
      grid-template-columns: none !important;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
      gap: 12px;
      /* break the page gutter so cards run to the screen edge */
      margin-left: -20px; margin-right: -20px;
      padding: 2px 20px 14px;
    }
    .qs-grid,
    .ww-grid,
    .by-grid,
    .fw-isnt,
    .fw-limits,
    .gm-split,
    .ev-grid,
    .risk-grid,
    .alt-grid,
    .po-grid,
    .wrong-grid,
    .who-grid,
    .notes-grid,
    .cs-mini-grid,
    .examples-grid,
    .behaviour-grid,
    .wf-grid,
    .principles-grid,
    .dt-list { scroll-padding-left: 20px; }
    .qs-grid > *,
    .ww-grid > *,
    .by-grid > *,
    .fw-isnt > *,
    .fw-limits > *,
    .gm-split > *,
    .ev-grid > *,
    .risk-grid > *,
    .alt-grid > *,
    .po-grid > *,
    .wrong-grid > *,
    .who-grid > *,
    .notes-grid > *,
    .cs-mini-grid > *,
    .examples-grid > *,
    .behaviour-grid > *,
    .wf-grid > *,
    .principles-grid > *,
    .dt-list > *,
    .brand-row > *, .principles-row > *, .industry-grid > * {
      flex: 0 0 82%;
      scroll-snap-align: start;
      min-width: 0;
    }
    .qs-grid,
    .ww-grid,
    .by-grid,
    .fw-isnt,
    .fw-limits,
    .gm-split,
    .ev-grid,
    .risk-grid,
    .alt-grid,
    .po-grid,
    .wrong-grid,
    .who-grid,
    .notes-grid,
    .cs-mini-grid,
    .examples-grid,
    .behaviour-grid,
    .wf-grid,
    .principles-grid,
    .dt-list { -ms-overflow-style: none; }
    .qs-grid::-webkit-scrollbar, .ww-grid::-webkit-scrollbar, .by-grid::-webkit-scrollbar,
    .fw-isnt::-webkit-scrollbar, .fw-limits::-webkit-scrollbar, .gm-split::-webkit-scrollbar,
    .ev-grid::-webkit-scrollbar, .risk-grid::-webkit-scrollbar, .alt-grid::-webkit-scrollbar,
    .po-grid::-webkit-scrollbar, .wrong-grid::-webkit-scrollbar, .who-grid::-webkit-scrollbar,
    .notes-grid::-webkit-scrollbar, .cs-mini-grid::-webkit-scrollbar, .examples-grid::-webkit-scrollbar,
    .behaviour-grid::-webkit-scrollbar, .wf-grid::-webkit-scrollbar,
    .principles-grid::-webkit-scrollbar, .dt-list::-webkit-scrollbar { display: none; }

    /* the first-child emphasis rules assume a grid — neutralise them */
    .ev-grid .ev-card:first-child,
    .po-grid .po-card:first-child { grid-column: auto !important; }

    /* swipe affordance */
    .swipe-hint { display: flex; align-items: center; gap: 7px; font-size: 10px; font-family: var(--mono);
      letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-tertiary); margin-top: -4px; margin-bottom: 12px; }
    .swipe-hint i { width: 16px; height: 1px; background: var(--text-tertiary); display: block; position: relative; }
    .swipe-hint i::after { content: ''; position: absolute; right: 0; top: -2px; width: 5px; height: 5px;
      border-top: 1px solid var(--text-tertiary); border-right: 1px solid var(--text-tertiary); transform: rotate(45deg); }
  }
  @media (min-width: 861px) { .swipe-hint { display: none; } }


  /* ══ MOBILE: layout, typography and touch targets ══ */
  @media (max-width: 860px) {
    /* oversized editorial type needs reining in on a phone */
    .hero-h1 { font-size: 34px; line-height: 1.12; }
    .about-h1, .fw-h1 { font-size: 34px; line-height: 1.14; }
    .philosophy-line, .ms-line, .bridge-h, .fw-sum-h2 { font-size: 26px; line-height: 1.25; }
    .sec-h2, .fw-sec-h2, .cs-h2 { font-size: 20px; }
    .cs-h1 { font-size: 26px; }
    .key-insight, .nq-txt, .ws-line, .qs-q, .kt-txt { font-size: 17px; }
    .studies-page [data-group="client"] .ws-line { font-size: 20px; }
    .po-val { font-size: 26px; }
    .stat-item.is-primary .stat-val { font-size: 34px; }

    /* case study rail becomes a scrollable strip rather than a tall column */
    .cs-rail-nav { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
    .cs-rail-nav::-webkit-scrollbar { display: none; }
    .cs-rail-nav a { flex: 0 0 auto; white-space: nowrap; border: 0.5px solid var(--border); border-radius: 100px; padding: 7px 13px; font-size: 11px; }
    .cs-rail-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
    .cs-rail-bottom-stats { display: none; }

    /* device frames: full width, no wasted margin */
    .ws-imac, .ws-showcase.rev .ws-imac { max-width: 92%; margin-left: auto; margin-right: auto; }
    .ws-imac-chin { height: 22px; }
    .ws-imac-stand { width: 62px; height: 26px; }
    .ws-imac-foot { width: 108px; }

    /* bridges: tighter, still a pause */
    .bridge { padding: 56px 20px 52px; }
    .bridge-inner { gap: 22px; }
    .bridge-art { flex-wrap: wrap; }

    /* comparisons stack rather than squeeze */
    .panel-cmp { grid-template-columns: 1fr; gap: 16px; }
    .cs-snap-row { grid-template-columns: 1fr; }
    .prio-wrap { margin: 0 -20px; padding: 0 20px; }

    /* touch targets */
    .filter-bar button, .bridge-cta, .ws-info-cta, .cta-lab-primary, .cta-lab-secondary,
    .cta-teal, .cta-contact-primary { min-height: 44px; }
    .filter-bar { gap: 7px; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; margin: 0 -20px; padding: 0 20px 6px; }
    .filter-bar::-webkit-scrollbar { display: none; }
    .filter-bar button, .filter-lab, .filter-sep { flex: 0 0 auto; }

    /* hero video controls sit clear of the title */
    .cs-hero-video-badge { top: 12px; right: 12px; font-size: 9px; padding: 5px 10px; }

    /* stop long unbroken strings forcing horizontal scroll */
    body { overflow-x: hidden; }
    .cs-content, .studies-page, .ws-sec { max-width: 100vw; }
  }

  @media (max-width: 480px) {
    .hero-h1, .about-h1, .fw-h1 { font-size: 26px; }
    .philosophy-line, .ms-line, .bridge-h { font-size: 20px; }
    .qs-grid > *, .ww-grid > *, .by-grid > *, .ev-grid > *, .po-grid > *,
    .examples-grid > *, .behaviour-grid > *, .alt-grid > *, .risk-grid > * { flex-basis: 86%; }
  }


  /* ══ MOBILE: expanders for long narrative ══
     Only applied to genuinely long multi-paragraph storytelling. Short
     paragraphs stay open — hiding them behind a tap costs more than it saves. */
  @media (max-width: 860px) {
    .expandable { position: relative; overflow: hidden; max-height: 300px; transition: max-height 0.35s ease; }
    .expandable.open { max-height: 4000px; }
    .expandable::after {
      content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 110px; pointer-events: none;
      background: linear-gradient(180deg, rgba(248,247,244,0) 0%, var(--bg) 88%); transition: opacity 0.3s ease;
    }
    .expandable.open::after { opacity: 0; }
    .expand-btn {
      display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; min-height: 44px;
      background: none; border: 1.5px solid var(--text); color: var(--text);
      font-size: 13px; font-weight: 600; font-family: var(--sans); padding: 10px 22px;
      border-radius: 100px; cursor: pointer;
    }
    .expand-btn svg { width: 13px; height: 13px; transition: transform 0.3s ease; }
    .expand-btn.open svg { transform: rotate(180deg); }
  }
  @media (min-width: 861px) { .expand-btn { display: none; } .expandable { max-height: none; } }

  /* ══ MOBILE: in-page section jump ══
     A 2,300-word page needs skipping, not expanding. */
  .mjump { display: none; }
  @media (max-width: 860px) {
    .mjump {
      display: flex; gap: 7px; overflow-x: auto; scrollbar-width: none;
      position: sticky; top: 52px; z-index: 40;
      margin: 0 -20px; padding: 10px 20px;
      background: rgba(248,247,244,0.94); backdrop-filter: blur(10px);
      border-bottom: 0.5px solid var(--border);
    }
    .mjump::-webkit-scrollbar { display: none; }
    .mjump a {
      flex: 0 0 auto; white-space: nowrap; font-size: 11px; font-family: var(--mono);
      color: var(--text-secondary); text-decoration: none;
      border: 0.5px solid var(--border); border-radius: 100px; padding: 8px 13px; min-height: 34px;
      display: inline-flex; align-items: center;
    }
    .mjump a.on { background: var(--text); color: var(--bg); border-color: var(--text); }
  }


  /* ══ MOBILE: audit fixes ══ */
  @media (max-width: 860px) {
    /* investigation status must show ALL states — never a slider */
    .inv-steps { display: grid !important; grid-template-columns: 1fr 1fr; gap: 7px; overflow: visible !important; margin: 0 !important; padding: 0 !important; }
    .inv-step { flex: none !important; }

    /* case study wayfinding must persist on a very tall page */
    .cs-rail-title, .cs-rail-meta, .cs-rail-eyebrow, .cs-rail-back { display: none; }

    /* scroll progress — the phone has no scrollbar to judge length by */
    .read-progress { position: fixed; top: 0; left: 0; height: 2px; background: var(--teal); z-index: 200; width: 0; transition: width 0.1s linear; }

    /* slider position indicator */
    .slide-dots { display: flex; gap: 5px; margin-top: -6px; margin-bottom: 14px; }
    .slide-dots i { width: 5px; height: 5px; border-radius: 100px; background: var(--border-hover); transition: background 0.2s ease, width 0.2s ease; }
    .slide-dots i.on { background: var(--teal); width: 16px; }
  }
  @media (min-width: 861px) { .read-progress, .slide-dots { display: none; } }


  /* ══ MOBILE: sticky offset + fixed-nav clearance ══
     Two bugs found in verification:
     1. .mjump and .cs-rail were offset top:52px assuming a sticky top nav —
        the nav is NOT sticky, so they were being pushed down for no reason.
     2. .nav-pill-fixed sits at bottom:64px but nothing reserved space for it,
        so it covered the last ~120px of every page. */
  @media (max-width: 860px) {
    .mjump { top: 0; }
    .page { padding-bottom: 132px; }
    .footer-dark-full { padding-bottom: 132px; }
    .nav-pill-fixed { bottom: 18px; width: calc(100% - 32px); }
  }


  /* ══ MOBILE: video hero ══
     Desktop uses min-width:178vh to cover a wide, short hero. On a portrait
     phone that computes to ~1500px wide, cropping the frame to a narrow centre
     slice — you'd see roughly a quarter of the picture. On mobile the hero is
     re-proportioned to 16:9 so the video fills it exactly, with no crop. */
  @media (max-width: 860px) {
    .cs-atf-hero.has-video {
      height: auto;
      min-height: 0;
      max-height: none;
      aspect-ratio: 16 / 9;
      min-height: 210px;
    }
    .cs-hero-video iframe,
    .cs-hero-video #cs-yt-player {
      width: 100%;
      height: 100%;
      min-width: 0;
      min-height: 0;
      transform: translate(-50%, -50%);
    }
    /* title sits below the video rather than over a cropped frame */
    .cs-atf-hero.has-video .cs-hero-overlay {
      background: linear-gradient(180deg, rgba(14,14,10,0.25) 0%, rgba(14,14,10,0.1) 40%, rgba(14,14,10,0.88) 100%);
    }
    .cs-atf-hero.has-video .cs-h1 { font-size: 20px; }
    .cs-atf-hero.has-video .cs-hero-inner { padding-bottom: 16px; }
  }


  /* autoplay refused by the device (Low Power Mode / Data Saver) — make it tappable */
  @media (max-width: 860px) {
    .cs-atf-hero.autoplay-blocked .cs-hero-toggle { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    .cs-atf-hero.autoplay-blocked .cs-hero-video::after { background: rgba(14,14,10,0.55); }
    .cs-atf-hero.autoplay-blocked .cs-hero-video-badge::after { content: ' · tap to play'; }
  }


  /* ══ MOBILE BUG FIXES ══ */

  /* BUG 1 — horizontal drift.
     Negative-margin sliders and min-width:178vh let content escape the viewport,
     so the whole page could be dragged sideways. Lock the scroll container. */
  @media (max-width: 860px) {
    html, body { overflow-x: hidden; max-width: 100%; width: 100%; }
    .page { overflow-x: clip; max-width: 100vw; }
    /* the cover trick is desktop-only — it computes to ~1500px on a phone */
    .cs-hero-video iframe, .cs-hero-video #cs-yt-player { min-width: 0 !important; min-height: 0 !important; }
    /* sliders must clip inside the page, not push it wider */
    .qs-grid, .ww-grid, .by-grid, .fw-isnt, .fw-limits, .gm-split, .ev-grid,
    .risk-grid, .alt-grid, .po-grid, .wrong-grid, .who-grid, .notes-grid,
    .cs-mini-grid, .examples-grid, .behaviour-grid, .wf-grid, .principles-grid,
    .dt-list, .filter-bar, .mjump, .cs-rail-nav, .prio-wrap {
      max-width: 100vw; overscroll-behavior-x: contain;
    }
  }

  /* BUG 2 — the case study rail was a sticky bar, unlike every other page.
     Make it match .mjump exactly so wayfinding is one consistent pattern. */
  @media (max-width: 860px) {
    .cs-rail {
      position: sticky; top: 0; z-index: 40;
      display: flex; gap: 7px; overflow-x: auto; scrollbar-width: none;
      margin: 0 -20px; padding: 10px 20px;
      background: rgba(248,247,244,0.94); backdrop-filter: blur(10px);
      border-bottom: 0.5px solid var(--border);
    }
    .cs-rail::-webkit-scrollbar { display: none; }
    .cs-rail-nav { display: contents; }
    .cs-rail-nav a {
      flex: 0 0 auto; white-space: nowrap; font-size: 11px; font-family: var(--mono);
      color: var(--text-secondary); text-decoration: none;
      border: 0.5px solid var(--border); border-radius: 100px;
      padding: 8px 13px; min-height: 34px; display: inline-flex; align-items: center;
    }
    .cs-rail-nav a.on { background: var(--text); color: var(--bg); border-color: var(--text); }
    .cs-rail-title, .cs-rail-meta, .cs-rail-eyebrow, .cs-rail-back, .cs-rail-bottom-stats { display: none; }
    .cs-layout { display: block; }
  }

  /* BUG 3 — case study cards were ~900px tall each on a phone.
     Trim to the essentials: image, label, headline, the memorable line, metric, CTA. */
  @media (max-width: 860px) {
    .ws-showcase .ws-info-desc,
    .ws-showcase .ws-meta-row,
    .ws-showcase .ws-info-tools,
    .ws-showcase .ws-tags-row,
    .ws-showcase .ws-insight { display: none; }
    .ws-showcase { padding: 30px 0; gap: 18px; }
    .ws-info-h3 { font-size: 20px; line-height: 1.25; }
    .ws-line { font-size: 15px; margin-bottom: 16px; padding-left: 13px; }
    .studies-page [data-group="client"] .ws-line { font-size: 17px; }
    .ws-pull { font-size: 15px; margin-bottom: 16px; }
    .studies-page [data-group="client"] { padding: 34px 0; }
    .studies-page [data-group="client"] .ws-info-h3 { font-size: 24px; }
  }


  @media (max-width: 860px) {
    /* detail is moved into this wrapper by JS, then revealed on tap */
    .ws-detail { display: none; margin-bottom: 16px; }
    .ws-detail.open { display: block; }
    .ws-detail .ws-info-desc, .ws-detail .ws-meta-row, .ws-detail .ws-info-tools,
    .ws-detail .ws-tags-row, .ws-detail .ws-insight { display: block; }
    .ws-detail .ws-info-tools, .ws-detail .ws-tags-row { display: flex; flex-wrap: wrap; }
    .ws-more {
      display: inline-flex; align-items: center; gap: 7px; min-height: 40px;
      background: none; border: none; padding: 0; margin-bottom: 14px;
      font-size: 12px; font-family: var(--mono); color: var(--teal);
      letter-spacing: 0.04em; cursor: pointer;
    }
    .ws-more span {
      display: inline-flex; align-items: center; justify-content: center;
      width: 18px; height: 18px; border-radius: 100px;
      border: 1px solid var(--teal); font-size: 12px; line-height: 1;
    }
  }
  @media (min-width: 861px) { .ws-more { display: none; } .ws-detail { display: contents; } }


  /* ══ MOBILE: text fitting ══
     Screenshot showed card text clipping at the card edge and long words
     breaking the layout. Force wrapping everywhere text can overflow. */
  @media (max-width: 860px) {
    .beh-card-new, .ev-card, .who-card, .qs-card, .ww-card, .risk-card,
    .alt-card, .po-card, .fw-limit, .wrong-card, .ex-card, .gm-col, .by-item {
      overflow-wrap: anywhere; word-break: normal; hyphens: auto;
    }
    .beh-desc-new, .beh-list li, .ev-body, .who-body, .ww-b, .gm-v, .by-v,
    .wr-if, .wr-then, .alt-row, .ex-val, .fw-limit-b { overflow-wrap: anywhere; }
    /* the compact 2-up behaviour cards were squeezing text — give them full width */
    .beh-hero-row, .beh-compact-row { grid-template-columns: 1fr !important; }
    /* icon + heading row must not force overflow */
    .beh-top { flex-wrap: wrap; }
    .beh-heading { min-width: 0; }
    /* mono chips can be long — let them wrap rather than push the card */
    .ws-info-tool, .il-tag, .cs-tag, .inv-step, .oq { max-width: 100%; overflow-wrap: anywhere; }
  }


  /* ══ MOBILE: workflow — resolve the FIX D conflict ══
     An earlier rule stacked .wf-grid as a bordered list with flex-direction:column
     !important, which silently defeated the slider — so the card said "Swipe · 5
     cards" while rendering vertically. The workflow steps now carry "Produces"
     artefacts and are too tall to stack, so the slider wins. */
  @media (max-width: 860px) {
    .wf-grid {
      display: flex !important;
      flex-direction: row !important;
      gap: 12px !important;
      border: none !important;
      border-radius: 0 !important;
      overflow-x: auto !important;
      overflow-y: visible !important;
    }
    .wf-grid .wfc {
      flex: 0 0 82% !important;
      flex-direction: column !important;
      align-items: flex-start !important;
      gap: 0 !important;
      border: 0.5px solid var(--border) !important;
      border-radius: 14px !important;
      padding: 20px !important;
      scroll-snap-align: start;
    }
    .wf-grid .wfc-top { margin-bottom: 14px !important; }
    .wf-grid .wfc-heading { font-size: 15px !important; margin-bottom: 6px !important; }
    .wf-grid .wfc-body { font-size: 13px !important; margin-bottom: 0 !important; }
    .wf-grid .fw-artefact { display: block !important; }
  }


  /* ══ MOBILE: breathing room above swipe elements ══
     The hint carried margin-top:-4px, pulling it tight against the paragraph
     above. Sliders need a clear gap so the swipe row reads as a separate
     element rather than a continuation of the copy. */
  @media (max-width: 860px) {
    .swipe-hint { margin-top: 30px; margin-bottom: 14px; }
    /* when a slider has no hint, it still needs the same separation */
    .qs-grid, .ww-grid, .by-grid, .fw-isnt, .fw-limits, .gm-split, .ev-grid,
    .risk-grid, .alt-grid, .po-grid, .wrong-grid, .who-grid, .notes-grid,
    .cs-mini-grid, .examples-grid, .behaviour-grid, .wf-grid, .principles-grid,
    .dt-list { margin-top: 24px; }
    /* …but not doubled up when the hint already provides it */
    .swipe-hint + .qs-grid, .swipe-hint + .ww-grid, .swipe-hint + .by-grid,
    .swipe-hint + .fw-isnt, .swipe-hint + .fw-limits, .swipe-hint + .gm-split,
    .swipe-hint + .ev-grid, .swipe-hint + .risk-grid, .swipe-hint + .alt-grid,
    .swipe-hint + .po-grid, .swipe-hint + .wrong-grid, .swipe-hint + .who-grid,
    .swipe-hint + .notes-grid, .swipe-hint + .cs-mini-grid, .swipe-hint + .examples-grid,
    .swipe-hint + .behaviour-grid, .swipe-hint + .wf-grid, .swipe-hint + .principles-grid,
    .swipe-hint + .dt-list { margin-top: 0; }
    /* dots sit below the cards, not crowding the next section */
    .slide-dots { margin-top: 14px; margin-bottom: 26px; }
    /* the filter bar and jump nav are also swipe rows — same treatment */
    .filter-bar { margin-top: 22px; }
  }


  /* ── FULL-BLEED COMPARISON IMAGES ──
     When a pane has no device frame, the screenshot should fill the panel
     edge to edge rather than sitting inside a bordered, padded box. */
  .panel-mi:has(> img) { padding: 0; border: none; background: none; overflow: hidden; }
  .panel-mi > img { display: block; width: 100%; border-radius: 10px; }


  /* ══ MOBILE FIXES — edge bleed, slider gutters, sticky jump nav ══ */
  @media (max-width: 860px) {
    /* 1. sections using a 48px negative margin bleed 28px past a 20px gutter */
    .sp-who { margin: 8px -20px !important; padding-left: 20px !important; padding-right: 20px !important; }
    .bridge, .ticker-track { margin-left: -20px !important; margin-right: -20px !important; }

    /* 2. sliders: first card must start on the gutter, last must clear it */
    .qs-grid, .ww-grid, .by-grid, .fw-isnt, .fw-limits, .gm-split, .ev-grid,
    .risk-grid, .alt-grid, .po-grid, .wrong-grid, .who-grid, .notes-grid,
    .cs-mini-grid, .examples-grid, .behaviour-grid, .wf-grid, .principles-grid,
    .dt-list, .industry-grid, .brand-row, .principles-row {
      margin-left: -20px !important; margin-right: -20px !important;
      padding-left: 20px !important; padding-right: 20px !important;
      scroll-padding-left: 20px;
    }
    /* the copy above a slider must stay on the gutter */
    .swipe-hint, .slide-dots { padding-left: 0; margin-left: 0; margin-right: 0; }

    /* 3. iMac frames centred — .ws-device-col IS the frame, so it must stay block-level */
    .ws-imac, .ws-showcase.rev .ws-imac { max-width: 88%; margin-left: auto !important; margin-right: auto !important; }

    /* 4. jump nav sticks to the top of the viewport */
    .mjump { position: sticky; top: 0; z-index: 60; margin-left: -20px; margin-right: -20px; padding-left: 20px; padding-right: 20px; }
    .cs-rail { z-index: 60; }
  }


  /* ══ MOBILE: stats auto-carousel ══ */
  @media (max-width: 860px) {
    .stat-bar {
      display: flex !important; grid-template-columns: none !important;
      overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
      gap: 0; margin: 0 -20px; padding: 4px 20px 20px; scroll-padding-left: 20px;
    }
    .stat-bar::-webkit-scrollbar { display: none; }
    .stat-item {
      flex: 0 0 84%; scroll-snap-align: start; min-width: 0;
      border-right: none; border-bottom: none;
      padding: 16px 18px 0; margin-right: 12px;
      background: rgba(255,255,255,0.04); border-radius: 14px; padding-bottom: 16px;
    }
    .stat-dots { display: flex; justify-content: center; gap: 6px; padding: 0 20px 22px; background: var(--text); margin: 0; }
    .stat-dots i { width: 5px; height: 5px; border-radius: 100px; background: rgba(255,255,255,0.25); transition: background 0.2s ease, width 0.2s ease; }
    .stat-dots i.on { background: #6FC3EE; width: 16px; }
  }
  @media (min-width: 861px) { .stat-dots { display: none; } }


  @media (max-width: 860px) {
    /* everything between the metric and the CTA collapses together */
    .ws-detail .ws-pull { display: block; margin-top: 14px; }
    .ws-showcase .ws-pull { display: none; }
    .ws-detail.open .ws-pull { display: block; }
    /* toggle sits on its own line so the CTA is never crowded */
    /* label and icon sit together, the pair centred in the card */
    .ws-more {
      display: flex !important; align-items: center; justify-content: center; gap: 8px;
      width: 100%; margin: 4px 0 16px; padding: 12px 0;
      border-top: 0.5px solid var(--border); border-bottom: 0.5px solid var(--border);
    }
    .ws-info-cta { width: 100%; justify-content: center; }

    /* card content centres under the frame rather than sitting hard left */
    .ws-showcase .ws-info-col { text-align: center; display: flex; flex-direction: column; align-items: center; }
    .ws-info-eyebrow, .ws-tags-row, .ws-info-tools, .ws-meta-row { justify-content: center; }
    .ws-info-h3, .ws-info-desc { text-align: center; }
    /* the quote block centres as a unit; its text stays left so the rule reads */
    .ws-line, .ws-pull {
      text-align: left; border-left: 3px solid var(--teal);
      align-self: center; max-width: 92%; width: 92%;
      margin-left: auto; margin-right: auto;
    }
    .ws-info-stat { justify-content: center; }
    .ws-detail { align-self: stretch; text-align: left; }
    /* cards without a CTA: the status chip centres like a button would */
    .ws-read-solo { align-self: center; margin: 4px auto 0; }
    /* reading time drops onto its own line under the CTA on mobile */
    .ws-read:not(.ws-read-solo) { margin-left: 0; margin-top: 14px; align-self: center; }
    /* the metric block centres as a unit */
    .ws-metric-kind, .ws-info-stat-lab { text-align: center; }
    .ws-info-stat { flex-direction: column; align-items: center; gap: 2px; }
  }


  @media (max-width: 860px) {
    /* the toggle sits above the collapsed block so the next section is one tap away */
    .expand-btn { display: flex !important; width: 100%; justify-content: space-between;
      margin: 6px 0 18px; padding: 13px 18px; }
    .expandable { max-height: 0; padding: 0; margin: 0; }
    .expandable.open { max-height: 6000px; margin-bottom: 8px; }
    .expandable::after { display: none; }
  }


  /* ══ MOBILE: sliders for AI cards and behaviour rows ══
     These were missed because the cards sit inside their own containers
     (.ai-grid) or inner rows (.beh-hero-row / .beh-compact-row) rather than
     directly inside the section grid. */
  @media (max-width: 860px) {
    .ai-cards, .beh-hero-row, .beh-compact-row {
      display: flex !important;
      grid-template-columns: none !important;
      flex-direction: row !important;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
      gap: 12px !important;
      margin-left: -20px !important; margin-right: -20px !important;
      padding: 2px 20px 14px !important;
      scroll-padding-left: 20px;
      max-width: 100vw; overscroll-behavior-x: contain;
    }
    .ai-cards::-webkit-scrollbar, .beh-hero-row::-webkit-scrollbar,
    .beh-compact-row::-webkit-scrollbar { display: none; }
    .ai-cards > *, .beh-hero-row > *, .beh-compact-row > * {
      flex: 0 0 82%; scroll-snap-align: start; min-width: 0;
    }
    /* AI section stacks: intro copy above, card slider below */
    .ai-grid { display: block !important; grid-template-columns: none !important; }
    .ai-intro { margin-bottom: 22px; }

    /* Behaviour / industry: cards sit directly in the grid, exactly like the
       workflow slider — no wrapper rows to complicate sizing. */
    .behaviour-grid, .industry-grid {
      display: flex !important;
      grid-template-columns: none !important;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
      gap: 12px !important;
      margin-left: -20px !important; margin-right: -20px !important;
      padding: 2px 20px 14px !important;
      scroll-padding-left: 20px;
      max-width: 100vw; overscroll-behavior-x: contain;
    }
    .behaviour-grid::-webkit-scrollbar, .industry-grid::-webkit-scrollbar { display: none; }
    .behaviour-grid > *, .industry-grid > * {
      flex: 0 0 82%; scroll-snap-align: start; min-width: 0;
    }
  }




/* ── MPA: nav links are anchors, not buttons ──
   The SPA styled these as <button>. They are now real links, so the same rules
   must match <a>. Geometry and colour are unchanged from the SPA; this only
   removes the anchor's default underline and restores button box behaviour. */
.nav-links a,
.mob-menu a,
.nav-pill-fixed .nav-links a,
.nav-logo,
a.nav-logo { text-decoration: none !important; }

.nav-links a {
  display: inline-block;
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 20px;
  font-family: var(--sans);
  line-height: normal;
}
.nav-logo { cursor: pointer; color: inherit; display: flex; flex-direction: column; gap: 1px; }

/* ── Floating pill: match the sticky nav's three-part layout ──
   The CV link is now a sibling of the list (not a list item), so it no longer
   inherits .nav-links styling and keeps its .cta-teal border. Logo left, CV
   hard right, destinations absolutely centred on the pill itself — the same
   technique .nav uses — so the group stays centred regardless of how wide the
   logo or the CV button are. */
.nav-pill-fixed { justify-content: space-between; }
.nav-pill-fixed .nav-links {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  gap: 2px;
}
.nav-pill-fixed .nav-cta-right { font-size: 11px; padding: 8px 16px; flex-shrink: 0; }

/* ── MPA: restore the behaviour / industry row composition ──
   "Understanding people" (.behaviour-grid) and "Understanding context"
   (.industry-grid) are a two-card hero row followed by a three-card compact
   row. The responsive overrides further up this file already assume those
   rows are grids (they override grid-template-columns at 768px and 860px),
   but the desktop base declaration was lost in the SPA → MPA extraction, so
   the rows fell back to block and every card stretched full width.
   Scoped to min-width 861px so none of the existing mobile sliders change. */
@media (min-width: 861px) {
  .beh-hero-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-items: stretch;
  }
  .beh-compact-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    align-items: stretch;
    margin-top: 12px;
  }
}

/* ── Cards that navigate ──
   Mini case-study cards were <div onclick> in the SPA; they are anchors now.
   Inherit, don't restyle. */
a.card-link { display: block; text-decoration: none; color: inherit; }
a.cs-mini-link { display: block; text-decoration: none; color: inherit; }
