/* Cervin Coliseum · landing de lancement (mêmes tokens que le site) */
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 200 600; font-stretch: 62% 125%; font-display: swap; src: url(/__launch/archivo-latin.e3a28eade2.woff2) format('woff2'); }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url(/__launch/instrument-serif-italic-latin.5a51946dff.woff2) format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 300 400; font-display: swap; src: url(/__launch/jetbrains-mono-latin.58b4565492.woff2) format('woff2'); }

:root {
  --bg: #0a0b0d; --ink: #ece7de; --ink-2: rgba(236, 231, 222, .68); --ink-3: rgba(236, 231, 222, .44);
  --line: rgba(236, 231, 222, .14); --stone: #d8c4a3; --red: #e30613;
  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-serif: "Instrument Serif", "Times New Roman", serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --pad: clamp(20px, 4.2vw, 72px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); color: var(--ink); -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; min-height: 100dvh; font-family: var(--f-display); font-size: 16px; line-height: 1.5; overflow-x: hidden; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

.bg {
  /* aucun visuel : lumière abstraite (faisceau chaud venu du haut, braise rouge très discrète), grain, vignettage */
  position: fixed; inset: 0; z-index: -1; overflow: hidden; background: var(--bg);
}
.bg::before {
  content: ""; position: absolute; inset: -20%;
  background:
    radial-gradient(42% 58% at 50% -6%, rgba(216, 196, 163, .20) 0%, rgba(216, 196, 163, .07) 38%, transparent 70%),
    radial-gradient(30% 22% at 50% 108%, rgba(227, 6, 19, .16) 0%, rgba(227, 6, 19, .05) 45%, transparent 75%),
    radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(0, 0, 0, .55) 100%);
  animation: breathe 9s ease-in-out infinite alternate, bgIn 2.8s var(--ease) both;
}
.bg::after {
  content: ""; position: absolute; inset: 0; background: url(/__launch/grain.3deaec6894.png) repeat; background-size: 128px 128px;
  opacity: .55; mix-blend-mode: overlay;
}
@keyframes breathe { from { transform: translateY(-1.5%) scale(1); opacity: .9; } to { transform: translateY(1.5%) scale(1.04); opacity: 1; } }
@keyframes bgIn { from { opacity: 0; } }

.gate {
  min-height: 100vh; min-height: 100dvh; display: grid; grid-template-rows: auto 1fr auto auto; gap: clamp(24px, 4vh, 56px);
  padding: max(20px, env(safe-area-inset-top)) max(var(--pad), env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(var(--pad), env(safe-area-inset-left));
}

.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 6px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand svg { width: 38px; height: auto; color: var(--ink); }
.brand__txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand__txt b { font-weight: 500; font-stretch: 125%; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; }
.brand__txt small { font-family: var(--f-mono); font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }

.langs { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; font-family: var(--f-mono); font-size: .64rem; letter-spacing: .12em; }
.langs button { padding: 6px 9px; border-radius: 999px; color: var(--ink-3); transition: color .3s, background-color .3s; min-width: 32px; }
.langs button:hover { color: var(--ink); }
.langs button[aria-pressed="true"] { color: var(--bg); background: var(--ink); }
.langs button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.hero { align-self: end; }
.title { font-weight: 200; font-stretch: 125%; line-height: .86; letter-spacing: -.035em; text-transform: uppercase; font-size: clamp(3.4rem, 14vw, 15rem); }
.title .t1, .title .t2 { display: block; animation: rise 1.4s var(--ease) both; }
.title .t2 { font-family: var(--f-serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: -.02em; color: var(--stone); padding-left: .06em; animation-delay: .12s; }
@keyframes rise { from { opacity: 0; transform: translateY(.18em); } }
.tag { margin-top: clamp(18px, 2.4vw, 32px); font-size: clamp(1.05rem, 1.5vw, 1.4rem); color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 0 .45em; animation: rise 1.4s .25s var(--ease) both; }
.tag em { font-family: var(--f-serif); font-style: italic; font-size: 1.12em; color: var(--ink); }

.count { border-top: 1px solid var(--line); padding-top: clamp(18px, 2.4vh, 28px); animation: rise 1.4s .4s var(--ease) both; }
.count__label { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.count__label time { color: var(--ink); }
.count__grid { margin-top: clamp(14px, 2vh, 22px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 2vw, 32px); max-width: 980px; }
.unit { display: flex; flex-direction: column; gap: 6px; }
.num { font-weight: 200; font-stretch: 125%; font-size: clamp(2.4rem, 7vw, 6.4rem); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.lbl { font-family: var(--f-mono); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }

.foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid var(--line); font-family: var(--f-mono); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }

/* T = 0 : transition avant rechargement */
.launch { position: fixed; inset: 0; z-index: 10; display: grid; place-items: center; background: var(--bg); opacity: 0; pointer-events: none; transition: opacity 1.2s var(--ease) .35s; }
.launch p { font-family: var(--f-serif); font-style: italic; font-size: clamp(1.6rem, 4vw, 3.4rem); color: var(--stone); opacity: 0; transform: translateY(12px); transition: opacity 1s var(--ease) .9s, transform 1.2s var(--ease) .9s; text-align: center; padding: 0 var(--pad); }
.is-open .launch { opacity: 1; }
.is-open .launch p { opacity: 1; transform: none; }
.is-open .num { color: var(--red); transition: color .3s; }

@media (max-width: 560px) {
  .count__grid { gap: 8px; }
  .lbl { font-size: .54rem; letter-spacing: .1em; }
  .foot span:last-child { display: none; }
}
@media (max-height: 520px) and (orientation: landscape) {
  .gate { gap: 14px; }
  .title { font-size: clamp(2.6rem, 9vw, 5rem); }
  .num { font-size: clamp(1.8rem, 5vw, 3rem); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}
