/* Flow marketing design system — shared across all pages. Edit here, every page updates. */

  /* ============================================================ */
  /* FLOW — a mounted technical sheet on a modular grid           */
  /* Dieter Rams / Vitsoe system: measured, labeled, in order.    */
  /* Warm paper, one clay signal, Inter + Geist Mono.             */
  /* ============================================================ */
  :root {
    --paper:    #faf9f6;
    --paper-2:  #f2f0ea;
    --card:     #ffffff;
    --ink:      #1c1b18;
    --ink-soft: #4b4842;
    --ink-mute: #726e66;
    --faint:    #a8a399;
    --line:     rgba(28,27,24,0.16);
    --line-2:   rgba(28,27,24,0.09);
    --line-3:   rgba(28,27,24,0.05);
    --clay:     #9c5a30;
    --clay-2:   #b06a3c;
    --clay-soft: rgba(156,90,48,0.14);
    --ok:       #4b7a46;
    --frame:    1.15rem;
    --pad:      clamp(1.4rem, 5vw, 4rem);
    --idxw:     clamp(4.5rem, 12vw, 9rem);
    --maxw:     74rem;
    --ease:     cubic-bezier(.22, .68, .16, 1);
    --draw:     cubic-bezier(.65, .02, .28, 1);
    --sans:     "Inter", system-ui, -apple-system, sans-serif;
    --mono:     "Geist Mono", ui-monospace, SFMono-Regular, monospace;
    color-scheme: light;
  }

  /* Dark theme: the app's neutral dark palette, same as /architecture. No warm tint; the
     clay signal becomes a quiet light grey. Follows the OS unless the switch pins a theme. */
  @media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper:    oklch(0.136 0 0);
    --paper-2:  oklch(0.17 0 0);
    --card:     oklch(0.165 0 0);
    --ink:      oklch(0.96 0 0);
    --ink-soft: oklch(0.82 0 0);
    --ink-mute: oklch(0.64 0 0);
    --faint:    oklch(0.45 0 0);
    --line:     oklch(1 0 0 / 16%);
    --line-2:   oklch(1 0 0 / 9%);
    --line-3:   oklch(1 0 0 / 5%);
    --clay:     oklch(0.86 0 0);
    --clay-2:   oklch(0.96 0 0);
    --clay-soft: oklch(1 0 0 / 10%);
    --ok:       oklch(0.72 0.15 142);
    color-scheme: dark;
  }
  }
  :root[data-theme="dark"] {
    --paper:    oklch(0.136 0 0);
    --paper-2:  oklch(0.17 0 0);
    --card:     oklch(0.165 0 0);
    --ink:      oklch(0.96 0 0);
    --ink-soft: oklch(0.82 0 0);
    --ink-mute: oklch(0.64 0 0);
    --faint:    oklch(0.45 0 0);
    --line:     oklch(1 0 0 / 16%);
    --line-2:   oklch(1 0 0 / 9%);
    --line-3:   oklch(1 0 0 / 5%);
    --clay:     oklch(0.86 0 0);
    --clay-2:   oklch(0.96 0 0);
    --clay-soft: oklch(1 0 0 / 10%);
    --ok:       oklch(0.72 0.15 142);
    color-scheme: dark;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
  body {
    font-family: var(--sans); background: var(--paper); color: var(--ink);
    line-height: 1.6; letter-spacing: -0.011em; -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility; font-feature-settings: "cv05" 1, "ss01" 1; overflow-x: hidden;
  }
  a { color: inherit; text-decoration: none; }
  ::selection { background: var(--ink); color: var(--paper); }

  .mono { font-family: var(--mono); font-weight: 450; letter-spacing: 0.2em; text-transform: uppercase; font-size: 0.66rem; color: var(--ink-mute); }
  .num { font-family: var(--mono); font-variant-numeric: tabular-nums; }

  /* ---------------- mounted frame + crop marks ---------------- */
  .frame { position: fixed; inset: var(--frame); border-left: 1px solid var(--line-2); border-right: 1px solid var(--line-2); pointer-events: none; z-index: 70; }
  .frame .prog { position: absolute; left: -1px; top: 0; width: 1px; height: var(--scroll, 0%); background: var(--clay); opacity: var(--prog-op, 0); transition: opacity .4s var(--ease); }
  .frame .prog::after { content: ""; position: absolute; left: -2px; bottom: -2px; width: 5px; height: 5px; border-radius: 50%; background: var(--clay); }
  .tk { position: absolute; width: 11px; height: 11px; border: 0 solid var(--ink); opacity: 0.6; }
  .tk.tl { top: -4px; left: -4px; border-top-width: 1px; border-left-width: 1px; }
  .tk.tr { top: -4px; right: -4px; border-top-width: 1px; border-right-width: 1px; }
  .tk.bl { bottom: -4px; left: -4px; border-bottom-width: 1px; border-left-width: 1px; }
  .tk.br { bottom: -4px; right: -4px; border-bottom-width: 1px; border-right-width: 1px; }
  @media (max-width: 34rem) { .frame { inset: 0.55rem; } .tk { display: none; } }

  .shell { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }

  /* ---------------- masthead ---------------- */
  header { position: sticky; top: 0; z-index: 60; background: color-mix(in srgb, var(--paper) 82%, transparent); backdrop-filter: blur(9px); -webkit-backdrop-filter: blur(9px); border-bottom: 1px solid transparent; transition: border-color .4s var(--ease); }
  header.scrolled { border-bottom-color: var(--line-2); }
  .nav { display: flex; align-items: center; justify-content: space-between; height: 4.25rem; gap: 1rem; }
  .brand { display: flex; align-items: baseline; gap: 0.55rem; }
  .brand .logo { width: 1.05rem; height: 1.05rem; align-self: center; color: var(--ink); flex: none; }
  .brand b { font-weight: 600; font-size: 1.06rem; letter-spacing: -0.02em; }
  .brand .mono { font-size: 0.58rem; letter-spacing: 0.16em; }
  @media (max-width: 40rem) { .brand .mono { display: none; } }
  .nav-right { display: flex; align-items: center; gap: clamp(0.9rem, 2.4vw, 1.8rem); }
  .nlink { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); transition: color .25s var(--ease); }
  .nlink:hover { color: var(--ink); }
  @media (max-width: 44rem) { .nlink.hide { display: none; } }

  .btn { display: inline-flex; align-items: center; gap: 0.55rem; font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase; padding: 0.6rem 0.95rem; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease); }
  .btn:hover { background: transparent; color: var(--ink); }
  .btn .a { transition: transform .3s var(--draw); }
  .btn:hover .a { transform: translateX(3px); }
  .btn-lg { padding: 0.85rem 1.25rem; font-size: 0.68rem; }
  .btn-line { background: transparent; color: var(--ink); border-color: var(--line); }
  .theme { display: inline-flex; align-items: center; justify-content: center; width: 2.1rem; height: 2.1rem; padding: 0; border: 1px solid var(--line); background: transparent; color: var(--ink-mute); cursor: pointer; transition: color .25s var(--ease), border-color .25s var(--ease); flex: none; }
  .theme:hover { color: var(--ink); border-color: var(--ink-mute); }
  .theme:focus-visible { outline: 1px solid var(--ink); outline-offset: 2px; }
  .theme svg { width: 14px; height: 14px; }
  .btn-line:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

  /* ---------------- band system ---------------- */
  .band { position: relative; padding: clamp(3rem, 7vw, 5.5rem) 0; }
  .band::before { content: ""; position: absolute; top: 0; left: var(--pad); right: var(--pad); height: 1px; background: var(--line); transform: scaleX(0); transform-origin: left; }
  .band.in::before { transform: scaleX(1); transition: transform 1.15s var(--draw); }
  .band:first-of-type::before { display: none; }

  .grid { display: grid; grid-template-columns: var(--idxw) 1fr; gap: clamp(1.25rem, 4vw, 3.25rem); }
  @media (max-width: 46rem) { .grid { grid-template-columns: 1fr; gap: 1.4rem; } }
  .index { position: relative; }
  .index .n { font-family: var(--mono); font-size: 0.9rem; color: var(--clay); font-variant-numeric: tabular-nums; display: block; }
  .index .l { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mute); margin-top: 0.55rem; display: block; line-height: 1.5; }
  @media (max-width: 46rem) { .index { display: flex; align-items: center; gap: 0.9rem; } .index .l { margin-top: 0; } }

  h1 { font-size: clamp(2.25rem, 4.6vw, 3.75rem); font-weight: 600; line-height: 1.04; letter-spacing: -0.035em; color: var(--ink); max-width: 22ch; }
  h1 .soft { color: var(--faint); }
  h2 { font-size: clamp(1.85rem, 4vw, 2.8rem); font-weight: 600; line-height: 1.05; letter-spacing: -0.035em; color: var(--ink); }
  h2 .soft { color: var(--faint); }
  .lead { font-size: clamp(1.05rem, 1.6vw, 1.24rem); line-height: 1.5; color: var(--ink-soft); max-width: 34rem; }
  .prose { font-size: clamp(1rem, 1.5vw, 1.12rem); line-height: 1.6; color: var(--ink-soft); max-width: 34rem; }

  /* ---------------- hero ---------------- */
  .hero { padding-top: clamp(3rem, 6.5vw, 5.5rem); }
  .hero .body { max-width: none; }
  .hero .lede-row { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(1.75rem, 4.5vw, 4.5rem); align-items: end; }
  @media (max-width: 60rem) { .hero .lede-row { grid-template-columns: 1fr; gap: 2.75rem; } }
  .hero h1 { margin-bottom: 0; }
  .hero .lead { margin-top: 2rem; }
  .hero .signup { margin-top: 2.1rem; }
  .cta { margin-top: 2rem; display: flex; gap: 0.75rem; flex-wrap: wrap; }
  .note { margin-top: 1.45rem; font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
  .note s { text-decoration: none; color: var(--line); margin: 0 0.4rem; }

  /* figure — precisely framed specimen */
  figure { margin: 0; }
  .fig { position: relative; border: 1px solid var(--line); background: var(--card); }
  .fig::before, .fig::after { content: ""; position: absolute; width: 8px; height: 8px; border: 0 solid var(--clay); opacity: 0.75; }
  .fig::before { top: -4px; left: -4px; border-top-width: 1px; border-left-width: 1px; }
  .fig::after { bottom: -4px; right: -4px; border-bottom-width: 1px; border-right-width: 1px; }
  .figcap { margin-top: 0.8rem; font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mute); display: flex; gap: 0.6rem; }
  .figcap b { color: var(--clay); font-weight: 450; }

  .rec { padding: 1.25rem 1.3rem 1.15rem; }
  .rec-head { display: flex; align-items: center; gap: 0.8rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line-2); }
  .mgram { width: 2.3rem; height: 2.3rem; display: grid; place-items: center; background: var(--ink); color: var(--paper); font-weight: 600; font-size: 0.95rem; }
  .rec-name { font-weight: 600; font-size: 1rem; letter-spacing: -0.02em; }
  .rec-sub { font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin-top: 0.2rem; }
  .rec-health { margin-left: auto; display: inline-flex; align-items: center; gap: 0.4rem; font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
  .rec-health i { width: 0.42rem; height: 0.42rem; border-radius: 50%; background: var(--ok); }
  .rows { margin-top: 0.35rem; }
  .row { display: grid; grid-template-columns: 5rem 1fr auto; align-items: baseline; gap: 0.7rem; padding: 0.6rem 0; border-bottom: 1px solid var(--line-3); }
  .row:last-child { border-bottom: 0; }
  .row .k { font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); }
  .row .v { font-size: 0.9rem; color: var(--ink); }
  .row .n2 { font-family: var(--mono); font-size: 0.72rem; color: var(--ink-mute); font-variant-numeric: tabular-nums; }
  .row.live .k { color: var(--clay); }
  .row.live .n2 { color: var(--clay); }
  .rec-foot { margin-top: 0.95rem; padding-top: 0.85rem; border-top: 1px solid var(--line-2); font-size: 0.76rem; color: var(--ink-mute); }

  /* ---------------- belief ---------------- */
  .cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); margin-top: clamp(1.75rem, 3vw, 2.5rem); max-width: 50rem; }
  @media (max-width: 48rem) { .cols2 { grid-template-columns: 1fr; gap: 1.1rem; } }
  .cols2 p { color: var(--ink-soft); font-size: clamp(1rem, 1.5vw, 1.1rem); line-height: 1.6; }

  /* ---------------- problem: two measured panels ---------------- */
  .h-lead { margin-bottom: clamp(1.75rem, 3vw, 2.5rem); }
  .pair { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); }
  @media (max-width: 52rem) { .pair { grid-template-columns: 1fr; } }
  .cell { padding: clamp(1.5rem, 3vw, 2.1rem); }
  .cell.a { background: var(--paper-2); border-right: 1px solid var(--line); }
  @media (max-width: 52rem) { .cell.a { border-right: 0; border-bottom: 1px solid var(--line); } }
  .cell .tag { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 1.05rem; display: flex; align-items: center; gap: 0.6rem; }
  .cell .tag::before { content: ""; width: 1.4rem; height: 1px; background: var(--line); }
  .cell p { color: var(--ink-soft); font-size: 0.97rem; line-height: 1.58; }
  .relay { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.45rem; margin: 1.3rem 0; }
  .relay span { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.05em; color: var(--ink-soft); border: 1px solid var(--line); padding: 0.28rem 0.55rem; background: var(--card); }
  .relay span.x { color: var(--faint); text-decoration: line-through; text-decoration-color: var(--line); }
  .relay i { color: var(--faint); font-family: var(--mono); font-style: normal; }
  .cap { margin-top: 1.2rem; font-size: 0.88rem; color: var(--ink-mute); }
  .flowrow { display: flex; align-items: center; gap: 0.7rem; margin: 1.3rem 0; }
  .flowrow .n3 { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
  .flowrow .seg { flex: 1; height: 1px; background: linear-gradient(90deg, var(--clay), var(--line) 70%); position: relative; }
  .flowrow .seg::before { content: ""; position: absolute; left: 0; top: -1.5px; width: 4px; height: 4px; border-radius: 50%; background: var(--clay); }

  /* board figure */
  .board { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); background: var(--card); }
  @media (max-width: 40rem) { .board { grid-template-columns: 1fr; } }
  .bcol { padding: 0.75rem; border-right: 1px solid var(--line-2); }
  .bcol:last-child { border-right: 0; }
  @media (max-width: 40rem) { .bcol { border-right: 0; border-bottom: 1px solid var(--line-2); } }
  .bhead { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.6rem; }
  .bhead .c { font-family: var(--mono); font-size: 0.6rem; color: var(--faint); }
  .tcard { border: 1px solid var(--line-2); padding: 0.5rem 0.6rem; display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; background: var(--paper); }
  .tcard + .tcard { margin-top: 0.5rem; }
  .tcard .t { font-size: 0.8rem; color: var(--ink); }
  .tcard .m { flex: none; font-family: var(--mono); font-size: 0.54rem; color: var(--ink-mute); border: 1px solid var(--line-2); width: 1.3rem; height: 1.3rem; display: grid; place-items: center; }
  .tcard.live { border-color: var(--clay); }
  .tcard.live .m { color: var(--clay); border-color: var(--clay); }

  /* ---------------- pillars: measured grid, ruled ---------------- */
  .pillars { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
  @media (max-width: 60rem) { .pillars { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 34rem) { .pillars { grid-template-columns: 1fr; } }
  .pillar { padding: clamp(1.4rem, 2.4vw, 1.85rem); border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
  .pillar:nth-child(4n) { border-right: 0; }
  @media (max-width: 60rem) { .pillar:nth-child(4n) { border-right: 1px solid var(--line-2); } .pillar:nth-child(2n) { border-right: 0; } }
  @media (max-width: 34rem) { .pillar { border-right: 0 !important; } }
  .pillar .pn { font-family: var(--mono); font-size: 0.62rem; color: var(--clay); letter-spacing: 0.08em; }
  .pillar h3 { font-size: 1.04rem; font-weight: 600; letter-spacing: -0.02em; margin: clamp(1.5rem, 3vw, 2.5rem) 0 0.5rem; }
  .pillar p { color: var(--ink-soft); font-size: 0.9rem; line-height: 1.55; }

  /* ---------------- inside: spec table ---------------- */
  .spec { border-top: 1px solid var(--ink); }
  .srow { display: grid; grid-template-columns: 2.5rem 8.5rem 1fr; gap: 1rem; align-items: baseline; padding: 1rem 0.2rem; border-bottom: 1px solid var(--line-2); transition: padding-left .35s var(--ease), background .3s var(--ease); }
  .srow:hover { padding-left: 0.7rem; background: var(--paper-2); }
  .srow .sn { font-family: var(--mono); font-size: 0.64rem; color: var(--faint); font-variant-numeric: tabular-nums; }
  .srow .sname { font-weight: 600; font-size: 1rem; letter-spacing: -0.02em; }
  .srow .sdesc { color: var(--ink-mute); font-size: 0.9rem; line-height: 1.5; }
  @media (max-width: 40rem) { .srow { grid-template-columns: 1.75rem 1fr; } .srow .sdesc { grid-column: 2; } }

  /* ---------------- honest ---------------- */
  .note-card { border: 1px solid var(--line); background: var(--paper-2); padding: clamp(1.75rem, 4vw, 3rem); max-width: 46rem; position: relative; }
  .note-card h2 { margin-bottom: 1.3rem; }
  .note-card p { color: var(--ink-soft); font-size: 1.04rem; line-height: 1.62; max-width: 36rem; }
  .note-card p + p { margin-top: 0.9rem; }
  .sign { margin-top: 1.7rem; display: flex; align-items: center; gap: 0.75rem; }
  .sign b { font-weight: 600; font-size: 0.92rem; }
  .sign .mono { font-size: 0.58rem; }
  .note-card .btn { margin-top: 1.9rem; }

  /* ---------------- final ---------------- */
  .final { text-align: center; padding: clamp(4rem, 9vw, 7rem) 0; }
  .final h2 { font-size: clamp(2rem, 5vw, 3.4rem); max-width: 16ch; margin: 0 auto; }
  .final .sub { margin: 1.2rem auto 1.9rem; font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); }

  /* ---------------- footer ---------------- */
  footer { border-top: 1px solid var(--ink); padding: clamp(2rem, 4vw, 2.75rem) 0 clamp(2.5rem, 5vw, 3.5rem); }
  .foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
  .foot-links { display: flex; gap: 1.4rem; }
  .foot-links a { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); transition: color .25s var(--ease); }
  .foot-links a:hover { color: var(--ink); }
  .foot .mono { font-size: 0.58rem; }
  .foot .mono a { color: var(--ink-mute); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 2px; }
  .foot .mono a:hover { color: var(--ink); }

  /* ---------------- connects note (module pages) ---------------- */
  .connects { margin-top: 1.3rem; font-size: 0.86rem; color: var(--ink-mute); display: flex; align-items: baseline; gap: 0.7rem; max-width: 34rem; }
  .connects b { font-family: var(--mono); font-weight: 450; font-size: 0.58rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--clay); flex: none; }

  /* ---------------- "more" link (teaser -> full page) ---------------- */
  .more { display: inline-flex; align-items: center; gap: 0.55rem; margin-top: clamp(1.6rem, 3vw, 2.25rem); font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid var(--line); padding-bottom: 0.4rem; transition: border-color .3s var(--ease), gap .3s var(--draw); }
  .more:hover { border-color: var(--ink); gap: 0.8rem; }
  .more .a { transition: transform .3s var(--draw); }
  .more:hover .a { transform: translateX(3px); }

  /* ---------------- early-access signup ---------------- */
  .signup { display: flex; align-items: stretch; max-width: 27rem; border: 1px solid var(--line); background: var(--card); transition: border-color .3s var(--ease); }
  .signup:focus-within { border-color: var(--ink); }
  .field { flex: 1 1 auto; min-width: 0; border: 0; background: transparent; padding: 0.9rem 0.95rem; font-family: var(--sans); font-size: 0.92rem; letter-spacing: -0.01em; color: var(--ink); outline: none; }
  .field::placeholder { color: var(--faint); }
  .signup > .btn { border: 0; flex: none; }
  .signup > .btn:hover { background: var(--ink); color: var(--paper); }

  /* ---------------- stacked form + email link (contact) ---------------- */
  .form { display: grid; gap: 1.05rem; max-width: 30rem; }
  .form .frow { display: grid; gap: 0.4rem; }
  .form label { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mute); }
  .form .input, .form textarea { border: 1px solid var(--line); background: var(--card); padding: 0.8rem 0.9rem; font-family: var(--sans); font-size: 0.95rem; letter-spacing: -0.01em; color: var(--ink); outline: none; transition: border-color .3s var(--ease); }
  .form .input:focus, .form textarea:focus { border-color: var(--ink); }
  .form .input::placeholder, .form textarea::placeholder { color: var(--faint); }
  .form textarea { resize: vertical; min-height: 7rem; line-height: 1.5; }
  .form .btn { justify-self: start; margin-top: 0.3rem; }
  .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
  .maillink { display: inline-block; font-size: clamp(1.25rem, 3vw, 1.9rem); font-weight: 600; letter-spacing: -0.025em; color: var(--ink); border-bottom: 1px solid var(--line); padding-bottom: 0.15rem; transition: border-color .3s var(--ease); }
  .maillink:hover { border-color: var(--ink); }

  /* ---------------- reveal (precise, drafting) ---------------- */
  [data-r] { opacity: 0; transform: translateY(14px); }
  .in [data-r] { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--draw); }
  .in [data-r][data-d="1"] { transition-delay: .12s; }
  .in [data-r][data-d="2"] { transition-delay: .22s; }
  .in [data-r][data-d="3"] { transition-delay: .32s; }
  .in [data-r][data-d="4"] { transition-delay: .42s; }
  .rows .row { opacity: 0; transform: translateX(-6px); }
  .in .rows .row { opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .5s var(--draw); }
  .in .rows .row:nth-child(2) { transition-delay: .30s; }
  .in .rows .row:nth-child(3) { transition-delay: .40s; }
  .in .rows .row:nth-child(4) { transition-delay: .50s; }
  .in .rows .row:nth-child(5) { transition-delay: .60s; }

  @media (prefers-reduced-motion: reduce) {
    [data-r], .rows .row { opacity: 1 !important; transform: none !important; transition: none !important; }
    .band::before { transform: scaleX(1) !important; }
    html { scroll-behavior: auto; }
  }
