@font-face { font-family: Fraunces; src: url('/fonts/fraunces/Fraunces-variable.ttf') format('truetype'); font-style: normal; font-weight: 100 900; font-display: swap; }
@font-face { font-family: Fraunces; src: url('/fonts/fraunces/Fraunces-Italic-variable.ttf') format('truetype'); font-style: italic; font-weight: 100 900; font-display: swap; }
@font-face { font-family: Manrope; src: url('/fonts/manrope/Manrope-variable.ttf') format('truetype'); font-style: normal; font-weight: 200 800; font-display: swap; }

:root {
  color-scheme: dark;
  --sheen: rgb(255 255 255 / 14%);
  --shine: rgb(255 255 255 / 55%);
  --page: #070B14;
  --surface: #0D1220;
  --raised: #131A2B;
  --well: #040710;
  --line: #1E2740;
  --text: #EDE9DF;
  --muted: #9AA3BC;
  --disclosure: #8E97AD;
  --disclosure-rest: .5;
  --brand: #B7C4E6;
  --accent: #F2C14E;
  --accent-hi: #FFD774;
  --accent-text: #F2C14E;
  --accent-edge: #F2C14E;
  --on-accent: #1A1304;
  --focus: #FFD774;
  --line-strong: rgb(183 196 230 / 34%);
  --glow: rgb(242 193 78 / 28%);
  --glow-soft: rgb(242 193 78 / 12%);
  --beam: rgb(242 193 78 / 15%);
  --beam-core: rgb(255 215 116 / 26%);
  --lamp-ring: rgb(154 163 188 / 55%);
  --lamp-dim: rgb(154 163 188 / 30%);
  --cap: #EDE9DF;
  --ribbon: rgb(7 11 20 / 78%);
  --ribbon-solid: #0D1220;
  --overlay-scrim: rgb(7 11 20 / 86%);
  --on-accent-wash: rgb(26 19 4 / 12%);
  --shadow: rgb(0 0 0 / 55%);
  --ink-on-ivory: #070B14;
  --moon: rgb(183 196 230 / 8%);

  --display: Fraunces, "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --heading: Fraunces, "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --body: Manrope, "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", Consolas, monospace;

  --content-max: 1120px;
  --reading-max: 720px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-height: 92px;
  --capsule-height: 60px;
  --head-offset: var(--header-height);
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 20px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 72px;
  --section-space: clamp(72px, 9vw, 128px);
  --section-end: clamp(56px, 6vw, 88px);
  --radius: 6px;
  --radius-panel: 10px;
  --step-0: 18px;
  --step-1: 20px;
  --step-2: clamp(24px, 2.4vw, 30px);
  --step-3: clamp(32px, 3.8vw, 46px);
  --step-4: clamp(40px, 5.6vw, 72px);
  --step-5: clamp(46px, 7vw, 96px);
}

@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --sheen: rgb(255 255 255 / 60%);
    --shine: rgb(255 255 255 / 60%);
    --page: #F1EFE9;
    --surface: #FFFFFF;
    --raised: #F8F7F3;
    --well: #E6E3DB;
    --line: #CFCBC0;
    --text: #141A2E;
    --muted: #4E566C;
    --disclosure: #4E566C;
    --disclosure-rest: .5;
    --brand: #2F4374;
    --accent: #E4B53E;
    --accent-hi: #F2C65A;
    --accent-text: #7A5A06;
    --accent-edge: #7A5A06;
    --on-accent: #1A1304;
    --focus: #2F4374;
    --line-strong: rgb(47 67 116 / 40%);
    --glow: rgb(228 181 62 / 30%);
    --glow-soft: rgb(228 181 62 / 14%);
    --beam: rgb(228 181 62 / 16%);
    --beam-core: rgb(228 181 62 / 30%);
    --lamp-ring: rgb(78 86 108 / 60%);
    --lamp-dim: rgb(78 86 108 / 30%);
    --cap: #FFFFFF;
    --ribbon: rgb(241 239 233 / 82%);
    --ribbon-solid: #FFFFFF;
    --overlay-scrim: rgb(241 239 233 / 86%);
    --on-accent-wash: rgb(26 19 4 / 12%);
    --shadow: rgb(20 26 46 / 16%);
    --ink-on-ivory: #F1EFE9;
    --moon: rgb(47 67 116 / 7%);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-height) + 16px); -webkit-text-size-adjust: 100%; }
main [id] { scroll-margin-top: 8px; }
body { margin: 0; background: var(--page); color: var(--text); font: 400 var(--step-0) / 1.6 var(--body); text-rendering: optimizeLegibility; }
img, svg, picture { display: block; max-width: 100%; }
a { color: var(--brand); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--text); }
h1, h2, h3 { font-family: var(--heading); font-weight: 400; font-optical-sizing: auto; font-variation-settings: "SOFT" 30, "WONK" 0; letter-spacing: -0.012em; line-height: 1.08; margin: 0; text-wrap: balance; }
h1 { font-variation-settings: "SOFT" 40, "WONK" 1; line-height: 1.02; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); font-weight: 500; line-height: 1.25; }
p { margin: 0; }
p + p { margin-top: var(--space-3); }
b, strong { font-weight: 700; }
code, kbd, .mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
code, kbd { font-size: max(15px, .86em); padding: 1px 6px; border-radius: 4px; background: var(--well); border: 1px solid var(--line); overflow-wrap: anywhere; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--on-accent); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.small { font-size: 15px; line-height: 1.55; }
.muted { color: var(--muted); }
.lead { font-size: var(--step-1); color: var(--muted); line-height: 1.5; }

.wrap { width: calc(100% - var(--gutter) * 2); max-width: var(--content-max); margin-inline: auto; }
.reading { max-width: var(--reading-max); }
.section { padding-block: var(--section-space); }
.section + .section, .page-head + .section { padding-top: 0; }
.section-title { margin-bottom: var(--space-5); }
.section-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-6); align-items: end; margin-bottom: var(--space-5); }
.section-intro p { color: var(--muted); }
.prose p + p { margin-top: var(--space-4); }

.plate-label, .side-title, .step-name, .module-label, .log-title, .limit-label, .counter-label { display: block; margin: 0 0 var(--space-3); color: var(--muted); font: italic 400 var(--step-1) / 1.3 var(--heading); letter-spacing: 0; }

.page-head { padding-block: calc(var(--head-offset) + clamp(32px, 5vw, 72px)) 0; }
.page-head-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-6); align-items: end; padding-bottom: clamp(32px, 4vw, 56px); margin-bottom: clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.page-head h1 { max-width: 16ch; font-size: var(--step-4); }
.page-head .lead { max-width: 52ch; margin-top: var(--space-4); }

.site-head { transition: transform .28s cubic-bezier(.2,.8,.2,1); will-change: transform; position: fixed; top: 0; left: 0; right: 0; z-index: 30; display: flex; justify-content: center; padding: 12px 0 0; pointer-events: none; }
.head-capsule { position: relative; pointer-events: auto; display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: var(--space-5); min-height: var(--capsule-height); padding: 0 10px 0 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--ribbon); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 14px 40px -24px var(--shadow); }
.head-capsule > .brand { flex: none; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .head-capsule { background: var(--ribbon-solid); }
}
@media (prefers-reduced-transparency: reduce) {
  .head-capsule { background: var(--ribbon-solid); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (forced-colors: active) {
  .head-capsule { border-color: CanvasText; background: Canvas; }
}
.brand { position: relative; display: inline-flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; }
.mark { flex: none; width: var(--mark, 36px); height: var(--mark, 36px); }
.mark img { width: 100%; height: 100%; max-width: none; }
.brand-logo { display: block; width: var(--logo-width); flex: none; }
.brand-logo img { display: block; width: 100%; height: auto; aspect-ratio: 520 / 128; max-width: none; }
.toolbar-mark .toolbar-off { display: none; }
.brand:hover { color: var(--text); }
.wordmark { font: 500 20px / 1 var(--heading); letter-spacing: -0.01em; white-space: nowrap; }
.wordmark-lite { font-style: italic; color: var(--accent-text); }
.nav { display: flex; flex-wrap: nowrap; align-items: center; justify-content: flex-end; gap: 2px; min-width: 0; }
.nav a { position: relative; padding: 9px 14px; color: var(--muted); font-size: 15px; font-weight: 500; line-height: 1.4; text-decoration: none; white-space: nowrap; border-radius: 6px; transition: color .15s ease; }
.nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--accent); opacity: 0; transition: opacity .18s ease; }
.nav a:hover { color: var(--text); }
.nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"]::after { opacity: 1; }
.nav-toggle { display: none; align-items: center; gap: 10px; min-height: 40px; padding: 0 14px; border: 1px solid var(--line); border-radius: 6px; background: var(--raised); color: var(--text); font: inherit; font-weight: 600; cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.site-head.is-hidden { transform: translateY(calc(-100% - 18px)); }
.site-head:focus-within { transform: none; }

main > .section:last-child { padding-bottom: var(--section-end); }
.site-foot { padding-block: var(--space-7) var(--space-6); border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--page), var(--surface)); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: var(--space-6); }
.foot-brand p { margin-top: var(--space-4); color: var(--muted); font-size: 15px; max-width: 34ch; }
.foot-brand .foot-copy { margin-block: 12px; font-size: 15px; }
.foot-description span { display: block; }
.foot-description span:first-child { white-space: nowrap; }
.foot-col h2 { margin-bottom: var(--space-3); color: var(--muted); font: italic 400 var(--step-1) / 1.3 var(--heading); }
.foot-col a { display: block; padding: 6px 0; color: var(--text); font-size: 15px; text-decoration: none; }
.foot-col a:hover { color: var(--accent-text); }

.panel { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-panel); }
.well { background: var(--well); border: 1px solid var(--line); border-radius: var(--radius); }

.button { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 20px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: transparent; color: var(--text); font: 600 15px / 1.2 var(--body); text-decoration: none; cursor: pointer; transition: background .18s ease, border-color .18s ease, color .18s ease; }
.button:hover { color: var(--text); background: var(--raised); border-color: var(--brand); }
.button:active { background: var(--well); }
.button:disabled { opacity: .55; cursor: progress; }
.button .arrow { transition: transform .2s ease; }
.button:hover .arrow { transform: translateX(3px); }
.button-quiet { min-height: 40px; padding: 0 14px; font-size: 15px; }
.button-install { min-height: 60px; max-width: 100%; padding: 0 44px; border-color: var(--accent-edge); background: var(--accent); color: var(--on-accent); font-size: 18px; font-weight: 700; box-shadow: 0 0 0 6px var(--glow-soft), 0 18px 50px -14px var(--glow); }
.button-install > span { min-width: 0; text-align: center; text-wrap: balance; }
.button-install:hover { color: var(--on-accent); background: var(--accent-hi); border-color: var(--accent-edge); box-shadow: 0 0 0 8px var(--glow-soft), 0 22px 60px -14px var(--glow); }
.button-install:active { background: var(--accent); }
.button-install:is(.is-other-browser, .is-installed) { border-color: var(--line-strong); background: var(--raised); color: var(--muted); box-shadow: none; }
.button-install.is-installed { cursor: default; }

.button { isolation: isolate; overflow: hidden; }
.button::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(110deg, transparent 32%, var(--sheen) 50%, transparent 68%); transform: translateX(-130%); transition: transform .55s ease; pointer-events: none; }
.button:hover::before { transform: translateX(130%); }
.button-install::after { content: ""; position: absolute; z-index: -1; inset: -40% auto -40% 0; width: 42%; background: linear-gradient(90deg, transparent, var(--shine), transparent); transform: translateX(-160%) skewX(-20deg); animation: install-shine 3.2s ease-in-out .8s infinite; pointer-events: none; }
.button-install:is(:hover, :focus-visible)::after { animation: install-shine-lock .6s ease-out forwards; }
.button-install:is(.is-other-browser, .is-installed)::after { display: none; }
@keyframes install-shine { 0% { transform: translateX(-160%) skewX(-20deg); } 65%, 100% { transform: translateX(300%) skewX(-20deg); } }
@keyframes install-shine-lock { from { transform: translateX(300%) skewX(-20deg); } to { transform: translateX(90%) skewX(-20deg); } }

.disclosure { margin-top: 22px; color: var(--disclosure); font-size: 11px; opacity: var(--disclosure-rest); }
.hero-install:has(.is-installed) .disclosure { display: none; }

.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--brand); font-weight: 600; text-decoration: none; }
.text-link .arrow { transition: transform .2s ease; }
a:hover .text-link .arrow, .text-link:hover .arrow { transform: translateX(4px); }

.chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.chip { min-height: 38px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; color: var(--muted); font: 500 15px / 1 var(--body); cursor: pointer; transition: background .15s ease, color .15s ease, border-color .15s ease; }
.chip:hover { color: var(--text); border-color: var(--brand); }
.chip[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--ink-on-ivory); }

.lamp { display: inline-block; flex: none; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--lamp-ring); background: transparent; transition: background .12s ease .18s, box-shadow .12s ease .18s, border-color .12s ease .18s; }
.lamp-on, [data-blocking="on"] .lamp { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 0 4px var(--glow-soft), 0 0 16px 2px var(--glow); }

.rocker { display: flex; align-items: center; gap: 14px; width: 100%; padding: 8px 14px 8px 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--raised); color: var(--text); font: 600 15px / 1.2 var(--body); text-align: left; cursor: pointer; transition: border-color .15s ease; }
button.rocker:hover { border-color: var(--brand); }
.rocker-track { position: relative; flex: none; width: 68px; height: 34px; border-radius: 999px; background: var(--well); border: 1px solid var(--line); }
.rocker-lamp { position: absolute; left: 12px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; border: 1.5px solid var(--accent); background: var(--accent); box-shadow: 0 0 0 3px var(--glow-soft), 0 0 12px var(--glow); transition: background .12s ease .18s, box-shadow .12s ease .18s, border-color .12s ease .18s; }
.rocker-cap { position: absolute; top: 3px; left: 37px; width: 26px; height: 26px; border-radius: 50%; background: var(--cap); box-shadow: 0 1px 3px var(--shadow); transition: transform .18s ease-out; }
.rocker[aria-pressed="true"] .rocker-cap, .rocker[data-paused="true"] .rocker-cap { transform: translateX(-34px); }
.rocker[aria-pressed="true"] .rocker-lamp, .rocker[data-paused="true"] .rocker-lamp { border-color: var(--lamp-ring); background: transparent; box-shadow: none; }

.odometer { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 16px; padding: 12px 16px; }
.odometer-drums { display: flex; gap: 1px; padding: 0 2px; border-bottom: 1px solid var(--line-strong); }
.drum { display: block; width: .62em; height: 1.2em; overflow: hidden; color: var(--accent-text); font: 400 42px / 1.2 var(--heading); font-variant-numeric: tabular-nums lining-nums; text-align: center; }
.drum-reel { display: flex; flex-direction: column; transform: translateY(calc(var(--d, 0) * -1.2em)); transition: transform .32s cubic-bezier(.2, .8, .2, 1); }
.drum-reel span { display: block; height: 1.2em; }
.odometer-drums .drum:nth-child(1) .drum-reel { --d: var(--d0); transition-delay: 80ms; }
.odometer-drums .drum:nth-child(2) .drum-reel { --d: var(--d1); transition-delay: 40ms; }
.odometer-drums .drum:nth-child(3) .drum-reel { --d: var(--d2); }
.drum.is-lead { color: var(--muted); opacity: .45; }
.odometer-text { display: grid; gap: 2px; }
.odometer-label { font-weight: 600; line-height: 1.3; }
.odometer-zero { color: var(--muted); font-size: 15px; }

.tray { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 30px; padding: 5px 10px; border-radius: 4px; border: 1px dashed var(--line-strong); color: var(--muted); font: 500 15px / 1.3 var(--mono); letter-spacing: 0; }
.tray-source { color: var(--accent-text); white-space: nowrap; }

.site-tray { display: grid; gap: 8px; padding: 12px; }
.allow-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.allow-scope { display: grid; font-weight: 600; line-height: 1.3; }
.allow-scope small { color: var(--muted); font-weight: 400; font-size: 15px; }
.key { flex: none; min-width: 86px; min-height: 36px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; color: var(--text); font: 600 15px / 34px var(--body); text-align: center; cursor: pointer; transition: background .12s ease, color .12s ease, border-color .12s ease; }
button.key:hover { border-color: var(--brand); }
.key[aria-pressed="true"], .key[data-on="true"] { background: var(--text); border-color: var(--text); color: var(--ink-on-ivory); }

.field-label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 15px; }
.field { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--well); color: var(--text); font: inherit; transition: border-color .15s ease, box-shadow .15s ease; }
.field:focus { outline: none; border-color: var(--accent-edge); box-shadow: 0 0 0 3px var(--glow-soft); }
.field[aria-invalid="true"] { border-color: var(--accent-text); }
textarea.field { resize: vertical; min-height: 160px; }

.ruled { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ruled li { padding: var(--space-4) 0; border-bottom: 1px solid var(--line); }

@media (max-width: 780px) {
  :root { --header-height: 72px; --capsule-height: 54px; }
  .site-head { padding-top: 10px; }
  .head-capsule { gap: 10px; padding: 5px 6px 5px 14px; }
  .head-capsule > .brand { gap: 8px; }
  .head-capsule .brand-logo { width: 160px; }
  .head-capsule .nav-toggle { flex: none; gap: 8px; min-height: 42px; padding-inline: 14px; font-size: 15px; }
  .nav-ready .nav-toggle { display: inline-flex; }
  .nav-ready .nav { position: absolute; top: calc(100% + 8px); right: 0; width: min(300px, calc(100vw - var(--gutter) * 2)); display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px; border: 1px solid var(--line); border-radius: 10px; background: var(--ribbon-solid); box-shadow: 0 24px 40px -18px var(--shadow); animation: menu-drop .22s ease-out; }
  .nav-ready .nav.is-open { display: flex; }
  .nav-ready .nav a { padding: 12px 16px; font-size: 16px; }
  .nav-ready .nav a + a { border-top: 1px solid var(--line); border-radius: 0; }
  .nav-ready .nav a::after { left: 16px; right: auto; width: 24px; bottom: 8px; }
  html:not(.nav-ready) { --head-offset: 0px; scroll-padding-top: 16px; }
  html:not(.nav-ready) .site-head { transition: transform .28s cubic-bezier(.2,.8,.2,1); will-change: transform; position: relative; padding-bottom: 12px; }
  html:not(.nav-ready) .head-capsule { flex-wrap: wrap; justify-content: center; padding: 8px 14px; }
  html:not(.nav-ready) .nav { flex-wrap: wrap; justify-content: center; }
  html:not(.nav-ready) .nav a { padding-inline: 12px; }
}
@keyframes menu-drop { from { opacity: 0; transform: translateY(-6px); } }

@media (max-width: 860px) {
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
  .section-intro { grid-template-columns: minmax(0, 1fr); gap: var(--space-3); }
}

.frame { border: 1px solid var(--line); border-radius: var(--radius-panel); overflow: hidden; background: var(--surface); }
.frame .window-chrome { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 12px; background: var(--raised); border-bottom: 1px solid var(--line); }
.frame .window-dots { display: flex; gap: 6px; }
.frame .window-dots i { width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--line-strong); }
.frame .window-address { flex: 1; display: flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 4px; background: var(--well); color: var(--muted); font-size: 15px; white-space: nowrap; overflow: hidden; }
.frame-view { padding: 16px; }

@media (max-width: 860px) {
  .page-head-inner { grid-template-columns: minmax(0, 1fr); }
}

.page-head { position: relative; isolation: isolate; overflow: visible; }
.head-art-slot { position: relative; justify-self: end; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: end; min-width: 0; max-width: 100%; }
.head-art-slot::before { content: ""; position: absolute; z-index: -1; inset: -120% -80%; background: radial-gradient(ellipse at 50% 40%, var(--beam), transparent 62%); filter: blur(30px); pointer-events: none; }
.head-art { justify-self: end; min-width: 0; max-width: 100%; }
.parts-bin { display: grid; gap: 12px; width: 320px; padding: 18px; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
[data-tilt] { transform: perspective(var(--tilt-perspective, 1000px)) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)); transition: transform .45s cubic-bezier(.2,.8,.2,1); transform-origin: center; }
.parts-bin .odometer { background: var(--raised); }
.parts-key { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: var(--radius); background: var(--raised); border: 1px solid var(--line); }
.live-badge { display: flex; align-items: center; gap: 14px; padding: 16px 20px; max-width: 300px; font-size: 15px; color: var(--muted); }
.live-badge b { display: block; color: var(--text); font: 400 var(--step-1) / 1.2 var(--heading); }
.lamp-breathe { animation: breathe 2.6s ease-in-out infinite; }
@keyframes breathe { 50% { box-shadow: 0 0 0 7px var(--glow-soft), 0 0 24px 4px var(--glow); } }
.counter-big { display: grid; justify-items: start; gap: 8px; padding: 14px 18px 16px; }
.counter-drums { display: flex; align-items: flex-end; gap: 1px; padding: 0 2px; border-bottom: 1px solid var(--line-strong); }
.counter-drums .drum { font-size: clamp(40px, 4.6vw, 64px); }
.counter-drums .drum-reel { animation: roll-in 1.6s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i) * 70ms + .2s); }
@keyframes roll-in { from { transform: translateY(0); } }
.counter-comma { color: var(--muted); font: 400 clamp(28px, 3.4vw, 46px) / 1 var(--heading); padding-bottom: 8px; }
.counter-label { margin: 0; font-size: 16px; }
.credit-plate { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; max-width: 320px; padding: 16px; transform: rotate(-1.5deg); }
.stamp { padding: 5px 11px; border-radius: 4px; border: 1px solid var(--line-strong); color: var(--brand); font: 500 15px / 1.3 var(--mono); }
.stamp:first-child { color: var(--accent-text); border-color: var(--accent-edge); }
.head-mail { display: grid; gap: 4px; max-width: 100%; min-width: 0; padding: 18px 22px; }
.head-mail a { min-width: 0; overflow-wrap: anywhere; color: var(--text); font-size: var(--step-1); text-decoration: none; }
.head-mail a:hover { color: var(--accent-text); }

@media (max-width: 860px) {
  .head-art-slot, .head-art { justify-self: start; justify-items: start; }
  .parts-bin, .credit-plate { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .parts-bin { transform: none; }
  [data-tilt] { transform: none; }
  .site-head { transition: none; }
}

html, body, main { overflow-x: clip; }
@supports not (overflow: clip) { html, body { overflow-x: hidden; } }

.site-head.is-immediate { transition: none; }

.install-status { max-width: 60ch; margin-top: var(--space-4); padding: 10px 16px; border-radius: var(--radius); border: 1px solid var(--accent-edge); background: var(--surface); color: var(--text); font-size: 15px; }
