/* =========================================================
   Cosmos Consult — Darkroom under amber
   Material comes from photography; everything drawn is flat print.
   ========================================================= */

/* ---------- faces ---------- */
@font-face { font-family: "Geologica"; src: url("../fonts/geologica-latin-full.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Geologica"; src: url("../fonts/geologica-latin-ext-full.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geologica"; src: url("../fonts/geologica-cyrillic-full.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Caveat"; src: url("../fonts/caveat-latin-wght.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Caveat"; src: url("../fonts/caveat-latin-ext-wght.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Caveat"; src: url("../fonts/caveat-cyrillic-wght.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Fira Sans Extra Condensed"; src: url("../fonts/fsec-latin-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fira Sans Extra Condensed"; src: url("../fonts/fsec-latin-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fira Sans Extra Condensed"; src: url("../fonts/fsec-latin-ext-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fira Sans Extra Condensed"; src: url("../fonts/fsec-latin-ext-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fira Sans Extra Condensed"; src: url("../fonts/fsec-cyrillic-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Fira Sans Extra Condensed"; src: url("../fonts/fsec-cyrillic-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "DSEG7"; src: url("../fonts/dseg7-classic-bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "DSEG7"; src: url("../fonts/dseg7-classic-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

/* ---------- tokens ---------- */
:root {
  --ground: #B07614;          /* the safelight ground: everything under the lamp */
  --lamp: #F5A524;            /* the lamp itself, used as light on dark */
  --ink: #0F0902;             /* all text on the amber ground */
  --night: #1A1106;
  --night-deep: #110B03;
  --silver: #C8C2B4;
  --silver-2: #A69E8E;
  --silver-4: #3A3631;
  --black: #0B0B0B;
  --enamel: #EDE6D6;
  --paper: #F2E3C3;
  --red: #B0321C;             /* grease pencil on paper */
  --red-lit: #E0573B;         /* grease pencil on the dark bench */
  --led: #FF9A3C;
  --focus: var(--ink);

  --gutter: clamp(16px, 4vw, 64px);
  --maxw: 1360px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --f-sans: "Geologica", ui-sans-serif, system-ui, sans-serif;
  --f-label: "Fira Sans Extra Condensed", "Geologica", ui-sans-serif, sans-serif;
  --f-pen: "Caveat", "Segoe Print", cursive;
  --f-lcd: "DSEG7", ui-monospace, monospace;

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .18 0 0 0 0 .1 0 0 0 0 .02 1.1 0 0 0 -.5'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  --grain-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .75 0 0 0 0 .4 .5 0 0 0 -.2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  --grain-paper: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .22 0 0 0 0 .06 .7 0 0 0 -.3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  --vig: 56px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scrollbar-color: #8a5c12 var(--night-deep); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--night-deep);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  caret-color: var(--red);
}
::selection { background: var(--ink); color: var(--lamp); }
img, svg, canvas { max-width: 100%; }
a { color: inherit; text-underline-offset: .24em; text-decoration-thickness: 1.5px; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.ico { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.wrap { position: relative; z-index: 1; width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.note { font-family: var(--f-pen); font-weight: 700; letter-spacing: .005em; }
.note--red { color: var(--red); }
.label { font-family: var(--f-label); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; }
.h2 { font-weight: 700; font-size: clamp(2.1rem, 1.25rem + 2.9vw, 4.1rem); line-height: 1.0; letter-spacing: -.032em; text-wrap: balance; }
.nw { white-space: nowrap; }
[hidden] { display: none !important; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: var(--lamp); padding: 12px 16px; border-radius: 3px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
main:focus { outline: none; }

/* the safelight ground: one lamp per room, falloff, a soft vignette at the walls */
.hero, .get, .status, .variants, .terms {
  position: relative;
  overflow-x: clip;
  background-color: var(--ground);
  background-image:
    var(--grain),
    radial-gradient(var(--lamp-size, 70% 80%) at var(--lx, 50%) var(--ly, 30%), rgba(234, 166, 54, .62) 0%, rgba(234, 166, 54, .22) 45%, rgba(234, 166, 54, 0) 75%),
    linear-gradient(90deg, rgba(48, 28, 3, .36) 0, rgba(48, 28, 3, 0) var(--vig), rgba(48, 28, 3, 0) calc(100% - var(--vig)), rgba(48, 28, 3, .36) 100%);
}
.fade-top::before, .fade-bottom::after { content: ""; position: absolute; left: 0; right: 0; height: clamp(90px, 12vw, 170px); pointer-events: none; z-index: 0; }
.fade-top::before { top: 0; background: linear-gradient(180deg, var(--night) 0%, rgba(26, 17, 6, .6) 35%, rgba(26, 17, 6, 0) 100%); }
.fade-bottom::after { bottom: 0; background: linear-gradient(0deg, #1A1206 0%, rgba(26, 18, 6, .6) 35%, rgba(26, 18, 6, 0) 100%); }

/* ---------- header ---------- */
.head {
  position: absolute; z-index: 30; top: 0; left: 0; right: 0;
  max-width: 1600px; margin: 0 auto;
  display: flex; align-items: center; gap: clamp(14px, 2.2vw, 36px);
  padding: clamp(14px, 2vw, 24px) max(var(--gutter), calc((100% - 1480px) / 2));
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand__box { flex: none; display: inline-block; padding: 3px; background: var(--ink); }
.brand__name {
  display: block;
  border: 1px solid rgba(245, 165, 36, .55);
  padding: 6px 12px 5px 14px;
  color: var(--lamp);
  font-family: var(--f-label); font-weight: 700; font-size: 1.02rem; line-height: 1;
  letter-spacing: .3em; text-transform: uppercase;
  white-space: nowrap;
}
.brand__desc { font-size: .82rem; line-height: 1.3; font-weight: 500; color: var(--ink); white-space: nowrap; }
.nav { margin-left: auto; position: relative; }
.nav__toggle { display: none; }
.nav__list { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); list-style: none; margin: 0; padding: 0; }
.nav__list a {
  display: inline-block; padding: 8px 0;
  color: var(--ink); text-decoration: none;
  font-family: var(--f-label); font-weight: 700; font-size: .98rem; letter-spacing: .14em; text-transform: uppercase;
  background-image: linear-gradient(var(--ink), var(--ink));
  background-size: 0 2px; background-position: 0 100%; background-repeat: no-repeat;
  transition: background-size .45s var(--ease-out);
}
.nav__list a:hover { background-size: 100% 2px; }
.nav__list a.nav__sheet { padding: 7px 12px; border: 1.5px solid var(--ink); background-image: none; transition: background-color .25s, color .25s; }
.nav__list a.nav__sheet:hover { background-color: var(--ink); color: var(--lamp); }

/* the language switch: a two-way lamp switch, printed flat */
.lamp { flex: none; display: inline-flex; border: 1.5px solid var(--ink); border-radius: 3px; }
.lamp__side {
  appearance: none; border: 0; cursor: pointer; background: transparent; color: var(--ink);
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px 8px 10px;
  font-family: var(--f-label); font-weight: 700; font-size: .95rem; letter-spacing: .14em; line-height: 1;
  transition: background-color .25s, color .25s;
}
.lamp__side + .lamp__side { border-left: 1.5px solid var(--ink); }
.lamp__side[aria-pressed="true"] { background: var(--ink); color: var(--lamp); }
.lamp__led { width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid currentColor; }
.lamp__side[aria-pressed="true"] .lamp__led { background: var(--lamp); border-color: var(--lamp); }
.lamp :focus-visible { outline-offset: 2px; }

/* ---------- 1 · hero ---------- */
.hero {
  --lx: 24%; --ly: 50%; --lamp-size: 60% 78%;
  min-height: max(700px, 100svh);
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 0;
  padding: clamp(110px, 15vh, 150px) max(var(--gutter), calc((100% - 1480px) / 2)) clamp(48px, 8vh, 96px);
}
.hero__copy { position: relative; z-index: 3; }
.hero__title { font-weight: 720; font-size: clamp(2.3rem, 1rem + 3vw, 4.3rem); line-height: .98; letter-spacing: -.036em; color: var(--ink); text-wrap: balance; max-width: 14ch; }
.hero__title .w { will-change: opacity, filter; }
.circled { position: relative; white-space: nowrap; display: inline-block; }
.circled::after {
  content: ""; position: absolute; inset: -.2em -.24em -.16em -.2em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 100' preserveAspectRatio='none'%3E%3Cpath d='M38 22 C 90 4, 230 2, 282 30 C 304 46, 290 84, 220 92 C 150 100, 40 96, 14 70 C -4 50, 22 26, 66 16 C 90 11, 120 9, 150 10' fill='none' stroke='%23861E0C' stroke-width='4.4' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  pointer-events: none;
}
.motion .circled::after { clip-path: inset(0 100% 0 0); transition: clip-path 1.3s cubic-bezier(.45, .05, .3, 1); }
.motion .hero__title.is-marked .circled::after { clip-path: inset(0 0 0 0); }
.hero__lead { margin-top: clamp(20px, 3vh, 30px); font-size: clamp(1.06rem, .96rem + .35vw, 1.28rem); line-height: 1.5; color: var(--ink); max-width: 33ch; }
.hero__actions { margin-top: clamp(26px, 4vh, 38px); display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.motion .hero__title, .motion .hero__lead, .motion .hero__actions, .motion .hero__note { opacity: 0; }

/* the photographed bath; the canvas print lives inside it */
.hero__plate {
  position: absolute; z-index: 1;
  right: 0; top: 50%; translate: 0 -46%;
  width: min(58%, 1000px);
  aspect-ratio: 1.36;
  max-height: calc(100% - 150px);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%), linear-gradient(180deg, transparent 0, #000 7%, #000 90%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 6%), linear-gradient(180deg, transparent 0, #000 7%, #000 90%, transparent 100%);
  mask-composite: intersect;
}
.hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; object-position: 55% 50%; }
.quad { position: absolute; left: 0; top: 0; transform-origin: 0 0; pointer-events: none; }
.quad__canvas, .quad canvas { display: block; width: 100%; height: 100%; }
.motion .quad[data-quad="hero"] { visibility: hidden; }
.canvas-ok .quad[data-quad="hero"] { visibility: visible; }
.hero__note {
  position: absolute; z-index: 3; left: 24%; top: 82%;
  display: flex; align-items: flex-start; gap: 4px;
  font-size: clamp(1.4rem, 1.05rem + .9vw, 2rem); line-height: 1.1; color: var(--lamp);
  rotate: -3deg;
}
.hero__arrow { width: clamp(46px, 4vw, 70px); flex: none; fill: none; stroke: var(--lamp); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; translate: 0 -55%; }

/* timers: a printed panel with segment digits */
.timer {
  display: inline-flex; align-items: stretch; gap: 6px;
  padding: 6px;
  background: #0D0803;
  border: 1px solid rgba(245, 165, 36, .3);
  border-radius: 6px;
}
.timer__screen { display: flex; flex-direction: column; gap: 6px; padding: 8px 12px 10px; background: #060301; border-radius: 3px; }
.timer__labels { display: grid; grid-template-columns: repeat(3, 1fr); font-family: var(--f-label); font-weight: 700; font-size: .72rem; line-height: 1; letter-spacing: .2em; text-transform: uppercase; color: #C18D55; }
.timer__digits { position: relative; font-family: var(--f-lcd); font-weight: 700; font-size: clamp(1.8rem, 1.1rem + 2vw, 3rem); line-height: 1; letter-spacing: .02em; white-space: nowrap; }
.timer__ghost { color: rgba(255, 154, 60, .07); }
.timer__value { position: absolute; left: 0; top: 0; color: var(--led); font-variant-numeric: tabular-nums; }
.timer__btn {
  appearance: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  padding: 0 12px;
  background: transparent; color: var(--lamp);
  border: 1px solid rgba(245, 165, 36, .55); border-radius: 3px;
  font-family: var(--f-label); font-weight: 700; font-size: .82rem; letter-spacing: .18em; text-transform: uppercase;
  transition: background-color .2s, color .2s;
}
.timer__btn:hover { background: var(--lamp); color: var(--ink); }
.timer__btn:focus-visible { outline: 3px solid var(--lamp); outline-offset: 3px; }
.timer--hero { position: absolute; z-index: 3; right: 4%; top: 7%; }

/* the expose button: an engraved plate around a flat red key */
.expose {
  display: inline-grid; gap: 7px;
  padding: 8px 8px 9px;
  border: 1.5px solid var(--ink); border-radius: 4px;
  background: transparent; color: var(--ink);
  text-decoration: none; text-align: left; cursor: pointer;
}
.expose__plate { display: flex; align-items: center; gap: 8px; padding-left: 2px; font-family: var(--f-label); font-weight: 700; font-size: .82rem; line-height: 1; letter-spacing: .3em; text-transform: uppercase; }
.expose__led { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid currentColor; transition: background-color .2s; }
.expose:hover .expose__led, .expose:focus-visible .expose__led, .expose[aria-busy="true"] .expose__led, .is-developing .hero .expose__led { background: #C6361C; border-color: #C6361C; }
.expose__cap { display: block; }
.expose__face {
  display: block;
  padding: 15px 22px;
  border-radius: 2px;
  background: #A8301A;
  color: var(--enamel);
  font-size: clamp(1rem, .95rem + .22vw, 1.14rem); font-weight: 650; line-height: 1.15; letter-spacing: -.004em;
  translate: 0 0;
  transition: background-color .18s, translate .16s var(--ease-out);
}
.expose:hover .expose__face { background: #962814; }
.expose:active .expose__face, .expose[aria-busy="true"] .expose__face { translate: 0 2px; background: #87230F; }
.expose:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.expose[disabled] { cursor: progress; }
.pencil-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ink); font-weight: 620; font-size: 1rem;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 7px; text-decoration-color: rgba(15, 9, 2, .45);
  transition: text-decoration-color .3s;
}
.pencil-link .ico { transition: translate .4s var(--ease-out); }
.pencil-link:hover { text-decoration-color: var(--ink); }
.pencil-link:hover .ico { translate: 4px 0; }

/* ---------- 2 · what you get ---------- */
.get { --lx: 40%; --ly: 52%; padding: clamp(80px, 10vw, 140px) 0 clamp(90px, 11vw, 150px); }
.get__head { display: grid; justify-items: start; gap: 16px; margin-bottom: clamp(48px, 7vw, 90px); }
.get__head .h2 { max-width: 14ch; }
.get__sub { font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); font-weight: 500; color: var(--ink); }
.prints { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); align-items: start; }
.print--research { grid-column: 1 / span 4; margin-top: clamp(40px, 7vw, 110px); rotate: -2.2deg; }
.print--concepts { grid-column: 5 / span 5; rotate: .9deg; }
.print--plan { grid-column: 10 / span 3; margin-top: clamp(90px, 12vw, 190px); rotate: 2.6deg; }
.print__sheet {
  position: relative;
  background-color: var(--paper); background-image: var(--grain-paper);
  padding: clamp(10px, 1.3vw, 16px) clamp(10px, 1.3vw, 16px) clamp(18px, 2vw, 26px);
  box-shadow: 0 32px 44px -26px rgba(40, 18, 0, .7), 0 8px 12px -6px rgba(40, 18, 0, .35);
  translate: 0 0;
  transition: translate .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.print:hover .print__sheet { translate: 0 -6px; box-shadow: 0 44px 56px -28px rgba(40, 18, 0, .75), 0 10px 14px -6px rgba(40, 18, 0, .35); }
.print__image { line-height: 0; background: #1b1916; }
.print__image svg { width: 100%; height: auto; display: block; }
.print__margin { padding: 18px 4px 0; }
.print__title { font-size: clamp(1.15rem, 1rem + .5vw, 1.45rem); font-weight: 720; line-height: 1.15; letter-spacing: -.012em; color: var(--ink); margin-bottom: 8px; }
.print__margin p { font-size: 1rem; line-height: 1.5; color: #2A1A08; max-width: 40ch; }
.print__note { margin: 14px 4px 0; font-size: clamp(1.35rem, 1.15rem + .5vw, 1.7rem); line-height: 1.3; rotate: -2deg; transform-origin: 0 50%; }

/* ---------- stepped exposure dividers (two, at the doors to the dark rooms) ---------- */
.steps { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); height: clamp(34px, 4.6vw, 60px); }
.steps span { display: flex; align-items: flex-end; padding: 0 0 7px 8px; font-family: var(--f-label); font-size: .72rem; font-weight: 700; letter-spacing: .12em; line-height: 1; }
.steps--down span:nth-child(1) { background: #A87014; color: var(--ink); }
.steps--down span:nth-child(2) { background: #8E5E10; color: #F6E7C8; }
.steps--down span:nth-child(3) { background: #7A510E; color: #F6E7C8; }
.steps--down span:nth-child(4) { background: #66430C; color: #F2DDB4; }
.steps--down span:nth-child(5) { background: #52360A; color: #EBD3A4; }
.steps--down span:nth-child(6) { background: #412B09; color: #E2C796; }
.steps--down span:nth-child(7) { background: #332207; color: #D9B880; }
.steps--down span:nth-child(8) { background: #261906; color: #CFA96C; }
.steps--down span:nth-child(9) { background: #1A1106; color: #C99D5A; }

/* ---------- 3 · stations ---------- */
.stations, .line, .order, .foot { --focus: var(--lamp); }
.stations ::selection, .line ::selection, .order ::selection, .foot ::selection { background: var(--lamp); color: var(--ink); }
.stations {
  position: relative;
  background-color: var(--night);
  background-image: var(--grain-dark), radial-gradient(60% 45% at 50% 0%, rgba(245, 165, 36, .12) 0%, rgba(245, 165, 36, 0) 70%);
  color: var(--silver);
  padding: clamp(80px, 10vw, 130px) 0 clamp(80px, 10vw, 130px);
}
.stations__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.stations__head .h2 { color: var(--enamel); }
.stations__intro { display: grid; gap: 18px; }
.stations__intro > p:first-child { font-size: clamp(1.05rem, 1rem + .3vw, 1.22rem); line-height: 1.55; color: var(--silver); max-width: 46ch; }
.leads { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; }
.leads__label { font-family: var(--f-label); font-size: .86rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--silver-2); }
.leads__names { font-family: var(--f-pen); font-weight: 700; font-size: clamp(1.9rem, 1.5rem + 1.2vw, 2.6rem); line-height: 1.1; color: var(--lamp); }

.stations__body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.bench { position: sticky; top: 16px; }
.bench__in { display: flex; flex-direction: column; gap: 12px; height: calc(100svh - 32px); max-height: 900px; min-height: 560px; }
.bench__head { display: grid; grid-template-columns: minmax(0, 1fr) clamp(140px, 44%, 236px); gap: 12px; align-items: stretch; }
.bench__clock { display: flex; flex-direction: column; justify-content: space-between; gap: 10px; min-width: 0; }
.timer--bench { align-self: flex-start; }
.timer--bench .timer__digits { font-size: clamp(1.4rem, .55rem + 1.55vw, 2.3rem); }
.bench__now { font-family: var(--f-pen); font-weight: 700; font-size: clamp(2.2rem, 1.4rem + 1.8vw, 3.4rem); line-height: 1; color: var(--lamp); rotate: -2deg; transform-origin: 0 100%; }

/* three bottles on the bench, labelled by hand-cut paper */
.bottles { position: relative; margin: 0; aspect-ratio: 640 / 590; overflow: hidden; border-radius: 3px; background: #0a0602; }
.bottles > img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.bottles__label {
  position: absolute; z-index: 1;
  display: grid; place-items: center;
  padding: 5px 6px 4px;
  translate: -50% 0;
  white-space: nowrap;
  background: #E3C894; color: var(--ink);
  font-family: var(--f-label); font-weight: 700; font-size: clamp(.66rem, .4rem + .4vw, .76rem); line-height: 1.1; letter-spacing: .05em; text-transform: uppercase;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .45);
  transition: background-color .6s var(--ease-out), opacity .6s var(--ease-out);
  opacity: .82;
}
.bottles__label::after { content: ""; position: absolute; left: 50%; top: -10px; width: 22px; height: 14px; translate: -50% 0; opacity: 0; transition: opacity .4s; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 28'%3E%3Cpath d='M4 15 L15 24 L36 4' fill='none' stroke='%23C6361C' stroke-width='5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.bottles__label--dev { left: 21%; top: 50%; min-width: 26%; rotate: -2deg; }
.bottles__label--stop { left: 51%; top: 60%; min-width: 26%; rotate: 1deg; }
.bottles__label--fix { left: 81%; top: 42%; min-width: 22%; rotate: -1deg; }
[data-stage="develop"] .bottles__label--dev,
[data-stage="fix"] .bottles__label--fix { background: #FCE7BC; opacity: 1; box-shadow: 0 0 0 2px var(--lamp), 0 1px 2px rgba(0, 0, 0, .45); }
[data-stage="fix"] .bottles__label--dev::after, [data-stage="fix"] .bottles__label--stop::after,
[data-stage="wash"] .bottles__label::after, [data-stage="dry"] .bottles__label::after { opacity: 1; }

.plates { position: relative; flex: 1 1 auto; min-height: 0; overflow: hidden; border-radius: 4px; background: #0a0602; }
.plate { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .8s var(--ease-out); }
.plate > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.plates[data-stage="compose"] .plate--easel, .plates[data-stage="expose"] .plate--easel,
.plates[data-stage="develop"] .plate--tray, .plates[data-stage="fix"] .plate--tray, .plates[data-stage="wash"] .plate--tray,
.plates[data-stage="dry"] .plate--line { opacity: 1; }
.plate__glow { position: absolute; left: 22%; top: 34%; width: 60%; height: 50%; background: radial-gradient(closest-side, rgba(255, 228, 170, .55), rgba(255, 200, 110, .18) 55%, rgba(255, 200, 110, 0)); mix-blend-mode: screen; opacity: 0; transition: opacity .9s var(--ease-out); }
.plates[data-stage="compose"] .plate--easel > img { filter: brightness(.62); transition: filter .9s var(--ease-out); }
.plates[data-stage="expose"] .plate--easel > img { filter: brightness(1); transition: filter .9s var(--ease-out); }
.plates[data-stage="expose"] .plate__glow { opacity: 1; }
.plate__tape { position: absolute; left: 8%; top: 6%; rotate: -4deg; }
.plate__tape span { display: none; padding: 5px 12px 4px; background: rgba(236, 224, 196, .9); color: var(--ink); font-family: var(--f-label); font-weight: 700; font-size: .9rem; letter-spacing: .2em; text-transform: uppercase; }
.plates[data-stage="develop"] [data-tape="develop"], .plates[data-stage="fix"] [data-tape="fix"], .plates[data-stage="wash"] [data-tape="wash"] { display: inline-block; }
.plate--line .plate__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 10% 50%; display: block; }
.plate__peg { z-index: 2; pointer-events: none; }
.pin { position: absolute; z-index: 2; top: -4px; left: 50%; width: 14px; translate: -50% 0; fill: none; stroke: #E8D3A8; stroke-width: 1.6; stroke-linecap: round; }
.plates[data-stage="dry"] .plate__note { left: auto; right: 6%; top: 5%; bottom: auto; transform-origin: 100% 0; }
.plate__note {
  position: absolute; left: 6%; bottom: 5%; z-index: 4;
  font-size: clamp(1.5rem, 1.1rem + .9vw, 2.1rem); line-height: 1.1; color: var(--lamp);
  rotate: -2deg; transform-origin: 0 100%;
}

.rail ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 4px; }
.rail a {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 8px 2px 7px;
  border: 1px solid rgba(200, 194, 180, .22); border-radius: 3px;
  color: var(--silver-2); text-decoration: none;
  font-family: var(--f-label); font-weight: 700; font-size: .78rem; line-height: 1.1; letter-spacing: .08em; text-transform: uppercase;
  text-align: center; overflow-wrap: anywhere;
  transition: color .4s, border-color .4s, background-color .4s;
}
.ico--rail { width: 26px; height: 26px; stroke-width: 1.5; }
.rail a:hover { color: var(--enamel); border-color: rgba(200, 194, 180, .5); }
.rail a.is-done { color: var(--silver); border-color: rgba(200, 194, 180, .4); }
.rail a.is-active { color: var(--night); background: var(--lamp); border-color: var(--lamp); }

.line-up { list-style: none; margin: 0; padding: 0; }
.station { position: relative; padding: clamp(28px, 3.6vw, 44px) 0 clamp(40px, 5vw, 60px); border-top: 1px solid rgba(200, 194, 180, .18); min-height: 64vh; }
.station:first-child { border-top: 0; padding-top: 0; }
.station__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 20px; margin-bottom: 18px; }
.station__name {
  font-family: var(--f-pen);
  font-size: clamp(3.2rem, 2rem + 3.8vw, 5.8rem);
  font-weight: 700;
  line-height: .9;
  color: var(--enamel);
  transition: color .7s var(--ease-out), font-weight .9s var(--ease-out);
}
.js-stations .station .station__name { font-weight: 400; color: var(--silver-2); }
.js-stations .station.is-done .station__name { font-weight: 600; color: var(--silver); }
.js-stations .station.is-active .station__name { font-weight: 700; color: var(--lamp); }
.station__strip { display: inline-flex; gap: 3px; margin: 0 auto 12px 4px; }
.station__strip i { width: 14px; height: 10px; border: 1px solid rgba(200, 194, 180, .45); }
.station__strip i.on:nth-child(1) { background: #EDE6D6; border-color: #EDE6D6; }
.station__strip i.on:nth-child(2) { background: #CFC7B6; border-color: #CFC7B6; }
.station__strip i.on:nth-child(3) { background: #A9A193; border-color: #A9A193; }
.station__strip i.on:nth-child(4) { background: #847D71; border-color: #847D71; }
.station__strip i.on:nth-child(5) { background: #605A51; border-color: #847D71; }
.station__strip i.on:nth-child(6) { background: #3C3832; border-color: #847D71; }
.station__day { display: flex; align-items: baseline; gap: 10px; }
.station__daylabel { font-family: var(--f-label); font-size: .86rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--silver-2); }
.dseg { font-family: var(--f-lcd); font-weight: 700; font-size: clamp(1.5rem, 1.1rem + 1.1vw, 2.2rem); line-height: 1; color: var(--led); white-space: nowrap; }
.station__what { font-size: clamp(1.06rem, 1rem + .3vw, 1.24rem); line-height: 1.55; color: var(--enamel); max-width: 46ch; }
.station__what strong { color: var(--lamp); font-weight: 700; }
.station__leads { margin-top: 16px; font-family: var(--f-pen); font-weight: 700; font-size: clamp(1.5rem, 1.2rem + .8vw, 2rem); line-height: 1.3; color: var(--red-lit); }
.crew { list-style: none; margin: 26px 0 0; padding: 0; border-top: 1px dashed rgba(200, 194, 180, .28); }
.agent { display: grid; grid-template-columns: minmax(8.5rem, 12rem) minmax(0, 1fr); grid-template-areas: "role does" "role gate"; column-gap: clamp(16px, 2.4vw, 28px); row-gap: 8px; padding: 18px 0; border-bottom: 1px dashed rgba(200, 194, 180, .28); }
.agent__role { grid-area: role; align-self: start; justify-self: start; padding: 6px 9px 5px; border: 1.5px solid currentColor; font-family: var(--f-label); font-size: .95rem; font-weight: 700; line-height: 1.1; letter-spacing: .12em; text-transform: uppercase; color: var(--lamp); }
.agent__does { grid-area: does; color: var(--silver); line-height: 1.5; }
.agent__gate { grid-area: gate; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; color: var(--enamel); font-weight: 600; line-height: 1.4; }
.agent__gl { font-family: var(--f-label); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; line-height: 1; padding: 4px 6px 3px; background: var(--silver); color: var(--night); }
.mark { display: flex; align-items: center; gap: 14px; margin-top: 26px; padding-top: 18px; border-top: 2px dashed rgba(224, 87, 59, .6); color: var(--red-lit); font-family: var(--f-pen); font-weight: 700; font-size: clamp(1.3rem, 1.12rem + .5vw, 1.65rem); line-height: 1.3; }
.mark__tick { width: 40px; height: 36px; padding: 5px 4px; flex: none; fill: none; stroke: currentColor; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 0; border: 2px dashed rgba(224, 87, 59, .7); border-radius: 3px; overflow: visible; transition: stroke-dashoffset 1s var(--ease-out) .15s; }
.js-stations .station:not(.is-done) .mark__tick { stroke-dashoffset: 60; }
.next { margin-top: 32px; padding-top: 22px; border-top: 1px solid rgba(200, 194, 180, .2); }
.next p { font-size: 1.08rem; line-height: 1.55; color: var(--silver); max-width: 46ch; }
.next strong { color: var(--enamel); }

/* ---------- 4 · honest status ---------- */
.status { --lx: 62%; --ly: 55%; padding: clamp(150px, 15vw, 210px) 0 clamp(80px, 10vw, 130px); }
.status__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 110px); align-items: center; }
.status__print {
  position: relative; margin: 0; rotate: -1.8deg;
  background-color: var(--paper); background-image: var(--grain-paper);
  padding: clamp(10px, 1.3vw, 16px) clamp(10px, 1.3vw, 16px) clamp(58px, 6vw, 76px);
  box-shadow: 0 36px 50px -28px rgba(40, 18, 0, .7), 0 8px 12px -6px rgba(40, 18, 0, .35);
}
.status__img { width: 100%; height: auto; display: block; }
.status__note { position: absolute; left: clamp(16px, 2vw, 26px); bottom: clamp(14px, 1.8vw, 22px); font-size: clamp(1.45rem, 1.15rem + .8vw, 2rem); line-height: 1.3; rotate: -1.5deg; }
.status__copy .h2 { max-width: 15ch; }
.status__line { margin: clamp(20px, 3vw, 30px) 0 clamp(28px, 4vw, 40px); font-size: clamp(1.25rem, 1.05rem + .8vw, 1.85rem); line-height: 1.35; font-weight: 500; letter-spacing: -.012em; max-width: 30ch; color: var(--ink); }
.readout { display: flex; align-items: center; gap: clamp(10px, 1.6vw, 18px); flex-wrap: wrap; }
.readout__cell { display: grid; gap: 7px; justify-items: start; padding: 10px 14px 12px; border-radius: 4px; background: #0D0803; }
.readout__label { font-family: var(--f-label); font-size: .82rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #D6A472; }
.readout__lcd { position: relative; font-family: var(--f-lcd); font-weight: 700; font-size: clamp(2rem, 1.5rem + 1.6vw, 2.8rem); line-height: 1; padding: 6px 10px; background: #060301; border-radius: 3px; }
.readout__lcd .timer__ghost { color: rgba(255, 154, 60, .07); }
.readout__val { position: absolute; left: 10px; top: 6px; color: var(--led); }
.readout__cell--told .readout__val { color: #ff6b4a; }
.readout__day { font-size: .82rem; font-weight: 600; color: var(--silver); }
.readout__eq { width: 40px; fill: none; stroke: var(--ink); stroke-width: 3.2; stroke-linecap: round; }
.readout__ex { margin-top: 10px; font-size: 1.3rem; line-height: 1.3; color: var(--ink); }
.slipnote { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 26px; font-family: var(--f-pen); font-weight: 700; font-size: clamp(1.55rem, 1.3rem + .7vw, 2.05rem); line-height: 1.3; color: var(--ink); }
.slipnote li { display: flex; align-items: center; gap: 8px; }
.tick { width: 28px; flex: none; fill: none; stroke: var(--ink); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 5 · test strip: a stepped preview ---------- */
.variants { --lx: 38%; --ly: 40%; padding: clamp(40px, 5vw, 70px) 0 clamp(150px, 15vw, 210px); }
.variants__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.variants__head p { font-size: 1.08rem; line-height: 1.6; color: var(--ink); max-width: 54ch; }
.exposures { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(20px, 3vw, 44px); align-items: start; }
.exposure { margin: 0; display: grid; gap: 16px; }
.exposure__frame { position: relative; aspect-ratio: 16 / 10; background: var(--black); padding: clamp(8px, 1vw, 12px); box-shadow: 0 40px 56px -30px rgba(30, 14, 0, .75), 0 10px 16px -8px rgba(30, 14, 0, .4); }
.exposure__frame img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.exposure__cap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.exposure__time { font-family: var(--f-label); font-weight: 700; font-size: .9rem; letter-spacing: .16em; text-transform: uppercase; padding: 3px 7px 2px; background: var(--ink); color: var(--lamp); }
.exposure__name { font-size: clamp(1.3rem, 1.1rem + .6vw, 1.7rem); font-weight: 720; letter-spacing: -.01em; line-height: 1.3; }
.exposure__desc { font-size: 1.02rem; color: var(--ink); }
.exposure__open { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1.5px solid var(--ink); color: var(--ink); text-decoration: none; font-weight: 650; transition: background-color .2s, color .2s; }
.exposure__open:hover { background: var(--ink); color: var(--lamp); }
.exposure__here { margin-left: auto; font-size: 1.7rem; line-height: 1.1; color: var(--ink); }

.teststrip__bands { display: grid; gap: 0; }
.teststrip { display: grid; gap: 0; padding: 8px; background-color: #EFE6D2; background-image: var(--grain-paper); box-shadow: 0 30px 44px -26px rgba(30, 14, 0, .7); }
.teststrip__hint { padding: 2px 6px 8px; font-size: 1.35rem; line-height: 1.3; color: #2A1A08; }
.band { position: relative; display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 4px 12px; align-items: start; padding: 12px; text-decoration: none; cursor: pointer; outline-offset: -3px; }
.band--1 { background: #D9CFBB; color: var(--black); }
.band--2 { background: #9C9282; color: var(--black); }
.band--3 { background: #4A443B; color: var(--enamel); cursor: default; }
.band--4 { background: #1A1714; color: var(--enamel); }
.band__time { grid-column: 2; font-family: var(--f-label); font-weight: 700; font-size: .82rem; letter-spacing: .18em; }
.band__thumb { grid-column: 1; grid-row: 1 / span 2; display: block; aspect-ratio: 16 / 10; background: var(--black); overflow: hidden; box-shadow: 0 0 0 1px rgba(0, 0, 0, .3); }
.band__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; filter: grayscale(1) contrast(1.05); transition: filter .6s var(--ease-out); }
.band__name { grid-column: 2; font-size: 1.02rem; font-weight: 700; line-height: 1.3; }
.band__here { display: block; font-size: 1.3rem; line-height: 1.1; color: #FF9B80; font-weight: 700; }
.band:hover .band__thumb img, .band.is-selected .band__thumb img { filter: none; }
.band.is-selected { box-shadow: inset 0 0 0 3px var(--red); }
.band--3.is-selected { box-shadow: inset 0 0 0 3px #FF8A6B; }
.band--1:focus-visible, .band--2:focus-visible { outline-color: var(--black); }
.band--3:focus-visible, .band--4:focus-visible { outline-color: var(--lamp); }

/* ---------- 6 · prints on the line ---------- */
.line {
  position: relative;
  --bg: #1A1206; --fg: var(--silver); --wire: #C9B48C; --paper-c: #EAD3A6;
  background-color: var(--bg);
  background-image: var(--grain-dark), radial-gradient(70% 50% at 50% 0%, rgba(245, 165, 36, .15) 0%, rgba(245, 165, 36, 0) 70%);
  color: var(--fg);
  padding: clamp(84px, 10vw, 140px) 0 clamp(96px, 11vw, 150px);
  overflow: hidden;
  transition: background-color .6s var(--ease-out), color .6s var(--ease-out);
}
.line[data-light="on"] {
  --bg: #E7E3DB; --fg: var(--ink); --wire: #3A3631; --paper-c: #FBFAF6; --focus: var(--ink);
  background-image: var(--grain-paper), radial-gradient(70% 60% at 50% 0%, rgba(255, 255, 255, .85) 0%, rgba(255, 255, 255, 0) 70%);
}
.line__flash { position: absolute; inset: 0; z-index: 6; background: #fffdf6; opacity: 0; pointer-events: none; }
.line.is-flicker .line__flash { animation: flick .8s steps(1, end) both; }
@keyframes flick { 0% { opacity: 0; } 8% { opacity: .55; } 16% { opacity: 0; } 30% { opacity: .7; } 38% { opacity: .08; } 52% { opacity: .4; } 70% { opacity: .12; } 100% { opacity: 0; } }
.line__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) auto; gap: 24px clamp(28px, 4vw, 64px); align-items: end; margin-bottom: clamp(56px, 7vw, 96px); }
.line__head .h2 { color: var(--fg); }
.h2--pen { font-family: var(--f-pen); font-weight: 700; font-size: clamp(3.4rem, 1.9rem + 4.6vw, 7rem); line-height: .92; letter-spacing: 0; rotate: -2deg; transform-origin: 0 100%; }
.line[data-light="off"] .line__head .h2 { color: var(--enamel); }
.line__intro { font-size: 1.08rem; line-height: 1.6; color: var(--fg); max-width: 46ch; }
.wallswitch { appearance: none; border: 0; background: none; padding: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 14px; color: var(--fg); text-align: left; }
.wallswitch__plate { width: 48px; height: 72px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; }
.wallswitch__plate circle { fill: currentColor; stroke: none; }
.wallswitch__lever { transform: translateY(19px); transition: transform .3s var(--ease-out); }
.wallswitch__lever rect { fill: currentColor; }
.wallswitch[aria-checked="true"] .wallswitch__lever { transform: translateY(0); }
.wallswitch__text { display: grid; gap: 4px; font-family: var(--f-label); font-size: .95rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.wallswitch__state { color: var(--lamp); }
.line[data-light="on"] .wallswitch__state { color: var(--red); }
.wallswitch [data-state-on] { display: none; }
.wallswitch[aria-checked="true"] [data-state-on] { display: inline; }
.wallswitch[aria-checked="true"] [data-state-off] { display: none; }

.line__rows { display: grid; gap: clamp(60px, 8vw, 120px); }
.row { position: relative; display: grid; grid-template-columns: minmax(0, 8.4fr) minmax(0, 3.6fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.row--buzzaar { grid-template-columns: minmax(0, 3.6fr) minmax(0, 8.4fr); }
.row--buzzaar .tag { order: -1; }
.row__wire { position: absolute; left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter)); top: 0; height: 60px; pointer-events: none; }
.row__wire svg { width: 100%; height: 100%; display: block; overflow: visible; }
.row__wire path { fill: none; stroke: var(--wire); stroke-width: 1.6; vector-effect: non-scaling-stroke; transition: stroke .6s; }
.row__prints { list-style: none; margin: 0; padding: 0; display: flex; align-items: flex-start; gap: clamp(14px, 2vw, 30px); }
.row--buzzaar .row__prints { justify-content: flex-end; }
.hang { position: relative; flex: 1 1 0; min-width: 0; padding-top: 14px; margin-top: var(--hang-y, calc(100px * var(--x, .5) * (1 - var(--x, .5)))); }
.hang--wide { flex: 1.6 1 0; }
.hang--tall { flex: .5 1 0; }
.row--buzzaar .hang--wide { flex: 1.5 1 0; max-width: 62%; }
.row--buzzaar .hang--tall { max-width: 21%; }
.line .pin { stroke: var(--wire); top: -6px; transition: stroke .6s; }
.hang__print { margin: 0; padding: 7px 7px 20px; background: var(--paper-c); rotate: -.8deg; transform-origin: 50% 0; box-shadow: 0 34px 40px -24px rgba(0, 0, 0, .85), 0 6px 10px -4px rgba(0, 0, 0, .45); transition: background-color .6s var(--ease-out); }
.hang:nth-child(2) .hang__print { rotate: .9deg; }
.hang:nth-child(3) .hang__print { rotate: -1.4deg; }
.hang__print img { display: block; width: 100%; height: auto; filter: grayscale(1) sepia(.5) saturate(1.25) brightness(.84) contrast(1.08); transition: filter .9s var(--ease-out); }
.line[data-light="on"] .hang__print img { filter: none; }
.tag { position: relative; margin-top: 72px; padding: clamp(20px, 2.4vw, 30px); background-color: var(--paper-c); background-image: var(--grain-paper); color: var(--ink); rotate: .8deg; box-shadow: 0 30px 40px -26px rgba(0, 0, 0, .8), 0 6px 10px -4px rgba(0, 0, 0, .35); display: grid; gap: 14px; transition: background-color .6s var(--ease-out); --focus: var(--ink); }
.row--buzzaar .tag { rotate: -1deg; }
.tag__name { font-size: clamp(1.45rem, 1.2rem + .8vw, 1.95rem); font-weight: 780; letter-spacing: -.015em; line-height: 1.2; }
.tag p { line-height: 1.5; color: #2A1A08; }
.tag__figs { display: grid; gap: 6px; padding-top: 12px; border-top: 1px dashed rgba(15, 9, 2, .35); font-variant-numeric: tabular-nums; color: var(--ink) !important; font-weight: 600; }
.tag__figlabel { font-size: .86rem; font-weight: 600; color: #2A1A08; }
.tag__link { justify-self: start; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--red); }
.tag__link:hover { text-decoration-color: var(--ink); }

/* ---------- 7 · rules taped to the tiles ---------- */
.rules {
  --focus: var(--ink);
  position: relative; overflow-x: clip;
  padding: clamp(150px, 15vw, 220px) 0 clamp(90px, 11vw, 160px);
  background-color: #8C5E14;
  background-image: url("../img/photo/tiles.webp");
  background-size: cover; background-position: center;
}
.sheet { position: relative; max-width: 820px; margin: 0 auto; padding: clamp(40px, 5vw, 64px) clamp(24px, 5.4vw, 76px) clamp(44px, 5vw, 68px); background-color: #F4E6C8; background-image: var(--grain-paper); rotate: -1.1deg; box-shadow: 0 36px 54px -30px rgba(40, 18, 0, .8), 0 6px 10px -4px rgba(40, 18, 0, .35); }
.tape { position: absolute; width: clamp(90px, 12vw, 130px); height: 30px; background: rgba(236, 226, 196, .74); box-shadow: 0 1px 2px rgba(60, 36, 6, .2); }
.tape--a { top: -13px; left: 7%; rotate: -7deg; }
.tape--b { top: -12px; right: 8%; rotate: 6deg; }
.tape--c { bottom: -13px; left: 44%; rotate: -2deg; }
.sheet__title { margin-bottom: clamp(22px, 3vw, 32px); padding-bottom: 14px; border-bottom: 2.5px solid var(--ink); font-family: var(--f-label); font-size: clamp(1.05rem, .95rem + .4vw, 1.3rem); font-weight: 700; letter-spacing: .2em; line-height: 1.3; text-transform: uppercase; color: var(--ink); }
.rules__list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(8px, 1.2vw, 14px); font-family: var(--f-pen); font-weight: 700; font-size: clamp(1.75rem, 1.25rem + 1.7vw, 2.7rem); line-height: 1.3; color: var(--ink); }
.rules__list li { position: relative; padding-left: 1.05em; }
.rules__list li::before { content: ""; position: absolute; left: 0; top: .62em; width: .62em; height: .16em; border-radius: 1em; background: var(--ink); rotate: -6deg; }
.rules__marked > span:first-child { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8 C 60 3, 140 11, 298 4' fill='none' stroke='%23B0321C' stroke-width='3' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 100% .3em; background-position: 0 100%; padding-bottom: .06em; }
.rules__aside { display: inline-flex; align-items: center; gap: 6px; margin-left: .4em; font-size: clamp(1.15rem, .95rem + .6vw, 1.55rem); line-height: 1.3; vertical-align: middle; rotate: -2deg; }
.ico-pen { width: 1.6em; height: auto; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- 8 · terms on the box ---------- */
.terms { --lx: 60%; --ly: 45%; padding: clamp(80px, 10vw, 140px) 0 clamp(96px, 11vw, 150px); }
.terms__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px clamp(32px, 6vw, 96px); align-items: start; }
.terms__grid .h2 { max-width: 10ch; }
.box { padding: clamp(12px, 2vw, 26px); background-color: #17120c; background-image: var(--grain-dark); rotate: .7deg; box-shadow: 0 48px 64px -32px rgba(30, 14, 0, .8), 0 12px 18px -8px rgba(30, 14, 0, .45); }
.box__label { position: relative; padding: clamp(20px, 3vw, 36px); padding-right: clamp(64px, 8vw, 104px); background-color: var(--enamel); background-image: var(--grain-paper); color: var(--ink); }
.box__brand { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding-bottom: 14px; margin-bottom: 4px; border-bottom: 3px solid var(--ink); font-family: var(--f-label); font-size: 1rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; line-height: 1.3; }
.box__grade { font-weight: 500; letter-spacing: .12em; }
.box__spec { margin: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); column-gap: clamp(18px, 2.4vw, 32px); align-items: baseline; }
.box__row { display: contents; }
.box__row dt, .box__row dd { padding: 18px 0; border-bottom: 1px solid rgba(15, 9, 2, .22); }
.box__row:last-child dt, .box__row:last-child dd { border-bottom: 0; padding-bottom: 0; }
.box__row dt { font-family: var(--f-label); font-size: clamp(1.4rem, 1.1rem + .9vw, 2rem); font-weight: 700; line-height: 1; letter-spacing: .06em; text-transform: uppercase; }
.box__row--lead dt { font-size: clamp(2.2rem, 1.5rem + 2.4vw, 3.8rem); letter-spacing: .02em; }
.box__row dd { margin: 0; font-size: clamp(1.02rem, .98rem + .2vw, 1.15rem); line-height: 1.5; }
.box__row--lead dd { font-weight: 600; }
.box__strip { position: absolute; top: clamp(20px, 3vw, 36px); bottom: clamp(20px, 3vw, 36px); right: clamp(16px, 2.2vw, 28px); width: clamp(30px, 3.8vw, 46px); display: grid; grid-template-rows: repeat(8, minmax(0, 1fr)); box-shadow: 0 0 0 1px rgba(15, 9, 2, .25); }
.box__strip span { display: grid; place-items: center; font-family: var(--f-lcd); font-size: .62rem; font-weight: 700; }
.box__strip span:nth-child(1) { background: #EDE6D6; color: var(--ink); }
.box__strip span:nth-child(2) { background: #D2CABA; color: var(--ink); }
.box__strip span:nth-child(3) { background: #B4AC9C; color: var(--ink); }
.box__strip span:nth-child(4) { background: #958E80; color: var(--black); }
.box__strip span:nth-child(5) { background: #6E685E; color: #FFFFFF; }
.box__strip span:nth-child(6) { background: #4A453E; color: var(--enamel); }
.box__strip span:nth-child(7) { background: #2A2722; color: var(--enamel); }
.box__strip span:nth-child(8) { background: #0B0B0B; color: var(--led); }

/* ---------- 9 · load a new sheet ---------- */
.order {
  position: relative; overflow-x: clip;
  background-color: var(--night);
  background-image: var(--grain-dark), radial-gradient(42% 55% at 30% 0%, rgba(245, 165, 36, .2) 0%, rgba(245, 165, 36, 0) 72%);
  color: var(--silver);
  padding: clamp(84px, 10vw, 130px) 0 clamp(70px, 8vw, 110px);
}
.order__grid { display: grid; grid-template-columns: minmax(0, 4.6fr) minmax(0, 7fr); gap: 40px clamp(32px, 6vw, 96px); align-items: start; }
.order__head { display: grid; gap: 20px; }
.order__head .h2 { color: var(--enamel); max-width: 10ch; }
.order__head > p { font-size: 1.1rem; line-height: 1.55; color: var(--silver); max-width: 34ch; }
.order__aside { font-size: 1.6rem !important; line-height: 1.3 !important; color: var(--lamp) !important; rotate: -2deg; transform-origin: 0 50%; }
.order__photo { margin: 12px 0 0; max-width: 440px; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }
.order__photo img { display: block; width: 100%; height: auto; }

.easel { position: relative; margin: 0; padding: 26px 0 0; }
.easel__paper, .easel__done {
  position: relative;
  padding: clamp(30px, 4vw, 48px) clamp(20px, 3.6vw, 44px) clamp(26px, 3vw, 36px) clamp(44px, 5vw, 64px);
  background-color: var(--paper); background-image: var(--grain-paper);
  color: var(--ink);
  outline: clamp(12px, 1.6vw, 20px) solid #D8CCB0;
  --focus: var(--ink);
}
.easel__paper::before, .easel__paper::after, .easel__done::before, .easel__done::after { content: ""; position: absolute; background-color: #26221d; }
.easel__paper::before, .easel__done::before { left: -6px; right: -6px; top: -6px; height: 20px; background-image: repeating-linear-gradient(90deg, rgba(237, 230, 214, .55) 0 1px, transparent 1px 10px); background-size: 100% 7px; background-repeat: no-repeat; }
.easel__paper::after, .easel__done::after { left: -6px; top: -6px; bottom: -6px; width: 20px; background-image: repeating-linear-gradient(0deg, rgba(237, 230, 214, .55) 0 1px, transparent 1px 10px); background-size: 7px 100%; background-repeat: no-repeat; }
.field { margin: 0 0 22px; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 0; margin-bottom: 8px; font-size: .95rem; font-weight: 700; line-height: 1.3; color: var(--ink); }
.field__req, .field__opt { font-size: .8rem; font-weight: 500; color: #2A1A08; }
.field input[type="text"], .field textarea { display: block; width: 100%; padding: 10px 10px 9px; border: 0; border-bottom: 2px solid var(--ink); border-radius: 2px 2px 0 0; background: rgba(255, 250, 236, .55); color: var(--ink); font: 500 1.08rem/1.4 var(--f-sans); caret-color: var(--red); transition: background-color .2s, border-color .2s; }
.field textarea { resize: vertical; min-height: 92px; }
.field input::placeholder, .field textarea::placeholder { color: #6B4E1E; opacity: 1; }
.field input:hover, .field textarea:hover { background: rgba(255, 250, 236, .8); }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; background: #FFF6E2; }
.field.has-error input { border-bottom-color: var(--red); background: rgba(176, 50, 28, .08); }
.field__err { margin-top: 8px; font-family: var(--f-pen); font-weight: 700; font-size: 1.32rem; line-height: 1.3; color: var(--red); }
.field__err:empty { display: none; }
.field__err::before { content: ""; display: inline-block; width: .9em; height: .16em; margin-right: .35em; vertical-align: .3em; border-radius: 1em; background: var(--red); rotate: -8deg; }
.grades__row { display: flex; flex-wrap: wrap; gap: 8px; }
.grade { position: relative; }
.grade input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.grade__chip { display: inline-flex; align-items: center; gap: 9px; padding: 9px 12px 9px 10px; border: 1.5px solid var(--ink); font-size: .94rem; font-weight: 600; line-height: 1; cursor: pointer; transition: background-color .2s, color .2s; }
.grade__swatch { width: 14px; height: 14px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .35); }
.grade:nth-child(1) .grade__swatch { background: #D2CABA; }
.grade:nth-child(2) .grade__swatch { background: #958E80; }
.grade:nth-child(3) .grade__swatch { background: #4A453E; }
.grade:nth-child(4) .grade__swatch { background: #0B0B0B; }
.grade:hover .grade__chip { background: rgba(15, 9, 2, .07); }
.grade input:checked + .grade__chip { background: var(--ink); color: var(--paper); }
.grade input:focus-visible + .grade__chip { outline: 3px solid var(--red); outline-offset: 2px; }
.easel__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-top: 30px; }
.timer--mini .timer__digits { font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); }
.easel__summary { margin-top: 16px; font-family: var(--f-pen); font-weight: 700; font-size: 1.45rem; line-height: 1.3; color: var(--red); }
.easel__summary:empty { display: none; }
.easel__done { display: grid; gap: 18px; justify-items: start; }
.easel__done:focus, .easel__done:focus-visible { outline: clamp(12px, 1.6vw, 20px) solid #D8CCB0; outline-offset: 0; border-radius: 0; }
.successprint { width: min(100%, 440px); aspect-ratio: 1.5; }
.successprint canvas { display: block; width: 100%; height: 100%; }
.easel__ok { font-size: 1.12rem; line-height: 1.5; font-weight: 500; max-width: 46ch; }
.easel__fallback { font-size: .98rem; color: #2A1A08; }
.easel__fallback a { font-weight: 650; color: var(--ink); text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.pencil-btn { appearance: none; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); padding: 10px 16px; font-weight: 650; cursor: pointer; transition: background-color .2s, color .2s; }
.pencil-btn:hover { background: var(--ink); color: var(--paper); }

/* ---------- footer: the edge of a tray, printed flat ---------- */
.foot { background-color: var(--night); background-image: var(--grain-dark); padding-top: clamp(24px, 4vw, 56px); overflow-x: clip; }
.foot__rim { max-width: 1500px; margin: 0 auto; padding: clamp(12px, 1.5vw, 18px) clamp(12px, 1.5vw, 18px) 0; border-radius: clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px) 0 0; background: #E2D6BC; }
.foot__bath { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) auto; gap: 32px clamp(28px, 4vw, 64px); align-items: start; padding: clamp(32px, 4.5vw, 60px) clamp(20px, 4vw, 56px) clamp(28px, 3vw, 40px); border-radius: clamp(18px, 3vw, 42px) clamp(18px, 3vw, 42px) 0 0; background-color: #130d06; background-image: var(--grain-dark); color: var(--silver); }
.foot__brand { display: grid; gap: 14px; justify-items: start; }
.foot__desc { font-size: .92rem; color: var(--silver); }
.foot__vlabel { font-family: var(--f-label); font-size: .86rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--silver-2); margin-bottom: 12px; }
.foot__versions ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot__versions a { color: var(--enamel); font-weight: 600; text-decoration-color: rgba(237, 230, 214, .35); }
.foot__versions a:hover { text-decoration-color: var(--lamp); color: var(--lamp); }
.foot__here { display: inline-flex; align-items: baseline; gap: 8px; color: var(--silver); font-weight: 600; }
.note--lit { color: var(--red-lit); font-size: 1.3rem; line-height: 1.1; }
.foot__end { display: grid; gap: 14px; justify-items: end; }
.foot__copy { font-size: .85rem; color: var(--silver-2); }
.foot .lamp { border-color: rgba(237, 230, 214, .55); }
.foot .lamp__side { color: var(--silver); }
.foot .lamp__side + .lamp__side { border-color: rgba(237, 230, 214, .55); }
.foot .lamp__side[aria-pressed="true"] { background: var(--lamp); color: var(--night); }
.foot .lamp__side[aria-pressed="true"] .lamp__led { background: var(--night); border-color: var(--night); }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .brand__desc { display: none; }
  .print--research { grid-column: 1 / span 6; margin-top: 0; }
  .print--concepts { grid-column: 7 / span 6; }
  .print--plan { grid-column: 3 / span 7; margin-top: 0; }
  .exposures { grid-template-columns: minmax(0, 1fr); }
  .teststrip__bands { grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; }
  .band { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; }
  .band__time, .band__thumb, .band__name { grid-column: 1; grid-row: auto; }
}

@media (max-width: 920px) {
  :root { --vig: 14px; }
  .head { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; gap: 10px 12px; align-items: start; }
  .brand { grid-column: 1; grid-row: 1 / span 2; flex-direction: column; align-items: flex-start; gap: 8px; }
  .brand__desc { display: block; font-size: .76rem; white-space: normal; max-width: 24ch; }
  .lamp { grid-column: 2; grid-row: 1; justify-self: end; }
  .nav { grid-column: 2; grid-row: 2; justify-self: end; margin-left: 0; }
  .nav__toggle { display: inline-flex; align-items: center; gap: 8px; appearance: none; border: 1.5px solid var(--ink); background: transparent; padding: 8px 12px; cursor: pointer; font-family: var(--f-label); font-size: .95rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
  .nav__list { position: absolute; top: calc(100% + 8px); right: 0; z-index: 40; display: none; flex-direction: column; align-items: stretch; gap: 0; min-width: 220px; padding: 8px; background: var(--ink); box-shadow: 0 20px 30px -12px rgba(20, 10, 0, .7); --focus: var(--lamp); }
  .nav.is-open .nav__list { display: flex; }
  .nav__list a { display: block; padding: 12px; color: var(--enamel); background-image: none; }
  .nav__list a:hover { color: var(--lamp); }
  .nav__list a.nav__sheet { border-color: var(--lamp); color: var(--lamp); margin-top: 6px; }

  .hero { grid-template-columns: minmax(0, 1fr); align-items: start; min-height: 0; padding-top: 124px; padding-bottom: 40px; }
  .hero__title { max-width: 16ch; }
  .hero__plate { position: relative; right: auto; top: auto; bottom: auto; translate: none; width: auto; max-height: none; aspect-ratio: 3 / 2; margin: 22px calc(-1 * var(--gutter)) 0; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 86%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 86%, transparent 100%); }
  .timer--hero { right: 3%; top: 6%; }

  .get__head { margin-bottom: 40px; }
  .prints { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .print--research, .print--concepts, .print--plan { grid-column: auto; margin-top: 0; }
  .print--research { rotate: -1.4deg; margin-right: 8%; }
  .print--concepts { rotate: 1deg; margin-left: 4%; }
  .print--plan { rotate: -1deg; margin-right: 12%; }

  .stations__head { grid-template-columns: minmax(0, 1fr); }
  .stations__body { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .bench { top: 0; z-index: 10; margin: 0 calc(-1 * var(--gutter)) 28px; padding: 10px var(--gutter); background: #120C04; border-bottom: 1px solid rgba(200, 194, 180, .16); }
  .bench__in { height: auto; min-height: 0; gap: 0; }
  .plates, .rail { display: none; }
  .timer--bench .timer__screen { padding: 6px 10px 7px; }
  .timer--bench .timer__digits { font-size: 1.5rem; }
  .bench__head { display: block; }
  .bench__clock { flex-direction: row; align-items: center; justify-content: space-between; }
  .timer--bench { align-self: center; }
  .bench__now { font-size: 2rem; rotate: -2deg; }
  .bottles { display: none; }
  .line-up { border-left: 1px solid rgba(200, 194, 180, .3); }
  .station { min-height: 0; padding-left: 20px; border-top: 0; }
  .station:first-child { padding-top: 8px; }
  .agent { grid-template-columns: minmax(0, 1fr); grid-template-areas: "role" "does" "gate"; }

  .status__grid { grid-template-columns: minmax(0, 1fr); }
  .status__print { max-width: 560px; }
  .variants__head { grid-template-columns: minmax(0, 1fr); }
  .teststrip__bands { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .exposure__open, .exposure__here { margin-left: 0; }

  .line__head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .row, .row--buzzaar { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .row--buzzaar .tag { order: 0; }
  .row--buzzaar .row__prints { justify-content: flex-start; }
  .tag { margin-top: 24px; }

  .terms__grid { grid-template-columns: minmax(0, 1fr); }
  .terms__grid .h2 { max-width: 14ch; }
  .order__grid { grid-template-columns: minmax(0, 1fr); }
  .order__photo { max-width: 260px; }
  .foot__bath { grid-template-columns: minmax(0, 1fr); }
  .foot__end { justify-items: start; }
}

@media (max-width: 560px) {
  .head { padding-top: 14px; }
  .brand__name { font-size: .92rem; letter-spacing: .24em; padding: 5px 9px 4px 11px; }
  .hero { padding-top: 118px; }
  .hero__title { font-size: clamp(2.05rem, 1.1rem + 4.4vw, 2.6rem); }
  .hero__lead { margin-top: 16px; }
  .hero__actions { margin-top: 22px; gap: 12px 20px; }
  .timer--hero .timer__digits { font-size: 1.35rem; }
  .timer--hero .timer__screen { padding: 6px 8px 7px; gap: 4px; }
  .timer--hero .timer__labels { font-size: .62rem; }
  .timer--hero .timer__btn { padding: 0 8px; font-size: .74rem; }
  .hero__note { font-size: 1.35rem; }
  .expose { width: 100%; }
  .expose__face { text-align: center; }
  .hang--extra { display: none; }
  .row__prints { gap: 14px; }
  .row--vball .hang--wide { flex: 2.4 1 0; }
  .row--buzzaar .hang--wide { max-width: 70%; }
  .row--buzzaar .hang--tall { max-width: 26%; }
  .box__label { padding-right: clamp(20px, 3vw, 36px); padding-bottom: 76px; }
  .box__strip { top: auto; left: clamp(20px, 3vw, 36px); right: clamp(20px, 3vw, 36px); bottom: 20px; width: auto; height: 32px; grid-template-rows: none; grid-template-columns: repeat(8, minmax(0, 1fr)); }
  .box__spec { grid-template-columns: minmax(0, 1fr); }
  .box__row dt { padding-bottom: 6px; border-bottom: 0; }
  .box__row dd { padding-top: 0; }
  .easel__paper, .easel__done { padding-left: 34px; padding-right: 18px; }
  .rules__aside { display: flex; margin: 4px 0 0; }
}

/* ---------- reduced motion: the developed state, still ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .timer__btn { display: none; }
  .line.is-flicker .line__flash { animation: none; }
}
:lang(ru) .rail a { letter-spacing: .02em; }
