:root {
  --lemon: #e6f04a;
  --ink: #121212;
  --paper: #f4f4f0;
  --m: 36px;
  --gap: 24px;
  --top: 84px;
  --display: "Sofia Sans Extra Condensed", "Arial Narrow", Impact, sans-serif;
  --text: Onest, "Segoe UI", system-ui, sans-serif;
  --mono: "Martian Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --press: cubic-bezier(0.7, 0, 0.2, 1);
  --ui-fg: var(--ink);
  --ui-bg: var(--lemon);
  --ui-dim: rgba(18, 18, 18, 0.64);
}

html[data-ui="ink"] {
  --ui-fg: var(--paper);
  --ui-bg: var(--ink);
  --ui-dim: rgba(244, 244, 240, 0.66);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  background: var(--lemon);
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }

body {
  margin: 0;
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.5;
  font-weight: 400;
  color: var(--ink);
  background: var(--lemon);
  overflow-x: clip;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ol, ul, dl, dd { margin: 0; }
h1, h2, h3 { font-weight: inherit; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }

::selection { background: var(--ink); color: var(--lemon); }

.vh {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.mono {
  font-family: var(--mono);
  font-size: 0.6875rem;
  line-height: 1.45;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 400;
}

.skip {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 60;
  padding: 12px 16px;
  background: var(--ink);
  color: var(--lemon);
  text-decoration: none;
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

/* ——— layers: section paper → imprints → 3D → copy → HUD → header ——— */

.stage3d {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100lvh;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s linear;
}
.stage3d.is-on { opacity: 1; }
.stage3d.is-on.is-cut { opacity: 0; transition-duration: 0.14s; }

.imprints {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100svh;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.press {
  position: fixed;
  inset: 0;
  z-index: 1;
  background: var(--ink);
  clip-path: inset(50% 50% 50% 50%);
  pointer-events: none;
  visibility: hidden;
}

.hero, .material, .goods, .process, .ceh, .cta, .foot { position: relative; }

.hero::before, .material::before, .goods::before, .process::before,
.ceh::before, .cta::before, .foot::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--sec-bg);
}

[data-theme="lemon"] { --sec-bg: var(--lemon); color: var(--ink); --dim: color-mix(in srgb, var(--ink) 66%, var(--lemon)); }
[data-theme="paper"] { --sec-bg: var(--paper); color: var(--ink); --dim: color-mix(in srgb, var(--ink) 64%, var(--paper)); }
[data-theme="ink"] { --sec-bg: var(--ink); color: var(--paper); --dim: color-mix(in srgb, var(--paper) 66%, var(--ink)); }

/* Copy, HUD and header get a thin outline in the colour behind them: it vanishes on the plain section
   and only shows where blocks pass under the text. Solid dim colours keep the stroke from showing through the fill. */
@supports (paint-order: stroke fill) {
  :is(.lead, .material .body, .panel-lead, .panel-text, .spec li, .sample, .step h3, .step p, .fill, .fact h3, .fact p, .cta-text, .cta-alt,
    .eyebrow, .hero-hint, .cta-url, .scroll-cue, .label, .readout,
    .hero-title, .statement, .process-title, .cta-title, .word,
    .hud-station, .hud-meter, .top [data-plate]) {
    paint-order: stroke fill;
    -webkit-text-stroke: var(--edge-w, 2.5px) var(--edge, var(--sec-bg));
  }
  :is(.eyebrow, .hero-hint, .cta-url, .scroll-cue, .label, .readout, .sample, .fact h3, .hud-station, .hud-meter, .top [data-plate]) { --edge-w: 2px; }
  :is(.hero-title, .statement, .process-title, .cta-title, .word) { --edge-w: clamp(3px, 0.022em, 5px); }
  :is(.hud-station, .hud-meter, .top [data-plate]) { --edge: var(--plate-bg, transparent); }
  .top :is(.stamp, .btn-ink) { -webkit-text-stroke-width: 0; }
}

.hero > *, .material > *, .goods > *, .process > *, .ceh > *, .cta > *, .foot > * {
  position: relative;
  z-index: 3;
}

.anchor {
  position: absolute !important;
  left: 0;
  width: 1px;
  height: 1px;
  top: calc(var(--at) * 100lvh);
}

/* ——— HUD ——— */

.hud {
  position: fixed;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  color: var(--ui-fg);
  transition: color 0.3s linear;
}

.hud-mark {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 0 solid currentColor;
}
.hud-mark.tl { left: 14px; top: 76px; border-top-width: 2px; border-left-width: 2px; }
.hud-mark.tr { right: 14px; top: 76px; border-top-width: 2px; border-right-width: 2px; }
.hud-mark.bl { left: 14px; bottom: 14px; border-bottom-width: 2px; border-left-width: 2px; }
.hud-mark.br { right: 14px; bottom: 14px; border-bottom-width: 2px; border-right-width: 2px; }

.hud-station,
.hud-meter {
  position: absolute;
  bottom: 16px;
  font-family: var(--mono);
  font-size: 0.625rem;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  font-variant-numeric: tabular-nums;
  color: var(--plate-fg, inherit);
  transition: color 0.3s linear;
}
.hud-station { left: 40px; }
.hud-meter { right: 40px; }
/* data-plate names the colour under the element: the HUD and header take their ink from it and outline in it */
[data-plate="lemon"] { --plate-bg: var(--lemon); --plate-fg: var(--ink); }
[data-plate="paper"] { --plate-bg: var(--paper); --plate-fg: var(--ink); }
[data-plate="ink"] { --plate-bg: var(--ink); --plate-fg: var(--paper); }
.hud-mark[data-plate], .hud-rail[data-plate] { color: var(--plate-fg); transition: color 0.3s linear; }
.hud-k { opacity: 0.6; }
[data-plate] .hud-k { opacity: 1; color: color-mix(in srgb, var(--plate-fg) 62%, var(--plate-bg)); }
.hud-sep { width: 18px; height: 1px; background: currentColor; opacity: 0.5; }

.hud-rail {
  position: absolute;
  right: 20px;
  top: calc(50% - 15vh);
  width: 2px;
  height: 30vh;
  background: color-mix(in srgb, currentColor 22%, transparent);
}
.hud-rail i {
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 100%;
  background: currentColor;
  transform-origin: top;
  transform: scaleY(0);
}

/* ——— callouts drawn over the 3D object ——— */

.callouts {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  color: var(--ui-fg);
}
.callout-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.callout-lines line { stroke: currentColor; stroke-width: 1; }
.callout-lines rect { fill: currentColor; }
.callout-labels > span {
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--mono);
  font-size: 0.625rem;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 5px 7px 4px;
  background: var(--ui-bg);
  border: 1px solid currentColor;
  transition: background 0.2s linear, color 0.2s linear;
}
.callout-labels > span.is-hi { background: var(--lemon); color: var(--ink); border-color: var(--ink); }

/* ——— header ——— */

.top {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 30;
  height: 72px;
  padding: 0 var(--m);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  color: var(--ui-fg);
  transition: color 0.3s linear;
}
.top::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--band, transparent);
  box-shadow: 0 1px 0 rgba(18, 18, 18, 0.16);
  opacity: 0;
  transition: opacity 0.18s linear;
  pointer-events: none;
}
.top.is-band::before { opacity: 1; }
.top[data-band="ink"]::before { box-shadow: 0 1px 0 rgba(244, 244, 240, 0.2); }
/* each header part is themed by what lies under it, so a sweeping press never leaves ink on ink */
.top [data-ui="light"] { --ui-fg: var(--ink); --ui-bg: var(--lemon); --ui-dim: rgba(18, 18, 18, 0.64); }
.top [data-ui="ink"] { --ui-fg: var(--paper); --ui-bg: var(--ink); --ui-dim: rgba(244, 244, 240, 0.66); }
.top [data-ui] { color: var(--ui-fg); transition: color 0.3s linear; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  text-decoration: none;
  justify-self: start;
}

.stamp {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--lemon);
  font-family: var(--display);
  font-weight: 900;
  font-size: 26px;
  letter-spacing: -0.04em;
  line-height: 0.8;
  transition: background 0.3s linear, color 0.3s linear, transform 0.5s var(--ease);
}
.top [data-ui="ink"] .stamp { background: var(--lemon); color: var(--ink); }
.brand:hover .stamp { transform: rotate(-6deg) scale(1.04); }

.brand-word {
  font-family: var(--display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
}

.nav {
  display: flex;
  gap: 28px;
}
.nav a,
.menu nav a {
  text-decoration: none;
}
.nav a {
  position: relative;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.nav a:hover::after,
.nav a[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }

.top-end {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 20px;
}

.clock {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: center;
  gap: 6px;
}
.clock span { opacity: 0.6; }
.clock::before {
  content: "";
  width: 6px;
  height: 6px;
  background: currentColor;
  animation: blink 2s steps(1) infinite;
}

.menu-btn {
  display: none;
  min-height: 44px;
  min-width: 44px;
  padding: 0 4px;
  border: 0;
  background: none;
  cursor: pointer;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ——— buttons ——— */

.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 54px;
  padding: 0 24px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.375rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
  transition: color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: translateY(101%);
  transition: transform 0.5s var(--ease);
}
.btn-label {
  display: block;
  overflow: hidden;
  height: 1.05em;
  line-height: 1.05;
}
.btn-label > span {
  display: block;
  text-shadow: 0 1.05em 0 currentColor;
  transition: transform 0.5s var(--ease);
}
.btn:hover .btn-label > span { transform: translateY(-1.05em); }
.btn-arrow { display: inline-block; transition: transform 0.5s var(--ease); font-family: var(--text); font-weight: 400; }
.btn:hover .btn-arrow { transform: translate(3px, -3px); }

.btn-ink { background: var(--ink); color: var(--lemon); }
.btn-ink::before { background: var(--lemon); }
.btn-ink:hover { color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }

.btn-lemon { background: var(--lemon); color: var(--ink); }
.btn-lemon::before { background: var(--paper); }

.top [data-ui="ink"] .btn-ink { background: var(--lemon); color: var(--ink); }
.top [data-ui="ink"] .btn-ink::before { background: var(--paper); }
.top [data-ui="ink"] .btn-ink:hover { box-shadow: none; }

.btn:hover::before { transform: none; }

.btn-sm { min-height: 44px; padding: 0 16px; font-size: 1.0625rem; gap: 10px; }
.btn-xl { min-height: 72px; padding: 0 32px; font-size: clamp(1.5rem, 2.2vw, 2rem); gap: 18px; }

/* ——— line reveal ——— */

.ln {
  display: block;
  clip-path: inset(-0.4em -0.3em 0 -0.3em);
}
.ln > span { display: block; }

.js .reveal-lines .ln > span,
.js .statement .ln > span,
.js .cta-title .ln > span { transform: translateY(108%); }

.js .is-in .ln > span,
.js .statement.is-in .ln > span,
.js .cta-title.is-in .ln > span {
  transform: none;
  transition: transform 1.1s var(--ease);
}
.js .is-in .ln:nth-child(2) > span { transition-delay: 0.08s; }
.js .is-in .ln:nth-child(3) > span { transition-delay: 0.16s; }

.js .reveal { opacity: 0; transform: translateY(28px); }
.js .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.9s var(--ease), transform 1.1s var(--ease);
}

/* ——— hero ——— */

.hero { min-height: 100svh; cursor: crosshair; }
.hero a, .hero button { cursor: pointer; }

.hero-in {
  min-height: 100svh;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto 1fr auto;
  column-gap: var(--gap);
  padding: 104px var(--m) 56px;
}

.eyebrow { grid-column: 1 / 6; grid-row: 1; }
.hero-stage { display: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.hero-title {
  grid-column: 1 / 9;
  grid-row: 3;
  align-self: end;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(5rem, min(14.4vw, 22.5svh), 15rem);
  line-height: 0.84;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: -0.085em;
}

.js .hero-title .ln > span { animation: line-up 1.15s var(--ease) both; }
.js .hero-title .ln:nth-child(2) > span { animation-delay: 0.09s; }
.js .hero-title .ln:nth-child(3) > span { animation-delay: 0.18s; }

.hero-side {
  grid-column: 9 / 13;
  grid-row: 3;
  align-self: end;
  display: grid;
  gap: 22px;
  padding-bottom: 4px;
}
.js .hero-side { animation: fade-up 1s var(--ease) 0.5s both; }

.lead {
  font-size: clamp(1.0625rem, 1.35vw, 1.3125rem);
  line-height: 1.42;
  max-width: 30ch;
  text-wrap: pretty;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
}
.cta-url { color: var(--dim); }

.hero-hint {
  position: absolute;
  left: var(--m);
  top: 132px;
  color: var(--dim);
}
.hint-touch { display: none; }
.js .hero-hint { animation: fade-up 1s var(--ease) 2.6s both; }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 32px;
  text-decoration: none;
  color: var(--dim);
  white-space: nowrap;
}
.scroll-cue i {
  position: relative;
  width: 1.5px;
  height: 18px;
  background: color-mix(in srgb, currentColor 30%, transparent);
  overflow: hidden;
}
.scroll-cue i::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 50%;
  background: currentColor;
  animation: cue 1.8s var(--press) infinite;
}

.fallback-stamp { display: none; }
.no-webgl .fallback-stamp {
  display: flex;
  position: absolute;
  right: 10%;
  top: 22%;
  width: min(34vw, 380px);
  aspect-ratio: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--lemon);
  box-shadow: 18px 22px 0 rgba(18, 18, 18, 0.14);
}
.fallback-stamp svg, .imprint svg { display: block; width: 78%; height: auto; fill: currentColor; }
.no-webgl .hero-hint { display: none; }
.no-webgl .hero { cursor: auto; }

.imprint {
  position: absolute;
  width: 112px;
  height: 112px;
  margin: -56px 0 0 -56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--lemon);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='112' height='112'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.4 1.9'/%3E%3C/filter%3E%3Crect width='112' height='112' filter='url(%23n)'/%3E%3C/svg%3E");
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='112' height='112'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.4 1.9'/%3E%3C/filter%3E%3Crect width='112' height='112' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: imprint 5.5s linear both;
}

/* ——— material ——— */

.material { min-height: 135vh; display: flex; align-items: center; }

.material-in {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 28px;
  padding: 22vh var(--m);
}
.material .label { grid-column: 1 / 4; }
.statement {
  grid-column: 1 / 8;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(3.4rem, 7.6vw, 8.75rem);
  line-height: 0.84;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}
.material .body { grid-column: 1 / 6; font-size: 1.1875rem; line-height: 1.5; max-width: 40ch; text-wrap: pretty; }
.readout {
  grid-column: 1 / 6;
  display: grid;
  gap: 0;
  border-top: 1.5px solid currentColor;
}
.readout div {
  display: grid;
  grid-template-columns: 9em 1fr;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid color-mix(in srgb, currentColor 22%, transparent);
}
.readout dt { color: var(--dim); }

/* ——— goods (pinned) ——— */

.goods { height: calc(100lvh + 300lvh); }

.goods-pin {
  position: sticky;
  top: 0;
  height: 100svh;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto 1fr auto;
  column-gap: var(--gap);
  padding: 96px var(--m) 52px;
  overflow: hidden;
}

.goods-head {
  grid-column: 1 / 7;
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: 28px;
}

.tabs { display: flex; gap: 4px; }
.tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1.5px solid currentColor;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s linear, color 0.25s linear;
}
.tabs a:hover { background: color-mix(in srgb, var(--ink) 8%, transparent); }
.tabs a[aria-current="true"] { background: var(--ink); color: var(--lemon); }

.word {
  grid-column: 1 / 8;
  grid-row: 2;
  align-self: center;
  height: calc(var(--word) * 0.94);
  --word: clamp(7rem, min(20vw, 36svh), 21rem);
  overflow: hidden;
  font-family: var(--display);
  font-weight: 900;
  font-size: var(--word);
  line-height: 0.8;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.word-track { will-change: transform; }
.word-track span { display: block; height: 0.94em; padding-top: 0.15em; }

.goods-stage { display: none; }
.panels {
  grid-column: 1 / 6;
  grid-row: 3;
  display: grid;
}
.panel {
  grid-area: 1 / 1;
  display: grid;
  gap: 12px;
  align-content: end;
  will-change: opacity, transform;
}
.js .panel { opacity: 0; visibility: hidden; }
.js .panel.is-active { visibility: visible; }

.panel-lead {
  font-weight: 500;
  font-size: clamp(1.25rem, 1.8vw, 1.625rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  max-width: 26ch;
}
.panel-text { color: var(--dim); max-width: 46ch; font-size: 1rem; text-wrap: pretty; }

.spec { margin-top: 10px; border-top: 1.5px solid currentColor; }
.spec li {
  display: grid;
  grid-template-columns: 8.5em 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 9px 8px 9px 0;
  border-bottom: 1px solid color-mix(in srgb, currentColor 20%, transparent);
  font-size: 0.9375rem;
  line-height: 1.35;
  transition: background 0.25s linear, padding 0.35s var(--ease);
}
.spec li .mono { font-size: 0.625rem; }
.spec li:hover,
.spec li.is-hi { background: var(--lemon); padding-left: 10px; }

/* ——— process (pinned, ink) ——— */

.process { height: calc(100lvh + 400lvh); }

.process-pin {
  position: sticky;
  top: 0;
  height: 100svh;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto 1fr auto auto;
  column-gap: var(--gap);
  padding: 96px var(--m) 52px;
  overflow: hidden;
}

.process-head { grid-column: 1 / 6; grid-row: 1; display: grid; gap: 14px; }
.process-title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2.75rem, 5.2vw, 5.75rem);
  line-height: 0.84;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.sample {
  grid-column: 9 / 13;
  grid-row: 1;
  justify-self: end;
  align-self: start;
  max-width: 34ch;
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border: 1px solid color-mix(in srgb, currentColor 40%, transparent);
  transition: opacity 0.4s linear;
}
.sample-k { color: var(--dim); }
.sample-v { color: var(--lemon); min-height: 2.9em; text-transform: none; font-size: 0.75rem; letter-spacing: 0; }
.sample-v::after { content: "▍"; animation: blink 1s steps(1) infinite; }

.steps {
  grid-column: 1 / -1;
  grid-row: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
}
.step {
  display: grid;
  align-content: start;
  gap: 10px;
  opacity: 0.38;
  transition: opacity 0.45s linear;
}
.step.is-active { opacity: 1; }
.step-n {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2.5rem, 4.2vw, 4.5rem);
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1.5px currentColor;
  transition: color 0.45s linear;
}
.step.is-active .step-n { color: var(--lemon); -webkit-text-stroke-color: var(--lemon); }
.step h3 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.5rem, 2.1vw, 2.125rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.step p { font-size: 0.9375rem; line-height: 1.45; color: var(--dim); max-width: 34ch; text-wrap: pretty; }
.step.is-active p { color: var(--paper); }

.step-bar {
  grid-column: 1 / -1;
  grid-row: 2;
  align-self: end;
  height: 2px;
  margin-bottom: 26px;
  background: color-mix(in srgb, currentColor 20%, transparent);
  position: relative;
}
.step-bar i {
  position: absolute;
  inset: 0;
  background: var(--lemon);
  transform-origin: left;
  transform: scaleX(0);
}

/* ——— ceh ——— */

.ceh { padding: 22vh 0 14vh; overflow-x: clip; }
.ceh-in {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gap);
  row-gap: 40px;
  padding: 0 var(--m);
}
.ceh .label { grid-column: 1 / -1; }
.fill {
  grid-column: 1 / 10;
  font-weight: 500;
  font-size: clamp(1.75rem, 3.5vw, 3.375rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: pretty;
}
.js .fill .w { opacity: 0.16; transition: opacity 0.35s linear; }
.js .fill .w.on { opacity: 1; }

.facts {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
  margin-top: 4vh;
}
.fact { border-top: 1.5px solid currentColor; padding-top: 14px; display: grid; gap: 10px; align-content: start; }
.fact h3 { color: var(--dim); }
.fact p { font-size: 1rem; line-height: 1.45; text-wrap: pretty; }
.facts .fact:nth-child(2) { transition-delay: 0.06s; }
.facts .fact:nth-child(3) { transition-delay: 0.12s; }
.facts .fact:nth-child(4) { transition-delay: 0.18s; }

.belt {
  margin: 16vh -6vw 0;
  transform: rotate(-2.4deg);
  background: var(--ink);
  color: var(--lemon);
  padding: 20px 0 16px;
  overflow: hidden;
}
.belt-track {
  display: flex;
  align-items: center;
  gap: 30px;
  width: max-content;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.25rem, 4.4vw, 4.25rem);
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  will-change: transform;
}
.belt-track i { width: 0.3em; height: 0.3em; background: var(--lemon); flex: none; }

/* ——— cta ——— */

.cta { min-height: 100svh; display: flex; }
.cta-in {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: auto 1fr auto auto;
  column-gap: var(--gap);
  row-gap: 28px;
  padding: 104px var(--m) 72px;
}
.cta .label { grid-column: 1 / 6; grid-row: 1; }
.cta-title {
  grid-column: 1 / 9;
  grid-row: 2;
  align-self: end;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(5rem, min(15vw, 26svh), 16rem);
  line-height: 0.79;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.cta-text { grid-column: 1 / 6; grid-row: 3; font-size: clamp(1.0625rem, 1.35vw, 1.3125rem); line-height: 1.42; max-width: 40ch; }
.cta .cta-row { grid-column: 1 / 10; grid-row: 4; gap: 18px 28px; }
.cta-alt { color: var(--dim); }
.cta-alt a { color: var(--ink); text-underline-offset: 3px; }

/* ——— footer ——— */

.foot { padding: 12vh 0 24px; overflow: hidden; }
.lockup {
  display: flex;
  justify-content: space-between;
  padding: 0 calc(var(--m) - 0.04em);
  font-family: var(--display);
  font-weight: 900;
  font-size: 24.4vw;
  line-height: 0.74;
  letter-spacing: -0.02em;
  color: var(--lemon);
  user-select: none;
}
.lockup span { display: block; transition: font-variation-settings 0.2s linear; }
.legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  padding: 6vh var(--m) 0;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--dim);
}
.legal a { color: var(--paper); text-underline-offset: 3px; }
.legal p { min-height: 24px; display: flex; align-items: center; }
.to-top { margin-left: auto; }

/* ——— mobile dock + menu ——— */

.dock {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 25;
  min-height: 60px;
  padding: 0 18px calc(env(safe-area-inset-bottom));
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--ink);
  color: var(--lemon);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transform: translateY(110%);
  transition: transform 0.5s var(--ease);
}
.dock .mono { font-size: 0.625rem; color: var(--paper); }
.dock.is-on { transform: none; }

.menu {
  position: fixed;
  inset: 0;
  z-index: 28;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 28px;
  padding: 96px 18px calc(28px + env(safe-area-inset-bottom));
}
.menu[hidden] { display: none; }
.menu nav { display: grid; }
.menu nav a {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(3.25rem, 17vw, 6rem);
  line-height: 0.92;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(244, 244, 240, 0.2);
  padding: 4px 0 2px;
}
.menu nav a:hover { color: var(--lemon); }
.menu .mono { color: rgba(244, 244, 240, 0.66); }
.menu .btn { justify-content: space-between; }
.menu-open { overflow: hidden; }

/* ——— keyframes ——— */

@keyframes line-up { from { transform: translateY(108%); } to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes cue {
  0% { transform: translateY(-100%); }
  60%, 100% { transform: translateY(200%); }
}
@keyframes imprint {
  0% { transform: rotate(var(--r)) scale(1.35); opacity: 0; }
  5% { transform: rotate(var(--r)) scale(1); opacity: 0.92; }
  70% { opacity: 0.8; }
  100% { transform: rotate(var(--r)) scale(1); opacity: 0; }
}

/* ——— tablet & phone ——— */

@media (max-width: 1100px) {
  .nav { gap: 18px; }
  .clock { display: none; }
  .spec li { grid-template-columns: 7.5em 1fr; }
}

@media (max-width: 900px) {
  :root { --m: 18px; --gap: 14px; }

  .top { height: 64px; grid-template-columns: 1fr auto; }
  .nav { display: none; }
  .top .btn { display: none; }
  .menu-btn { display: inline-flex; align-items: center; }
  .stamp { width: 40px; height: 40px; font-size: 23px; }
  .brand-word { font-size: 19px; letter-spacing: 0.12em; }

  .hud { display: none; }
  .callouts { display: none; }
  .dock { display: flex; }
  .hero { cursor: auto; }

  .hero-in {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    padding: 78px var(--m) calc(40px + env(safe-area-inset-bottom));
    row-gap: 0;
  }
  .eyebrow { grid-column: 1; }
  .hero-stage { display: block; grid-column: 1; grid-row: 2; height: clamp(220px, 41svh, 420px); margin-bottom: 26px; }
  .hero-title {
    grid-column: 1;
    grid-row: 3;
    align-self: start;
    font-size: clamp(4rem, min(22vw, 13.5svh), 9rem);
    margin: 0;
  }
  .hero-side { grid-column: 1; grid-row: 4; gap: 16px; margin-top: 28px; }
  .lead { font-size: 1.0625rem; max-width: 34ch; }
  .hero-hint { top: var(--hint-top, auto); left: auto; right: var(--m); }
  .hint-fine { display: none; }
  .hint-touch { display: inline; }
  .scroll-cue { display: none; }
  .no-webgl .fallback-stamp { position: relative; grid-row: 2; justify-self: center; align-self: center; right: auto; top: auto; width: min(50vw, 29svh); margin: 18px 0 48px; }
  .no-webgl .hero-stage { display: none; }

  .material { min-height: 120svh; align-items: flex-end; }
  .material-in { padding: 54svh var(--m) 10svh; grid-template-columns: 1fr; row-gap: 20px; }
  .material .label, .statement, .material .body, .readout { grid-column: 1; }
  .statement { font-size: clamp(3rem, 15.5vw, 5.5rem); }
  .material .body { font-size: 1.0625rem; }

  .goods-pin {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto 1fr auto;
    padding: 76px var(--m) calc(76px + env(safe-area-inset-bottom));
    row-gap: 10px;
  }
  .goods-head { grid-column: 1; gap: 14px; justify-content: space-between; }
  .tabs a { min-height: 40px; font-size: 1rem; padding: 0 10px; }
  .word { grid-column: 1; grid-row: 2; align-self: start; --word: clamp(4.5rem, 25vw, 8rem); }
  .goods-stage { display: block; grid-column: 1; grid-row: 3; min-height: 0; }
  .panels { grid-column: 1; grid-row: 4; }
  .panel { gap: 8px; }
  .panel-lead { font-size: 1.125rem; }
  .panel-text { display: none; }
  .spec { margin-top: 4px; }
  .spec li { grid-template-columns: 6.6em 1fr; gap: 10px; padding: 7px 0; font-size: 0.8125rem; }
  .spec li:hover { background: none; padding-left: 0; }

  .process-pin {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto auto;
    padding: 76px var(--m) calc(76px + env(safe-area-inset-bottom));
  }
  .process-head { grid-column: 1; gap: 8px; }
  .process-title { font-size: clamp(2.4rem, 12vw, 3.5rem); }
  .sample { display: none; }
  .steps { grid-column: 1; grid-template-columns: 1fr; grid-row: 4; }
  .step { grid-area: 1 / 1; opacity: 0; transform: translateY(12px); transition: opacity 0.4s linear, transform 0.6s var(--ease); }
  .step.is-active { opacity: 1; transform: none; }
  .step-n { font-size: 3rem; }
  .step-bar { grid-column: 1; grid-row: 3; margin: 0 0 18px; }

  .ceh { padding: 16vh 0 10vh; }
  .ceh-in { grid-template-columns: 1fr; row-gap: 28px; }
  .fill { grid-column: 1; font-size: clamp(1.5rem, 7vw, 2.25rem); }
  .facts { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .belt { margin-top: 10vh; }

  .cta-in { grid-template-columns: 1fr; padding: 84px var(--m) calc(96px + env(safe-area-inset-bottom)); row-gap: 20px; grid-template-rows: auto 1fr auto auto; }
  .cta .label, .cta-title, .cta-text, .cta .cta-row { grid-column: 1; }
  .cta-title { font-size: clamp(4.25rem, 24vw, 9rem); align-self: end; }
  .cta .btn-xl { width: 100%; justify-content: space-between; min-height: 64px; }

  .foot { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  .legal { gap: 4px 18px; font-size: 0.75rem; }
  .to-top { margin-left: 0; }
}

@media (max-width: 900px) {
  .goods-head .tabs { display: none; }
}

@media (max-width: 900px) and (max-height: 620px) {
  .spec { display: flex; flex-wrap: wrap; gap: 6px; border-top: 0; margin-top: 2px; }
  .spec li { display: block; padding: 5px 8px; border: 1px solid color-mix(in srgb, currentColor 35%, transparent); }
  .spec li > span:last-child { display: none; }
  .spec li.is-hi { padding-left: 8px; border-color: var(--ink); }
}

@media (max-width: 420px) {
  .facts { grid-template-columns: 1fr; }
  .tabs a { padding: 0 8px; }
}

@media (hover: none) {
  .hint-fine { display: none; }
  .hint-touch { display: inline; }
}

/* ——— reduced motion ——— */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
  }
  .js .hero-title .ln > span,
  .js .statement .ln > span,
  .js .cta-title .ln > span { transform: none; }
  .js .reveal { opacity: 1; transform: none; }
  .clock::before, .sample-v::after { animation: none; }
  .scroll-cue i::after { display: none; }
}

@media print {
  .stage3d, .hud, .callouts, .press, .imprints, .dock, .menu, .belt { display: none !important; }
  .goods, .process { height: auto; }
  .goods-pin, .process-pin { position: static; height: auto; }
  .js .panel, .js .step { opacity: 1 !important; visibility: visible !important; }
}
