
/* Layout concept: a showroom floor with safety tape. The unit stands in the reader's own opening, then a five-year clock runs over it. */
:root {
  --cobalt: #1740D6;
  --cobalt-hi: #2D58F2;
  --deep: #0B1E7A;
  --night: #070E33;
  --sun: #FFC933;
  --sun-ink: #4A3600;
  --ice: #EAF0FF;
  --paper: #FFFFFF;
  --ink: #0A1233;
  --muted: #46507A;
  --line: #C7D2F5;
  --red: #FF5A36;
  --red-ink: #A52A0E;
  --focus: #0A1233;
  --display: 'Big Shoulders Display', 'Arial Narrow', 'Roboto Condensed', Impact, sans-serif;
  --body: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
img { display: block; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1240px; margin-inline: auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.cap { font-family: var(--mono); font-weight: 700; font-size: 12px; letter-spacing: 0.09em; text-transform: uppercase; }
.band { padding-block: clamp(56px, 7vw, 104px); }
.band.ice { background: var(--ice); }
.band.night { background: var(--night); color: #fff; --focus: var(--sun); }
.band.cobalt { background: var(--cobalt); color: #fff; --focus: var(--sun); }
.h2 { font-family: var(--display); font-weight: 900; font-size: clamp(40px, 5vw, 72px); line-height: 0.92; letter-spacing: -0.005em; text-transform: uppercase; text-wrap: balance; }
.h2 em { font-style: normal; background: var(--sun); color: var(--ink); padding: 0 0.12em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; max-width: 62ch; }
.band.night .lede, .band.cobalt .lede { color: #DCE4FF; }
.head { display: flex; flex-direction: column; gap: 18px; margin-bottom: clamp(28px, 4vw, 48px); }
.src { font-family: var(--mono); font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.src a, .tlink { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: var(--sun); }
.band.night .src, .band.cobalt .src { color: #B9C6FF; }
.tape { height: 14px; background: repeating-linear-gradient(-45deg, var(--sun) 0 18px, var(--ink) 18px 36px); }

/* notice + header */
.notice { background: var(--night); color: #DCE4FF; font-size: 13.5px; }
.notice .wrap { display: flex; gap: 10px; align-items: center; padding-block: 8px; }
.notice svg { flex: 0 0 auto; }
.top { background: var(--cobalt); color: #fff; --focus: var(--sun); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 14px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand .word { display: flex; flex-direction: column; line-height: 1; }
.brand .word span { font-family: var(--display); font-weight: 900; font-size: 30px; letter-spacing: 0.01em; text-transform: uppercase; }
.brand .word i { font-style: normal; color: var(--sun); }
.brand .word small { font-family: var(--mono); font-weight: 700; font-size: 10.5px; letter-spacing: 0.14em; margin-top: 3px; opacity: 0.85; }
.top nav { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.top nav a { text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 999px; }
.top nav a:hover { background: rgba(255, 255, 255, 0.14); }

/* stage */
.stage { position: relative; background: radial-gradient(120% 90% at 68% 38%, var(--cobalt-hi) 0%, var(--cobalt) 46%, var(--deep) 100%); color: #fff; overflow: hidden; --focus: var(--sun); isolation: isolate; }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
#tags { position: absolute; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; }
.tg { position: absolute; left: 0; top: 0; transform: translate(-999px, -999px); font-family: var(--mono); font-weight: 700; font-size: 12.5px; line-height: 1.15; padding: 5px 9px; border-radius: 7px; background: #fff; color: var(--ink); white-space: nowrap; box-shadow: 0 6px 18px rgba(7, 14, 51, 0.35); transition: opacity 0.25s; will-change: transform; }
.tg.sun { background: var(--sun); }
.tg.bad { background: var(--red); color: #fff; }
.tg.ghost { background: rgba(7, 14, 51, 0.78); color: #fff; box-shadow: none; }
.tg.pin { background: var(--night); color: #fff; border: 2px solid var(--sun); padding: 6px 10px 6px 9px; white-space: normal; width: max-content; max-width: 190px; font-family: var(--body); font-weight: 600; font-size: 13px; }
.tg.pin b { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; color: var(--sun); text-transform: uppercase; }
.tg.off { opacity: 0; }
.stage-in { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 490px) minmax(0, 1fr); align-content: start; gap: 18px 24px; padding-block: clamp(22px, 2.6vw, 34px) 22px; min-height: 640px; pointer-events: none; }
.stage-in > * { pointer-events: auto; }
.lead { display: flex; flex-direction: column; gap: 12px; grid-column: 1 / -1; max-width: 940px; }
.deck { grid-column: 1; }
.lead .cap { color: var(--sun); }
h1 { font-family: var(--display); font-weight: 900; font-size: clamp(46px, 5.6vw, 86px); line-height: 0.86; text-transform: uppercase; letter-spacing: -0.005em; text-wrap: balance; }
h1 em { font-style: normal; color: var(--sun); }
.lead p { font-size: 17px; line-height: 1.45; color: #E3E9FF; max-width: 44ch; }
.deck { background: var(--paper); color: var(--ink); border-radius: 22px; box-shadow: 0 30px 70px rgba(7, 14, 51, 0.45); overflow: hidden; --focus: var(--ink); }
.modes { display: grid; grid-template-columns: 1fr 1fr; background: var(--night); }
.modes button { border: 0; background: transparent; color: #AEBBF5; padding: 14px 12px 13px; text-align: left; display: flex; gap: 10px; align-items: center; font-family: var(--display); font-weight: 800; font-size: 23px; line-height: 1; text-transform: uppercase; letter-spacing: 0.01em; }
.modes button i { font-style: normal; font-family: var(--mono); font-size: 12px; font-weight: 700; width: 24px; height: 24px; border-radius: 50%; border: 2px solid currentColor; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.modes button[aria-selected="true"] { background: var(--paper); color: var(--ink); border-radius: 16px 16px 0 0; }
.modes button[aria-selected="true"] i { background: var(--sun); border-color: var(--ink); }
.pane { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 12px; }
.pane[hidden] { display: none; }
.five { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px 8px; }
.five .cap { color: var(--muted); font-size: 11px; }
.five .g3 { grid-column: span 3; }
.five .g2 { grid-column: span 2; padding-left: 10px; margin-left: -4px; border-left: 2px solid var(--line); }
.five .fld span:first-child { font-size: 12px; white-space: nowrap; }
.five .inp input { padding: 8px 4px 8px 10px; font-size: 18px; }
.foot { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; }
.foot .sw { white-space: nowrap; }
.grp { display: flex; flex-direction: column; gap: 8px; }
.grp > .cap { color: var(--muted); display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.grp > .cap span { font-weight: 500; letter-spacing: 0; text-transform: none; font-size: 12px; }
.fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.fields.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#paneLife .fields { grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.9fr) minmax(0, 1.35fr); }
.fld { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.fld span { font-size: 13px; font-weight: 600; line-height: 1.2; }
.inp { display: flex; align-items: center; border: 2px solid var(--ink); border-radius: 12px; background: #fff; overflow: hidden; min-width: 0; }
.inp input, .inp select { border: 0; outline: 0; background: transparent; width: 100%; min-width: 0; padding: 9px 4px 9px 11px; font-family: var(--mono); font-weight: 700; font-size: 17px; }
.inp select { font-family: var(--body); font-weight: 600; font-size: 15px; padding-right: 8px; }
.inp em { font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--muted); padding-right: 10px; }
.inp:focus-within { box-shadow: 0 0 0 3px var(--sun); }
.inp.bad { border-color: var(--red); background: #FFF1EC; }
.sw { display: inline-flex; align-items: center; gap: 9px; border: 0; background: none; padding: 0; font-weight: 600; font-size: 14px; }
.sw i { width: 40px; height: 24px; border-radius: 999px; background: #C3CCE8; position: relative; transition: background 0.2s; flex: 0 0 auto; }
.sw i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform 0.2s; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); }
.sw[aria-pressed="true"] i { background: var(--cobalt); }
.sw[aria-pressed="true"] i::after { transform: translateX(16px); }
.verdict { border-radius: 16px; background: var(--sun); color: var(--ink); padding: 14px 16px 15px; display: flex; flex-direction: column; gap: 9px; }
.verdict.no { background: var(--red); color: #fff; }
.verdict.half { background: var(--ink); color: #fff; }
.verdict h2 { font-family: var(--display); font-weight: 900; font-size: 36px; line-height: 0.95; text-transform: uppercase; }
.vrows { display: flex; flex-direction: column; font-size: 14.5px; line-height: 1.25; }
.vrows li { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 9px; align-items: center; padding: 5px 0; border-top: 1px solid rgba(10, 18, 51, 0.18); }
.verdict.no .vrows li, .verdict.half .vrows li { border-top-color: rgba(255, 255, 255, 0.22); }
.vrows span small { font-family: var(--mono); font-size: 11.5px; opacity: 0.75; margin-left: 6px; white-space: nowrap; }
.vrows b { font-family: var(--mono); font-weight: 700; font-size: 13px; white-space: nowrap; }
.vrows li.bad b { background: var(--red); color: #fff; padding: 2px 7px; border-radius: 6px; }
.verdict.no .vrows li.bad b { background: #fff; color: var(--red-ink); }
.verdict.no .vrows li.bad svg circle { fill: #fff; }
.verdict.no .vrows li.bad svg path { stroke: var(--red); }
.vnote { font-size: 13.5px; line-height: 1.35; font-weight: 600; }
.checks { display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 1.35; }
.checks li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 8px; align-items: start; }
.checks svg { margin-top: 1px; }
.checks b { font-weight: 700; }
.alts { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; font-weight: 600; }
.alts button { border: 2px solid currentColor; background: transparent; color: inherit; border-radius: 999px; padding: 3px 10px; font-family: var(--mono); font-weight: 700; font-size: 12.5px; }
.fine { font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.read { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.rd { border: 2px solid var(--ink); border-radius: 14px; padding: 10px 11px 11px; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.rd .cap { font-size: 10.5px; color: var(--muted); }
.rd b { font-family: var(--display); font-weight: 900; font-size: 31px; line-height: 1; }
.rd span { font-size: 12.5px; line-height: 1.3; font-weight: 600; }
.rd.on { background: var(--sun); }
.rd.over { background: var(--ice); border-color: var(--line); color: var(--muted); }
.nowline { font-size: 14.5px; line-height: 1.4; background: var(--ice); border-radius: 12px; padding: 10px 12px; }
.nowline b { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; display: block; color: var(--cobalt); text-transform: uppercase; }

/* five-year track */
.track { position: relative; z-index: 2; margin-top: 6px; }
.track[hidden] { display: none; }
.track .wrap { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 10px 14px; align-items: start; padding-bottom: 16px; }
.play { width: 54px; height: 54px; border-radius: 50%; border: 0; background: var(--sun); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(7, 14, 51, 0.4); margin-top: 30px; }
.rail5 { position: relative; padding-top: 30px; }
.rail5 .bars { display: flex; flex-direction: column; gap: 5px; }
.wbar { position: relative; height: 22px; border-radius: 6px; background: rgba(255, 255, 255, 0.14); overflow: hidden; }
.wbar i { position: absolute; inset: 0 auto 0 0; background: #fff; border-radius: 6px; }
.wbar.pl i { background: var(--sun); }
.wbar span { position: absolute; left: 9px; top: 50%; transform: translateY(-50%); font-family: var(--mono); font-weight: 700; font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.wbar.done i { background: rgba(255, 255, 255, 0.3); }
.wbar.done span { color: #fff; }
.years { position: relative; height: 44px; margin-top: 7px; }
.years .line { position: absolute; left: 0; right: 0; top: 10px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.3); }
.years .fill { position: absolute; left: 0; top: 10px; height: 4px; border-radius: 2px; background: var(--sun); }
.years .tick { position: absolute; top: 4px; width: 2px; height: 16px; background: #fff; transform: translateX(-1px); }
.years .tick span { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-weight: 700; font-size: 11.5px; white-space: nowrap; color: #DCE4FF; }
.years .tick.first span { transform: none; left: 0; }
.years .tick.last span { transform: translateX(-100%); left: 2px; }
.years .dot { position: absolute; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.55); transform: translateX(-4px); }
.years .dot.c { background: var(--sun); width: 10px; height: 10px; top: 7px; transform: translateX(-5px); border: 2px solid var(--deep); }
.knob { position: absolute; top: 0; width: 0; height: 100%; pointer-events: none; }
.knob::before { content: ""; position: absolute; left: -1.5px; top: 0; bottom: 34px; width: 3px; background: #fff; border-radius: 2px; }
.knob b { position: absolute; top: -2px; left: 0; transform: translate(-50%, -100%); background: #fff; color: var(--ink); font-family: var(--mono); font-weight: 700; font-size: 12.5px; padding: 4px 9px; border-radius: 7px; white-space: nowrap; margin-top: 26px; }
.rail5 input[type=range] { position: absolute; left: -14px; right: -14px; top: 22px; bottom: 0; width: calc(100% + 28px); margin: 0; opacity: 0; cursor: ew-resize; height: auto; }
.evs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-top: 4px; grid-column: 1 / -1; }
.evs.three { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 0; }
.reps { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 6px; }
.track .lf { grid-column: 1 / -1; color: #B9C6FF; margin-top: -2px; }
.reps > .cap { color: #B9C6FF; font-size: 11px; }
.ev.rep { border-style: dashed; background: transparent; }
.ev.rep b { color: #FFB29E; }
.ev { border-radius: 12px; padding: 7px 10px 8px; background: rgba(7, 14, 51, 0.45); border: 1.5px solid rgba(255, 255, 255, 0.22); font-size: 12.5px; line-height: 1.32; color: #E3E9FF; transition: background 0.25s, color 0.25s, border-color 0.25s; }
.ev b { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sun); margin-bottom: 2px; }
#evs { display: flex; gap: 8px; align-items: stretch; }
#evs .ev { flex: 1 1 0; min-width: 0; background: transparent; }
#evs .ev .t { display: none; }
#evs .ev.hit { opacity: 0.58; }
#evs .ev:not(.hit):not(.now) { border-style: dashed; }
#evs .ev.now { flex: 2.6 1 0; background: #fff; color: var(--ink); border-color: #fff; box-shadow: 0 14px 30px rgba(7, 14, 51, 0.35); }
#evs .ev.now .t { display: block; font-size: 14px; line-height: 1.38; }
#evs .ev.now b { color: var(--cobalt); }
.ev small { display: block; font-family: var(--mono); font-size: 11px; opacity: 0.8; margin-top: 3px; }
.ev a { text-decoration-color: var(--sun); }

/* model rail */
.rail { position: relative; z-index: 2; background: rgba(7, 14, 51, 0.84); border-top: 1px solid rgba(255, 255, 255, 0.18); }
.rail .wrap { display: flex; gap: 8px; align-items: stretch; padding-block: 10px; overflow-x: auto; scrollbar-width: none; }
.rail .wrap::-webkit-scrollbar { display: none; }
.rail .cap { align-self: center; color: var(--sun); flex: 0 0 auto; padding-right: 8px; max-width: 96px; line-height: 1.25; }
.mbtn { flex: 1 0 150px; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; align-items: center; text-align: left; border: 2px solid transparent; background: rgba(255, 255, 255, 0.08); color: #fff; border-radius: 14px; padding: 6px 12px 6px 8px; min-height: 62px; }
.mbtn img { height: 48px; width: 34px; object-fit: contain; object-position: center bottom; }
.mbtn b { display: block; font-family: var(--mono); font-weight: 700; font-size: 13.5px; }
.mbtn span { display: block; font-size: 12px; line-height: 1.2; color: #C9D4FF; }
.mbtn[aria-pressed="true"] { background: var(--sun); color: var(--ink); border-color: var(--ink); }
.mbtn[aria-pressed="true"] span { color: var(--sun-ink); }
.stage.nogl canvas, .stage.nogl #tags { display: none; }
.fallback { display: none; }
.stage.nogl .fallback { display: block; position: absolute; right: 4%; bottom: 90px; width: min(44%, 480px); z-index: 0; }

/* sticky section bar */
.subnav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--sun); color: var(--ink); border-bottom: 3px solid var(--ink); }
.subnav .wrap { display: flex; gap: 2px; align-items: center; overflow-x: auto; scrollbar-width: none; padding-block: 6px; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav b { font-family: var(--mono); font-size: 13px; padding-right: 12px; white-space: nowrap; }
.subnav a { text-decoration: none; font-weight: 700; font-size: 14.5px; padding: 7px 12px; border-radius: 999px; white-space: nowrap; }
.subnav a[aria-current="true"] { background: var(--ink); color: #fff; }

/* the short version */
.take { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.col { border-radius: 26px; padding: clamp(22px, 2.6vw, 34px); display: flex; flex-direction: column; gap: 18px; }
.col.up { background: var(--cobalt); color: #fff; }
.col.down { background: var(--ink); color: #fff; }
.col h3 { font-family: var(--display); font-weight: 900; font-size: clamp(38px, 4vw, 56px); line-height: 0.95; text-transform: uppercase; display: flex; align-items: center; gap: 14px; }
.col h3 svg { flex: 0 0 auto; }
.pt { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding-top: 16px; border-top: 2px solid rgba(255, 255, 255, 0.22); }
.pt > i { font-style: normal; font-family: var(--display); font-weight: 900; font-size: 44px; line-height: 0.9; color: var(--sun); }
.col.down .pt > i { color: var(--red); }
.pt h4 { font-size: 20px; line-height: 1.25; font-weight: 700; }
.pt p { font-size: 15.5px; line-height: 1.45; color: #DCE4FF; margin-top: 4px; }
.pt q { font-style: italic; }
.tagrow { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tag { font-family: var(--mono); font-weight: 700; font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; background: rgba(255, 255, 255, 0.16); color: #fff; text-decoration: none; }
a.tag:hover { background: var(--sun); color: var(--ink); }
.tag.dk { background: var(--ice); color: var(--ink); }
.tag.tech { background: var(--red); color: #fff; }
.tag.man { background: var(--cobalt); color: #fff; }
.tag.own { background: var(--sun); color: var(--ink); }

/* line-up */
.floorbox { background: radial-gradient(90% 120% at 50% 20%, var(--cobalt-hi), var(--cobalt) 55%, var(--deep)); padding: 26px max(20px, env(safe-area-inset-right, 0px)) 0 max(20px, env(safe-area-inset-left, 0px)); color: #fff; position: relative; overflow: hidden; }
.floorscroll { overflow-x: auto; padding: 34px 0 4px; }
.floor { position: relative; display: grid; grid-template-columns: 50px repeat(6, auto) 62px; align-items: end; justify-content: center; gap: clamp(10px, 1.5vw, 26px); min-width: 820px; --fh: clamp(250px, 25.5vw, 400px); padding-bottom: 92px; margin-inline: auto; width: max-content; }
.floor::after { content: ""; position: absolute; left: -100vw; right: -100vw; bottom: 80px; height: 12px; background: repeating-linear-gradient(-45deg, var(--sun) 0 14px, var(--ink) 14px 28px); }
.ruler { position: relative; height: var(--fh); align-self: end; border-right: 3px solid #fff; }
.ruler span { position: absolute; right: 0; width: 12px; height: 2px; background: #fff; }
.ruler span b { position: absolute; right: 17px; top: -9px; font-family: var(--mono); font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.unit { position: relative; border: 0; background: none; color: inherit; padding: 0; display: flex; flex-direction: column; align-items: center; }
.unit::before { content: ""; position: absolute; left: 4%; right: 4%; bottom: -9px; height: 20px; border-radius: 50%; background: radial-gradient(closest-side, rgba(3, 6, 24, 0.62), rgba(3, 6, 24, 0.28) 55%, rgba(3, 6, 24, 0)); pointer-events: none; }
.unit img { position: relative; height: calc(var(--h) / 84 * var(--fh)); width: auto; max-width: none; filter: drop-shadow(0 3px 4px rgba(7, 14, 51, 0.3)); transition: transform 0.2s; transform-origin: bottom center; }
.unit:hover img { transform: translateY(-4px); }
.unit .ht { position: absolute; top: -26px; font-family: var(--mono); font-weight: 700; font-size: 12px; background: var(--night); padding: 3px 7px; border-radius: 6px; white-space: nowrap; }
.unit .plinth { position: absolute; top: 100%; margin-top: 22px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 1px; white-space: nowrap; }
.unit .plinth b { font-family: var(--mono); font-weight: 700; font-size: 13.5px; padding: 3px 9px; border-radius: 7px; }
.unit .plinth span { font-size: 12px; color: #C9D4FF; }
.unit .plinth em { font-style: normal; font-family: var(--mono); font-weight: 700; font-size: 10.5px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--sun); }
.unit .plinth em.bad { color: #FFB29E; }
.unit .plinth em.dim { color: #9FB0F0; text-transform: none; letter-spacing: 0; font-weight: 500; }
.unit[aria-pressed="true"] .plinth b { background: var(--sun); color: var(--ink); }
.unit.nofit img { opacity: 1; }
.person { align-self: end; display: flex; flex-direction: column; align-items: center; position: relative; }
.person svg { height: calc(69 / 84 * var(--fh)); width: auto; }
.person span { position: absolute; top: -24px; font-family: var(--mono); font-weight: 700; font-size: 11.5px; white-space: nowrap; color: #C9D4FF; }
.plate { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 22px; align-items: stretch; }
.card { border: 2px solid var(--ink); border-radius: 22px; background: #fff; padding: clamp(18px, 2.2vw, 28px); display: flex; flex-direction: column; gap: 14px; }
.card h3 { font-family: var(--display); font-weight: 900; font-size: clamp(40px, 4.4vw, 60px); line-height: 0.92; text-transform: uppercase; }
.card h3 small { display: block; font-family: var(--body); font-weight: 600; font-size: 16px; text-transform: none; color: var(--muted); margin-top: 6px; line-height: 1.3; }
.specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.specs div { padding: 11px 10px 11px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.specs dt { font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.specs dd { font-weight: 700; font-size: 17px; line-height: 1.25; }
.card.sun { background: var(--sun); }
.bigusd { font-family: var(--display); font-weight: 900; font-size: clamp(64px, 7vw, 100px); line-height: 0.85; }
.bigusd small { font-family: var(--body); font-weight: 700; font-size: 17px; margin-left: 6px; }
.kv { display: flex; flex-direction: column; gap: 8px; font-size: 15.5px; line-height: 1.4; }
.kv li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 9px; }
.kv svg { margin-top: 2px; }

/* display codes */
.codes { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: clamp(22px, 3vw, 44px); align-items: start; }
.ctl { background: linear-gradient(180deg, #1A2456, #0D1540); border: 2px solid #33408A; border-radius: 26px; padding: 22px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4); }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: rgba(255, 255, 255, 0.08); border-radius: 14px; padding: 5px; }
.tabs button { border: 0; background: transparent; color: #C9D4FF; border-radius: 10px; padding: 9px 8px; font-weight: 700; font-size: 14.5px; }
.tabs button[aria-pressed="true"] { background: var(--sun); color: var(--ink); }
.lcd { background: #050816; border-radius: 16px; border: 2px solid #000; box-shadow: inset 0 0 0 2px #1E2A66, inset 0 14px 30px rgba(0, 0, 0, 0.8); height: 150px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.lcd output { font-family: var(--mono); font-weight: 700; font-size: 86px; line-height: 1; letter-spacing: 0.06em; color: #FF4B33; text-shadow: 0 0 18px rgba(255, 75, 51, 0.75), 0 0 2px #FFB4A6; }
.lcd output.idle { color: #5ED3FF; text-shadow: 0 0 18px rgba(94, 211, 255, 0.65); }
.lcd small { position: absolute; left: 14px; bottom: 9px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; color: #6C7BC4; text-transform: uppercase; }
.ctl label { font-size: 13px; font-weight: 600; color: #C9D4FF; display: flex; flex-direction: column; gap: 6px; }
.ctl .inp { border-color: #5567C9; background: #0A1036; }
.ctl .inp input { color: #fff; text-transform: none; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips button { border: 2px solid #44539F; background: transparent; color: #fff; border-radius: 9px; padding: 5px 10px; font-family: var(--mono); font-weight: 700; font-size: 14px; min-width: 46px; }
.chips button[aria-pressed="true"] { background: #fff; color: var(--ink); border-color: #fff; }
.meaning { display: flex; flex-direction: column; gap: 18px; }
.meaning h3 { font-family: var(--display); font-weight: 900; font-size: clamp(40px, 5vw, 72px); line-height: 0.92; text-transform: uppercase; color: var(--sun); }
.meaning .what { font-size: 20px; line-height: 1.45; color: #fff; max-width: 46ch; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.fact { border: 1.5px solid #33408A; border-radius: 16px; padding: 14px 16px; font-size: 15px; line-height: 1.4; color: #DCE4FF; }
.fact b { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sun); margin-bottom: 4px; }
.keys { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.key { border-radius: 16px; background: #131C4D; padding: 14px 16px; font-size: 14.5px; line-height: 1.4; color: #DCE4FF; }
.key b { display: block; font-family: var(--mono); font-size: 13px; color: #fff; margin-bottom: 3px; }

/* faults */
.faults { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.fault { border: 1.5px solid var(--line); border-radius: 14px; padding: 20px 20px 18px; background: #fff; display: flex; flex-direction: column; gap: 10px; }
.fault h3 { font-family: var(--body); font-weight: 700; font-size: clamp(22px, 1.9vw, 26px); line-height: 1.15; letter-spacing: -0.01em; }
.fault p { font-size: 15.5px; line-height: 1.45; }
.fault .from { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--muted); line-height: 1.45; }
.fault.keep { background: var(--ink); color: #fff; border-color: var(--ink); }
.fault.keep ul { display: grid; grid-template-columns: minmax(0, 1fr); gap: 7px; font-size: 15px; line-height: 1.35; }
.fault.keep li { padding-left: 18px; position: relative; }
.fault.keep li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 9px; height: 9px; background: var(--sun); border-radius: 2px; }
.fault.keep .from { color: #B9C6FF; border-color: rgba(255, 255, 255, 0.2); }

/* papers */
.papers { display: flex; flex-direction: column; gap: 12px; }
.paper { display: grid; grid-template-columns: 56px minmax(0, 0.9fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.25fr); gap: 0; border: 2px solid var(--ink); border-radius: 14px; overflow: hidden; background: #fff; }
.paper > * { padding: 16px 18px; min-width: 0; }
.paper .n { background: var(--ink); color: var(--sun); font-family: var(--display); font-weight: 900; font-size: 40px; line-height: 1; display: flex; align-items: center; justify-content: center; padding: 0; }
.paper h3 { font-size: 18px; line-height: 1.25; font-weight: 700; align-self: center; }
.paper .side { border-left: 1px solid var(--line); font-size: 15.5px; line-height: 1.4; display: flex; flex-direction: column; gap: 4px; }
.paper .side b { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.paper .old span { text-decoration: line-through; text-decoration-color: var(--red); text-decoration-thickness: 2.5px; }
.paper .use { background: var(--sun); border-left: 2px solid var(--ink); font-weight: 600; }
.paper .use b { color: var(--sun-ink); }

/* voices */
.corpus { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 40px; }
.stat { border-radius: 14px; background: var(--ink); color: #fff; padding: 18px 20px; }
.stat b { font-family: var(--display); font-weight: 900; font-size: 66px; line-height: 0.9; color: var(--sun); display: block; }
.stat span { font-size: 14.5px; line-height: 1.35; display: block; margin-top: 6px; color: #DCE4FF; }
.stat.warn { background: var(--sun); color: var(--ink); }
.stat.warn p { font-size: 15.5px; line-height: 1.4; font-weight: 600; }
.stat.warn .cap { display: block; margin: 0 0 6px; color: var(--ink); font-size: 12px; }
.stat.warn p { color: var(--ink); }
.vcols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: start; }
.vcol { display: flex; flex-direction: column; gap: 12px; }
.vcol > h3 { font-family: var(--display); font-weight: 900; font-size: 38px; line-height: 1; text-transform: uppercase; display: flex; align-items: baseline; gap: 10px; }
.vcol > h3 small { font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: 0.04em; }
.vcol > p { font-size: 14.5px; color: var(--muted); line-height: 1.4; margin-top: -6px; }
.quote { border-radius: 14px; background: #fff; border: 1.5px solid var(--line); padding: 30px 18px 14px; display: flex; flex-direction: column; gap: 10px; position: relative; }
.quote::before { content: "\201C"; position: absolute; left: 14px; top: -14px; font-family: var(--display); font-weight: 900; font-size: 76px; line-height: 1; color: var(--sun); }
.quote.neg::before { color: var(--red); }
.quote p { font-size: 17px; line-height: 1.42; font-weight: 500; }
.quote.neg { border-color: var(--red); border-width: 1.5px; }
.quote.pos { background: var(--cobalt); color: #fff; border-color: var(--cobalt); }
.quote footer { display: flex; justify-content: space-between; gap: 10px; align-items: center; font-family: var(--mono); font-size: 11.5px; line-height: 1.35; }
.quote footer a { font-weight: 700; white-space: nowrap; text-decoration-color: var(--sun); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.quote.pos footer a { text-decoration-color: var(--sun); }

/* documents */
.docs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.doc { text-decoration: none; border-radius: 14px; background: #fff; border: 1.5px solid var(--line); padding: 20px; display: flex; flex-direction: column; gap: 6px; transition: transform 0.15s, box-shadow 0.15s; }
.doc:hover { transform: translateY(-2px); border-color: var(--ink); box-shadow: 0 12px 26px rgba(10, 18, 51, 0.12); }
.doc b { font-family: var(--body); font-weight: 700; font-size: clamp(22px, 1.9vw, 26px); line-height: 1.15; letter-spacing: -0.01em; }
.doc span { font-size: 14.5px; color: var(--muted); line-height: 1.4; }
.doc .cap { color: var(--cobalt); font-family: var(--body); font-size: 13.5px; letter-spacing: 0; text-transform: none; }
.doc i { font-style: normal; margin-top: auto; padding-top: 10px; font-weight: 700; font-size: 14.5px; }
.pdfs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; align-items: center; font-size: 14.5px; }
.pdfs a { font-family: var(--mono); font-weight: 700; font-size: 13px; border: 2px solid var(--ink); border-radius: 999px; padding: 5px 12px; text-decoration: none; }
.pdfs a:hover { background: var(--sun); }

/* buy */
.buy { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.25fr); gap: clamp(24px, 4vw, 60px); align-items: center; }
.buy .left { display: flex; flex-direction: column; gap: 18px; }
#bModel { display: block; color: var(--sun); }
.price { display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.price b { font-family: var(--display); font-weight: 900; font-size: clamp(76px, 9vw, 128px); line-height: 0.9; color: #fff; }
.price span { font-size: 16px; line-height: 1.35; max-width: 24ch; color: #DCE4FF; }
.sellers { display: flex; flex-direction: column; gap: 10px; }
.seller { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 14px; align-items: center; background: #fff; color: var(--ink); border-radius: 18px; padding: 14px 16px; }
.seller .rk { font-family: var(--display); font-weight: 900; font-size: 36px; line-height: 1; text-align: center; }
.seller h3 { font-size: 19px; font-weight: 700; line-height: 1.2; }
.seller p { font-size: 14px; line-height: 1.35; color: var(--muted); margin-top: 2px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: 12px; border: 2px solid var(--ink); background: var(--ink); color: #fff; font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; }
.btn.sun { background: var(--sun); color: var(--ink); }
.btn.ghost { background: transparent; color: #fff; border-color: #fff; }
.buy .more { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }

footer.site { background: var(--night); color: #C9D4FF; font-size: 14.5px; line-height: 1.5; }
footer.site .wrap { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 30px; padding-block: 40px 46px; }
footer.site .brand { color: #fff; margin-bottom: 12px; }
footer.site ul { display: flex; flex-direction: column; gap: 6px; }
footer.site a { text-decoration-color: rgba(255, 255, 255, 0.4); text-underline-offset: 3px; }

@media (max-width: 1080px) {
  .stage-in { grid-template-columns: minmax(0, 430px) minmax(0, 1fr); }
  .faults { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .paper { grid-template-columns: 48px minmax(0, 1fr) minmax(0, 1fr); }
  .paper h3 { grid-column: 2 / -1; padding-bottom: 4px; }
  .paper .n { grid-row: 1 / 4; }
  .paper .side { border-left: 0; border-top: 1px solid var(--line); }
  .paper .use { grid-column: 2 / -1; border-left: 0; border-top: 3px solid var(--ink); }
  .corpus { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  body { font-size: 16.5px; }
  .top nav { display: none; }
  .stage canvas { position: relative; inset: auto; height: clamp(340px, 94vw, 380px); margin-top: 6px; z-index: 0; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 56px); mask-image: linear-gradient(to bottom, transparent 0, #000 56px); }
  #tags { inset: 0 0 auto 0; height: 380px; }
  .tg.wideonly { display: none; }
  .tg { font-size: 11px; padding: 4px 7px; }
  .tg.pin { font-size: 12px; max-width: 150px; }
  #paneLife .fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #paneLife .fields .fld:last-child { grid-column: 1 / -1; }
  .stage { display: flex; flex-direction: column; }
  .stage-in { display: contents; }
  .lead { order: 0; padding: 20px max(16px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px)); position: relative; z-index: 2; }
  .stage canvas { order: 1; }
  .deck { order: 2; margin: 0 max(16px, env(safe-area-inset-right, 0px)) 16px max(16px, env(safe-area-inset-left, 0px)); position: relative; z-index: 2; }
  .track { order: 3; }
  .rail { order: 4; }
  .five { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .five .g3 { grid-column: 1 / -1; }
  .five .g2 { grid-column: 1 / -1; grid-row: 3; border: 0; padding: 0; margin: 4px 0 0; }
  .foot { grid-template-columns: minmax(0, 1fr); }
  .evs.three { grid-template-columns: minmax(0, 1fr); }
  .track .wrap { grid-template-columns: minmax(0, 1fr); }
  .play { margin-top: 0; width: 48px; height: 48px; }
  .evs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #evs { flex-wrap: wrap; }
  #evs .ev { flex: 1 1 40%; }
  #evs .ev.now { flex: 1 1 100%; order: -1; }
  .fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .take, .plate, .codes, .buy, .vcols, .docs { grid-template-columns: minmax(0, 1fr); }
  .faults { grid-template-columns: minmax(0, 1fr); }
  .keys, .facts { grid-template-columns: minmax(0, 1fr); }
  .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stage.nogl .fallback { position: relative; right: auto; bottom: auto; width: 70%; margin: 0 auto; }
  footer.site .wrap { grid-template-columns: minmax(0, 1fr); }
  .floor { --fh: 280px; min-width: 0; justify-content: start; margin-inline: 0; }
  .seller { grid-template-columns: 30px minmax(0, 1fr); }
  .seller .btn { grid-column: 1 / -1; }
  .lcd output { font-size: 70px; }
}
@media (max-width: 520px) {
  .inp em { padding-right: 6px; }
  .vrows span small { display: none; }
  .verdict h2 { font-size: 31px; }
  .read { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .read .rd:first-child { grid-column: 1 / -1; }
  .evs { grid-template-columns: minmax(0, 1fr); }
  .corpus { grid-template-columns: minmax(0, 1fr); }
  .modes button { font-size: 20px; padding-inline: 10px; }
  .paper { grid-template-columns: 40px minmax(0, 1fr); }
  .paper h3, .paper .side, .paper .use { grid-column: 2; }
  .paper .n { grid-row: 1 / 5; font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

/* Sub-pages. Same showroom floor as the home page: cobalt stage, safety tape, ink-bordered plates. New pieces only. */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-family: var(--mono); font-weight: 700; font-size: 12px; letter-spacing: 0.04em; color: #B9C6FF; }
.crumbs a { color: #fff; text-decoration: none; border-bottom: 2px solid rgba(255, 255, 255, 0.35); }
.crumbs a:hover { border-color: var(--sun); }
.crumbs span::before, .crumbs a + a::before { content: "/"; margin-right: 6px; color: #7F92E8; border: 0; }
h1.long { font-size: clamp(36px, 4.3vw, 66px); line-height: 0.9; }
.top nav a[aria-current="page"] { background: var(--sun); color: var(--ink); }

/* plain stage: headline left, units standing on the taped floor right */
.stage.plain .stage-in { grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr); min-height: 0; align-items: end; padding-block: clamp(26px, 3.4vw, 46px) 0; gap: 20px 34px; }
.stage.plain .lead { grid-column: 1; max-width: none; padding-bottom: clamp(26px, 3vw, 44px); gap: 16px; }
.stage.plain .lead p { font-size: clamp(17px, 1.45vw, 19.5px); line-height: 1.5; max-width: 58ch; color: #E3E9FF; }
.stage.plain .lead p b { color: #fff; background: rgba(255, 201, 51, 0.22); padding: 0 0.18em; border-radius: 4px; font-weight: 700; }
.shot { grid-column: 2; align-self: end; position: relative; display: flex; align-items: flex-end; justify-content: flex-end; gap: clamp(8px, 1.4vw, 22px); --fh: min(var(--fhd, 380px), var(--fhv, 25vw)); padding-inline: 6px; min-width: 0; }
.shot figure { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; margin-bottom: 0; }
.shot figure::before { content: ""; position: absolute; left: 2%; right: 2%; bottom: -8px; height: 18px; border-radius: 50%; background: radial-gradient(closest-side, rgba(3, 6, 24, 0.6), rgba(3, 6, 24, 0.25) 55%, rgba(3, 6, 24, 0)); }
.shot img { position: relative; height: calc(var(--h) / 84 * var(--fh)); width: auto; max-width: none; filter: drop-shadow(0 3px 4px rgba(7, 14, 51, 0.3)); }
.shot figcaption { position: absolute; top: -24px; font-family: var(--mono); font-weight: 700; font-size: 11.5px; background: var(--night); color: #fff; padding: 3px 7px; border-radius: 6px; white-space: nowrap; }
.shot .flip img { transform: scaleX(-1); }
.stage.plain .deck { grid-column: 1 / -1; margin-bottom: 26px; }
.stage.solo .rail { display: none; }
.stage .tape { position: relative; z-index: 3; }

/* intro band */
.intro { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr); gap: clamp(22px, 4vw, 60px); align-items: start; }
.intro .txt { display: flex; flex-direction: column; gap: 16px; }
.intro .txt p { font-size: clamp(17.5px, 1.5vw, 20px); line-height: 1.55; max-width: 66ch; }
.stamp { border: 2px solid var(--ink); border-radius: 18px; padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; background: #fff; }
.stamp .cap { color: var(--cobalt); }
.stamp li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 9px; font-size: 15px; line-height: 1.4; }
.stamp li svg { margin-top: 1px; }
.band.tight { padding-block: clamp(36px, 4.4vw, 60px); }

/* running text inside a band */
.flow { display: flex; flex-direction: column; gap: 18px; }
.flow > p, .flow > .bul, .flow > .steps { max-width: 74ch; font-size: 17px; line-height: 1.58; }
.flow b { font-weight: 700; }
.band.night .flow > p, .band.cobalt .flow > p { color: #E3E9FF; }
.h4 { font-family: var(--mono); font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cobalt); margin-top: 6px; }
code { font-family: var(--mono); font-size: 0.92em; background: var(--ice); padding: 1px 6px; border-radius: 6px; }
.bul { display: flex; flex-direction: column; gap: 9px; }
.bul > li { position: relative; padding-left: 24px; }
.bul > li::before { content: ""; position: absolute; left: 2px; top: 0.56em; width: 10px; height: 10px; background: var(--sun); border: 2px solid var(--ink); border-radius: 3px; }
.bul ul { margin-top: 7px; display: flex; flex-direction: column; gap: 6px; }
.bul ul li { position: relative; padding-left: 18px; font-size: 0.95em; }
.bul ul li::before { content: ""; position: absolute; left: 2px; top: 0.7em; width: 8px; height: 2px; background: var(--ink); }
.steps { display: flex; flex-direction: column; gap: 0; counter-reset: st; border-top: 2px solid var(--ink); }
.steps > li { counter-increment: st; display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); align-items: start; }
.steps > li::before { content: counter(st); font-family: var(--display); font-weight: 900; font-size: 40px; line-height: 0.9; color: var(--cobalt); }
.band.night .steps > li::before { color: var(--sun); }
.soon { border-bottom: 2px dotted var(--muted); cursor: help; }
.ph { font-family: var(--mono); font-size: 0.82em; border: 1.5px dashed var(--muted); color: var(--muted); border-radius: 6px; padding: 1px 7px; white-space: nowrap; }
.nr { color: var(--muted); font-style: italic; }

/* tables: the spec plate, widened */
.tblw { overflow-x: auto; border: 2px solid var(--ink); border-radius: 18px; background: #fff; max-width: 100%; }
table.sheet { border-collapse: collapse; width: 100%; font-size: 15px; line-height: 1.4; }
.sheet th { text-align: left; font-family: var(--mono); font-weight: 700; font-size: 11px; letter-spacing: 0.07em; text-transform: uppercase; background: var(--ink); color: #fff; padding: 11px 14px; vertical-align: bottom; }
.sheet td { padding: 11px 14px; border-top: 1px solid var(--line); vertical-align: top; min-width: 96px; }
.sheet td:first-child { font-weight: 700; }
.sheet td.code { font-family: var(--mono); font-size: 14px; white-space: nowrap; }
.sheet tbody tr:nth-child(even) td { background: #F6F8FF; }
.sheet tr:target td { background: var(--sun) !important; }
.sheet td.num { font-family: var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.band.night .tblw { border-color: #33408A; }

/* sub-sections under a bridge heading */
.subs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.subcard { border: 1.5px solid var(--line); border-radius: 16px; background: #fff; padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.band.ice .subcard { border-color: #B4C2F0; }
.subcard h3 { font-family: var(--body); font-weight: 700; font-size: clamp(20px, 1.7vw, 23px); line-height: 1.2; letter-spacing: -0.01em; text-wrap: balance; }
.subcard p, .subcard .bul, .subcard .steps { font-size: 15.5px; line-height: 1.5; }
.subcard .bul { gap: 6px; }
.subwide { display: flex; flex-direction: column; gap: 16px; padding-top: 26px; border-top: 3px solid var(--ink); min-width: 0; }
.subwide > h3 { font-family: var(--display); font-weight: 900; font-size: clamp(30px, 3vw, 44px); line-height: 0.95; text-transform: uppercase; text-wrap: balance; }
.stack { display: flex; flex-direction: column; gap: 28px; }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px 16px; padding-top: 12px; }
.srcs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 30px; font-family: var(--mono); font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.srcs li { overflow-wrap: anywhere; }
.srcs a { text-decoration-color: var(--sun); text-decoration-thickness: 2px; text-underline-offset: 3px; color: var(--ink); }
.fig { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 24px; align-items: center; border-radius: 22px; background: radial-gradient(90% 120% at 30% 20%, var(--cobalt-hi), var(--cobalt) 55%, var(--deep)); color: #fff; padding: 22px 26px 0; overflow: hidden; }
.fig .pic { display: flex; justify-content: center; align-items: flex-end; position: relative; min-height: 200px; }
.fig .pic::after { content: ""; position: absolute; left: -30px; right: -30px; bottom: 0; height: 10px; background: repeating-linear-gradient(-45deg, var(--sun) 0 14px, var(--ink) 14px 28px); }
.fig .pic img { position: relative; z-index: 1; max-height: 300px; width: auto; margin-bottom: 10px; filter: drop-shadow(0 4px 6px rgba(7, 14, 51, 0.35)); }
.fig figcaption { font-size: 15px; line-height: 1.45; color: #DCE4FF; padding-bottom: 22px; }

/* buy hand-off */
.buyband .flow > p { color: #E8EDFF; max-width: 70ch; }
.buyband .tlink, .buyband .flow a { color: #fff; }
.buyband .bul > li { color: #fff; }
.buyband .tblw { color: var(--ink); }
.buyband .soon { border-color: #B9C6FF; }
.buygrid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr); gap: clamp(22px, 4vw, 56px); align-items: start; }

/* category shelf and family cards */
.shelf { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.shelf a, .shelf div.c { text-decoration: none; border: 2px solid var(--ink); border-radius: 18px; background: #fff; display: grid; grid-template-rows: 132px auto; overflow: hidden; transition: transform 0.15s, box-shadow 0.15s; color: var(--ink); }
.shelf a:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(10, 18, 51, 0.16); }
.shelf .ph2 { background: radial-gradient(90% 120% at 50% 10%, var(--cobalt-hi), var(--cobalt) 60%, var(--deep)); display: flex; align-items: flex-end; justify-content: center; position: relative; }
.shelf .ph2::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 7px; background: repeating-linear-gradient(-45deg, var(--sun) 0 10px, var(--ink) 10px 20px); }
.shelf .ph2 img { max-height: 112px; max-width: 78%; width: auto; position: relative; z-index: 1; margin-bottom: 7px; filter: drop-shadow(0 3px 4px rgba(7, 14, 51, 0.35)); }
.shelf .tx { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 3px; }
.shelf .tx b { font-weight: 700; font-size: 17px; line-height: 1.2; }
.shelf .tx span { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.shelf .tx i { font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--cobalt); margin-top: 3px; }
.line-h { font-family: var(--display); font-weight: 900; font-size: 30px; text-transform: uppercase; display: flex; align-items: baseline; gap: 12px; margin: 22px 0 12px; }
.line-h small { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: 0.04em; }

/* tools */
.tool { border: 2px solid var(--ink); border-radius: 22px; background: #fff; padding: clamp(16px, 2vw, 24px); display: flex; flex-direction: column; gap: 14px; color: var(--ink); --focus: var(--ink); }
.tool .row { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.tool .out { border-radius: 16px; background: var(--sun); padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.tool .out h3 { font-family: var(--display); font-weight: 900; font-size: clamp(28px, 2.8vw, 38px); line-height: 0.95; text-transform: uppercase; }
.tool .out.dk { background: var(--ink); color: #fff; }
.clock { display: flex; flex-direction: column; gap: 6px; }
.clock .bar { position: relative; height: 30px; border-radius: 8px; background: var(--ice); overflow: hidden; border: 1.5px solid var(--line); }
.clock .bar i { position: absolute; inset: 0 auto 0 0; background: var(--cobalt); }
.clock .bar.c i { background: var(--ink); }
.clock .bar span { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); font-family: var(--mono); font-weight: 700; font-size: 11.5px; letter-spacing: 0.05em; text-transform: uppercase; color: #fff; white-space: nowrap; }
.clock .bar.none span { color: var(--muted); }
.clock .axis { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11.5px; font-weight: 700; color: var(--muted); }
.clock .today { position: absolute; top: 0; bottom: 0; width: 3px; background: var(--red); }
.dates { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 8px; }
.chipset { display: flex; flex-wrap: wrap; gap: 6px; }
.chipset button { border: 2px solid var(--ink); background: #fff; border-radius: 999px; padding: 5px 12px; font-family: var(--mono); font-weight: 700; font-size: 12.5px; }
.chipset button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.parts2 { display: flex; flex-wrap: wrap; gap: 8px; align-items: stretch; }
.seg { border: 2px solid var(--ink); border-radius: 14px; padding: 9px 12px 10px; display: flex; flex-direction: column; gap: 2px; min-width: 92px; background: #fff; }
.seg b { font-family: var(--display); font-weight: 900; font-size: 34px; line-height: 0.95; }
.seg span { font-size: 13.5px; line-height: 1.3; font-weight: 600; max-width: 26ch; }
.seg small { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.seg.ours { background: var(--ice); border-style: dashed; }
.seg.atosa { background: var(--sun); }
.doclist { display: flex; flex-direction: column; }
.doclist a { display: grid; grid-template-columns: 110px minmax(0, 1.6fr) minmax(0, 1fr) 96px; gap: 12px; padding: 10px 4px; border-top: 1px solid var(--line); text-decoration: none; font-size: 14.5px; align-items: baseline; }
.doclist a:hover { background: var(--ice); }
.doclist a b { font-weight: 700; overflow-wrap: anywhere; }
.doclist a span { font-family: var(--mono); font-size: 12px; color: var(--muted); overflow-wrap: anywhere; }
.doclist .ty { font-family: var(--mono); font-weight: 700; font-size: 10.5px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--cobalt); }
.count { font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.chk { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; align-items: start; cursor: pointer; }
.chk input { width: 22px; height: 22px; accent-color: var(--cobalt); margin: 2px 0 0; }
.swingplan, .plug { width: 100%; height: auto; display: block; }
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.glance { display: grid; grid-template-columns: minmax(0, 0.55fr) minmax(0, 1.45fr); gap: 22px; align-items: start; }
.glance .pic { border-radius: 22px; background: radial-gradient(90% 120% at 50% 10%, var(--cobalt-hi), var(--cobalt) 60%, var(--deep)); display: flex; justify-content: center; align-items: flex-end; padding: 26px 16px 0; position: relative; overflow: hidden; position: sticky; top: 70px; }
.glance .pic::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: repeating-linear-gradient(-45deg, var(--sun) 0 14px, var(--ink) 14px 28px); }
.glance .pic img { position: relative; z-index: 1; max-height: 420px; width: auto; margin-bottom: 10px; }
.foot4 { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(4, minmax(0, 1fr)); gap: 26px; padding-block: 40px 46px; }
.foot4 h4 { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sun); margin-bottom: 10px; }
.foot4 ul { display: flex; flex-direction: column; gap: 6px; }
footer.site .foot4 a { text-decoration: none; }
footer.site .foot4 a:hover { text-decoration: underline; text-decoration-color: var(--sun); }

@media (max-width: 1080px) {
  .foot4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot4 > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .stage.plain { display: block; }
  .stage.plain .stage-in { display: grid; grid-template-columns: minmax(0, 1fr); padding-top: 22px; }
  .stage.plain .lead { order: 0; padding: 0 0 6px; grid-column: 1; }
  .shot { grid-column: 1; --fh: var(--fhm, 210px); margin-top: 26px; justify-content: center; gap: 10px; }
  .stage.plain .deck { margin-inline: 0; }
  .intro, .subs, .buygrid, .duo, .glance, .fig { grid-template-columns: minmax(0, 1fr); }
  .glance .pic { position: relative; top: auto; }
  .glance .pic img { max-height: 260px; }
  .srcs { grid-template-columns: minmax(0, 1fr); }
  .doclist a { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .sheet { font-size: 14px; }
  .sheet th, .sheet td { padding: 9px 11px; }
  h1.long { font-size: clamp(34px, 9.4vw, 46px); }
}

/* pass 2 */
.tblw, .subcard, .tool { color: var(--ink); }
#intro { padding-bottom: 0; }
.pt .srcl { font-family: var(--mono); font-size: 12px; line-height: 1.45; color: #B9C6FF; margin-top: 7px; }
.pt .srcl a, .pt p a { color: #fff; }
.col .pt p b { color: #fff; }
.railfind { flex: 0 0 170px; display: flex; align-items: center; }
.railfind input { width: 100%; border: 2px solid rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.1); color: #fff; border-radius: 12px; padding: 9px 11px; font-family: var(--mono); font-weight: 700; font-size: 13.5px; }
.railfind input::placeholder { color: #B9C6FF; }
.msgs { display: flex; flex-direction: column; gap: 8px; }
.msg { border-left: 5px solid var(--red); background: #FFF1EC; border-radius: 10px; padding: 10px 14px; font-size: 14.5px; line-height: 1.45; }
.msg.note { border-color: var(--cobalt); background: var(--ice); }
.dt { border: 2px solid var(--ink); border-radius: 14px; padding: 11px 13px 12px; display: flex; flex-direction: column; gap: 3px; background: #fff; }
.dt .cap { font-size: 10.5px; color: var(--muted); }
.dt b { font-family: var(--display); font-weight: 900; font-size: 30px; line-height: 1; }
.dt span { font-size: 13px; line-height: 1.35; font-weight: 600; }
.dt.on { background: var(--sun); } .dt.over { background: var(--ice); border-color: var(--line); color: var(--muted); }
.tool label.fld span { font-size: 13px; font-weight: 600; }
.tool .hint { font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.swbox { border: 2px solid var(--ink); border-radius: 22px; background: #fff; padding: 18px; }
.swbox figcaption { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-top: 10px; line-height: 1.5; }
.plugcard { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 18px; align-items: center; border: 2px solid var(--ink); border-radius: 22px; background: var(--sun); padding: 18px; max-width: 560px; }
.plugcard .three { display: grid; grid-template-columns: repeat(3, auto); gap: 14px; }
.plugcard .three b { display: block; font-family: var(--display); font-weight: 900; font-size: 40px; line-height: 0.95; }
.plugcard .three span { font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; }
@media (max-width: 860px) { .plugcard { grid-template-columns: minmax(0, 1fr); } .railfind { flex-basis: 140px; } }
.stage.plain .tool { grid-column: 1 / -1; margin-bottom: 28px; border: 0; box-shadow: 0 30px 70px rgba(7, 14, 51, 0.45); position: relative; z-index: 2; }
@media (max-width: 860px) { .shot figcaption { position: static; order: -1; margin-bottom: 6px; white-space: normal; text-align: center; max-width: 120px; font-size: 10.5px; } }
.rcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.rcard { border: 2px solid var(--ink); border-radius: 18px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; background: #fff; }
.rcard .ph2 { background: radial-gradient(90% 120% at 50% 10%, var(--cobalt-hi), var(--cobalt) 60%, var(--deep)); display: flex; justify-content: center; align-items: flex-end; height: 150px; position: relative; }
.rcard .ph2::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 7px; background: repeating-linear-gradient(-45deg, var(--sun) 0 10px, var(--ink) 10px 20px); }
.rcard .ph2 img { max-height: 132px; width: auto; position: relative; z-index: 1; margin-bottom: 7px; }
.rcard .rbody { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; }
.rcard .rbody > b { font-size: 18px; }
.rcard .rbody > span { font-size: 12.5px; color: var(--muted); }
.rcard dl { display: flex; flex-direction: column; gap: 6px; margin: 4px 0 0; }
.rcard dl div { display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); padding-top: 6px; }
.rcard dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.rcard dd { margin: 0; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.rcard dd small { display: block; font-weight: 500; font-size: 11.5px; color: var(--muted); }
.rcard .tot { background: var(--sun); margin: 4px -14px 0; padding: 8px 14px; border-top: 0; }
.rcard .tot dt { color: var(--ink); }
.est { font-style: normal; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; background: var(--ice); color: var(--cobalt); padding: 1px 6px; border-radius: 5px; margin-left: 4px; }
.frm { display: block; font-size: 11.5px; margin-top: 6px; white-space: normal; }
