/* Witness Mini. Layout idea: the text walks down the left; the tester stays on a studio backdrop on the right
   and turns, opens and lights up as the text reaches each part. The type is the tester's own (Lato). */
:root {
  --ink: #161412;
  --paper: #f6f2ea;
  --paper-2: #ebe5d8;
  --sun: #f5b921;            /* the backdrop: the one loud thing on the page */
  --night: #121110;
  --muted: #6b655a;
  --line: #d8d0c0;
  --ok: #13925a;             /* the tester's own verdict colours, tuned for paper */
  --warn: #c97800;
  --sens-l: #2f7fe6;
  --sens-r: #e8731f;
  --display: Lato, "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --body: Lato, "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --gut: clamp(20px, 5.2vw, 76px);
  color-scheme: light;
}
@font-face { font-family: Lato; src: url(../fonts/lato-light.woff2) format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: Lato; src: url(../fonts/lato-regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Lato; src: url(../fonts/lato-semibold.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: Lato; src: url(../fonts/lato-bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 18px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
img, svg, canvas { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.022em; line-height: 1.04; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(40px, 5.6vw, 84px); }
h2 { font-size: clamp(32px, 3.7vw, 56px); }
h3 { font-size: 22px; letter-spacing: -0.01em; line-height: 1.2; }
p { margin: 0; max-width: 34em; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--sens-l); outline-offset: 3px; border-radius: 6px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.small, .note { font-size: 15px; color: var(--muted); }

/* ---------------------------------------------------------------- top bar */
.top { position: absolute; z-index: 20; top: var(--announce-h, 0px); left: 0; width: 46%; display: flex; align-items: center; gap: 22px;
       padding: 18px var(--gut); pointer-events: none; }
.top > * { pointer-events: auto; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 400 19px/1 var(--display); letter-spacing: -0.01em; white-space: nowrap; }
.brand b { font-weight: 700; }
.top nav { display: flex; gap: 16px; margin-left: auto; font-size: 14px; }
.top nav a { text-decoration: none; color: var(--muted); padding: 6px 0; white-space: nowrap; }
.top nav a:hover { color: var(--ink); }
.top .btn-small { display: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 2px solid var(--ink);
       background: var(--ink); color: var(--paper); font: 700 17px/1 var(--body); text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); background: #2a2622; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: rgba(22, 20, 18, 0.06); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 15px; }

/* ---------------------------------------------------------------- the story: text left, the tester right */
.story { display: grid; grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); }
.panel { grid-column: 1; min-height: 100vh; min-height: 100svh; padding: 110px var(--gut) 90px; display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.panel.hero { gap: 26px; }
.lede { font-size: clamp(19px, 1.5vw, 23px); line-height: 1.45; max-width: 27em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 26px 0 0; padding-top: 22px; border-top: 1px solid var(--line); max-width: 560px; }
.facts div, .mini-specs div { display: flex; flex-direction: column; gap: 4px; }
.facts dt { font: 700 clamp(26px, 2.5vw, 38px)/1 var(--display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.facts dd, .mini-specs dd { margin: 0; font-size: 14px; line-height: 1.35; color: var(--muted); }
.mini-specs { display: grid; gap: 16px; margin: 8px 0 0; padding-top: 20px; border-top: 1px solid var(--line); max-width: 520px; }
.mini-specs dt { font: 700 21px/1.1 var(--display); letter-spacing: -0.01em; }

.stage { grid-column: 2; grid-row: 1 / span var(--rows, 5); position: sticky; top: 0; align-self: start; height: 100vh; height: 100svh; overflow: hidden; isolation: isolate; background: var(--paper-2); --stage-ink: var(--ink); }
.tone { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease; z-index: -1; }
.tone-sun { background: radial-gradient(120% 85% at 50% 42%, #fbcd45 0%, var(--sun) 46%, #e6a40a 100%); }
.tone-night { background: radial-gradient(110% 80% at 50% 40%, #2d2925 0%, #191715 55%, var(--night) 100%); }
.tone-paper { background: radial-gradient(120% 85% at 50% 40%, #f7f3ea 0%, var(--paper-2) 60%, #ded6c5 100%); }
.tone-dark { background: radial-gradient(110% 80% at 50% 42%, #2b2b2b 0%, #181818 55%, #0f0f0f 100%); }
.stage[data-tone="sun"] .tone-sun, .stage[data-tone="night"] .tone-night, .stage[data-tone="paper"] .tone-paper, .stage[data-tone="dark"] .tone-dark { opacity: 1; }
.stage[data-tone="night"], .stage[data-tone="dark"] { --stage-ink: #f3efe6; }
.stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; cursor: grab; outline: none;
                -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; -webkit-touch-callout: none; }
.stage canvas.dragging { cursor: grabbing; }
.stage .fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 8%; }
.stage.flash::after { content: ""; position: absolute; inset: 0; background: #fff; opacity: 0; animation: flash .42s ease-out; pointer-events: none; }
@keyframes flash { 0% { opacity: .55; } 100% { opacity: 0; } }

.stage-ui { position: absolute; left: 0; right: 0; bottom: clamp(18px, 4.5vh, 44px); display: flex; flex-direction: column; align-items: center; gap: 12px; pointer-events: none; }
.fire { pointer-events: auto; display: inline-flex; align-items: center; gap: 12px; min-height: 54px; padding: 0 24px 0 18px; border-radius: 999px; border: 0; cursor: pointer;
        background: var(--ink); color: var(--paper); font: 700 17px/1 var(--body); box-shadow: 0 10px 30px rgba(22, 20, 18, .28); transition: transform .15s ease, opacity .4s ease; }
.fire:hover { transform: translateY(-2px); }
.fire:active { transform: translateY(1px) scale(.98); }
.fire[hidden] { display: none; }
.fire-dot { width: 22px; height: 22px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px rgba(245, 185, 33, .28); }
.stage[data-tone="night"] .fire { background: #f3efe6; color: var(--ink); }
.stage[data-tone="night"] .fire-dot { background: var(--ink); box-shadow: 0 0 0 4px rgba(22, 20, 18, .18); }
.hint { margin: 0; font-size: 14px; color: var(--stage-ink); opacity: .62; transition: opacity .6s ease; }
.hint.done { opacity: 0; }

.labels { position: absolute; inset: 0; pointer-events: none; }
.label { position: absolute; left: 0; top: 0; display: flex; align-items: flex-start; gap: 0; opacity: 0; transition: opacity .5s ease; color: var(--stage-ink); will-change: transform; }
.label.on { opacity: 1; }
.label i { flex: none; width: 54px; height: 1px; background: currentColor; margin-top: 0; position: relative; opacity: .7; }
.label i::before { content: ""; position: absolute; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.label.on-tester { color: #f3efe6; }
.label.on-tester i { width: 30px; }
.label[data-side="r"] i::before { left: -3px; }
.label[data-side="l"] { flex-direction: row-reverse; }
.label[data-side="l"] i::before { right: -3px; }
.label span { display: flex; flex-direction: column; gap: 2px; font: 700 15px/1.15 var(--body); transform: translateY(-8px); padding: 0 8px; white-space: nowrap; }
.label small { font-weight: 400; font-size: 13px; opacity: .72; white-space: normal; width: 148px; line-height: 1.25; }
.label[data-side="l"] span { text-align: right; align-items: flex-end; }

/* ---------------------------------------------------------------- inside the panels */
.gestures { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 9px; max-width: 30em; }
.gestures li { padding-left: 20px; position: relative; color: var(--muted); }
.gestures li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); }
.gestures b { color: var(--ink); font-weight: 700; }
.try { font-weight: 700; margin-top: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; max-width: 520px; }
.chips button { min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: transparent; color: var(--ink); font: 600 15px/1 var(--body); cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.chips button:hover { border-color: var(--ink); }
.chips button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.turn { align-self: flex-start; }
.switch { display: inline-flex; align-self: flex-start; padding: 4px; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--line); }
.switch button { min-height: 40px; padding: 0 22px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: 700 15px/1 var(--body); cursor: pointer; transition: background .15s, color .15s; }
.switch button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.turn[hidden] { display: none; }

.pulses { margin: 12px 0 0; max-width: 540px; }
.pulses svg { display: block; width: 100%; height: auto; overflow: visible; }
.pulses .grid line { stroke: var(--line); stroke-width: 1; stroke-dasharray: 3 4; }
.pulses .rows line { stroke: var(--line); stroke-width: 1.5; }
.pulses .row-name { font: 700 22px var(--display); fill: var(--ink); }
.pulses .row-name.l, .pulses .values .l { fill: var(--sens-l); }
.pulses .row-name.r, .pulses .values .r { fill: var(--sens-r); }
.pulses .traces path { fill: none; stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.pulses .traces .l { stroke: var(--sens-l); }
.pulses .traces .c { stroke: var(--ink); }
.pulses .traces .r { stroke: var(--sens-r); }
.pulses .cursor { stroke: var(--sun); stroke-width: 10; stroke-linecap: round; opacity: .85; }
.pulses .values text { font: 700 20px var(--display); font-variant-numeric: tabular-nums; opacity: 0; transition: opacity .35s ease; }
.pulses .values .c { fill: var(--ink); }
.pulses.done .values text { opacity: 1; }
.pulses .axis { font: 400 12px var(--body); fill: var(--muted); }
.pulses figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }

/* ---------------------------------------------------------------- the bands below the story */
.band { padding: clamp(64px, 9vw, 130px) var(--gut); border-top: 1px solid var(--line); }
.band-alt { background: var(--paper-2); }
.wrap { max-width: 1180px; margin: 0 auto; display: grid; gap: 26px; }
.wrap.two { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.wrap.two > div { display: grid; gap: 20px; }
.steps { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); counter-reset: step; }
.steps li { display: grid; gap: 12px; align-content: start; counter-increment: step; }
.steps svg { width: 100%; height: auto; background: var(--paper-2); border-radius: 18px; }
.steps h3::before { content: counter(step) ". "; color: var(--muted); font-weight: 400; }
.steps p { font-size: 16px; color: var(--muted); }
/* the camera in step 1: a Canon 7 from behind, back open, traced from a photograph (its numbers are that
   photograph's pixels: 7.37 to the millimetre) */
.k-chrome, .k-chrome2, .k-chrome3, .k-raised { fill: var(--paper); stroke: var(--ink); stroke-linejoin: round; }
.k-chrome { stroke-width: 7; }
.k-chrome2 { stroke-width: 4.5; }
.k-chrome3 { fill: #d5cdbc; stroke-width: 4.5; }
.k-raised { fill: #fbf9f4; stroke-width: 4.5; }
.k-thin { fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; opacity: .7; }
.k-lite { fill: none; stroke: #b7ae9b; stroke-width: 2.6; stroke-linecap: round; opacity: .8; }
.k-black { fill: var(--ink); }
.k-ring { fill: none; stroke: #5a5347; stroke-width: 3; }
.k-glass { fill: #a8bfd4; stroke: #0b0a09; stroke-width: 3; }
.k-patch { fill: #f3efe6; opacity: .85; }
.k-screw { fill: #e2dccf; stroke: var(--ink); stroke-width: 2.6; }
.k-knurl { fill: none; stroke: var(--ink); stroke-width: 5; stroke-dasharray: 2.5 4; opacity: .7; }
.k-eng { fill: none; stroke: #5d574c; stroke-width: 9; stroke-dasharray: 11 5 7 5; opacity: .8; }
.k-shade { fill: var(--ink); opacity: .8; }
.k-dark { fill: #6d6659; stroke: var(--ink); stroke-width: 4.5; stroke-linejoin: round; }
.k-deep { fill: #585246; }
.k-track { fill: #4d473d; stroke: var(--ink); stroke-width: 2.6; }
.k-gate { fill: #26221e; }
.k-rail { fill: #f6f2ea; stroke: var(--ink); stroke-width: 2.6; }
.k-part { fill: #3f3a32; stroke: #1b1916; stroke-width: 2.6; }
.k-part2 { fill: #57503f; stroke: #1b1916; stroke-width: 2.6; }
.k-door { fill: #4a443a; stroke: var(--ink); stroke-width: 7; stroke-linejoin: round; }
.k-edge { fill: none; stroke: #8d8573; stroke-width: 5; stroke-linecap: round; }
.k-cast { fill: rgba(10, 9, 8, .38); }
.k-read { fill: none; stroke: #f3efe6; stroke-width: 12; stroke-linecap: round; opacity: .9; }
.c-screen { fill: #2c2824; }
.s-tester { fill: var(--ink); }
.s-dot { fill: var(--sun); }
.s-lamp { fill: var(--sun); stroke: var(--ink); stroke-width: 2.5; }
.s-rays line { stroke: var(--ink); stroke-width: 2.5; stroke-linecap: round; }
.s-bar { fill: #6b655a; }
.s-bar.g { fill: #35d07f; }
.s-bar.w { fill: #f3efe6; }
.s-num { font: 700 30px var(--display); fill: #fff; letter-spacing: -0.02em; }
.s-ok { font: 700 15px var(--display); fill: #35d07f; }

.models { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); margin-top: 14px; }
.model { display: grid; gap: 10px; align-content: start; padding: clamp(22px, 2.6vw, 36px); border-radius: 22px; background: var(--paper-2); }
.model-field { background: var(--sun); }
.model-code { font: 700 13px/1 var(--body); letter-spacing: 0.14em; color: var(--muted); }
.model-field .model-code { color: rgba(22, 20, 18, 0.62); }
.model h3 { font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -0.02em; }
.model-line { font-weight: 700; }
.model ul { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 8px; font-size: 16px; }
.model li { padding-left: 18px; position: relative; }
.model li::before { content: ""; position: absolute; left: 0; top: .66em; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }

.pro { background: var(--paper); }
.pro .wrap.two { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: center; }
.pro-list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 12px; max-width: 32em; }
.pro-list li { padding-left: 20px; position: relative; color: var(--muted); }
.pro-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.pro-list b { color: var(--ink); }
.report { margin: 0; padding: 22px 22px 18px; border-radius: 22px; background: var(--night); color: #f3efe6; box-shadow: 0 24px 60px rgba(22, 20, 18, .18); transform: rotate(-1.2deg); }
.report-head { display: flex; justify-content: space-between; align-items: center; font: 700 17px/1 var(--display); margin-bottom: 8px; }
.report-tag { font: 700 11px/1 var(--body); letter-spacing: 0.14em; text-transform: uppercase; padding: 6px 9px; border-radius: 999px; background: rgba(243, 239, 230, .12); color: #c9c2b4; }
.report svg { display: block; width: 100%; height: auto; }
.report .r-band { fill: rgba(53, 208, 127, .13); }
.report .r-grid line { stroke: rgba(243, 239, 230, .18); stroke-width: 1; }
.report .r-axis text, .report .r-note { font: 400 12px var(--body); fill: #9a9385; }
.report .r-line { fill: none; stroke: rgba(243, 239, 230, .45); stroke-width: 2; }
.report .r-dots circle { fill: #35d07f; }
.report .r-dots .warn { fill: #ffb020; }
.report .r-val text { font: 700 14px var(--display); fill: #35d07f; font-variant-numeric: tabular-nums; }
.report .r-val .warn { fill: #ffb020; }
.report .r-speed text { font: 700 14px var(--display); fill: #f3efe6; font-variant-numeric: tabular-nums; }
.report figcaption { margin-top: 6px; font-size: 13px; color: #9a9385; }

.spec { width: 100%; border-collapse: collapse; font-size: 16px; }
.spec th, .spec td { text-align: left; vertical-align: top; padding: 14px 0; border-bottom: 1px solid var(--line); }
.spec th { width: 9.5em; padding-right: 18px; font-weight: 700; }
.spec td { color: #3a362f; }
.spec tr:first-child th, .spec tr:first-child td { border-top: 1px solid var(--line); }

.notify { background: var(--ink); color: var(--paper); border-top: 0; }
.notify .wrap { max-width: 760px; text-align: left; }
.notify p { color: #c9c2b4; }
.notify label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 8px; color: #c9c2b4; }
.field { display: flex; flex-wrap: wrap; gap: 10px; }
.field input { flex: 1 1 240px; min-height: 52px; padding: 0 18px; border-radius: 999px; border: 2px solid #4a453d; background: transparent; color: var(--paper); font: 400 17px var(--body); }
.field input::placeholder { color: #8a8375; }
.field input:focus-visible { outline-color: var(--sun); border-color: var(--sun); }
.notify .btn { background: var(--sun); color: var(--ink); border-color: var(--sun); }
.notify .btn:hover { background: #ffc934; }
.notify .check { display: flex; align-items: center; gap: 10px; margin: 16px 0 0; font-weight: 400; font-size: 15px; color: #c9c2b4; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--sun); }
.form-msg { min-height: 1.5em; margin-top: 12px; font-size: 15px; color: var(--sun); }

/* ---------------------------------------------------------------- our other projects */
.notice { max-width: 31em; padding: 16px 20px; border: 1.5px solid var(--ink); border-radius: 18px; display: grid; gap: 6px; }
.notice b { font-size: 17px; }
.notice p { font-size: 15px; line-height: 1.5; color: var(--muted); }
.panel.hero h2.title { font-size: clamp(40px, 5.6vw, 84px); }      /* a second project on the page: its name as large as the first's */
.also { font-size: 15px; color: var(--muted); }
.also a { color: var(--ink); font-weight: 700; }
.which { border: 0; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.which legend { padding: 0; margin-bottom: 4px; font-size: 14px; font-weight: 700; color: #c9c2b4; }
.notify .which .check { margin: 0; }
.stage-tag { position: absolute; top: 20px; right: 20px; margin: 0; padding: 8px 13px; border-radius: 999px; font: 700 12px/1 var(--body); letter-spacing: 0.14em;
             text-transform: uppercase; background: rgba(243, 239, 230, .12); color: #d8d2c4; pointer-events: none; }
.top nav a[aria-current="page"] { color: var(--ink); font-weight: 700; }
.stage[data-tone="dark"] .hint { padding: 7px 14px; border-radius: 999px; background: rgba(0, 0, 0, .5); opacity: .85; }
.stage[data-tone="dark"] .hint.done { opacity: 0; }
/* the piece of film the loupe looks at and what its screen makes of it, at one scale (37 mm against 49 mm): the
   whole frame first, and under it what a double tap brings up. The screen's corners are round: 2 mm of its
   48.96 x 36.72. */
.zoomfig { margin: 4px 0 0; max-width: 500px; }
.zoomfig-pair { display: grid; grid-template-columns: 37fr 48.96fr; gap: 18px 14px; align-items: end; }
.zoomfig-neg, .zoomfig-pos { display: grid; gap: 7px; }
.zoomfig-pic { position: relative; display: block; border-radius: 3px; overflow: hidden; background: var(--night); }
.zoomfig-pos .zoomfig-pic { border-radius: 4.085% / 5.447%; background: #000; }
.zoomfig-pic img { display: block; width: 100%; height: auto; }
.zoomfig-cap { font-size: 13px; line-height: 1.3; color: var(--muted); }
.zoomfig-cap b { color: var(--ink); }
.zoomfig-step { margin: 0; align-self: center; display: grid; gap: 4px; justify-items: end; text-align: right; font-size: 13px; line-height: 1.3; color: var(--muted); }
.zoomfig-step b { font: 700 19px/1.1 var(--display); letter-spacing: -0.01em; color: var(--ink); }
.zoomfig-step b::after { content: "\2192"; margin-left: 0.35em; }
.zoomfig figcaption { margin-top: 12px; font-size: 14px; line-height: 1.45; color: var(--muted); }
/* what the Loupe's screen answers to, line by line; a line that is a button does it on the model */
.moves { list-style: none; margin: 2px 0 0; padding: 0; max-width: 520px; border-top: 1px solid var(--line); }
.moves li { border-bottom: 1px solid var(--line); }
.moves li > * { display: grid; grid-template-columns: 9.5em minmax(0, 1fr) 1.3em; align-items: baseline; gap: 2px 14px; width: 100%; margin: 0; padding: 10px 0;
                text-align: left; font: inherit; color: inherit; background: none; border: 0; border-radius: 6px; }
.moves b { font: 700 17px/1.2 var(--display); letter-spacing: -0.01em; }
.moves span { font-size: 15px; line-height: 1.35; color: var(--muted); }
.moves button { cursor: pointer; }
.moves button::after { content: "\2192"; justify-self: end; color: var(--muted); transition: transform .15s ease, color .15s ease; }
.moves button:hover::after, .moves button:focus-visible::after { color: var(--ink); transform: translateX(3px); }
.moves button:active b { opacity: .6; }
.moves-note { font-size: 14px; line-height: 1.45; color: var(--muted); max-width: 520px; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.others .wrap.two { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: center; }
.others figure { margin: 0; }
.others img { display: block; width: 100%; height: auto; border-radius: 22px; background: #141413; }
.others figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); }
.foot a { text-decoration: none; }
.foot .links { display: flex; gap: 18px; font-size: 15px; }
.foot .links a:hover { color: var(--paper); }

.foot { padding: 28px var(--gut); background: var(--ink); color: #c9c2b4; border-top: 1px solid #2b2722; }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.foot .small { color: #8a8375; }
.foot .brand { color: var(--paper); font-size: 17px; }

@media (max-width: 1400px) { .top nav { display: none; } }

/* ---------------------------------------------------------------- narrow screens: the tester on top, the text under it */
@media (max-width: 900px) {
  body { font-size: 17px; }
  .top { width: 100%; padding: 12px 18px; background: transparent; }
  .top nav { display: none; }
  .top .btn-small { display: inline-flex; margin-left: auto; }
  .story { display: block; }
  .stage { height: 52vh; height: 52svh; z-index: 5; }
  .stage-ui { bottom: 12px; gap: 6px; }
  .fire { min-height: 46px; font-size: 15px; padding: 0 18px 0 14px; }
  .fire-dot { width: 18px; height: 18px; }
  .panel { min-height: 0; padding: 34px 20px 54px; justify-content: flex-start; gap: 18px; scroll-margin-top: 52svh; }
  .panel.hero { padding-top: 28px; }
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .label span { font-size: 13px; }
  .label small { display: none; }
  .label i { width: 26px; }
  .wrap.two, .pro .wrap.two, .others .wrap.two { grid-template-columns: 1fr; }
  .stage-tag { top: 62px; right: 12px; }
  .moves li > * { grid-template-columns: 7.6em minmax(0, 1fr) 1.2em; gap: 2px 10px; }
  .on-dark .top { color: #f3efe6; }                 /* here the top bar lies on the dark stage */
  .on-dark .top .btn-small { background: #f3efe6; border-color: #f3efe6; color: var(--ink); }
  .models { grid-template-columns: 1fr; }
  .report { transform: none; }
  .steps { grid-template-columns: 1fr; }
  .spec th { width: 7.2em; }
}
@media (max-width: 420px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .hint { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tone, .label, .fire, .btn, .moves button::after { transition: none; }
  .stage.flash::after { animation: none; }
}
