/* The case file on the front page (public/landing.html, section #case): one SIMULATED call in five beats
   (the promise, what the records showed, the alert, the report, one record for every side) and the signed record
   (founder, 2026-11-16: the site sells and keeps its plans off the page, but keeps the animations and graphics).
   Founder-approved design "One wrong AI promise, taken apart" (2026-11-14), moved here unchanged except:
   every selector is scoped under #case so nothing leaks into the rest of the page; class names that the front page
   already uses (.aura .eyebrow .v .st .draw .rv) are renamed; the page header and logo are dropped (the site has one);
   no inline styles (CSP style-src 'self'), so the animation delays are data-d / data-st attributes mapped below.
   Alignment rules (verified pixel by pixel, keep them):
   - canvas 1440, outer margin 64, content 1312; 12 columns, 32px gutters (24px at 1280); the column width is rounded
     down to a whole pixel so the card edge never lands on a fraction
   - story = columns 1-4, card = the rest; the band reuses the same two tracks
   - the band's dots, seal, line and caption share one axis (--axis) and sit on whole pixels (round(...,1px));
     never put 'transition:all' on .dt
   - every spacing value is a multiple of 8 (4 only for optical nudges) */

#case{
  --bg:#FCFCFD;--ink:#112233;--ink-2:#4A5668;--ink-3:#6B7686;--soft:#8A95A6;--faint:#B7C0CD;
  --line:rgba(17,34,51,.09);--line-2:rgba(17,34,51,.06);
  --b1:#0A2E8F;--b2:#1650C8;--b3:#2A8FE0;--cy:#2FD0F2;--accent:#0051BA;--accent-soft:#EEF4FC;
  --red:#B42318;--red-soft:#FDF3F2;
  --night-ink:#F2F6FC;--night-ink-2:#A9B9D6;--night-ink-3:#7489B3;
  --sans:"Geist",ui-sans-serif,system-ui,-apple-system,sans-serif;--mono:"Geist Mono",ui-monospace,SFMono-Regular,Menlo,monospace;
  --shadow-sm:0 0 0 .5px rgba(17,34,51,.13),0 1px 1px rgba(17,34,51,.04),0 2px 4px rgba(17,34,51,.04);
  --shadow:0 0 0 .5px rgba(17,34,51,.12),0 1px 2px rgba(17,34,51,.04),0 8px 24px -8px rgba(17,34,51,.08),0 32px 64px -32px rgba(10,46,143,.18);
  --ease:cubic-bezier(.2,.7,.2,1);
  /* grid */
  --margin:64px;--gutter:32px;--pad:32px;--chip:24px;
  /* vertical: 32 + 32 + 56 + 504 + 32 + 144 + 32 + 32 + 36 = 900
     card 504 = head 56 + main (32 + 336 + 32) + note 48; every scene's content is exactly 336 high */
  --top:32px;--gap-hd:56px;--cardH:504px;--headH:56px;--noteH:48px;--gap-band:32px;--bandH:144px;--axis:72px;--gap-foot:32px;--bottom:36px;
  --h1:42px;--h1lh:48px;--copy-top:88px;
  --rowH:88px;                /* 3 x 88 + 24 + 48 = 336 */
  --calHd:56px;--slotH:56px;  /* 56 + 5 x 56 = 336 */
  --stpH:64px;--foundH:96px;  /* 16 + 8 + 3 x 64 + 24 + 96 = 336 */
  --boxH:128px;--fwdGap:56px; /* 128 + 56 + 152 = 336 */
  --flHd:36px;--flH:60px;     /* 36 + 5 x 60 = 336 */
  position:relative;overflow:clip;background:var(--bg);
  color:var(--ink);font-family:var(--sans);font-size:15px;line-height:1.55;letter-spacing:.005em;
  -webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale
}
/* shorter screens (1280x800 and similar): the same grid, a tighter vertical scale */
@media (min-width:1220px) and (max-height:880px){
  #case{--top:16px;--gap-hd:24px;--gap-band:24px;--bandH:112px;--axis:56px;--gap-foot:24px;--bottom:32px}
}
@media (min-width:1220px) and (max-width:1360px){#case{--h1:36px;--h1lh:44px;--gutter:24px}}
#case *{box-sizing:border-box}
#case h2,#case h3,#case p{margin:0}
#case .mono{font-family:var(--mono);letter-spacing:0}
#case svg{display:block;overflow:visible;max-width:none}
#case .cs-defs{position:absolute;width:0;height:0;overflow:hidden}

/* the animation delays (CSP: no inline styles) */
#case [data-d=".1s"]{--d:.1s}#case [data-d=".2s"]{--d:.2s}#case [data-d=".3s"]{--d:.3s}#case [data-d=".5s"]{--d:.5s}
#case [data-d=".6s"]{--d:.6s}#case [data-d=".7s"]{--d:.7s}#case [data-d=".8s"]{--d:.8s}#case [data-d=".9s"]{--d:.9s}
#case [data-d="1.1s"]{--d:1.1s}#case [data-d="1.2s"]{--d:1.2s}#case [data-d="1.4s"]{--d:1.4s}#case [data-d="1.9s"]{--d:1.9s}
#case [data-d="2.3s"]{--d:2.3s}#case [data-d="2.5s"]{--d:2.5s}
#case [data-st=".9s"]{--s:.9s}#case [data-st="1.4s"]{--s:1.4s}#case [data-st="1.9s"]{--s:1.9s}

/* ---------- section ---------- */
#case .case{position:relative;isolation:isolate;max-width:1440px;margin:0 auto;padding:var(--top) var(--margin) var(--bottom)}
#case .caura{position:absolute;z-index:-1;width:900px;height:900px;right:-300px;top:-380px;pointer-events:none;filter:blur(64px) saturate(1.1);opacity:.42}
#case .caura::before{content:"";position:absolute;inset:0;border-radius:50%;background:conic-gradient(from 210deg,#0A2E8F,#033EA9,#0078CB,#0094D7,#2FD0F2,#0FA9E0,#0051BA,#0A2E8F);animation:case-spin 48s linear infinite;-webkit-mask-image:radial-gradient(circle,#000 34%,transparent 68%);mask-image:radial-gradient(circle,#000 34%,transparent 68%)}
@keyframes case-spin{to{transform:rotate(360deg)}}
#case.off .caura::before{animation-play-state:paused}

#case .top{display:flex;align-items:center;justify-content:flex-end;height:32px}
#case .meta{display:flex;align-items:center;gap:16px;font-family:var(--mono);font-size:12px;line-height:16px;color:var(--ink-3)}
#case .meta b{font-weight:400;color:var(--ink)}

/* chips: one height everywhere */
#case .pill,#case .tag,#case .src,#case .e409{display:inline-flex;align-items:center;height:var(--chip);flex:none;white-space:nowrap;line-height:1}
#case .pill{padding:0 10px;border-radius:999px;font-family:var(--mono);font-size:10.5px;letter-spacing:.06em;color:var(--ink-3);background:rgba(255,255,255,.7);box-shadow:inset 0 0 0 .5px rgba(17,34,51,.22)}
#case .pill.plan{color:var(--accent);box-shadow:inset 0 0 0 .5px rgba(0,81,186,.35);background:var(--accent-soft);letter-spacing:.02em;font-family:var(--sans);font-size:11.5px}

#case .grid,#case .rec{display:grid;grid-template-columns:calc(4*round(down,(100% - 11*var(--gutter))/12 + .01px,1px) + 3*var(--gutter)) minmax(0,1fr);column-gap:var(--gutter)}
#case .grid{margin-top:var(--gap-hd)}

/* ---------- story column (columns 1-4) ---------- */
#case .story{grid-column:1;height:var(--cardH);display:flex;flex-direction:column}
#case .kick{display:flex;align-items:center;gap:8px;height:16px;font-size:13px;line-height:16px;color:var(--ink-2)}
#case .kick::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--accent)}
#case .ttl{margin-top:16px;font-family:var(--sans);font-weight:300;font-variation-settings:normal;font-size:var(--h1);line-height:var(--h1lh);letter-spacing:-.025em;white-space:nowrap;text-wrap:nowrap;max-width:none}
#case .ttl .s{color:var(--soft)}
#case .copies{position:relative;flex:1;margin-top:var(--copy-top)}
#case .copy{position:absolute;inset:0;display:flex;flex-direction:column;opacity:0;visibility:hidden;transition:opacity .5s var(--ease),transform .5s var(--ease),visibility 0s .5s;transform:translateY(6px)}
#case .copy.on{opacity:1;visibility:visible;transform:none;transition:opacity .7s var(--ease) .15s,transform .7s var(--ease) .15s,visibility 0s}
#case .num{font-family:var(--mono);font-size:12px;line-height:16px;color:var(--ink-3);letter-spacing:.02em}
#case .num b{font-weight:400;color:var(--accent)}
#case .copy h3{margin-top:16px;font-family:var(--sans);font-weight:350;font-size:24px;line-height:32px;letter-spacing:-.012em;text-wrap:balance}
#case .copy p.s1{margin-top:16px;color:var(--ink-2);font-size:15px;line-height:24px;text-wrap:balance}
#case .outside{margin-top:auto;display:flex;align-items:center;gap:8px;min-height:var(--noteH);font-size:13.5px;line-height:20px;color:var(--ink-2)}
#case .outside svg{width:16px;height:16px;flex:none;align-self:flex-start;margin-top:calc((var(--noteH) - 16px)/2)}
#case .outside span{padding:calc((var(--noteH) - 20px)/2) 0;text-wrap:balance}
#case .outside b{font-weight:500;color:var(--accent)}

/* ---------- the evidence card (columns 5-12) ---------- */
#case .card{grid-column:2;position:relative;background:#fff;border-radius:20px;box-shadow:var(--shadow);height:var(--cardH);overflow:hidden}
#case .chead{display:flex;align-items:center;gap:16px;height:var(--headH);padding:0 var(--pad);box-shadow:inset 0 -.5px 0 var(--line)}
#case .src{gap:8px;padding:0 12px 0 10px;border-radius:999px;background:var(--accent-soft);color:var(--b1);font-size:12.5px;box-shadow:inset 0 0 0 .5px rgba(0,81,186,.18)}
#case .src i{width:6px;height:6px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 3px rgba(0,81,186,.12)}
#case .ctitle{font-size:13.5px;line-height:16px;color:var(--ink);white-space:nowrap}
#case .chead .sp{flex:1}
#case .cmeta{font-family:var(--mono);font-size:11.5px;line-height:16px;color:var(--soft);white-space:nowrap}
#case .chead .pill.plan{display:none}

#case .scene{position:absolute;top:var(--headH);left:0;right:0;bottom:0;display:flex;flex-direction:column;opacity:0;visibility:hidden;transition:opacity .45s var(--ease),visibility 0s .45s}
#case .scene.on{opacity:1;visibility:visible;transition:opacity .6s var(--ease) .1s,visibility 0s}
#case .main{flex:1;min-height:0;display:flex;flex-direction:column;justify-content:center;padding:var(--pad)}
#case .note{flex:none;display:block;height:var(--noteH);line-height:var(--noteH);text-overflow:ellipsis;padding:0 var(--pad);box-shadow:inset 0 .5px 0 var(--line);font-size:12.5px;color:var(--ink-3);white-space:nowrap;overflow:hidden}
#case .note b{font-weight:500;color:var(--ink-2)}
#case .note .mono{font-size:11.5px}
#case .note .sep{color:var(--faint)}
#case .a{opacity:0;transform:translateY(6px)}
#case .scene.on .a{animation:case-in .7s var(--ease) both;animation-delay:var(--d,0s)}
@keyframes case-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
#case .cdraw{stroke-dasharray:1 1;stroke-dashoffset:1}
#case .scene.on .cdraw{animation:case-draw 1s var(--ease) both;animation-delay:var(--d,0s)}
@keyframes case-draw{to{stroke-dashoffset:0}}
#case .flow{stroke-dasharray:2.5 7;animation:case-run 1.8s linear infinite}
#case .flow.fd1{animation-delay:-.6s}
#case .flow.fd2{animation-delay:-1.2s}
@keyframes case-run{to{stroke-dashoffset:-19}}

#case .lbl{font-family:var(--mono);font-size:10.5px;line-height:16px;letter-spacing:.08em;color:var(--soft);text-transform:uppercase}
#case .tag{padding:0 8px;border-radius:6px;font-family:var(--mono);font-size:10.5px;letter-spacing:.04em;color:var(--accent);background:var(--accent-soft);box-shadow:inset 0 0 0 .5px rgba(0,81,186,.25)}
#case .red{color:var(--red)}

/* scene 1: the tool log */
#case .row{display:grid;grid-template-columns:72px 64px minmax(0,1fr) auto;column-gap:16px;align-content:center;align-items:center;height:var(--rowH);box-shadow:inset 0 -.5px 0 var(--line-2)}
#case .row:first-child{box-shadow:inset 0 -.5px 0 var(--line-2),inset 0 .5px 0 var(--line-2)}
#case .row .t{font-family:var(--mono);font-size:12.5px;line-height:24px;color:var(--soft)}
#case .row .w{font-size:12.5px;line-height:24px;color:var(--ink-3)}
#case .row .c{font-size:17px;line-height:24px;letter-spacing:-.005em;color:var(--ink);white-space:nowrap}
#case .row .code{display:flex;align-items:center;gap:12px;font-family:var(--mono);font-size:14px;line-height:24px;color:var(--ink);white-space:nowrap}
#case .row.tool .w{color:var(--accent)}
#case .e409{padding:0 8px;border-radius:6px;background:var(--red);color:#fff;font-family:var(--mono);font-size:12px}
#case .claim{position:relative;display:inline-block}
#case .claim .ul{position:absolute;left:0;right:0;bottom:-2px;height:1.5px;background:var(--red);transform:scaleX(0);transform-origin:left}
#case .scene.on .claim .ul{animation:case-grow .9s var(--ease) both;animation-delay:var(--d)}
@keyframes case-grow{to{transform:scaleX(1)}}
#case .verdict{margin-top:24px;display:flex;align-items:center;gap:12px;height:48px;padding:0 16px;border-radius:12px;background:var(--red-soft);box-shadow:inset 0 0 0 .5px rgba(180,35,24,.28);font-size:14px;line-height:20px;color:var(--ink);white-space:nowrap}
#case .verdict b{font-weight:500;color:var(--red)}
#case .verdict svg{width:18px;height:18px;flex:none}

/* scene 2: what was said, and the slot at that second */
#case .s2{display:grid;grid-template-columns:minmax(0,1fr) 64px round(down,calc((100% - 64px)*.6),8px);align-items:start}
#case .s2{--calH:calc(var(--calHd) + 5*var(--slotH));--hitY:calc(var(--calHd) + 2.5*var(--slotH))}
#case .saidw{height:var(--calH);display:flex;align-items:center;padding-top:calc(2*var(--hitY) - var(--calH))}
#case .said{width:100%;padding:16px 16px;border-radius:14px;box-shadow:var(--shadow-sm);background:#fff}
#case .said .lbl{display:block}
#case .said .q{margin-top:8px;font-size:17px;line-height:24px}
#case .said .x{margin-top:8px;display:flex;align-items:center;gap:8px;font-size:13px;line-height:20px;color:var(--red)}
#case .said .x svg{width:12px;height:12px;flex:none}
#case .link2{position:relative;height:var(--calH)}
#case .link2::before{content:"";position:absolute;left:0;right:6px;top:calc(var(--hitY) - .65px);height:1.3px;background:var(--red);transform:scaleX(0);transform-origin:left}
#case .link2::after{content:"";position:absolute;right:0;top:calc(var(--hitY) - 3px);width:6px;height:6px;border-radius:50%;background:var(--red);opacity:0}
#case .scene.on .link2::before{animation:case-grow .8s var(--ease) 1.4s both}
#case .scene.on .link2::after{animation:case-in .4s var(--ease) 2.1s both}
#case.static .link2::before{transform:none}#case.static .link2::after{opacity:1}
#case .cal{height:var(--calH);border-radius:14px;box-shadow:inset 0 0 0 .5px rgba(17,34,51,.14);overflow:hidden;background:#fff}
#case .cal .hd{display:flex;justify-content:space-between;align-items:center;height:var(--calHd);padding:0 16px;font-size:12.5px;line-height:16px;color:var(--ink);box-shadow:inset 0 -.5px 0 var(--line)}
#case .cal .hd span:last-child{font-family:var(--mono);font-size:11px;color:var(--soft)}
#case .slot{display:grid;grid-template-columns:48px minmax(0,1fr);align-items:center;height:var(--slotH);padding:0 16px;font-size:12.5px;line-height:16px}
#case .slot .h{font-family:var(--mono);font-size:11.5px;color:var(--soft)}
#case .slot .sv{height:28px;display:flex;align-items:center;justify-content:space-between;padding:0 12px;border-radius:8px;color:var(--soft);box-shadow:inset 0 0 0 .5px var(--line);white-space:nowrap}
#case .slot .sv.bk{color:var(--ink-2);background:repeating-linear-gradient(135deg,#F4F6F9 0 5px,#EBEEF3 5px 6px)}
#case .slot.hit .h{color:var(--red)}
#case .slot.hit .sv{color:var(--ink);box-shadow:inset 0 0 0 1.5px var(--red);background:repeating-linear-gradient(135deg,#FFF 0 5px,#FBEDEC 5px 6px)}
#case .slot.hit .sv em{font-style:normal;font-family:var(--mono);font-size:10.5px;color:var(--red);letter-spacing:.04em}

/* scene 3: the alert (each step ticks off in turn, then the signed result goes to the agency) */
#case .stp{display:grid;grid-template-columns:20px minmax(0,1fr) auto;column-gap:16px;align-content:center;align-items:start;height:var(--stpH);box-shadow:inset 0 -.5px 0 var(--line)}
#case .lbl+.stp{margin-top:8px;box-shadow:inset 0 -.5px 0 var(--line),inset 0 .5px 0 var(--line)}
#case .stp .ic{width:20px;height:20px;margin-top:1px;border-radius:50%;box-shadow:inset 0 0 0 1px var(--faint);position:relative}
#case .stp .ic::after{content:"";position:absolute;left:7px;top:4.5px;width:4px;height:8px;border:solid #fff;border-width:0 1.5px 1.5px 0;transform:rotate(45deg) scale(.4);opacity:0}
#case .scene.on .stp .ic{animation:case-tickbg .5s var(--ease) both;animation-delay:var(--s)}
#case .scene.on .stp .ic::after{animation:case-tick .5s var(--ease) both;animation-delay:var(--s)}
@keyframes case-tickbg{to{background:var(--b2);box-shadow:inset 0 0 0 1px var(--b2)}}
@keyframes case-tick{to{opacity:1;transform:rotate(45deg)}}
#case .stp .n{display:inline-block;font-size:15.5px;line-height:22px;color:var(--ink)}
#case .stp .why{font-size:13px;line-height:18px;color:var(--ink-3)}
#case .stp .ro{font-family:var(--mono);font-size:10.5px;line-height:22px;letter-spacing:.08em;color:var(--soft)}
#case .found{margin-top:24px;height:var(--foundH);display:grid;grid-template-columns:40px minmax(0,1fr) auto;column-gap:16px;align-items:center;padding:0 24px;border-radius:16px;background:linear-gradient(180deg,#F8FBFF,#F1F6FE);box-shadow:inset 0 0 0 .5px rgba(0,81,186,.3),0 12px 28px -16px rgba(10,46,143,.35)}
#case .found svg{width:40px;height:40px}
#case .found .k{display:block;font-size:12px;line-height:16px;font-weight:500;color:var(--accent)}
#case .found .fv{display:block;margin-top:4px;font-size:19px;line-height:24px;letter-spacing:-.008em;color:var(--ink)}
#case .found .fv b{font-weight:500;color:var(--red)}
#case .pill.sig{font-family:var(--sans);font-size:11.5px;letter-spacing:.02em;color:var(--accent);background:#fff;box-shadow:inset 0 0 0 .5px rgba(0,81,186,.35)}

/* scene 4: the report, forwarded */
#case .s4top{--bw:round(down,calc((100% - 96px)/3),8px);display:grid;grid-template-columns:var(--bw) minmax(0,1fr) var(--bw) minmax(0,1fr) var(--bw);align-items:stretch}
#case .box{height:var(--boxH);display:flex;flex-direction:column;padding:16px;border-radius:14px;box-shadow:var(--shadow-sm);background:#fff}
#case .box .bv{margin-top:8px;font-size:14px;line-height:20px;color:var(--ink);text-wrap:balance}
#case .box .bv b{font-weight:500;color:var(--red)}
#case .box small{display:block;margin-top:auto;font-size:12px;line-height:16px;color:var(--ink-3);white-space:nowrap}
#case .box.out{box-shadow:inset 0 0 0 .5px rgba(0,81,186,.35),0 12px 28px -16px rgba(10,46,143,.35);background:linear-gradient(180deg,#F8FBFF,#F1F6FE)}
#case .box.out .lbl{color:var(--accent)}
#case .big{margin-top:8px;font-weight:300;font-size:28px;line-height:32px;letter-spacing:-.02em;color:var(--b1);white-space:nowrap}
#case .arr{display:flex;align-items:center;justify-content:center}
#case .arr svg{width:32px;height:12px}
#case .fwd{margin-top:var(--fwdGap);display:flex;flex-direction:column;align-items:center}
#case .fwd svg{width:480px;height:128px}
#case .fwd text{font-family:var(--sans);font-size:13px;fill:var(--ink)}
#case .fwd text.tn{fill:#0A2E8F}
#case .fwd text.tw{font-weight:500}
#case .fwd .cap{margin-top:8px;font-family:var(--mono);font-size:11px;line-height:16px;color:var(--ink-3);text-align:center}

/* scene 5: one record, every side of the call */
#case .net{flex:1;min-height:0;display:flex;align-items:center}
#case .net svg{width:100%;height:auto}
#case .net .narrow{display:none}
#case .net text{font-family:var(--sans);font-size:12px;fill:var(--ink-3)}
#case .net .ag{font-family:var(--mono);font-size:10.5px;letter-spacing:.08em;fill:var(--soft)}
#case .net .sig{font-family:var(--mono);font-size:12.5px;fill:var(--ink)}
#case .net text.tb{fill:#0051BA}
#case .net text.tc{font-size:13.5px;fill:#112233}
#case .net text.tr{fill:#B42318}
#case .net text.f105{font-size:10.5px}
#case .net text.f115{font-size:11.5px}
#case .net use{color:#8C9BB3}
#case .net use.hl{color:#1650C8}
#case .warn{flex:none;margin-top:16px;display:flex;align-items:center;gap:16px;height:72px;padding:0 24px;border-radius:14px;box-shadow:inset 0 0 0 .5px rgba(0,81,186,.3),0 12px 28px -16px rgba(10,46,143,.3);background:linear-gradient(180deg,#F8FBFF,#F1F6FE)}
#case .warn svg{width:28px;height:28px;flex:none}
#case .warn .k{display:block;font-size:12px;line-height:16px;font-weight:500;color:var(--accent)}
#case .warn .wv{display:block;margin-top:4px;font-size:14px;line-height:20px;color:var(--ink)}

/* scene 6: the record */
#case .fl{display:grid;grid-template-columns:24px minmax(0,1.1fr) minmax(0,1fr);column-gap:16px;align-items:center;height:var(--flH);box-shadow:inset 0 -.5px 0 var(--line)}
#case .fl.hd{height:var(--flHd);align-items:end;padding-bottom:8px}
#case .fl .i{font-family:var(--mono);font-size:12px;line-height:20px;color:var(--accent)}
#case .fl .f{font-size:14px;line-height:20px;color:var(--ink)}
#case .fl .f b{font-weight:500}
#case .fl .o2{font-size:13px;line-height:20px;color:var(--accent)}
#case .fl.hd .lbl{font-size:10.5px;line-height:16px;color:var(--soft)}

/* ---------- the signed-record band (same 12 columns) ---------- */
/* the band bleeds to the viewport edges (clipped by #case); its content keeps the grid, so the label sits on the margin
   and the rail spans exactly the card's inner width */
#case .rec{position:relative;margin-top:var(--gap-band);height:var(--bandH);isolation:isolate}
#case .rec::before{content:"";position:absolute;top:0;bottom:0;left:calc(50% - 50vw);right:calc(50% - 50vw);z-index:-1;background:radial-gradient(600px 160px at 78% 130%,rgba(47,208,242,.16),transparent 70%),linear-gradient(180deg,#10265A,#0B1D42);box-shadow:inset 0 .5px 0 rgba(130,170,240,.28),inset 0 -.5px 0 rgba(130,170,240,.18)}
#case .rlab{grid-column:1;align-self:center}
#case .rlab .k{font-size:14px;line-height:20px;color:var(--night-ink)}
#case .rlab .rlv{margin-top:4px;font-size:12px;line-height:16px;color:var(--night-ink-2)}
/* the rail spans exactly the card's inner width: 6 equal cells (five stops and the seal), one centred in each */
#case .rail{grid-column:2;position:relative;width:round(down,calc(100% - 2*var(--pad)),12px);margin:0 0 0 calc(var(--pad) + (100% - 2*var(--pad) - round(down,calc(100% - 2*var(--pad)),12px))/2)}
#case .rail .wire{position:absolute;left:round(calc(100%/12),1px);right:round(calc(100%/12),1px);top:var(--axis);height:0;border-top:1px solid #2A4478;transform:translateY(-.5px)}
#case .seg{position:absolute;top:calc(var(--axis) - 1.5px);height:3px;width:round(calc(100%/6),1px);transform-origin:left;transform:scaleX(0);overflow:hidden}
#case .seg::before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(90deg,var(--cy) 0 3px,transparent 3px 11px);animation:case-slide 1.6s linear infinite}
@keyframes case-slide{to{background-position:22px 0}}
#case .seg.done{transform:scaleX(1)}
#case .node{position:absolute;top:0;bottom:0;width:round(calc(100%/6),1px);text-align:center;cursor:pointer;background:none;border:0;padding:0;font:inherit;color:inherit}
#case .node .tt{position:absolute;left:0;right:0;top:calc(var(--axis) - 36px);font-family:var(--mono);font-size:11px;line-height:16px;color:var(--night-ink-3);white-space:nowrap}
#case .node .dt{position:absolute;left:50%;top:var(--axis);width:12px;height:12px;margin:-6px 0 0 -6px;border-radius:50%;background:#0D1F48;box-shadow:inset 0 0 0 1.25px #3A5488;transition:background-color .5s var(--ease),box-shadow .5s var(--ease)}
#case .node .nm{position:absolute;left:0;right:0;top:calc(var(--axis) + 20px);font-size:13px;line-height:16px;color:var(--night-ink-3);white-space:nowrap;transition:color .5s var(--ease)}
#case .node.done .dt{background:var(--cy);box-shadow:0 0 0 3px rgba(47,208,242,.16)}
#case .node.done .nm{color:var(--night-ink)}
#case .node.act .tt{color:var(--cy)}
#case .node.act .dt{background:#0B1D42;box-shadow:inset 0 0 0 2px var(--cy),0 0 0 5px rgba(47,208,242,.14)}
#case .node.act .dt::after{content:"";position:absolute;inset:-6px;border-radius:50%;box-shadow:0 0 0 1px rgba(47,208,242,.5);animation:case-ping 2s var(--ease) infinite}
@keyframes case-ping{from{opacity:1;transform:scale(.7)}to{opacity:0;transform:scale(1.6)}}
#case .node.act .nm{color:#fff}
#case .sealn{cursor:default;left:round(calc(500%/6),1px)}
#case .sealn svg{position:absolute;left:50%;top:var(--axis);width:36px;height:36px;margin:-18px 0 0 -18px}
#case .seal .ph{fill:#0B1D42;stroke:#6582BE;stroke-width:3;stroke-dasharray:6 8;transition:opacity .5s}
#case .seal .g{opacity:0;transform:scale(.6);transform-origin:center;transform-box:fill-box}
#case .seal .ring{fill:none;stroke:#0094D7;stroke-width:9;stroke-linecap:round;stroke-dasharray:0.01 10.47;opacity:0;transform-origin:center;transform-box:fill-box}
#case .seal .ck{fill:none;stroke:#fff;stroke-width:6;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1 1;stroke-dashoffset:1}
#case[data-beat="6"] .seal .ph{opacity:0}
#case[data-beat="6"] .seal .g{animation:case-pop .8s var(--ease) .5s both}
#case[data-beat="6"] .seal .ring{animation:case-ringin 1.4s var(--ease) .3s both}
#case[data-beat="6"] .seal .ck{animation:case-draw .8s var(--ease) 1.1s both}
#case[data-beat="6"] .sealn .nm{color:#fff}
#case[data-beat="6"] .sealn .tt{color:var(--night-ink-2)}
@keyframes case-pop{to{opacity:1;transform:none}}
@keyframes case-ringin{from{opacity:0;transform:rotate(-90deg)}to{opacity:1;transform:none}}

/* ---------- footer: note and Play on one baseline, Play flush with the card's right edge ---------- */
#case .foot{display:flex;align-items:baseline;justify-content:space-between;gap:24px;margin-top:var(--gap-foot);font-size:12.5px;line-height:16px;color:var(--ink-3)}
#case .foot b{font-weight:500;color:var(--ink);letter-spacing:.02em}
#case .ctl{display:inline-flex;align-items:center;justify-content:center;height:32px;min-width:80px;padding:0 16px;border-radius:999px;border:0;background:#fff;box-shadow:var(--shadow-sm);font:inherit;font-size:12.5px;line-height:16px;color:var(--ink);cursor:pointer}

/* ---------- static / reduced motion: the composed end state ---------- */
#case.static *,#case.static *::before,#case.static *::after{animation:none!important;transition:none!important}
#case.static .a{opacity:1;transform:none}
#case.static .cdraw,#case.static .seal .ck{stroke-dashoffset:0}
#case.static .stp .ic{background:var(--b2);box-shadow:inset 0 0 0 1px var(--b2)}
#case.static .stp .ic::after{opacity:1;transform:rotate(45deg)}
#case.static .claim .ul{transform:none}
#case.static .seal .g,#case.static .seal .ring{opacity:1;transform:none}
#case.static .seg.act{transform:scaleX(1)}
@media (prefers-reduced-motion:reduce){#case .caura::before{animation:none}}

/* ---------- 375 and other narrow widths (and tablets, below 1220) ---------- */
/* the two-column composition needs 1220px (the title and the tool-log row fit from there); below it the section uses the
   single-column phone layout, kept to a phone-like column of at most 760px so tablets get the layout that was verified */
@media (min-width:761px) and (max-width:1219px){#case .case{max-width:792px}}
@media (max-width:1219px){
  #case{--margin:16px;--pad:16px;--top:16px;--h1:34px;--h1lh:40px}
  #case .case{padding-bottom:32px}
  #case .caura{width:520px;height:520px;right:-260px;top:-240px;opacity:.35}
  #case .meta{gap:8px;font-size:11px}#case .meta .hide{display:none}
  #case .grid{display:block;margin-top:32px}
  #case .story{height:auto;display:block}
  #case .ttl{margin-top:16px}
  #case .copies{margin-top:32px;display:grid}
  #case .copy{position:relative;inset:auto;grid-area:1/1}
  #case .copy h3{font-size:21px;line-height:28px;margin-top:8px}
  #case .copy p.s1{margin-top:8px;font-size:14.5px;line-height:22px}
  #case .outside{margin-top:8px;--noteH:28px}
  #case .card{height:auto;margin-top:24px;display:grid}
  #case .chead{height:auto;min-height:48px;padding:12px var(--pad);gap:8px;flex-wrap:wrap}
  #case .ctitle,#case .cmeta{display:none}
  #case .scene{position:relative;top:auto;grid-area:2/1}
  #case .scene:not(.on){height:0;overflow:hidden}
  #case .main{padding:20px var(--pad)}
  #case .note{height:auto;min-height:44px;padding:12px var(--pad);white-space:normal;flex-wrap:wrap;gap:4px 8px;line-height:18px;text-wrap:balance}
  #case{--calHd:40px;--slotH:44px;--flHd:32px}
  #case .box{height:auto;min-height:116px}#case .box small{margin-top:auto;padding-top:8px}
  #case .row{grid-template-columns:auto minmax(0,1fr);row-gap:4px;height:auto;padding:12px 0}
  #case .row .c,#case .row .code{grid-column:1/-1;white-space:normal}
  #case .row .tag{display:none}
  #case .row .c{font-size:15.5px;line-height:22px}
  #case .row .code{font-size:12.5px;flex-wrap:wrap;gap:8px}
  #case .verdict{height:auto;padding:12px 16px;white-space:normal;align-items:flex-start}
  #case .verdict svg{margin-top:1px}
  #case .s2{grid-template-columns:1fr;row-gap:16px}
  #case .saidw{height:auto;padding:0}
  #case .link2{display:none}
  #case .slot.hit .sv em .xs{display:none}
  #case .stp{height:auto;padding:12px 0;grid-template-columns:20px minmax(0,1fr)}
  #case .stp .ro{display:none}
  #case .found{height:auto;grid-template-columns:32px minmax(0,1fr);padding:16px;row-gap:12px}
  #case .found svg{width:32px;height:32px}
  #case .found .pill{grid-column:2;justify-self:start}
  #case .found .fv{font-size:16.5px;line-height:22px}
  #case .s4top{grid-template-columns:1fr}
  #case .arr{height:24px}#case .arr svg{transform:rotate(90deg)}
  #case .fwd{margin-top:24px}
  #case .fwd svg{width:100%;height:auto}
  #case .fwd text{font-size:18px}
  #case .cal .hd .xs{display:none}
  #case .net .wide{display:none}#case .net .narrow{display:block}
  #case .net .narrow{max-width:420px;margin:0 auto}#case .fwd svg{max-width:420px}
  #case .warn{height:auto;padding:16px;align-items:flex-start}
  #case .warn svg{width:24px;height:24px;margin-top:-2px}
  #case .fl{grid-template-columns:24px minmax(0,1fr) auto;height:auto;padding:12px 0;row-gap:4px}
  #case .fl .o2{grid-column:2;grid-row:2}
  #case .fl .f,#case .fl .o2,#case .stp .why{text-wrap:balance}
  #case .fl{align-items:start}
  #case .fl.hd .o2{display:none}
  #case .rec{display:block;height:auto;padding:24px 0;--axis:16px}
  #case .rlab{padding:0}
  #case .rail{height:52px;width:round(down,100%,12px);margin:16px 0 0 round(down,calc((100% - round(down,100%,12px))/2),1px)}
  #case .node .tt{display:none}
  #case .node .nm{font-size:10.5px;top:calc(var(--axis) + 16px)}
  #case .sealn svg{width:28px;height:28px;margin:-14px 0 0 -14px}
  #case .foot{flex-direction:column;align-items:flex-start;gap:16px}
  #case .foot p{text-wrap:balance}
}
