/* THE RACK — the page is a stack of mounted instrument units. */
:root {
  --desk: #101314;
  --desk-2: #181c1e;
  --panel: #d5dad6;
  --panel-hi: #eef2ee;
  --panel-lo: #aab2ad;
  --char: #272c2f;
  --char-hi: #3a4044;
  --cobalt: #0f6b62;
  --cobalt-hi: #1f9a8c;
  --ink: #101614;
  --paper: #f2f4ef;
  --lime: #c8ff3c;
  --red: #ff3b30;
  --yellow: #ffd60a;
  --lcd: #0c1a10;
  --lcd-text: #b8ff5a;
  --lcd-dim: #86c85a;
  --text-light: #e9eeea;
  --text-mute: #9aa6a0;

  --silk: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --dot: "DotGothic16", "Courier New", monospace;
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease: cubic-bezier(.22, .9, .25, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; color: var(--text-light); font: 400 1.125rem/1.5 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden;
  background:
    radial-gradient(1200px 700px at 50% -10%, #23292c 0%, transparent 70%),
    var(--desk);
}
body::before { /* fine desk grain */
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .22; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 700; }
button { font: inherit; color: inherit; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; box-shadow: 0 0 0 7px var(--lime); }
.unit.cobalt :focus-visible, .unit.char :focus-visible, .topstrip :focus-visible, .back :focus-visible { outline-color: var(--lime); box-shadow: none; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--lime); color: var(--ink); padding: 10px 16px; border-radius: 6px; font: 700 .9rem/1 var(--silk); letter-spacing: .1em; text-transform: uppercase; }
.skip:focus { top: 12px; }
.nojs { margin: 0; padding: 14px 20px; background: var(--yellow); color: var(--ink); font-weight: 600; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
main, .topstrip, .back { position: relative; z-index: 1; }

/* ───────── top strip ───────── */
.topstrip { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 14px; padding: 10px clamp(12px, 2.4vw, 32px); background: linear-gradient(#262b2e, #181c1e); border-bottom: 2px solid #000; box-shadow: 0 8px 24px #0009; }
.plate { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 10px; border-radius: 6px; text-decoration: none; color: var(--ink); font: 700 1.25rem/1 var(--silk); letter-spacing: .12em; text-transform: uppercase;
  background: repeating-linear-gradient(90deg, #ffffff30 0 1px, transparent 1px 3px), linear-gradient(#e6ebe7, #b4bcb7); box-shadow: inset 0 1px 0 #fff, inset 0 -2px 0 #0003, 0 2px 0 #000a; }
.plate svg { width: 26px; height: 24px; color: var(--cobalt); }
.strip-nav { display: flex; gap: 6px; margin-inline: auto; flex-wrap: wrap; justify-content: center; }
.key { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 6px; background: linear-gradient(#3a4044, #23282b); color: var(--text-light); font: 600 .8125rem/1 var(--silk); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; box-shadow: inset 0 1px 0 #fff3, 0 3px 0 #000, 0 4px 6px #0008; transition: transform .12s, box-shadow .12s; }
.key:hover { color: var(--lime); }
.key:active { transform: translateY(3px); box-shadow: inset 0 1px 0 #fff2, 0 0 0 #000; }
.key .led { width: 7px; height: 7px; }
.strip-r { display: flex; align-items: center; gap: 12px; }
.snd { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; cursor: pointer; font: 600 .75rem/1 var(--silk); letter-spacing: .14em; text-transform: uppercase; color: var(--text-mute); }
.snd .tg { width: 34px; height: 18px; border-radius: 10px; background: #000; box-shadow: inset 0 2px 3px #000, 0 1px 0 #fff2; position: relative; }
.snd .tg::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: linear-gradient(#cfd5d1, #7d8782); transition: transform .25s var(--spring); }
.snd[aria-pressed="true"] .tg::after { transform: translateX(16px); background: linear-gradient(#e6ff9c, var(--lime)); }
.snd[aria-pressed="true"] { color: var(--lime); }

/* ───────── rack units ───────── */
.rack { max-width: 1280px; margin: 0 auto; padding: clamp(28px, 4vw, 56px) clamp(8px, 2vw, 24px) 0; }
.unit { position: relative; display: grid; grid-template-columns: 30px 1fr 30px; border-radius: 10px; filter: drop-shadow(0 26px 30px #000c); scroll-margin-top: 80px; }
.ear { position: relative; background: repeating-linear-gradient(0deg, #ffffff0d 0 1px, transparent 1px 3px), linear-gradient(90deg, #7a837e, #aeb6b1 60%, #8b948f); }
.ear:first-child { border-radius: 10px 0 0 10px; box-shadow: inset 2px 0 0 #fff4, inset -2px 0 0 #0004; }
.ear:last-child { border-radius: 0 10px 10px 0; box-shadow: inset -2px 0 0 #fff4, inset 2px 0 0 #0004; }
.ear::before, .ear::after { content: ""; position: absolute; left: 50%; width: 14px; height: 22px; margin-left: -7px; border-radius: 7px; background: #0b0d0e; box-shadow: inset 0 3px 5px #000, 0 1px 0 #fff5; }
.ear::before { top: 16px; } .ear::after { bottom: 16px; }
.face { position: relative; padding: clamp(22px, 3vw, 38px) clamp(20px, 3.4vw, 46px) clamp(24px, 3vw, 40px); color: var(--ink); min-width: 0;
  background: repeating-linear-gradient(90deg, #ffffff14 0 1px, transparent 1px 3px), linear-gradient(var(--panel-hi), var(--panel) 12%, var(--panel) 88%, var(--panel-lo));
  box-shadow: inset 0 2px 0 #fff, inset 0 -3px 0 #0003; }
.unit.cobalt .face { color: #fff; background: repeating-linear-gradient(90deg, #ffffff10 0 1px, transparent 1px 3px), linear-gradient(var(--cobalt-hi), var(--cobalt) 14%, #0c5a52 90%, #08433d); box-shadow: inset 0 2px 0 #ffffff55, inset 0 -3px 0 #0005; }
.unit.char .face { color: var(--text-light); background: repeating-linear-gradient(90deg, #ffffff0a 0 1px, transparent 1px 3px), linear-gradient(var(--char-hi), var(--char) 14%, #222629 90%, #1a1d1f); box-shadow: inset 0 2px 0 #ffffff33, inset 0 -3px 0 #0006; }
.screw { position: absolute; width: 16px; height: 16px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #98a19c 45%, #5e6762); box-shadow: 0 1px 2px #0007, inset 0 -1px 1px #0005; }
.screw::after { content: ""; position: absolute; left: 3px; right: 3px; top: 7px; height: 2px; background: #3a403d; transform: rotate(var(--r, 35deg)); border-radius: 1px; }
.screw.tl { top: 10px; left: 10px; } .screw.tr { top: 10px; right: 10px; --r: 80deg; } .screw.bl { bottom: 10px; left: 10px; --r: 10deg; } .screw.br { bottom: 10px; right: 10px; --r: 120deg; }

/* silkscreen type */
.silk { font-family: var(--silk); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .875rem; line-height: 1.15; opacity: .95; }
.unit:not(.cobalt):not(.char) .silk, .hero .silk { color: #2d3437; opacity: 1; }
.u-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: clamp(16px, 2vw, 26px); }
.u-no { font: 700 .875rem/1 var(--silk); letter-spacing: .16em; padding: 4px 9px; border-radius: 3px; background: currentColor; }
.u-no span { color: var(--panel); mix-blend-mode: normal; }
.unit.cobalt .u-no span { color: var(--cobalt); } .unit.char .u-no span { color: var(--char); }
.u-title { font: 700 clamp(2.1rem, 1.2rem + 3.4vw, 4.2rem)/.92 var(--silk); letter-spacing: .01em; text-transform: uppercase; max-width: 16ch; text-wrap: balance; }
.u-sub { font: 400 1.0625rem/1.45 var(--body); max-width: 46ch; margin-top: 10px; opacity: .9; }
.u-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 3vw, 44px); align-items: start; }

/* dymo label strip */
.dymo { display: inline-block; font: 700 var(--sz, 1.6rem)/1 var(--silk); letter-spacing: .06em; text-transform: uppercase; color: #fff; padding: .28em .6em .24em; border-radius: 4px; transform: rotate(var(--r, 0deg));
  background: linear-gradient(#26292b, #0f1112); text-shadow: 0 1px 0 #000, 0 -1px 0 #ffffff55; box-shadow: 0 2px 0 #000a, 0 6px 10px #0006, inset 0 1px 0 #ffffff22; }
.dymo { white-space: nowrap; }
.dymo-big { --sz: clamp(2.6rem, .6rem + 5.6vw, 6.2rem); border-radius: 8px; }

/* LEDs */
.led { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #2a3a2c; box-shadow: inset 0 1px 2px #000a, 0 0 0 1px #0007; transition: background .15s, box-shadow .15s; flex: none; }
.led.on { background: var(--lime); box-shadow: 0 0 8px 2px #c8ff3caa, 0 0 18px 4px #c8ff3c55, inset 0 -1px 2px #5a8a00; }
.led.red { background: #4a1a18; } .led.red.on { background: var(--red); box-shadow: 0 0 8px 2px #ff3b30aa, 0 0 18px 4px #ff3b3055; }
.led.yel { background: #4a420f; } .led.yel.on { background: var(--yellow); box-shadow: 0 0 8px 2px #ffd60aaa, 0 0 18px 4px #ffd60a55; }

/* LCD */
.lcd { position: relative; background: var(--lcd); color: var(--lcd-text); border-radius: 8px; padding: 14px 16px; font: 400 clamp(.9rem, .8rem + .35vw, 1.1rem)/1.45 var(--dot); letter-spacing: .02em; text-shadow: 0 0 6px #b8ff5a88; min-height: 3.6em;
  box-shadow: inset 0 3px 10px #000, inset 0 0 0 2px #000, 0 0 0 3px #00000040, 0 1px 0 #fff6; overflow: hidden; }
.lcd::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, #00000014 0 1px, transparent 1px 3px), radial-gradient(120% 90% at 30% 0%, #ffffff12, transparent 55%); }
.lcd .dim { color: var(--lcd-dim); text-shadow: none; }
.lcd .row { display: flex; justify-content: space-between; gap: 14px; }
.lcd .row b { font-weight: 400; color: #e6ffb0; }
.lcd .cur::after { content: "█"; margin-left: 2px; }
@media (prefers-reduced-motion: no-preference) { .lcd .cur::after { animation: blink 1s steps(1) infinite; } }
@keyframes blink { 50% { opacity: 0; } }
.unit.char .lcd, .unit.cobalt .lcd { color: var(--lcd-text); }

/* seven segment */
.seg-wrap { display: inline-flex; flex-direction: column; gap: 6px; }
.seg { display: inline-flex; align-items: flex-end; gap: 3px; padding: 10px 14px; background: var(--lcd); border-radius: 8px; box-shadow: inset 0 3px 10px #000, inset 0 0 0 2px #000, 0 1px 0 #fff6; }
.seg svg { width: 26px; height: 46px; overflow: visible; }
.seg .dpt { width: 8px; height: 46px; }
.seg .off { fill: #17261a; } .seg .on { fill: var(--lcd-text); filter: drop-shadow(0 0 4px #b8ff5acc); }
.seg .unit-t { align-self: flex-end; margin: 0 0 4px 8px; font: 400 .875rem/1 var(--dot); color: var(--lcd-dim); }

/* knob */
.knob { --size: 132px; position: relative; width: var(--size); height: var(--size); border-radius: 50%; touch-action: none; cursor: grab; margin: 22px; flex: none; }
.knob:active { cursor: grabbing; }
.knob::before { /* scale ring */
  content: ""; position: absolute; inset: -16px; border-radius: 50%; pointer-events: none;
  background: repeating-conic-gradient(from 225deg, currentColor 0 1.4deg, transparent 1.4deg 27deg);
  -webkit-mask: radial-gradient(circle, transparent 66%, #000 67% 100%), conic-gradient(from 225deg, #000 0 270deg, transparent 270deg); -webkit-mask-composite: source-in;
  mask: radial-gradient(circle, transparent 66%, #000 67% 100%), conic-gradient(from 225deg, #000 0 270deg, transparent 270deg); mask-composite: intersect; opacity: .8; }
.knob .cap { position: absolute; inset: 0; border-radius: 50%; transform: rotate(var(--a, -135deg)); transition: transform .08s linear;
  background: repeating-conic-gradient(#ffffff14 0 3deg, transparent 3deg 6deg), radial-gradient(circle at 35% 28%, #6b7377, #2b3033 55%, #15181a);
  box-shadow: inset 0 2px 2px #fff4, inset 0 -3px 6px #000a, 0 10px 16px #0009, 0 0 0 4px #0c0e0f, 0 0 0 5px #ffffff22; }
.knob .cap::after { content: ""; position: absolute; left: 50%; top: 7%; width: 6px; height: 24%; margin-left: -3px; border-radius: 3px; background: #fff; box-shadow: 0 0 6px #fff9; }
.knob.big { --size: 168px; }
.knob.blue .cap { background: repeating-conic-gradient(#ffffff18 0 3deg, transparent 3deg 6deg), radial-gradient(circle at 35% 28%, #62d6c6, #0f6b62 55%, #06352f); }
.knob-lbl { display: grid; justify-items: center; gap: 6px; }
.knob-ends { display: flex; justify-content: space-between; width: calc(var(--size, 132px) + 34px); margin-top: -14px; }

/* fader */
.fader { position: relative; height: 64px; touch-action: pan-y; cursor: grab; margin: 6px 0; }
.fader .slot { position: absolute; left: 0; right: 0; top: 50%; height: 10px; margin-top: -5px; border-radius: 6px; background: #05080a; box-shadow: inset 0 3px 4px #000, 0 1px 0 #ffffff55; }
.fader .ticks { position: absolute; left: 0; right: 0; top: 6px; height: 8px; background: repeating-linear-gradient(90deg, currentColor 0 2px, transparent 2px calc(100% / 10)); opacity: .55; }
.fader .fcap { position: absolute; top: 4px; width: 36px; height: 56px; margin-left: -18px; left: calc(var(--v, .2) * 100%); border-radius: 6px; transition: left .06s linear;
  background: repeating-linear-gradient(90deg, #00000044 0 2px, transparent 2px 7px), linear-gradient(#f4f7f4, #aeb5b0); box-shadow: 0 5px 8px #0009, inset 0 1px 0 #fff, inset 0 -2px 0 #0004; }
.fader .fcap::after { content: ""; position: absolute; left: 4px; right: 4px; top: 50%; height: 4px; margin-top: -2px; background: var(--ink); border-radius: 2px; }
.fader:focus-visible { outline-offset: 6px; }

/* pads */
.pad { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; min-width: 64px; padding: 0 20px; border: 0; border-radius: 8px; cursor: pointer; font: 700 .9375rem/1 var(--silk); letter-spacing: .14em; text-transform: uppercase; color: #f0f4f0; text-decoration: none;
  background: linear-gradient(#4a5155, #262b2e); box-shadow: inset 0 1px 0 #fff4, inset 0 -2px 0 #0005, 0 5px 0 #05070800, 0 6px 0 #000, 0 9px 12px #0009; transition: transform .1s, box-shadow .1s; }
.pad:hover { filter: brightness(1.12); }
.pad:active, .pad.down { transform: translateY(5px); box-shadow: inset 0 1px 0 #fff3, inset 0 -1px 0 #0005, 0 1px 0 #000; }
.pad .led { position: absolute; top: 7px; right: 8px; width: 8px; height: 8px; }
.pad.prime { background: linear-gradient(#e0ff7a, var(--lime) 40%, #9fd01a); color: var(--ink); box-shadow: inset 0 1px 0 #fffa, inset 0 -2px 0 #0004, 0 6px 0 #5d7a0a, 0 9px 12px #0009; }
.pad.prime:active { box-shadow: inset 0 1px 0 #fff8, 0 1px 0 #5d7a0a; }
.pad.light { background: linear-gradient(#fbfdfb, #c3cac5); color: var(--ink); box-shadow: inset 0 1px 0 #fff, inset 0 -2px 0 #0003, 0 6px 0 #6f7873, 0 9px 12px #0008; }
.pad.light:active { box-shadow: inset 0 1px 0 #fff, 0 1px 0 #6f7873; }
.pad[disabled] { cursor: not-allowed; filter: grayscale(.6) brightness(.7); }
.pad.latch[aria-pressed="true"] { transform: translateY(4px); box-shadow: inset 0 1px 0 #fff3, 0 2px 0 #000; }
.pads { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* flip switch with guard */
.sw { position: relative; width: 62px; height: 74px; flex: none; }
.sw .base { position: absolute; left: 12px; bottom: 6px; width: 38px; height: 38px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #9aa39e 55%, #5b625e); box-shadow: 0 4px 6px #0008, inset 0 -2px 3px #0005; }
.sw button.lever { position: absolute; left: 25px; bottom: 22px; width: 12px; height: 46px; padding: 0; border: 0; border-radius: 6px; background: linear-gradient(90deg, #8e9792, #f0f4f0 40%, #7c8580); box-shadow: 0 3px 5px #0008; transform-origin: 50% 90%; transform: rotate(-26deg); transition: transform .3s var(--spring); cursor: pointer; }
.sw button.lever::after { content: ""; position: absolute; left: -3px; top: -6px; width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffe27a, #ff3b30 70%); }
.sw button.lever[aria-checked="true"] { transform: rotate(26deg); }
.sw .guard { position: absolute; left: 4px; right: 4px; bottom: 2px; height: 66px; border-radius: 10px 10px 4px 4px; background: #ff3b3088; border: 2px solid #ff3b30; transform-origin: 50% 100%; transform: rotate(0deg); transition: transform .35s var(--ease); cursor: pointer; }
.sw .guard.up { transform: translateY(-34px) scaleY(.35); pointer-events: none; }
.sw .guard::before { content: "LIFT"; position: absolute; top: 6px; left: 0; right: 0; text-align: center; font: 700 .6875rem/1 var(--silk); letter-spacing: .14em; color: #fff; }

/* gauge */
.gauge { position: relative; width: 100%; max-width: 420px; aspect-ratio: 2 / 1.15; border-radius: 12px; background: linear-gradient(#f3f0e1, #d8d3bc); box-shadow: inset 0 3px 10px #0007, inset 0 0 0 3px #1b1d1e, 0 1px 0 #fff6; overflow: hidden; color: #1b1d1e; }
.gauge svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.needle { transform-origin: 200px 190px; transform: rotate(var(--n, -50deg)); transition: transform .35s var(--spring); }

/* printer */
.printer { position: relative; padding-top: 12px; }
.pr-body { position: relative; z-index: 3; height: 74px; border-radius: 12px 12px 6px 6px; background: linear-gradient(#e9eeea, #a7afaa); box-shadow: 0 8px 14px #0007, inset 0 2px 0 #fff, inset 0 -3px 0 #0003; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; color: var(--ink); }
.pr-slot { position: relative; z-index: 4; height: 9px; margin: -4px 8% 0; border-radius: 5px; background: #050708; box-shadow: inset 0 3px 4px #000, 0 1px 0 #ffffff55; }
.pr-stage { position: relative; z-index: 2; margin: 0 8%; height: 480px; overflow: hidden; }
.slip { position: absolute; left: 0; right: 0; top: 0; transform: translateY(var(--ty, -105%)); transition: transform .6s var(--ease); background: #fbfbf6; color: #1b1d1e; padding: 22px 22px 34px; font: 400 .8125rem/1.5 var(--dot); box-shadow: 0 6px 16px #0007; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), 96% 100%, 92% calc(100% - 10px), 88% 100%, 84% calc(100% - 10px), 80% 100%, 76% calc(100% - 10px), 72% 100%, 68% calc(100% - 10px), 64% 100%, 60% calc(100% - 10px), 56% 100%, 52% calc(100% - 10px), 48% 100%, 44% calc(100% - 10px), 40% 100%, 36% calc(100% - 10px), 32% 100%, 28% calc(100% - 10px), 24% 100%, 20% calc(100% - 10px), 16% 100%, 12% calc(100% - 10px), 8% 100%, 4% calc(100% - 10px), 0 100%); }
.slip .sr-row { display: flex; justify-content: space-between; gap: 10px; opacity: 0; transform: translateY(-6px); transition: opacity .2s, transform .3s; }
.slip .sr-row.show { opacity: 1; transform: none; }
.slip .sr-row.bad { color: #c4221a; }
.slip .sr-row.dim { opacity: .5; }
.slip hr { border: 0; border-top: 2px dashed #1b1d1e66; margin: 8px 0; }
.slip .hd { text-align: center; font-weight: 400; letter-spacing: .1em; margin-bottom: 8px; }

/* channels (route) */
.chan { display: grid; grid-template-columns: 1fr auto; gap: 10px 18px; align-items: center; padding: 14px 16px; border-radius: 10px; background: #0003; box-shadow: inset 0 2px 4px #0004, 0 1px 0 #fff8; }
.unit.char .chan { background: #0005; box-shadow: inset 0 2px 4px #000a, 0 1px 0 #ffffff1a; }
.chan.closed { opacity: .72; }
.chan .nm { display: flex; align-items: center; gap: 10px; }
.bar { display: grid; grid-template-columns: repeat(16, 1fr); gap: 3px; height: 22px; margin-top: 6px; }
.bar i { display: block; border-radius: 2px; background: #2a3a2c; box-shadow: inset 0 1px 2px #000a; transition: background .1s, box-shadow .1s; }
.bar i.on { background: var(--lime); box-shadow: 0 0 6px #c8ff3c88; }
.bar i.warn { background: var(--yellow); box-shadow: 0 0 6px #ffd60a88; }
.chan .cnt { font: 400 1rem/1 var(--dot); color: var(--lcd-text); background: var(--lcd); padding: 8px 10px; border-radius: 6px; box-shadow: inset 0 2px 5px #000; min-width: 7.5ch; text-align: center; }

/* reserve */
.coin { position: relative; width: 78px; height: 78px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: radial-gradient(circle at 35% 30%, #f4ffc0, var(--lime) 50%, #7ea510); box-shadow: 0 8px 12px #0009, inset 0 -3px 5px #0005, inset 0 2px 2px #fff6; transition: transform .6s var(--ease), opacity .3s; }
.coin::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; border: 3px solid #ffffff88; }
.coin::after { content: "★"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.9rem; color: #1b2400; text-shadow: 0 1px 0 #ffffff88; }
.slot-plate { position: relative; width: 150px; height: 92px; border-radius: 10px; background: linear-gradient(#222629, #0d0f10); box-shadow: inset 0 3px 8px #000, 0 1px 0 #ffffff55; display: grid; place-items: center; }
.slot-plate::before { content: ""; width: 74px; height: 9px; border-radius: 5px; background: #000; box-shadow: 0 0 0 4px #3a4044, inset 0 2px 3px #000; }
.slot-plate .coin { position: absolute; top: 50%; left: 50%; margin: -39px 0 0 -39px; }
.coin.in { transform: translate(0, 120px) scale(.85); opacity: 0; }
.coin.parked { transform: translate(-130px, 0); }
.weeks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.wk { position: relative; display: grid; gap: 4px; justify-items: start; padding: 12px 12px 12px; min-height: 76px; border: 0; border-radius: 8px; cursor: pointer; text-align: left; color: #f0f4f0; font: 700 .9375rem/1 var(--silk); letter-spacing: .12em; text-transform: uppercase;
  background: linear-gradient(#4a5155, #262b2e); box-shadow: inset 0 1px 0 #fff4, 0 5px 0 #000, 0 8px 10px #0009; transition: transform .1s, box-shadow .1s; }
.wk small { font: 600 .8125rem/1 var(--silk); letter-spacing: .1em; opacity: 1; color: #d6dcd9; }
.wk[aria-pressed="true"] small { color: #1b2400; }
.wk .led { position: absolute; top: 9px; right: 9px; }
.wk[aria-pressed="true"] { transform: translateY(4px); box-shadow: inset 0 1px 0 #fff3, 0 1px 0 #000; background: linear-gradient(#e0ff7a, var(--lime) 40%, #9fd01a); color: var(--ink); }
.wk[disabled] { cursor: not-allowed; background: linear-gradient(#3a2220, #1f1110); color: #ff8f88; box-shadow: inset 0 1px 0 #fff2, 0 3px 0 #000; }
.wk.locked:not([disabled]) { filter: brightness(.6); cursor: not-allowed; }

/* cables between units */
.gap { position: relative; height: clamp(70px, 8vw, 110px); }
.cable { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; z-index: 2; pointer-events: none; }
.cable .rubber { fill: none; stroke: #07090a; stroke-width: 9; stroke-linecap: round; }
.cable .sheen { fill: none; stroke: #4a5258; stroke-width: 2; stroke-linecap: round; transform: translate(-1.5px, -2px); }
.cable .hot { fill: none; stroke: var(--lime); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 22 360; stroke-dashoffset: 22; opacity: 0; filter: drop-shadow(0 0 6px #c8ff3c); }
.cable.fire .hot { opacity: 1; }
@media (prefers-reduced-motion: no-preference) { .cable.fire .hot { animation: pulse 1.1s linear 1; } }
@keyframes pulse { from { stroke-dashoffset: 22; } to { stroke-dashoffset: -420; } }
.jack { position: absolute; width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle at 50% 50%, #000 0 9px, #3a4044 10px 13px, #aab2ad 14px 17px, #6b7470 18px); box-shadow: 0 3px 5px #0008; z-index: 1; }
.jack.in { top: -17px; left: 56px; } .jack.out { bottom: -17px; right: 56px; }

/* hero */
.hero .face { padding-block: clamp(30px, 4vw, 56px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero-l { display: grid; gap: 20px; justify-items: start; }
.hero .dymo-big { transform-origin: left center; }
.hero-sub { font: 500 clamp(1.1rem, 1rem + .4vw, 1.35rem)/1.4 var(--body); max-width: 36ch; }
.hero-r { display: grid; gap: 16px; justify-items: center; }
.tabrow { display: flex; gap: 8px; flex-wrap: nowrap; justify-content: center; }
.tabled { width: 34px; display: grid; justify-items: center; gap: 4px; }
.tabled .t { width: 34px; height: 26px; border-radius: 4px 4px 3px 3px; position: relative; background: #2a3a2c; box-shadow: inset 0 1px 2px #000a, 0 0 0 1px #0007; transition: background .2s, box-shadow .2s; }
.tabled .t::before { content: ""; position: absolute; left: 3px; top: -5px; width: 14px; height: 6px; border-radius: 3px 3px 0 0; background: inherit; }
.tabled.on .t { background: var(--lime); box-shadow: 0 0 10px #c8ff3caa, inset 0 -2px 3px #5a8a00; }
.tabled.on .t::after { content: ""; position: absolute; left: 8px; right: 8px; top: 12px; height: 4px; border-radius: 2px; background: #1b2b00; }
.tabled:not(.on) .t::after { content: ""; position: absolute; left: 8px; right: 8px; top: 12px; height: 2px; background: #0b140c; }
.hero-note { font: 600 .875rem/1.3 var(--silk); letter-spacing: .1em; text-transform: uppercase; color: #2d3437; }

/* faq */
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 3vw, 44px); align-items: start; }
.faq-q { display: grid; gap: 12px; }
.faq-q .pad { justify-content: flex-start; text-align: left; padding: 14px 40px 14px 18px; min-height: 56px; font-size: .9375rem; letter-spacing: .06em; text-transform: none; font-family: var(--body); font-weight: 600; }
.faq-q .pad[aria-pressed="true"] { background: linear-gradient(#e0ff7a, var(--lime) 40%, #9fd01a); color: var(--ink); transform: translateY(5px); box-shadow: inset 0 1px 0 #fffa, 0 1px 0 #5d7a0a; }
.faq-a { min-height: 260px; font-size: clamp(1rem, .9rem + .5vw, 1.3rem); }

/* end + back panel */
.end .face { padding-block: clamp(34px, 5vw, 70px); }
.end-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; }
.end h2 { display: grid; gap: 14px; justify-items: start; }
.end p { font: 500 clamp(1.1rem, 1rem + .4vw, 1.35rem)/1.4 var(--body); max-width: 34ch; margin-top: 18px; }
.back { margin-top: clamp(70px, 8vw, 120px); padding: 40px clamp(12px, 3vw, 40px) 40px; background: repeating-linear-gradient(90deg, #ffffff08 0 1px, transparent 1px 4px), linear-gradient(#1a1e20, #0b0d0e); border-top: 3px solid #000; box-shadow: inset 0 3px 0 #ffffff14; }
.back-in { max-width: 1280px; margin: 0 auto; display: grid; gap: 28px; }
.vents { display: grid; grid-template-columns: repeat(24, 1fr); gap: 5px; max-width: 520px; }
.vents i { display: block; height: 46px; border-radius: 4px; background: #000; box-shadow: inset 0 3px 4px #000, 0 1px 0 #ffffff22; }
.conn { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.conn .c1 { width: 54px; height: 54px; border-radius: 50%; background: radial-gradient(circle, #000 0 14px, #3a4044 15px 19px, #aab2ad 20px 24px, #5e6762 25px); box-shadow: 0 3px 5px #000a; }
.conn .c2 { width: 74px; height: 28px; border-radius: 4px; background: #000; box-shadow: inset 0 0 0 4px #7a837e, inset 0 3px 6px #000; }
.conn .c3 { width: 46px; height: 46px; border-radius: 8px; background: radial-gradient(circle, #000 0 8px, #aab2ad 9px 12px, #232729 13px); box-shadow: 0 3px 5px #000a; }
.serial { display: inline-block; padding: 12px 18px; border-radius: 4px; background: linear-gradient(#e6ebe7, #b4bcb7); color: var(--ink); font: 600 .8125rem/1.6 var(--silk); letter-spacing: .14em; text-transform: uppercase; box-shadow: inset 0 1px 0 #fff, 0 2px 0 #000a; }
.back-links { display: flex; gap: 22px; flex-wrap: wrap; font: 600 .875rem/1 var(--silk); letter-spacing: .14em; text-transform: uppercase; }
.back-links a { text-decoration: none; color: #b4bdb8; } .back-links a:hover { color: var(--lime); }
.engrave { font: 700 clamp(3.4rem, 1rem + 12vw, 12rem)/.85 var(--silk); letter-spacing: .02em; text-transform: uppercase; color: #0b0d0e; text-shadow: 0 2px 0 #ffffff22, 0 -2px 0 #000; white-space: nowrap; overflow: hidden; }

/* power-on */
.unit .led.boot { animation: none; }
html.ambient .scan::after { animation: scan 6s linear infinite; }
@keyframes scan { 0% { background-position: 0 0, 0 0; } 100% { background-position: 0 24px, 0 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .knob .cap, .fader .fcap { transition: none; }
}

@media (max-width: 900px) {
  .strip-nav { display: none; }
  .topstrip { justify-content: space-between; }
  .unit { grid-template-columns: 16px 1fr 16px; }
  .ear::before, .ear::after { width: 8px; height: 14px; margin-left: -4px; }
  .face { padding-inline: 16px; }
  .u-grid, .hero-grid, .faq-grid, .end-grid { grid-template-columns: 1fr; }
  .knob { --size: 120px; }
  .knob.big { --size: 150px; }
  .weeks { grid-template-columns: repeat(2, 1fr); }
  .jack.in { left: 28px; } .jack.out { right: 28px; }
  .chan { grid-template-columns: 1fr; }
  .pr-stage { margin: 0 4%; }
}

/* power-on flicker */
@media (prefers-reduced-motion: no-preference) {
  .unit.live .led.on { animation: ledin .9s steps(1) 1 both; }
}
@keyframes ledin { 0% { opacity: .15; } 25% { opacity: 1; } 40% { opacity: .2; } 55% { opacity: 1; } 70% { opacity: .5; } 100% { opacity: 1; } }
@media (max-width: 520px) {
  .tabled, .tabled .t { width: 30px; }
  .tabrow { gap: 5px; }
  .u-title { font-size: 2.3rem; }
}

.hero .pad.prime { min-height: 62px; padding: 0 28px; font-size: 1.05rem; box-shadow: inset 0 1px 0 #fffa, inset 0 -2px 0 #0004, 0 6px 0 #5d7a0a, 0 0 28px #c8ff3c88, 0 9px 12px #0009; }
.hero .pad.light { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px #14181a88; }
.hero .pad.light:hover { background: #ffffff66; }
.hero .pad.light:active { transform: translateY(2px); box-shadow: inset 0 0 0 2px #14181a; }
.key.cta { background: linear-gradient(#e0ff7a, var(--lime) 40%, #9fd01a); color: var(--ink); box-shadow: inset 0 1px 0 #fffa, 0 3px 0 #5d7a0a, 0 0 18px #c8ff3c66; }
.key.cta:hover { color: var(--ink); filter: brightness(1.08); }
.key.act .led { background: var(--lime); box-shadow: 0 0 8px 2px #c8ff3caa; }
.key.act { color: var(--lime); }
.cable.c1 .rubber { stroke: #14307f; } .cable.c1 .sheen { stroke: #4a6ad0; }
.cable.c2 .rubber { stroke: #5a4300; } .cable.c2 .sheen { stroke: #c9a21a; }
.sum-row { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 22px; }
.end .pads { margin-left: 8px; }
.engrave { display: none; }
@media (max-width: 520px) {
  .knob.big { --size: 132px; }
  .hero .pad.prime { min-height: 58px; }
}

.bayplate { display: inline-flex; align-items: center; min-height: 52px; padding: 0 18px; border-radius: 8px; font: 600 .8125rem/1.2 var(--silk); letter-spacing: .12em; text-transform: uppercase; color: #ffffffb0; background: #00000040; box-shadow: inset 0 3px 6px #0008, 0 1px 0 #ffffff33; }
.patch { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin-top: 20px; padding: 12px 16px; border-radius: 8px; background: #00000012; box-shadow: inset 0 2px 4px #0003, 0 1px 0 #fff8; }

.sw button.lever::before { content: ""; position: absolute; inset: -14px -16px; }
.snd, .back-links a, .plate { min-height: 44px; display: inline-flex; align-items: center; }
.key.cta { min-height: 44px; }
@media (max-width: 380px) {
  .dymo-big { --sz: 2.2rem; }
  .hero .pad { padding: 0 14px; }
  .knob-lbl .silk { text-align: center; text-wrap: balance; }
}
