:root {
  --bg:        #F6F1E7;
  --bg-2:      #EFE7D6;
  --surface:   #FFFCF5;
  --surface-2: #F8F2E6;
  --line:      #DDD2BE;
  --line-2:    #BFB29B;
  --ink:       #1D1B18;
  --ink-2:     #4F4A42;
  --ink-3:     #6B645A;
  --thread:    #1F5673;
  --thread-2:  #2E7396;
  --thread-dim:#DCE8EE;
  --flag:      #A63D26;
  --brick:     #B4442C;
  --brick-dim: #F5DDD4;
  --gold:      #8A5A0F;
  --marigold:  #E8A93A;
  --marigold-dim: #F8E3B5;
  --open:      #2F6B4C;
  --open-dim:  #DCEBDF;
  --formstone: #8C877D;
  --paper:     #FFFCF5;
  --paper-2:   #F3ECDD;
  --paper-ink: #1D1B18;
  --paper-rule:#CBBFA8;

  --u: 8px;
  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s5: 24px;
  --s6: 32px;
  --s7: 48px;
  --s8: 64px;
  --s9: 96px;

  --t-xs: 12px;
  --t-sm: 14px;
  --t-md: 17px;
  --t-lg: 20px;
  --t-xl: 26px;
  --t-2xl: 34px;

  --r: 3px;
  --r-lg: 5px;
  --ease-out: cubic-bezier(.22,.72,.28,1);
  --ease-in: cubic-bezier(.5,0,.85,.3);
  --shadow: 3px 4px 0 rgba(29,27,24,.09);
  --shadow-lift: 5px 7px 0 rgba(29,27,24,.12);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background-color: var(--bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .28 0 0 0 0 .18 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
  color: var(--ink);
  font-family: "Source Sans 3", "Source Sans Pro", "Segoe UI", system-ui, sans-serif;
  font-size: var(--t-md);
  line-height: 1.65;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--marigold-dim); color: var(--ink); }

.backdrop { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.backdrop .grid {
  position: absolute; inset: -140px;
  background-image:
    linear-gradient(to right, rgba(31,86,115,.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(31,86,115,.07) 1px, transparent 1px),
    linear-gradient(to right, rgba(31,86,115,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(31,86,115,.045) 1px, transparent 1px);
  background-size: 140px 140px, 140px 140px, 35px 35px, 35px 35px;
  transform: rotate(-8deg);
  mask-image: radial-gradient(90% 60% at 70% 0%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(90% 60% at 70% 0%, #000 0%, transparent 75%);
  animation: drift 90s linear infinite;
}
.backdrop .glow {
  position: absolute; right: -200px; top: -260px; width: 900px; height: 620px;
  background: radial-gradient(closest-side, rgba(232,169,58,.16), transparent 70%);
}
@keyframes drift { from { background-position: 0 0, 0 0, 0 0, 0 0; } to { background-position: 140px 140px, 140px 140px, 35px 35px, 35px 35px; } }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 var(--s5); position: relative; z-index: 1; }

h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.01em; }
h1, h2, h3 { font-family: Fraunces, "Iowan Old Style", "Palatino Linotype", Georgia, serif; font-optical-sizing: auto; }
h1 { font-size: clamp(36px, 5.4vw, 66px); line-height: 1.04; font-weight: 600; letter-spacing: -0.025em; font-variation-settings: "SOFT" 50, "WONK" 1; }
h1 em { font-style: italic; font-weight: 500; color: var(--thread); }
h2 { font-size: clamp(28px, 3.4vw, 38px); line-height: 1.12; font-weight: 600; font-variation-settings: "SOFT" 30; }
h3 { font-size: var(--t-lg); line-height: 1.28; font-weight: 600; }
h4 { font-size: var(--t-md); font-weight: 600; }
p { margin: 0 0 var(--s4); max-width: 70ch; }
.small { font-size: var(--t-sm); line-height: 1.6; }
.tiny { font-size: var(--t-xs); line-height: 1.5; }
.muted { color: var(--ink-2); }
.dim { color: var(--ink-3); }
strong { font-weight: 700; }

.id {
  font-family: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  font-size: 0.88em;
  letter-spacing: 0;
}

.eyebrow {
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: var(--s4);
}

a { color: var(--thread); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brick); text-decoration-thickness: 2px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 50;
  background: var(--ink); color: var(--bg); padding: var(--s3) var(--s4); border-radius: 0 0 var(--r) 0;
}
.skip:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--marigold);
  outline-offset: 3px;
  border-radius: 2px;
  box-shadow: 0 0 0 5px rgba(29,27,24,.85);
}

hr.rule { border: 0; border-top: 1px dashed var(--line-2); margin: var(--s5) 0; }

header.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(246,241,231,.9);
  backdrop-filter: saturate(120%) blur(10px);
  -webkit-backdrop-filter: saturate(120%) blur(10px);
  border-bottom: 2px solid var(--ink);
}
.topbar { display: flex; align-items: center; gap: var(--s5); padding-top: var(--s3); padding-bottom: var(--s3); }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); text-decoration: none; font-weight: 700; font-size: 24px; letter-spacing: -0.02em;
  font-family: Fraunces, Georgia, serif; font-variation-settings: "SOFT" 100, "WONK" 1;
  flex: none;
}
.brand:hover { color: var(--ink); }
.brand-mark { display: inline-flex; align-items: flex-end; gap: 2px; height: 20px; }
.brand-mark i { display: block; width: 6px; border-radius: 1px 1px 0 0; }
.brand-mark i:nth-child(1) { height: 13px; background: var(--brick); }
.brand-mark i:nth-child(2) { height: 17px; background: var(--marigold); }
.brand-mark i:nth-child(3) { height: 20px; background: var(--thread); }

nav { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
nav::-webkit-scrollbar { display: none; }
nav a {
  color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 600; white-space: nowrap;
  padding: 6px 10px; border-radius: var(--r); position: relative;
  transition: color .16s var(--ease-out), background .16s var(--ease-out);
}
nav a:hover { color: var(--ink); background: var(--bg-2); }
nav a::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 2px; height: 3px; border-radius: 2px;
  background: var(--marigold); transform: scaleX(0); transform-origin: left; transition: transform .22s var(--ease-out);
}
nav a[aria-current="page"] { color: var(--ink); }
nav a[aria-current="page"]::after { transform: scaleX(1); }

main { padding: var(--s7) 0 var(--s9); }
section { display: none; scroll-margin-top: 96px; }
section[data-active] { display: block; }
section[data-active] > * { animation: rise .34s var(--ease-out) both; }

@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.section-head { margin-bottom: var(--s5); padding-top: var(--s4); border-top: 2px solid var(--ink); max-width: 760px; }
section > .section-head:first-child { border-top: 0; padding-top: 0; }
.hero + .section-head { margin-top: var(--s7); }
.section-head h2 + p { margin-top: var(--s2); margin-bottom: 0; font-size: 18px; }

.foot { position: relative; z-index: 1; margin-top: var(--s7); }
.skyline { height: 150px; overflow: hidden; line-height: 0; }
.skyline svg { width: 100%; height: 100%; display: block; min-width: 900px; }
.foot-inner { background: #8C877D; max-width: none; padding-top: var(--s4); padding-bottom: var(--s7); }
.foot-inner > * { max-width: 1072px; margin-left: auto; margin-right: auto; }
.foot-brand { font-family: Fraunces, Georgia, serif; font-size: 28px; font-weight: 700; color: var(--ink); margin-bottom: var(--s2); }
.foot .muted, .foot .muted .id { color: #1D1B18; }

button, .btn, select {
  font: inherit; font-size: 15px; font-weight: 600; border-radius: var(--r); cursor: pointer;
  padding: 10px 18px; text-decoration: none;
  border: 2px solid var(--ink); background: var(--surface); color: var(--ink);
  display: inline-flex; align-items: center; gap: var(--s2);
  box-shadow: 2px 2px 0 var(--ink);
  transition: transform .16s var(--ease-out), box-shadow .16s var(--ease-out), background .16s var(--ease-out);
}
select { display: block; width: 100%; max-width: 100%; font-weight: 500; cursor: pointer; }
button:hover, .btn:hover { background: var(--bg-2); color: var(--ink); transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--ink); }
button:active, .btn:active { transform: translate(2px, 2px); box-shadow: 0 0 0 var(--ink); }
button.primary, .btn.primary { background: var(--brick); border-color: var(--ink); color: #FFF; }
button.primary:hover, .btn.primary:hover { background: #9A3520; color: #FFF; }
.btn.ghost { background: transparent; box-shadow: none; border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--ink); box-shadow: 2px 2px 0 var(--ink); }
button:disabled { opacity: .5; cursor: not-allowed; transform: none; }
button.mini { padding: 4px 12px; font-size: var(--t-sm); border-width: 1.5px; }

input[type="text"], textarea {
  font: inherit; border-radius: var(--r); border: 2px solid var(--line-2);
  background: var(--surface); color: var(--ink);
  padding: 11px var(--s3); width: 100%;
  transition: border-color .16s var(--ease-out);
}
input[type="text"]:focus, textarea:focus { border-color: var(--ink); }
input[type="text"]::placeholder { color: var(--ink-3); }
textarea { line-height: 1.65; resize: vertical; }
label { display: block; font-size: var(--t-sm); font-weight: 700; margin-bottom: var(--s2); color: var(--ink-2); }

.panel {
  background: var(--surface);
  border: 1.5px solid var(--ink);
  border-radius: var(--r-lg);
  padding: var(--s5);
  box-shadow: var(--shadow);
}
.panel + .panel { margin-top: var(--s4); }
.compare > .panel + .panel, .two-col > .panel + .panel { margin-top: 0; }
.panel h3 + p { margin-top: var(--s2); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); align-items: start; }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; line-height: 1.4; padding: 3px 10px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--surface-2); color: var(--ink-2);
}
.chip .dotmark { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.chip.on { color: var(--open); border-color: rgba(47,107,76,.45); background: var(--open-dim); }
.chip.warn { color: var(--flag); border-color: rgba(166,61,38,.4); background: var(--brick-dim); }
.chip.gold { color: var(--ink); border-color: rgba(138,90,15,.45); background: var(--marigold-dim); }
.chip.square .dotmark { border-radius: 1px; }
.chips { display: flex; gap: var(--s2); flex-wrap: wrap; }

.flag { color: var(--flag); }
.accent { color: var(--thread); }

.hero { padding: var(--s4) 0 var(--s6); position: relative; }
.hero h1 { max-width: 17ch; margin-top: var(--s3); }
.hero .eyebrow { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.whatis { font-size: 20px; line-height: 1.5; max-width: 52ch; margin: 0 0 var(--s5); color: var(--ink-2); font-family: Fraunces, Georgia, serif; font-style: italic; font-weight: 400; }
.hl, h1 em {
  font-style: italic; color: var(--ink);
  background-image: linear-gradient(100deg, rgba(232,169,58,0) 0, rgba(232,169,58,.82) .25em, rgba(240,190,90,.72) 80%, rgba(232,169,58,.2) 100%);
  background-repeat: no-repeat; background-size: 100% .5em; background-position: 0 88%;
  padding: 0 .12em; margin: 0 -.06em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  animation: marker .9s .35s var(--ease-out) both;
}
@keyframes marker { from { background-size: 0% .5em; } to { background-size: 100% .5em; } }
.lede { font-size: var(--t-lg); line-height: 1.6; color: var(--ink); max-width: 58ch; margin-top: var(--s5); }
.hero .cta { display: flex; gap: var(--s3); flex-wrap: wrap; margin-top: var(--s5); }
.caption { max-width: 68ch; }

.cd {
  position: relative; margin-top: var(--s6); max-width: 760px;
  display: grid; grid-template-columns: auto 1fr; gap: 0;
  background: var(--surface); border: 2px solid var(--ink); border-radius: var(--r-lg);
  box-shadow: 6px 6px 0 var(--ink);
}
.cd p { margin: 0; max-width: 62ch; }
.cd-k {
  grid-column: 1; grid-row: 1; align-self: end;
  padding: var(--s4) var(--s5) 0; background: var(--marigold); border-right: 2px solid var(--ink);
  font-size: var(--t-xs); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink);
  border-radius: 3px 0 0 0;
}
.cd-n {
  grid-column: 1; grid-row: 2 / span 2; display: flex; flex-direction: column; justify-content: flex-start;
  padding: 0 var(--s5) var(--s4); background: var(--marigold); border-right: 2px solid var(--ink);
  border-radius: 0 0 0 3px;
}
.cd-n span {
  font-family: Fraunces, Georgia, serif; font-variation-settings: "SOFT" 100, "WONK" 1;
  font-size: clamp(64px, 11vw, 120px); line-height: .95; font-weight: 700;
  letter-spacing: -0.04em; color: var(--ink);
}
.cd-n em { font-style: normal; font-size: var(--t-md); font-weight: 700; color: var(--ink); }
.cd-meta {
  grid-column: 2; grid-row: 1 / span 2; align-self: center;
  padding: var(--s5) var(--s5) var(--s2);
  font-family: Fraunces, Georgia, serif; font-size: 22px; line-height: 1.3; font-weight: 600; color: var(--ink);
}
.cd-note { grid-column: 2; grid-row: 3; padding: 0 var(--s5) var(--s5); font-size: var(--t-sm); line-height: 1.55; color: var(--ink-2); }
.cd.closed .cd-k, .cd.closed .cd-n, .cd.past .cd-k, .cd.past .cd-n { background: var(--bg-2); }
.cd.closed .cd-n span, .cd.past .cd-n span { font-size: clamp(26px, 3.6vw, 36px); line-height: 1.15; letter-spacing: -0.02em; padding-top: var(--s2); max-width: 9ch; }
.cd.soon .cd-k, .cd.soon .cd-n { background: var(--brick); color: #FFF; }
.cd.soon .cd-n span, .cd.soon .cd-n em { color: #FFF; }
.cd.soon .cd-n span { font-size: clamp(44px, 7vw, 80px); }

.stamp {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; line-height: 1.2;
  padding: 5px 10px 4px; border: 2.5px solid currentColor; border-radius: 4px; color: var(--flag);
  box-shadow: inset 0 0 0 1.5px var(--surface), inset 0 0 0 3px currentColor;
  transform: rotate(-4deg); white-space: nowrap; background: rgba(255,252,245,.6);
  mix-blend-mode: multiply;
}
.stamp.open { color: var(--open); transform: rotate(3deg); }
.stamp.hearing { color: var(--gold); transform: rotate(-2.5deg); }
.cd .stamp { position: absolute; right: 18px; top: -34px; }
.stamp.thud { animation: thud .38s .9s cubic-bezier(.3,1.6,.5,1) both; }
@keyframes thud { from { opacity: 0; transform: rotate(-12deg) scale(1.6); } to { opacity: 1; } }

.stage { margin: var(--s6) 0 var(--s3); }
.stage svg { width: 100%; height: auto; display: block; overflow: visible; }
.stage .rail { fill: none; stroke: var(--thread); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.stage .plate-shadow { fill: var(--ink); opacity: .9; }
.stage .plate-face { fill: var(--surface); stroke: var(--ink); stroke-width: 1.5; }
.stage .plate-face.live { fill: #FFFDF8; }
.stage .node-ring { fill: var(--bg); stroke: var(--thread); stroke-width: 3; }
.stage .node-ring.future { fill: var(--marigold); stroke: var(--ink); stroke-width: 2.5; }
.stage .node-ring.dead { fill: var(--brick-dim); stroke: var(--brick); }
.stage text { fill: var(--ink); font-size: 13px; font-family: "Source Sans 3", system-ui, sans-serif; }
.stage text.mono { font-family: "IBM Plex Mono", ui-monospace, monospace; letter-spacing: .01em; }
.stage text.serif { font-family: Fraunces, Georgia, serif; }
.stage text.tiny-l { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; fill: var(--ink-3); }
.stage text.tiny-l.note { fill: var(--thread); }
.stage text.big { font-size: 19px; font-weight: 600; }
.stage text.soft { fill: var(--ink-2); font-size: 13px; }
.stage text.gold { fill: var(--gold); font-weight: 700; }
.stage text.flagt { fill: var(--flag); font-weight: 600; }
.stage .gapline { stroke: var(--ink-3); stroke-width: 1.2; stroke-dasharray: 3 4; fill: none; }
.svg-stamp rect { fill: rgba(255,252,245,.85); stroke: currentColor; stroke-width: 2.2; }
.svg-stamp rect.inner { fill: none; stroke-width: 1; }
.svg-stamp text { fill: currentColor !important; font-size: 11.5px !important; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.svg-stamp { color: var(--flag); filter: url(#roughen); }
.svg-stamp.open { color: var(--open); }
.svg-stamp.hearing { color: var(--gold); }

.appearance { display: grid; grid-template-columns: 32px 1fr; gap: var(--s4); }
.appearance .gutter { position: relative; }
.appearance .gutter::before {
  content: ""; position: absolute; left: 14px; top: 4px; bottom: -2px; width: 3px; border-radius: 2px;
  background: var(--thread);
}
.appearance:last-child .gutter::before { bottom: auto; height: 26px; }
.appearance .dot {
  position: absolute; left: 5px; top: 14px; width: 21px; height: 21px; border-radius: 50%;
  background: var(--bg); border: 3px solid var(--thread); z-index: 1;
}
.appearance.future .dot { background: var(--marigold); border-color: var(--ink); }
.appearance.dead .dot { background: var(--brick-dim); border-color: var(--brick); }
.appearance .body { padding-bottom: var(--s6); min-width: 0; }
.appearance .card {
  background: var(--surface);
  border: 1.5px solid var(--ink); border-radius: var(--r-lg); padding: var(--s5);
  box-shadow: var(--shadow);
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.appearance .card:hover { transform: translate(-2px, -3px); box-shadow: var(--shadow-lift); }
.appearance.dead .card { background: #FBF6EC; }
.appearance.future .card { background: #FFF8E6; border-width: 2px; box-shadow: 5px 5px 0 var(--marigold); }
.appearance .card .meta { display: flex; gap: var(--s2); flex-wrap: wrap; align-items: center; margin-bottom: var(--s3); }
.appearance .card h3 { margin-bottom: var(--s3); max-width: 44ch; font-size: 23px; }
.appearance .gapmark {
  display: flex; align-items: center; gap: var(--s3); padding: 0 0 var(--s5);
  color: var(--thread); font-size: var(--t-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.appearance .gapmark::after { content: ""; flex: 1; height: 0; border-top: 2px dashed rgba(31,86,115,.35); }

.delta { margin-top: var(--s4); border-top: 1px dashed var(--line-2); padding-top: var(--s3); }
.delta ul { margin: 0; padding-left: 20px; }
.delta li { font-size: 15px; color: var(--ink-2); margin-bottom: 6px; }
.delta li::marker { color: var(--thread); }
.delta li b { color: var(--ink); font-weight: 700; }

.entry {
  display: grid; grid-template-columns: 8px 1fr; gap: var(--s4);
  background: var(--surface);
  border: 1.5px solid var(--ink); border-radius: var(--r-lg);
  overflow: hidden; margin-bottom: var(--s5);
  box-shadow: var(--shadow);
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.entry:hover { transform: translate(-2px, -3px); box-shadow: var(--shadow-lift); }
.entry .stub { background: var(--thread); }
.entry > div:last-child { padding: var(--s5) var(--s5) var(--s5) 0; min-width: 0; }
.entry h3 { margin-bottom: var(--s3); }
.entry .meta { display: flex; gap: var(--s2); flex-wrap: wrap; align-items: center; }
.entry button { margin-top: var(--s4); }

.statgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); }
.statgrid > div { padding: var(--s4) var(--s4) var(--s4) 0; border-right: 1px dashed var(--line-2); }
.statgrid > div + div { padding-left: var(--s4); }
.statgrid > div:last-child { border-right: 0; }
.statgrid .n { font-family: Fraunces, Georgia, serif; font-size: 40px; font-weight: 600; letter-spacing: -0.02em; display: block; line-height: 1.05; color: var(--ink); }
.statgrid > div:nth-child(4n+1) .n { color: var(--thread); }
.statgrid > div:nth-child(4n+2) .n { color: var(--flag); }
.statgrid > div:nth-child(4n+3) .n { color: var(--open); }
.statgrid > div:nth-child(4n+4) .n { color: var(--gold); }
.statgrid .k { font-size: var(--t-sm); color: var(--ink-2); font-weight: 600; }

table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; padding: 10px var(--s3); border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 700; color: var(--ink); font-size: var(--t-xs); text-transform: uppercase; letter-spacing: .1em; white-space: nowrap; border-bottom: 2px solid var(--ink); background: var(--bg-2); }
tbody tr:nth-child(even) td { background: rgba(239,231,214,.45); }
tbody tr:hover td { background: var(--marigold-dim); }
.scroll-x { overflow-x: auto; border: 1.5px solid var(--ink); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow); }
.scroll-x table { min-width: 560px; }
.scroll-x th, .scroll-x td { padding-left: var(--s4); }
.bar { display: inline-block; height: 12px; border-radius: 1px; background: var(--line-2); vertical-align: middle; min-width: 2px; }
.bar.on { background: var(--thread); }

dl.evidence { display: grid; grid-template-columns: minmax(150px, 210px) 1fr; gap: var(--s2) var(--s5); margin: 0; }
dl.evidence dt { font-weight: 700; color: var(--ink-2); font-size: var(--t-sm); }
dl.evidence dd { margin: 0; font-size: 15px; }

ul.plain { list-style: none; padding: 0; margin: 0; }
ul.plain li { padding: 10px 0; border-bottom: 1px dashed var(--line-2); display: flex; align-items: center; gap: var(--s3); }
ul.plain li:last-child { border-bottom: 0; }
ul.plain li span { flex: 1; min-width: 0; }
.hint { margin: var(--s2) 0 var(--s4); }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); align-items: start; }
.verdict { display: flex; align-items: center; gap: var(--s3); margin: var(--s3) 0 var(--s4); }
.verdict .mark {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none;
  border: 2.5px solid currentColor; font-size: 16px; font-weight: 700; transform: rotate(-6deg);
}
.verdict.yes { color: var(--open); }
.verdict.no { color: var(--flag); }
.verdict h3 { color: var(--ink); }
.fx { display: grid; grid-template-columns: 20px minmax(120px,170px) 1fr; gap: var(--s2) var(--s3); align-items: baseline; font-size: 15px; }
.fx .k { color: var(--ink-2); font-weight: 600; }
.fx .m { font-weight: 700; font-size: 15px; line-height: 1.5; }
.fx .m.same { color: var(--open); }
.fx .m.diff { color: var(--flag); }
.fx .m.na { color: var(--ink-3); }
.fx .v { min-width: 0; overflow-wrap: anywhere; }

.cosine { margin-top: var(--s5); }
.cosine .track { position: relative; height: 34px; margin: 26px 0 24px; border: 1.5px solid var(--ink); border-radius: var(--r); background: var(--surface); }
.cosine .tick { position: absolute; top: -6px; bottom: -6px; width: 3px; }
.cosine .tick i { position: absolute; top: -22px; left: 50%; transform: translateX(-50%); font-size: 12px; font-weight: 700; font-style: normal; font-family: "IBM Plex Mono", monospace; white-space: nowrap; }
.cosine .band { position: absolute; top: 0; bottom: 0; background: repeating-linear-gradient(135deg, rgba(232,169,58,.35) 0 6px, rgba(232,169,58,.12) 6px 12px); border-left: 1px dashed var(--ink-3); border-right: 1px dashed var(--ink-3); }
.cosine .scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-3); font-family: "IBM Plex Mono", monospace; margin-top: 28px; }

.doc {
  background: var(--paper); color: var(--paper-ink);
  border-radius: 2px; border: 1.5px solid var(--ink);
  padding: var(--s6);
  box-shadow: 6px 7px 0 rgba(29,27,24,.14);
  background-image: repeating-linear-gradient(transparent 0 31px, rgba(31,86,115,.07) 31px 32px);
}
.doc label { color: var(--ink-2); }
.doc textarea {
  background: #FFF; color: var(--paper-ink); border-color: var(--paper-rule);
  font-size: 16px; font-family: Fraunces, Georgia, serif; line-height: 1.7;
}
.doc .locked { display: flex; gap: var(--s2); flex-wrap: wrap; margin: var(--s3) 0 var(--s5); }
.doc .locked .chip { background: var(--paper-2); border-color: var(--paper-rule); color: var(--ink-2); }
.doc .small.muted { color: var(--ink-2); }
.doc hr.rule { border-color: var(--paper-rule); }
.promise {
  margin-top: var(--s4); padding: var(--s3) var(--s4); border-radius: var(--r);
  background: var(--open-dim); border-left: 4px solid var(--open); color: var(--ink); font-size: var(--t-sm);
}

.pipe {
  position: relative; border: 2px solid var(--ink); border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: 6px 6px 0 var(--ink);
  overflow: hidden;
}
.pipe canvas { display: block; width: 100%; height: 100%; }
.pipe .layer { position: absolute; inset: 0; pointer-events: none; }
.pipe-head {
  display: flex; justify-content: space-between; align-items: center; gap: var(--s3);
  padding: var(--s3) var(--s4); border-bottom: 2px solid var(--ink); flex-wrap: wrap; background: var(--marigold);
  font-size: var(--t-xs); font-weight: 700; color: var(--ink); letter-spacing: .1em; text-transform: uppercase;
}
.pipe-stage { position: relative; height: 460px; overflow: hidden; }
.pipe-flat {
  position: absolute; inset: 0; display: flex; align-items: center; gap: 0;
  padding: var(--s5) var(--s4); perspective: 1200px; perspective-origin: 50% 45%;
  overflow-x: auto; overflow-y: hidden;
}
.pipe-flat .stack { display: flex; align-items: stretch; min-width: 100%; transform-style: preserve-3d; }
.pipe-node {
  position: relative; flex: 1 1 0; min-width: 132px; text-align: left; cursor: pointer;
  background: var(--surface);
  border: 1.5px solid var(--ink); border-radius: var(--r);
  padding: var(--s4); color: var(--ink); font: inherit;
  transform: rotateY(-16deg) rotateX(6deg); transform-origin: left center;
  box-shadow: 3px 4px 0 var(--ink);
  transition: transform .2s var(--ease-out), border-color .2s var(--ease-out), background .2s var(--ease-out);
}
.pipe-node:hover, .pipe-node[aria-pressed="true"] { border-color: var(--thread); background: var(--thread-dim); }
.pipe-node[aria-pressed="true"] { transform: rotateY(-8deg) rotateX(3deg) translateZ(26px); }
.pipe-node .kindline { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); display: flex; align-items: center; gap: 5px; }
.pipe-node .kindline .glyph { width: 9px; height: 9px; border: 1.5px solid currentColor; flex: none; }
.pipe-node.agent .kindline { color: var(--thread); }
.pipe-node.agent .kindline .glyph { border-radius: 50%; background: var(--thread); }
.pipe-node.code .kindline .glyph { border-radius: 1px; }
.pipe-node .nm { display: block; font-weight: 600; font-size: 15px; margin-top: 6px; letter-spacing: -0.02em; }
.pipe-node .io { margin-top: var(--s3); font-family: "IBM Plex Mono", monospace; font-size: 11px; color: var(--ink-2); line-height: 1.7; }
.pipe-node .io b { color: var(--ink); font-weight: 500; }
.pipe-node .io .drop { color: var(--flag); }
.pipe-edge { flex: 0 0 34px; display: grid; place-items: center; transform: rotateY(-16deg) rotateX(6deg); }
.pipe-edge span { display: block; width: 100%; height: 3px; background: var(--thread); }
.pipe-legend { display: flex; gap: var(--s2); flex-wrap: wrap; padding: var(--s3) var(--s4); border-top: 1.5px solid var(--ink); font-size: var(--t-xs); color: var(--ink-2); }
.pipe-note { padding: var(--s3) var(--s4) var(--s4); font-size: var(--t-sm); color: var(--ink-2); border-top: 1px dashed var(--line-2); }

.pipe-label {
  position: absolute; transform: translate(-50%, -50%); pointer-events: none;
  font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: .02em;
  color: var(--ink); white-space: nowrap; text-shadow: 0 0 6px var(--surface), 0 0 2px var(--surface);
}
.pipe-label b { color: var(--ink); font-weight: 500; }
.pipe-label.drop { color: var(--flag); }
.pipe-label.title { font-family: Fraunces, Georgia, serif; font-size: 13px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }

.decisions { display: flex; flex-wrap: wrap; gap: 5px; margin-top: var(--s3); }
.decisions .d {
  width: 15px; height: 15px; border-radius: 2px; border: 1px solid var(--line-2);
  background: var(--surface-2); position: relative;
}
.decisions .d.cont { background: var(--thread); border-color: var(--thread); border-radius: 50%; }
.decisions .d.miss { background: var(--brick); border-color: var(--ink); }
.node-detail { margin-top: var(--s4); }
.node-detail .panel { min-height: 120px; }

.matrix { display: grid; grid-template-columns: auto 1fr 1fr; gap: 1px; background: var(--ink); border: 1.5px solid var(--ink); box-shadow: var(--shadow); border-radius: var(--r); overflow: hidden; max-width: 460px; }
.matrix > div { background: var(--surface); padding: var(--s3); font-size: var(--t-sm); }
.matrix .hd { color: var(--ink-2); background: var(--bg-2) !important; font-weight: 700; font-size: var(--t-xs); text-transform: uppercase; letter-spacing: .08em; }
.matrix .cell b { display: block; font-family: Fraunces, Georgia, serif; font-size: 32px; font-weight: 600; line-height: 1.1; }
.matrix .cell.good b { color: var(--open); }
.matrix .cell.bad b { color: var(--flag); }

.sweep { margin-top: var(--s4); }
.sweep { max-width: 720px; }
.sweep svg { width: 100%; height: auto; display: block; overflow: visible; }
.sweep .area { fill: url(#sweepGrad); }
.sweep .ln { fill: none; stroke: var(--thread); stroke-width: 2.5; stroke-linejoin: round; }
.sweep .pt { fill: var(--bg); stroke: var(--thread); stroke-width: 2; }
.sweep .pt.peak { fill: var(--marigold); stroke: var(--ink); }
.sweep .ax { stroke: var(--ink); stroke-width: 1.2; }
.sweep text { fill: var(--ink-3); font-size: 10px; font-family: "IBM Plex Mono", monospace; }

details.drivers { margin-top: var(--s2); }
details.drivers summary { cursor: pointer; font-size: var(--t-sm); font-weight: 600; color: var(--thread); }
details.drivers ul { margin: var(--s2) 0 0; padding-left: 18px; }
details.drivers li { font-size: var(--t-sm); color: var(--ink-2); }

.callout {
  position: relative; border-left: 4px solid var(--thread); background: var(--thread-dim);
  padding: var(--s4) var(--s5); border-radius: 0 var(--r) var(--r) 0; margin: var(--s5) 0;
}
.callout.warn { border-left-color: var(--flag); background: var(--brick-dim); }
.callout p:last-child { margin-bottom: 0; }

@media (max-width: 900px) {
  .two-col, .compare { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .wrap { padding: 0 var(--s4); }
  main { padding-top: var(--s5); }
  .panel { padding: var(--s4); }
  .entry > div:last-child { padding: var(--s4) var(--s4) var(--s4) 0; }
  dl.evidence { grid-template-columns: 1fr; gap: 2px var(--s4); }
  dl.evidence dd { margin-bottom: var(--s2); }
  .fx { grid-template-columns: 18px 1fr; }
  .fx .v { grid-column: 2; }
  .pipe-stage { height: 380px; }
  .pipe-flat .stack { min-width: 720px; }
  .appearance { grid-template-columns: 22px 1fr; gap: var(--s3); }
  .appearance .card { padding: var(--s4); }
  .appearance .dot { left: 3px; }
  .appearance .gutter::before { left: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

.pipe-node { display: block; }
.pipe-node .kindline, .pipe-node .io { display: block; }
.decisions .d { padding: 0; display: block; box-shadow: none; }
.decisions .d:hover { transform: scale(1.18); border-color: var(--ink); background: var(--surface-2); }
.decisions .d.cont:hover { background: var(--thread); }
.decisions .d.sel { outline: 3px solid var(--marigold); outline-offset: 2px; }
#run-body tbody tr.on td { background: var(--thread-dim); }
#run-body tbody tr.on td:first-child { box-shadow: inset 2px 0 0 var(--thread); }

.pipe-stage { height: 520px; }

.pipe-gate {
  position: absolute; width: 216px; text-align: center; pointer-events: none; opacity: 0;
  transform-origin: 50% 100%;
  background: var(--surface); border: 1.5px solid var(--ink);
  border-bottom: 4px solid var(--thread); border-radius: var(--r);
  padding: 8px 10px 10px; box-shadow: 3px 4px 0 rgba(29,27,24,.25);
}
.pipe-gate.code { border-bottom-color: var(--marigold); }
.pipe-gate .gn { display: block; font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--thread); }
.pipe-gate.code .gn { color: var(--gold); }
.pipe-gate .nm { display: block; font-family: Fraunces, Georgia, serif; font-size: 20px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.18; color: var(--ink); }
.pipe-gate .kindline { display: block; font-size: 11px; letter-spacing: .02em; color: var(--ink-2); }
.pipe-gate .io { display: block; margin-top: 6px; font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 11px; line-height: 1.55; color: var(--ink-2); }
.pipe-gate .io b { color: var(--ink); font-weight: 500; }
.pipe-gate .drop { color: var(--flag); }
.pipe-gate .keep { color: var(--ink-2); }

.hud { position: absolute; inset: 0; display: flex; justify-content: space-between; align-items: flex-start; padding: var(--s4); gap: var(--s4); }
.hud-col { display: flex; flex-direction: column; gap: 6px; }
.hud-col.right { align-items: flex-end; text-align: right; }
.hud-item {
  background: var(--surface); border: 1.5px solid var(--ink);
  border-left: 5px solid var(--thread); border-radius: var(--r);
  padding: 6px var(--s3) 8px; box-shadow: 3px 3px 0 rgba(29,27,24,.3);
}
.hud-col.right .hud-item { border-left-width: 1.5px; border-left-color: var(--ink); border-right: 5px solid var(--thread); }
.hud-item.flag { border-left-color: var(--brick); }
.hud-item.gold { border-right-color: var(--marigold); }
.hud-item .k { display: block; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.hud-item .v { display: block; font-family: Fraunces, Georgia, serif; font-size: 30px; font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); }
.hud-item.flag .v { color: var(--flag); }
.hud-item.gold .v { color: var(--gold); }

.hud-gate {
  position: absolute; left: 50%; bottom: var(--s4); transform: translateX(-50%);
  display: flex; align-items: center; gap: var(--s3); white-space: nowrap; pointer-events: none;
  background: var(--surface); border: 1.5px solid var(--ink);
  border-radius: 999px; padding: 7px var(--s4) 7px var(--s3); box-shadow: 3px 3px 0 rgba(29,27,24,.3);
}
.hud-gate .pips { display: flex; align-items: center; gap: 6px; }
.hud-gate .pips i {
  width: 11px; height: 11px; border: 2px solid var(--ink-3); border-radius: 50%;
  transition: background .2s var(--ease-out), border-color .2s var(--ease-out), transform .2s var(--ease-out);
}
.hud-gate .pips i.code { border-radius: 2px; }
.hud-gate .pips i.on { background: var(--thread); border-color: var(--thread); transform: scale(1.35); }
.hud-gate .pips i.code.on { background: var(--marigold); border-color: var(--ink); }
.hud-gate .n { font-size: 13px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }

.gate-jump { display: flex; flex-wrap: wrap; gap: 0; border-top: 2px solid var(--ink); }
.gate-jump:empty { display: none; }
.gate-jump .gj {
  flex: 1 1 140px; min-width: 0; display: block; text-align: left; cursor: pointer;
  background: var(--surface); border: 0; border-right: 1px dashed var(--line-2); border-top: 4px solid transparent; color: var(--ink); box-shadow: none;
  font: inherit; padding: var(--s3) var(--s4) var(--s3);
  transition: background .18s var(--ease-out), border-color .18s var(--ease-out);
}
.gate-jump .gj .n { display: block; font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.gate-jump .gj .t { display: block; font-family: Fraunces, Georgia, serif; font-weight: 600; font-size: 17px; color: var(--ink); }
.gate-jump .gj .k { display: block; font-size: 11px; letter-spacing: .04em; color: var(--ink-2); }
.gate-jump .gj:hover { background: var(--bg-2); transform: none; box-shadow: none; }
.gate-jump .gj[aria-pressed="true"] { background: var(--thread-dim); border-top-color: var(--thread); }
.gate-jump .gj.code[aria-pressed="true"] { background: var(--marigold-dim); border-top-color: var(--marigold); }

.pipe-stage.flat { height: auto; }
.pipe-stage.flat .pipe-flat { position: static; overflow-y: hidden; padding: var(--s6) var(--s4); }
.pipe-flat { justify-content: center; }
.pipe-flat .stack { min-width: 0; width: 100%; transform: rotateY(-13deg) rotateX(7deg) scale(.94); transform-origin: 50% 50%; }
.pipe-flat .pipe-node { transform: none; }
.pipe-flat .pipe-node[aria-pressed="true"] { transform: translateZ(30px); }
.pipe-flat .pipe-edge { transform: none; }

.pipe-stage { height: 560px; }
.pipe-stage canvas { position: relative; z-index: 0; }
.pipe-stage.gl::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(125% 92% at 50% 46%, transparent 55%, rgba(246,241,231,.55) 100%);
}
.pipe .layer { z-index: 2; }

.cosine .tick.below i { top: auto; bottom: -22px; }
.watch-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: var(--s4); margin-top: var(--s5); }
.watch-steps .step { border: 1.5px solid var(--ink); border-radius: var(--r-lg); padding: var(--s5) var(--s4) var(--s4); background: var(--surface); box-shadow: var(--shadow); position: relative; }
.watch-steps .step .n { display: inline-block; font-family: Fraunces, Georgia, serif; font-size: 15px; font-weight: 700; color: var(--ink); background: var(--marigold); border: 1.5px solid var(--ink); border-radius: 999px; padding: 0 10px; margin-bottom: 8px; }
.watch-steps .step h4 { margin-bottom: 4px; }

@media (max-width: 1000px) {
  .pipe-stage { height: 480px; }
  .hud-item .v { font-size: 21px; }
  .hud-gate .n { font-size: 19px; }
  .pipe-gate { width: 188px; }
}

@media (max-width: 760px) {
  .pipe-stage { height: auto; min-height: 0; }
  .pipe-flat { position: static; overflow: visible; padding: var(--s4); perspective: 1000px; }
  .pipe-flat .stack { flex-direction: column; min-width: 0; width: 100%; transform: rotateY(-4deg) rotateX(5deg); }
  .pipe-flat .pipe-node { transform: none; min-width: 0; }
  .pipe-flat .pipe-node[aria-pressed="true"] { transform: translateZ(24px); }
  .pipe-edge { flex: 0 0 22px; height: 22px; }
  .pipe-edge span { width: 2px; height: 100%; margin: 0 auto; background: linear-gradient(180deg, var(--thread), var(--thread-2)); }
}

.noscript-note { margin-top: var(--s6); }
.noscript-note p {
  border: 1.5px solid var(--ink); border-left: 5px solid var(--thread); border-radius: var(--r);
  background: var(--surface); padding: var(--s4); margin: 0; font-size: var(--t-sm);
}

.block-gap { margin-top: var(--s8); }

.chip .dotmark.square { border-radius: 1px; }

.cw h3 { max-width: 34ch; }
.cw button.mini { margin-top: var(--s4); }

.refusal .verdict { margin-top: 0; }
.refusal p { max-width: 74ch; }
.cos-flip {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: var(--s4);
  align-items: center; margin: var(--s5) 0;
}
.cos-flip > div { border: 1.5px solid var(--ink); border-radius: var(--r-lg); background: var(--surface); padding: var(--s4); box-shadow: var(--shadow); }
.cos-flip > div.op {
  border: 0; background: none; padding: 0; text-align: center; box-shadow: none;
  font-family: Fraunces, Georgia, serif; font-size: 34px; color: var(--ink-3); font-weight: 600;
}
.cos-flip .k { display: block; font-size: var(--t-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-2); }
.cos-flip .n {
  display: block; margin-top: var(--s2);
  font-family: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  font-size: var(--t-2xl); line-height: 1.1; letter-spacing: -0.03em; color: var(--flag);
}
.cos-flip > div:last-child .n { color: var(--thread); }
.cos-flip .t { display: block; margin-top: var(--s2); font-size: var(--t-sm); color: var(--ink-2); }

.arc-group + .arc-group { margin-top: var(--s7); }
.arc-group h3 { display: flex; align-items: baseline; gap: var(--s2); font-size: 24px; }
.arc-group h3 .dim { font-family: "IBM Plex Mono", ui-monospace, Menlo, monospace; font-size: var(--t-sm); }
.arc-group > p { margin: var(--s2) 0 var(--s4); }
.arc-list { border-top: 2px solid var(--ink); }
.arc-row {
  display: grid; grid-template-columns: 1fr auto; gap: var(--s4);
  align-items: start; padding: var(--s4) var(--s4) var(--s4) var(--s3);
  border-bottom: 1px dashed var(--line-2);
  border-left: 4px solid transparent;
  transition: background .18s var(--ease-out);
}
.arc-row:hover { background: rgba(255,252,245,.8); }
.arc-row.live { border-left-color: var(--open); background: var(--open-dim); }
.arc-row h4 { max-width: 52ch; font-size: 18px; }
.arc-row p { max-width: 78ch; }
.arc-side { padding-top: var(--s5); }

.entry.live .stub { background: var(--open); }

@media (max-width: 700px) {
  .cd { grid-template-columns: 1fr; box-shadow: 4px 4px 0 var(--ink); }
  .cd-k, .cd-n { border-right: 0; }
  .cd-k { grid-row: 1; }
  .cd-n { grid-row: 2; flex-direction: row; align-items: baseline; gap: var(--s3); border-bottom: 2px solid var(--ink); border-radius: 0; }
  .cd-meta { grid-column: 1; grid-row: 3; padding: var(--s4) var(--s4) var(--s2); font-size: 19px; }
  .cd-note { grid-column: 1; grid-row: 4; padding: 0 var(--s4) var(--s4); }
  .cd .stamp { right: 10px; top: -30px; }
  .cos-flip { grid-template-columns: 1fr; }
  .cos-flip > div.op { transform: rotate(90deg); }
  .arc-row { grid-template-columns: 1fr; }
  .arc-side { padding-top: 0; }
}

.mail {
  position: relative; max-width: 64ch; background: var(--surface);
  border: 1.5px solid var(--ink); border-radius: 2px; box-shadow: 6px 7px 0 rgba(29,27,24,.14);
}
.mail::before {
  content: ""; display: block; height: 8px;
  background: repeating-linear-gradient(135deg, var(--brick) 0 14px, var(--surface) 14px 22px, var(--thread) 22px 36px, var(--surface) 36px 44px);
  border-bottom: 1.5px solid var(--ink);
}
.mail-head { padding: 14px 22px; border-bottom: 1px dashed var(--line-2); font-size: 15px; line-height: 1.75; color: var(--ink-2); }
.mail-head b { font-weight: 700; color: var(--ink); display: inline-block; min-width: 3.2em; }
.mail-body { padding: 22px; font-size: 16px; line-height: 1.7; white-space: pre-wrap; }
.mail-sub { display: block; font-family: Fraunces, Georgia, serif; font-size: 22px; line-height: 1.25; font-weight: 600; margin: 0 0 12px; }
@media (max-width: 700px) { .mail-body { font-size: 15px; padding: 18px; } .mail-head { padding: 12px 18px; } }
.hero .eyebrow .id { font-size: 13px; letter-spacing: .02em; }
.hero .eyebrow .chip { letter-spacing: .08em; font-size: 11px; }
.stage .rail.draw { stroke-dasharray: 1 1; animation: thread-draw 1.4s .15s cubic-bezier(.45,.05,.3,1) backwards; }
.stage .pop { animation: pop .38s var(--ease-out) backwards; }
@keyframes thread-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; } }
#live-invoke + #run-body { margin-top: var(--s6); }
#live-invoke .panel { box-shadow: 6px 6px 0 var(--marigold); border-width: 2px; }

q { font-family: Fraunces, Georgia, serif; font-style: italic; color: var(--ink); background: linear-gradient(transparent 62%, var(--marigold-dim) 62%); padding: 0 .1em; }

@supports (animation-timeline: view()) {
  .rv { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 35%; }
}
@keyframes reveal { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }

@media (prefers-reduced-motion: reduce) {
  .rv { animation: none !important; }
  .backdrop .grid, .hl, h1 em, .stamp.thud { animation: none !important; }
}

.pipe-node .kindline .glyph { display: inline-block; vertical-align: -1px; margin-right: 6px; }
.pipe-node .nm { font-family: Fraunces, Georgia, serif; font-size: 18px; }

@media (max-width: 700px) {
  nav { -webkit-mask-image: linear-gradient(90deg, #000 80%, transparent); mask-image: linear-gradient(90deg, #000 80%, transparent); padding-right: var(--s5); }
  .topbar { gap: var(--s3); }
  .brand { font-size: 21px; }
  .statgrid { grid-template-columns: 1fr 1fr; }
  .statgrid > div, .statgrid > div + div { padding: var(--s3); border-right: 0; border-bottom: 1px dashed var(--line-2); }
  .statgrid > div:nth-child(odd) { border-right: 1px dashed var(--line-2); }
  .statgrid .n { font-size: 32px; }
  .section-head h2 + p { font-size: 17px; }
  .whatis { font-size: 18px; }
  .doc { padding: var(--s4); }
  .pipe { box-shadow: 4px 4px 0 var(--ink); }
  .hud-item .v { font-size: 22px; }
}
select {
  -webkit-appearance: none; appearance: none; padding-right: 40px; text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231D1B18' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
select:hover { transform: none; box-shadow: 2px 2px 0 var(--ink); }
