/* concept.studiors.be · laboratoire de conception
   DA studiors (tokens de @studiors/design-system et du thème presenta) :
   encre #0e0e0d, papier #ece9e2, gris #8d8a83 ; Cabinet Grotesk, Zodiak italique, General Sans. */

@font-face { font-family: "Cabinet Grotesk"; src: url("fonts/cabinet-grotesk-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Cabinet Grotesk"; src: url("fonts/cabinet-grotesk-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Zodiak"; src: url("fonts/zodiak-400i.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Zodiak"; src: url("fonts/zodiak-700i.woff2") format("woff2"); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("fonts/general-sans-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("fonts/general-sans-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --bg: #0e0e0d;
  --bg-deep: #090908;
  --bg-raise: #131311;
  --ink: #ece9e2;
  --ink-dim: #8d8a83;
  --paper: #ece9e2;
  --paper-ink: #0e0e0d;
  --paper-dim: rgba(14, 14, 13, 0.72);
  --paper-step: rgba(14, 14, 13, 0.07);
  --font-grotesk: "Cabinet Grotesk", system-ui, sans-serif;
  --font-serif: "Zodiak", Georgia, serif;
  --font-body: "General Sans", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);
  --pad: clamp(1.25rem, 4vw, 4rem);
  --gutter: max(var(--pad), calc((100vw - 128rem) / 2));
  --section: clamp(6rem, 13vw, 11rem);
  --t-small: 0.9375rem;
  --t-body: clamp(1rem, 0.35vw + 0.92rem, 1.125rem);
  --t-statement: clamp(1.375rem, 1.6vw + 0.6rem, 2rem);
  --t-h2: clamp(2.6rem, 4.6vw, 4.5rem);
  /* étalons pris sur le hero et le contact */
  --t-label: 1.5rem;                       /* libellé de section : Cabinet 800 */
  --t-voice: 1.375rem;                     /* seconde voix : Zodiak italique */
  --plate-y: clamp(1.5rem, 4vh, 2.5rem);   /* marge haute et basse d'une planche */
  --plate-gap: clamp(1.5rem, 4vh, 3rem);   /* respiration entre rangées */
  --t-in: 1s;                              /* une entrée */
  --t-hover: 0.4s;                         /* un survol */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--t-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
::selection { background: var(--ink); color: var(--bg); }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, ol, ul, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
main { flex: 1; display: block; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip {
  position: absolute; left: var(--gutter); top: -4rem; z-index: 200;
  background: var(--ink); color: var(--bg); padding: 0.75rem 1.25rem; border-radius: 99px;
}
.skip:focus { top: 1rem; }

.grain {
  position: fixed; inset: -100%;
  z-index: 90;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@media (prefers-reduced-motion: no-preference) {
  .grain { animation: grainShift 0.9s steps(4) infinite; }
}
@keyframes grainShift {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 3%); }
  50% { transform: translate(3%, -2%); }
  75% { transform: translate(-3%, -3%); }
  100% { transform: translate(2%, 2%); }
}

/* ── Boutons et liens ── */
.pill, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: 99px;
  min-height: 2.875rem;
  padding: 0.7rem 1.4rem;
  cursor: pointer;
  transition: background-color 0.4s var(--ease-out), color 0.4s var(--ease-out), transform 0.25s var(--ease-out);
}
.pill { border: 1px solid rgba(236, 233, 226, 0.4); color: var(--ink); background: transparent; }
.pill:hover, .pill:focus-visible { background: var(--ink); color: var(--bg); }
.pill__dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.btn { border: 0; }
.btn--solid { background: var(--ink); color: var(--bg); }
.btn--solid:hover, .btn--solid:focus-visible { background: var(--ink-dim); color: var(--bg); }
.btn--ink { background: var(--paper-ink); color: var(--paper); }
.btn--ink:hover, .btn--ink:focus-visible { background: #2a2926; }
.btn:active, .pill:active { transform: scale(0.96); }

.link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 2.875rem;
  font-weight: 500;
  color: var(--ink);
}
.link::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0.55rem;
  height: 2px;
  background: currentColor;
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}
.link:hover::after, .link:focus-visible::after { transform: scaleX(1); }
.link--ink { color: var(--paper-ink); }

/* ── Nav ── */
.nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 42fr 34fr 24fr;
  align-items: center;
  padding: 1.25rem var(--gutter);
}
.nav > .pill { grid-column: -2; justify-self: end; }
.nav__brand { display: inline-flex; align-items: center; gap: 0.65rem; justify-self: start; min-height: 2.75rem; }
.nav__mark { width: 1.5rem; height: auto; fill: var(--ink); transition: transform 0.5s var(--ease-out); }
.nav__brand:hover .nav__mark { transform: rotate(-8deg) scale(1.08); }
.nav__name { font-family: var(--font-grotesk); font-weight: 800; font-size: 1.1rem; letter-spacing: 0.01em; }
.nav__name span, .footer__giant em { font-family: var(--font-serif); font-style: italic; font-weight: 700; }
.nav__links { display: flex; gap: 1.75rem; }
.nav__links a { position: relative; font-size: 0.9375rem; font-weight: 500; padding: 0.6rem 0; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.35rem; height: 2px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform 0.45s var(--ease-out);
}
.nav__links a:hover::after, .nav__links a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav .pill { justify-self: end; }

/* ══════════ HERO : la loupe ══════════ */
.hero {
  position: relative;
  min-height: max(100svh, 40rem);
  background: var(--bg);
  overflow: hidden;
}
.hero__stage { position: absolute; inset: 0; }
.hero__plate {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 6.5rem var(--gutter) var(--foot-h, 10.5rem);
}
.hero__releve {
  font-size: var(--t-small);
  color: var(--ink-dim);
  font-variant-numeric: tabular-nums;
  max-width: 60ch;
}
.hero__title {
  container-type: inline-size;
  font-weight: 800;
  line-height: 1;
  margin-top: auto;
}
.hero__mask { display: block; overflow: hidden; padding-bottom: 0.02em; }
.hero__mask--axis { padding-left: 42cqw; margin-top: 0.1em; }
.hero__line { display: block; white-space: nowrap; }
.hero__line--grotesk {
  font-family: var(--font-grotesk);
  font-weight: 800;
  font-size: calc(100cqw / 6.2);
  line-height: 0.8;
  padding-top: 0.08em;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}
.hero__line--serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: calc(58cqw / 6.9);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
/* sous la loupe : mêmes mots, faces échangées */
.hero__line--lens1 {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: calc(100cqw / 7.43);
  line-height: 0.96;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.hero__line--lens2 {
  font-family: var(--font-grotesk);
  font-weight: 800;
  font-size: calc(58cqw / 7.15);
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.hero__foot {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  mix-blend-mode: difference;
  display: grid;
  grid-template-columns: 42fr 58fr;
  align-items: end;
  gap: 2rem;
  padding: clamp(1.75rem, 4vh, 3rem) var(--gutter) clamp(1.75rem, 5vh, 3.5rem);
  z-index: 3;
}
.hero__lead { font-size: clamp(1.0625rem, 0.6vw + 0.8rem, 1.375rem); line-height: 1.45; max-width: 31ch; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 0.75rem 1.75rem; }

/* la loupe : un disque qui se déplace en transform, contenu contre-translaté (aucun repeint) */
.lens {
  position: absolute;
  left: 0; top: 0;
  width: calc(var(--r, 150px) * 2);
  height: calc(var(--r, 150px) * 2);
  border-radius: 50%;
  overflow: hidden;
  background: var(--paper);
  color: var(--paper-ink);
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.6s var(--ease-out);
  will-change: transform;
}
.lens.is-on { opacity: 1; }
.lens__shader { position: absolute; inset: 0; opacity: 0.55; }
.lens__shader canvas { display: block; width: 100%; height: 100%; }
.lens__zoom { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.hero__plate--lens .hero__releve { color: var(--paper-dim); }
.lens__note {
  position: absolute;
  left: var(--nx); top: var(--ny);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.375rem;
  white-space: nowrap;
}
.lens__readout {
  position: absolute; left: 0; top: 0;
  z-index: 3;
  font-size: var(--t-small);
  color: var(--ink-dim);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s var(--ease-out);
}
.lens__readout.is-on { opacity: 1; }

/* révélation masquée du titre */
@media (prefers-reduced-motion: no-preference) {
  .hero__plate:not(.hero__plate--lens) .hero__line { animation: lineUp var(--t-in) var(--ease-out) both; }
  .hero__plate:not(.hero__plate--lens) .hero__mask--axis .hero__line { animation-delay: 0.11s; }
  .hero__foot, .hero__releve { animation: fadeUp var(--t-in) var(--ease-out) 0.35s both; }
}
@keyframes lineUp { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ══════════ Titres partagés ══════════ */
.h2 {
  font-family: var(--font-grotesk);
  font-weight: 800;
  font-size: var(--t-h2);
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.h3 {
  font-family: var(--font-grotesk);
  font-weight: 800;
  font-size: clamp(1.75rem, 2.4vw, 2.25rem);
  line-height: 1;
  letter-spacing: -0.02em;
}
.slabel, .contact__title { font-family: var(--font-grotesk); font-weight: 800; font-size: var(--t-label); line-height: 1.1; letter-spacing: -0.02em; }
.svoice { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: var(--t-voice); line-height: 1.2; }
.shead { display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem 2rem; flex-wrap: wrap; position: relative; z-index: 2; }
.statement { font-size: var(--t-statement); line-height: 1.25; max-width: 34ch; text-wrap: pretty; }

/* ══════════ Protocole : trois mots au défilement (d'après « Kinetic Typography on Scroll ») ══════════ */
.proto { position: relative; background: var(--bg); --kfs: calc((100vw - 2 * var(--gutter)) / 5.05); }
.proto__stage { padding: var(--section) var(--gutter); }
.proto__rail { display: flex; gap: 1.25rem; font-size: 0.9375rem; font-weight: 500; }
.proto__rail li { color: var(--ink-dim); transition: color var(--t-hover) var(--ease-out); }
.proto__rail li.is-on { color: var(--ink); }
.kstep { margin-top: clamp(2.5rem, 6vw, 5rem); }
.kstep__word {
  font-family: var(--font-grotesk);
  font-weight: 800;
  font-size: var(--kfs);
  line-height: 0.84;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  white-space: nowrap;
}
.kstep__note { margin-top: 1rem; font-family: var(--font-serif); font-style: italic; font-size: var(--t-voice); color: var(--ink-dim); }

/* les lettres : un glyphe transparent garde la place, des calques le dessinent */
.kchar { position: relative; display: inline-block; color: transparent; }
.kbr { display: none; }
.kchar__g {
  position: absolute; left: 50%; top: 0;
  width: 0; height: 100%;
  display: flex; justify-content: center;
  transform-origin: var(--ox, 0px) var(--oy, 50%);
  pointer-events: none;
}
.kchar__g::before { content: attr(data-c); color: var(--ink); white-space: pre; }
.kchar__g--front { z-index: 6; }
.kchar__g--front::before { content: none; }
.kf { position: absolute; top: 0; left: 0; transform: translateX(-50%); font-style: normal; color: var(--ink); white-space: pre; }
.kf--b {
  font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: 0; text-transform: none;
  transform: translateX(-50%) translateY(-0.061em) scale(1.28); transform-origin: 50% 0.774em;
  clip-path: inset(100% 0 0 0);
}
.kchar__g:nth-child(2)::before { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.kchar__g:nth-child(3)::before { content: attr(data-l); font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink-dim); }
.kchar__g:nth-child(4)::before { color: transparent; -webkit-text-stroke: 1.5px var(--ink-dim); }
.kchar__g:nth-child(5)::before { content: attr(data-l); font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: 0; text-transform: none; color: #3a3935; }
.proto:not(.is-kinetic) .kchar__g:not(.kchar__g--front), .proto:not(.is-kinetic) .kf--b { display: none; }

/* mode cinétique : une seule scène épinglée, les mots se croisent */
.proto.is-kinetic { height: 460svh; }
.proto.is-kinetic .proto__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; padding: 0; }
.proto.is-kinetic .proto__head { position: absolute; left: var(--gutter); right: var(--gutter); top: var(--plate-y); z-index: 8; }
.proto.is-kinetic .kstep {
  position: absolute; inset: 0; margin: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; visibility: hidden;
}
.proto.is-kinetic .kstep.is-live { visibility: visible; }
.proto.is-kinetic .kstep__word { will-change: transform; }
.proto.is-kinetic .kchar__g { will-change: transform; }
.proto.is-kinetic .kstep__note {
  position: absolute; left: 0; right: 0; bottom: calc(var(--plate-y) + 2.875rem); margin: 0; padding: 0 var(--gutter);
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.proto.is-kinetic .kstep.is-mid .kstep__note { opacity: 1; transform: none; }

/* titres découpés en lettres masquées */
.sw { display: inline-block; white-space: nowrap; }
.sc { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.06em 0.02em 0.12em; margin: -0.06em -0.02em -0.12em; }
.sc__i { display: inline-block; will-change: transform; }

/* ══════════ Essai à blanc : la planche ══════════ */
.essai { padding: var(--plate-y) var(--gutter); background: var(--paper); color: var(--paper-ink); overflow: hidden; }
.sheet {
  margin-top: var(--plate-gap);
  color: var(--paper-ink);
}
.sheet__meta { font-size: 0.9375rem; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--paper-dim); }
.sheet__meta sup { font-size: 0.7em; }
.sheet__form { margin-top: 0; }
.sheet__label { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.9375rem; font-weight: 500; color: var(--paper-dim); }
.sheet__input {
  display: block;
  width: 100%;
  margin-top: 0.25rem;
  font-family: var(--font-grotesk);
  font-weight: 800;
  font-size: clamp(2.75rem, 7.4vw, 7.5rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  color: var(--paper-ink);
  caret-color: var(--paper-ink);
  background: transparent;
  border: 0;
  border-bottom: 4px solid var(--paper-ink);
  border-radius: 0;
  padding: 0 0 0.08em;
}
.sheet__input::placeholder { color: rgba(14, 14, 13, 0.28); }
.sheet__input:focus { outline: none; border-bottom-color: var(--ink-dim); }
.bench {
  --row: clamp(4.25rem, 6.4vw, 6.5rem);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(5, var(--row));
  gap: 6px;
  margin-top: clamp(1rem, 2vw, 1.5rem);
}
.fig {
  position: relative;
  margin: 0;
  container-type: size;
  overflow: hidden;
  background: var(--paper-step);
  cursor: pointer;
  transition: background-color var(--t-hover) var(--ease-out);
}
.fig:focus-visible { outline: 3px solid var(--paper-ink); outline-offset: 2px; }
.fig canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.fig figcaption {
  position: absolute; left: 0.55rem; bottom: 0.55rem; z-index: 2;
  max-width: calc(100% - 1.1rem);
  font-size: 0.8125rem;
  line-height: 1.3;
  background: var(--paper);
  color: var(--paper-ink);
  padding: 0.2rem 0.6rem;
  border-radius: 99px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fig figcaption i { font-family: var(--font-serif); font-style: italic; margin-right: 0.15em; }
.fig--dots, .fig--glyph { background: var(--paper-ink); }
.fig.is-gl { cursor: crosshair; }
.fig:hover { background-color: rgba(14, 14, 13, 0.11); }
.fig--dots:hover, .fig--glyph:hover { background-color: #1d1d1b; }
.mesures { position: absolute; inset: 0.8rem 0.9rem; display: grid; align-content: space-between; }
.mesures div { display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem; }
.mesures dt { font-size: 0.875rem; color: var(--paper-dim); }
.mesures dd { font-family: var(--font-grotesk); font-weight: 800; font-size: min(22cqh, 26cqw); line-height: 0.9; font-variant-numeric: tabular-nums; }
.glyphs { position: absolute; inset: 0 0 1.6rem; display: flex; align-items: center; justify-content: center; gap: 0.12em; color: var(--paper); line-height: 1; white-space: nowrap; }
.glyphs__g { font-family: var(--font-grotesk); font-weight: 800; letter-spacing: -0.04em; font-size: min(58cqh, 34cqw); }
.glyphs__s { font-family: var(--font-serif); font-style: italic; font-weight: 700; font-size: min(58cqh, 34cqw); }
.fig__gl { position: absolute; inset: 0; background: var(--paper); }
.fig__gl canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.fig--dots .fig__gl { background: var(--paper-ink); }
.fig { touch-action: pan-y; }
.sheet__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem; margin-top: var(--plate-gap); }
.sheet__foot p { font-family: var(--font-serif); font-style: italic; font-size: 1.25rem; color: var(--paper-ink); }
.sheet__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.btn--line { background: rgba(14, 14, 13, 0.08); color: var(--paper-ink); }
.btn--line:hover, .btn--line:focus-visible { background: rgba(14, 14, 13, 0.16); }

/* ══════════ Sur invitation : les scellés ══════════ */
.invitation {
  display: flex; flex-direction: column; justify-content: space-between; gap: var(--plate-gap);
  min-height: 100svh;
  padding: var(--plate-y) var(--gutter);
  background: var(--bg);
  overflow: hidden;
}
.invitation__lede { max-width: 30ch; text-align: right; color: var(--ink-dim); font-size: 1rem; }
.invitation__count { display: flex; align-items: flex-end; gap: 1.5rem; }
.invitation__num {
  font-family: var(--font-grotesk);
  font-weight: 800;
  font-size: clamp(8rem, 18vw, 17rem);
  line-height: 0.78;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}
.invitation__num number-flow { margin-block: -0.15em; }
.invitation__unit { font-family: var(--font-serif); font-style: italic; font-size: var(--t-statement); max-width: 8ch; line-height: 1.1; padding-bottom: 0.3em; }
.seals { position: relative; }
.seals__gl { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.seals__gl canvas { display: block; width: 100%; height: 100%; }
.seals__list { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(0.75rem, 1.5vw, 1.5rem); }
.seal__face { position: relative; aspect-ratio: 3 / 4; }
.seal__face svg { display: block; width: 100%; height: 100%; background: var(--bg-raise); color: var(--ink); }
.seals.is-gl .seal__face svg { visibility: hidden; }
.seal span { display: block; margin-top: 0.75rem; font-size: var(--t-small); font-weight: 500; color: var(--ink-dim); }

/* ══════════ Contact : l'adresse sous la loupe ══════════ */
.contact {
  position: relative;
  display: flex; flex-direction: column; justify-content: space-between; gap: var(--plate-gap);
  min-height: 100svh;
  padding: var(--plate-y) var(--gutter);
  background: var(--paper);
  color: var(--paper-ink);
  overflow: hidden;
}
.contact__top, .contact__foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; position: relative; z-index: 2; }
.contact__site { font-weight: 500; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; min-height: 2.75rem; display: inline-flex; align-items: center; }
.contact__status { font-family: var(--font-serif); font-style: italic; font-size: 1.25rem; }
.cmail { container-type: inline-size; }
.cmail__gl { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.cmail__gl canvas { display: block; width: 100%; height: 100%; }
.cmail__link {
  position: relative; z-index: 1;
  display: block;
  font-family: var(--font-grotesk); font-weight: 800;
  font-size: calc(100cqw / 5.15);
  line-height: 0.88;
  letter-spacing: -0.045em;
  white-space: nowrap;
  color: var(--paper-ink);
}
.cmail__l { display: block; }
.cmail__l:nth-child(2) { padding-left: 0.12em; }
.cmail__l:nth-child(3) { text-align: right; }
.cmail__at { font-family: var(--font-serif); font-style: italic; font-weight: 700; letter-spacing: 0; }
.cmail__link:focus-visible { outline: 3px solid var(--paper-ink); outline-offset: 8px; }
.cmail.is-gl .cmail__link { color: transparent; }
.cmail.is-gl .cmail__link::selection, .cmail.is-gl .cmail__link *::selection { color: var(--paper); background: var(--paper-ink); }

/* ══════════ Footer ══════════ */
.footer {
  padding: calc(var(--plate-y) + 1rem) var(--gutter) var(--plate-y);
  background: var(--bg);
  overflow: hidden;
}
.footer__cols {
  display: grid;
  grid-template-columns: 3fr 2fr 6fr;
  gap: 2rem;
  font-size: 1rem;
  color: var(--ink-dim);
}
.footer__cols p + p { margin-top: 0.2rem; }
.footer__first { color: var(--ink); font-weight: 500; }
.footer__cols a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.footer__cols a:hover { color: var(--ink); }
.footer__credits p:not(.footer__first) { font-size: var(--t-small); line-height: 1.5; max-width: 60ch; }
.footer__wordmark {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 0.1em;
  margin-top: clamp(4rem, 10vw, 9rem);
  font-size: calc((100vw - 2 * var(--gutter)) / 4.45);
  line-height: 0.78;
  user-select: none;
}
.footer__logo { width: 0.62em; height: auto; fill: var(--ink); margin-bottom: 0.06em; }
.footer__giant { font-family: var(--font-grotesk); font-weight: 800; letter-spacing: -0.04em; }
.footer__wordmark .fl { display: inline-block; }
.footer__wordmark.is-physics { position: relative; z-index: 2; }
.footer__wordmark.is-physics [data-body] { will-change: transform; touch-action: none; cursor: grab; }
.footer__wordmark.is-physics [data-body].is-held { cursor: grabbing; }
.footer__wordmark.is-waiting [data-body] { opacity: 0; }
.footer__legal { margin-top: 1.25rem; font-size: var(--t-small); font-weight: 500; color: var(--ink-dim); }

/* ══════════ Entrées ══════════ */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity var(--t-in) var(--ease-out), transform var(--t-in) var(--ease-out); transition-delay: calc(var(--off, 0) * 80ms); }
.js .reveal.is-in, .reveal-all .reveal { opacity: 1; transform: none; }
.js .reveal > * { transition: inherit; }

/* ══════════ 404 ══════════ */
.perdu {
  position: relative;
  min-height: max(100svh, 36rem);
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 6.5rem var(--gutter) clamp(2rem, 5vh, 3.5rem);
  overflow: hidden;
}
.perdu__title { container-type: inline-size; align-self: end; font-weight: 800; }
.perdu__title .hero__line--grotesk { font-size: calc(100cqw / 6.2); }
.perdu__title .hero__mask--axis { padding-left: 42cqw; }
.perdu__foot { display: grid; grid-template-columns: 42fr 58fr; gap: 2rem; align-items: end; margin-top: clamp(1.75rem, 4vh, 3rem); }
.perdu__foot p { max-width: 34ch; }
.perdu__foot p a { text-decoration: underline; text-underline-offset: 3px; }
.perdu__foot div { display: flex; justify-content: flex-end; }
.perdu .lens { opacity: 1; }


/* ══════════ Tablette ══════════ */
@media (max-width: 1023px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav__links { display: none; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
}

/* ══════════ Téléphone ══════════ */
@media (max-width: 640px) {
  :root { --pad: 1.25rem; --section: 5.5rem; }
  .nav { padding-top: 1rem; }
  .nav .pill { padding: 0.5rem 0.95rem; min-height: 2.75rem; }
  .hero { min-height: max(100svh, 36rem); }
  .hero__plate { padding-top: 5.5rem; padding-bottom: var(--foot-h, 13rem); }
  .hero__mask--axis { padding-left: 0; }
  .hero__line--serif { font-size: calc(100cqw / 6.9); }
  .hero__line--lens2 { font-size: calc(100cqw / 7.15); }
  .hero__foot { grid-template-columns: 1fr; gap: 1.25rem; }
  .hero__actions { justify-content: flex-start; }
  .lens__note { font-size: 1.125rem; }
  .proto.is-split { --kfs: calc((100vw - 2 * var(--gutter)) / 3.15); }
  .proto.is-split .kbr { display: block; }
  .kstep__word { line-height: 0.86; }
  .proto__rail { font-size: 0.875rem; }
  .proto.is-kinetic .kstep__note { bottom: 11svh; }
  .sheet__label { flex-direction: column; gap: 0.1rem; }
  .sheet__input { font-size: 11vw; }
  .bench {
    --row: 4.5rem;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-rows: repeat(9, var(--row));
  }
  .sheet__actions { width: 100%; }
  .sheet__actions .btn { flex: 1 1 auto; }
  .invitation__count { gap: 1rem; }
  .invitation__lede { text-align: left; }
  .invitation { min-height: 0; }
  .seals__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .seal:nth-child(n+4) { display: none; }
  .contact { min-height: 72svh; }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 2rem 1.25rem; }
  .footer__credits { grid-column: 1 / -1; }
  .perdu__foot { grid-template-columns: 1fr; }
  .perdu__foot div { justify-content: flex-start; }
  .perdu__title .hero__mask--axis { padding-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .js .reveal { transform: none; }
}
