/* IV Consulting home, motion rebuild. BA theme tokens, one stylesheet. */
@layer reset, tokens, base, sections, utilities;

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  html, body { margin: 0; }
  h1, h2, h3, h4, p, ol, ul, dl, dd, figure { margin: 0; padding: 0; }
  ol, ul { list-style: none; }
  img { display: block; max-width: 100%; height: auto; }
  button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
  a { color: inherit; }
}

@layer tokens {
  :root {
    --paper: #fffdf7;
    --cream: #fff5e6;
    --ink: #0d1421;
    --ink-2: #2a3340;
    --muted: #5b6473;
    --yellow: #ffd93d;
    --pink: #ff6b9d;
    --blue: #4fc3f7;
    --mint: #00d9a3;
    --mint-d: #00926a;
    --purple: #6c5ce7;

    --f-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    --f-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
    --f-serif: "Instrument Serif", Georgia, "Times New Roman", serif;

    --line: 2px solid var(--ink);
    --sh: 5px 5px 0 var(--ink);
    --sh-sm: 3px 3px 0 var(--ink);
    --r: 16px;
    --gut: clamp(16px, 4vw, 56px);

    /* type: a real jump, display runs ~7x body */
    --t-body: clamp(1rem, .96rem + .2vw, 1.0625rem);
    --t-small: .875rem;
    --t-mono: .72rem;
    --t-h1: clamp(2.6rem, 1rem + 4.3vw, 6.4rem);
    --t-d2: clamp(2.3rem, 1.2rem + 4.4vw, 5.6rem);
    --t-svc: clamp(2.6rem, .9rem + 6.6vw, 8.6rem);
    --t-num: clamp(9rem, 4rem + 26vw, 30rem);

    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --ease-back: cubic-bezier(.34, 1.56, .64, 1);
    --spring: linear(0, .32 8%, .79 20%, 1.03 30%, 1.01 46%, 1);
    --d-fast: 160ms;
    --d-std: 320ms;
    --d-slow: 700ms;
  }
}

@layer base {
  html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
  body {
    background: var(--paper);
    color: var(--ink);
    font-family: var(--f-sans);
    font-size: var(--t-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
  }
  ::selection { background: var(--yellow); color: var(--ink); }
  :focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
  .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--yellow); border: var(--line); padding: .5rem .9rem; border-radius: 10px; font-weight: 700; }
  .skip:focus { top: 12px; }

  em { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }

  .eyebrow {
    font-family: var(--f-mono); font-size: var(--t-mono); font-weight: 700;
    letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
    display: flex; align-items: center; gap: .6rem; margin-bottom: 1.1rem;
  }
  .eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
  .display-2 {
    font-size: var(--t-d2); font-weight: 800; letter-spacing: -.045em; line-height: .98;
  }
  .display-2 em { letter-spacing: -.02em; }

  /* Buttons: the hard shadow is the physical key, press sinks it */
  .btn {
    --bg: var(--yellow);
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    min-height: 48px; padding: .85rem 1.5rem;
    background: var(--bg); color: var(--ink);
    border: var(--line); border-radius: 999px; box-shadow: 4px 4px 0 var(--ink);
    font-weight: 800; font-size: 1rem; letter-spacing: -.01em; text-decoration: none; white-space: nowrap;
    transition: transform var(--d-fast) var(--ease-out), box-shadow var(--d-fast) var(--ease-out), background-color var(--d-fast);
  }
  .btn:hover { transform: translate(-1px, -1px); box-shadow: 6px 6px 0 var(--ink); }
  .btn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--ink); transition-duration: 60ms; }
  .btn-sm { min-height: 40px; padding: .55rem 1.05rem; font-size: .9rem; box-shadow: 3px 3px 0 var(--ink); }
  .btn-lg { min-height: 58px; padding: 1rem 2rem; font-size: 1.12rem; box-shadow: 6px 6px 0 var(--ink); }

  .link-arrow {
    display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; text-decoration: none;
    border-bottom: 2px solid var(--yellow); padding-bottom: 2px;
  }
  .link-arrow span { display: inline-block; transition: transform var(--d-std) var(--spring); }
  .link-arrow:hover span { transform: translate(3px, 3px); }
}

@layer sections {
  /* ─── NAV ─── */
  .nav {
    position: fixed; inset: 0 0 auto 0; z-index: 90;
    display: flex; align-items: center; gap: 1.5rem;
    height: 68px; padding: 0 var(--gut);
    background: color-mix(in srgb, var(--paper) 88%, transparent);
    backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px);
    border-bottom: var(--line);
  }
  .brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font-weight: 800; letter-spacing: -.02em; }
  .brand-logo { width: 34px; height: 34px; flex: none; color: var(--ink); transition: transform var(--d-std) var(--spring); }
  .brand:hover .brand-logo { transform: rotate(-8deg) scale(1.06); }
  .foot .brand-logo { color: var(--paper); width: 40px; height: 40px; }
  .brand-mark {
    display: grid; place-items: center; width: 34px; height: 34px; border: var(--line); border-radius: 9px;
    background: var(--yellow); box-shadow: 2px 2px 0 var(--ink); font-size: .85rem; letter-spacing: -.04em;
    transition: transform var(--d-std) var(--spring);
  }
  .brand:hover .brand-logo { width: 34px; height: 34px; flex: none; color: var(--ink); transition: transform var(--d-std) var(--spring); }
  .brand:hover .brand-logo { transform: rotate(-8deg) scale(1.06); }
  .foot .brand-logo { color: var(--paper); width: 40px; height: 40px; }
  .brand-mark { transform: rotate(-8deg); }
  .brand-name { font-size: 1.05rem; }
  .nav-links { display: flex; gap: .3rem; margin-left: auto; }
  .nav-links a {
    position: relative; text-decoration: none; font-weight: 600; font-size: .92rem; padding: .45rem .75rem; border-radius: 999px;
    transition: background-color var(--d-fast);
  }
  .nav-links a:hover { background: var(--cream); }
  .nav-links a.on { background: var(--ink); color: var(--paper); }
  .nav-menu { display: none; width: 44px; height: 44px; border: var(--line); border-radius: 12px; background: var(--paper); margin-left: auto; position: relative; }
  .nav-menu span:not(.sr) { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); transition: transform var(--d-std) var(--spring); }
  .nav-menu span:nth-child(1) { top: 16px; } .nav-menu span:nth-child(2) { top: 24px; }
  .nav-menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
  .nav-menu[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
  .nav-progress { position: absolute; left: 0; right: 0; bottom: -2px; height: 4px; pointer-events: none; }
  .nav-progress i { display: block; height: 100%; background: var(--yellow); border-right: 2px solid var(--ink); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
  .mnav {
    position: fixed; z-index: 89; inset: 68px 0 auto 0; background: var(--paper); border-bottom: var(--line);
    display: grid; gap: .25rem; padding: 1rem var(--gut) 1.4rem;
  }
  .mnav[hidden] { display: none; }
  .mnav a:not(.btn) { font-size: 1.6rem; font-weight: 800; letter-spacing: -.03em; text-decoration: none; padding: .35rem 0; }
  .mnav .btn { margin-top: .8rem; justify-self: start; }

  /* ─── HERO ─── */
  .hero { position: relative; height: 250vh; height: 250svh; }
  .hero-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
  #hero-cv { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; }
  .hero-copy {
    position: relative; z-index: 2; width: min(51vw, 840px);
    padding: calc(68px + clamp(1.4rem, 5vh, 4rem)) 0 0 var(--gut);
    pointer-events: none;
  }
  .hero-copy a, .hero-copy .btn { pointer-events: auto; }
  .kicker {
    display: inline-flex; align-items: center; gap: .55rem;
    font-family: var(--f-mono); font-size: var(--t-mono); font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    padding: .38rem .8rem; border: var(--line); border-radius: 999px; background: var(--paper); box-shadow: var(--sh-sm);
  }
  .kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 2px var(--ink); animation: blink 1.6s steps(2, jump-none) infinite; }
  @keyframes blink { 50% { background: var(--yellow); } }
  .hero-h {
    margin-top: 1.4rem; font-size: var(--t-h1); font-weight: 800; letter-spacing: -.05em; line-height: .94;
    text-wrap: balance;
  }
  .hero-h em { font-size: 1.08em; letter-spacing: -.03em; background: linear-gradient(transparent 62%, var(--yellow) 62%, var(--yellow) 92%, transparent 92%); padding: 0 .06em; }
  .split .w { display: inline-block; overflow: clip; overflow-clip-margin: .12em; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
  .split .w > span { display: inline-block; transform: translateY(var(--ty, 0)); }
  .hero-p { margin-top: 1.5rem; max-width: 50ch; color: var(--ink-2); font-size: clamp(1rem, .95rem + .3vw, 1.15rem); }
  .hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1.1rem 1.6rem; margin-top: 2rem; }
  .trust { margin-top: 1.6rem; font-family: var(--f-mono); font-size: var(--t-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
  .trust b { color: var(--ink); }
  .hero-status {
    position: absolute; z-index: 3; right: var(--gut); bottom: clamp(16px, 3vh, 30px);
    display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .7rem;
    font-family: var(--f-mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase;
    background: var(--ink); color: var(--paper); border-radius: 10px; padding: .55rem .85rem; border: var(--line);
    box-shadow: 4px 4px 0 var(--yellow);
  }
  .hero-status b { color: var(--yellow); font-weight: 700; }
  .hs-led { width: 9px; height: 9px; border-radius: 50%; background: var(--pink); transition: background-color .3s; }
  .hero-status[data-state="wired"] .hs-led { background: var(--mint); }
  .hero-status[data-state="wiring"] .hs-led { background: var(--yellow); }
  .hs-sep { opacity: .35; }
  .hero-hint {
    position: absolute; z-index: 3; left: var(--gut); bottom: clamp(16px, 3vh, 30px);
    font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
    opacity: var(--hint, 1);
  }
  .hero-hint span { display: inline-block; animation: nudge 1.4s var(--ease-out) infinite; }
  @keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

  /* ─── MARQUEE ─── */
  .marquee { position: relative; z-index: 4; overflow: hidden; background: var(--ink); color: var(--paper); border-block: var(--line); padding: 1.05rem 0; }
  .mq-track {
    display: flex; width: max-content; align-items: center; gap: 1.6rem;
    font-size: clamp(1.4rem, 1rem + 1.8vw, 2.6rem); font-weight: 800; letter-spacing: -.035em; white-space: nowrap;
    transform: translate3d(var(--mx, 0), 0, 0) skewX(var(--mskew, 0deg));
  }
  .mq-track i { font-style: normal; color: var(--yellow); font-size: .7em; }
  .mq-track span:nth-of-type(3n+2) { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }

  /* ─── SERVICES INTRO ─── */
  .svc-intro {
    display: grid; grid-template-columns: 1.3fr .7fr; align-items: end; gap: 1.5rem 4rem;
    padding: clamp(5rem, 12vh, 9rem) var(--gut) clamp(2.5rem, 6vh, 4rem);
  }
  .svc-intro .eyebrow { grid-column: 1 / -1; margin-bottom: -.5rem; }
  .svc-intro-p { max-width: 36ch; color: var(--ink-2); padding-bottom: .6rem; }

  /* ─── SERVICES STACK: each screen sticks, the next rides over it ─── */
  .stack { position: relative; }
  .screen {
    --bgc: var(--paper); --fg: var(--ink); --accent: var(--ink);
    position: sticky; top: 0; height: 100vh; height: 100svh; margin-bottom: 55vh;
    display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: start;
    padding: calc(68px + clamp(1.5rem, 6vh, 4.5rem)) var(--gut) 2rem;
    background: var(--bgc); color: var(--fg);
    border-top: var(--line); border-radius: 30px 30px 0 0;
    box-shadow: 0 -6px 0 var(--ink);
    overflow: hidden;
    transform: translateY(calc(var(--e, 0) * -3vh)) scale(calc(1 - var(--e, 0) * .045));
    transform-origin: 50% 0;
  }
  .screen:last-child { margin-bottom: 0; }
  .screen::after { content: ""; position: absolute; inset: 0; background: var(--ink); opacity: calc(var(--e, 0) * .45); pointer-events: none; }
  .screen[data-bg="yellow"] { --bgc: var(--yellow); }
  .screen[data-bg="paper"] { --bgc: var(--cream); }
  .screen[data-bg="pink"] { --bgc: var(--pink); }
  .screen[data-bg="ink"] { --bgc: var(--ink); --fg: var(--paper); --accent: var(--yellow); }
  .screen[data-bg="blue"] { --bgc: var(--blue); }
  .screen[data-bg="mint"] { --bgc: var(--mint); }
  .sc-copy { position: relative; z-index: 2; max-width: 40rem; }
  .sc-kick { font-family: var(--f-mono); font-size: var(--t-mono); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
  .sc-kick b { display: inline-grid; place-items: center; min-width: 2.4em; height: 1.9em; margin-right: .3em; border: 2px solid currentColor; border-radius: 999px; }
  .sc-title {
    margin-top: 1.4rem; font-size: var(--t-svc); font-weight: 800; letter-spacing: -.055em; line-height: .9; text-wrap: balance;
  }
  .sc-desc { margin-top: 1.8rem; max-width: 34ch; font-size: clamp(1.1rem, .95rem + .7vw, 1.55rem); line-height: 1.35; font-weight: 600; letter-spacing: -.015em; }
  .wipe .w { opacity: var(--o, .22); transition: none; }
  .sc-tag {
    display: inline-block; margin-top: 1.6rem; font-family: var(--f-mono); font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    padding: .45rem .8rem; border: 2px solid var(--fg); border-radius: 8px; background: color-mix(in srgb, var(--bgc) 70%, #fff);
  }
  .screen[data-bg="ink"] .sc-tag { background: transparent; color: var(--yellow); border-color: var(--yellow); }
  .sc-link {
    display: flex; align-items: center; gap: .6rem; margin-top: 1.4rem; width: max-content;
    font-weight: 800; text-decoration: none; font-size: 1.05rem;
  }
  .sc-link span { display: inline-grid; place-items: center; width: 36px; height: 36px; border: 2px solid var(--fg); border-radius: 50%; transition: transform var(--d-std) var(--spring), background-color var(--d-fast); }
  .sc-link:hover span { transform: rotate(-45deg); background: var(--fg); color: var(--bgc); }
  .sc-num {
    position: relative; justify-self: end; align-self: end; margin-bottom: -.12em; margin-right: -.04em;
    font-size: var(--t-num); font-weight: 800; letter-spacing: -.08em; line-height: .78;
    transform: translateY(calc((1 - var(--c, 0)) * 12vh)) rotate(calc((1 - var(--c, 0)) * -6deg));
  }
  .sc-num span { display: block; }
  .n-out { color: transparent; -webkit-text-stroke: 3px var(--fg); }
  .n-fill { position: absolute; inset: 0; color: var(--fg); clip-path: inset(calc((1 - var(--c, 0)) * 100%) 0 0 0); }
  .after-stack {
    position: relative; z-index: 2; background: var(--paper); border-top: var(--line);
    padding: 3rem var(--gut); font-size: clamp(1.1rem, 1rem + .6vw, 1.5rem); font-weight: 600; letter-spacing: -.015em; max-width: none;
  }
  .after-stack a { font-weight: 800; text-decoration-color: var(--yellow); text-decoration-thickness: 4px; text-underline-offset: 4px; }

  /* ─── AGENTS: lanyards ─── */
  .agents { position: relative; overflow-x: clip; padding: clamp(5rem, 12vh, 8rem) var(--gut) 4rem; background: var(--paper); border-top: var(--line); }
  .ag-head { display: grid; grid-template-columns: 1.25fr .75fr; gap: 1.5rem 4rem; align-items: end; }
  .ag-p { color: var(--ink-2); max-width: 38ch; padding-bottom: .5rem; }
  .ag-hint, .fin-hint {
    display: flex; align-items: center; gap: .55rem; margin-top: 2.4rem;
    font-family: var(--f-mono); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  }
  .hint-dot { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--ink); background: var(--yellow); animation: ping 1.8s var(--ease-out) infinite; }
  @keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255, 217, 61, .9); } 100% { box-shadow: 0 0 0 12px rgba(255, 217, 61, 0); } }
  .lanyard { position: relative; margin-top: 1rem; }
  .lan-scroll { position: relative; }
  .m-only { display: none; }
  #lan-cv { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
  .rail {
    position: absolute; left: 0; right: 0; height: 12px; border: var(--line); border-radius: 999px; background: var(--ink);
    box-shadow: 0 4px 0 rgba(13, 20, 33, .15);
  }
  .rail::before, .rail::after { content: ""; position: absolute; top: 50%; width: 18px; height: 18px; margin-top: -9px; border: var(--line); border-radius: 50%; background: var(--yellow); }
  .rail::before { left: -6px; } .rail::after { right: -6px; }
  .badge {
    position: absolute; left: 0; top: 0; width: var(--bw, 150px);
    display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; text-align: left;
    padding: 1.35rem .95rem .95rem; background: #fff; border: var(--line); border-radius: 14px; box-shadow: 4px 4px 0 var(--ink);
    transform-origin: 50% 0; will-change: transform; touch-action: manipulation; user-select: none; -webkit-user-select: none;
    transition: background-color var(--d-fast);
  }
  .badge::before { content: ""; position: absolute; top: 7px; left: 50%; width: 26px; height: 7px; margin-left: -13px; border: 2px solid var(--ink); border-radius: 999px; background: var(--paper); }
  .badge:hover, .badge:focus-visible { background: var(--yellow); }
  .badge.drag { cursor: grabbing; }
  .badge img { width: 56px; height: 56px; border-radius: 50%; border: var(--line); box-shadow: 2px 2px 0 var(--ink); object-fit: cover; background: var(--cream); pointer-events: none; }
  .badge .bn { font-weight: 800; font-size: 1.08rem; letter-spacing: -.02em; line-height: 1.05; }
  .badge .bt { font-family: var(--f-mono); font-size: .6rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); line-height: 1.35; }
  .badge:hover .bt { color: var(--ink); }
  .badge .bs { font-size: .74rem; line-height: 1.3; color: var(--ink-2); border-top: 2px dashed rgba(13, 20, 33, .2); padding-top: .5rem; width: 100%; }
  .badge .bs b { display: block; font-size: 1.15rem; letter-spacing: -.03em; color: var(--ink); }
  .ag-foot { margin-top: 2rem; color: var(--muted); }
  .ag-foot a { color: var(--ink); font-weight: 700; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; }

  /* dialog */
  .agent-dlg { border: 0; padding: 0; background: transparent; max-width: min(940px, calc(100vw - 24px)); width: 100%; max-height: 92vh; overflow: visible; }
  .agent-dlg::backdrop { background: rgba(13, 20, 33, .6); }
  .agent-dlg[open] .dlg-panel { animation: dlgIn 520ms var(--spring) both; }
  .agent-dlg[open]::backdrop { animation: fade 240ms ease-out both; }
  @keyframes dlgIn { from { transform: translate(var(--dx, 0), var(--dy, 40px)) scale(.4) rotate(-6deg); opacity: 0; } 40% { opacity: 1; } to { transform: none; } }
  @keyframes fade { from { opacity: 0; } }
  .dlg-panel { position: relative; background: #fff; border: var(--line); border-radius: 22px; box-shadow: 10px 10px 0 var(--purple); padding: clamp(1.3rem, 3vw, 2.2rem); max-height: 92vh; overflow: auto; }
  .dlg-x { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border: var(--line); border-radius: 50%; font-size: 1.4rem; line-height: 1; background: var(--paper); transition: transform var(--d-std) var(--spring); }
  .dlg-x:hover { transform: rotate(90deg); background: var(--yellow); }
  .dlg-top { display: flex; align-items: center; gap: 1rem; padding-right: 3rem; margin-bottom: 1.2rem; }
  .dlg-top img { width: 76px; height: 76px; border-radius: 50%; border: var(--line); box-shadow: var(--sh-sm); object-fit: cover; flex: none; }
  .dlg-id { font-family: var(--f-mono); font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--purple); }
  .dlg-title { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.2rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; }
  .dlg-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1.8rem; }
  .dlg-about { color: var(--ink-2); margin-bottom: 1.1rem; }
  .dlg-lbl { font-family: var(--f-mono); font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .6rem; }
  .dlg-acts { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
  .dlg-acts .btn[disabled] { opacity: .55; cursor: default; }
  .dlg-acts .dlg-book { background: #fff; }
  .dlg-form { margin-top: 1rem; padding: 1rem; border: var(--line); border-radius: 14px; background: var(--cream); }
  .dlg-form[hidden], .dlg-done[hidden] { display: none; }
  .dlg-blurb { font-size: .9rem; color: var(--ink-2); }
  .dlg-row { display: flex; gap: .5rem; margin-top: .7rem; }
  .dlg-row input { flex: 1; min-width: 0; font: inherit; padding: .7rem .8rem; border: var(--line); border-radius: 10px; background: #fff; }
  .dlg-row input:focus { outline: none; box-shadow: 3px 3px 0 var(--yellow); }
  .dlg-fine { margin-top: .5rem; font-family: var(--f-mono); font-size: .62rem; color: var(--muted); }
  .dlg-done { margin-top: 1rem; padding: .9rem 1rem; border: var(--line); border-radius: 14px; background: #d6f7ec; font-size: .92rem; }
  @media (max-width: 520px) { .dlg-row { flex-direction: column; } }
  .dlg-caps { display: grid; gap: .5rem; }
  .dlg-caps li { display: flex; gap: .6rem; font-size: .92rem; line-height: 1.4; color: var(--ink-2); }
  .dlg-caps li::before { content: "✓"; flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: #d6f7ec; color: var(--mint-d); font-size: .7rem; font-weight: 800; margin-top: 1px; }
  .dlg-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .55rem; margin-bottom: 1.1rem; }
  .dlg-stats div { border: var(--line); border-radius: 12px; padding: .7rem .45rem; text-align: center; box-shadow: var(--sh-sm); font-size: .66rem; line-height: 1.25; color: var(--ink-2); }
  .dlg-stats div:nth-child(1) { background: #fff7d6; } .dlg-stats div:nth-child(2) { background: #e3f6ff; } .dlg-stats div:nth-child(3) { background: #ffe6f0; }
  .dlg-stats b { display: block; font-size: 1.3rem; letter-spacing: -.03em; color: var(--ink); margin-bottom: .25rem; }
  .dlg-roi { border: var(--line); border-radius: 14px; padding: 1rem; background: var(--cream); margin-bottom: 1rem; font-size: .9rem; color: var(--ink-2); }
  .dlg-roi b { color: var(--ink); }
  .dlg-panel .btn { width: 100%; }

  /* ─── BEFORE & AFTER ─── */
  .ba { padding: clamp(5rem, 12vh, 8rem) var(--gut) clamp(4rem, 10vh, 7rem); background: var(--cream); border-top: var(--line); }
  .ba-head { max-width: 60rem; margin-bottom: 3rem; }
  .ba-p { margin-top: 1.2rem; color: var(--ink-2); max-width: 44ch; }
  .ba-table { position: relative; border-top: var(--line); }
  .scan { position: sticky; top: 50vh; height: 0; z-index: 5; pointer-events: none; }
  .scan-line { position: absolute; left: calc(var(--gut) * -1); right: calc(var(--gut) * -1); top: -2px; height: 4px; background: var(--yellow); border-block: 1px solid var(--ink); }
  .scan-tag {
    position: absolute; right: var(--gut); top: 50%; transform: translateY(-50%);
    font-family: var(--f-mono); font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
    background: var(--ink); color: var(--paper); padding: .35rem .65rem; border-radius: 999px; white-space: nowrap;
  }
  .scan-tag b { color: var(--yellow); }
  .ba-cols { display: grid; grid-template-columns: minmax(10rem, .32fr) 1fr; gap: 2rem; padding: .8rem 0; font-family: var(--f-mono); font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border-bottom: var(--line); }
  .ba-row { display: grid; grid-template-columns: minmax(10rem, .32fr) 1fr; gap: 2rem; align-items: center; padding: clamp(1rem, 2.4vh, 1.7rem) 0; border-bottom: var(--line); }
  .ba-cat { font-weight: 800; font-size: clamp(1.05rem, .9rem + .7vw, 1.6rem); letter-spacing: -.03em; line-height: 1.1; display: flex; align-items: center; gap: .7rem; }
  .ba-cat i { flex: none; width: 14px; height: 14px; border: var(--line); border-radius: 4px; background: var(--pink); transition: background-color .25s, transform .4s var(--spring); }
  .ba-row.won .ba-cat i { background: var(--mint); transform: rotate(45deg); }
  .flap { perspective: 1100px; }
  .flap-in { display: grid; transform-style: preserve-3d; transform: rotateX(calc(var(--f, 0) * 1deg)); }
  .face {
    grid-area: 1 / 1; backface-visibility: hidden; -webkit-backface-visibility: hidden;
    display: flex; align-items: flex-start; gap: .9rem; padding: 1rem 1.2rem; border: var(--line); border-radius: 14px;
    font-size: clamp(1rem, .9rem + .5vw, 1.3rem); line-height: 1.35; font-weight: 600; letter-spacing: -.012em;
  }
  .face small { flex: none; margin-top: .2rem; font-family: var(--f-mono); font-size: .6rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .25rem .5rem; border-radius: 6px; border: 2px solid var(--ink); }
  .face.before { background: var(--paper); color: var(--ink-2); }
  .face.before small { background: #ffe6f0; }
  .face.after { background: var(--ink); color: var(--paper); transform: rotateX(180deg); box-shadow: 5px 5px 0 var(--mint); }
  .face.after small { background: var(--mint); color: var(--ink); border-color: var(--mint); }

  /* ─── RECORD ─── */
  .record { padding: clamp(5rem, 12vh, 8rem) var(--gut); background: var(--paper); border-top: var(--line); }
  .rec-head { display: grid; grid-template-columns: 1.2fr .8fr; gap: 1.5rem 4rem; align-items: end; }
  .rec-head .eyebrow { grid-column: 1 / -1; margin-bottom: -.4rem; }
  .rec-p { color: var(--ink-2); max-width: 40ch; padding-bottom: .5rem; }
  .stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: clamp(3rem, 8vh, 5rem) 0; border-block: var(--line); }
  .stat { padding: 1.6rem 1.4rem 1.8rem; border-right: var(--line); }
  .stat:last-child { border-right: 0; }
  .stat:nth-child(1) { background: var(--yellow); }
  .stat p:last-child { margin-top: .6rem; color: var(--ink-2); font-size: .92rem; max-width: 22ch; }
  .odo { font-size: clamp(2.8rem, 1.6rem + 4vw, 6rem); font-weight: 800; letter-spacing: -.06em; line-height: 1; display: flex; }
  .odo .dg { display: inline-block; height: 1em; overflow: hidden; }
  .odo .dg > span { display: flex; flex-direction: column; transform: translateY(calc(var(--d, 0) * -1em)); }
  .odo .dg > span > span { height: 1em; line-height: 1; text-align: center; }
  .odo { position: relative; }

  .report {
    display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center;
    padding: clamp(3rem, 8vh, 5rem) 0; border-top: 2px dashed rgba(13, 20, 33, .25);
  }
  .report.flip .rp-copy { order: 2; }
  .rp-kick { font-family: var(--f-mono); font-size: var(--t-mono); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--purple); }
  .rp-title { margin-top: .9rem; font-size: clamp(2rem, 1.3rem + 2.6vw, 3.6rem); font-weight: 800; letter-spacing: -.045em; line-height: .98; }
  .rp-cr { display: grid; grid-template-columns: auto 1fr; gap: .7rem 1.2rem; margin-top: 1.6rem; }
  .rp-cr dt { font-family: var(--f-mono); font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding-top: .3rem; }
  .rp-cr dd { color: var(--ink-2); font-size: .98rem; }
  .rp-m { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; margin-top: 1.6rem; }
  .rp-m li { border: var(--line); border-radius: 12px; padding: .7rem .8rem; font-size: .8rem; color: var(--ink-2); line-height: 1.3; }
  .rp-m b { display: block; font-size: 1.35rem; letter-spacing: -.035em; color: var(--ink); }

  .inst {
    position: relative; border: var(--line); border-radius: 20px; background: var(--ink); color: var(--paper);
    box-shadow: 8px 8px 0 var(--yellow); padding: 1.2rem; min-height: 420px; overflow: hidden;
    font-family: var(--f-mono); font-size: .82rem;
  }
  .inst figcaption { display: flex; align-items: center; gap: .55rem; font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 253, 247, .7); padding-bottom: .9rem; border-bottom: 1px solid rgba(255, 253, 247, .15); margin-bottom: 1rem; }
  .inst figcaption i { margin-left: auto; font-style: normal; color: rgba(255, 253, 247, .4); font-weight: 400; }
  .rec-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--pink); animation: blink 1.1s steps(2, jump-none) infinite; }
  .inst-tick { box-shadow: 8px 8px 0 var(--pink); }
  .inst-sql { box-shadow: 8px 8px 0 var(--blue); }

  .scribe-convo { display: grid; gap: .45rem; min-height: 132px; }
  .sc-line { display: flex; gap: .6rem; align-items: baseline; opacity: 0; transform: translateY(8px); transition: opacity .35s var(--ease-out), transform .45s var(--spring); }
  .sc-line.in { opacity: 1; transform: none; }
  .sc-who { flex: none; width: 2.4em; text-align: center; padding: .12rem 0; border-radius: 6px; font-weight: 700; font-size: .66rem; color: var(--ink); }
  .sc-who.dr { background: var(--blue); } .sc-who.pt { background: var(--yellow); }
  .scribe-arrow { margin: .9rem 0 .7rem; color: var(--mint); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; opacity: 0; transition: opacity .3s; }
  .scribe-arrow.in { opacity: 1; }
  .scribe-note { display: grid; gap: .5rem; }
  .sn-row { display: grid; grid-template-columns: 30px 1fr; gap: .7rem; align-items: start; background: rgba(255, 253, 247, .06); border: 1px solid rgba(255, 253, 247, .12); border-radius: 10px; padding: .5rem .6rem; }
  .sn-row b { display: grid; place-items: center; height: 24px; border-radius: 6px; background: var(--mint); color: var(--ink); font-size: .8rem; }
  .sn-row span { min-height: 1.35em; padding-top: .15rem; }
  .caret { display: inline-block; width: .55em; height: 1.1em; background: var(--yellow); vertical-align: -.2em; margin-left: 2px; animation: blink 1s steps(2, jump-none) infinite; }

  #tick-cv { display: block; width: 100%; height: 300px; cursor: crosshair; }
  .tick-read { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; margin-top: .9rem; font-size: .72rem; color: rgba(255, 253, 247, .7); text-transform: uppercase; letter-spacing: .06em; }
  .tick-read b { color: var(--yellow); }
  .tk-hover { margin-left: auto; color: var(--blue); }

  .sql-q { font-family: var(--f-sans); font-size: 1.15rem; font-weight: 700; color: var(--paper); padding: .8rem 1rem; border-radius: 12px; background: rgba(255, 253, 247, .08); border: 1px solid rgba(255, 253, 247, .15); min-height: 3.1rem; }
  .sql-q-t::before { content: "“"; color: var(--yellow); } .sql-q-t:not(:empty)::after { content: "”"; color: var(--yellow); }
  .sql-code { margin: 1rem 0 0; min-height: 140px; font-family: var(--f-mono); font-size: .8rem; line-height: 1.65; white-space: pre-wrap; color: rgba(255, 253, 247, .9); }
  .sql-code .k { color: var(--blue); font-weight: 700; } .sql-code .s { color: var(--yellow); }
  .sql-code .bad { color: var(--pink); text-decoration: line-through; text-decoration-thickness: 2px; }
  .sql-code .sq-why { color: var(--pink); font-size: .7rem; }
  .sql-code .ok { color: var(--mint); font-weight: 700; }
  .sql-res { display: grid; gap: .4rem; margin-top: .6rem; }
  .sr-row { display: grid; grid-template-columns: 5.5rem 1fr 4rem; gap: .6rem; align-items: center; font-size: .72rem; }
  .sr-bar { height: 12px; border-radius: 4px; background: var(--yellow); transform-origin: 0 50%; transform: scaleX(var(--s, 0)); transition: transform .9s var(--spring); }
  .sr-row span:last-child { text-align: right; color: rgba(255, 253, 247, .7); }

  .rec-note { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; justify-content: space-between; padding-top: 2.4rem; border-top: var(--line); color: var(--muted); font-size: .92rem; }

  /* ─── PRODUCTS ─── */
  .products { position: relative; padding: clamp(5rem, 12vh, 8rem) var(--gut); background: var(--ink); color: var(--paper); border-top: var(--line); }
  .products .eyebrow { color: rgba(255, 253, 247, .6); }
  .pr-head { display: grid; grid-template-columns: 1.2fr .8fr; gap: 1.5rem 4rem; align-items: end; margin-bottom: clamp(2.5rem, 6vh, 4rem); }
  .pr-head .eyebrow { grid-column: 1 / -1; margin-bottom: -.4rem; }
  .pr-p { color: rgba(255, 253, 247, .72); max-width: 42ch; padding-bottom: .5rem; }
  .pr-list { border-top: 2px solid rgba(255, 253, 247, .25); }
  .pr-row {
    position: relative; display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) minmax(0, .9fr); grid-template-rows: auto auto;
    gap: .2rem 2rem; align-items: center; padding: clamp(1.4rem, 3.5vh, 2.4rem) 0; text-decoration: none;
    border-bottom: 2px solid rgba(255, 253, 247, .25);
  }
  .pr-i { grid-row: 1 / 3; font-family: var(--f-mono); font-size: .72rem; color: rgba(255, 253, 247, .5); letter-spacing: .08em; }
  .pr-k { font-family: var(--f-mono); font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); }
  .pr-name {
    grid-column: 2; font-size: clamp(3rem, 1.4rem + 7vw, 8.2rem); font-weight: 800; letter-spacing: -.06em; line-height: .9;
    transition: transform var(--d-slow) var(--ease-out), color var(--d-std);
  }
  .pr-d { grid-column: 3; grid-row: 1 / 3; color: rgba(255, 253, 247, .72); font-size: .95rem; max-width: 46ch; }
  .pr-go { grid-column: 3; font-weight: 700; color: var(--yellow); font-size: .92rem; }
  .pr-img-m { display: none; }
  .pr-row:hover .pr-name, .pr-row:focus-visible .pr-name { transform: translateX(1.2rem); color: var(--yellow); }
  .pr-list:hover .pr-row:not(:hover) .pr-name { color: rgba(255, 253, 247, .3); }
  .pr-all { margin-top: 2.2rem; color: var(--paper); }
  .pr-float {
    position: fixed; left: 0; top: 0; z-index: 80; width: clamp(260px, 26vw, 420px); aspect-ratio: 16 / 10; pointer-events: none;
    border: var(--line); border-color: var(--paper); border-radius: 16px; overflow: hidden; box-shadow: 8px 8px 0 var(--yellow);
    background: var(--ink-2); opacity: 0; transform: translate3d(-999px, -999px, 0);
  }
  .pr-float img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

  /* ─── WHY ─── */
  .why { padding: clamp(5rem, 12vh, 8rem) var(--gut) clamp(3rem, 8vh, 5rem); background: var(--paper); }
  .why-top { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
  .why-photo { position: relative; }
  .why-photo img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; border: var(--line); border-radius: 22px; box-shadow: 10px 10px 0 var(--ink); filter: grayscale(.15) contrast(1.05); }
  .sticker {
    position: absolute; right: -1rem; bottom: 2rem; transform: rotate(-5deg);
    background: var(--yellow); border: var(--line); border-radius: 10px; box-shadow: var(--sh-sm);
    font-family: var(--f-mono); font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .55rem .8rem;
  }
  .why-h { font-size: clamp(2rem, 1.2rem + 3vw, 4.2rem); font-weight: 800; letter-spacing: -.045em; line-height: 1; text-wrap: balance; }
  .why-copy > p:last-child { margin-top: 1.6rem; color: var(--ink-2); max-width: 58ch; font-size: 1.05rem; }
  .rrr { margin-top: clamp(4rem, 10vh, 7rem); border-top: var(--line); }
  .rrr li { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: .6rem 4rem; align-items: end; padding: clamp(1.2rem, 3vh, 2rem) 0; border-bottom: var(--line); }
  .rrr li h3 { grid-column: 1 / -1; }
  .rrr li p { grid-column: 2; }
  .rrr h3 {
    font-size: clamp(2.2rem, 10.2vw - .4rem, 10rem); font-weight: 800; letter-spacing: -.065em; line-height: .86; white-space: nowrap;
    transform: skewX(var(--sk, 0deg)); transform-origin: 0 100%;
  }
  .rrr h3 span { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; color: var(--ink); background: var(--yellow); border: var(--line); border-radius: .12em; padding: 0 .06em; margin-right: .02em; box-shadow: .04em .04em 0 var(--ink); display: inline-block; line-height: .9; }
  .rrr li:nth-child(2) h3 span { background: var(--pink); }
  .rrr li:nth-child(3) h3 span { background: var(--mint); }
  .rrr p { color: var(--ink-2); max-width: 40ch; padding-bottom: .6rem; }

  /* ─── FAQ ─── */
  .faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 6rem); padding: clamp(5rem, 12vh, 8rem) var(--gut); background: var(--cream); border-top: var(--line); }
  .faq-side { position: sticky; top: 110px; align-self: start; }
  .faq-list { border-top: var(--line); }
  .qa { border-bottom: var(--line); }
  .qa-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; text-align: left; padding: 1.35rem 0; font-size: clamp(1.1rem, 1rem + .5vw, 1.4rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.25; }
  .qa-i { flex: none; position: relative; width: 38px; height: 38px; border: var(--line); border-radius: 50%; background: var(--paper); transition: transform 520ms var(--spring), background-color var(--d-fast); }
  .qa-i::before, .qa-i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: var(--ink); }
  .qa-i::after { transform: rotate(90deg); }
  .qa-q:hover .qa-i { background: var(--yellow); }
  .qa-q[aria-expanded="true"] .qa-i { transform: rotate(135deg); background: var(--yellow); }
  .qa-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 520ms var(--spring); }
  .qa-a > div { overflow: hidden; }
  .qa-a p { padding: 0 3.5rem 1.5rem 0; color: var(--ink-2); max-width: 60ch; }
  .qa.open .qa-a { grid-template-rows: 1fr; }

  /* ─── BLOG ─── */
  .blog { padding: clamp(5rem, 12vh, 8rem) var(--gut); background: var(--paper); border-top: var(--line); }
  .blog-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; margin-bottom: 3rem; }
  .blog-grid { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto; gap: 1.6rem; }
  .post { display: grid; grid-template-columns: 46% 1fr; gap: .5rem 1.2rem; align-content: start; text-decoration: none; padding: 1rem; border: var(--line); border-radius: 18px; background: #fff; box-shadow: var(--sh); transition: transform var(--d-std) var(--spring), box-shadow var(--d-std) var(--spring); }
  .post img { grid-row: 1 / 5; align-self: start; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: contain; background: var(--cream); border: var(--line); border-radius: 12px; }
  .post-lg { grid-row: 1 / 3; grid-template-columns: 1fr; background: var(--yellow); }
  .post-lg img { grid-row: auto; aspect-ratio: 1200 / 630; }
  .post-tag { font-family: var(--f-mono); font-size: .62rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--purple); }
  .post h3 { font-size: 1.2rem; font-weight: 800; letter-spacing: -.025em; line-height: 1.15; }
  .post-lg h3 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); letter-spacing: -.04em; line-height: 1.02; margin-top: .4rem; }
  .post p { font-size: .9rem; color: var(--ink-2); }
  .post-meta { font-family: var(--f-mono); font-size: .66rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
  .post:hover { transform: rotate(-.6deg) translate(-2px, -2px); box-shadow: 9px 9px 0 var(--ink); }
  .post:active { transform: translate(5px, 5px); box-shadow: 0 0 0 var(--ink); transition-duration: 60ms; }

  /* ─── FINAL CTA ─── */
  .final { position: relative; min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: clamp(1.5rem, 2.2vw, 2.4rem); padding: clamp(5rem, 10vh, 7rem) clamp(16px, 2vw, 32px); background: var(--yellow); border-top: var(--line); overflow: hidden; }
  #cur-cv { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; }
  .fin-card { position: relative; z-index: 2; width: 100%; display: flex; flex-direction: column; justify-content: center; background: var(--paper); border: var(--line); border-radius: 26px; box-shadow: 12px 12px 0 var(--ink); padding: clamp(1.8rem, 4.4vw, 4rem); }
  .fin-card h2 { font-size: clamp(2.5rem, 1rem + 3.5vw, 5.4rem); font-weight: 800; letter-spacing: -.05em; line-height: .95; }
  .fin-card h2 em { font-size: 1.25em; background: var(--yellow); border: var(--line); border-radius: 12px; padding: 0 .12em; box-shadow: var(--sh-sm); display: inline-block; transform: rotate(-3deg); line-height: .95; }
  .fin-card > p:not(.eyebrow):not(.fin-micro):not(.fin-pick) { margin: 1.6rem 0 2.2rem; color: var(--ink-2); font-size: clamp(1rem, .95rem + .3vw, 1.18rem); }
  .fin-micro { margin-top: 1rem; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
  .fin-side {
    position: relative; z-index: 2; align-self: center; justify-self: end; width: 100%;
    background: var(--ink); color: var(--paper); border: var(--line); border-radius: 26px; box-shadow: 12px 12px 0 var(--paper);
    padding: clamp(1.4rem, 3vw, 2.4rem); transform: rotate(1.6deg);
  }
  .fs-kick { display: flex; align-items: center; gap: .6rem; font-family: var(--f-mono); font-size: var(--t-mono); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 253, 247, .7); }
  .fs-logo { width: 26px; height: 26px; color: var(--paper); }
  .fs-big { margin-top: 1rem; font-size: clamp(3.6rem, 2rem + 5vw, 7.6rem); font-weight: 800; letter-spacing: -.07em; line-height: .9; color: var(--yellow); white-space: nowrap; }
  .fs-big span { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: 0; color: var(--paper); }
  .fs-sub { margin-top: .8rem; color: rgba(255, 253, 247, .75); max-width: 30ch; }
  .fs-steps { margin-top: 1.6rem; border-top: 1px solid rgba(255, 253, 247, .2); }
  .fs-steps li { display: grid; grid-template-columns: 2.6rem 1fr; gap: .8rem; padding: .9rem 0; border-bottom: 1px solid rgba(255, 253, 247, .2); font-weight: 600; letter-spacing: -.01em; line-height: 1.35; }
  .fs-steps b { display: grid; place-items: center; height: 1.8rem; border-radius: 8px; background: var(--yellow); color: var(--ink); font-family: var(--f-mono); font-size: .72rem; }
  .fs-steps li:nth-child(2) b { background: var(--pink); } .fs-steps li:nth-child(3) b { background: var(--mint); }
  .fin-pick { display: flex; align-items: center; gap: .7rem; font-weight: 800; letter-spacing: -.01em; font-size: 1.05rem; }
  .fp-arrow { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; border: var(--line); border-radius: 50%; background: var(--yellow); box-shadow: var(--sh-sm); animation: poke 1.6s var(--ease-out) infinite; }
  @keyframes poke { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }
  .fin-cal { position: relative; z-index: 2; width: 100%; display: flex; flex-direction: column; background: #fff; border: var(--line); border-radius: 26px; box-shadow: 12px 12px 0 var(--ink); overflow: hidden; }
  .cal-head { display: flex; align-items: center; gap: .6rem; padding: .85rem 1.2rem; background: var(--ink); color: var(--paper); font-family: var(--f-mono); font-size: var(--t-mono); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
  .cal-dot { margin-left: auto; width: 9px; height: 9px; border-radius: 50%; background: var(--mint); animation: blink 1.6s steps(2, jump-none) infinite; }
  .cal-inline { flex: 1; min-height: 560px; }
  .cal-fallback { padding: 2rem 1.4rem; color: var(--muted); }
  .cal-inline:has(iframe) .cal-fallback { display: none; }
  .cal-fallback a { color: var(--ink); font-weight: 700; }
  .fin-hint { position: absolute; right: var(--gut); bottom: 1.5rem; z-index: 2; margin: 0; color: var(--ink); }

  /* ─── FOOTER ─── */
  .foot { background: var(--ink); color: var(--paper); padding: clamp(4rem, 10vh, 6rem) var(--gut) 1.6rem; overflow: hidden; }
  .foot .brand-logo { width: 34px; height: 34px; flex: none; color: var(--ink); transition: transform var(--d-std) var(--spring); }
  .brand:hover .brand-logo { transform: rotate(-8deg) scale(1.06); }
  .foot .brand-logo { color: var(--paper); width: 40px; height: 40px; }
  .brand-mark { color: var(--ink); }
  .foot .btn { border-color: var(--paper); box-shadow: 4px 4px 0 var(--yellow); }
  .foot .btn:active { box-shadow: 0 0 0 var(--yellow); }
  .foot-top { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: 3rem; }
  .foot-brand p { margin: 1.2rem 0 1.6rem; color: rgba(255, 253, 247, .7); max-width: 34ch; }
  .foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
  .foot-cols h4 { font-family: var(--f-mono); font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); margin-bottom: 1rem; }
  .foot-cols a { display: block; text-decoration: none; color: rgba(255, 253, 247, .78); font-size: .9rem; padding: .28rem 0; transition: color var(--d-fast), transform var(--d-std) var(--spring); }
  .foot-cols a:hover { color: var(--paper); transform: translateX(4px); }
  .foot-word { margin: clamp(3rem, 8vh, 5rem) 0 1.4rem; padding-bottom: .16em; font-size: clamp(3.4rem, 15.5vw, 16rem); font-weight: 800; letter-spacing: -.07em; line-height: .8; white-space: nowrap; color: var(--paper); }
  .foot-legal { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 253, 247, .2); font-size: .8rem; color: rgba(255, 253, 247, .55); }
  .foot-legal a { text-decoration: none; } .foot-legal a:hover { color: var(--paper); }

  /* ─── floating pill ─── */
  .pill {
    position: fixed; z-index: 70; left: 50%; bottom: 18px; display: flex; align-items: center; gap: .6rem;
    max-width: calc(100vw - 24px); padding: .7rem 1.1rem; border: var(--line); border-radius: 999px; background: var(--paper); box-shadow: 4px 4px 0 var(--ink);
    font-size: .86rem; font-weight: 600; text-decoration: none; white-space: nowrap;
    transform: translate(-50%, calc((1 - var(--show, 0)) * 140%)); transition: transform 600ms var(--spring);
  }
  .pill b { color: var(--ink); }
  .pill:hover { background: var(--yellow); }
  .pill-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 2px var(--ink); flex: none; }

  /* ─── RESPONSIVE ─── */
  @media (max-width: 1080px) {
    .nav-links { display: none; }
    .nav > .btn-sm { margin-left: auto; }
    .nav-menu { display: block; margin-left: 0; }
    .foot-top { grid-template-columns: 1fr; }
  }
  @media (max-width: 820px) {
    .hero { height: 220svh; }
    .hero-copy { width: auto; padding-right: var(--gut); padding-top: calc(68px + 1.6rem); }
    .hero-p { font-size: .98rem; max-width: 42ch; }
    .hero-cta { margin-top: 1.4rem; }
    .trust { display: none; }
    .hero-status { left: var(--gut); right: auto; bottom: 14px; font-size: .6rem; }
    .hero-hint { display: none; }
    .hero-cta .link-arrow { display: none; }
    .hero-p { font-size: .94rem; line-height: 1.5; margin-top: 1.1rem; }
    .hero-h { margin-top: 1rem; }
    .hs-opt { display: none; }
    .svc-intro, .ag-head, .rec-head, .pr-head { grid-template-columns: 1fr; }
    .screen { grid-template-columns: 1fr; margin-bottom: 40vh; }
    .sc-num { position: absolute; right: var(--gut); bottom: 1rem; opacity: .9; }
    .sc-desc { font-size: 1.08rem; }
    .ba-cols { display: none; }
    .ba-row { grid-template-columns: 1fr; gap: .7rem; }
    .stats { grid-template-columns: 1fr 1fr; }
    .stat:nth-child(2) { border-right: 0; }
    .stat:nth-child(-n+2) { border-bottom: var(--line); }
    .report, .report.flip { grid-template-columns: 1fr; }
    .report.flip .rp-copy { order: 0; }
    .inst { min-height: 0; }
    .pr-row { grid-template-columns: 1fr; gap: .6rem; }
    .pr-i { grid-row: auto; }
    .pr-name, .pr-d, .pr-go { grid-column: 1; grid-row: auto; }
    .why-top { grid-template-columns: 1fr; }
    .why-photo { max-width: 360px; }
    .sticker { right: .5rem; }
    .rrr li { grid-template-columns: 1fr; }
    .rrr li p { grid-column: 1; }
    .faq { grid-template-columns: 1fr; }
    .faq-side { position: static; }
    .blog-grid { grid-template-columns: 1fr; }
    .final { grid-template-columns: 1fr; }
    .fin-cal { justify-self: stretch; box-shadow: 8px 8px 0 var(--ink); }
    .cal-inline { max-height: none; }
    .fp-arrow { transform: rotate(90deg); animation: none; }
    .m-only { display: inline; }
    .ag-hint { display: block; }
    .ag-hint .hint-dot { display: inline-block; vertical-align: -1px; margin-right: .5rem; }
    .lan-scroll { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; margin: 0 calc(var(--gut) * -1); padding: 0 var(--gut) 1rem; scroll-snap-type: x proximity; }
    .lan-scroll::-webkit-scrollbar { display: none; }
    .post-lg { grid-row: auto; }
    .dlg-grid { grid-template-columns: 1fr; }
    .foot-cols { grid-template-columns: 1fr 1fr; }
    .pill { font-size: .78rem; }
    .pill span.long { display: none; }
  }
  @media (max-width: 440px) {
    .stats { grid-template-columns: 1fr; }
    .stat { border-right: 0; border-bottom: var(--line); }
    .stat:last-child { border-bottom: 0; }
  }
  @media (max-width: 520px) {
    .nav > .btn-sm { display: none; }
    .nav-menu { margin-left: auto; }
    .rp-cr { grid-template-columns: 1fr; gap: .2rem; }
    .post { grid-template-columns: 1fr; }
    .post img { grid-row: auto; }
    .rp-cr dd { margin-bottom: .6rem; }
    .qa-a p { padding-right: 0; }
  }
  @media (hover: none) {
    .pr-img-m { display: block; grid-column: 1; margin-top: .8rem; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border: 2px solid var(--paper); border-radius: 14px; }
  }

  /* reduced motion: the still frame is the page */
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .hero { height: auto; }
    .hero-stage { position: relative; height: auto; min-height: 100svh; }
    .hero-hint { display: none; }
    .screen { position: relative; margin-bottom: 0; transform: none; }
    .screen::after { display: none; }
    .wipe .w { opacity: 1; }
    .sc-num { transform: none; }
    .n-fill { clip-path: none; }
    .scan { display: none; }
    .flap-in { transform: none; display: grid; gap: .6rem; }
    .face { backface-visibility: visible; }
    .face.after { grid-area: auto; transform: none; }
    .face.before { grid-area: auto; }
  }
}
