/* Président ! : le bureau du président, la nuit. Mêmes couleurs et polices que le jeu
   (src/theme/tokens.ts) : feutre vert, laiton, papier épais, tampon rouge. */

@font-face { font-family: "Big Shoulders"; src: url(/fonts/bigshoulders-900.woff2) format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Big Shoulders"; src: url(/fonts/bigshoulders-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Literata"; src: url(/fonts/literata-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Literata"; src: url(/fonts/literata-400i.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Literata"; src: url(/fonts/literata-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Special Elite"; src: url(/fonts/specialelite-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }

:root {
  color-scheme: dark;
  --night: #04070a;
  --felt: #0e3b2a;
  --felt-deep: #082418;
  --felt-hi: #17543c;
  --leather: #2b1a11;
  --leather-hi: #4a2e1d;
  --brass: #c9a04a;
  --brass-hi: #f2d891;
  --brass-dk: #7a5b20;
  --paper: #e9e3d3;
  --paper-dk: #cfc5ab;
  --ink: #1c1915;
  --ink-soft: #544c40;
  --ink-blue: #2c4a9a;
  --stamp: #c42a2a;
  --up: #4fd17c;
  --down: #ff5b4a;
  --panel: rgba(18, 13, 9, 0.82);
  --line: rgba(201, 160, 74, 0.45);

  --display: "Big Shoulders", "Arial Narrow", Impact, sans-serif;
  --body: "Literata", Georgia, "Times New Roman", serif;
  --type: "Special Elite", "Courier New", monospace;

  --gutter: 16px;
  --wrap: 1080px;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --ink-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='m'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 -4 2.9'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23m)'/%3E%3C/svg%3E");
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--felt-deep);
  color: var(--paper);
  font: 400 17px/1.6 var(--body);
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--brass-hi); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: #fff3cf; }

:focus-visible { outline: 3px solid var(--brass-hi); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 50; padding: 10px 14px; background: var(--brass-hi); color: var(--ink); font-family: var(--display); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; border-radius: 8px; }
.skip:focus { left: 8px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* Une seule langue visible à la fois. Le français s'affiche sans JavaScript. */
html:not([data-lang="fr"]) .l-fr,
html:not([data-lang="en"]) .l-en,
html:not([data-lang="es"]) .l-es,
html:not([data-lang="pt"]) .l-pt { display: none !important; }

/* ---------- Feutre (fond des pages) ---------- */

.felt {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(110% 70% at 50% 0%, rgba(23, 84, 60, .9), rgba(14, 59, 42, 0) 62%),
    radial-gradient(120% 80% at 50% 110%, rgba(3, 14, 9, .9), rgba(3, 14, 9, 0) 60%),
    var(--felt);
}
.felt::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: var(--grain);
  opacity: .5;
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* ---------- Barre du haut ---------- */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 14px;
}
.brandmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brass-hi);
  text-decoration: none;
  font: 900 22px/1 var(--display);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.brandmark img { width: 38px; height: 38px; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .5)); }
.brandmark:hover { color: #fff3cf; }
.brandmark__name { white-space: nowrap; }
@media (max-width: 419px) { .brandmark__name { display: none; } }

.langs { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.langs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 40px;
  padding: 0 10px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: rgba(4, 7, 10, .45);
  color: var(--paper-dk);
  font: 700 15px/1 var(--display);
  letter-spacing: .14em;
  text-decoration: none;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.langs a:hover { border-color: var(--brass-hi); color: var(--brass-hi); }
html[data-lang="fr"] .langs a[data-set-lang="fr"],
html[data-lang="en"] .langs a[data-set-lang="en"],
html[data-lang="es"] .langs a[data-set-lang="es"],
html[data-lang="pt"] .langs a[data-set-lang="pt"] {
  background: linear-gradient(180deg, #f6e3ad, var(--brass));
  border-color: #f6e3ad;
  color: var(--ink);
}

/* ---------- Boutons et plaques ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  min-height: 54px;
  padding: 0 28px;
  border: 2px solid #f6e3ad;
  border-radius: 14px;
  background: url(/img/givre.webp) center / 100% 100%, linear-gradient(180deg, #f6e3ad 0%, #e2bd68 48%, var(--brass) 100%);
  box-shadow: inset 0 -3px 0 rgba(122, 91, 32, .45), 0 12px 26px -10px rgba(0, 0, 0, .7);
  color: var(--ink);
  font: 900 21px/1 var(--display);
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
}
.btn:hover { color: var(--ink); filter: brightness(1.05); }

.plaque {
  display: inline-grid;
  gap: 2px;
  justify-items: center;
  padding: 12px 22px 11px;
  border: 1.5px solid rgba(201, 160, 74, .7);
  border-radius: 14px;
  background:
    url(/img/givre.webp) center / 100% 100%,
    linear-gradient(180deg, rgba(60, 92, 82, .94), rgba(24, 52, 44, .96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 12px 26px -12px rgba(0, 0, 0, .8);
  text-align: center;
}
.plaque > strong { font: 900 20px/1.05 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--paper); }
.plaque > span { font: italic 400 14px/1.35 var(--body); color: var(--paper-dk); }

.kicker {
  margin: 0 0 10px;
  color: var(--brass);
  font: 700 15px/1.2 var(--display);
  letter-spacing: .22em;
  text-transform: uppercase;
}

h1, h2, h3 { font-family: var(--display); font-weight: 900; line-height: 1; text-transform: uppercase; letter-spacing: .01em; }
h2 { margin: 0 0 18px; font-size: clamp(38px, 9vw, 64px); color: var(--brass-hi); text-wrap: balance; }
.lead { margin: 0 0 14px; font-size: clamp(17px, 2.4vw, 19px); color: var(--paper); max-width: 36em; text-wrap: pretty; }
.lead + .lead { color: var(--paper-dk); }

/* ---------- Papier (lettres du Conseil) ---------- */

.paper {
  position: relative;
  isolation: isolate;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 41.6%, rgba(0, 0, 0, .05) 42%, rgba(255, 255, 255, .45) 42.3%, rgba(255, 255, 255, 0) 43%),
    radial-gradient(130% 90% at 25% 15%, #f3eee2 0%, var(--paper) 55%, #dcd2bb 100%);
  border-radius: 6px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 28px 50px -20px rgba(0, 0, 0, .85), 0 4px 10px rgba(0, 0, 0, .35);
}
.paper::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background-image: var(--grain);
  opacity: .18;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.paper a { color: var(--ink); text-decoration-color: var(--stamp); text-decoration-thickness: 2px; }
.paper a:hover { color: var(--stamp); }

.typed { font-family: var(--type); color: var(--ink-soft); letter-spacing: .01em; }

.rule { height: 0; margin: 14px 0 18px; border: 0; border-top: 3px double rgba(28, 25, 21, .7); }

.signature { display: block; width: 150px; height: 46px; color: var(--ink-blue); }

/* Tampon « Viré », dessiné comme dans le jeu */
.vire {
  display: inline-grid;
  justify-items: center;
  gap: 4px;
  padding: 12px 22px 10px;
  border: 5px solid var(--stamp);
  border-radius: 14px;
  outline: 2px solid var(--stamp);
  outline-offset: 4px;
  color: var(--stamp);
  transform: rotate(-8deg);
  mix-blend-mode: multiply;
  -webkit-mask-image: var(--ink-mask);
  mask-image: var(--ink-mask);
}
.vire small { font: 700 13px/1 var(--display); letter-spacing: .24em; text-transform: uppercase; }
.vire b { font: 900 clamp(54px, 15vw, 76px)/.86 var(--display); letter-spacing: .02em; text-transform: uppercase; }

/* ---------- Accueil : le bureau ---------- */

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: var(--night);
}
.hero__bg { position: absolute; inset: 0; z-index: -2; margin: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; animation: lights 1.6s ease-out both; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(4, 7, 10, .7) 0%, rgba(4, 7, 10, .2) 22%, rgba(4, 7, 10, .1) 48%, rgba(4, 7, 10, .55) 72%, rgba(8, 36, 24, .96) 94%, var(--felt-deep) 100%);
}

.hero__stage {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 18px;
  padding-top: clamp(12px, 5vh, 56px);
  text-align: center;
}
.hero h1 { margin: 0; }

.appointment {
  width: min(100%, 540px, 82vh);
  width: min(100%, 540px, 82svh);
  padding: 18px 20px 16px;
  transform: rotate(-2deg);
  animation: letter-in .9s cubic-bezier(.2, .8, .2, 1) .2s both;
}
.appointment__head { display: flex; align-items: center; gap: 10px; text-align: left; }
.appointment__seal {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1.5px solid var(--brass);
  border-radius: 50%;
  color: var(--brass-dk);
  font-size: 15px;
  line-height: 1;
}
.appointment__head .typed { flex: 1; font-size: 13px; line-height: 1.3; }
.appointment__num { font: 900 18px/1 var(--display); letter-spacing: .04em; color: var(--ink); }
.appointment .rule { margin: 10px 0 6px; border-top-width: 3px; }
.appointment__stamp { position: relative; width: 92%; margin: 0 auto; animation: slam .55s cubic-bezier(.3, 1.6, .5, 1) 1s both; }
.appointment__stamp img { width: 100%; transform: rotate(-3deg); mix-blend-mode: multiply; }
.appointment__foot { display: flex; justify-content: flex-end; align-items: end; gap: 10px; margin-top: -6px; }
.appointment__foot .typed { font-size: 12px; text-align: right; line-height: 1.25; }
.appointment .signature { width: 110px; height: 34px; }

.hook {
  margin: 4px 0 0;
  max-width: 24em;
  font: italic 400 clamp(19px, 4.8vw, 25px)/1.35 var(--body);
  color: var(--paper);
  text-shadow: 0 2px 14px rgba(0, 0, 0, .9), 0 0 2px rgba(0, 0, 0, .6);
  text-wrap: balance;
  animation: rise .8s ease-out 1.3s both;
}

.hero__bottom {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding-block: 22px 30px;
  text-align: center;
  animation: rise .8s ease-out 1.5s both;
}
.hero__perks { margin: 0; color: var(--paper-dk); font: 700 15px/1.2 var(--display); letter-spacing: .2em; text-transform: uppercase; }
.scroll-cue { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-top: 4px; color: var(--brass-hi); text-decoration: none; font-size: 22px; animation: nudge 2.4s ease-in-out 2.5s infinite; }

/* ---------- Accueil : sections ---------- */

.sec { padding-block: clamp(56px, 10vw, 104px); }
.sec--leather { background: linear-gradient(180deg, var(--felt-deep), #170f0a 18%, var(--leather) 60%, #1c120c); }

.split { display: grid; gap: 40px; align-items: center; }

/* Démo d'une carte du jeu */
.demo { margin: 0; display: grid; gap: 14px; justify-items: center; max-width: 380px; width: 100%; margin-inline: auto; }

.hud {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 12px 8px 10px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
}
.gauge { display: grid; justify-items: center; gap: 5px; min-width: 0; }
.gauge svg { width: 30px; height: 30px; fill: var(--paper); }
.gauge__bar { width: 70%; height: 6px; border-radius: 3px; background: rgba(233, 227, 211, .16); overflow: hidden; }
.gauge__bar i { display: block; height: 100%; width: var(--v); border-radius: inherit; background: var(--paper); }
.gauge__lbl { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 700 11px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--paper-dk); }

.say { position: relative; margin: 2px 0 0; padding-left: 26px; width: 100%; text-align: left; font-size: 17px; line-height: 1.45; color: var(--paper); }
.say::before { content: "\201C"; position: absolute; left: 0; top: -6px; font: 900 40px/1 var(--display); color: var(--brass); }

.card {
  position: relative;
  width: min(100%, 270px);
  border: 2px solid var(--brass-dk);
  border-radius: 12px;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 0 0 5px rgba(43, 26, 17, .9), 0 24px 40px -14px rgba(0, 0, 0, .9);
  transform-origin: 50% 120%;
  animation: sway 7s ease-in-out 1s infinite;
}
.card__band { display: flex; justify-content: space-between; padding: 6px 10px; background: var(--ink); color: var(--brass-hi); font: 700 12px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; }
.card__art { aspect-ratio: 1 / 1; background: #2a9a88; }
.card__art img { width: 100%; height: 100%; object-fit: cover; }
.card__plate { padding: 10px 14px 12px; border-top: 3px solid var(--brass); text-align: left; }
.card__plate b { display: block; font: 900 24px/1 var(--display); letter-spacing: .02em; text-transform: uppercase; }
.card__plate > span { font: italic 400 13px/1.35 var(--body); color: var(--ink-soft); }

.answers { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.answer {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 58px;
  padding: 8px 12px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  color: var(--paper);
  font: 600 14px/1.3 var(--body);
  text-align: left;
}
.answer > i { flex: none; font-style: normal; color: var(--brass-hi); }
.answer--l { animation: pick-l 7s ease-in-out 1s infinite; }
.answer--r { animation: pick-r 7s ease-in-out 1s infinite; }
.g-v i { animation: gv 7s ease-in-out 1s infinite; }
.g-a i { animation: ga 7s ease-in-out 1s infinite; }
.g-f i { animation: gf 7s ease-in-out 1s infinite; }

/* Personnages : photos agrafées */
.cast {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 168px;
  gap: 18px;
  margin-top: 30px;
  padding: 10px var(--gutter) 26px;
  margin-inline: calc(-1 * var(--gutter));
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--brass-dk) transparent;
  list-style: none;
}
.polaroid {
  scroll-snap-align: center;
  margin: 0;
  padding: 10px 10px 12px;
  background: #f7f3ea;
  color: var(--ink);
  border-radius: 3px;
  box-shadow: 0 18px 30px -14px rgba(0, 0, 0, .9), 0 2px 6px rgba(0, 0, 0, .4);
  transform: rotate(var(--r, -2deg));
}
.polaroid:nth-child(2n) { --r: 2.2deg; }
.polaroid:nth-child(3n) { --r: -1deg; }
.polaroid:nth-child(5n) { --r: 3deg; }
.polaroid img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.polaroid b { display: block; margin-top: 10px; font: 400 15px/1.2 var(--type); }
.polaroid > span { display: block; margin-top: 4px; font: italic 400 12.5px/1.35 var(--body); color: var(--ink-soft); }

/* Stats et lettre de licenciement */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 26px 0 16px; padding: 0; list-style: none; }
.tile {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 16px 14px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: rgba(4, 7, 10, .35);
}
.tile b { font: 900 46px/.9 var(--display); color: var(--brass-hi); }
.tile > span { font-size: 14px; line-height: 1.35; color: var(--paper-dk); }
.weekly { width: 100%; }
.extra { margin: 16px 0 0; color: var(--paper-dk); font-style: italic; }

.fired { width: min(100%, 400px); margin-inline: auto; padding: 20px 20px 18px; transform: rotate(1.5deg); }
.fired__club { display: flex; align-items: center; gap: 12px; }
.crest { flex: none; width: 40px; height: 48px; }
.fired__club b { display: block; font: 900 26px/1 var(--display); text-transform: uppercase; }
.fired__club .typed { font-size: 12.5px; line-height: 1.3; }
.fired__stamp { display: grid; justify-items: center; padding: 18px 0 12px; }
.fired__stamp .vire { animation: thump .5s cubic-bezier(.3, 1.6, .5, 1) both; animation-timeline: view(); animation-range: entry 30% cover 40%; }
.fired p { margin: 0; font-size: 16px; line-height: 1.5; }
.fired__sign { display: grid; justify-items: end; margin-top: 10px; }
.fired__sign .typed { font-size: 12.5px; }

/* ---------- Pied de page ---------- */

.foot {
  padding-block: 36px 40px;
  background: linear-gradient(180deg, #1c120c, #120b07);
  border-top: 1px solid rgba(201, 160, 74, .3);
  color: var(--paper-dk);
  font-size: 15px;
}
.foot__inner { display: grid; gap: 18px; justify-items: center; text-align: center; }
.foot__brand { display: inline-flex; align-items: center; gap: 12px; color: var(--paper); font: 700 16px/1.2 var(--display); letter-spacing: .16em; text-transform: uppercase; }
.foot__brand img { width: 48px; height: 48px; }
.foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; }
.foot nav a { display: inline-flex; align-items: center; min-height: 44px; font: 700 16px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
.foot nav a:hover { text-decoration: underline; }
.foot small { font-size: 13px; color: rgba(207, 197, 171, .75); }

/* ---------- Pages de texte : la lettre officielle ---------- */

.doc { min-height: 100vh; display: flex; flex-direction: column; }
.doc main { flex: 1; padding-block: 8px 64px; }

.letter { width: min(780px, 100%); margin-inline: auto; padding: 26px 22px 30px; }
.letter__head { display: grid; gap: 8px; }
.letter__office { margin: 0; color: var(--stamp); font: 700 14px/1 var(--display); letter-spacing: .26em; text-transform: uppercase; }
.letter h1 { margin: 0; font-size: clamp(38px, 10vw, 60px); color: var(--ink); text-wrap: balance; }
.letter__meta { margin: 0; font-size: 14px; line-height: 1.4; }
.letter article { font-size: 17px; line-height: 1.65; }
.letter article > p:first-child { margin-top: 0; }
.letter h2 { margin: 30px 0 8px; font-size: 26px; color: var(--ink); }
.letter h3 { display: flex; gap: 10px; align-items: baseline; margin: 30px 0 6px; font-size: 24px; color: var(--ink); text-wrap: balance; }
.letter h3::before { content: "\2605"; flex: none; color: var(--stamp); font-size: 15px; transform: translateY(-3px); }
.letter p { margin: 0 0 12px; text-wrap: pretty; }
.letter strong { font-weight: 600; }

.letter__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 22px 0 6px; }
.letter__cta .btn { min-height: 52px; font-size: 19px; }
.letter__cta .typed { font-size: 14px; }

.letter__end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 18px; margin-top: 34px; padding-top: 18px; border-top: 1px dashed rgba(28, 25, 21, .35); }
.letter__end .typed { margin: 4px 0 0; font-size: 13.5px; line-height: 1.45; }
.letter__end img { width: min(240px, 64vw); transform: rotate(-6deg); mix-blend-mode: multiply; opacity: .92; }

.lost { display: grid; justify-items: center; gap: 22px; padding-block: 8vh; text-align: center; }
.lost .paper { width: min(100%, 460px); padding: 26px 22px 24px; transform: rotate(-1.5deg); }
.lost h1 { margin: 0; }
.lost p { margin: 16px 0 0; font-size: 17px; }

/* ---------- Grands écrans ---------- */

@media (min-width: 700px) {
  :root { --gutter: 28px; }
  .tiles { grid-template-columns: repeat(4, 1fr); }
  .letter { padding: 44px 56px 46px; }
  .appointment { padding: 22px 26px 18px; }
}

@media (min-width: 900px) {
  .split { grid-template-columns: 1.05fr .95fr; gap: 64px; }
  .split--rev > :first-child { order: 2; }
  .split .tiles { grid-template-columns: repeat(2, 1fr); }
  .cast { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); grid-auto-columns: auto; margin-inline: 0; padding-inline: 0; overflow: visible; }
  .hero__stage { padding-top: clamp(24px, 9vh, 110px); }
  .hero__bg img { object-position: 50% 55%; }
}

/* ---------- Mouvements ---------- */

@keyframes lights { from { filter: brightness(.25) saturate(.6); } to { filter: none; } }
@keyframes letter-in { from { opacity: 0; transform: translateY(40px) rotate(-6deg); } to { opacity: 1; transform: rotate(-2deg); } }
@keyframes slam { 0% { opacity: 0; transform: scale(1.7) rotate(-8deg); } 70% { opacity: 1; transform: scale(.97); } 100% { opacity: 1; transform: none; } }
@keyframes thump { 0% { opacity: 0; transform: scale(1.6) rotate(-14deg); } 100% { opacity: 1; transform: rotate(-8deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes nudge { 0%, 100% { transform: none; } 50% { transform: translateY(6px); } }

@keyframes sway {
  0%, 14% { transform: none; }
  22%, 38% { transform: translateX(-18px) rotate(-7deg); }
  46%, 64% { transform: none; }
  72%, 88% { transform: translateX(18px) rotate(7deg); }
  96%, 100% { transform: none; }
}
@keyframes pick-l { 0%, 16%, 42%, 100% { border-color: var(--line); background-color: var(--panel); } 22%, 38% { border-color: var(--brass-hi); background-color: #3d2c18; } }
@keyframes pick-r { 0%, 66%, 92%, 100% { border-color: var(--line); background-color: var(--panel); } 72%, 88% { border-color: var(--brass-hi); background-color: #3d2c18; } }
@keyframes gv { 0%, 18%, 42%, 100% { width: 64%; background: var(--paper); } 24%, 38% { width: 56%; background: var(--down); } }
@keyframes ga { 0%, 18%, 42%, 100% { width: 52%; background: var(--paper); } 24%, 38% { width: 60%; background: var(--up); } }
@keyframes gf { 0%, 68%, 92%, 100% { width: 46%; background: var(--paper); } 74%, 88% { width: 32%; background: var(--down); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media print {
  body, .felt { background: #fff; color: #000; }
  .felt::before, .paper::before, .topbar .langs, .foot, .skip { display: none; }
  .paper { box-shadow: none; background: #fff; }
}
