  html { scroll-behavior: smooth; }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

  /* skip link — visible on keyboard focus */
  .skip-link {
    position: fixed; left: 16px; top: -56px; z-index: 100;
    background: var(--ink); color: #FFFFFF;
    padding: 12px 20px; border-radius: var(--radius-pill);
    font-family: var(--font-sans); font-size: var(--fs-sm); font-weight: var(--fw-semibold);
    text-decoration: none; box-shadow: var(--shadow-lg);
    transition: top var(--dur-fast) var(--ease);
  }
  .skip-link:focus-visible { top: 16px; outline: 2px solid var(--accent); outline-offset: 2px; }
  html, body { margin: 0; background: var(--white); }
  body { font-family: var(--font-sans); color: var(--ink); }

  #fit {
    position: relative;
    width: 100%; height: 100vh; min-height: 640px;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    background: var(--white);
  }

  /* fixed design stage — scaled to fit */
  #stage {
    position: relative;
    width: 1280px; height: 770px;
    transform-origin: center center;
    overflow: hidden;
  }

  /* ---------- DNA ---------- */
  #dna-layer {
    position: absolute; inset: 0;
    z-index: 1; pointer-events: none;
    will-change: transform;
  }
  #dna-rot {
    position: absolute;
    left: 50%; top: 50%;
    width: 560px; height: 1320px;
    transform: translate(-50%, -50%) rotate(26deg);
    opacity: 0.34;
    filter: blur(0.8px);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 20%, #000 60%, transparent 88%);
            mask-image: linear-gradient(to bottom, transparent 0%, #000 20%, #000 60%, transparent 88%);
  }
  #dna-canvas { width: 100%; height: 100%; display: block; }

  /* frosted glass veil — keeps the helix in the background,
     fades it under the nav and along the bottom */
  #dna-veil {
    position: absolute; inset: 0; z-index: 2; pointer-events: none;
    -webkit-backdrop-filter: blur(2.5px); backdrop-filter: blur(2.5px);
    background: linear-gradient(to bottom,
      rgba(255,255,255,0.88) 0%,
      rgba(255,255,255,0.16) 15%,
      rgba(255,255,255,0.00) 38%,
      rgba(255,255,255,0.00) 52%,
      rgba(255,255,255,0.70) 74%,
      rgba(255,255,255,1) 90%);
  }

  /* ---------- layers ---------- */
  .layer { position: absolute; z-index: 5; }

  /* nav — fixed sticky header */
  #nav {
    position: fixed; left: 0; right: 0; top: 0;
    display: flex; align-items: center; justify-content: space-between;
    padding: 26px 56px;
    z-index: 50;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease),
      box-shadow var(--dur-base) var(--ease), padding var(--dur-base) var(--ease);
  }
  #nav.is-stuck {
    background: rgba(255,255,255,.82);
    -webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px);
    border-bottom-color: var(--hairline);
    box-shadow: var(--shadow-sm);
    padding: 16px 56px;
  }
  .nav-links { display: flex; align-items: center; gap: 30px; }
  .nav-links .navlink { font-size: 15px; }
  .nav-pill {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    height: 44px; padding: 0 22px; border-radius: var(--radius-pill);
    background: var(--blue-deep); color: #fff; text-decoration: none; white-space: nowrap;
    font-size: 15px; font-weight: var(--fw-semibold); letter-spacing: var(--tracking-snug);
    transition: background var(--dur-base) var(--ease), transform var(--dur-fast) var(--ease);
  }
  .nav-pill:hover { background: var(--accent); transform: translateY(-1px); }
  .nav-pill:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
  .nav-toggle { display: none; }
  @media (max-width: 1240px) {
    #nav { padding-left: 24px; padding-right: 24px; }
    #nav.is-stuck { padding-left: 24px; padding-right: 24px; }
    .nav-toggle {
      display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0; cursor: pointer;
      border: 1px solid var(--border-strong); border-radius: 50%; background: rgba(255,255,255,.9); color: var(--ink);
    }
    .nav-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
    .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
      display: block; width: 16px; height: 2px; border-radius: 2px; background: currentColor; content: '';
      transition: transform var(--dur-base) var(--ease), opacity var(--dur-fast) var(--ease);
    }
    .nav-toggle span { position: relative; }
    .nav-toggle span::before, .nav-toggle span::after { position: absolute; left: 0; }
    .nav-toggle span::before { top: -5px; }
    .nav-toggle span::after { top: 5px; }
    #nav.is-open .nav-toggle span { background: transparent; }
    #nav.is-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
    #nav.is-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }
    .nav-links {
      display: none; position: absolute; top: 100%; left: 0; right: 0;
      flex-direction: column; align-items: stretch; gap: 0; padding: 4px 24px 20px;
      background: #fff; border-bottom: 1px solid var(--hairline); box-shadow: var(--shadow-md);
    }
    #nav.is-open .nav-links { display: flex; }
    .nav-links .navlink { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--hairline-2); border-radius: 0; font-size: 16px; }
    .nav-links .navlink::after { display: none; }
    .nav-pill { margin-top: 16px; }
  }
  #nav .logo-link { display: inline-flex; align-items: center; border-radius: var(--radius-8); }
  #nav .logo-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
  #nav img.logo { height: 32px; width: auto; display: block; }
  .navlink {
    font-size: var(--fs-body); font-weight: var(--fw-medium);
    color: var(--ink-soft); letter-spacing: var(--tracking-snug);
    cursor: pointer; transition: color var(--dur-base) var(--ease);
    text-decoration: none; white-space: nowrap;
    padding: 12px 2px; margin: -12px -2px; border-radius: var(--radius-8);
  }
  .navlink:hover { color: var(--ink); }

  /* heading */
  #headline { left: 60px; top: 168px; width: 560px; max-width: 560px; }
  #headline h1 {
    margin: 0; font-weight: var(--fw-extra);
    font-size: 43px; line-height: 1.07;
    letter-spacing: -0.03em; color: var(--ink);
  }
  #headline .subcopy {
    margin: 22px 0 0; max-width: 500px;
    font-size: 17px; line-height: 1.55; color: var(--ink-soft);
    text-wrap: pretty;
  }
  #headline .lastline { display: flex; align-items: flex-end; gap: 22px; }
  .monolabel {
    font-family: var(--font-mono); font-size: 13px; line-height: 1.4;
    color: var(--muted); letter-spacing: var(--tracking-mono);
    padding-bottom: 12px; white-space: nowrap;
  }
  .monolabel b { color: var(--accent); font-weight: 500; }

  /* bottom-left CTA */
  #vid { left: 60px; top: 496px; width: auto; }
  .cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
  .cta {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    height: 48px; padding: 0 24px; border-radius: var(--radius-pill);
    border: 1px solid transparent; cursor: pointer; text-decoration: none;
    font-family: var(--font-sans); font-size: 15px; font-weight: var(--fw-medium);
    letter-spacing: var(--tracking-snug); white-space: nowrap;
    transition: background var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease), transform var(--dur-fast) var(--ease), box-shadow var(--dur-base) var(--ease);
  }
  .cta svg { flex: none; }
  .cta--primary {
    background: var(--blue-deep); color: #fff;
    box-shadow: 0 12px 32px rgba(0,60,157,.28), 0 2px 8px rgba(0,60,157,.18);
  }
  .cta--primary:hover { background: var(--accent); box-shadow: 0 16px 40px rgba(0,60,157,.34), 0 3px 10px rgba(0,60,157,.20); transform: translateY(-1px); }
  .cta--secondary {
    background: transparent; color: var(--blue-deep); border-color: var(--blue-deep);
  }
  .cta--secondary:hover { background: var(--accent-tint); transform: translateY(-1px); }
  .cta:active { transform: scale(.99); }
  .cta:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--focus-ring); }
  #vid .cta { height: 56px; padding: 0 30px; font-size: 17px; }
  #vid .cta svg { width: 18px; height: 18px; }

  /* ---------- workspace demo panel ---------- */
  #demo { right: 48px; top: 92px; width: 408px; z-index: 6; }
  .ws {
    position: relative; background: var(--white); color: var(--ink);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-16); box-shadow: var(--shadow-lg);
    overflow: hidden;
  }
  .ws-screen { display: flex; flex-direction: column; }
  .ws-screen[hidden] { display: none; }

  /* title bar */
  .ws-bar {
    height: 46px; flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between;
    padding: 0 16px; border-bottom: 1px solid var(--hairline);
  }
  .traffic { display: flex; gap: 7px; }
  .traffic i { width: 11px; height: 11px; border-radius: 50%; display: block; background: var(--border-strong); }
  .ws-brand { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); letter-spacing: .02em; }

  /* workspace body */
  .ws-body { padding: 22px 20px 18px; }
  .ws-kicker {
    font-family: var(--font-mono); font-size: 11px; font-weight: 600;
    letter-spacing: .16em; color: var(--muted); margin: 0 0 13px;
  }
  .ws-query {
    font-size: 17px; line-height: 1.42; font-weight: var(--fw-semibold);
    color: var(--ink); margin: 0 0 20px; min-height: 48px; text-wrap: pretty;
  }
  .ws-query .caret {
    display: inline-block; width: 2px; height: 1.05em; background: var(--accent);
    margin-left: 2px; vertical-align: -3px; animation: bb-blink 1s steps(1) infinite;
    transition: opacity .5s var(--ease);
  }
  .ws-query .caret--done { animation: none; opacity: 0; }
  @keyframes bb-blink { 50% { opacity: 0; } }
  @media (prefers-reduced-motion: reduce) { .ws-query .caret { animation: none; } }

  .ws-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 3px; }
  .ws-step {
    width: 100%; display: flex; align-items: flex-start; gap: 13px; text-align: left;
    background: transparent; border: 1px solid transparent; border-radius: 12px;
    padding: 9px 11px; cursor: pointer; color: inherit; font-family: var(--font-sans);
    transition: background var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease);
  }
  .ws-step:hover { background: var(--surface-2); border-color: var(--hairline); }
  .ws-step:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
  .ws-stIc {
    width: 30px; height: 30px; border-radius: 9px; flex: 0 0 auto; margin-top: 1px;
    display: flex; align-items: center; justify-content: center;
    background: var(--accent-tint); color: var(--accent); border: 1px solid var(--hairline);
  }
  .ws-stT { display: block; font-size: 14px; font-weight: var(--fw-semibold); color: var(--ink); line-height: 1.3; }
  .ws-stS { display: block; font-family: var(--font-mono); font-size: 11px; color: var(--muted); margin-top: 3px; letter-spacing: -.01em; }
  .ws-step .ws-stArrow { margin-left: auto; align-self: center; color: var(--muted); opacity: 0; transition: opacity var(--dur-base) var(--ease), transform var(--dur-base) var(--ease); }
  .ws-step:hover .ws-stArrow { opacity: 1; transform: translateX(2px); }
  .ws-prov {
    margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--hairline);
    font-family: var(--font-mono); font-size: 11px; color: var(--muted);
    display: flex; align-items: center; gap: 8px;
  }
  .ws-prov b { color: var(--accent); font-weight: 500; }

  /* ---- pipeline stepper: blue checkmarks + continuous fill rail ---- */
  .ws-steps { gap: 0; position: relative; }
  .ws-step--auto, .ws-step--report { align-items: stretch; gap: 14px; }
  .ws-step--auto { cursor: default; padding-top: 4px; padding-bottom: 4px; }
  .ws-step--auto:hover { background: transparent; border-color: transparent; }

  .ws-mark-col { flex: 0 0 22px; width: 22px; display: flex; flex-direction: column; align-items: center; }
  .ws-mark {
    flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%; position: relative; z-index: 1;
    border: 2px solid var(--border-strong); background: var(--white);
    display: flex; align-items: center; justify-content: center;
    transition: background .28s var(--ease), border-color .28s var(--ease);
  }
  .ws-mark-spin { display: none; }
  .ws-mark-check {
    width: 12px; height: 12px; color: #fff; opacity: 0; transform: scale(.4);
    transition: opacity .24s var(--ease), transform .24s var(--ease);
  }
  /* per-step connectors replaced by edge-to-edge segments between circles */
  .ws-conn { display: none; }
  .ws-seg { position: absolute; width: 2px; background: var(--hairline); z-index: 0; border-radius: 2px; }
  .ws-seg-fill {
    position: absolute; left: 0; top: 0; width: 100%; height: 0; background: var(--accent);
    border-radius: 2px; transition: height .3s var(--ease);
  }

  /* states */
  .ws-step[data-step] { opacity: .5; transition: opacity .28s var(--ease); }
  .ws-step[data-step].is-done { opacity: 1; }
  .ws-step.is-done .ws-mark { background: var(--accent); border-color: var(--accent); }
  .ws-step.is-done .ws-mark-check { opacity: 1; transform: scale(1); }

  .ws-stBody { display: flex; flex-direction: column; padding-top: 1px; }

  /* report step (4) — the only one that opens the document */
  .ws-step--report { cursor: pointer; transition: background var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease), opacity var(--dur-slow) var(--ease); }
  .ws-mark--report { border-style: dashed; }
  .ws-mark-open { width: 12px; height: 12px; color: var(--muted); transition: color var(--dur-base) var(--ease); }
  .ws-step--report[disabled] { opacity: .5; cursor: progress; }
  .ws-step--report[disabled]:hover { background: transparent; border-color: transparent; }
  .ws-step--report.is-ready { opacity: 1; background: var(--accent-tint); border-color: transparent; }
  .ws-step--report.is-ready .ws-mark { background: var(--accent); border-color: var(--accent); border-style: solid; }
  .ws-step--report.is-ready .ws-mark-open { color: #fff; }
  .ws-step--report.is-ready .ws-stArrow { opacity: 1; color: var(--accent); }
  @media (hover: hover) {
    .ws-step--report.is-ready:hover { background: #E2EAFD; }
  }

  /* ---------- outputs screen (light) ---------- */
  .ws-out { background: var(--white); color: var(--ink); }
  .ws-out .ws-bar { border-bottom-color: var(--hairline); }
  .out-back {
    display: inline-flex; align-items: center; gap: 6px; border: none; cursor: pointer;
    background: transparent; color: var(--ink-soft); font-family: var(--font-sans);
    font-size: 13px; font-weight: var(--fw-medium); padding: 6px 8px; margin-left: -8px;
    border-radius: var(--radius-8); transition: background var(--dur-base) var(--ease), color var(--dur-base) var(--ease);
  }
  .out-back:hover { background: var(--surface-2); color: var(--ink); }
  .out-back:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
  .out-titlebar { font-size: 13px; font-weight: var(--fw-semibold); color: var(--ink); }

  .out-body { padding: 16px 18px 18px; max-height: 520px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent; }
  .out-body::-webkit-scrollbar { width: 7px; }
  .out-body::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
  .out-body::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 8px; }
  .out-body::-webkit-scrollbar-track { background: transparent; }
  .out-tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--hairline); margin: 0 0 16px; overflow-x: auto; position: sticky; top: 0; background: var(--white); z-index: 1; scrollbar-width: none; }
  .out-tabs::-webkit-scrollbar { display: none; }
  .out-tab {
    flex: 0 0 auto; background: transparent; border: none; cursor: pointer;
    font-family: var(--font-sans); font-size: 12.5px; font-weight: var(--fw-medium);
    color: var(--muted); padding: 8px 10px; border-bottom: 2px solid transparent;
    margin-bottom: -1px; transition: color var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease);
  }
  .out-tab:hover { color: var(--ink); }
  .out-tab.is-active { color: var(--accent); border-bottom-color: var(--accent); font-weight: var(--fw-semibold); }
  .out-tab:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; border-radius: 4px; }
  .out-panel[hidden] { display: none; }

  .plot { margin-bottom: 16px; }
  .plot-h { font-size: 12.5px; font-weight: var(--fw-semibold); color: var(--ink); margin: 0 0 8px; text-align: center; }
  #volcano { width: 100%; height: 188px; display: block; }
  .heat { display: grid; gap: 7px 0; }
  .heat-grid { display: grid; gap: 2px; }
  .heat-cell { aspect-ratio: 1 / 1; border-radius: 2px; }
  .heat-rowlab { font-family: var(--font-mono); font-size: 10px; color: var(--ink-soft); display: flex; align-items: center; padding-left: 8px; }
  .heat-collab { font-family: var(--font-mono); font-size: 10px; color: var(--ink-soft); text-align: center; padding-top: 4px; }

  .out-check { list-style: none; margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--hairline); display: flex; flex-direction: column; gap: 9px; }
  .out-check li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink); }
  .out-check .ck { width: 18px; height: 18px; flex: 0 0 auto; color: var(--success); }

  .out-code {
    background: var(--surface-ink); color: #D7E0F2; border-radius: 10px;
    padding: 13px 14px; font-family: var(--font-mono); font-size: 11.5px; line-height: 1.65;
    white-space: pre; overflow-x: auto; margin: 0;
  }
  .out-code .k { color: #8FB4FF; } .out-code .s { color: #A7D8B6; } .out-code .c { color: #6E7C93; }

  .out-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
  .out-table th, .out-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--hairline); }
  .out-table th { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: var(--fw-semibold); }
  .out-table td { font-family: var(--font-mono); color: var(--ink); }
  .out-table td.up { color: var(--danger); } .out-table td.down { color: var(--accent); }

  .out-prose { font-size: 13.5px; line-height: 1.65; color: var(--ink-soft); margin: 0; text-wrap: pretty; }
  .out-audit { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
  .out-audit li { display: flex; flex-direction: column; gap: 2px; padding-left: 16px; position: relative; }
  .out-audit li::before { content: ''; position: absolute; left: 0; top: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--success); }
  .out-audit .a-t { font-size: 13px; font-weight: var(--fw-medium); color: var(--ink); }
  .out-audit .a-h { font-family: var(--font-mono); font-size: 11px; color: var(--muted); }

  /* outputs — refined panels */
  .out-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
  .out-stat { background: var(--surface-2); border: 1px solid var(--hairline); border-radius: 10px; padding: 9px 11px; display: flex; flex-direction: column; gap: 4px; }
  .out-stat-n { font-size: 15px; font-weight: var(--fw-bold); color: var(--ink); letter-spacing: -0.01em; line-height: 1; }
  .out-stat-l { font-size: 9.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }

  .out-vizcard { border: 1px solid var(--hairline); border-radius: 12px; padding: 12px 12px 10px; margin-bottom: 12px; }
  .out-vizcard:last-child { margin-bottom: 0; }
  .out-vizhead { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
  .out-vizhead .vh-t { font-size: 12px; font-weight: var(--fw-semibold); color: var(--ink); }
  .out-vizhead .vh-tag { font-family: var(--font-mono); font-size: 10px; color: var(--muted); }

  .out-codewrap { border-radius: 10px; overflow: hidden; border: 1px solid var(--surface-ink); }
  .out-codebar { display: flex; align-items: center; gap: 8px; background: #1a2336; padding: 8px 12px; }
  .out-codedot { width: 9px; height: 9px; border-radius: 50%; background: var(--success); flex: 0 0 auto; }
  .out-codename { font-family: var(--font-mono); font-size: 11px; color: #C3CEE6; }
  .out-codelang { margin-left: auto; font-family: var(--font-mono); font-size: 9.5px; color: #7D8AA8; text-transform: uppercase; letter-spacing: .06em; }
  .out-codewrap .out-code { border-radius: 0; }

  .out-sub { font-size: 12px; font-weight: var(--fw-semibold); color: var(--ink); margin: 0 0 10px; }
  .out-table tbody tr { transition: background var(--dur-base) var(--ease); }
  .out-table tbody tr:hover { background: var(--surface-2); }
  .out-table tbody td:first-child { font-weight: var(--fw-semibold); color: var(--ink); }
  .out-foot { font-family: var(--font-mono); font-size: 10.5px; color: var(--muted); margin: 12px 0 0; }

  .out-manifest { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding: 10px 12px; background: var(--surface-2); border: 1px solid var(--hairline); border-radius: 10px; font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-soft); }
  .out-manifest svg { width: 14px; height: 14px; color: var(--accent); flex: 0 0 auto; }

  /* ---------- live-project modal (workspace-style window) ---------- */
  .proj-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px; }
  .proj-modal[hidden] { display: none; }
  .proj-modal-backdrop { position: absolute; inset: 0; background: rgba(12,20,36,.5);
    -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
  .proj-window { position: relative; width: min(680px, 100%); max-height: min(86vh, 720px);
    display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--hairline);
    border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; }
  .proj-modal.is-open .proj-window { animation: pm-pop var(--dur-slow) var(--ease) both; }
  @keyframes pm-pop { from { transform: translateY(12px) scale(.985); } to { transform: none; } }
  @media (prefers-reduced-motion: reduce) { .proj-modal.is-open .proj-window { animation: none; } }

  .proj-window .ws-bar { position: relative; display: flex; align-items: center; gap: 10px;
    padding: 12px 16px; border-bottom: 1px solid var(--hairline); }
  .proj-window .traffic { display: inline-flex; gap: 6px; }
  .proj-window .traffic i { width: 11px; height: 11px; border-radius: 50%; background: var(--border-strong); }
  .proj-window .ws-brand { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
  .pm-close { margin-left: auto; width: 28px; height: 28px; display: inline-flex; align-items: center;
    justify-content: center; border: none; background: transparent; color: var(--muted); cursor: pointer;
    border-radius: 8px; transition: background var(--dur-base) var(--ease), color var(--dur-base) var(--ease); }
  .pm-close:hover { background: var(--surface-2); color: var(--ink); }
  .pm-close:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

  .pm-head { padding: 22px 24px 0; }
  .pm-kicker { margin: 0; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em;
    text-transform: uppercase; color: var(--accent); }
  .pm-title { margin: 10px 0 0; font-size: 22px; font-weight: var(--fw-bold); letter-spacing: -0.02em; color: var(--ink); }
  .pm-desc { margin: 8px 0 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); text-wrap: pretty; }

  .pm-body { padding: 0 24px 24px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent; }
  .pm-body::-webkit-scrollbar { width: 7px; }
  .pm-body::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
  .pm-body::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 8px; }
  .pm-body .out-tabs { padding-top: 18px; margin-bottom: 16px; }
  .pm-panel[hidden] { display: none; }
  .pm-note { margin: 12px 0 0; font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
  .pm-content { display: flex; flex-direction: column; min-height: 0; flex: 1 1 auto; }
  .pm-content[hidden] { display: none; }

  /* prompt panel */
  .pm-prompt { background: var(--surface-2); border: 1px solid var(--hairline); border-radius: 12px; padding: 16px 18px; }
  .pm-prompt-label { margin: 0 0 8px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
  .pm-prompt-text { margin: 0; font-size: 15px; line-height: 1.55; color: var(--ink); }
  .pm-source { margin: 14px 0 0; font-size: 12.5px; color: var(--muted); }
  .pm-source a { color: var(--accent); text-decoration: none; }
  .pm-source a:hover { text-decoration: underline; }
  .pm-plan-h { margin: 22px 0 12px; font-size: 12px; font-weight: var(--fw-semibold); color: var(--ink); }
  .pm-plan { list-style: none; margin: 0; padding: 0; counter-reset: step; display: flex; flex-direction: column; gap: 10px; }
  .pm-plan li { position: relative; padding-left: 34px; font-size: 14px; line-height: 1.5; color: var(--ink-soft); counter-increment: step; text-wrap: pretty; }
  .pm-plan li::before { content: counter(step); position: absolute; left: 0; top: -1px; width: 22px; height: 22px; border-radius: 50%;
    background: var(--accent-tint); color: var(--accent); font-size: 11px; font-weight: var(--fw-bold); display: flex; align-items: center; justify-content: center; }

  /* results figures + cohort table */
  .pm-fig { width: 100%; display: block; border-radius: 8px; }
  .pm-cohorts { width: 100%; border-collapse: collapse; }
  .pm-cohorts th, .pm-cohorts td { text-align: left; font-size: 12.5px; padding: 7px 10px; border-bottom: 1px solid var(--hairline); }
  .pm-cohorts th { font-weight: var(--fw-semibold); color: var(--muted); font-size: 10.5px; text-transform: uppercase; letter-spacing: .04em; }
  .pm-cohorts td:first-child { font-weight: var(--fw-semibold); color: var(--ink); font-family: var(--font-mono); }
  .pm-cohorts td:last-child, .pm-cohorts th:last-child { text-align: right; font-family: var(--font-mono); }

  /* ready card thumbnail image */
  .proj-thumb img { display: block; width: 100%; height: 172px; object-fit: cover; object-position: top center; }

  /* coming-soon cards */
  .proj--soon .proj-thumb { display: flex; align-items: center; justify-content: center; height: 172px; background: var(--surface-2); }
  .proj-soon-ic { width: 28px; height: 28px; color: var(--border-strong); }
  .proj-body--soon { display: block; padding: 16px 2px 6px; }
  .proj--soon .proj-title { color: var(--ink-soft); }
  .proj-badge { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 12px; font-size: 10.5px; font-weight: var(--fw-semibold);
    letter-spacing: .05em; text-transform: uppercase; color: var(--muted); background: var(--surface-2);
    border: 1px solid var(--hairline); padding: 4px 9px; border-radius: var(--radius-pill); }
  .proj-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--border-strong); }
  .proj-soon-tag { margin-top: 14px; display: inline-block; font-size: 13px; font-weight: var(--fw-medium); color: var(--muted); }

  /* ============ landing sections (below hero) ============ */
  #page { position: relative; z-index: 1; background: var(--white); }
  .container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
  .container.narrow { max-width: 840px; }
  .sec { padding: 128px 0; }
  section[id] { scroll-margin-top: 72px; }
  .sec-head { max-width: 720px; margin-bottom: 72px; }

  /* scroll reveal (fade + rise) — enabled by JS adding .js-reveal to <html> */
  .js-reveal [data-reveal] {
    opacity: 0; transform: translateY(30px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
  }
  .js-reveal [data-reveal].in { opacity: 1; transform: none; }
  @media (prefers-reduced-motion: reduce) {
    .js-reveal [data-reveal] { opacity: 1 !important; transform: none !important; transition: none; }
  }
  .sec-title {
    margin: 0; font-size: clamp(32px, 4vw, 46px); font-weight: var(--fw-extra);
    letter-spacing: -0.025em; line-height: 1.08; color: var(--ink); text-wrap: balance;
  }
  .sec-sub {
    margin: 18px 0 0; font-size: 19px; line-height: 1.6; color: var(--ink-soft);
    max-width: 640px; text-wrap: pretty;
  }

  /* about the company */
  .sec-about { background: var(--white); padding-top: 140px; }
  .about-head { margin-bottom: 28px; }
  .about-video {
    border-radius: var(--radius-20); overflow: hidden; background: var(--surface-ink);
    box-shadow: var(--shadow-md); aspect-ratio: 1920 / 1012;
  }
  .about-video video { display: block; width: 100%; height: 100%; object-fit: cover; }
  @media (max-width: 920px) { .sec-about { padding-top: 110px; } .about-video { border-radius: var(--radius-16); } }

  /* problem statement */
  .sec-statement { background: var(--surface-2); }
  .statement {
    margin: 0; font-size: clamp(34px, 5vw, 58px); font-weight: var(--fw-extra);
    letter-spacing: -0.03em; line-height: 1.05; color: var(--ink);
    max-width: 1000px; text-wrap: balance;
  }
  .statement em { color: var(--accent); font-style: normal; }
  .sec-statement .lead {
    margin: 30px 0 0; font-size: 20px; line-height: 1.6; color: var(--ink-soft); max-width: 720px;
    text-wrap: pretty;
  }

  /* features — nebius-style bento grid */
  .bento {
    display: grid; grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr; gap: 24px;
  }
  .bento-card {
    position: relative; display: flex; flex-direction: column;
    border-radius: var(--radius-20); padding: 36px;
    min-height: 432px; overflow: hidden;
    border: 1px solid var(--hairline); background: var(--white);
  }
  @media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .bento-card { transition: transform var(--dur-slow) var(--ease), box-shadow var(--dur-slow) var(--ease); }
    .bento-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
  }
  .bento-card--soft  { background: var(--surface-2); border-color: transparent; }
  .bento-card--tint  { background: var(--accent-tint); border-color: transparent; }
  .bento-card--dark  { background: var(--ink); border-color: transparent; }
  .bento-card--dark .bento-title { color: #fff; }
  .bento-card--dark .bento-body  { color: #AEB7C6; }

  .bento-title {
    font-size: 23px; font-weight: var(--fw-bold); color: var(--ink);
    letter-spacing: -0.018em; line-height: 1.25; margin: 0 0 14px; text-wrap: balance;
  }
  .bento-body { font-size: 15.5px; line-height: 1.65; color: var(--ink-soft); margin: 0; text-wrap: pretty; }

  /* image placeholder well */
  .img-well {
    margin-top: 30px; flex: 1 1 auto; min-height: 168px;
    border-radius: 14px; background: var(--surface-3); overflow: hidden;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
    color: var(--muted); border: 1px solid var(--hairline);
  }
  .img-well img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .img-well svg { color: var(--muted); opacity: .65; }
  .img-well span { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.02em; color: var(--ink-soft); }
  .bento-card--tint .img-well { background: rgba(255,255,255,.55); border-color: rgba(255,255,255,.7); }
  .img-well--dark { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); color: #B6C0CE; }
  .img-well--dark svg { color: rgba(255,255,255,.22); }

  /* checklist card */
  .check-list { margin: 30px 0 0; display: flex; flex-direction: column; gap: 13px; }
  .check-row { display: flex; align-items: center; gap: 12px; }
  .check-ic {
    width: 30px; height: 30px; border-radius: 50%; flex: 0 0 auto;
    display: flex; align-items: center; justify-content: center;
    background: var(--accent); color: #fff;
  }
  .check-pill {
    flex: 1; background: var(--surface-2); border: 1px solid var(--hairline);
    border-radius: var(--radius-pill); padding: 11px 18px;
    font-size: 14.5px; font-weight: var(--fw-medium); color: var(--ink-soft);
  }

  /* stats band */
  .stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--ink); }
  .stat { padding: 50px 32px 6px 0; }
  .stat:not(:first-child) { padding-left: 36px; border-left: 1px solid var(--hairline); }
  .stat-fig {
    font-size: clamp(46px, 5.5vw, 72px); font-weight: var(--fw-extra); line-height: 1;
    letter-spacing: -0.04em; color: var(--ink);
  }
  .stat-fig em { color: var(--accent); font-style: normal; }
  .stat-cap { margin: 20px 0 0; font-size: 15px; line-height: 1.5; color: var(--ink-soft); max-width: 220px; text-wrap: pretty; }

  /* faq */
  .faq { border-top: 1px solid var(--hairline); }
  .faq details { border-bottom: 1px solid var(--hairline); }
  .faq summary {
    list-style: none; cursor: pointer; padding: 26px 0; display: flex;
    justify-content: space-between; align-items: center; gap: 24px;
    font-size: 19px; font-weight: var(--fw-semibold); color: var(--ink);
  }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary:hover { color: var(--accent); }
  .faq summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: var(--radius-8); }
  .faq .pm {
    flex: 0 0 auto; width: 22px; height: 22px; position: relative; transition: transform var(--dur-base) var(--ease);
    color: var(--muted);
  }
  .faq .pm::before, .faq .pm::after {
    content: ''; position: absolute; background: currentColor; border-radius: 2px;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
  }
  .faq .pm::before { width: 14px; height: 2px; }
  .faq .pm::after { width: 2px; height: 14px; transition: transform var(--dur-base) var(--ease); }
  .faq details[open] .pm { color: var(--accent); }
  .faq details[open] .pm::after { transform: translate(-50%, -50%) scaleY(0); }
  .faq .ans { padding: 0 0 28px; font-size: 16px; line-height: 1.65; color: var(--ink-soft); max-width: 720px; text-wrap: pretty; }

  /* beta */
  .sec-beta { background: var(--surface-2); }
  .beta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
  .beta-copy h2 {
    margin: 0; font-size: clamp(30px, 3.6vw, 42px); font-weight: var(--fw-extra);
    letter-spacing: -0.025em; line-height: 1.1; color: var(--ink); text-wrap: balance;
  }
  .beta-copy p { margin: 20px 0 0; font-size: 18px; line-height: 1.6; color: var(--ink-soft); max-width: 440px; text-wrap: pretty; }
  .beta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
  .beta-card { background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius-20); padding: 30px; box-shadow: var(--shadow-md); }
  .beta-card .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .beta-fields { display: flex; flex-direction: column; gap: 16px; }
  .beta-done {
    display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
    padding: 12px 4px; font-size: 16px; color: var(--ink); line-height: 1.5;
  }

  /* footer */
  .footer { background: var(--surface-ink); color: #C7CFDD; }
  .footer .container { padding-top: 76px; padding-bottom: 44px; }
  .footer-top { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; }
  .footer img { height: 28px; display: block; }
  .footer .blurb { margin: 22px 0 0; max-width: 320px; font-size: 14.5px; line-height: 1.6; color: #8B95A7; text-wrap: pretty; }
  .footer h3 { font-size: 13px; color: #FFFFFF; margin: 0 0 16px; font-weight: var(--fw-semibold); letter-spacing: 0.01em; }
  .footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
  .footer a { color: #AEB7C6; text-decoration: none; font-size: 14.5px; transition: color var(--dur-base) var(--ease); }
  .footer a:hover { color: #FFFFFF; }
  .footer a:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 3px; border-radius: 3px; }
  .footer-bottom {
    margin-top: 56px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.1);
    display: flex; justify-content: space-between; align-items: center; gap: 20px;
    font-size: 13px; color: #9AA6B6;
  }
  .footer-social { display: flex; gap: 14px; }
  .footer-social a { display: flex; }

  @media (max-width: 920px) {
    .sec { padding: 80px 0; }
    .container { padding: 0 24px; }
    .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
    .bento-card { min-height: 320px; }
    .stats { grid-template-columns: 1fr 1fr; }
    .stat:nth-child(odd) { padding-left: 0; }
    .stat:nth-child(even) { border-left: 1px solid var(--hairline); }
    .stat:nth-child(3), .stat:nth-child(4) { border-top: 1px solid var(--hairline); padding-top: 32px; }
    .beta-grid { grid-template-columns: 1fr; gap: 36px; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  }

  /* ---------- mobile hero: reflow instead of shrinking the stage ---------- */
  @media (max-width: 760px) {
    #fit { height: auto; min-height: 0; display: block; }
    #stage {
      width: 100%; height: auto; transform: none !important;
      display: flex; flex-direction: column;
      padding: 88px 24px 56px;
    }
    .layer { position: static; }
    #dna-rot { opacity: 0.2; }
    #nav { padding: 14px 24px; background: rgba(255,255,255,.92);
      -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
      border-bottom: 1px solid var(--hairline); }
    #headline { order: 1; width: auto; max-width: 560px; }
    #headline h1 { font-size: clamp(38px, 10.5vw, 58px); }
    #headline .subcopy { margin-top: 20px; }
    #vid { order: 2; width: auto; margin-top: 32px; }
    #demo { order: 3; width: 100%; max-width: 400px; margin: 44px auto 0; }
  }
  @media (max-width: 600px) {
    .beta-card .row2 { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    .stats { grid-template-columns: 1fr; }
    .stat { padding-left: 0 !important; border-left: none !important; }
    .stat:not(:first-child) { border-top: 1px solid var(--hairline); padding-top: 32px; }
  }

  /* ============ section kicker (mono label) ============ */
  .kicker { font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .16em;
    text-transform: uppercase; color: var(--accent); margin: 0 0 18px; }
  .kicker--ondark { color: #6FA0FF; }

  /* ============ case studies ============ */
  .sec-cases { background: var(--surface-2); }
  .cases-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 56px; }
  .case-card { display: flex; flex-direction: column; min-width: 0; background: var(--white); border: 1px solid var(--hairline);
    border-radius: var(--radius-20); padding: 30px 32px; box-shadow: var(--shadow-xs); }
  .case-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
  .case-cat { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
  .case-badge { flex: 0 0 auto; font-size: 12px; font-weight: var(--fw-semibold); color: var(--ink-soft); background: var(--surface-3);
    padding: 5px 11px; border-radius: var(--radius-pill); white-space: nowrap; }
  .case-title { margin: 16px 0 0; font-size: 22px; font-weight: var(--fw-bold); color: var(--ink); letter-spacing: -.02em; }
  .case-desc { margin: 12px 0 0; font-size: 15px; line-height: 1.6; color: var(--ink-soft); text-wrap: pretty; }
  .case-pill { margin: 20px 0 0; min-width: 0; max-width: 100%; font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-soft); background: var(--surface-2);
    border: 1px solid var(--hairline); border-radius: var(--radius-10); padding: 11px 14px; overflow-x: auto; white-space: nowrap; letter-spacing: -.01em;
    scrollbar-width: none; -ms-overflow-style: none; }
  .case-pill::-webkit-scrollbar { display: none; }
  .case-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--hairline); }
  .case-stat { margin: 16px 0 0; font-size: 14.5px; color: var(--ink-soft); }
  .case-fig { font-size: 20px; font-weight: var(--fw-extra); color: var(--accent); letter-spacing: -.01em; margin-right: 6px; }

  @media (max-width: 920px) {
    .bench-grid { grid-template-columns: 1fr; gap: 44px; }
    .how-flow { grid-template-columns: 1fr 1fr; gap: 8px 28px; }
    .how-line { display: none; }
    .how-step { margin-bottom: 28px; }
    .cases-grid { grid-template-columns: 1fr; }
    .bars { height: 300px; }
  }
  @media (max-width: 600px) {
    .how-flow { grid-template-columns: 1fr; }
    .bars { height: 260px; gap: 10px; }
    .bar-labs { gap: 10px; }
    .bar-labs span { font-size: 10px; }
    .case-card { padding: 24px; }
  }

  /* ============ explore live projects (carousel) ============ */
  .sec-explore { background: var(--white); }
  .explore-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
  .explore-titles { flex: 1 1 auto; align-self: center; }
  .explore-titles .sec-title { margin: 0; font-size: clamp(28px, 3.4vw, 40px); font-weight: var(--fw-extra); letter-spacing: -0.025em; line-height: 1.08; color: var(--ink); }
  .explore-titles .kicker { margin-bottom: 14px; }
  .explore-sub { flex: 0 1 460px; margin: 0; font-size: 17px; line-height: 1.55; color: var(--ink-soft); text-wrap: pretty; }
  .explore-nav { display: flex; gap: 10px; flex: 0 0 auto; position: relative; top: 16px; }
  .explore-arrow { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border-strong); background: var(--white);
    color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer;
    transition: background var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease), color var(--dur-base) var(--ease); }
  .explore-arrow:hover { background: var(--surface-2); border-color: var(--muted); }
  .explore-arrow:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
  .explore-arrow[disabled] { opacity: .35; cursor: not-allowed; }

  .explore-scroll {
    margin-top: 44px; display: flex; gap: 24px; overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x proximity; scroll-behavior: smooth;
    padding: 12px max(40px, calc((100vw - 1200px) / 2 + 40px)) 24px max(40px, calc((100vw - 1200px) / 2 + 40px));
    scroll-padding-left: max(40px, calc((100vw - 1200px) / 2 + 40px));
    scrollbar-width: none; -ms-overflow-style: none;
  }
  .explore-scroll::-webkit-scrollbar { display: none; }
  .explore-scroll:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; border-radius: var(--radius-8); }
  @media (prefers-reduced-motion: reduce) { .explore-scroll { scroll-behavior: auto; } }

  .proj { flex: 0 0 300px; width: 300px; scroll-snap-align: start; }
  .proj-thumb { display: block; border: 1px solid var(--hairline); border-radius: 14px; overflow: hidden; background: var(--surface-2); }
  .proj-thumb image-slot { display: block; width: 100%; height: 172px; }
  .proj-body { display: block; text-decoration: none; color: inherit; border-radius: var(--radius-10); padding: 16px 2px 6px; }
  .proj-title { margin: 0; font-size: 18px; font-weight: var(--fw-bold); letter-spacing: -0.01em; color: var(--ink); }
  .proj-desc { margin: 8px 0 0; font-size: 14px; line-height: 1.5; color: var(--muted); text-wrap: pretty;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .proj-cta { margin-top: 14px; display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: var(--fw-semibold); color: var(--ink); }
  .proj-cta svg { color: var(--accent); }
  .proj-body:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

  /* clickability affordance (transform + arrow + color — not color alone) */
  @media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .proj { transition: transform var(--dur-slow) var(--ease); }
    .proj-thumb { transition: box-shadow var(--dur-slow) var(--ease); }
    .proj-cta svg { transition: transform var(--dur-base) var(--ease); }
    .proj:hover, .proj:focus-within { transform: translateY(-5px); }
    .proj:hover .proj-thumb, .proj:focus-within .proj-thumb { box-shadow: var(--shadow-lg); }
    .proj:hover .proj-cta, .proj:focus-within .proj-cta { color: var(--accent); }
    .proj:hover .proj-cta svg, .proj:focus-within .proj-cta svg { transform: translateX(4px); }
  }


  /* ---- research-story cards (case 01 after Canva page 4; case 02 in the same style) ---- */
  .st { --st-navy: #0f2a4a; --st-blue: #0b44a6; --st-line: rgba(15,42,74,.14);
    margin: 8px 0 64px; padding: 28px 44px 26px; border-radius: 28px;
    background: linear-gradient(160deg, #eef5ff 0%, #d9e9fb 55%, #cde2f8 100%); color: var(--st-navy); }
  .st p { margin: 0; }
  .st-top { display: flex; justify-content: flex-end; gap: 48px; padding-bottom: 14px; border-bottom: 1px solid var(--st-line);
    font-size: 13px; color: #4f6683; }
  .st-page { color: var(--st-blue); font-weight: 600; }
  .st-grid { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr); gap: 40px; margin-top: 24px; }
  .st-head { margin: 8px 0 28px; font-size: clamp(36px, 4vw, 52px); line-height: 1.04; font-weight: 800; letter-spacing: -0.03em; color: var(--st-navy); }
  .st-head em { font-style: normal; color: var(--st-blue); }
  .st-block { padding: 18px 0; border-top: 1px solid var(--st-line); }
  .st-block:first-of-type { border-top: 0; padding-top: 0; }
  .st-kicker { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--st-blue); }
  .st-lead { margin-top: 6px !important; font-size: 22px; line-height: 1.3; color: #0c1b2e; }
  .st-text { margin-top: 8px !important; font-size: 15px; line-height: 1.6; color: #1d3350; }
  .st-muted { color: #5b6f88; }
  .st-result { margin-top: 6px !important; font-size: 26px; line-height: 1.2; font-weight: 700; letter-spacing: -0.015em; color: #1f4f96; }
  .st-sub { margin-top: 22px !important; font-size: 20px; line-height: 1.25; font-weight: 700; color: #0c1b2e; }
  .st-overlap { margin-top: 16px !important; font-size: 13px; color: #5b6f88; }
  .st-overlap strong { display: block; font-size: 19px; color: #0c1b2e; }
  .st-cards { display: grid; gap: 18px; align-content: start; }
  .st-card { background: #fff; border-radius: 34px 46px 46px 34px; padding: 26px 30px 24px; }
  .st-card-kicker { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #0c1b2e; }
  .st-card-title { margin: 6px 0 0; font-size: 22px; line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; color: #0c1b2e; }
  .st-card-sub { margin-top: 4px !important; font-size: 13px; color: #33465f; }
  .st-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 18px 0 8px; }
  .st-tab { border: 0; border-bottom: 2px solid #0c1b2e; background: transparent; padding: 7px 8px; font-size: 13px; color: #0c1b2e; cursor: pointer; }
  .st-tab[aria-pressed="true"] { background: #d9eafc; color: var(--st-blue); font-weight: 700; }
  .st-tab:focus-visible { outline: 2px solid var(--st-blue); outline-offset: 2px; }
  .st-chart { padding: 14px 0 0 96px; }
  .st-chart[hidden] { display: none; }
  .st-axis-title { font-size: 11px; letter-spacing: .03em; text-transform: uppercase; color: #6b7d93; margin-bottom: 10px !important; }
  .st-rows { display: grid; gap: 12px; position: relative;
    background: repeating-linear-gradient(90deg, #e6ebf2 0 1px, transparent 1px 20%); background-size: calc(100% - 64px) 100%; background-repeat: no-repeat; }
  .st-row { position: relative; display: block; height: 22px; }
  .st-name { position: absolute; right: 100%; margin-right: 12px; top: 0; line-height: 22px; font-size: 13px; font-weight: 700; color: #0c1b2e; white-space: nowrap; }
  .st-track { position: absolute; inset: 0 64px 0 0; }
  .st-bar { position: absolute; left: 0; top: 0; bottom: 0; background: var(--st-blue); transition: width .35s ease; }
  .st-pct { position: absolute; top: 0; margin-left: 8px; line-height: 22px; font-size: 14px; font-weight: 700; color: #0c1b2e; }
  .st-ticks { margin: 10px 64px 0 0; position: relative; height: 16px; }
  .st-ticks-inner span { position: absolute; transform: translateX(-50%); font-size: 11px; color: #6b7d93; }
  .st-note { margin-top: 18px !important; font-size: 12px; line-height: 1.5; color: #33465f; }
  .st-comp-row { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 14px; align-items: center; margin-top: 16px; }
  .st-comp-label { font-size: 12px; line-height: 1.5; color: #33465f; }
  .st-comp-label strong { display: block; color: #0c1b2e; }
  .st-stack { display: flex; height: 34px; }
  .st-seg { display: flex; align-items: center; justify-content: center; min-width: 0; font-size: 12px; font-weight: 700; color: #0c1b2e; }
  .st-cn { background: #c4dbf2; } .st-smc { background: #a8c6e8; } .st-emci { background: #6a9fd5; }
  .st-lmci { background: #2f6aad; color: #fff; } .st-ad { background: #123c74; color: #fff; }
  .st-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 16px 0 0 90px; font-size: 12px; color: #33465f; }
  .st-legend i { display: inline-block; width: 10px; height: 10px; margin-right: 6px; vertical-align: -1px; }
  .st-foot { display: grid; grid-template-columns: 1.1fr 1fr auto; gap: 24px; align-items: center; margin-top: 22px; padding-top: 14px;
    border-top: 1px solid var(--st-line); font-size: 12px; color: #33465f; }
  .st-foot strong { display: block; font-size: 13px; color: #0c1b2e; }
  .st-foot a { font-size: 14px; font-weight: 700; color: var(--st-blue); text-decoration: none; white-space: nowrap; }
  .st-foot a:hover { text-decoration: underline; }
  @media (max-width: 980px) {
    .st { padding: 22px 20px; border-radius: 22px; }
    .st-grid { grid-template-columns: 1fr; gap: 24px; }
    .st-foot { grid-template-columns: 1fr; gap: 10px; }
  }
  @media (max-width: 560px) {
    .st-card { padding: 20px 18px; border-radius: 22px; }
    .st-tabs { gap: 10px; }
    .st-chart { padding-left: 84px; }
    .st-legend { margin-left: 0; }
    .st-comp-row { grid-template-columns: 60px minmax(0, 1fr); gap: 8px; }
    .st-seg { font-size: 10px; }
  }
  @media (prefers-reduced-motion: reduce) { .st-bar { transition: none; } }

  .st-tabs--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .st-tabs--4 .st-tab { padding: 7px 4px; font-size: 12.5px; }
  .st-matrix { display: grid; grid-template-columns: 78px 1fr 1fr; gap: 8px; margin-top: 18px; }
  .st-axis { display: flex; align-items: flex-end; justify-content: center; font-size: 11px; color: #6b7d93; }
  .st-axis--row { align-items: center; justify-content: flex-start; font-weight: 700; color: #0c1b2e; line-height: 1.3; }
  .st-cell { padding: 14px 8px 12px; text-align: center; border-radius: 6px; }
  .st-cell strong { display: block; font-size: 30px; line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; }
  .st-cell small { display: block; margin-top: 4px; font-size: 11px; }
  .st-cell--hit { background: var(--st-blue); color: #fff; }
  .st-cell--hit small { color: #d6e4fb; }
  .st-cell--miss { background: #c4dbf2; color: #0c1b2e; }
  .st-cell--miss small { color: #33465f; }
  .st-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid #e6ebf2; }
  .st-metrics strong { display: block; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; color: var(--st-blue); }
  .st-metrics span { display: block; font-size: 12px; color: #0c1b2e; }
  .st-metrics small { display: block; font-size: 11px; color: #6b7d93; }
  .st-ci { margin-top: 18px; padding-left: 132px; }
  .st-ci-row { position: relative; height: 40px; }
  .st-ci-name { position: absolute; right: 100%; margin-right: 14px; top: 2px; width: 120px; font-size: 11px; line-height: 1.35; color: #6b7d93; }
  .st-ci-name strong { display: block; font-size: 13px; color: #0c1b2e; }
  .st-ci-track { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 calc(4.545% - 1px), #e6ebf2 calc(4.545% - 1px) 4.545%, transparent 4.545% 18.18%); }
  .st-ci-line { position: absolute; top: 11px; height: 2px; background: var(--st-blue); }
  .st-ci-line::before, .st-ci-line::after { content: ''; position: absolute; top: -5px; width: 2px; height: 12px; background: var(--st-blue); }
  .st-ci-line::before { left: 0; } .st-ci-line::after { right: 0; }
  .st-ci-dot { position: absolute; top: 6px; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--st-blue); }
  .st-ci-val { position: absolute; top: 20px; transform: translateX(-50%); font-size: 11px; font-weight: 700; color: #0c1b2e; }
  .st-ci-axis { position: relative; height: 18px; margin-top: 4px; border-top: 1px solid #c9d3df; }
  .st-ci-ticks span { position: absolute; top: 3px; transform: translateX(-50%); font-size: 11px; color: #6b7d93; }
  .st-ci-title { margin-top: 6px !important; font-size: 11px; letter-spacing: .03em; text-transform: uppercase; color: #6b7d93; }
  @media (max-width: 560px) {
    .st-tabs--4 { grid-template-columns: 1fr 1fr; }
    .st-matrix { grid-template-columns: 64px 1fr 1fr; }
    .st-cell strong { font-size: 24px; }
    .st-metrics strong { font-size: 18px; }
    .st-ci { padding-left: 104px; }
    .st-ci-name { width: 96px; }
    .st-ci-row { height: 54px; }
  }

  .st-drawer { margin-top: 22px; border-top: 1px solid var(--st-line); }
  .st-drawer summary { display: flex; align-items: center; gap: 12px; padding: 16px 0 2px; cursor: pointer; list-style: none;
    font-size: 15px; font-weight: 700; color: #0c1b2e; }
  .st-drawer summary::-webkit-details-marker { display: none; }
  .st-drawer-hint { margin-left: auto; font-size: 13px; font-weight: 600; color: var(--st-blue); }
  .st-drawer[open] .st-drawer-hint { visibility: hidden; }
  .st-drawer-ic { color: var(--st-blue); transition: transform .35s var(--fx-ease, ease); }
  .st-drawer[open] .st-drawer-ic { transform: rotate(180deg); }
  .st-drawer summary:focus-visible { outline: 2px solid var(--st-blue); outline-offset: 4px; border-radius: 4px; }
  .st-drawer-body { padding-top: 16px; animation: st-drawer-in .45s var(--fx-ease, ease); }
  @keyframes st-drawer-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
  .st-panels { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
  .st-panel { background: rgba(255,255,255,.88); border-radius: 18px; padding: 18px 20px; overflow-x: auto; }
  .st-panel--wide { grid-column: 1 / -1; }
  .st-panels--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-facts--row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 20px; }
  .st-facts--row div { border-bottom: 0; }
  .st-panel-title { font-size: 13px; font-weight: 700; color: #0c1b2e; }
  .st-panel-sub { margin-top: 4px !important; font-size: 12px; line-height: 1.5; color: #4f6683; }
  .st-table { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
  .st-table caption { text-align: left; font-size: 12px; color: #4f6683; padding-bottom: 8px; }
  .st-table th, .st-table td { padding: 7px 6px; border-bottom: 1px solid #e6ebf2; text-align: right; white-space: nowrap; }
  .st-table th:first-child { text-align: left; }
  .st-table thead th { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #6b7d93; }
  .st-table tbody th { font-weight: 600; color: #0c1b2e; }
  .st-table tbody tr:last-child th, .st-table tbody tr:last-child td { border-bottom: 0; }
  .st-table tbody tr { transition: background .2s ease; }
  .st-table tbody tr:hover { background: #f1f6fd; }
  .st-facts { margin: 10px 0 0; font-size: 13px; }
  .st-facts div { padding: 8px 0; border-bottom: 1px solid #e6ebf2; }
  .st-facts div:last-child { border-bottom: 0; }
  .st-facts dt { font-weight: 700; color: #0c1b2e; }
  .st-facts dd { margin: 2px 0 0; color: #33465f; }
  .st-chart--r2 { padding: 14px 0 0 196px; max-width: 760px; }
  .st-chart--r2 .st-rows { background: repeating-linear-gradient(90deg, #e6ebf2 0 1px, transparent 1px 25%); background-size: calc(100% - 64px) 100%; background-repeat: no-repeat; }
  .st-drawer-notes { margin-top: 14px; display: grid; gap: 6px; }
  .st-drawer-notes p { font-size: 12px; line-height: 1.6; color: #33465f; }
  @media (max-width: 560px) {
    .st-panels, .st-panels--2 { grid-template-columns: 1fr; }
    .st-facts--row { grid-template-columns: 1fr 1fr; }
    .st-chart--r2 { padding-left: 150px; }
    .st-chart--r2 .st-name { white-space: normal; width: 140px; text-align: right; line-height: 1.2; font-size: 11px; }
  }
  @media (prefers-reduced-motion: reduce) { .st-drawer-body { animation: none; } }

  /* ---- carousel: the active story in front, the other one blurred behind it ---- */
  #explore { overflow-x: clip; }
  .st-carousel { position: relative; margin-top: 44px; }
  .st-stage { display: grid; outline: none; touch-action: pan-y; }
  .st-slide { grid-area: 1 / 1; align-self: start; margin: 0; transform-origin: 50% 0;
    transition: transform .7s cubic-bezier(.22,.61,.36,1), filter .7s ease, opacity .7s ease, box-shadow .7s ease; }
  .st-slide.is-active { z-index: 2; box-shadow: 0 40px 80px -40px rgba(15,42,74,.45), 0 2px 6px rgba(15,42,74,.06); }
  .st-slide.is-behind { z-index: 1; opacity: .5; filter: blur(6px) saturate(.75); cursor: pointer;
    transform: translate(var(--st-peek, 15%), 30px) scale(.88); }
  .st-slide.is-behind.is-left { --st-peek: -15%; }
  .st-over-back, .st-over-back * { cursor: pointer !important; }
  .st-over-back .st-slide.is-behind { opacity: .66; filter: blur(4px) saturate(.85); }
  .st-dots { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 36px; }
  .st-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 99px; background: #c3cfdd; cursor: pointer;
    transition: width .4s ease, background .4s ease; }
  .st-dot[aria-current="true"] { width: 32px; background: var(--accent); }
  .st-dot:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
  @media (max-width: 760px) {
    .st-slide.is-behind { transform: translate(var(--st-peek, 7%), 18px) scale(.92); filter: blur(4px) saturate(.75); }
    .st-slide.is-behind.is-left { --st-peek: -7%; }
  }
  @media (prefers-reduced-motion: reduce) { .st-slide, .st-dot { transition: none; } }


  /* ============ client stories ============ */
  .sec-stories { background: var(--surface-2); padding: 96px 0; }
  .stories-head { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-bottom: 40px; }
  .stories-titles { max-width: 700px; }
  .stories-titles .kicker { margin-bottom: 14px; }
  .stories-titles .sec-title { margin: 0; font-size: clamp(28px, 3.4vw, 40px); font-weight: var(--fw-extra); letter-spacing: -0.025em; line-height: 1.08; color: var(--ink); }
  .stories-intro { flex: 0 1 400px; margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink-soft); text-wrap: pretty; }
  .stories-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
  .story-card { display: flex; flex-direction: column; min-width: 0; padding: 28px; background: var(--white);
    border: 1px solid var(--hairline); border-radius: var(--radius-16); box-shadow: var(--shadow-xs);
    transition: box-shadow var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease); }
  .story-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-md); }
  .story-identity { display: flex; align-items: center; min-height: 64px; margin-bottom: 20px; }
  .story-logo { display: block; width: auto; height: 48px; max-width: 100%; object-fit: contain; object-position: left center; }
  .story-illustration { display: block; width: 72px; height: 60px; object-fit: contain; }
  .story-title { margin: 0; min-height: 3.5em; font-size: 22px; font-weight: var(--fw-bold); letter-spacing: -0.02em; line-height: 1.18; color: var(--ink); }
  .story-preview { margin: 14px 0 18px; font-size: 14.5px; line-height: 1.65; color: var(--ink-soft); }
  .story-details { margin-top: auto; }
  .story-details summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px;
    padding-top: 12px; border-top: 1px solid var(--hairline); cursor: pointer; list-style: none;
    font-size: 14px; font-weight: var(--fw-semibold); color: var(--blue-deep); }
  .story-details summary::-webkit-details-marker { display: none; }
  .story-details summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
  .story-arrow { flex: none; transition: transform var(--dur-base) var(--ease); }
  .story-details summary:hover .story-arrow, .story-details[open] .story-arrow { transform: translateX(3px); }
  .story-full { display: grid; gap: 14px; padding: 16px 0 2px; }
  .story-client { margin: 0; padding-bottom: 12px; border-bottom: 1px solid var(--hairline); font-size: 13px; font-weight: var(--fw-semibold); color: var(--muted); }
  .story-block h4, .story-value h4 { margin: 0 0 6px; font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
  .story-block p, .story-value p { margin: 0; font-size: 14px; line-height: 1.65; color: var(--ink-soft); }
  .story-value { padding: 12px 14px 14px; background: var(--accent-tint); border-left: 2px solid var(--accent); border-radius: 0 var(--radius-8) var(--radius-8) 0; }
  .story-value h4 { color: var(--blue-deep); }

  /* ============ who we work with (tabs) ============ */
  .sec-work { background: #F4F7FD; padding: 96px 0; border-block: 1px solid var(--hairline); }
  .work-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 48px; align-items: start; }
  .work-intro .kicker { margin-bottom: 16px; }
  .work-intro .sec-title { margin: 0; font-size: clamp(30px, 3.4vw, 42px); font-weight: var(--fw-extra); letter-spacing: -0.03em; line-height: 1.1; color: var(--ink); }
  .work-copy { max-width: 440px; margin: 20px 0 32px; font-size: 17px; line-height: 1.65; color: var(--ink-soft); }
  .work-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
  .work-tabs [role="tab"] { padding: 9px 12px; border: 1px solid rgba(0,60,157,.3); border-radius: var(--radius-pill); background: var(--white);
    font: var(--fw-semibold) 13.5px/1.2 var(--font-sans); color: var(--blue-deep); white-space: nowrap; cursor: pointer;
    transition: background var(--dur-base) var(--ease), color var(--dur-base) var(--ease), border-color var(--dur-base) var(--ease); }
  .work-tabs [role="tab"]:hover { background: var(--accent-tint); }
  .work-tabs [role="tab"][aria-selected="true"] { background: var(--blue-deep); border-color: var(--blue-deep); color: #fff; }
  .work-tabs [role="tab"]:focus-visible, .work-panel:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
  .work-card { margin-top: 16px; padding: 28px 32px 24px; background: var(--white); border: 1px solid var(--hairline); border-radius: 24px; box-shadow: 0 30px 60px -30px rgba(0,60,157,.25); }
  .work-panel[hidden] { display: none; }
  .work-label { margin: 0; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--success); }
  .work-ask { max-width: 62ch; margin: 8px 0 24px; font-size: 15px; line-height: 1.6; color: var(--ink-soft); }
  .work-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; margin: 10px 0 0; padding: 0; list-style: none; }
  .work-list li { display: flex; flex-direction: column; gap: 3px; min-width: 0; padding: 12px 0; border-top: 1px solid var(--hairline); }
  .work-name { font-size: 14.5px; font-weight: var(--fw-semibold); line-height: 1.35; color: var(--ink); }
  .work-formats { display: flex; flex-wrap: wrap; gap: 4px 12px; font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
  .work-note { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--hairline); font-size: 13.5px; color: var(--muted); }
  .explore-note { max-width: 70ch; margin: 32px 0 0 auto; font-size: 13px; line-height: 1.5; text-align: right; color: var(--muted); }
  @media (max-width: 900px) {
    .stories-head { flex-direction: column; align-items: flex-start; gap: 14px; }
    .stories-intro { flex: none; }
    .stories-grid { grid-template-columns: 1fr; }
    .story-title { min-height: 0; }
    .work-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .work-copy { max-width: none; }
  }
  @media (max-width: 760px) {
    .sec-stories, .sec-work { padding: 72px 0; }
    .work-tabs { flex-wrap: nowrap; margin: 0 -24px; padding: 0 24px 4px; overflow-x: auto; scrollbar-width: none; }
    .work-tabs::-webkit-scrollbar { display: none; }
    .work-card { padding: 20px 18px 18px; }
    .work-list { grid-template-columns: 1fr; }
    .explore-note { margin-left: 0; text-align: left; }
  }

  /* ============ who we help + closing CTA ============ */
  .serif-title { margin: 0; font-family: 'Newsreader', Georgia, 'Times New Roman', serif; font-weight: 400;
    font-size: clamp(40px, 4.6vw, 60px); line-height: 1.08; letter-spacing: -0.02em; color: var(--surface-ink); }
  .serif-title em { font-style: italic; color: var(--blue-700); }
  .serif-title--center { text-align: center; }

  .sec-who { background: #E9EEF8; }
  .who-grid { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
  .who-card { display: flex; flex-direction: column; align-items: flex-start; padding: 44px; border-radius: 28px; }
  .who-card h3 { margin: 22px 0 0; max-width: 460px; font-family: 'Newsreader', Georgia, 'Times New Roman', serif;
    font-weight: 400; font-size: clamp(28px, 2.9vw, 38px); line-height: 1.18; letter-spacing: -0.015em; }
  .who-kicker { margin: 0; font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
  .who-body { margin: 22px 0 36px; max-width: 520px; font-size: 16px; line-height: 1.6; }
  .who-card .cta { margin-top: auto; }
  .who-card--dark { background: #14234B; color: #fff; }
  .who-card--dark .who-kicker { color: #8F9FC8; }
  .who-card--dark .who-body { color: #B6C0DA; }
  .who-card--light { background: var(--white); color: var(--surface-ink); box-shadow: var(--shadow-lg); }
  .who-card--light .who-kicker { color: var(--blue-700); }
  .who-card--light .who-body { color: var(--ink-soft); }
  .cta--cream { background: #F4F1EA; color: var(--surface-ink); }
  .cta--cream:hover { background: #fff; transform: translateY(-1px); }

  .sec-answer { padding: 140px 0 120px; text-align: center; background-color: #F3F1EC;
    background-image: linear-gradient(rgba(12,20,36,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(12,20,36,.045) 1px, transparent 1px);
    background-size: 64px 64px; }
  .sec-answer .serif-title { max-width: 820px; margin: 0 auto; font-size: clamp(44px, 6vw, 76px); line-height: 1.04; }
  .answer-sub { margin: 36px auto 40px; max-width: 560px; font-size: 17px; line-height: 1.6; color: var(--ink-soft); text-wrap: pretty; }
  .answer-note { margin: 22px 0 0; font-size: 14px; color: var(--muted); }
  @media (max-width: 800px) {
    .who-grid { grid-template-columns: 1fr; }
    .who-card { padding: 32px 28px; }
    .sec-answer { padding: 96px 0 88px; }
  }

  /* ============ technical details (sapien.ai-style engine diagram) ============ */
  .sec-tech { background: var(--surface-2);
    background-image: radial-gradient(rgba(12,20,36,.07) 1px, transparent 1px); background-size: 14px 14px; }
  .tx-head { max-width: 900px; }
  .tx-eyebrow { margin: 0 0 16px; font-size: 13px; font-weight: var(--fw-semibold); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
  .tx-title { margin: 0; font-size: clamp(24px, 2.7vw, 34px); line-height: 1.25; font-weight: var(--fw-semibold); letter-spacing: -0.02em; color: var(--ink); }
  .tx-title span { color: #8a93a5; }

  .tx-diagram { position: relative; margin-top: 0; display: grid; grid-template-columns: minmax(200px, 250px) minmax(0, 1fr) minmax(200px, 250px);
    gap: 0 clamp(56px, 8vw, 110px); align-items: center; }
  /* human scientist: sits above the agent and loops with it (question and plan down, results up) */
  .tx-human { margin-top: 56px; display: flex; flex-direction: column; align-items: center; }
  .tx-node.tx-node--human { position: relative; overflow: hidden; width: min(100%, 440px); text-align: center; background: #f5f8ff; border-color: #c9d6f2; }
  .tx-node--human::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent); }
  .tx-node--human .tx-node-top { justify-content: center; }
  .tx-node--human p { color: var(--ink-soft); }
  .tx-loop { display: flex; gap: 72px; height: 64px; }
  .tx-lane { position: relative; width: 0; border-left: 1.5px dashed #b9c3d6; }
  .tx-lane::after { content: ''; position: absolute; left: -5px; border: 4.5px solid transparent; }
  .tx-lane--down::after { bottom: -1px; border-top: 7px solid var(--accent); border-bottom: 0; }
  .tx-lane--up::after { top: -1px; border-bottom: 7px solid var(--accent); border-top: 0; }
  .tx-lane { border-left-color: var(--accent); }
  .tx-lane em { position: absolute; top: 50%; transform: translateY(-50%); white-space: nowrap; font-style: normal;
    font: 500 11.5px var(--font-mono); letter-spacing: var(--tracking-mono); color: var(--muted); }
  .tx-lane--down em { right: 14px; color: var(--accent); }
  .tx-lane--up em { left: 14px; color: var(--accent); }
  .tx-wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
  .tx-wires path { fill: none; stroke: #b9c3d6; stroke-width: 1.2; transition: stroke .3s ease, stroke-width .3s ease; }
  .tx-wires path.tx-pulse { stroke: var(--accent); stroke-width: 1.6; stroke-dasharray: 6 220; stroke-linecap: round; opacity: 0; }
  .tx-on .tx-wires path.tx-pulse { opacity: .9; animation: tx-flow 3.2s linear infinite; animation-delay: var(--d, 0s); }
  @keyframes tx-flow { from { stroke-dashoffset: 226; } to { stroke-dashoffset: 0; } }
  .tx-wires path.is-hot { stroke: var(--accent); stroke-width: 1.8; }
  .tx-col { position: relative; z-index: 1; display: grid; gap: 22px; }
  .tx-node { background: var(--white); border: 1px solid var(--hairline); border-radius: 12px; padding: 14px 16px 15px; box-shadow: var(--shadow-xs);
    transition: transform .35s var(--fx-ease, ease), box-shadow .35s ease, border-color .3s ease; cursor: default; }
  .tx-node:hover, .tx-node.is-hot { transform: translateY(-2px); border-color: #c9d6f2; box-shadow: 0 14px 30px -18px rgba(26,79,192,.45); }
  .tx-node-top { display: flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: var(--fw-semibold); color: var(--ink); }
  .tx-node p { margin: 6px 0 0; font-size: 13px; line-height: 1.45; color: var(--muted); }
  .tx-ico { width: 18px; height: 18px; flex: none; color: var(--accent); }

  .tx-engine { position: relative; z-index: 1; background: rgba(255,255,255,.75); border: 1px solid var(--hairline); border-radius: 18px; padding: 22px;
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: 0 30px 60px -36px rgba(12,20,36,.35); }
  .tx-engine-head { display: flex; align-items: center; gap: 12px; padding: 2px 4px 18px; font-size: 20px; font-weight: var(--fw-semibold); letter-spacing: -0.01em; color: var(--ink); }
  .tx-engine-mark { width: 32px; height: 32px; border-radius: 8px; }
  .tx-live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: var(--fw-medium); color: var(--success);
    background: var(--success-tint); padding: 4px 10px; border-radius: 999px; }
  .tx-live i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: tx-blink 1.6s ease-in-out infinite; }
  @keyframes tx-blink { 50% { opacity: .25; } }
  .tx-steps { list-style: none; margin: 0; padding: 0; background: var(--white); border: 1px solid var(--hairline); border-radius: 12px; overflow: hidden; }
  .tx-step { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-top: 1px solid var(--hairline-2); cursor: pointer;
    transition: background .35s ease; }
  .tx-step:first-child { border-top: 0; }
  .tx-step .tx-ico { margin-top: 2px; color: #8a93a5; transition: color .3s ease, transform .4s var(--fx-spring, ease); }
  .tx-step strong { display: block; font-size: 15.5px; font-weight: var(--fw-semibold); color: var(--ink); }
  .tx-step span { display: block; margin-top: 3px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
  .tx-step::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent); transform: scaleY(0); transition: transform .45s var(--fx-ease, ease); }
  .tx-step::after { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: linear-gradient(90deg, var(--accent), #5b8def);
    transform: scaleX(0); transform-origin: 0 50%; opacity: .5; }
  .tx-step:hover { background: #fafbfe; }
  .tx-step.is-active { background: #f5f8ff; }
  .tx-step.is-active::before { transform: scaleY(1); }
  .tx-step.is-active .tx-ico { color: var(--accent); transform: scale(1.12); }
  .tx-on .tx-step.is-active.is-timed::after { animation: tx-timer var(--tx-dwell, 3.2s) linear forwards; }
  @keyframes tx-timer { to { transform: scaleX(1); } }

  .tx-layers[hidden] { display: none; }
  .tx-layers { margin-top: 88px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
  .tx-layer { border-radius: 16px; padding: 28px 28px 22px; display: flex; flex-direction: column; border: 1px solid transparent;
    transition: transform .45s var(--fx-ease, ease), box-shadow .45s ease; }
  .tx-layer:hover { transform: translateY(-6px); box-shadow: 0 28px 50px -30px rgba(12,20,36,.45); }
  .tx-layer--ink { background: #0f2a5c; color: #fff; }
  .tx-layer--tint { background: #dfe8fb; color: var(--ink); }
  .tx-layer--paper { background: var(--white); color: var(--ink); border-color: var(--hairline); }
  .tx-art { height: 120px; display: grid; place-items: center; margin-bottom: 26px; }
  .tx-art svg { width: 100%; max-width: 260px; height: 110px; overflow: visible; }
  .tx-art text { font: 600 11px var(--font-sans); text-anchor: middle; fill: currentColor; }
  .tx-art-stack rect { fill: rgba(255,255,255,.08); stroke: rgba(255,255,255,.55); }
  .tx-art-flow { stroke: #8fb0ff; stroke-width: 2; stroke-dasharray: 3 3; fill: none; }
  .tx-on .tx-art-flow { animation: tx-dash 1s linear infinite; }
  @keyframes tx-dash { to { stroke-dashoffset: -12; } }
  .tx-art-plan > rect:first-child { fill: #fff; stroke: #c8d6f4; }
  .tx-art-plan circle { fill: var(--accent); }
  .tx-art-plan circle.tx-art-open { fill: #fff; stroke: #9db3e6; stroke-dasharray: 3 2; }
  .tx-art-plan path { stroke: #fff; stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
  .tx-art-plan rect:not(:first-child):not(.tx-art-btn) { fill: #e3eafa; }
  .tx-art-btn { fill: var(--accent); }
  .tx-on .tx-layer:hover .tx-art-btn { animation: tx-press .9s var(--fx-ease, ease); }
  @keyframes tx-press { 40% { transform: translateY(1px); opacity: .8; } }
  .tx-art-plan text { fill: #fff; font-size: 9px; }
  .tx-art-ledger > rect { fill: var(--surface-2); stroke: var(--hairline); }
  .tx-art-ledger path { stroke: var(--border-strong); }
  .tx-art-ledger text { text-anchor: start; font: 500 11px var(--font-mono); fill: var(--ink-soft); }
  .tx-art-ledger .tx-art-v { text-anchor: end; fill: var(--accent); }
  .tx-art-ledger .tx-art-k { fill: var(--muted); font-size: 10px; }
  .tx-kicker { margin: 0; font-size: 12.5px; font-weight: var(--fw-semibold); letter-spacing: .07em; text-transform: uppercase; opacity: .7; }
  .tx-layer h3 { margin: 8px 0 18px; font-size: 22px; line-height: 1.25; font-weight: var(--fw-semibold); letter-spacing: -0.015em; min-height: 2.5em; }
  .tx-layer ul { list-style: none; margin: 0; padding: 0; }
  .tx-layer li { padding: 12px 0; border-top: 1px solid rgba(12,20,36,.12); font-size: 14.5px; line-height: 1.45; transition: transform .3s var(--fx-ease, ease), opacity .3s ease; }
  .tx-layer--ink li { border-top-color: rgba(255,255,255,.18); color: rgba(255,255,255,.92); }
  .tx-layer li:hover { transform: translateX(4px); }

  @media (max-width: 980px) {
    .tx-diagram { grid-template-columns: 1fr; gap: 0; }
    .tx-wires { display: none; }
    .tx-col { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
    .tx-col--in::after, .tx-engine::after { content: ''; position: absolute; left: 50%; bottom: -30px; height: 30px; border-left: 1.5px dashed #b9c3d6; }
    .tx-col--in { margin-bottom: 30px; }
    .tx-loop { display: none; }
    .tx-human { margin-bottom: 24px; }
    .tx-engine { margin-bottom: 30px; }
    .tx-layers { grid-template-columns: 1fr; margin-top: 64px; }
    .tx-layer h3 { min-height: 0; }
  }
  @media (max-width: 640px) {
    .tx-col { grid-template-columns: 1fr; }
    .tx-engine { padding: 14px; }
    .tx-engine-head { font-size: 17px; }
    .tx-layer { padding: 24px 22px 18px; }
  }
  @media (prefers-reduced-motion: reduce) {
    .tx-on .tx-wires path.tx-pulse, .tx-live i, .tx-on .tx-art-flow, .tx-on .tx-step.is-active.is-timed::after { animation: none; }
    .tx-node:hover, .tx-layer:hover, .tx-layer li:hover { transform: none; }
  }

  .sec-beta[hidden], .cta[hidden] { display: none; }
  @media (max-width: 600px) {
    .explore-head { flex-direction: column; align-items: flex-start; }
    .explore-titles { align-self: auto; }
    .explore-sub { flex: none; }
    .explore-nav { top: 0; }
    .proj { flex-basis: 264px; width: 264px; }
  }

  /* ============ fx: interaction and motion polish (all pages) ============ */
  :root { --fx-ease: cubic-bezier(.22,.61,.36,1); --fx-spring: cubic-bezier(.34,1.56,.64,1); }
  body { animation: fx-page-in .6s var(--fx-ease) both; }
  @keyframes fx-page-in { from { opacity: 0; } to { opacity: 1; } }

  /* scroll progress */
  .fx-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 1000; pointer-events: none;
    background: linear-gradient(90deg, var(--accent), #5b8def); transform-origin: 0 50%; transform: scaleX(0); }

  /* sticky nav turns to frosted glass */
  #nav { transition: background .35s ease, box-shadow .35s ease, backdrop-filter .35s ease; }
  #nav.is-stuck { background: rgba(255,255,255,.72) !important; -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
    box-shadow: 0 1px 0 rgba(15,42,74,.06), 0 8px 30px -12px rgba(15,42,74,.18); }

  /* nav links: underline grows from the left */
  .navlink { position: relative; }
  .navlink::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; border-radius: 2px;
    background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--fx-ease); }
  .navlink:hover::after, .navlink[aria-current="page"]::after { transform: scaleX(1); }

  /* buttons: lift, press, a light sweep on primary, click ripple */
  .bb-btn, .explore-arrow, .st-tab, .st-dot { position: relative; overflow: hidden; -webkit-tap-highlight-color: transparent;
    transition: transform .25s var(--fx-ease), box-shadow .25s var(--fx-ease), background .2s ease, border-color .2s ease, color .2s ease; }
  .bb-btn:hover, .explore-arrow:hover { transform: translateY(-2px); }
  .bb-btn--primary:hover { box-shadow: 0 10px 24px -10px rgba(26,79,192,.65); }
  .bb-btn:active, .explore-arrow:active, .st-tab:active { transform: translateY(0) scale(.96); transition-duration: .08s; }
  .bb-btn--primary::before { content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; pointer-events: none;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); }
  .bb-btn--primary:hover::before { animation: fx-sheen .8s var(--fx-ease); }
  @keyframes fx-sheen { to { left: 130%; } }
  .fx-ripple { position: absolute; border-radius: 50%; pointer-events: none; transform: scale(0); opacity: .45;
    background: currentColor; animation: fx-ripple .6s var(--fx-ease) forwards; }
  @keyframes fx-ripple { to { transform: scale(1); opacity: 0; } }
  .explore-arrow svg { transition: transform .3s var(--fx-ease); }
  .explore-arrow[data-st-step="1"]:hover svg { transform: translateX(3px); }
  .explore-arrow[data-st-step="-1"]:hover svg { transform: translateX(-3px); }

  /* cards: lift and a soft light that follows the cursor */
  .case-card, .tier, .st-card { transition: transform .45s var(--fx-ease), box-shadow .45s var(--fx-ease), border-color .3s ease; }
  .case-card:hover, .tier:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -24px rgba(15,42,74,.35); }
  .st-slide.is-active .st-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -22px rgba(15,42,74,.35); }
  .fx-spot { position: relative; isolation: isolate; }
  .fx-spot::after { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
    background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(26,79,192,.09), transparent 65%);
    opacity: 0; transition: opacity .35s ease; }
  .fx-spot:hover::after { opacity: 1; }
  .case-card.fx-spot::after, .tier.fx-spot::after { z-index: 0; }

  /* scroll reveal: fade, rise and un-blur, staggered */
  .fx-on .fx-reveal { opacity: 0; transform: translateY(28px); filter: blur(6px);
    transition: opacity .9s var(--fx-ease), transform .9s var(--fx-ease), filter .9s var(--fx-ease);
    transition-delay: var(--fx-delay, 0ms); }
  .fx-on .fx-reveal.fx-in { opacity: 1; transform: none; filter: none; }

  /* research stories: charts draw themselves the first time a story is shown */
  .st-bar, .st-stack, .st-ci-line { transform-origin: 0 50%; transition: transform 1.1s var(--fx-ease), width .35s ease; }
  .st-pct, .st-ci-val, .st-cell strong, .st-metrics strong { transition: opacity .6s ease .5s, transform .6s var(--fx-spring) .5s; }
  .st-ci-dot { transition: transform .6s var(--fx-spring) .7s; }
  .fx-on .st-slide:not(.fx-seen) .st-bar, .fx-on .st-slide:not(.fx-seen) .st-stack, .fx-on .st-slide:not(.fx-seen) .st-ci-line { transform: scaleX(0); }
  .fx-on .st-slide:not(.fx-seen) .st-pct, .fx-on .st-slide:not(.fx-seen) .st-ci-val,
  .fx-on .st-slide:not(.fx-seen) .st-cell strong, .fx-on .st-slide:not(.fx-seen) .st-metrics strong { opacity: 0; transform: translateY(8px); }
  .fx-on .st-slide:not(.fx-seen) .st-ci-dot { transform: scale(0); }
  .st-row:nth-child(2) .st-bar { transition-delay: .08s; } .st-row:nth-child(3) .st-bar { transition-delay: .16s; } .st-row:nth-child(4) .st-bar { transition-delay: .24s; }
  .st-comp-row + .st-comp-row .st-stack { transition-delay: .12s; }
  .st-tab { transition: background .3s ease, color .3s ease, border-color .3s ease, transform .2s var(--fx-ease); }
  .st-tab:hover { background: #eef5fe; }
  .st-cell { transition: transform .35s var(--fx-spring); }
  .st-cell:hover { transform: scale(1.03); }
  .st-cell strong.fx-bump { animation: fx-bump .45s var(--fx-spring); }
  @keyframes fx-bump { 0% { transform: scale(.85); opacity: .4; } 100% { transform: none; opacity: 1; } }
  .st-foot a { position: relative; }
  .st-foot a::after { content: ''; position: absolute; left: 0; right: 1.2em; bottom: -3px; height: 2px; background: currentColor;
    transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--fx-ease); }
  .st-foot a:hover { text-decoration: none !important; }
  .st-foot a:hover::after { transform: scaleX(1); }

  /* live-project cards on case studies */
  .proj-thumb img { transition: transform .8s var(--fx-ease); }
  .proj:hover .proj-thumb img { transform: scale(1.05); }

  @media (prefers-reduced-motion: reduce) {
    body { animation: none; }
    .fx-progress { display: none; }
    .fx-on .fx-reveal { opacity: 1; transform: none; filter: none; transition: none; }
    .fx-on .st-slide:not(.fx-seen) .st-bar, .fx-on .st-slide:not(.fx-seen) .st-stack, .fx-on .st-slide:not(.fx-seen) .st-ci-line,
    .fx-on .st-slide:not(.fx-seen) .st-pct, .fx-on .st-slide:not(.fx-seen) .st-ci-val, .fx-on .st-slide:not(.fx-seen) .st-ci-dot,
    .fx-on .st-slide:not(.fx-seen) .st-cell strong, .fx-on .st-slide:not(.fx-seen) .st-metrics strong { opacity: 1; transform: none; }
    .bb-btn--primary:hover::before, .fx-ripple, .st-cell strong.fx-bump { animation: none; }
    .case-card:hover, .tier:hover, .bb-btn:hover, .st-cell:hover, .st-slide.is-active .st-card:hover { transform: none; }
  }
