/* ==========================================================================
   TECHSIDERMY LAB — site stylesheet
   Clinical white, low contrast, circuit-board geometry (90° traces, square pads)
   ========================================================================== */

:root {
  --paper:   #F7F7F5;   /* page */
  --panel:   #FCFCFB;   /* raised panels */
  --well:    #F1F1EE;   /* recessed areas */
  --ink:     #161616;
  --ink-2:   #55554F;   /* secondary text */
  --ink-3:   #8C8C85;   /* labels */
  --rule:    #DEDED9;   /* hairlines */
  --trace:   #C8C8C1;   /* circuit traces */
  --accent:  #E4531B;   /* signal orange: used sparingly */
  --ok:      #3F6B52;

  --f-display: 'IBM Plex Sans Condensed', 'Arial Narrow', sans-serif;
  --f-mono:    'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --f-type:    'Courier Prime', 'Courier New', monospace;

  --max: 1240px;
  --gut: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.2,.7,.1,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 15px/1.6 var(--f-mono);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--accent); color: #fff; }

/* faint dot grid, like the plates */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background-image: radial-gradient(circle, rgba(22,22,22,.07) .8px, transparent 1.1px);
  background-size: 24px 24px;
}

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }

/* ---------- type ---------- */
.label   { font: 400 11px/1.2 var(--f-mono); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); }
.label--accent { color: var(--accent); }
.display { font: 600 clamp(44px, 8.4vw, 116px)/.92 var(--f-display); letter-spacing: .005em; text-transform: uppercase; margin: 0; }
.h2      { font: 600 clamp(30px, 4.6vw, 56px)/.98 var(--f-display); text-transform: uppercase; margin: 0; letter-spacing: .01em; }
.h3      { font: 600 22px/1.1 var(--f-display); text-transform: uppercase; margin: 0; letter-spacing: .03em; }
.lede    { font: 400 clamp(16px, 1.6vw, 19px)/1.65 var(--f-mono); color: var(--ink-2); max-width: 62ch; margin: 0; }
.note    { font: italic 400 20px/1.45 var(--f-type); color: var(--ink); }
.dot     { color: var(--accent); }
.mono-sm { font: 400 12.5px/1.6 var(--f-mono); color: var(--ink-2); }

/* ---------- wordmark ---------- */
.wordmark { display: inline-flex; align-items: flex-end; gap: 0; }
.wordmark b { font: 600 22px/.85 var(--f-display); letter-spacing: .34em; }
.wordmark i { font: 700 7px/1 var(--f-type); font-style: normal; letter-spacing: .14em; margin-left: -.3em; }

/* ---------- header: nav as pins on a trace ---------- */
.site-head { position: sticky; top: 0; z-index: 40; background: rgba(247,247,245,.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.bus { position: relative; display: flex; align-items: center; gap: clamp(18px, 3vw, 44px); }
.bus::before { /* the trace the pins sit on */
  content: ""; position: absolute; left: -18px; right: -18px; top: 50%; height: 1px; background: var(--trace); z-index: -1;
}
.pin { position: relative; display: inline-flex; align-items: center; gap: 9px; padding: 6px 10px 6px 6px; background: var(--paper);
  font: 400 11.5px/1 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); transition: color .25s; }
.pin::before { content: ""; width: 9px; height: 9px; border: 1.5px solid var(--ink-3); background: var(--paper); transition: all .25s var(--ease); }
.pin:hover { color: var(--ink); }
.pin:hover::before { border-color: var(--ink); }
.pin[aria-current="page"] { color: var(--ink); }
.pin[aria-current="page"]::before { background: var(--accent); border-color: var(--ink); }
.pin--cta { color: var(--ink); }
.head-rule { height: 1px; background: var(--rule); }

/* route trace: draws across the top on page change */
.route-trace { position: fixed; left: 0; top: 0; height: 2px; width: 0; background: var(--accent); z-index: 100; transition: width .45s var(--ease); }
.route-trace.go { width: 100%; }

/* mobile nav */
.menu-btn { display: none; }
@media (max-width: 820px) {
  .site-head .wrap { height: 64px; }
  .menu-btn { display: inline-flex; align-items: center; gap: 8px; font: 400 11px/1 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; }
  .menu-btn::before { content: ""; width: 9px; height: 9px; border: 1.5px solid var(--ink); }
  .bus { position: fixed; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper);
    border-bottom: 1px solid var(--rule); padding: 8px var(--gut) 20px; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: all .25s var(--ease); }
  .bus::before { left: calc(var(--gut) + 10px); right: auto; top: 14px; bottom: 26px; width: 1px; height: auto; }
  .bus.open { transform: none; opacity: 1; pointer-events: auto; }
  .pin { padding: 14px 0 14px 6px; font-size: 13px; }
}

/* ---------- sections + circuit spine ---------- */
.section { position: relative; padding: clamp(64px, 10vw, 128px) 0; }
.section + .section { border-top: 1px solid var(--rule); }
.sec-head { display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: start; margin-bottom: clamp(32px, 5vw, 56px); }
.sec-num { position: relative; font: 400 12px/1 var(--f-mono); letter-spacing: .2em; color: var(--accent); padding-top: 10px; }
.sec-num::after { content: ""; position: absolute; left: 0; top: 30px; width: 56px; height: 1px; background: var(--trace); }
@media (max-width: 720px) { .sec-head { grid-template-columns: 1fr; gap: 14px; } .sec-num::after { display: none; } }

/* corner brackets (inspection lock) */
.brackets { position: relative; }
.brackets > .br { position: absolute; width: 18px; height: 18px; border-color: var(--ink); border-style: solid; border-width: 0; pointer-events: none; }
.br.tl { left: 0; top: 0; border-left-width: 1.5px; border-top-width: 1.5px; }
.br.tr { right: 0; top: 0; border-right-width: 1.5px; border-top-width: 1.5px; }
.br.bl { left: 0; bottom: 0; border-left-width: 1.5px; border-bottom-width: 1.5px; }
.br.bnr { right: 0; bottom: 0; border-right-width: 1.5px; border-bottom-width: 1.5px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 14px; height: 52px; padding: 0 22px 0 18px; border: 1.5px solid var(--ink);
  font: 400 12px/1 var(--f-mono); letter-spacing: .22em; text-transform: uppercase; background: var(--ink); color: var(--paper); transition: all .25s var(--ease); }
.btn::before { content: ""; width: 9px; height: 9px; background: var(--accent); }
.btn:hover { background: var(--paper); color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost::before { background: transparent; border: 1.5px solid var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn[disabled] { opacity: .35; pointer-events: none; }

/* ---------- home hero ---------- */
.hero { padding: clamp(48px, 9vw, 120px) 0 clamp(56px, 8vw, 104px); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); gap: clamp(32px, 5vw, 72px); align-items: end; }
.hero .label { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 30px; }
.hero .label::before { content: ""; width: 10px; height: 10px; background: var(--accent); }
.hero .lede { margin-top: 32px; }
.hero-grid .display { font-size: clamp(44px, 6.6vw, 100px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.hero-fig { position: relative; padding: 22px; }
.hero-fig img { width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.10)); }
.hero-fig .tag { position: absolute; right: 22px; bottom: -6px; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero-fig { max-width: 520px; } }

/* tag: small record label */
.tag { display: inline-flex; gap: 16px; padding: 9px 12px; background: var(--panel); border: 1px solid var(--rule);
  font: 400 11px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.tag b { font-weight: 400; color: var(--accent); }

/* ---------- three-up circuit index (home) ---------- */
.index-board { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--rule); background: var(--panel); }
.index-cell { position: relative; padding: 36px 32px 34px; min-height: 300px; display: flex; flex-direction: column; gap: 18px; border-right: 1px solid var(--rule); transition: background .3s; }
.index-cell:last-child { border-right: 0; }
.index-cell:hover { background: #fff; }
.index-cell .pad { position: absolute; top: -6px; left: 32px; width: 11px; height: 11px; background: var(--paper); border: 1.5px solid var(--ink); }
.index-cell:hover .pad { background: var(--accent); }
.index-cell .go { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; font: 400 11px/1 var(--f-mono); letter-spacing: .22em; text-transform: uppercase; }
.index-cell .go::after { content: ""; width: 34px; height: 1px; background: var(--ink); transition: width .3s var(--ease); }
.index-cell:hover .go::after { width: 64px; }
@media (max-width: 900px) { .index-board { grid-template-columns: 1fr; } .index-cell { border-right: 0; border-bottom: 1px solid var(--rule); min-height: 0; } }

/* ---------- manifesto ---------- */
.manifesto { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); }
.manifesto p { margin: 0 0 22px; color: var(--ink-2); font-size: 15.5px; line-height: 1.75; max-width: 54ch; }
.manifesto .pull { font: 600 clamp(28px, 3.6vw, 44px)/1.04 var(--f-display); text-transform: uppercase; color: var(--ink); max-width: 18ch; }
@media (max-width: 860px) { .manifesto { grid-template-columns: 1fr; } }

/* timeline: biological -> technological */
.lineage { margin-top: 64px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); }
.lineage div { position: relative; padding: 22px 20px 0 0; }
.lineage div::before { content: ""; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; background: var(--paper); border: 1.5px solid var(--ink); }
.lineage div:last-child::before { background: var(--accent); }
.lineage .yr { font: 600 26px/1 var(--f-display); letter-spacing: .02em; }
.lineage .mono-sm { margin-top: 8px; }
@media (max-width: 760px) { .lineage { grid-template-columns: 1fr 1fr; row-gap: 32px; } }

/* ---------- wall feature ---------- */
.feature { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.feature figure { margin: 0; }
.feature figcaption { margin-top: 14px; }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; } }

/* ---------- archive ---------- */
.archive-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); margin-bottom: 40px; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border: 1px solid var(--rule); background: var(--panel);
  font: 400 11px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); transition: all .2s; }
.chip::before { content: ""; width: 7px; height: 7px; border: 1.25px solid currentColor; }
.chip[aria-pressed="true"] { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"]::before { background: var(--accent); border-color: var(--ink); }
.count { font: 400 11px/1 var(--f-mono); letter-spacing: .18em; color: var(--ink-3); text-transform: uppercase; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px)  { .grid { grid-template-columns: 1fr; } }

.card { position: relative; display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--rule); text-align: left; transition: border-color .25s, transform .35s var(--ease), box-shadow .35s; }
.card:hover { border-color: var(--ink); transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(0,0,0,.25); }
.card .media { position: relative; aspect-ratio: 4/5; background: var(--well); display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid var(--rule); }
.card .media img { width: 72%; height: 82%; object-fit: contain; filter: drop-shadow(0 18px 22px rgba(0,0,0,.14)); transition: transform .6s var(--ease); }
.card .media img.full { width: 100%; height: 100%; object-fit: cover; filter: none; }
.card:hover .media img { transform: scale(1.03); }
.card .num { position: absolute; left: 14px; top: 12px; font: 400 11px/1 var(--f-mono); letter-spacing: .18em; color: var(--accent); }
.card .ghost-num { position: absolute; right: 10px; bottom: -8px; font: 600 120px/.8 var(--f-display); color: transparent; -webkit-text-stroke: 1px rgba(22,22,22,.07); pointer-events: none; }
.card .body { padding: 18px 18px 20px; display: grid; gap: 10px; }
.card .row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card .name { font: 600 21px/1.05 var(--f-display); text-transform: uppercase; letter-spacing: .02em; }
.card .meta { font: 400 11.5px/1.4 var(--f-mono); color: var(--ink-3); letter-spacing: .1em; text-transform: uppercase; }
.card .price { font: 500 13px/1 var(--f-mono); letter-spacing: .06em; white-space: nowrap; }

.status { display: inline-flex; align-items: center; gap: 7px; font: 400 10.5px/1 var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); }
.status::before { content: ""; width: 7px; height: 7px; background: var(--ink-3); }
.status[data-s="available"]::before { background: var(--accent); }
.status[data-s="reserve"]::before  { background: transparent; border: 1.5px solid var(--accent); }
.status[data-s="dissection"]::before { background: var(--ink); }
.status[data-s="transit"]::before { background: transparent; border: 1.5px dashed var(--ink-2); }

/* schematic placeholder for specimens with no image yet */
.schematic { width: 70%; aspect-ratio: 3/4; border: 1px dashed var(--trace); position: relative; display: grid; place-items: center; }
.schematic::before, .schematic::after { content: ""; position: absolute; background: var(--trace); }
.schematic::before { left: 50%; top: 18%; bottom: 18%; width: 1px; }
.schematic::after  { top: 50%; left: 18%; right: 18%; height: 1px; }

/* ---------- connector overlay + dialog (popups) ---------- */
.wire { position: fixed; inset: 0; pointer-events: none; z-index: 60; }
.wire path { fill: none; stroke: var(--ink); stroke-width: 1.25; }
.wire rect { fill: var(--accent); stroke: var(--ink); stroke-width: 1.25; }

.scrim { position: fixed; inset: 0; background: rgba(247,247,245,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); z-index: 55; opacity: 0; pointer-events: none; transition: opacity .3s; }
.scrim.on { opacity: 1; pointer-events: auto; }

.dialog { position: fixed; top: 0; right: 0; bottom: 0; width: min(980px, 100%); background: var(--panel); border-left: 1px solid var(--ink);
  z-index: 70; transform: translateX(102%); transition: transform .5s var(--ease); overflow-y: auto; overscroll-behavior: contain; }
.dialog.on { transform: none; }
.dialog .d-head { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: 18px 28px; background: rgba(252,252,251,.94); border-bottom: 1px solid var(--rule); }
.close { display: inline-flex; align-items: center; gap: 10px; font: 400 11px/1 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; }
.close::before { content: "×"; font-size: 18px; line-height: 0; }
.d-body { display: grid; grid-template-columns: 1.05fr .95fr; gap: 0; }
.d-media { background: var(--well); border-right: 1px solid var(--rule); padding: 28px; display: grid; gap: 16px; align-content: start; }
.d-media .stage { position: relative; aspect-ratio: 4/5; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--rule); overflow: hidden; }
.d-media .stage img { max-width: 78%; max-height: 86%; object-fit: contain; filter: drop-shadow(0 22px 28px rgba(0,0,0,.14)); }
.d-media .stage img.full { max-width: 100%; max-height: 100%; width: 100%; height: 100%; object-fit: cover; filter: none; }
.thumbs { display: flex; gap: 8px; }
.thumbs button { width: 64px; height: 76px; border: 1px solid var(--rule); background: var(--paper); display: grid; place-items: center; overflow: hidden; }
.thumbs button[aria-current="true"] { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.d-info { padding: 32px 32px 48px; display: grid; gap: 26px; align-content: start; }
.record { border: 1px solid var(--ink); }
.record header { display: flex; justify-content: space-between; padding: 10px 14px; border-bottom: 1px solid var(--ink); }
.record dl { margin: 0; padding: 12px 14px; display: grid; grid-template-columns: 110px 1fr; row-gap: 9px; }
.record dt { font: 400 10.5px/1.5 var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.record dd { margin: 0; font: 400 13.5px/1.5 var(--f-mono); }
.parts { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 24px; }
.parts li { display: flex; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--rule); font: 400 12px/1.4 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; break-inside: avoid; }
.parts li b { font-weight: 400; color: var(--accent); }
.buy { display: grid; gap: 12px; padding-top: 6px; }
.buy .price-lg { font: 600 40px/1 var(--f-display); letter-spacing: .01em; }
@media (max-width: 860px) {
  .d-body { grid-template-columns: 1fr; }
  .d-media { border-right: 0; border-bottom: 1px solid var(--rule); }
  .parts { columns: 1; }
}

/* ---------- submissions: process board ---------- */
.price-strip { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(20px, 4vw, 56px); align-items: center; padding: 28px 32px; border: 1px solid var(--ink); background: var(--panel); }
.price-strip .big { font: 600 clamp(48px, 6vw, 72px)/.9 var(--f-display); }
.price-strip .from { display: block; margin-bottom: 6px; font: 400 11px/1 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }
.price-strip s { color: var(--ink-3); font: 400 13px/1 var(--f-mono); letter-spacing: .08em; }
.price-strip ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 28px; }
.price-strip li { font: 400 12.5px/1.5 var(--f-mono); color: var(--ink-2); display: flex; gap: 10px; }
.price-strip li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: 6px; border: 1.25px solid var(--ink); }
.tiers { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); margin-top: 4px; }
.tier { padding: 18px 16px 2px 0; display: grid; gap: 6px; }
.tier + .tier { border-left: 1px solid var(--rule); padding-left: 16px; }
.tier .tz { font: 600 26px/1 var(--f-display); }
.tier .tf { font: 400 11px/1.3 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.tier .tp { font: 400 15px/1.2 var(--f-mono); color: var(--ink); }
.tier .tp s { margin-left: 8px; }
.tier .tsh { font: 400 10.5px/1.3 var(--f-mono); letter-spacing: .08em; color: var(--ink-3); }
@media (max-width: 900px) { .price-strip { grid-template-columns: 1fr; } .price-strip ul { grid-template-columns: 1fr; } .tiers { grid-template-columns: 1fr 1fr; } .tier:nth-child(3) { border-left: 0; padding-left: 0; } }
.size-pick { margin-top: 4px; padding: 18px; border: 1px solid var(--rule); background: var(--paper); display: grid; gap: 12px; }
.size-sug { margin: 0; font: 400 13.5px/1.5 var(--f-mono); color: var(--ink); }
.size-sug b { color: var(--accent); font-weight: 400; }
.choices.choices--size { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choices--size label { height: auto; padding: 10px 14px; flex-direction: row; gap: 10px; }
.choices--size label b { font: 600 15px/1 var(--f-display); letter-spacing: .04em; color: var(--ink); }
.choices--size label span { font-size: 10.5px; letter-spacing: .1em; }
.choices--size label.sug { border-style: dashed; border-color: var(--ink-3); }
.size-pick .hint.warn { color: var(--ink); border-left: 2px solid var(--accent); padding-left: 10px; }

.process { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; margin-top: 56px; }
.process::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 1px; background: var(--ink); }
.process .fill { position: absolute; left: 0; top: 22px; height: 3px; width: 0; background: var(--accent); transition: width .6s var(--ease); }
.step { position: relative; text-align: left; padding: 0 16px 0 0; display: grid; gap: 12px; align-content: start; }
.step .node { width: 47px; height: 47px; display: grid; place-items: center; background: var(--paper); border: 1.5px solid var(--ink); font: 400 12px/1 var(--f-mono); color: var(--ink); transition: all .25s var(--ease); position: relative; z-index: 1; }
.step:hover .node, .step[aria-expanded="true"] .node { background: var(--ink); color: var(--paper); }
.step[aria-expanded="true"] .node { box-shadow: 0 0 0 4px var(--paper), 0 0 0 5.5px var(--accent); }
.step .t { font: 600 18px/1.1 var(--f-display); text-transform: uppercase; letter-spacing: .03em; }
.step .d { font: 400 12px/1.55 var(--f-mono); color: var(--ink-3); }
.step-detail { margin-top: 36px; border: 1px solid var(--rule); background: var(--panel); display: grid; grid-template-columns: 200px 1fr; min-height: 180px; }
.step-detail .sd-num { border-right: 1px solid var(--rule); padding: 26px; font: 600 88px/.8 var(--f-display); color: transparent; -webkit-text-stroke: 1.25px var(--trace); }
.step-detail .sd-body { padding: 26px 30px; display: grid; gap: 12px; align-content: start; }
.step-detail .sd-body p { margin: 0; color: var(--ink-2); max-width: 70ch; }
@media (max-width: 900px) {
  .process { grid-template-columns: 1fr; gap: 22px; }
  .process::before { left: 23px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .process .fill { display: none; }
  .step { grid-template-columns: 47px 1fr; column-gap: 18px; align-items: center; padding: 0; }
  .step .d { grid-column: 2; }
  .step-detail { grid-template-columns: 1fr; }
  .step-detail .sd-num { border-right: 0; border-bottom: 1px solid var(--rule); font-size: 56px; padding: 18px 22px; }
}

/* ---------- submission form ---------- */
.form-shell { display: grid; grid-template-columns: 280px 1fr; border: 1px solid var(--ink); background: var(--panel); }
.form-rail { border-right: 1px solid var(--rule); padding: 28px; position: relative; }
.form-rail ol { list-style: none; margin: 24px 0 0; padding: 0; position: relative; }
.form-rail ol::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1px; background: var(--trace); }
.form-rail li { position: relative; display: flex; gap: 16px; align-items: center; padding: 11px 0; font: 400 11.5px/1 var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.form-rail li::before { content: ""; position: relative; z-index: 1; width: 11px; height: 11px; flex: none; background: var(--panel); border: 1.5px solid var(--ink-3); transition: all .25s; }
.form-rail li.on { color: var(--ink); }
.form-rail li.on::before { border-color: var(--ink); background: var(--accent); }
.form-rail li.done { color: var(--ink-2); }
.form-rail li.done::before { border-color: var(--ink); background: var(--ink); }
.form-main { padding: clamp(24px, 4vw, 44px); min-height: 560px; display: flex; flex-direction: column; }
.panel-step { display: none; animation: rise .45s var(--ease); }
.panel-step.on { display: grid; gap: 24px; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 22px; }
.fields .full { grid-column: 1 / -1; }
.field { display: grid; gap: 8px; }
.field label, .field .lab { font: 400 10.5px/1.2 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.field input, .field select, .field textarea {
  width: 100%; font: 400 15px/1.4 var(--f-mono); color: var(--ink); background: var(--paper);
  border: 0; border-bottom: 1px solid var(--trace); padding: 12px 2px; border-radius: 0; outline: none; transition: border-color .2s, background .2s;
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 14px) 52%, calc(100% - 9px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 28px; }
.field textarea { min-height: 120px; resize: vertical; }
.field textarea.note-in { font: italic 400 19px/1.45 var(--f-type); }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--ink); background: #fff; }
.field .hint { font: 400 11.5px/1.5 var(--f-mono); color: var(--ink-3); }
.choices { position: relative; display: flex; flex-wrap: wrap; gap: 8px; }
.choices input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.choices label { display: inline-flex; align-items: center; gap: 9px; height: 40px; padding: 0 14px; border: 1px solid var(--rule); background: var(--paper); cursor: pointer;
  font: 400 11.5px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); transition: all .2s; }
.choices label::before { content: ""; width: 8px; height: 8px; border: 1.25px solid currentColor; }
.choices input:checked + label { border-color: var(--ink); color: var(--ink); }
.choices input:checked + label::before { background: var(--accent); border-color: var(--ink); }
.choices input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.check { display: grid; grid-template-columns: 18px 1fr; gap: 14px; align-items: start; font: 400 13px/1.55 var(--f-mono); color: var(--ink-2); cursor: pointer; }
.check input { -webkit-appearance: none; appearance: none; width: 16px; height: 16px; margin: 2px 0 0; border: 1.5px solid var(--ink); background: var(--paper); cursor: pointer; }
.check input:checked { background: var(--accent); box-shadow: inset 0 0 0 2.5px var(--paper); }
.form-nav { margin-top: auto; padding-top: 32px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.err { color: var(--accent); font: 400 12px/1.4 var(--f-mono); min-height: 1.4em; }
.preview-tag { border: 1px solid var(--ink); background: var(--paper); }
.preview-tag header { display: flex; justify-content: space-between; padding: 10px 14px; border-bottom: 1px solid var(--ink); }
.preview-tag dl { margin: 0; padding: 14px; display: grid; grid-template-columns: 120px 1fr; row-gap: 9px; }
.preview-tag dt { font: 400 10.5px/1.5 var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.preview-tag dd { margin: 0; font: 400 13.5px/1.5 var(--f-mono); word-break: break-word; }
.preview-tag .pnote { border-top: 1px solid var(--rule); padding: 16px 14px; }
.done-state { display: none; text-align: left; gap: 22px; }
.done-state.on { display: grid; animation: rise .5s var(--ease); }
@media (max-width: 860px) {
  .form-shell { grid-template-columns: 1fr; }
  .form-rail { border-right: 0; border-bottom: 1px solid var(--rule); padding: 18px 22px; }
  .form-rail ol { display: flex; gap: 0; justify-content: space-between; margin-top: 14px; }
  .form-rail ol::before { left: 6px; right: 6px; top: 50%; bottom: auto; width: auto; height: 1px; }
  .form-rail li { padding: 0; } .form-rail li span { display: none; }
  .fields { grid-template-columns: 1fr; }
}

/* ---------- FAQ (protocols) ---------- */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 56px 1fr 24px; align-items: center; gap: 12px; padding: 22px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .k { font: 400 11px/1 var(--f-mono); letter-spacing: .18em; color: var(--accent); }
.faq summary .q { font: 600 20px/1.15 var(--f-display); text-transform: uppercase; letter-spacing: .02em; }
.faq summary .x { width: 11px; height: 11px; border: 1.5px solid var(--ink); justify-self: end; transition: background .2s; }
.faq details[open] summary .x { background: var(--accent); }
.faq .a { padding: 0 0 24px 68px; color: var(--ink-2); max-width: 78ch; font-size: 14px; line-height: 1.7; }
@media (max-width: 620px) { .faq .a { padding-left: 0; } .faq summary { grid-template-columns: 40px 1fr 18px; } }

/* ---------- practice page ---------- */
.essay { max-width: 760px; }
.essay p { font: 400 16px/1.85 var(--f-mono); color: var(--ink-2); margin: 0 0 26px; }
.essay p.first::first-letter { font: 600 64px/.8 var(--f-display); float: left; margin: 6px 12px 0 0; color: var(--ink); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.pillars > div { padding: 28px 28px 8px 0; display: grid; gap: 12px; align-content: start; position: relative; }
.pillars > div::before { content: ""; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; background: var(--paper); border: 1.5px solid var(--ink); }
@media (max-width: 820px) { .pillars { grid-template-columns: 1fr; } .pillars > div { padding-right: 0; } }
.exhibit { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--ink); background: var(--panel); }
.exhibit > div { padding: clamp(24px, 4vw, 48px); }
.exhibit > div + div { border-left: 1px solid var(--rule); }
@media (max-width: 820px) { .exhibit { grid-template-columns: 1fr; } .exhibit > div + div { border-left: 0; border-top: 1px solid var(--rule); } }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--ink); margin-top: 0; padding: 48px 0 40px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid h4 { margin: 0 0 14px; font: 400 10.5px/1 var(--f-mono); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); }
.foot-grid a, .foot-grid p { display: block; margin: 0 0 8px; font: 400 13px/1.5 var(--f-mono); color: var(--ink-2); }
.foot-grid a:hover { color: var(--ink); }
.foot-base { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); } .foot-grid > div:first-child { grid-column: 1 / -1; } }

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; } * { transition: none !important; animation: none !important; } }

/* utilities */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; } .mt-4 { margin-top: 64px; }
.row-between { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* file input */
.field input[type="file"] { padding: 14px; border: 1px dashed var(--trace); background: var(--paper); font-size: 12.5px; color: var(--ink-2); cursor: pointer; }
.field input[type="file"]::file-selector-button { font: 400 11px/1 var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--ink);
  background: var(--panel); border: 1px solid var(--ink); padding: 10px 14px; margin-right: 14px; cursor: pointer; }

/* ==========================================================================
   v2 additions
   ========================================================================== */

/* hero buttons stay side by side on phones */
@media (max-width: 620px) {
  .hero-actions { flex-wrap: nowrap; gap: 8px; }
  .hero-actions .btn { flex: 1 1 0; justify-content: center; height: 48px; padding: 0 10px; gap: 9px; font-size: 10px; letter-spacing: .14em; white-space: nowrap; }
  .hero-actions .btn::before { width: 7px; height: 7px; }
}

/* ---------- circuit: modules wired to a live bus ---------- */
.circuit { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 36px; padding-top: 64px; }
.circuit .rail { position: absolute; left: calc(var(--gut) * -1); right: calc(var(--gut) * -1); top: 0; height: 1px; background: var(--trace); overflow: hidden; }
.circuit .rail::after, .circuit .drop::after {
  content: ""; position: absolute; background: var(--accent);
}
.circuit .rail::after { top: 0; left: -80px; width: 80px; height: 1px; box-shadow: 0 0 6px var(--accent); animation: run-x 4.2s linear infinite; }
@keyframes run-x { to { left: 100%; } }
.circuit .node-pad { position: absolute; top: -5px; width: 11px; height: 11px; background: var(--paper); border: 1.5px solid var(--ink); }
.module { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 30px 28px 28px; background: var(--panel); border: 1px solid var(--rule); min-height: 250px; transition: border-color .3s, transform .4s var(--ease), box-shadow .4s; }
.module:hover { border-color: var(--ink); transform: translateY(-3px); box-shadow: 0 20px 40px -26px rgba(0,0,0,.3); }
.module .drop { position: absolute; left: 34px; top: -64px; width: 1px; height: 64px; background: var(--ink); overflow: hidden; }
.module .drop::after { left: 0; top: -30px; width: 1px; height: 30px; box-shadow: 0 0 6px var(--accent); animation: run-y 4.2s linear infinite; animation-delay: var(--d, 0s); }
@keyframes run-y { 0%, 55% { top: -30px; } 100% { top: 100%; } }
.module .pad { position: absolute; left: 29px; top: -6px; width: 11px; height: 11px; background: var(--paper); border: 1.5px solid var(--ink); transition: background .25s; }
.module:hover .pad { background: var(--accent); }
.module .mod-num { font: 600 64px/.8 var(--f-display); color: transparent; -webkit-text-stroke: 1.2px var(--trace); position: absolute; right: 22px; top: 24px; transition: -webkit-text-stroke-color .3s; }
.module:hover .mod-num { -webkit-text-stroke-color: var(--ink); }
.module .go { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; font: 400 11px/1 var(--f-mono); letter-spacing: .22em; text-transform: uppercase; }
.module .go::after { content: ""; width: 34px; height: 1px; background: var(--ink); transition: width .3s var(--ease); }
.module:hover .go::after { width: 64px; }
@media (max-width: 900px) {
  .circuit { grid-template-columns: 1fr; gap: 22px; padding-top: 0; padding-left: 34px; }
  .circuit .rail { left: 8px; right: auto; top: -24px; bottom: 36px; width: 1px; height: auto; }
  .circuit .rail::after { left: 0; top: -80px; width: 1px; height: 80px; animation-name: run-yy; }
  @keyframes run-yy { to { top: 100%; } }
  .module { min-height: 0; padding: 24px 22px 22px; }
  .module .drop { left: -26px; top: 34px; width: 26px; height: 1px; }
  .module .drop::after { top: 0; left: -20px; width: 20px; height: 1px; animation-name: run-xx; }
  @keyframes run-xx { 0%, 55% { left: -20px; } 100% { left: 100%; } }
  .module .pad { left: -6px; top: 29px; }
  .module .mod-num { font-size: 44px; top: 18px; }
}

/* ---------- lineage: one line on phones ---------- */
@media (max-width: 760px) {
  .lineage { grid-template-columns: repeat(4, minmax(0,1fr)); row-gap: 0; }
  .lineage div { padding: 16px 8px 0 0; }
  .lineage .yr { font-size: 15px; }
  .lineage .mono-sm { font-size: 10px; line-height: 1.45; }
}

/* ---------- empty specimen slots ---------- */
.slot { position: relative; display: flex; flex-direction: column; border: 1px dashed var(--trace); background: transparent; }
.slot .media { aspect-ratio: 4/5; display: grid; place-items: center; border-bottom: 1px dashed var(--trace); position: relative; }
.slot .media::before, .slot .media::after { content: ""; position: absolute; background: var(--rule); }
.slot .media::before { left: 50%; top: 30%; bottom: 30%; width: 1px; }
.slot .media::after { top: 50%; left: 34%; right: 34%; height: 1px; }
.slot .num { position: absolute; left: 14px; top: 12px; font: 400 11px/1 var(--f-mono); letter-spacing: .18em; color: var(--ink-3); }
.slot .ghost-num { position: absolute; right: 10px; bottom: -8px; font: 600 120px/.8 var(--f-display); color: transparent; -webkit-text-stroke: 1px rgba(22,22,22,.05); }
.slot .body { padding: 18px 18px 20px; display: grid; gap: 10px; }
.slot .name { font: 600 21px/1.05 var(--f-display); text-transform: uppercase; letter-spacing: .02em; color: var(--ink-3); }
a.slot { transition: border-color .25s, background .25s; }
a.slot:hover { border-color: var(--ink); background: var(--panel); }
a.slot:hover .name { color: var(--ink); }
a.slot .media .cta { position: relative; z-index: 1; font: 400 11px/1 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--ink); background: var(--paper); padding: 8px 10px; border: 1px solid var(--ink); }

/* ---------- queue notice ---------- */
.queue { display: inline-flex; align-items: center; gap: 12px; padding: 10px 14px; border: 1px solid var(--ink); background: var(--panel);
  font: 400 11px/1.3 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; }
.queue::before { content: ""; width: 8px; height: 8px; background: var(--accent); animation: blink 1.6s steps(2) infinite; }
@keyframes blink { 50% { opacity: .15; } }

/* ---------- specimen anatomy (exploded) ---------- */
.anatomy { width: 100%; height: auto; overflow: visible; }
.anatomy .ly { transform: translateY(calc(var(--i) * 70px)); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 70ms); }
.anatomy .lab { opacity: 0; transition: opacity .6s; transition-delay: calc(.6s + var(--i) * 90ms); }
.rv.in .anatomy .ly, .anatomy.in .ly { transform: none; }
.rv.in .anatomy .lab { opacity: 1; }
.anatomy text.t { font: 400 17px/1 var(--f-mono); letter-spacing: .14em; fill: var(--ink); }
.anatomy text.s { font: 400 14px/1 var(--f-mono); fill: var(--ink-3); }
@media (max-width: 620px) { .anatomy text.t { font-size: 21px; } .anatomy text.s { font-size: 17px; } }

/* ---------- process line pulse ---------- */
.process::after { content: ""; position: absolute; top: 23px; left: 0; width: 60px; height: 1px; background: var(--accent); box-shadow: 0 0 6px var(--accent); animation: run-proc 5s linear infinite; }
@keyframes run-proc { from { left: 0; } to { left: calc(100% - 60px); } }
@media (max-width: 900px) { .process::after { display: none; } }

.feature--anat { grid-template-columns: 1.25fr .75fr; }
@media (max-width: 900px) { .feature--anat { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .slot .media { aspect-ratio: 16/7; } .slot .ghost-num { font-size: 72px; } }

/* ==========================================================================
   v3 adjustments
   ========================================================================== */

/* cushion under the queue badge wherever it sits above a title */
.hero .queue, .queue + .row-between, .hero .queue + * { margin-top: 0; }
.hero .queue { margin-bottom: 32px; }

/* hero buttons: two equal halves of the screen on phones */
@media (max-width: 620px) {
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
  .hero-actions .btn { width: 100%; min-width: 0; }
}

/* circuit modules: separate cards on phones too, linked by a trace */
@media (max-width: 900px) {
  .circuit { padding-left: 0; padding-top: 40px; gap: 26px; }
  .circuit .rail { left: calc(var(--gut) * -1); right: calc(var(--gut) * -1); top: 0; bottom: auto; width: auto; height: 1px; }
  .circuit .rail::after { left: -80px; top: 0; width: 80px; height: 1px; animation-name: run-x; }
  .module .drop { left: 34px; top: -40px; width: 1px; height: 40px; }
  .module + .module .drop { top: -27px; height: 27px; }
  .module .drop::after { left: 0; top: -30px; width: 1px; height: 30px; animation-name: run-y; }
  .module .pad { left: 29px; top: -6px; }
}

/* timeline: always one row */
.lineage { grid-template-columns: repeat(4, minmax(0,1fr)) !important; }
.lineage .mono-sm b { font-weight: 500; color: var(--ink); display: block; margin-bottom: 4px; }
@media (max-width: 760px) {
  .lineage { column-gap: 0; }
  .lineage div { padding-right: 8px; }
  .lineage .mono-sm { font-size: 10px; line-height: 1.5; }
  .lineage .mono-sm b { font-size: 10.5px; }
}

/* process: details open downward under each step */
.step { display: block; padding: 0 18px 0 0; }
.step-btn { display: grid; gap: 12px; text-align: left; width: 100%; align-content: start; }
.step-btn:hover .node, .step.open .node { background: var(--ink); color: var(--paper); }
.step.open .node { box-shadow: 0 0 0 4px var(--paper), 0 0 0 5.5px var(--accent); }
.step-btn::after { content: "+"; font: 400 13px/1 var(--f-mono); color: var(--ink-3); }
.step.open .step-btn::after { content: "–"; color: var(--accent); }
.step-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.step.open .step-body { grid-template-rows: 1fr; }
.step-body > div { overflow: hidden; }
.sb-in { position: relative; margin-top: 16px; padding: 16px 0 4px 14px; border-left: 1px solid var(--ink); display: grid; gap: 8px; }
.sb-in::before { content: ""; position: absolute; left: -4px; top: 0; width: 7px; height: 7px; background: var(--accent); }
.sb-in .h3 { font-size: 16px; }
.sb-in p { margin: 0; font: 400 12.5px/1.6 var(--f-mono); color: var(--ink-2); }
@media (max-width: 900px) {
  .step { padding: 0; }
  .step-btn { grid-template-columns: 47px 1fr auto; column-gap: 18px; align-items: center; }
  .step-btn .node { grid-row: span 2; }
  .step-btn .d { grid-column: 2; }
  .step-btn::after { grid-column: 3; grid-row: 1 / span 2; align-self: center; }
  .sb-in { margin-left: 23px; padding-left: 40px; }
}

/* every empty drawer is a way in */
a.slot .media .cta { opacity: 0; transform: translateY(4px); transition: opacity .25s, transform .25s var(--ease); }
a.slot:hover .media .cta, a.slot:focus-visible .media .cta, a.slot.slot--cta .media .cta { opacity: 1; transform: none; }
a.slot .meta { font: 400 11.5px/1.4 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); transition: color .25s; }
a.slot:hover .meta { color: var(--accent); }
a.slot:hover .media::before, a.slot:hover .media::after { background: var(--trace); }
@media (hover: none) { a.slot .media .cta { opacity: 1; transform: none; } }

/* archive legend + available toggle */
.legend { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.bar-right { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.avail-note { display: grid; gap: 8px; padding: 18px 20px; margin-bottom: 28px; border: 1px solid var(--ink); background: var(--panel); position: relative; }
.avail-note::before { content: ""; position: absolute; left: -1px; top: -1px; width: 3px; height: calc(100% + 2px); background: var(--accent); }
.avail-note[hidden] { display: none; }
.avail-note p { margin: 0; }
@media (max-width: 620px) { .legend { gap: 8px 16px; } .bar-right { width: 100%; justify-content: space-between; } }

.filter-row { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }

/* specimen gallery: component tiles + stage caption */
.d-media { position: sticky; top: 57px; align-self: start; }
@media (max-width: 860px) { .d-media { position: static; } }
.thumbs { flex-wrap: wrap; }
.thumbs button { width: 56px; height: 56px; }
.stage-cap { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 6px; padding: 14px 16px; background: rgba(252,252,251,.94); border-top: 1px solid var(--rule); }
.stage-cap .mono-sm { font-size: 12px; }
.comp-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
.comp { position: relative; display: grid; gap: 3px; padding: 0 0 10px; text-align: left; background: var(--paper); border: 1px solid var(--rule); transition: border-color .2s, transform .25s var(--ease); }
.comp img { width: 100%; aspect-ratio: 1; object-fit: cover; border-bottom: 1px solid var(--rule); margin-bottom: 6px; }
.comp .cn { position: absolute; left: 6px; top: 6px; font: 400 9.5px/1 var(--f-mono); letter-spacing: .14em; color: var(--accent); background: var(--paper); padding: 3px 4px; }
.comp .ct { padding: 0 8px; font: 600 13px/1.1 var(--f-display); text-transform: uppercase; letter-spacing: .03em; }
.comp .cs { padding: 0 8px; font: 400 9.5px/1.3 var(--f-mono); letter-spacing: .06em; color: var(--ink-3); text-transform: uppercase; }
.comp:hover { border-color: var(--ink); transform: translateY(-2px); }
.comp[aria-current="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.comp[aria-current="true"] .cn { background: var(--accent); color: #fff; }
@media (max-width: 520px) { .comp-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.slot--reserved { border-style: solid; border-color: var(--rule); background: var(--well); }
.slot--reserved .media { border-bottom-style: solid; }
.slot--reserved .meta { font: 400 11.5px/1.4 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.field label.check { font: 400 13px/1.55 var(--f-mono); letter-spacing: 0; text-transform: none; color: var(--ink-2); }
