/* HitLab · Lab Black, Bone, Ash and Record Gold. Gold only for the mark, the stamp and the number. */
:root {
  --black: #0b0a08;
  --panel: #13120f;
  --line: #24221d;
  --line2: #36332c;
  --bone: #ede9e1;
  --ash: #8c877c;
  --gold: #c9a227;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --text: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --gutter: clamp(20px, 5vw, 72px);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

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

html { background: var(--black); color: var(--bone); -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; font-family: var(--text); font-size: 18px; line-height: 1.55; overflow-x: clip; -webkit-font-smoothing: antialiased; }
::selection { background: var(--gold); color: var(--black); }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
/* Lenis (smooth scrolling) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: clip; }
.lenis.lenis-smooth iframe { pointer-events: none; }
.nowrap { white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; }
.gold { color: var(--gold); }
.label { color: var(--ash); margin: 0 0 28px; }

/* Film grain over everything: depth without gradients. */
.grain {
  position: fixed; inset: -50%; z-index: 50; pointer-events: none; opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%, 100% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); } 40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } }

/* ── The mark: element 1 ───────────────────────────────── */
.tile { position: relative; display: inline-grid; place-items: center; flex-shrink: 0; border: 1.5px solid var(--gold); background: var(--panel); aspect-ratio: 1; }
.tile-n, .tile-w, .tile-f { position: absolute; font-family: var(--mono); line-height: 1; }
.tile-n { top: 7%; left: 9%; color: var(--gold); font-size: 0.16em; }
.tile-w { top: 8%; right: 9%; color: var(--ash); font-size: 0.1em; letter-spacing: 0.05em; }
.tile-f { bottom: 7%; left: 0; right: 0; text-align: center; color: var(--gold); font-size: 0.085em; letter-spacing: 0.3em; text-transform: uppercase; }
.tile-h { font-family: var(--display); font-weight: 900; font-stretch: 125%; font-size: 0.52em; line-height: 1; color: var(--bone); }
.tile--xs { width: 30px; font-size: 30px; }
.tile--xs .tile-n { font-size: 6px; }
.tile--sm { width: 84px; font-size: 84px; }
.tile--hero { width: clamp(150px, 19vw, 260px); font-size: clamp(150px, 19vw, 260px); box-shadow: 0 30px 90px -30px rgba(201, 162, 39, 0.45); }
.tile--hero::after { content: ""; position: absolute; inset: -1.5px; border: 1.5px solid var(--gold); opacity: 0; animation: pulse 3.2s var(--ease) 2.6s infinite; }
@keyframes pulse { 0% { opacity: 0.8; transform: scale(1); } 100% { opacity: 0; transform: scale(1.18); } }

.wordmark { font-family: var(--display); font-weight: 900; font-stretch: 125%; text-transform: uppercase; letter-spacing: 0.32em; font-size: 13px; }
.wordmark--lg { font-size: 20px; }

/* ── Nav ───────────────────────────────────────────────── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; padding: max(env(safe-area-inset-top), 18px) var(--gutter) 18px; transition: background 0.4s, border-color 0.4s; border-bottom: 1px solid transparent; }
.nav.is-solid { background: rgba(11, 10, 8, 0.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-color: var(--line); }
.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 18px; }
.lang { display: flex; }
.lang button { background: none; border: 0; padding: 6px 7px; cursor: pointer; font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--ash); transition: color 0.2s; }
.lang button:hover { color: var(--bone); }
.lang button.is-on { color: var(--bone); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 6px; }
.nav-cta { font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none; padding: 10px 16px; border: 1px solid var(--line2); transition: border-color 0.3s, color 0.3s; }
.nav-cta:hover { border-color: var(--gold); color: var(--gold); }

/* ── Hero ──────────────────────────────────────────────── */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; padding: 120px var(--gutter) 90px; overflow: hidden; }
.code-field { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(11, 10, 8, 0.82) 0%, rgba(11, 10, 8, 0.35) 55%, rgba(11, 10, 8, 0.1) 100%), linear-gradient(0deg, var(--black) 0%, transparent 22%); }
.hero-inner { position: relative; z-index: 2; display: grid; gap: clamp(28px, 4vw, 48px); max-width: 1200px; }
.claim { margin: 0; font-family: var(--display); font-weight: 900; font-stretch: 125%; text-transform: uppercase; line-height: 0.98; letter-spacing: -0.01em; font-size: clamp(36px, 7.2vw, 112px); }
.claim-line { display: block; }
/* Each letter keeps its own width; a random glyph sits on top until it locks, so nothing shifts. */
.ch { position: relative; display: inline-block; }
.ch.scr { color: transparent; }
.ch.scr::after { content: attr(data-g); position: absolute; inset: 0; text-align: center; color: var(--ash); font-family: var(--mono); font-weight: 500; font-stretch: 100%; font-size: 0.72em; line-height: 1.4; }
.ch.lock { animation: lock 0.5s var(--ease); }
@keyframes lock { from { color: var(--gold); text-shadow: 0 0 24px rgba(201, 162, 39, 0.6); } to { color: inherit; text-shadow: none; } }
.pillars { color: var(--ash); margin: 0; }
.pillars i { font-style: normal; color: var(--gold); margin: 0 10px; }
.scroll-hint { position: absolute; z-index: 2; left: var(--gutter); bottom: 28px; display: flex; align-items: center; gap: 14px; color: var(--ash); text-decoration: none; }
.scroll-line { width: 64px; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.scroll-line::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform: translateX(-100%); animation: sweep 2.4s var(--ease) infinite; }
@keyframes sweep { to { transform: translateX(100%); } }

.reveal { opacity: 0; transform: translateY(18px); animation: rise 1.1s var(--ease) forwards; animation-delay: var(--d, 0.15s); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Moving band between hero and manifest; scroll speeds it up. */
.band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 22px 0; }
.band-track { display: flex; align-items: center; gap: 36px; width: max-content; will-change: transform; }
.band span { font-family: var(--display); font-weight: 800; font-stretch: 125%; text-transform: uppercase; font-size: clamp(22px, 3vw, 40px); white-space: nowrap; color: transparent; -webkit-text-stroke: 1px var(--ash); }
.band i { font-style: normal; display: inline-grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--gold); color: var(--gold); font-family: var(--display); font-weight: 900; font-stretch: 125%; font-size: 15px; }

/* ── Sections ──────────────────────────────────────────── */
section:not(.hero) { padding: clamp(96px, 14vw, 180px) var(--gutter); border-top: 1px solid var(--line); position: relative; }
.band + section { border-top: 0; }
.big { font-family: var(--display); font-weight: 800; font-stretch: 125%; text-transform: uppercase; line-height: 1.02; font-size: clamp(28px, 4.4vw, 64px); margin: 0; max-width: 18ch; }
.lede { color: var(--ash); max-width: 46ch; font-size: clamp(18px, 1.6vw, 21px); margin: 24px 0 0; }

/* Manifest: words rise in as each line reaches the middle of the screen. */
.manifest-lines { display: grid; gap: clamp(18px, 3vw, 34px); max-width: 1100px; }
.m-line { margin: 0; font-family: var(--display); font-weight: 800; font-stretch: 125%; text-transform: uppercase; line-height: 1.08; font-size: clamp(24px, 3.6vw, 52px); color: var(--bone); }
.m-line .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.06em; }
.m-line .w > span { display: inline-block; transform: translateY(105%); transition: transform 0.9s var(--ease); transition-delay: calc(var(--i) * 55ms); }
.m-line.is-lit .w > span { transform: none; }
.m-dim { color: var(--ash); }
.m-big { font-size: clamp(32px, 5.6vw, 84px); margin-top: 18px; }
.m-big em { font-style: normal; color: var(--gold); }

/* Triad: each cell has its own small moving picture. */
.triad-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.cell { position: relative; padding: clamp(28px, 3.5vw, 48px); min-height: 460px; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; overflow: hidden; transition: background 0.5s; }
.cell + .cell { border-left: 1px solid var(--line); }
.cell-n { position: absolute; top: clamp(28px, 3.5vw, 48px); left: clamp(28px, 3.5vw, 48px); color: var(--gold); }
.cell-t { margin: 0; font-family: var(--display); font-weight: 800; font-stretch: 125%; text-transform: uppercase; font-size: clamp(24px, 2.6vw, 38px); line-height: 1; }
.cell p { margin: 0; color: var(--ash); max-width: 30ch; }
.cell::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease); }
.triad-grid.is-in .cell::before { transform: scaleX(1); }
.triad-grid.is-in .cell:nth-child(2)::before { transition-delay: 0.2s; }
.triad-grid.is-in .cell:nth-child(3)::before { transition-delay: 0.4s; }
.cell:hover { background: var(--panel); }
.cell-vis { position: absolute; top: clamp(70px, 7vw, 96px); left: clamp(28px, 3.5vw, 48px); right: clamp(28px, 3.5vw, 48px); height: 130px; }
/* 01: five figures (the people), breathing one after another. */
.vis-human { display: flex; align-items: flex-end; gap: 14px; height: 100px; top: clamp(96px, 8vw, 118px); }
.vis-human span { width: 22px; height: 60%; border: 1px solid var(--ash); border-radius: 11px 11px 2px 2px; position: relative; animation: breathe 3s ease-in-out infinite; animation-delay: calc(var(--k, 0) * 0.25s); }
.vis-human span::before { content: ""; position: absolute; left: 50%; top: -26px; width: 18px; height: 18px; margin-left: -9px; border: 1px solid var(--ash); border-radius: 50%; }
.vis-human span:nth-child(2) { --k: 1; height: 72%; } .vis-human span:nth-child(3) { --k: 2; height: 54%; } .vis-human span:nth-child(4) { --k: 3; height: 66%; } .vis-human span:nth-child(5) { --k: 4; height: 58%; }
.cell:hover .vis-human span, .cell:hover .vis-human span::before { border-color: var(--bone); }
@keyframes breathe { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
/* 02: a grid of points; the one Formula H picks lights up. */
.vis-data { display: grid; grid-template-columns: repeat(12, 1fr); gap: 8px; align-content: start; }
.vis-data i { aspect-ratio: 1; border-radius: 50%; background: var(--line2); transition: background 0.3s, transform 0.3s; }
.vis-data i.on { background: var(--gold); transform: scale(1.6); box-shadow: 0 0 14px rgba(201, 162, 39, 0.7); }
.vis-data i.near { background: var(--ash); }
/* 03: the number. */
.vis-proven { display: flex; align-items: flex-start; }
.vis-proven b { font-family: var(--display); font-weight: 900; font-stretch: 125%; font-size: 130px; line-height: 0.8; color: transparent; -webkit-text-stroke: 1.5px var(--gold); transition: color 0.6s; }
.vis-proven b::before { content: "#"; font-size: 0.4em; vertical-align: top; margin-right: 6px; -webkit-text-stroke: 1px var(--ash); }
.cell:hover .vis-proven b, .triad-grid.is-in .vis-proven b { color: var(--gold); transition-delay: 0.6s; }

/* The seal: turns with the scroll and stamps down. */
.sealed { display: grid; place-items: center; min-height: 90svh; overflow: hidden; }
.seal-stage { display: grid; place-items: center; gap: 36px; }
.seal { position: relative; width: min(420px, 74vw); aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--gold); will-change: transform; }
.seal::before { content: ""; position: absolute; inset: 14%; border-radius: 50%; border: 1px solid rgba(201, 162, 39, 0.45); }
.seal::after { content: ""; position: absolute; inset: -14%; border-radius: 50%; border: 1px solid rgba(201, 162, 39, 0.4); opacity: 0; }
.seal.is-stamped::after { animation: ripple 1.2s var(--ease) 1; }
@keyframes ripple { 0% { opacity: 0.9; transform: scale(0.8); } 100% { opacity: 0; transform: scale(1.3); } }
.seal-ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.seal-ring text { fill: var(--gold); font-family: var(--mono); font-size: 13px; letter-spacing: 3.2px; }
.seal-h { font-family: var(--display); font-weight: 900; font-stretch: 125%; font-size: clamp(90px, 12vw, 150px); color: var(--gold); line-height: 1; }
.seal-cap { color: var(--ash); margin: 0; }

/* Formula H: the redacted file */
.formula { display: grid; grid-template-columns: 1fr minmax(320px, 520px); gap: clamp(40px, 6vw, 96px); align-items: center; }
.dossier { position: relative; border: 1px solid var(--line); background: var(--panel); padding: 28px 28px 22px; transform: rotate(-1.2deg); box-shadow: 0 40px 80px -40px #000; }
.dossier-top { display: flex; justify-content: space-between; color: var(--ash); border-bottom: 1px dashed var(--line); padding-bottom: 14px; margin-bottom: 22px; }
.stamp-txt { color: var(--gold); border: 1px solid var(--gold); padding: 3px 8px; transform: rotate(4deg); }
.dossier-q { color: var(--bone); margin: 0 0 18px; letter-spacing: 0.08em; text-transform: none; font-size: 15px; }
.redacted p { margin: 0 0 14px; height: 18px; }
.bar { display: block; height: 100%; width: var(--w); background: var(--bone); cursor: pointer; position: relative; transform-origin: left; transform: scaleX(0); transition: transform 0.8s var(--ease); }
.dossier.is-in .bar { transform: scaleX(1); }
.dossier.is-in .redacted p:nth-child(2) .bar { transition-delay: 0.1s; } .dossier.is-in .redacted p:nth-child(3) .bar { transition-delay: 0.2s; } .dossier.is-in .redacted p:nth-child(4) .bar { transition-delay: 0.3s; } .dossier.is-in .redacted p:nth-child(5) .bar { transition-delay: 0.4s; } .dossier.is-in .redacted p:nth-child(6) .bar { transition-delay: 0.5s; }
.bar.glitch { animation: glitch 0.45s steps(3) 1; }
@keyframes glitch { 0% { clip-path: inset(0 0 0 0); } 33% { clip-path: inset(0 30% 0 0); translate: -4px 0; } 66% { clip-path: inset(0 0 0 22%); translate: 3px 0; } 100% { clip-path: inset(0 0 0 0); } }
.dossier-a { margin: 22px 0 8px; min-height: 1.6em; }
.answer { font-family: var(--display); font-weight: 800; font-stretch: 125%; text-transform: uppercase; font-size: clamp(20px, 2vw, 26px); opacity: 0; transition: opacity 0.4s; }
.answer.is-on { opacity: 1; }
.answer.is-on::after { content: "▌"; color: var(--gold); margin-left: 6px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.dossier-hint { color: #5a554b; margin: 0; }

/* Designed, not found: nine tries fade, one becomes the number. */
.designed-t { margin: 0; font-family: var(--display); font-weight: 900; font-stretch: 125%; text-transform: uppercase; line-height: 0.98; font-size: clamp(34px, 6.6vw, 104px); }
.designed-2 { color: var(--bone); }
.designed-3 { color: transparent; -webkit-text-stroke: 1.5px var(--ash); }
.tries { margin-top: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: repeat(10, 1fr); gap: clamp(6px, 1vw, 14px); max-width: 1100px; }
.try { aspect-ratio: 1; border: 1px solid var(--line2); display: grid; place-items: center; font-family: var(--mono); color: var(--ash); font-size: clamp(10px, 1vw, 13px); transition: opacity 0.6s, transform 0.6s var(--ease), border-color 0.6s, background 0.6s; transition-delay: calc(var(--k) * 70ms); }
.try b { font-weight: 400; }
.tries.is-run .try:not(.try--one) { opacity: 0.18; transform: scale(0.86); }
.try--one { border-color: var(--line2); }
.try--one b { font-family: var(--display); font-weight: 900; font-stretch: 125%; font-size: clamp(18px, 2.4vw, 34px); color: var(--ash); transition: color 0.6s 0.9s; }
.tries.is-run .try--one { border-color: var(--gold); background: rgba(201, 162, 39, 0.08); transform: scale(1.12); transition-delay: 0.8s; box-shadow: 0 0 40px -10px rgba(201, 162, 39, 0.6); }
.tries.is-run .try--one b { color: var(--gold); }
.designed-row { margin-top: clamp(36px, 5vw, 56px); display: grid; grid-template-columns: repeat(2, minmax(0, 32ch)); gap: clamp(24px, 6vw, 96px); color: var(--ash); }
.designed-row p { margin: 0; }
.designed-strong { color: var(--bone); }

/* The Lab: contact */
.lab { display: grid; grid-template-columns: 1fr minmax(320px, 640px); gap: clamp(40px, 6vw, 96px); align-items: start; }
.lab-points { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 12px; color: var(--ash); }
.lab-points li::before { content: "—"; color: var(--gold); margin-right: 12px; }
.lab-form { position: relative; display: grid; gap: 34px; border: 1px solid var(--line); background: var(--panel); padding: clamp(24px, 3vw, 40px); }
.step { display: grid; gap: 16px; }
.step-h { margin: 0; display: flex; align-items: center; gap: 12px; font-size: 19px; font-weight: 600; }
.step-h i { font-style: normal; font-weight: 400; color: var(--ash); font-size: 15px; }
.step-n { display: inline-grid; place-items: center; width: 26px; height: 26px; border: 1px solid var(--gold); color: var(--gold); letter-spacing: 0; font-size: 12px; }
.roles { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.roles label { position: relative; cursor: pointer; }
.roles input { position: absolute; opacity: 0; pointer-events: none; }
.roles span { display: inline-block; padding: 11px 16px; border: 1px solid var(--line2); font-size: 16px; transition: border-color 0.25s, background 0.25s, color 0.25s; }
.roles label:hover span { border-color: var(--ash); }
.roles input:checked + span { border-color: var(--bone); background: var(--bone); color: var(--black); }
.roles input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field-l { font-size: 15px; color: var(--bone); }
.field-l b { color: var(--gold); font-weight: 400; }
.field-l i { font-style: normal; color: var(--ash); margin-left: 4px; }
.field input, .field textarea { width: 100%; background: var(--black); border: 1px solid var(--line2); padding: 14px 16px; font-size: 17px; outline: none; border-radius: 0; resize: vertical; transition: border-color 0.3s, box-shadow 0.3s; }
.field input::placeholder, .field textarea::placeholder { color: #5f5a50; }
.field input:focus, .field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15); }
.field.bad input { border-color: #c96a5d; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.send-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.send { display: inline-flex; align-items: center; gap: 18px; padding: 18px 26px; background: var(--bone); color: var(--black); border: 0; cursor: pointer; font-family: var(--display); font-weight: 800; font-stretch: 125%; text-transform: uppercase; letter-spacing: 0.06em; font-size: 15px; transition: background 0.3s, gap 0.3s var(--ease); }
.send:hover { background: var(--gold); gap: 28px; }
.send:disabled { opacity: 0.5; cursor: progress; }
.send-note { margin: 0; color: var(--ash); font-size: 14px; max-width: 30ch; }
.form-msg { margin: -10px 0 0; min-height: 1.5em; color: var(--ash); }
.form-msg.err { color: #e8a49b; }
.sent { display: none; }
.lab-form.is-sent { place-items: center; text-align: center; min-height: 460px; align-content: center; }
.lab-form.is-sent > :not(.form-msg):not(.sent) { display: none; }
.lab-form.is-sent .sent { display: grid; place-items: center; order: -1; }
.lab-form.is-sent .form-msg { margin: 0; color: var(--bone); font-family: var(--display); font-weight: 800; font-stretch: 125%; text-transform: uppercase; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.15; }
.seal--sm { width: 170px; animation: stamp 0.8s cubic-bezier(0.5, 0, 0.2, 1.4) both; }
.seal--sm .seal-h { font-size: 60px; }
.seal--sm .seal-ring { animation: turn 30s linear infinite; }
@keyframes stamp { from { opacity: 0; transform: scale(1.8) rotate(-30deg); } to { opacity: 1; transform: scale(1) rotate(-8deg); } }
@keyframes turn { to { transform: rotate(360deg); } }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 56px var(--gutter) max(env(safe-area-inset-bottom), 40px); display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.foot-brand { display: flex; align-items: center; gap: 22px; }
.foot-pill { color: var(--ash); margin: 8px 0 0; }
.foot-meta { color: var(--ash); }

/* Scroll reveal for blocks */
.in { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.in.is-in { opacity: 1; transform: none; }
.dossier.in { transform: translateY(26px) rotate(-1.2deg); }
.dossier.in.is-in { transform: rotate(-1.2deg); }

/* ── Small screens ─────────────────────────────────────── */
@media (max-width: 860px) {
  body { font-size: 17px; }
  .triad-grid { grid-template-columns: 1fr; }
  .cell { min-height: 340px; }
  .cell + .cell { border-left: 0; border-top: 1px solid var(--line); }
  .formula, .lab { grid-template-columns: 1fr; }
  .dossier, .dossier.in.is-in { transform: none; }
  .designed-row { grid-template-columns: 1fr; }
  .tries { grid-template-columns: repeat(5, 1fr); }
  .row { grid-template-columns: 1fr; }
  .nav-cta { padding: 8px 12px; }
  .nav-links { gap: 8px; }
  .claim { font-size: clamp(30px, 9.4vw, 52px); line-height: 1.04; }
  .claim-line + .claim-line { margin-top: 0.12em; }
  .pillars { letter-spacing: 0.12em; line-height: 2; }
  .pillars i { margin: 0 6px; }
  .tile--hero { width: 132px; font-size: 132px; }
  .hero::after { background: linear-gradient(0deg, var(--black) 0%, rgba(11, 10, 8, 0.55) 30%, rgba(11, 10, 8, 0.55) 100%); }
}
@media (max-width: 480px) {
  .wordmark:not(.wordmark--lg) { display: none; }
  .lang button { padding: 6px 5px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .in { opacity: 1; transform: none; }
  .m-line .w > span { transform: none; }
  .bar { transform: none; }
}
