/* ============================================================
   BREVILLE PRECISION LAB — design system
   brushed graphite + steel, warm copper accent, blueprint linework
   ============================================================ */

:root {
  --graphite-0: #14161a;
  --graphite-1: #1b1e23;
  --graphite-2: #22262c;
  --graphite-3: #2b3038;
  --steel-0: #e8ebee;
  --steel-1: #c4cad1;
  --steel-2: #8d959e;
  --steel-3: #5b636c;
  --copper: #c97b3d;
  --copper-bright: #e09a55;
  --copper-dim: #8f5a2e;
  --blueprint: #3d5a73;
  --blueprint-faint: rgba(90, 130, 160, 0.13);
  --ok: #7fb069;
  --warn: #d9a441;
  --bad: #c2554a;
  --paper: #eceae4;
  --ink: #1e2126;
  --font-sans: 'Inter Tight', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', 'SF Mono', Menlo, monospace;
  --ease-mech: cubic-bezier(0.22, 0.9, 0.24, 1);
  --ease-needle: cubic-bezier(0.34, 1.45, 0.32, 1);
  --rail-w: 108px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
}

body {
  background: var(--graphite-0);
  color: var(--steel-1);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--copper); color: var(--graphite-0); }

.mono { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.08em; }

/* ---------- blueprint grid backdrop ---------- */
.blueprint-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--blueprint-faint) 1px, transparent 1px),
    linear-gradient(90deg, var(--blueprint-faint) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 78%);
  pointer-events: none;
}

/* ---------- top bar ---------- */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 28px 14px calc(var(--rail-w) + 28px);
  background: linear-gradient(180deg, rgba(20,22,26,0.94), rgba(20,22,26,0.75));
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--graphite-3);
}
.topbar__brand { display: flex; align-items: baseline; gap: 14px; text-decoration: none; }
.topbar__logo { display: block; width: 118px; height: auto; opacity: 0.95; }
.topbar__tag { color: var(--steel-3); }
.topbar__xp { display: flex; align-items: baseline; gap: 10px; color: var(--steel-2); }
.topbar__xp-label { color: var(--steel-3); }
.topbar__xp-value { color: var(--copper-bright); font-weight: 600; font-size: 0.82rem; font-variant-numeric: tabular-nums; }
.topbar__xp-rank { color: var(--steel-0); border: 1px solid var(--graphite-3); padding: 3px 8px; }

/* ---------- stage rail ---------- */
.rail {
  position: fixed; left: 0; top: 0; bottom: 0; width: var(--rail-w); z-index: 55;
  display: flex; align-items: stretch;
  border-right: 1px solid var(--graphite-3);
  background: rgba(20,22,26,0.82);
  backdrop-filter: blur(8px);
}
.rail__list { list-style: none; display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 80px 0 40px 18px; flex: 1; }
.rail__dot {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0; text-decoration: none; color: var(--steel-3);
  transition: color 0.25s var(--ease-mech);
}
.rail__num { font-size: 0.62rem; }
.rail__label { font-size: 0.6rem; opacity: 0; transform: translateX(-6px); transition: all 0.3s var(--ease-mech); white-space: nowrap; }
.rail__dot::before {
  content: ""; width: 8px; height: 8px; border: 1px solid var(--steel-3);
  transform: rotate(45deg); transition: all 0.3s var(--ease-mech); flex: none;
}
.rail__dot:hover { color: var(--steel-1); }
.rail__dot:hover .rail__label { opacity: 1; transform: translateX(0); }
.rail__dot.is-active { color: var(--copper-bright); }
.rail__dot.is-active::before { background: var(--copper); border-color: var(--copper); }
.rail__dot.is-active .rail__label { opacity: 1; transform: translateX(0); }
.rail__track { width: 2px; background: var(--graphite-3); margin: 90px 14px 50px 0; position: relative; }
.rail__fill { position: absolute; top: 0; left: 0; right: 0; height: 0%; background: var(--copper); transition: height 0.2s linear; }

/* ---------- stages ---------- */
.stage {
  position: relative;
  min-height: 100vh;
  padding: 110px 48px 90px calc(var(--rail-w) + 48px);
  border-bottom: 1px solid var(--graphite-3);
  overflow: hidden;
}
.stage--dark { background: var(--graphite-1); }
.stage__inner { max-width: 1240px; margin: 0 auto; position: relative; }
.stage__head { max-width: 760px; margin-bottom: 56px; }
.stage__title {
  font-size: clamp(2.4rem, 5.2vw, 4.2rem);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.02;
  color: var(--steel-0); margin: 14px 0 20px;
}
.stage__title em { font-style: normal; color: var(--copper-bright); }
.stage__lede { font-size: 1.06rem; color: var(--steel-2); max-width: 640px; font-weight: 300; }
.stage__lede em { color: var(--steel-0); font-style: italic; }

.kicker { display: flex; align-items: center; gap: 10px; color: var(--copper-bright); font-size: 0.66rem; }
.kicker__tick { width: 26px; height: 1px; background: var(--copper); display: inline-block; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease-mech), transform 0.7s var(--ease-mech); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- plate (technical drawing sheet) ---------- */
.plate {
  background: linear-gradient(160deg, var(--graphite-2), var(--graphite-1));
  border: 1px solid var(--graphite-3);
  position: relative;
}
.plate::after { /* corner registration marks */
  content: ""; position: absolute; inset: 6px; pointer-events: none;
  background:
    linear-gradient(var(--steel-3), var(--steel-3)) left top / 10px 1px,
    linear-gradient(var(--steel-3), var(--steel-3)) left top / 1px 10px,
    linear-gradient(var(--steel-3), var(--steel-3)) right top / 10px 1px,
    linear-gradient(var(--steel-3), var(--steel-3)) right top / 1px 10px,
    linear-gradient(var(--steel-3), var(--steel-3)) left bottom / 10px 1px,
    linear-gradient(var(--steel-3), var(--steel-3)) left bottom / 1px 10px,
    linear-gradient(var(--steel-3), var(--steel-3)) right bottom / 10px 1px,
    linear-gradient(var(--steel-3), var(--steel-3)) right bottom / 1px 10px;
  background-repeat: no-repeat; opacity: 0.5;
}
.plate__header, .plate__footer {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 12px 20px; color: var(--steel-3);
  border-bottom: 1px dashed var(--graphite-3);
}
.plate__footer { border-bottom: none; border-top: 1px dashed var(--graphite-3); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em;
  text-transform: uppercase; text-decoration: none; cursor: pointer;
  padding: 14px 26px; border: 1px solid var(--steel-3); color: var(--steel-0);
  background: transparent; transition: all 0.25s var(--ease-mech);
}
.btn--copper { background: var(--copper); border-color: var(--copper); color: #191410; font-weight: 600; }
.btn--copper:hover { background: var(--copper-bright); border-color: var(--copper-bright); transform: translateY(-2px); }
.btn--ghost:hover { border-color: var(--copper); color: var(--copper-bright); }
.btn--block { width: 100%; justify-content: center; margin-top: 8px; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 64px; align-items: center; min-height: calc(100vh - 200px); }
.hero__title {
  font-size: clamp(3.4rem, 7.5vw, 6.6rem);
  font-weight: 800; letter-spacing: -0.04em; line-height: 0.94;
  color: var(--steel-0); margin: 20px 0 26px;
}
.hero__title em { font-style: normal; color: var(--copper-bright); }
.hero__lede { font-size: 1.08rem; font-weight: 300; color: var(--steel-2); max-width: 520px; margin-bottom: 34px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero__specs { display: flex; gap: 36px; flex-wrap: wrap; }
.hero__specs dt { color: var(--steel-3); font-size: 0.6rem; margin-bottom: 4px; }
.hero__specs dd { color: var(--copper-bright); font-size: 1.3rem; font-weight: 500; }
.hero__plate .plate__svg { display: block; width: 100%; height: auto; padding: 10px; }

.scrollcue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  color: var(--steel-3); text-decoration: none; font-size: 0.6rem;
  animation: cue-bob 2.6s var(--ease-mech) infinite;
}
@keyframes cue-bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 7px); } }

/* ---------- SVG line language ---------- */
.ln { stroke: var(--steel-1); stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ln--dim { stroke: var(--steel-3); stroke-width: 1.4; }
.ln--faint { stroke: var(--steel-3); stroke-width: 1; opacity: 0.45; }
.ln--copper { stroke: var(--copper-bright); }
.ln--copper-fill { fill: var(--copper); stroke: none; }
.ln--needle { stroke: var(--copper-bright); stroke-width: 3; }
.ln--stream { stroke: var(--copper); stroke-width: 3; opacity: 0; transition: opacity 0.4s; }
.ln--hot { stroke: var(--steel-2); transition: stroke 0.25s; }
.svg-mono { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; fill: var(--steel-3); }

.steam-puff { fill: none; stroke: var(--steel-2); opacity: 0; }

/* ---------- range inputs ---------- */
input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 26px; background: transparent; cursor: pointer;
}
input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: var(--graphite-3); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 18px; height: 18px; margin-top: -8px;
  background: var(--graphite-1); border: 2px solid var(--copper);
  transform: rotate(45deg); transition: background 0.2s;
}
input[type="range"]:hover::-webkit-slider-thumb,
input[type="range"]:focus-visible::-webkit-slider-thumb { background: var(--copper); }
input[type="range"]::-moz-range-track { height: 2px; background: var(--graphite-3); }
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; background: var(--graphite-1); border: 2px solid var(--copper); border-radius: 0; transform: rotate(45deg); }
input[type="range"]:focus-visible { outline: 1px dashed var(--copper); outline-offset: 4px; }

/* ---------- dial-in ---------- */
.dialin { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); grid-template-areas: "controls readout" "cup readout"; gap: 22px; }
.dialin__controls { grid-area: controls; padding-bottom: 22px; }
.dialin__readout { grid-area: readout; }
.dialin__cup { grid-area: cup; }
.ctl { padding: 18px 22px 6px; }
.ctl__row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.ctl__label { font-size: 0.95rem; font-weight: 500; color: var(--steel-0); }
.ctl__value { color: var(--copper-bright); }
.ctl__scale { display: flex; justify-content: space-between; color: var(--steel-3); font-size: 0.58rem; padding-top: 2px; }
.dialin__controls .btn--block { width: calc(100% - 44px); margin: 14px 22px 0; }
.dialin__target { color: var(--steel-3); text-align: center; margin-top: 12px; font-size: 0.6rem; }
.dialin__gauge-wrap { display: flex; flex-direction: column; align-items: center; padding: 14px 10px 4px; }
#gauge-canvas { width: 100%; max-width: 520px; height: auto; }
#curve-canvas { width: 100%; max-width: 520px; height: auto; border-top: 1px dashed var(--graphite-3); }
.dialin__verdict { padding: 12px 22px 20px; border-top: 1px dashed var(--graphite-3); }
.dialin__shot { display: flex; justify-content: space-between; color: var(--steel-2); padding: 6px 0 10px; font-size: 0.7rem; font-variant-numeric: tabular-nums; }
.dialin__note { font-size: 0.92rem; color: var(--steel-2); min-height: 3.2em; }
.dialin__note strong { color: var(--copper-bright); font-weight: 600; }
.cup-svg { display: block; width: 100%; height: auto; padding: 8px; }
.cup-liquid { fill: #2a1a10; opacity: 0; transition: opacity 0.5s; }
.cup-crema { fill: #c97b3d; opacity: 0; transition: opacity 0.5s, fill 0.5s; }

/* ---------- pour game ---------- */
.pour__arena { position: relative; background: var(--graphite-0); }
#pour-canvas { display: block; width: 100%; height: min(56vh, 480px); touch-action: none; outline: none; }
#pour-canvas:focus-visible { outline: 1px dashed var(--copper); outline-offset: -4px; }
.pour__overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 14px; text-align: center;
  background: rgba(20,22,26,0.88); backdrop-filter: blur(3px);
  transition: opacity 0.4s var(--ease-mech);
}
.pour__overlay.is-hidden { opacity: 0; pointer-events: none; }
.pour__overlay-title { color: var(--copper-bright); font-size: 0.9rem; letter-spacing: 0.3em; }
.pour__overlay-copy { color: var(--steel-1); font-size: 0.95rem; line-height: 2; }
.pour__overlay-copy .mono { color: var(--copper-bright); border: 1px solid var(--graphite-3); padding: 1px 6px; }
.pour__hud { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px dashed var(--graphite-3); }
.pour__hud-cell { display: flex; flex-direction: column; gap: 2px; padding: 12px 20px; border-right: 1px dashed var(--graphite-3); }
.pour__hud-cell:last-child { border-right: none; }
.pour__hud-label { color: var(--steel-3); font-size: 0.56rem; }
.pour__hud-cell span:last-child { color: var(--steel-0); font-size: 1rem; font-variant-numeric: tabular-nums; }
.pour__touch { display: none; position: absolute; left: 0; right: 0; bottom: 10px; justify-content: space-between; padding: 0 14px; pointer-events: none; }
.pour__tbtn {
  pointer-events: auto; width: 62px; height: 62px; border-radius: 50%;
  background: rgba(43,48,56,0.85); border: 1px solid var(--steel-3); color: var(--steel-0);
  font-family: var(--font-mono); font-size: 0.9rem; touch-action: none;
}
.pour__tbtn--pour { width: 86px; border-radius: 31px; border-color: var(--copper); color: var(--copper-bright); }
.pour__tbtn:active { background: var(--copper); color: var(--graphite-0); }
.stage--dark .plate { background: linear-gradient(160deg, var(--graphite-2), #191c21); }

/* ---------- evidence ---------- */
.evidence { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.evidence__plate { display: flex; flex-direction: column; }
.evidence__chart { width: 100%; height: auto; padding: 12px; }
.evidence__caption { padding: 4px 22px 20px; color: var(--steel-2); font-size: 0.92rem; }
.evidence__caption strong { color: var(--copper-bright); }
.evidence__grind-slider { margin: 0 22px 8px; width: calc(100% - 44px); }
.evidence__caption.mono { font-size: 0.68rem; color: var(--steel-1); line-height: 1.8; }
.evidence__plate--anatomy { grid-column: 1 / -1; }
.anatomy { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); align-items: stretch; }
.anatomy__svg { width: 100%; height: 100%; min-height: 320px; padding: 14px; }
.anat { cursor: pointer; }
.anat:hover .ln--hot, .anat:focus .ln--hot, .anat.is-active .ln--hot { stroke: var(--copper-bright); }
.anat:focus { outline: none; }
.anat:focus .anat__ring { stroke: var(--copper-bright); }
.anat__ring { fill: var(--graphite-1); stroke: var(--steel-3); stroke-width: 1.4; transition: stroke 0.25s; }
.anat__hit { fill: transparent; stroke: none; pointer-events: all; }
.anat.is-active .anat__ring { stroke: var(--copper); fill: var(--copper-dim); }
.anat__num { font-family: var(--font-mono); font-size: 10px; fill: var(--steel-1); pointer-events: none; }
.anatomy__card { border-left: 1px dashed var(--graphite-3); padding: 26px; display: flex; flex-direction: column; justify-content: center; }
.anatomy__card-kicker { color: var(--copper-bright); margin-bottom: 10px; }
.anatomy__card-title { font-size: 1.35rem; font-weight: 700; letter-spacing: -0.01em; color: var(--steel-0); margin-bottom: 12px; }
.anatomy__card-copy { color: var(--steel-2); font-size: 0.94rem; }
.anatomy__card-copy strong { color: var(--steel-0); }

/* ---------- lineup ---------- */
.lineup { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.spec {
  background: linear-gradient(165deg, var(--graphite-2), var(--graphite-1));
  border: 1px solid var(--graphite-3); display: flex; flex-direction: column;
  transition: transform 0.35s var(--ease-mech), border-color 0.35s;
}
.spec:hover { transform: translateY(-6px); border-color: var(--copper-dim); }
.spec__head { display: flex; justify-content: space-between; padding: 12px 18px; border-bottom: 1px dashed var(--graphite-3); color: var(--steel-3); }
.spec__imgwrap { position: relative; padding: 20px; display: grid; place-items: center; background-image: linear-gradient(var(--blueprint-faint) 1px, transparent 1px), linear-gradient(90deg, var(--blueprint-faint) 1px, transparent 1px); background-size: 28px 28px; }
.spec__img { width: 74%; height: auto; filter: drop-shadow(0 18px 24px rgba(0,0,0,0.45)); transition: transform 0.45s var(--ease-mech); }
.spec:hover .spec__img { transform: scale(1.04) rotate(-0.6deg); }
.spec__body { padding: 16px 18px 20px; flex: 1; display: flex; flex-direction: column; }
.spec__name { font-size: 1.15rem; font-weight: 700; color: var(--steel-0); letter-spacing: -0.01em; }
.spec__code { color: var(--copper-bright); font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.12em; margin: 4px 0 12px; }
.spec__mech { color: var(--steel-2); font-size: 0.9rem; flex: 1; }
.spec__stats { display: flex; gap: 18px; margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--graphite-3); }
.spec__stats div { font-family: var(--font-mono); font-size: 0.6rem; color: var(--steel-3); }
.spec__stats strong { display: block; color: var(--steel-0); font-size: 0.85rem; font-weight: 500; }

/* ---------- bench ---------- */
.bench { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 22px; align-items: start; }
.bench__group-label { color: var(--steel-3); margin: 20px 0 12px; }
.bench__group-label:first-child { margin-top: 0; }
.bench__options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bopt {
  border: 1px solid var(--graphite-3); background: var(--graphite-1);
  padding: 12px; cursor: pointer; text-align: left; color: var(--steel-1);
  display: flex; gap: 12px; align-items: center; font-family: var(--font-sans);
  transition: border-color 0.25s, background 0.25s;
}
.bopt img { width: 54px; height: 54px; object-fit: contain; flex: none; }
.bopt__name { font-size: 0.85rem; font-weight: 600; color: var(--steel-0); display: block; }
.bopt__code { font-family: var(--font-mono); font-size: 0.56rem; color: var(--steel-3); letter-spacing: 0.1em; }
.bopt:hover { border-color: var(--steel-3); }
.bopt.is-selected { border-color: var(--copper); background: linear-gradient(160deg, rgba(201,123,61,0.14), var(--graphite-1)); }
.bopt:disabled { opacity: 0.35; cursor: not-allowed; }
.bench__list { list-style: none; padding: 14px 22px; min-height: 120px; }
.bench__list li { padding: 6px 0; border-bottom: 1px dashed var(--graphite-3); color: var(--steel-1); font-size: 0.66rem; display: flex; justify-content: space-between; }
.bench__list li span:last-child { color: var(--steel-3); }
.bench__empty { color: var(--steel-3) !important; border-bottom: none !important; }
.bench__scores { padding: 16px 22px; display: grid; gap: 12px; border-top: 1px dashed var(--graphite-3); }
.bscore { display: grid; grid-template-columns: 74px 1fr 30px; align-items: center; gap: 12px; color: var(--steel-3); }
.bscore__bar { height: 6px; background: var(--graphite-3); position: relative; overflow: hidden; }
.bscore__fill { position: absolute; inset: 0 100% 0 0; background: linear-gradient(90deg, var(--copper-dim), var(--copper-bright)); transition: inset 0.7s var(--ease-mech); }
.bscore__val { color: var(--steel-0); text-align: right; }
.bench__verdict { padding: 0 22px 20px; color: var(--steel-2); font-size: 0.92rem; }
.bench__verdict strong { color: var(--copper-bright); }

/* ---------- ladder ---------- */
.ladder { max-width: 760px; margin: 0 auto 64px; position: relative; padding-left: 34px; }
.ladder::before { content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 2px; background: var(--graphite-3); }
.rung { position: relative; padding: 18px 0 18px 22px; }
.rung::before {
  content: ""; position: absolute; left: -31px; top: 24px; width: 14px; height: 14px;
  border: 1px solid var(--steel-3); transform: rotate(45deg); background: var(--graphite-0);
  transition: all 0.4s var(--ease-mech);
}
.rung.is-done::before { background: var(--copper); border-color: var(--copper); }
.rung.is-now::before { background: var(--graphite-0); border-color: var(--copper-bright); box-shadow: 0 0 0 5px rgba(201,123,61,0.25); }
.rung__rank { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.rung__name { font-size: 1.3rem; font-weight: 700; color: var(--steel-0); letter-spacing: -0.01em; }
.rung:not(.is-done):not(.is-now) .rung__name { color: var(--steel-3); }
.rung__xp { font-family: var(--font-mono); font-size: 0.62rem; color: var(--copper-bright); }
.rung:not(.is-done):not(.is-now) .rung__xp { color: var(--steel-3); }
.rung__desc { color: var(--steel-2); font-size: 0.9rem; max-width: 560px; margin-top: 4px; }
.rung__bar { height: 4px; background: var(--graphite-3); margin-top: 10px; max-width: 320px; }
.rung__bar-fill { height: 100%; background: var(--copper); width: 0%; transition: width 0.8s var(--ease-mech); }

/* ---------- cta ---------- */
.cta__body { padding: 34px; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 36px; align-items: center; }
.cta__photo img { display: block; width: 100%; height: auto; border: 1px solid var(--graphite-3); filter: saturate(0.85); }
.cta__photo figcaption { color: var(--steel-3); padding-top: 8px; font-size: 0.56rem; }
.cta__text { text-align: left; }
.cta__title { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 800; letter-spacing: -0.03em; color: var(--steel-0); margin-bottom: 16px; }
.cta__title em { font-style: normal; color: var(--copper-bright); }
.cta__copy { color: var(--steel-2); max-width: 480px; margin: 0 0 30px; font-weight: 300; }
.cta__actions { display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 860px) { .cta__body { grid-template-columns: 1fr; padding: 22px; } }

/* ---------- footer ---------- */
.footer {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding: 26px 28px 26px calc(var(--rail-w) + 28px);
  color: var(--steel-3); font-size: 0.58rem; border-top: 1px solid var(--graphite-3);
}

/* ---------- focus ---------- */
a:focus-visible, button:focus-visible { outline: 1px dashed var(--copper); outline-offset: 3px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .lineup { grid-template-columns: 1fr 1fr; }
  .dialin { grid-template-columns: 1fr; grid-template-areas: "controls" "readout" "cup"; }
  .evidence { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  :root { --rail-w: 0px; }
  .rail { display: none; }
  .stage { padding: 96px 20px 70px; }
  .topbar { padding: 12px 16px; }
  .topbar__tag { display: none; }
  .footer { padding: 22px 16px; }
  .hero { grid-template-columns: 1fr; gap: 36px; min-height: 0; }
  .bench { grid-template-columns: 1fr; }
  .anatomy { grid-template-columns: 1fr; }
  .anatomy__card { border-left: none; border-top: 1px dashed var(--graphite-3); }
  .pour__touch { display: flex; }
  .hero__specs { gap: 22px; }
  .stage__head { margin-bottom: 36px; }
}
@media (max-width: 560px) {
  .lineup { grid-template-columns: 1fr; }
  .pour__hud { grid-template-columns: 1fr 1fr; }
  .pour__hud-cell:nth-child(2) { border-right: none; }
  .pour__hud-cell:nth-child(1), .pour__hud-cell:nth-child(2) { border-bottom: 1px dashed var(--graphite-3); }
  .hero__cta .btn { width: 100%; justify-content: center; }
  .cta__actions .btn { width: 100%; justify-content: center; }
  .topbar__xp-rank { display: none; }
}
