:root {
  --paper: #f2f0e9;
  --paper-bright: #faf9f4;
  --ink: #0a0a0a;
  --blue: #16375e;
  --blue-deep: #0e2e4f;
  --blue-bright: #2c5a82;
  --sensitizer: #b7a94a;
  --sensitizer-wet: #98a03e;
  --ferricyanide: #d89a2a;
  --exposed-mid: #7c7250;
  --exposed: #524b3e;
  --prussian-wet: #4a6e8a;
  --uv: #7b4be0;
  --progress: 0;
  --coat: 0;
  --compose: 0;
  --expose: 0;
  --rinse: 0;
  --reveal: 0;
  --hero-out: 0;
  --mask-offset: 180px;
  --mask-offset-neg: -180px;
  --scan-y: 0%;
  --mouse-x: 0px;
  --mouse-y: 0px;
  --viewport-tint: rgba(22, 55, 94, 0);
  --hero-opacity: 1;
  --hero-scale: 1;
  --stage-scale: 0.62;
  --stage-opacity: 0;
  --halo-scale: 0.8;
  --halo-opacity: 0;
  --orbit-a-angle: -21deg;
  --orbit-b-angle: 32deg;
  --plate-angle: -4deg;
  --plate-scale: 0.8;
  --plate-grid-opacity: 0.18;
  --coat-opacity: 0;
  --mask-opacity: 0;
  --bronze-opacity: 0;
  --wash: 0;
  --prussian-opacity: 0;
  --prussian-now: #4a6e8a;
  --sensitizer-now: #b7a94a;
  --negative-opacity: 0;
  --negative-lift: 0px;
  --rinse-y: 0%;
  --rinse-opacity: 0;
  --scan-top: 22%;
  --scan-opacity: 0;
  --crosshair-opacity: 0.16;
  --progress-width: 0%;
  --font-display: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-title: "Strenuous", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SFMono-Regular", "Roboto Mono", "Courier New", monospace;
}

@font-face {
  font-family: "Strenuous";
  src: url("./strenuous/Strenuous%20Bl.otf") format("opentype");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-display);
  overflow-x: hidden;
}

button, a { color: inherit; }
a { text-decoration: none; }
button { font: inherit; }
::selection { color: var(--paper); background: var(--blue); }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.skip-link:focus { top: 1rem; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 84px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 2.2vw;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.site-header a, .site-header button { pointer-events: auto; }
.site-header.is-dark {
  color: var(--paper);
  mix-blend-mode: normal;
}

.wordmark {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-title);
  font-size: 1.05rem;
  line-height: 0.84;
  letter-spacing: -0.01em;
}

.wordmark-mark {
  width: 34px;
  height: 34px;
  display: block;
  flex: none;
}

/* Le mark est noir : on l'inverse sur les fonds sombres, les yeux suivent. */
.site-header.is-dark .wordmark-mark,
.footer-mark .wordmark-mark { filter: invert(1); }

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2.1vw, 2.1rem);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  text-transform: uppercase;
}

.desktop-nav a { position: relative; padding: 0.5rem 0; }
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0.25rem;
  height: 1px;
  background: currentColor;
  transition: right 350ms ease;
}
.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after { right: 0; }

.header-tools {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 3rem);
  font-family: var(--font-mono);
  font-size: 0.64rem;
  text-transform: uppercase;
}

.live-signal { display: flex; align-items: center; gap: 0.45rem; }
.live-signal i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(22, 55, 94, 0.12);
  animation: pulse 2.2s ease-out infinite;
}

.language-switch { display: flex; align-items: center; gap: 0.28rem; }
.language-switch button {
  padding: 0.25rem;
  border: 0;
  background: none;
  cursor: pointer;
  opacity: 0.36;
}
.language-switch button[aria-pressed="true"] {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.scanner-scroll {
  position: relative;
  height: 660vh;
  background: var(--paper);
}

.scanner-viewport {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(var(--viewport-tint), var(--viewport-tint)), var(--paper);
}

.grid-field {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(to right, rgba(10, 10, 10, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10, 10, 10, 0.06) 1px, transparent 1px);
  background-size: max(6.25vw, 72px) max(6.25vw, 72px);
  mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 84%, transparent);
}

.edge-index {
  position: absolute;
  top: 50%;
  z-index: 8;
  display: flex;
  gap: 3rem;
  color: rgba(10, 10, 10, 0.56);
  font-family: var(--font-mono);
  font-size: 0.61rem;
  letter-spacing: 0.08em;
  writing-mode: vertical-rl;
}
.edge-index-left { left: 1.1rem; transform: translateY(-50%) rotate(180deg); }
.edge-index-right { right: 1.1rem; transform: translateY(-50%); }

.hero-title {
  position: absolute;
  margin: 0;
  inset: 50% 1.8vw auto;
  z-index: 1;
  display: grid;
  transform: translateY(-51%) scale(var(--hero-scale));
  transform-origin: center;
  opacity: var(--hero-opacity);
  font-weight: 900;
  line-height: 0.78;
  letter-spacing: -0.02em;
  text-align: center;
  pointer-events: none;
}
.hero-title { font-family: var(--font-title); }
.hero-title > span { font-size: clamp(5.4rem, 17.6vw, 20.5rem); }
.hero-title > span.sr-only { font-size: 1rem; }
.hero-title > span:nth-child(2) {
  color: transparent;
  -webkit-text-stroke: clamp(1px, 0.16vw, 3px) var(--ink);
}
.hero-title small {
  margin-top: 2.7rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.25em;
}

.scanner-stage {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 4;
  width: min(60vw, 780px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%) scale(var(--stage-scale));
  opacity: var(--stage-opacity);
}

.optical-halo {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(123, 75, 224, 0.26);
}
.optical-halo-a {
  inset: 3%;
  box-shadow: inset 0 0 50px rgba(123, 75, 224, 0.09), 0 0 90px rgba(123, 75, 224, 0.09);
  transform: scale(var(--halo-scale));
}
.optical-halo-b {
  inset: 16%;
  border-width: 10px;
  filter: blur(14px);
  opacity: var(--halo-opacity);
}

.orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(10, 10, 10, 0.28);
  border-radius: 50%;
}
.orbit-a {
  width: 92%;
  height: 39%;
  transform: translate(-50%, -50%) rotate(var(--orbit-a-angle));
}
.orbit-b {
  width: 43%;
  height: 97%;
  transform: translate(-50%, -50%) rotate(var(--orbit-b-angle));
}
.orbit i, .orbit b {
  position: absolute;
  display: block;
  width: 12px;
  height: 12px;
  border: 2px solid var(--ink);
  background: var(--paper);
  border-radius: 50%;
}
.orbit i { left: 12%; top: 12%; }
.orbit b { right: 5%; bottom: 22%; background: var(--blue); border-color: var(--blue); }

.rail { position: absolute; z-index: -1; background: rgba(10, 10, 10, 0.22); }
.rail-horizontal { left: 2%; right: 2%; top: 50%; height: 1px; }
.rail-vertical { top: 2%; bottom: 2%; left: 50%; width: 1px; }

.plate-shell {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 54%;
  aspect-ratio: 0.74;
  padding: 13px;
  border: 1px solid var(--ink);
  background: rgba(242, 240, 233, 0.66);
  box-shadow: 0 30px 80px rgba(10, 10, 10, 0.12);
  transform: translate(-50%, -50%) rotate(var(--plate-angle)) scale(var(--plate-scale));
  backdrop-filter: blur(8px);
}
.plate {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--ink);
  background: var(--paper-bright);
}
.plate-grid {
  position: absolute;
  inset: 0;
  opacity: var(--plate-grid-opacity);
  background-image:
    linear-gradient(to right, rgba(10, 10, 10, 0.1) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10, 10, 10, 0.1) 1px, transparent 1px);
  background-size: 12.5% 9.1%;
}
/* 01 — ENDUIRE : citrate de fer ammoniacal vert + ferricyanure, sec sur le papier */
.plate-coat {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    repeating-linear-gradient(91deg, rgba(255, 255, 255, 0.16) 0 11px, rgba(0, 0, 0, 0.06) 12px 13px),
    linear-gradient(100deg, var(--sensitizer-wet), var(--sensitizer-now) 42%, var(--sensitizer-now));
  opacity: var(--coat-opacity);
  transform: scaleX(var(--coat));
  transform-origin: left;
}

/* 03 — EXPOSER : Fe(III) photoréduit, vert-jaune -> bronze -> gris-brun ; 04 -> bleu de Prusse */
.plate-exposed {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: var(--exposed);
  clip-path: inset(0 0 calc(100% - var(--scan-y)) 0);
}
.plate-exposed::before,
.plate-exposed::after {
  content: "";
  position: absolute;
  inset: 0;
}
.plate-exposed::before {
  background: var(--exposed-mid);
  opacity: var(--bronze-opacity);
}
.plate-exposed::after {
  background: linear-gradient(var(--prussian-now), var(--prussian-now));
  opacity: var(--prussian-opacity);
}

/* 02 — MASQUER : formes opaques noires + chimie intacte conservée dessous */
.plate-unexposed,
.plate-negative {
  position: absolute;
  inset: 0;
}
.plate-unexposed {
  z-index: 3;
  color: var(--sensitizer-now);
  opacity: var(--mask-opacity);
}
.plate-negative {
  z-index: 4;
  color: var(--ink);
  opacity: var(--negative-opacity);
  transform: translateY(var(--negative-lift));
}
.shape { position: absolute; display: block; }
.shape-disc {
  left: 11%;
  top: 18%;
  width: 47%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: currentColor;
  transform: translateX(var(--mask-offset-neg));
}
.shape-bar {
  right: 9%;
  top: 9%;
  width: 12%;
  height: 78%;
  background: currentColor;
  transform: translateY(var(--mask-offset-neg)) rotate(7deg);
}
.shape-ring {
  right: 10%;
  bottom: 8%;
  width: 43%;
  aspect-ratio: 1;
  border: 18px solid currentColor;
  border-radius: 50%;
  transform: translateX(var(--mask-offset));
}
.shape-grid {
  left: 10%;
  bottom: 8%;
  width: 33%;
  height: 26%;
  background-image:
    linear-gradient(to right, currentColor 2px, transparent 2px),
    linear-gradient(to bottom, currentColor 2px, transparent 2px);
  background-size: 13px 13px;
  transform: translateY(var(--mask-offset));
}

/* 04 — RINCER : l'eau emporte la chimie non exposée, elle se teinte de vert-jaune */
.rinse-field {
  position: absolute;
  z-index: 5;
  inset: -80% 0 0;
  background:
    repeating-linear-gradient(
      180deg,
      rgba(183, 169, 74, 0) 0 9px,
      rgba(183, 169, 74, 0.46) 10px,
      rgba(238, 243, 245, 0.7) 11px,
      rgba(183, 169, 74, 0) 13px 23px
    );
  transform: translateY(var(--rinse-y));
  opacity: var(--rinse-opacity);
}
.plate-code {
  position: absolute;
  z-index: 8;
  left: 9px;
  bottom: 8px;
  color: var(--paper-bright);
  font-family: var(--font-mono);
  font-size: 0.48rem;
  letter-spacing: 0.04em;
  mix-blend-mode: difference;
}
.registration-corner {
  position: absolute;
  z-index: 9;
  width: 14px;
  height: 14px;
  border-color: var(--ink);
}
.corner-a { left: 5px; top: 5px; border-left: 1px solid; border-top: 1px solid; }
.corner-b { right: 5px; top: 5px; border-right: 1px solid; border-top: 1px solid; }
.corner-c { right: 5px; bottom: 5px; border-right: 1px solid; border-bottom: 1px solid; }
.corner-d { left: 5px; bottom: 5px; border-left: 1px solid; border-bottom: 1px solid; }

.scan-beam {
  position: absolute;
  z-index: 10;
  left: 17%;
  right: 17%;
  top: var(--scan-top);
  height: 3px;
  color: var(--uv);
  background: currentColor;
  box-shadow: 0 0 12px currentColor, 0 0 35px currentColor, 0 0 65px currentColor;
  opacity: var(--scan-opacity);
}
.scan-beam::before, .scan-beam::after {
  content: "";
  position: absolute;
  top: -7px;
  width: 1px;
  height: 17px;
  background: currentColor;
}
.scan-beam::before { left: 0; }
.scan-beam::after { right: 0; }
.scan-beam span {
  position: absolute;
  right: 0;
  bottom: 9px;
  padding: 0.18rem 0.3rem;
  background: var(--uv);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.46rem;
}

.crosshair {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 11;
  width: 42px;
  height: 42px;
  transform: translate(calc(-50% + var(--mouse-x)), calc(-50% + var(--mouse-y)));
  opacity: var(--crosshair-opacity);
  transition: opacity 200ms ease;
}
.crosshair::before, .crosshair::after { content: ""; position: absolute; background: var(--ink); }
.crosshair::before { left: 50%; top: 0; width: 1px; height: 100%; }
.crosshair::after { left: 0; top: 50%; width: 100%; height: 1px; }
.crosshair span { position: absolute; inset: 9px; border: 1px solid var(--ink); border-radius: 50%; }

.chapter-stack {
  position: absolute;
  left: 2.2vw;
  bottom: 11vh;
  z-index: 12;
  width: min(36vw, 520px);
}
.chapter {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  pointer-events: none;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 420ms ease, transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}
.chapter.is-active { opacity: 1; transform: translateY(0); }
.chapter p, .eyebrow {
  margin: 0 0 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.chapter h2 {
  margin: 0 0 1rem;
  font-family: var(--font-title);
  font-size: clamp(2.4rem, 4.9vw, 5.6rem);
  line-height: 0.86;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}
.chapter > span { display: block; max-width: 31rem; font-size: 0.95rem; line-height: 1.35; }

.telemetry {
  position: absolute;
  z-index: 13;
  top: 104px;
  display: grid;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.55rem;
}
.telemetry span { opacity: 0.55; }
.telemetry b { font-size: 0.68rem; font-weight: 400; }
.telemetry-left { left: 2.2vw; }
.telemetry-right { right: 2.2vw; text-align: right; }

.process-progress {
  position: absolute;
  right: 2.2vw;
  bottom: 4vh;
  z-index: 13;
  display: grid;
  grid-template-columns: auto min(18vw, 250px) auto;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.58rem;
}
.progress-track { position: relative; height: 1px; background: rgba(10, 10, 10, 0.22); }
.progress-track i { position: absolute; inset: -1px auto -1px 0; width: var(--progress-width); background: var(--blue); }
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 3.4vh;
  z-index: 14;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  text-transform: uppercase;
  transform: translateX(-50%);
  transition: opacity 250ms ease;
}
.scroll-cue i { position: relative; width: 30px; height: 1px; overflow: hidden; background: rgba(10, 10, 10, 0.3); }
.scroll-cue i::after { content: ""; position: absolute; inset: 0; background: var(--blue); animation: scanCue 1.6s ease-in-out infinite; }

.scanner-viewport[data-active="5"] { color: var(--paper); }
.scanner-viewport[data-active="5"] .orbit i { color: var(--ink); }

.manifesto {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-content: center;
  padding: 12vh 3vw 8vh;
  overflow: hidden;
  color: var(--paper);
  background: var(--blue);
}
.manifesto::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(62vw, 860px);
  aspect-ratio: 1;
  border: 1px solid rgba(242, 240, 233, 0.28);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 7vw rgba(242, 240, 233, 0.025), 0 0 0 14vw rgba(242, 240, 233, 0.025);
}
.section-index {
  position: absolute;
  top: 2rem;
  left: 3vw;
  right: 3vw;
  display: flex;
  justify-content: space-between;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(242, 240, 233, 0.35);
  font-family: var(--font-mono);
  font-size: 0.58rem;
}
.manifesto .eyebrow { position: relative; z-index: 1; margin-left: 0.4vw; }
.manifesto h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--font-title);
  font-size: clamp(3.4rem, 10.4vw, 11rem);
  line-height: 0.84;
  letter-spacing: -0.018em;
  text-transform: uppercase;
}
.manifesto h2 span { display: block; }
.manifesto h2 .outline { color: transparent; -webkit-text-stroke: clamp(1px, 0.13vw, 2px) var(--paper); }
.manifesto-copy {
  position: relative;
  z-index: 1;
  justify-self: end;
  width: min(35rem, 42vw);
  margin: 4rem 1vw 0 0;
  font-size: clamp(1.15rem, 1.65vw, 1.75rem);
  line-height: 1.25;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--ink);
  background: var(--paper);
}
.offer-card {
  min-height: 740px;
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  padding: 1.4rem;
  border-right: 1px solid var(--ink);
}
.offer-card:last-child { border-right: 0; }
.offer-card.inverted { color: var(--paper); background: var(--ink); }
.card-top { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 0.59rem; }
.card-signal {
  position: relative;
  align-self: center;
  width: min(80%, 320px);
  aspect-ratio: 1;
  justify-self: center;
}
.signal-original { border: 1px solid var(--ink); border-radius: 50%; }
.signal-original::before, .signal-original::after {
  content: "";
  position: absolute;
  inset: 15%;
  border: 1px solid var(--blue);
  border-radius: 50%;
}
.signal-original::after { inset: 31%; background: var(--blue); }
.signal-original i, .signal-original b {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  border: 1px solid var(--ink);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(27deg);
}
.signal-original i { width: 122%; height: 34%; }
.signal-original b { width: 34%; height: 122%; }

.signal-edition {
  background-image:
    linear-gradient(to right, rgba(242, 240, 233, 0.2) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(242, 240, 233, 0.2) 1px, transparent 1px);
  background-size: 16.66% 16.66%;
}
.signal-edition i, .signal-edition b, .signal-edition em {
  position: absolute;
  display: block;
  border: 1px solid var(--paper);
  border-radius: 50%;
}
.signal-edition i { inset: 5%; }
.signal-edition b { inset: 22%; background: var(--paper); }
.signal-edition em { inset: 38%; background: var(--blue); border-color: var(--blue); }

.signal-commission { border: 1px solid var(--ink); transform: rotate(45deg) scale(0.74); }
.signal-commission::before, .signal-commission::after, .signal-commission i, .signal-commission b {
  content: "";
  position: absolute;
  display: block;
  background: var(--blue);
}
.signal-commission::before { left: 49.8%; top: -18%; width: 1px; height: 136%; }
.signal-commission::after { left: -18%; top: 49.8%; width: 136%; height: 1px; }
.signal-commission i { inset: 27%; border-radius: 50%; }
.signal-commission b { left: 42%; top: -8%; width: 16%; height: 116%; background: var(--paper); border: 1px solid var(--ink); }

.offer-card h3 {
  margin: 0 0 0.8rem;
  font-family: var(--font-title);
  font-size: clamp(2.2rem, 3.7vw, 4.3rem);
  line-height: 0.94;
  letter-spacing: -0.015em;
}
.offer-card p { max-width: 26rem; margin: 0 0 2rem; font-size: 1rem; line-height: 1.38; }
.offer-card > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.85rem;
  border-top: 1px solid currentColor;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
}
.offer-card > a i { font-size: 1rem; font-style: normal; transition: transform 250ms ease; }
.offer-card > a:hover i { transform: translate(3px, -3px); }

.archive { padding: 12vh 2.2vw; background: var(--paper); }
.archive-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 4vw;
  padding-bottom: 2.2rem;
  border-bottom: 1px solid var(--ink);
}
.archive-header h2 {
  margin: 0;
  font-family: var(--font-title);
  font-size: clamp(3.2rem, 7vw, 7.7rem);
  line-height: 0.88;
  letter-spacing: -0.015em;
}
.archive-header > p { justify-self: end; max-width: 33rem; margin: 0; font-size: 1.15rem; line-height: 1.3; }
.archive-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: 1px; background: var(--ink); }
.archive-slot { min-width: 0; padding: 1rem; background: var(--paper); }
.slot-id, .archive-slot p { font-family: var(--font-mono); font-size: 0.58rem; }
.slot-field {
  position: relative;
  height: min(60vw, 720px);
  margin: 1rem 0;
  overflow: hidden;
  background:
    linear-gradient(to right, rgba(242, 240, 233, 0.13) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(242, 240, 233, 0.13) 1px, transparent 1px),
    var(--blue);
  background-size: 12.5% 12.5%;
}
.slot-field i, .slot-field b { position: absolute; display: block; border: 1px solid var(--paper); border-radius: 50%; }
.slot-field i { width: 62%; aspect-ratio: 1; left: 10%; top: 14%; }
.slot-field b { width: 72%; height: 22%; right: -12%; bottom: 14%; transform: rotate(-18deg); }
.slot-field.alternate { background-color: var(--ink); }
.slot-field.alternate i { width: 112%; left: -38%; top: 23%; border-width: 34px; border-color: var(--blue); }
.slot-field.alternate b {
  width: 14%;
  height: 88%;
  right: 18%;
  bottom: -8%;
  border: 0;
  border-radius: 0;
  background: var(--paper);
  transform: rotate(7deg);
}
.slot-field.third { background-color: var(--paper); border: 1px solid var(--ink); }
.slot-field.third i { inset: 18%; width: auto; border: 32px solid var(--blue); }
.slot-field.third b {
  width: 38%;
  aspect-ratio: 1;
  height: auto;
  right: 6%;
  bottom: 8%;
  border: 0;
  background: var(--ink);
}
.archive-slot p { margin: 0; line-height: 1.35; }

.commission {
  position: relative;
  min-height: 96svh;
  display: grid;
  place-content: center;
  justify-items: center;
  overflow: hidden;
  padding: 8vh 3vw;
  color: var(--paper);
  background: var(--ink);
  text-align: center;
}
.commission .eyebrow { position: relative; z-index: 2; }
.commission h2 {
  position: relative;
  z-index: 2;
  margin: 0;
  font-family: var(--font-title);
  font-size: clamp(3.5rem, 9.4vw, 10.2rem);
  line-height: 0.84;
  letter-spacing: -0.018em;
}
.commission > p:not(.eyebrow) { position: relative; z-index: 2; margin: 2.2rem 0; font-size: clamp(1rem, 1.5vw, 1.45rem); }
.contact-trigger {
  position: relative;
  z-index: 2;
  width: min(92vw, 430px);
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
  border: 0;
  border-top: 1px solid var(--paper);
  border-bottom: 1px solid var(--paper);
  color: var(--paper);
  background: transparent;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  cursor: pointer;
}
.contact-trigger i { font-size: 1rem; font-style: normal; }
.contact-note {
  position: relative;
  z-index: 2;
  min-height: 1.2rem;
  margin-top: 1rem;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  text-transform: uppercase;
}
.contact-note a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.28em;
}
.contact-note a:hover { text-decoration-thickness: 2px; }
.commission-orbit {
  position: absolute;
  width: min(68vw, 850px);
  aspect-ratio: 1;
  border: 1px solid rgba(242, 240, 233, 0.28);
  border-radius: 50%;
  animation: slowSpin 24s linear infinite;
}
.commission-orbit::before, .commission-orbit::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(242, 240, 233, 0.19);
  border-radius: 50%;
}
.commission-orbit::before { inset: 15% -22%; transform: rotate(34deg); }
.commission-orbit::after { inset: -22% 15%; transform: rotate(-21deg); }
.commission-orbit i, .commission-orbit b, .commission-orbit em {
  position: absolute;
  display: block;
  border-radius: 50%;
  background: var(--blue);
}
.commission-orbit i { width: 18px; height: 18px; left: 11%; top: 21%; }
.commission-orbit b { width: 8px; height: 8px; right: 4%; top: 47%; }
.commission-orbit em { width: 46px; height: 46px; right: 21%; bottom: 8%; filter: blur(8px); }

footer {
  display: grid;
  gap: 2.4rem;
  padding: 2.6rem 2.2vw;
  color: var(--paper);
  background: var(--ink);
  border-top: 1px solid rgba(242, 240, 233, 0.25);
}
.footer-top,
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem 2.6rem;
}
.footer-bottom { padding-top: 1.8rem; border-top: 1px solid rgba(242, 240, 233, 0.16); }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.9rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.footer-nav a { opacity: 0.72; }
.footer-nav a:hover,
.footer-nav a[aria-current] { opacity: 1; text-decoration: underline; text-underline-offset: 0.25em; }
.footer-meta { display: flex; gap: 2rem; font-family: var(--font-mono); font-size: 0.59rem; }
.footer-bottom > a { font-family: var(--font-mono); font-size: 0.62rem; text-transform: uppercase; }

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

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(22, 55, 94, 0.34); }
  100% { box-shadow: 0 0 0 8px rgba(22, 55, 94, 0); }
}
@keyframes scanCue {
  from { transform: translateX(-105%); }
  to { transform: translateX(105%); }
}
@keyframes slowSpin { to { transform: rotate(360deg); } }

@media (max-width: 820px) {
  .site-header {
    height: 68px;
    grid-template-columns: 1fr auto;
    padding: 0 1rem;
  }
  .desktop-nav, .live-signal { display: none; }
  .header-tools { grid-column: 2; }
  .wordmark { font-size: 0.66rem; }
  .wordmark-mark { width: 23px; height: 23px; }
  .scanner-scroll { height: 600vh; }
  .scanner-viewport { min-height: 520px; }
  .edge-index { display: none; }
  .hero-title { inset-inline: 0.5rem; }
  .hero-title > span { font-size: clamp(5.4rem, 27vw, 9rem); }
  .hero-title small { margin-top: 2rem; }
  .scanner-stage { top: 43%; width: min(114vw, 620px); }
  .plate-shell { width: 48%; padding: 8px; }
  .chapter-stack { left: 1rem; right: 1rem; bottom: 13vh; width: auto; }
  .chapter h2 { font-size: clamp(2.25rem, 11vw, 4.2rem); }
  .chapter > span { max-width: 82vw; font-size: 0.88rem; }
  .telemetry { top: 83px; }
  .telemetry-left { left: 1rem; }
  .telemetry-right { right: 1rem; }
  .process-progress { left: 1rem; right: 1rem; bottom: 3vh; grid-template-columns: auto 1fr auto; }
  .scroll-cue { display: none; }
  .manifesto { padding: 10vh 1rem 6vh; }
  .section-index { left: 1rem; right: 1rem; }
  .manifesto h2 { font-size: clamp(3.4rem, 17vw, 6.1rem); }
  .manifesto-copy { width: 88vw; margin-top: 3rem; margin-right: 0; font-size: 1.15rem; }
  .offer-grid { grid-template-columns: 1fr; }
  .offer-card { min-height: 650px; border-right: 0; border-bottom: 1px solid var(--ink); }
  .offer-card.inverted { border-color: var(--paper); }
  .card-signal { width: min(66vw, 290px); }
  .offer-card h3 { font-size: clamp(2.7rem, 12vw, 4.3rem); }
  .archive { padding: 10vh 1rem; }
  .archive-header { grid-template-columns: 1fr; align-items: start; }
  .archive-header h2 { font-size: clamp(3rem, 14.5vw, 5.1rem); }
  .archive-header > p { justify-self: start; }
  .archive-grid { grid-template-columns: 1fr; }
  .slot-field { height: 112vw; max-height: 640px; }
  .archive-slot-wide .slot-field { height: 78vw; }
  .commission h2 { font-size: clamp(3.4rem, 15.8vw, 6rem); }
  .commission-orbit { width: 115vw; }
  footer { gap: 1.8rem; padding: 2rem 1rem; }
  .desktop-nav { display: none; }
  footer > div { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .crosshair { display: none; }
}
