/* Portfolio v4. Rules from the 120-site brief: one family (Archivo, width axis), ≤2 weights (400/500),
   graphite ladder + one accent on ≤2 elements per screen, hairlines not glows, one ease + one duration scale,
   transform/opacity/clip-path only. */
:root {
  --c0: #0a0a0c; --c1: #0f0f12; --c2: #141418; --c3: #1b1b20; --c4: #262630; --c5: #303038;
  --ink: #F0F1FA; --ink-2: #A3A6B4; --ink-3: #6E7180;
  --accent: #FF5A1F;
  --best: #B26BFF; --pb: #3DDC84; --slow: #FFD12E;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);     /* expo.out */
  --t1: .5s; --t2: .8s; --t3: 1.1s;
  --pad: clamp(20px, 4.5vw, 64px);
  --maxw: 1360px;
  --wide: 118; --cond: 78;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; background: var(--c0); color: var(--ink); font-family: var(--sans); font-weight: 400; font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.locked { overflow: hidden; }
a { color: inherit; }
.mono { font-family: var(--mono); font-weight: 400; font-variant-numeric: tabular-nums; }
code { font-family: var(--mono); font-size: .86em; color: var(--ink); background: var(--c3); padding: 1px 5px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--c0); padding: 8px 14px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }

/* ---------- loader: a bar that becomes the top hairline ---------- */
.loader { position: fixed; top: 0; left: 0; right: 0; height: 1px; z-index: 80; background: var(--c4); }
.loader span#loader-bar { position: absolute; left: 0; top: 0; height: 100%; width: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform var(--t1) var(--ease); }
.loader-pct { position: fixed; right: var(--pad); top: 14px; font-size: 11px; color: var(--ink-3); letter-spacing: .12em; transition: opacity var(--t1) var(--ease); }
.loader.done .loader-pct { opacity: 0; }
.loader.done { background: var(--c3); }
.loader.done span#loader-bar { opacity: 0; transition: opacity var(--t2) var(--ease) .3s; }

/* ---------- 3D stage ---------- */
.stage { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 0; transition: opacity var(--t3) var(--ease); }
.stage.on { opacity: 1; }
.poster { position: fixed; inset: 0; z-index: 0; pointer-events: none; display: none; background: radial-gradient(70% 55% at 65% 60%, #1a1b22 0%, var(--c0) 70%); }
body[data-tier="none"] .poster { display: block; }
body[data-tier="none"] .stage { display: none; }

/* ---------- chrome ---------- */
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; padding: 18px var(--pad) 0; pointer-events: none; }
.top > * { pointer-events: auto; }
.wordmark { font-variation-settings: "wdth" var(--cond); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; font-size: 13px; line-height: 1.05; text-decoration: none; }
.status { margin: 0; justify-self: center; display: inline-flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .08em; color: var(--ink-2); border: 1px solid var(--c4); padding: 6px 12px; border-radius: 999px; background: rgba(10,10,12,.5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.status i { width: 6px; height: 6px; border-radius: 50%; background: var(--pb); }
.links { justify-self: end; display: flex; gap: 22px; font-size: 13px; letter-spacing: .02em; }
.links a { text-decoration: none; color: var(--ink-2); position: relative; padding-bottom: 2px; }
.links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform var(--t1) var(--ease); }
.links a:hover, .links a.active { color: var(--ink); }
.links a:hover::after, .links a.active::after { transform: scaleX(1); transform-origin: left; }

/* ---------- type ---------- */
.display { margin: 0; font-weight: 400; font-variation-settings: "wdth" var(--wide); text-transform: uppercase; line-height: .92; letter-spacing: -.02em; font-size: clamp(2.6rem, 1.2rem + 6.4vw, 8.4rem); }
.display.sm { font-size: clamp(2rem, 1rem + 3.6vw, 4.6rem); letter-spacing: -.015em; line-height: .96; max-width: 20ch; }
.name { font-size: clamp(3rem, .8rem + 8.2vw, 9rem); line-height: .86; }
.ln { display: block; overflow: hidden; padding-bottom: .04em; margin-bottom: -.04em; }
.rv { display: inline-block; transform: translate3d(0, 110%, 0); transition: transform var(--t3) var(--ease); will-change: transform; }
.in .rv, .rv.in { transform: none; }
.ln:nth-child(2) .rv { transition-delay: .08s; }
.eyebrow { margin: 0 0 18px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.index { margin: 0 0 22px; font-size: 12px; letter-spacing: .1em; color: var(--ink-3); text-transform: uppercase; }
.lede { font-size: clamp(1.05rem, .9rem + .7vw, 1.4rem); line-height: 1.4; max-width: 36ch; color: #D4D6E0; margin: 28px 0 0; }
.aside { color: var(--ink-2); max-width: 54ch; margin: 22px 0 0; font-size: 15.5px; }

/* reveal: opacity+translate only, one ease */
.reveal { opacity: 0; transform: translate3d(0, 20px, 0); transition: opacity var(--t2) var(--ease) var(--d, 0s), transform var(--t2) var(--ease) var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.reveal-lines .ln { display: block; overflow: hidden; }
.reveal-lines .rv { transition-delay: calc(var(--i, 0) * 70ms); }

/* ---------- sections ---------- */
.shot { position: relative; z-index: 1; min-height: 100vh; min-height: 100svh; padding: 120px var(--pad) 80px; max-width: var(--maxw); margin: 0 auto; }
.hero { display: grid; align-content: end; padding-bottom: 36px; }
.hero-grid { max-width: 100%; }
.scroll-cue { margin: 34px 0 0; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); display: flex; align-items: center; gap: 12px; }
.cue-line { width: 48px; height: 1px; background: var(--ink-3); transform-origin: left; animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleX(0); } 50% { transform: scaleX(1); } 100% { transform: scaleX(0); transform-origin: right; } }
.telemetry { margin: 56px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--c4); }
.telemetry div { padding: 16px 20px 0 0; }
.telemetry dt { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.telemetry dd { margin: 6px 0 0; font-family: var(--sans); font-variation-settings: "wdth" var(--wide); font-weight: 400; font-size: clamp(1.6rem, 1rem + 2vw, 2.8rem); line-height: 1; letter-spacing: -.02em; }

.statement { display: grid; align-content: center; }
.statement .display { max-width: 24ch; font-size: clamp(2rem, 1rem + 4.2vw, 5.4rem); line-height: .96; letter-spacing: -.02em; text-transform: none; font-variation-settings: "wdth" 100; }
.sec-head { max-width: 760px; margin-bottom: 44px; }

/* ---------- timing tower ---------- */
.tower { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--c4); max-width: 980px; }
.row { border-bottom: 1px solid var(--c3); opacity: 0; transform: translate3d(-24px, 0, 0); transition: opacity var(--t2) var(--ease) calc(var(--i) * 45ms), transform var(--t2) var(--ease) calc(var(--i) * 45ms); }
.tower.in .row { opacity: 1; transform: none; }
.row-btn { width: 100%; display: grid; grid-template-columns: 44px 3px minmax(0, 1fr) 120px 90px 20px; align-items: center; gap: 16px; padding: 16px 0; background: none; border: 0; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.row-btn:hover .rname b, .row.open .rname b { color: var(--ink); }
.pos { font-family: var(--mono); font-size: 13px; color: var(--ink-3); }
.row:first-child .pos { color: var(--best); }
.bar { height: 28px; background: var(--lang, var(--c5)); }
.rname { min-width: 0; display: grid; }
.rname b { font-weight: 400; font-variation-settings: "wdth" 100; text-transform: uppercase; letter-spacing: .02em; font-size: clamp(16px, 1.4vw, 22px); line-height: 1.15; color: #D4D6E0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color var(--t1); }
.rname span { font-size: 13px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.code { font-family: var(--mono); font-size: 12px; color: var(--ink-3); letter-spacing: .04em; }
.fig { font-family: var(--mono); font-size: 13px; text-align: right; color: var(--ink-2); }
.fig.best { color: var(--best); }
.chev { width: 9px; height: 9px; border-right: 1px solid var(--ink-3); border-bottom: 1px solid var(--ink-3); transform: rotate(45deg); transition: transform var(--t1) var(--ease); justify-self: end; }
.row.open .chev { transform: rotate(225deg); }
.detail { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--t2) var(--ease); }
.row.open .detail { grid-template-rows: 1fr; }
.detail > div { overflow: hidden; }
.detail-in { padding: 0 0 22px 63px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; opacity: 0; transition: opacity var(--t1) var(--ease); }
.row.open .detail-in { opacity: 1; transition-delay: .15s; }
.detail p { margin: 0 0 10px; font-size: 13px; color: var(--ink-3); font-family: var(--mono); }
.detail ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; max-width: 60ch; }
.detail li { position: relative; padding-left: 18px; color: #C9CCD8; font-size: 15px; }
.detail li::before { content: ""; position: absolute; left: 0; top: .7em; width: 8px; height: 1px; background: var(--ink-3); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; border: 1px solid var(--ink); background: var(--ink); color: var(--c0); font: 500 13px var(--sans); letter-spacing: .04em; text-transform: uppercase; cursor: pointer; text-decoration: none; transition: background var(--t1) var(--ease), color var(--t1) var(--ease), border-color var(--t1) var(--ease), transform var(--t1) var(--ease); }
.btn:hover { background: var(--accent); border-color: var(--accent); color: var(--c0); }
.btn:active { transform: scale(.98); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--c5); }
.btn.ghost:hover { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn[disabled] { opacity: .4; cursor: not-allowed; }

/* ---------- labs ---------- */
.lab-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.lab { background: rgba(15,15,18,.86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid var(--c4); padding: 0 22px 22px; }
.lab.wide { grid-column: 1 / -1; }
.lab-head { display: flex; justify-content: space-between; margin: 0 -22px 18px; padding: 12px 22px; border-bottom: 1px solid var(--c3); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.lab-head span:last-child { color: var(--ink-2); }
.lab-head span.live { color: var(--slow); } .lab-head span.bad { color: var(--accent); } .lab-head span.good { color: var(--pb); }
.lab h3 { margin: 0; font-weight: 400; font-variation-settings: "wdth" 100; text-transform: uppercase; font-size: clamp(20px, 1.9vw, 26px); line-height: 1.05; letter-spacing: -.01em; }
.lab .q { color: var(--ink-2); margin: 10px 0 18px; font-size: 15px; max-width: 52ch; }
.lab-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 18px; }
.lab-foot small { color: var(--ink-3); font-size: 12.5px; }
.lab-foot small a { color: var(--ink-2); }
.verdict { margin: 12px 0 0; font-size: 14.5px; color: #C9CCD8; }
.verdict:empty { display: none; }
.verdict strong { font-weight: 500; color: var(--ink); }
.verdict.bad strong { color: var(--accent); }
.verdict.good strong { color: var(--pb); }

.seg { display: inline-flex; border: 1px solid var(--c4); padding: 0; margin: 0 0 18px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: 8px 14px; font-size: 13px; color: var(--ink-2); transition: background var(--t1) var(--ease), color var(--t1); }
.seg input:checked + span { background: var(--ink); color: var(--c0); }
.seg input:focus-visible + span { outline: 1px solid var(--ink); outline-offset: 2px; }

.race-wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: start; }
.race-stage { position: relative; width: 100%; margin-top: 20px; }
.zone { position: absolute; top: -18px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.zone.over { color: var(--accent); opacity: 0; transition: opacity var(--t1); }
.race-stage.over .zone.over { opacity: 1; }
.slot { position: absolute; border: 1px dashed var(--c5); }
.car { position: absolute; left: 0; top: 0; display: grid; place-items: center; font: 400 11px var(--mono); background: var(--c3); color: var(--ink-2); border: 1px solid var(--c5); will-change: transform; transition: transform .75s var(--ease), background var(--t1), color var(--t1), border-color var(--t1), opacity var(--t1); }
.car.req { border-color: var(--ink); color: var(--ink); }
.car.won { background: var(--ink); color: var(--c0); border-color: var(--ink); }
.car.phantom { background: var(--accent); color: var(--c0); border-color: var(--accent); }
.car.rej { opacity: .3; }
.tally { display: grid; gap: 8px; margin: 20px 0 0; min-width: 92px; }
.tally div { border: 1px solid var(--c4); padding: 8px 12px; }
.tally dt { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.tally dd { margin: 2px 0 0; font-family: var(--sans); font-variation-settings: "wdth" var(--wide); font-size: 38px; line-height: 1; letter-spacing: -.02em; }
.tally dd.bad { color: var(--accent); } .tally dd.good { color: var(--pb); }
.ticker { list-style: none; margin: 16px 0 0; padding: 10px 12px; border: 1px solid var(--c3); background: var(--c1); height: 128px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 3px; font-size: 12px; line-height: 1.5; }
.ticker li { color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; animation: tick var(--t1) var(--ease); }
.ticker li b { font-weight: 400; color: var(--ink-2); }
.ticker li.ok b { color: var(--pb); } .ticker li.bad, .ticker li.bad b { color: var(--accent); }
@keyframes tick { from { opacity: 0; transform: translate3d(0, 6px, 0); } to { opacity: 1; transform: none; } }

.switch { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; font-size: 14.5px; }
.switch input { position: absolute; opacity: 0; }
.switch .track { width: 40px; height: 22px; border: 1px solid var(--c5); position: relative; transition: border-color var(--t1), background var(--t1); flex: none; }
.switch .track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; background: var(--ink-2); transition: transform var(--t1) var(--ease), background var(--t1); }
.switch input:checked + .track { border-color: var(--ink); }
.switch input:checked + .track::after { transform: translateX(18px); background: var(--ink); }
.switch input:focus-visible + .track { outline: 1px solid var(--ink); outline-offset: 3px; }
.lane { display: grid; grid-template-columns: 64px minmax(0, 1fr) 88px; gap: 10px; align-items: center; margin: 18px 0 8px; }
.node { border: 1px solid var(--c4); padding: 8px; text-align: center; font-size: 11px; }
.node b { display: block; font-weight: 500; letter-spacing: .1em; }
.node span { color: var(--ink-3); }
.road { position: relative; height: 60px; background: repeating-linear-gradient(90deg, var(--c5) 0 10px, transparent 10px 22px) center / 100% 1px no-repeat, var(--c1); overflow: hidden; }
.pkt { position: absolute; left: 6px; top: 8px; padding: 3px 8px; font: 400 10.5px var(--mono); background: var(--ink); color: var(--c0); white-space: nowrap; will-change: transform; }
.pkt.back { top: 34px; left: auto; right: 6px; background: var(--pb); }
.pkt.lost { background: var(--accent); }
.wire { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 3px; font-size: 13px; }
.wire li { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 10px; padding: 6px 10px; background: var(--c1); border: 1px solid var(--c3); animation: tick var(--t1) var(--ease); }
.wire li b { font-family: var(--mono); font-weight: 400; font-size: 11.5px; color: var(--ink-2); }
.wire .lost { color: var(--accent); } .wire .replay { color: var(--pb); }
.stmt:not(:empty) { margin-top: 12px; border: 1px solid var(--c4); }
.stmt-row { display: flex; justify-content: space-between; padding: 8px 12px; font-size: 12.5px; border-top: 1px solid var(--c3); animation: tick var(--t1) var(--ease); }
.stmt-row:first-child { border-top: 0; }
.stmt-row.total { background: var(--c2); } .stmt-row.total.bad { color: var(--accent); } .stmt-row.total.good { color: var(--pb); }

.accts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 12px; }
.acct { border: 1px solid var(--c4); padding: 10px 14px; }
.acct > span { display: block; font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); }
.acct b { display: block; font-weight: 400; font-variation-settings: "wdth" var(--wide); font-size: 30px; line-height: 1.1; letter-spacing: -.02em; }
.acct .held { color: var(--slow); }
.pending > div { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; border: 1px solid var(--slow); padding: 10px 14px; margin-bottom: 12px; font-size: 14px; }
.ops { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 14px; }
.journal-scroll { max-height: 300px; overflow: auto; border: 1px solid var(--c4); }
.journal { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.journal th { position: sticky; top: 0; background: var(--c2); text-align: left; font-weight: 400; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); padding: 8px 10px; border-bottom: 1px solid var(--c4); }
.journal td { padding: 7px 10px; border-bottom: 1px solid var(--c3); vertical-align: top; }
.journal tbody tr { animation: tick var(--t1) var(--ease); }
.journal tr.rev td { color: var(--best); }
.journal .num { text-align: right; } .journal .act { text-align: right; white-space: nowrap; }
.journal tfoot td { background: var(--c2); border-bottom: 0; position: sticky; bottom: 0; color: var(--ink); }
.journal .jt { color: var(--ink-3); }
.linkbtn { background: none; border: 0; padding: 2px 6px; color: var(--ink-2); font: 400 12px var(--mono); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.linkbtn:hover { color: var(--ink); } .linkbtn.danger { color: var(--accent); }
.stamp { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding: 2px 8px; border: 1px solid var(--pb); color: var(--pb); }
.stamp.bad { border-color: var(--accent); color: var(--accent); }
.notice { margin: 12px 0 0; padding: 10px 14px; border-left: 1px solid var(--pb); background: var(--c1); font-size: 14px; animation: tick var(--t1) var(--ease); }
.notice.bad { border-color: var(--accent); } .notice.bad code { color: var(--accent); }

.geo { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 22px; align-items: start; }
.map { display: block; width: 100%; height: auto; border: 1px solid var(--c4); touch-action: none; }
.map-lbl { font: 400 10.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; fill: var(--ink-3); }
.map-name { font: 500 12.5px var(--sans); fill: var(--ink); }
.dot { cursor: grab; outline: none; } .dot:active { cursor: grabbing; }
.dot:focus-visible #geo-halo { stroke: var(--ink); stroke-width: 1.5; }
#geo-halo, #geo-car { transition: fill var(--t1); }
.pipeline { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 4px; font-size: 12.5px; }
.pipeline li { display: flex; gap: 10px; align-items: center; padding: 7px 10px; border: 1px solid var(--c3); color: var(--ink-3); position: relative; overflow: hidden; }
.pipeline li span { font-size: 10.5px; color: var(--ink-3); min-width: 20px; }
.pipeline li::before { content: ""; position: absolute; inset: 0; background: var(--c3); transform: translateX(-101%); transition: transform var(--t1) var(--ease); z-index: -1; }
.pipeline li { z-index: 0; }
.pipeline li.on { color: var(--ink); } .pipeline li.on::before { transform: none; } .pipeline li.on span { color: var(--best); }
.pipeline li.muted { color: var(--slow); }
.geo-help { color: var(--ink-3); font-size: 13.5px; margin: 10px 0 0; }
.phone { border: 1px solid var(--c5); border-radius: 26px; padding: 12px; background: var(--c1); }
.phone::before { content: ""; display: block; width: 56px; height: 4px; background: var(--c4); margin: 0 auto 10px; border-radius: 999px; }
.screen { background: var(--c2); border-radius: 16px; min-height: 260px; padding: 12px 10px; display: grid; align-content: start; gap: 8px; }
.clock { font-variation-settings: "wdth" var(--wide); font-size: 40px; text-align: center; color: var(--ink-2); letter-spacing: -.02em; }
.notif { background: var(--ink); color: var(--c0); border-radius: 10px; padding: 8px 10px; font-size: 12.5px; animation: slidein var(--t1) var(--ease); }
.notif b { display: block; font: 400 10.5px var(--mono); color: #4B5060; }
@keyframes slidein { from { opacity: 0; transform: translate3d(0, -10px, 0); } to { opacity: 1; transform: none; } }

/* ---------- about / contact ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: start; }
.kit { margin: 0; border-top: 1px solid var(--c4); }
.kit div { padding: 14px 0; border-bottom: 1px solid var(--c3); }
.kit dt { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.kit dd { margin: 6px 0 0; color: #C9CCD8; font-size: 15px; }
.contact { display: grid; align-content: center; }
.ways { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; margin: 36px 0 48px; max-width: 980px; }
.ways p { margin: 0; color: var(--ink-2); font-size: 15px; }
.way-k { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3) !important; margin-bottom: 10px !important; }
.mail { display: inline-block; text-decoration: none; text-transform: none; font-size: clamp(1.3rem, .5rem + 3.5vw, 4.4rem); overflow-wrap: anywhere; background: linear-gradient(var(--ink), var(--ink)) 0 100% / 0 1px no-repeat; transition: background-size var(--t2) var(--ease), opacity var(--t2) var(--ease), transform var(--t2) var(--ease); padding-bottom: 6px; }
.mail:hover { background-size: 100% 1px; }
.mail .at { color: var(--accent); }
.mail-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.copied { font-size: 12px; color: var(--pb); }
.foot { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 24px var(--pad) 32px; border-top: 1px solid var(--c3); font-size: 11.5px; color: var(--ink-3); background: var(--c0); max-width: 100%; }
.foot a { color: var(--ink-2); }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid { max-width: 100%; }
  .lab-grid, .about-grid, .ways { grid-template-columns: minmax(0, 1fr); }
  .geo { grid-template-columns: minmax(0, 1fr); } .phone { max-width: 280px; }
  .row-btn { grid-template-columns: 36px 3px minmax(0, 1fr) 90px 20px; }
  .row-btn .code { display: none; }
  .detail-in { padding-left: 0; grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .shot { padding: 96px var(--pad) 56px; }
  .top { grid-template-columns: 1fr auto; }
  .status { display: none; }
  .links { gap: 14px; font-size: 12px; }
  .top { padding-top: 16px; }
  .telemetry { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .telemetry div:nth-child(n+3) { border-top: 1px solid var(--c3); padding-top: 12px; margin-top: 12px; }
  .race-wrap { grid-template-columns: minmax(0, 1fr); }
  .tally { grid-template-columns: 1fr 1fr; margin-top: 4px; }
  .lab { padding: 0 14px 16px; } .lab-head { margin: 0 -14px 14px; padding: 10px 14px; }
  .accts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
  .acct b { font-size: 22px; }
  .journal { font-size: 11px; } .journal th, .journal td { padding: 6px 5px; } .linkbtn { padding: 2px 3px; font-size: 11px; }
  .rname b { white-space: normal; overflow-wrap: anywhere; font-size: 16px; } .rname span { white-space: normal; }
  .row-btn { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; transition-delay: 0s !important; }
  .reveal, .rv, .row { opacity: 1; transform: none; }
}
