/* =============================================================
   IC Business Systems — "Follow the request" (redesign 2026-10)
   Tokens mirror icbs-redesign/design/tokens.json (ds.js check = 0 problems).
   Noir + gold kept from the shipped brand. Paper sections hold working documents.
   No scroll reveals: everything is visible at rest and without JavaScript.
   ============================================================= */

:root {
  --bg: #0A0A0A;
  --surface: #141414;
  --surface-2: #1C1C1C;
  --text: #FFFFFF;
  --text-muted: #C9C5BD;
  --text-faint: #9A968E;
  --action: #D4AF37;
  --action-text: #0A0A0A;
  --border: #2E2D2A;
  --focus: #E8C75F;
  --paper: #ECEBE6;
  --paper-card: #FFFFFF;
  --ink: #141412;
  --ink-muted: #55534D;
  --gold-ink: #80651F;
  --live: #5FD08A;
  --error: #A1271C;
  --field-line: #8C8A82;
  --frame: #1b1b19;
  --frame-line: #45433d;
  --frame-bar: #191917;
  --frame-edge: #3a3833;
  --frame-dot: #4a4842;
  --line-strong: #5a5852;
  --paper-line: #d8d6cf;
  --paper-line-2: #cfcdc5;
  --paper-rule: #e4e2dc;
  --paper-dash: #c9c7bf;
  --paper-soft: #f7f6f2;
  --paper-select: #f6f1e1;
  --pill-new: #f5efdb;
  --bubble-paper: #e9e8e3;
  --ok: #1d7a45;
  --ok-ink: #155c34;
  --ok-soft: #e3f2e8;
  --bubble-dark: #2b2a27;
  --packet: #FFF3C4;
  --error-text-dark: #ffd9d4;
  --error-line-dark: #e57a6e;
  --error-bg-dark: #2a1310;

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 76rem;
  --section: clamp(72px, 9vw, 128px);
  --radius: 10px;
  --shadow-stage: 0 30px 80px rgba(0, 0, 0, .55);
  --ease: cubic-bezier(.2, 0, 0, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1.0625rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
input, button, textarea, select { font: inherit; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.paper :focus-visible { outline-color: var(--gold-ink); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.skip { position: absolute; left: 16px; top: -100px; z-index: 50; background: var(--action); color: var(--action-text); padding: 12px 16px; font-weight: 600; border-radius: 4px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------------- buttons + links ---------------- */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 1px solid var(--action); border-radius: 4px; background: var(--action); color: var(--action-text); font: 600 1rem/1.1 var(--sans); text-decoration: none; cursor: pointer; transition: filter .14s var(--ease), transform .14s var(--ease); }
.button:hover { filter: brightness(1.08); }
.button:active { transform: translateY(1px); }
.button-large { min-height: 56px; padding: 0 28px; font-size: 1.0625rem; }
.button-small { min-height: 44px; padding: 0 16px; font-size: .9375rem; }
.button-block { width: 100%; }
.button-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.button-ink { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.button-ghost-ink { background: transparent; border-color: var(--ink); color: var(--ink); }
.text-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--text); font-weight: 600; text-decoration: underline; text-decoration-color: var(--action); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.text-link:hover { color: var(--focus); }

.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 3px rgba(95, 208, 138, .18); flex: none; }
.avail-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; border: 2px solid currentColor; flex: none; }

/* ---------------- header ---------------- */
.topbar { position: relative; z-index: 20; border-bottom: 1px solid var(--border); background: var(--bg); }
.topbar-row { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-height: 44px; margin-right: auto; }
.brand-mark { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 6px; background: var(--action); color: var(--action-text); font: 700 1.05rem/1 var(--display); letter-spacing: -.02em; }
.brand-name { font: 600 1.125rem/1.1 var(--display); white-space: nowrap; }
.nav { display: flex; gap: 4px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--text-muted); font-size: .9375rem; font-weight: 500; text-decoration: none; border-radius: 4px; white-space: nowrap; }
.nav a:hover { color: var(--text); }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.lang-link { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; border: 1px solid var(--border); border-radius: 4px; font: 500 .8125rem/1 var(--mono); letter-spacing: .06em; text-decoration: none; color: var(--text-muted); }
.lang-link:hover { color: var(--text); border-color: var(--line-strong); }
.menu-button { display: none; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 4px; background: transparent; color: var(--text); cursor: pointer; place-items: center; }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; content: ""; transition: transform .2s var(--ease); }
.menu-icon::before { position: absolute; top: -6px; } .menu-icon::after { position: absolute; top: 6px; }
.menu-button[aria-expanded="true"] .menu-icon { background: transparent; }
.menu-button[aria-expanded="true"] .menu-icon::before { transform: translateY(6px) rotate(45deg); }
.menu-button[aria-expanded="true"] .menu-icon::after { transform: translateY(-6px) rotate(-45deg); }
.menu { border-top: 1px solid var(--border); background: var(--surface); }
.menu-inner { display: grid; gap: 4px; padding-block: 16px 24px; }
.menu-inner a:not(.button) { display: flex; align-items: center; min-height: 52px; font: 600 1.25rem/1.2 var(--display); text-decoration: none; border-bottom: 1px solid var(--border); }
.menu-inner .button { margin-top: 16px; }

@media (max-width: 959px) {
  .nav { display: none; }
  .menu-button { display: inline-grid; }
  .topbar-actions .button-small { display: none; }
  .topbar-row { min-height: 64px; gap: 12px; }
}
@media (min-width: 960px) { .menu { display: none !important; } }
@media (max-width: 359px) { .brand-name { font-size: 1rem; } .topbar-actions .lang-link { display: none; } }

/* ---------------- hero ---------------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(36px, 6vw, 88px) clamp(48px, 7vw, 104px); isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 46% 52% at 74% 46%, rgba(212, 175, 55, .16), transparent 70%),
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 70% 45%, #000 30%, transparent 85%);
          mask-image: radial-gradient(ellipse 80% 90% at 70% 45%, #000 30%, transparent 85%); }
.hero-grid { display: grid; gap: clamp(32px, 5vw, 56px); align-items: center; }
@media (min-width: 1080px) { .hero-grid { grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); gap: clamp(32px, 3.5vw, 64px); } }
.hero-copy { min-width: 0; }
.hero-kicker { font: 500 .8125rem/1.5 var(--mono); letter-spacing: .03em; color: var(--text-faint); margin: 0 0 22px; text-wrap: balance; }
.hero-title { font: 600 clamp(2.4rem, 4.35vw, 4.3rem)/1.0 var(--display); letter-spacing: -.022em; margin: 0 0 26px; }
.hero-title { position: relative; padding-left: 30px; }
.ht-line { display: block; position: relative; }
.ht-k::before { content: ""; position: absolute; left: -30px; top: -2px; width: 11px; height: 11px; border-radius: 50%; border: 3px solid var(--action); background: var(--bg); box-sizing: content-box; z-index: 1; }
.ht-a::after { content: ""; position: absolute; left: -23px; top: 8px; bottom: calc(-.32em - 6px); width: 3px; background: var(--action); opacity: .85; }
.ht-k { display: block; font: 500 .8125rem/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--action); margin: 0 0 .7rem 2px; }
.ht-a .ht-q { color: var(--text-faint); }
.ht-b { margin-top: .32em; }
.ht-b .ht-q { color: var(--text); }
.hero-sub { font-size: clamp(1.0625rem, 1.35vw, 1.25rem); line-height: 1.55; color: var(--text-muted); max-width: 34em; margin: 0 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-bottom: 28px; }
.hero-live { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font: 400 .8125rem/1.5 var(--mono); color: var(--text-faint); margin: 0; }
.hero-live a { color: var(--text-muted); text-underline-offset: 4px; display: inline-flex; align-items: center; min-height: 44px; }
.hero-live a:hover { color: var(--text); }
@media (max-width: 1079px) {
  .hero-grid { gap: 0; }
  .hero-copy { display: contents; }
  .hero-kicker, .hero-title, .hero-sub, .hero-actions { order: 0; }
  .stage { order: 1; margin-top: 8px; }
  .hero-live { order: 2; margin-top: 22px; }
}
@media (max-width: 559px) {
  .hero-kicker { margin-bottom: 16px; }
  .hero-title { margin-bottom: 20px; }
  .hero-sub { font-size: 1.0625rem; margin-bottom: 22px; }
  .hero-actions { gap: 4px 24px; margin-bottom: 20px; }
}

/* stage: one coordinate system shared with the SVG pipe (desktop 620x640, phone 360x480) */
.stage { margin: 0; min-width: 0; container-type: inline-size; }
.stage-box { position: relative; width: 100%; max-width: 660px; margin-inline: auto; aspect-ratio: 620 / 640; }
.pipe { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; z-index: 1; pointer-events: none; }
.pipe-mob { display: none; }
.pipe-run { fill: none; stroke: var(--action); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.pipe-shadow { fill: none; stroke: rgba(212, 175, 55, .16); stroke-width: 16; stroke-linecap: round; stroke-linejoin: round; }
.fitting { fill: var(--bg); stroke: var(--action); stroke-width: 3; }
.packet { fill: var(--packet); filter: drop-shadow(0 0 6px rgba(232, 199, 95, .95)); opacity: 0; }
.stage-box.is-running .packet { opacity: 1; }

.phone { position: absolute; padding: 1.25cqw; border-radius: 5.4cqw; background: var(--frame); border: 1px solid var(--frame-line); box-shadow: var(--shadow-stage); }
.phone img { width: 100%; height: auto; border-radius: 4.2cqw; }
.phone-front { left: 14.5%; top: 4.7%; width: 40.3%; z-index: 2; transition: box-shadow .3s var(--ease); }
.phone-back { left: 0; top: 18.5%; width: 30.6%; z-index: 0; transform: rotate(-7deg); filter: brightness(.6) saturate(.85); }
.chip { position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border: 1px solid var(--border); border-radius: 999px; background: rgba(10, 10, 10, .9); font: 500 .75rem/1 var(--mono); color: var(--text-muted); white-space: nowrap; }
.chip-front { left: 25%; top: 94%; }
.chip-back { left: 0; top: 89%; }
.art-step { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font: 500 .75rem/1.2 var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--action); }
.art-n { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--action); color: var(--action-text); font-weight: 600; letter-spacing: 0; flex: none; }
.art-step-1 { position: absolute; left: 15%; top: 0; z-index: 4; margin: 0; transform: translateY(-60%); }
.mail { position: absolute; left: 60%; top: 13.5%; width: 40%; z-index: 3; padding: 14px 16px 12px; border-radius: var(--radius); background: var(--paper-card); color: var(--ink); box-shadow: 0 18px 50px rgba(0, 0, 0, .5); font-size: .875rem; line-height: 1.4; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.mail .art-step { color: var(--gold-ink); }
.mail-meta { margin: 0 0 6px; font: 400 .75rem/1.3 var(--mono); color: var(--ink-muted); }
.mail-subject { margin: 0 0 8px; font-weight: 600; }
.mail-lines { list-style: none; margin: 0; padding: 8px 0 0; border-top: 1px solid var(--paper-rule); display: grid; gap: 3px; font-size: .8125rem; color: var(--ink-muted); }
.ok { color: var(--ok); font-weight: 700; }
.reply { position: absolute; left: 64.5%; top: 65.6%; width: 35.5%; z-index: 3; transition: transform .3s var(--ease); }
.reply-bubble { margin: 0; padding: 12px 14px; border-radius: 18px 18px 18px 4px; background: var(--bubble-dark); border: 1px solid var(--frame-line); color: var(--text); font-size: .875rem; line-height: 1.45; box-shadow: 0 18px 50px rgba(0, 0, 0, .5); transition: border-color .3s var(--ease); }

.phone-front.is-active { box-shadow: var(--shadow-stage), 0 0 0 2px var(--action), 0 0 40px rgba(212, 175, 55, .35); }
.mail.is-active { transform: translateY(-4px); box-shadow: 0 0 0 2px var(--action), 0 22px 60px rgba(0, 0, 0, .55); }
.reply.is-active { transform: translateY(-4px); }
.reply.is-active .reply-bubble { border-color: var(--action); }

.stage-cap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; max-width: 660px; margin: 18px auto 0; font: 400 .78rem/1.45 var(--mono); color: var(--text-faint); }
.stage-toggle { min-height: 44px; min-width: 44px; padding: 0 14px; border: 1px solid var(--border); border-radius: 4px; background: transparent; color: var(--text-muted); font: 500 .78rem/1 var(--mono); cursor: pointer; }
.stage-toggle:hover { color: var(--text); border-color: var(--line-strong); }

@container (max-width: 519px) {
  .stage-box { aspect-ratio: 360 / 480; }
  .pipe-desk { display: none; }
  .pipe-mob { display: block; }
  .phone { padding: 1.6cqw; border-radius: 7cqw; }
  .phone img { border-radius: 5.6cqw; }
  .phone-front { left: 0; top: 1.7%; width: 45.6%; }
  .phone-back, .chip-back, .art-step-1 { display: none; }
  .chip-front { left: 0; top: 80.5%; font-size: .6875rem; padding: 5px 9px; }
  .mail { left: 52.2%; top: 12%; width: 47.8%; padding: 10px 11px 9px; font-size: .78rem; }
  .mail-meta { font-size: .6875rem; }
  .mail-lines { font-size: .72rem; }
  .art-step { font-size: .6875rem; gap: 6px; margin-bottom: 6px; }
  .art-n { width: 17px; height: 17px; }
  .reply { left: 52.2%; top: 62.5%; width: 47.8%; }
  .reply-bubble { font-size: .78rem; padding: 9px 11px; border-radius: 14px 14px 14px 4px; }
}

/* ---------------- sections ---------------- */
.section { padding-block: var(--section); }
.section-head { margin-bottom: clamp(36px, 5vw, 64px); max-width: 46rem; }
.section-head h2 { font: 600 clamp(2rem, 4.2vw, 3.4rem)/1.06 var(--display); letter-spacing: -.018em; margin-bottom: 18px; }
.section-head p { color: var(--text-muted); font-size: 1.125rem; max-width: 40em; margin: 0; }
.paper { background: var(--paper); color: var(--ink); }
.paper .section-head p { color: var(--ink-muted); }
.paper a { color: var(--gold-ink); }

/* work */
.work { border-top: 1px solid var(--border); }
.spread { display: grid; gap: 40px; align-items: center; margin-bottom: clamp(72px, 10vw, 136px); }
@media (min-width: 1080px) { .spread { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 72px; } .spread-flip .spread-media { order: 2; } }
.spread-media { position: relative; min-width: 0; padding-bottom: 28px; }
.browser { display: block; border: 1px solid var(--frame-edge); border-radius: var(--radius); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-stage); text-decoration: none; }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-bottom: 1px solid var(--frame-edge); background: var(--frame-bar); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--frame-dot); }
.browser-bar span { margin-left: 10px; font: 400 .75rem/1 var(--mono); color: var(--text-faint); }
.browser img { width: 100%; height: auto; }
.browser:hover { border-color: var(--action); }
.before { position: absolute; right: -8px; bottom: -8px; width: 42%; margin: 0; padding: 8px 8px 10px; background: var(--paper-card); border-radius: 8px; box-shadow: 0 18px 40px rgba(0, 0, 0, .55); transform: rotate(2deg); }
.before img { border-radius: 4px; border: 1px solid var(--paper-line); }
.before figcaption { margin-top: 8px; font: 500 .6875rem/1.3 var(--mono); color: var(--ink-muted); }
.phone-inline { position: absolute; left: auto; right: -6px; bottom: -6px; top: auto; width: 26%; padding: 6px; border-radius: 22px; }
.phone-inline img { border-radius: 16px; }
@media (max-width: 640px) { .before { width: 56%; right: -4px; } .phone-inline { width: 32%; } }
.spread-copy { min-width: 0; }
.spread-copy h3 { font: 600 clamp(1.75rem, 3vw, 2.4rem)/1.1 var(--display); margin-bottom: 6px; }
.spread-where { font: 400 .875rem/1.5 var(--mono); color: var(--text-faint); margin-bottom: 26px; }
.ledger { margin: 0; display: grid; gap: 20px; }
.ledger dt { font: 500 .75rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--action); margin-bottom: 8px; }
.ledger dd { margin: 0; color: var(--text-muted); }
.ledger dd a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--text); font-weight: 600; text-underline-offset: 5px; }
.work-foot { display: grid; gap: 12px; padding-top: 28px; border-top: 1px solid var(--border); color: var(--text-muted); max-width: 52rem; }
.work-foot p { margin: 0; }
.work-honest { font: 400 .875rem/1.5 var(--mono); color: var(--text-faint); }

/* follow one request */
.flow-tabs { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 40px; }
.flow-tabs::before { content: ""; position: absolute; left: 22px; right: 22px; top: 21px; height: 4px; border-radius: 2px; background: var(--gold-ink); opacity: .45; }
.flow-tabs button { position: relative; display: grid; justify-items: start; gap: 10px; min-height: 44px; padding: 0 4px 6px 0; border: 0; background: transparent; color: var(--ink-muted); font: 500 .9375rem/1.3 var(--sans); text-align: left; cursor: pointer; }
.ft-n { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 3px solid var(--gold-ink); background: var(--paper); color: var(--ink); font: 600 1rem/1 var(--mono); transition: background .22s var(--ease), color .22s var(--ease); }
.flow-tabs button[aria-selected="true"] { color: var(--ink); font-weight: 600; }
.flow-tabs button[aria-selected="true"] .ft-n { background: var(--ink); border-color: var(--ink); color: var(--action); }
.flow-tabs button:hover .ft-n { background: #fff; }
.flow-panel { display: grid; gap: 32px; align-items: center; padding-bottom: 40px; }
.flow-panel + .flow-panel { border-top: 1px dashed var(--paper-dash); padding-top: 40px; }
.flow-demo.is-enhanced .flow-panel + .flow-panel { border-top: 0; padding-top: 0; }
@media (min-width: 860px) { .flow-panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; } }
.flow-art { min-width: 0; }
.flow-copy { min-width: 0; }
.flow-copy h3 { font: 600 clamp(1.5rem, 2.6vw, 2rem)/1.15 var(--display); margin-bottom: 12px; }
.flow-copy p { color: var(--ink-muted); max-width: 32em; }
.artifact { background: var(--paper-card); border: 1px solid var(--paper-line); border-radius: var(--radius); box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 14px 40px rgba(20, 20, 18, .08); padding: 18px 20px; font-size: .9375rem; }
.artifact-head { margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--paper-rule); font: 400 .75rem/1.4 var(--mono); color: var(--ink-muted); }
.artifact dl { margin: 0; display: grid; gap: 10px; }
.artifact dl div { display: grid; grid-template-columns: minmax(0, 8.5rem) minmax(0, 1fr); gap: 12px; }
.artifact dt { color: var(--ink-muted); font-size: .875rem; }
.artifact dd { margin: 0; font-weight: 500; }
.artifact-subject { font-weight: 600; font-size: 1.0625rem; margin-bottom: 6px; }
.artifact-faint { font: 400 .8125rem/1.4 var(--mono); color: var(--ink-muted); margin: 10px 0 0; }
.artifact table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.artifact td { padding: 10px 0; border-bottom: 1px solid var(--paper); }
.artifact tr:last-child td { border-bottom: 0; }
.artifact td:last-child { text-align: right; }
.pill { display: inline-block; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--paper-dash); font: 500 .75rem/1.4 var(--mono); color: var(--ink); }
.pill-new { border-color: var(--gold-ink); background: var(--pill-new); }
.pill-won { border-color: var(--ok); color: var(--ok-ink); background: var(--ok-soft); }
.bubble { margin: 0; padding: 12px 15px; border-radius: 18px 18px 18px 4px; background: var(--bubble-paper); max-width: 30em; }
.status { display: inline-flex; align-items: center; gap: 8px; margin: 6px 0 0; font: 500 .8125rem/1.3 var(--mono); }
.paper .status-live { color: var(--ink); }
.paper .status-avail, .paper .status-owner { color: var(--gold-ink); }
.flow-nav { display: flex; gap: 12px; margin-top: 8px; }
.flow-nav .button:disabled { opacity: .35; cursor: default; }
.flow-note { margin: 24px 0 0; font: 400 .78rem/1.5 var(--mono); color: var(--ink-muted); }
@media (max-width: 600px) {
  .flow-tabs { gap: 4px; }
  .flow-tabs button { font-size: .78rem; }
  .ft-n { width: 40px; height: 40px; }
  .flow-tabs::before { top: 18px; }
  .artifact dl div { grid-template-columns: minmax(0, 1fr); gap: 0; }
}

/* what I build */
.jobs { list-style: none; margin: 0; padding: 0; display: grid; }
@media (min-width: 820px) { .jobs { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 64px; } }
.jobs li { padding: 30px 0 34px; border-top: 1px solid var(--border); min-width: 0; }
.jobs h3 { font: 600 clamp(1.4rem, 2.2vw, 1.75rem)/1.15 var(--display); margin-bottom: 10px; }
.jobs p { color: var(--text-muted); }
.jobs .status { color: var(--text); }
.jobs .status-avail { color: var(--action); }

/* pricing */
.pricing { background: var(--surface); }
.prices { margin: 0; }
.price-row { display: grid; gap: 6px 32px; padding: 26px 0; border-top: 1px solid var(--border); }
.price-row:last-child { border-bottom: 1px solid var(--border); }
@media (min-width: 900px) { .price-row { grid-template-columns: minmax(0, 15rem) minmax(0, 12rem) minmax(0, 1fr); align-items: baseline; } }
.price-row dt { font: 600 1.375rem/1.2 var(--display); }
.price-amount { margin: 0; font: 600 1.5rem/1.2 var(--display); color: var(--action); font-variant-numeric: tabular-nums lining-nums; }
.price-desc { margin: 0; color: var(--text-muted); }
.price-terms { margin: 24px 0 0; color: var(--text-muted); max-width: 52rem; }

/* plans: three comparable columns; every plan lists the same parts in the same order */
.plans { display: grid; gap: 20px; }
@media (min-width: 980px) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); } .plans .plan-name { min-height: 2.4em; } }
.plan { display: flex; flex-direction: column; gap: 14px; min-width: 0; padding: 28px 24px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); }
.plan-name { font: 600 clamp(1.3rem, 1.8vw, 1.5rem)/1.2 var(--display); }
.plan-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0; }
.plan-amount { font: 600 2.1rem/1.1 var(--display); color: var(--action); font-variant-numeric: tabular-nums lining-nums; }
.plan-unit { font: 400 .875rem/1.3 var(--mono); color: var(--text-faint); }
.plan-label { display: block; margin: 0 0 4px; font: 500 .72rem/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--action); }
.plan-best { margin: 0; color: var(--text); }
.plan-list { list-style: none; margin: -6px 0 0; padding: 0; display: grid; gap: 8px; color: var(--text-muted); font-size: .9688rem; }
.plan-list li { position: relative; padding-left: 24px; }
.plan-list li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 10px; height: 6px; border-left: 2px solid var(--action); border-bottom: 2px solid var(--action); transform: rotate(-45deg); }
.plan-terms { margin: 4px 0 0; padding-top: 14px; border-top: 1px solid var(--border); display: grid; gap: 12px; }
.plan-terms dt { font: 500 .72rem/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint); }
.plan-terms dd { margin: 4px 0 0; color: var(--text-muted); font-size: .9063rem; line-height: 1.55; }
.plan-cta { margin-top: auto; width: 100%; }
.plans .plan-terms { margin-bottom: 8px; }
.project { display: grid; gap: 28px; margin-top: 20px; padding: 28px 24px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg); }
@media (min-width: 980px) { .project { grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr); gap: 48px; padding: 32px 32px; } }
.project-head { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.project-head .plan-amount { font-size: 1.75rem; }
.project-how { margin: 0; color: var(--text-muted); }
.project-head .plan-cta { margin-top: 6px; }
.project-body { min-width: 0; }
.project .price-row { padding: 18px 0; }
.project .price-row:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 900px) { .project .price-row { grid-template-columns: minmax(0, 12rem) minmax(0, 10.5rem) minmax(0, 1fr); } }
.project .price-row dt { font-size: 1.2rem; }
.project .price-amount { font-size: 1.25rem; }
.price-note { margin: 28px 0 0; color: var(--text-muted); max-width: 52rem; }
.price-note a { color: var(--text); font-weight: 600; text-decoration-color: var(--action); text-underline-offset: 5px; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.topic-note { margin: 4px 0 0; padding: 10px 12px; border-left: 3px solid var(--gold-ink); background: var(--paper-select); color: var(--ink); font-size: .9375rem; border-radius: 0 6px 6px 0; }

/* about */
.about-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .about-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 80px; } }
.about-grid-text { grid-template-columns: minmax(0, 1fr) !important; }
.about-grid-text .about-copy { max-width: 46rem; }

.portrait { margin: 0; max-width: 440px; }
.portrait img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.about-copy h2 { font: 600 clamp(2rem, 4vw, 3.2rem)/1.06 var(--display); margin-bottom: 24px; }
.about-copy p { color: var(--text-muted); max-width: 36em; }
.about-meta { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 28px 0 0; padding: 18px 0 0; border-top: 1px solid var(--border); font: 400 .8125rem/1.4 var(--mono); color: var(--text-faint); }

/* how it works */
.how { border-top: 1px solid var(--border); }
.steps { list-style: none; counter-reset: step; margin: 0 0 clamp(72px, 9vw, 120px); padding: 0; display: grid; gap: 0; }
.steps li { counter-increment: step; position: relative; padding: 0 0 32px 64px; min-width: 0; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--action); background: var(--bg); color: var(--action); font: 600 1rem/1 var(--mono); z-index: 1; }
.steps li::after { content: ""; position: absolute; left: 20px; top: 44px; bottom: 0; width: 4px; background: var(--action); opacity: .4; }
.steps li:last-child::after { display: none; }
.steps h3 { font: 600 1.375rem/1.2 var(--display); margin: 8px 0 8px; }
.steps p { color: var(--text-muted); margin: 0; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
  .steps li { padding: 68px 0 0; }
  .steps li::after { left: 44px; right: -32px; top: 20px; bottom: auto; width: auto; height: 4px; }
}
.faq { display: grid; gap: 24px; }
@media (min-width: 900px) { .faq { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 64px; } }
.byline { font: 400 .8125rem/1.5 var(--mono); color: var(--text-faint); margin: 10px 0 0; }
.byline a { color: var(--text-muted); text-underline-offset: 4px; }
.byline a:hover { color: var(--text); }
.faq-title { font: 600 clamp(1.75rem, 3vw, 2.4rem)/1.1 var(--display); }
.faq-list details { border-top: 1px solid var(--border); }
.faq-list details:last-child { border-bottom: 1px solid var(--border); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 14px 0; font-weight: 600; font-size: 1.0625rem; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font: 400 1.5rem/1 var(--mono); color: var(--action); flex: none; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { color: var(--text-muted); margin: 0 0 22px; max-width: 40em; }

/* review offer + form */
.review-grid { display: grid; gap: 48px; align-items: start; }
@media (min-width: 1000px) { .review-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; } }
.review-copy h2 { font: 600 clamp(2.2rem, 4.6vw, 3.6rem)/1.04 var(--display); letter-spacing: -.018em; margin-bottom: 16px; }
.review-lede { font-size: 1.1875rem; color: var(--ink-muted); }
.review-get { font: 500 .75rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); margin: 32px 0 14px; }
.review-list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 10px; }
.review-list li { position: relative; padding-left: 30px; }
.review-list li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 7px; border-left: 3px solid var(--gold-ink); border-bottom: 3px solid var(--gold-ink); transform: rotate(-45deg); }
.sample { border-top: 1px solid var(--paper-line-2); border-bottom: 1px solid var(--paper-line-2); margin-bottom: 24px; }
.sample summary { display: flex; align-items: center; min-height: 56px; font-weight: 600; cursor: pointer; color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold-ink); text-underline-offset: 5px; }
.sample figure { margin: 4px 0 16px; }
.sample img { width: 100%; height: auto; border-radius: 6px; border: 1px solid var(--paper-line-2); }
.sample figcaption { margin-top: 8px; font: 400 .75rem/1.4 var(--mono); color: var(--ink-muted); }
.sample ol { margin: 0 0 20px; padding-left: 22px; display: grid; gap: 8px; color: var(--ink-muted); }
.review-self { color: var(--ink-muted); }
.review-self a { font-weight: 600; text-underline-offset: 4px; display: inline-flex; min-height: 44px; align-items: center; }

.form-card { background: var(--paper-card); border: 1px solid var(--paper-line); border-radius: 12px; padding: clamp(22px, 3vw, 36px); box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 24px 60px rgba(20, 20, 18, .1); }
.review-form { display: grid; gap: 22px; }
.field { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: 1rem; color: var(--ink); padding: 0; }
.hint { margin: 0; font-size: .875rem; color: var(--ink-muted); }
.field input, .field textarea, .field select { width: 100%; min-height: 52px; padding: 12px 14px; border: 1.5px solid var(--field-line); border-radius: 6px; background: #fff; color: var(--ink); font: 400 1.0625rem/1.4 var(--sans); }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--gold-ink); outline-offset: 1px; border-color: var(--ink); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-error { margin: 0; color: var(--error); font-size: .9375rem; font-weight: 500; }
.method-options { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.method-options label { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px; border: 1.5px solid var(--field-line); border-radius: 6px; font-weight: 500; cursor: pointer; }
.method-options label:has(input:checked) { border-color: var(--ink); background: var(--paper-select); }
.method-options input { width: 24px; height: 24px; accent-color: var(--ink); margin: 0; }
.error-summary { border: 2px solid var(--error); border-radius: 6px; padding: 14px 16px; color: var(--ink); }
.error-summary p { margin: 0 0 6px; font-weight: 600; }
.error-summary ul { margin: 0; padding-left: 20px; }
.error-summary a { color: var(--error); font-weight: 500; }
.hp { display: none; }
.turnstile-slot:not(:empty) { margin-bottom: 12px; }
.send-error:not([hidden]) { padding: 12px 14px; border: 1px solid var(--error); border-radius: 6px; }
.form-privacy { margin: 0; font-size: .875rem; color: var(--ink-muted); }

/* footer */
.footer { border-top: 1px solid var(--border); padding-block: 56px 48px; color: var(--text-muted); font-size: .9375rem; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, .8fr); } }
.footer-brand { display: grid; gap: 14px; max-width: 26rem; }
.footer-write { margin: 0 0 4px; font: 400 .8125rem/1.4 var(--mono); color: var(--text-faint); }
.footer-email { display: inline-flex; min-height: 44px; align-items: center; font: 600 clamp(1.1rem, 2vw, 1.375rem)/1.2 var(--display); color: var(--text); text-decoration: underline; text-decoration-color: var(--action); text-underline-offset: 6px; overflow-wrap: anywhere; }
.footer-contact p:last-child { margin: 4px 0 0; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; align-content: start; }
.footer-links a { display: inline-flex; min-height: 44px; align-items: center; text-underline-offset: 4px; }
.footer-links li:last-child { margin-top: 8px; font-size: .8125rem; color: var(--text-faint); }

/* sticky mobile CTA */
.sticky-cta { display: none; }
@media (max-width: 759px) {
  .sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(10, 10, 10, .96); border-top: 1px solid var(--border); transition: transform .22s var(--ease); }
  .sticky-cta.is-tucked { transform: translateY(110%); }
  .page-home { padding-bottom: 76px; }
}

/* thanks */
.thanks { padding-block: clamp(72px, 12vw, 160px); }
.thanks-inner { max-width: 44rem; }
.thanks-pipe { width: 120px; height: 48px; margin-bottom: 28px; overflow: visible; }
.packet-done { opacity: 1; }
.thanks h1 { font: 600 clamp(2.2rem, 5vw, 3.6rem)/1.06 var(--display); margin-bottom: 22px; }
.thanks-lede { font-size: 1.1875rem; color: var(--text); }
.thanks p { color: var(--text-muted); }
.thanks a:not(.button) { text-underline-offset: 4px; }
.thanks-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 32px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------------- service pages + service links (2026-10-27) ---------------- */
.svc-hero { padding-block: clamp(20px, 4vw, 56px) clamp(48px, 7vw, 96px); }
.svc-head > * { max-width: 46rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px; margin: 0 0 10px; padding: 0; font: 400 .8125rem/1.4 var(--mono); color: var(--text-faint); }
.crumbs li { display: inline-flex; align-items: center; min-height: 44px; }
.crumbs li + li::before { content: "/"; margin-right: 10px; }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text-muted); text-underline-offset: 4px; }
.svc-title { font: 600 clamp(2.2rem, 4.8vw, 3.9rem)/1.04 var(--display); letter-spacing: -.02em; margin: 0 0 24px; }
.svc-split { display: grid; gap: 40px; }
@media (min-width: 900px) { .svc-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; } }
.svc-split .section-head { margin-bottom: 0; }
.svc-list { margin: 0; gap: 14px; font-size: 1.0625rem; }
.svc-h2 { font: 600 clamp(1.75rem, 3.2vw, 2.6rem)/1.08 var(--display); letter-spacing: -.015em; margin-bottom: 18px; }
.svc-text { color: var(--text-muted); max-width: 36em; }
.paper .svc-text { color: var(--ink-muted); }
.svc-limits { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.svc-limits li { padding-left: 16px; border-left: 3px solid var(--gold-ink); }
@media (min-width: 900px) { .svc-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.svc-links .plan-label { margin: 0 0 4px; }
.svc-links ul { list-style: none; margin: 0 0 24px; padding: 0; display: grid; }
.svc-links ul:last-child { margin-bottom: 0; }
.svc-cta .review-lede { max-width: 40em; margin-bottom: 28px; }
.svc-cta .button { color: var(--action-text); }
.svc-write { margin: 0; color: var(--ink-muted); }
.svc-write a { font-weight: 600; text-underline-offset: 4px; overflow-wrap: anywhere; }
.jobs .jobs-more { margin: 14px 0 0; font: 400 .8125rem/1.7 var(--mono); color: var(--text-faint); }
.jobs-more a { color: var(--text-muted); text-underline-offset: 4px; }
.jobs-more a:hover { color: var(--text); }
.footer-svc { list-style: none; margin: 0; padding: 0; display: grid; }
.footer-svc a { display: inline-flex; min-height: 40px; align-items: center; text-underline-offset: 4px; }
.footer-grid { align-items: start; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (min-width: 1200px) { .footer-grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, .75fr); } }

/* ---------------- before/after compare (work spread + case study) ----------------
   The range input sits over the whole image: native keyboard, touch and screen-reader support.
   Without JS the divider stays at 50%, so both halves still show. */
.compare { --pos: 50%; }
.compare-stage { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-card); }
.compare-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.compare-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); object-position: center 30%; }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: var(--action); pointer-events: none; }
.compare-handle::after { content: "‹ ›"; position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: var(--action); color: var(--action-text); font: 700 1.05rem/1 var(--sans); letter-spacing: .1em; box-shadow: 0 6px 18px rgba(0, 0, 0, .45); }
.compare-tag { position: absolute; top: 12px; padding: 5px 9px; border-radius: 4px; background: rgba(10, 10, 10, .78); color: var(--text); font: 500 .6875rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; pointer-events: none; }
.compare-tag-before { left: 12px; }
.compare-tag-after { right: 12px; }
.compare-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; -webkit-appearance: none; appearance: none; }
.compare-stage:has(.compare-range:focus-visible) { outline: 3px solid var(--focus); outline-offset: -3px; }
.case-link { margin-top: 18px; }

/* ---------------- case study page ---------------- */
.case-compare { padding-top: 0; }
.case-compare .browser { max-width: 64rem; margin-inline: auto; }
.paper .case-list { color: var(--ink-muted); }
.paper .case-list li::before { border-color: var(--gold-ink); }
.case-list { gap: 14px; }
.case-shots { display: flex; gap: 20px; align-items: flex-start; }
.case-shots .phone { position: static; flex: 0 1 220px; padding: 8px; border-radius: 28px; }
.case-shots .phone img { border-radius: 21px; }
.case-note { margin: 22px 0 32px; }
