/* Seize — seizelive.com
   One background, six full-screen panels. Brand tokens shared with the platform app
   (seize-platform/src/app/globals.css). */

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

:root {
  --bg:        #F4F5F0;
  --ink:       #1a1614;
  --ink-mid:   #4a4440;
  --ink-hair:  rgba(26,22,20,.10);
  --accent:    #C4622D;
  --red:       #e0412a;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Syne', system-ui, -apple-system, sans-serif;

  --wrap: min(1080px, 100% - 48px);
}

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

body {
  background: var(--bg);
  color: var(--ink-mid);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* film grain — same 2.5% as the app */
body::after {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23g)' opacity='1'/%3E%3C/svg%3E");
  background-size: 300px;
  opacity: .025;
  pointer-events: none;
  z-index: 9999;
}

a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.wrap { width: var(--wrap); margin: 0 auto; }

html[lang="fr"] .en { display: none !important; }
html[lang="en"] .fr { display: none !important; }

/* ── PANELS ──
   In swipe mode the page itself never scrolls; #fp-wrap is translated one panel at a
   time. html.no-fp is the fallback (reduced motion, or a panel too tall to fit). */
.panel {
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  /* vh-based so short windows keep their breathing room without pushing a panel
     past one screen, which would drop the whole page back to normal scrolling */
  padding: clamp(84px, 12vh, 120px) 0 clamp(58px, 10vh, 100px);
  position: relative;
}
html.fp, html.fp body { height: 100%; overflow: hidden; }
html.fp .panel { height: 100svh; min-height: 0; }
#fp-wrap { will-change: transform; }

html.no-fp { scroll-behavior: smooth; }
html.no-fp .panel + .panel { border-top: 1px solid var(--ink-hair); }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 32px;
  border: 1px solid transparent;
  transition: background .45s ease, border-color .45s ease, top .45s ease,
              margin .45s ease, padding .45s ease, border-radius .45s ease, box-shadow .45s ease;
}
.nav.scrolled {
  background: rgba(244,245,240,.76);
  backdrop-filter: blur(24px) saturate(1.3);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  border-color: rgba(80,70,60,.16);
  top: 12px; margin: 0 20px;
  border-radius: 999px; padding: 12px 24px;
  box-shadow: 0 2px 0 rgba(255,255,255,.6) inset, 0 6px 32px rgba(0,0,0,.08);
}
.nav-logo { font-size: 17px; font-weight: 800; letter-spacing: .12em; color: var(--ink); text-decoration: none; }
.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-soon {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 10px; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--ink-mid);
}
.dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--red);
  flex-shrink: 0; animation: lp 1.8s ease-in-out infinite;
}
@keyframes lp {
  0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(224,65,42,.44); }
  50%     { opacity: .85; box-shadow: 0 0 0 7px rgba(224,65,42,0); }
}
#lang {
  background: transparent;
  border: 1px solid rgba(26,22,20,.16);
  color: var(--ink-mid);
  font-family: var(--sans); font-size: 10px; font-weight: 700;
  letter-spacing: .18em; padding: 6px 11px;
  border-radius: 8px; cursor: pointer;
  transition: border-color .2s, color .2s;
}
#lang:hover { border-color: rgba(26,22,20,.42); color: var(--ink); }

/* ── PROGRESS RAIL ── */
.rail {
  position: fixed; right: 26px; top: 50%; transform: translateY(-50%);
  z-index: 190; display: flex; flex-direction: column; gap: 14px;
}
.rail button {
  width: 7px; height: 7px; padding: 0;
  border: 1px solid rgba(26,22,20,.28); border-radius: 50%;
  background: transparent; cursor: pointer;
  transition: background .3s ease, border-color .3s ease, transform .3s ease;
}
.rail button.on {
  background: var(--accent); border-color: var(--accent);
  transform: scale(1.35);
}

/* ── SWIPE CUE ── */
.cue {
  position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%);
  display: inline-flex; flex-direction: column; align-items: center; gap: 10px;
  background: none; border: 0; cursor: pointer;
  font-family: var(--sans); font-size: 9px; font-weight: 700;
  letter-spacing: .26em; text-transform: uppercase; color: rgba(26,22,20,.34);
  transition: color .2s;
}
.cue:hover { color: var(--ink); }
.cue i {
  width: 1px; height: 34px; background: currentColor; opacity: .6;
  animation: cue 2.4s ease-in-out infinite; transform-origin: top;
}
@keyframes cue {
  0%, 100% { transform: scaleY(.35); opacity: .25; }
  50%      { transform: scaleY(1);   opacity: .65; }
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; padding: 16px 30px;
  border-radius: 10px; border: 1px solid transparent;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.btn-solid { background: var(--ink); color: #faf8f4; }
.btn-solid:hover { background: var(--accent); transform: translateY(-2px); }
.arw { margin-left: 12px; font-style: normal; transition: transform .2s ease; }
.btn:hover .arw { transform: translateX(4px); }
.ctas { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.lede { font-size: clamp(16px, 1.9vw, 19px); line-height: 1.65; max-width: 44ch; }

/* Serif headline, used on every panel that carries one. */
.panel h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(40px, 6.4vw, 84px);
  line-height: 1.02; letter-spacing: -.02em;
  color: var(--ink); margin-bottom: 26px;
}
.panel h2 em { font-style: italic; color: var(--accent); }

/* ── 01 HERO ── */
#hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(54px, 10.5vw, 128px);
  line-height: .96; letter-spacing: -.02em;
  color: var(--ink); margin-bottom: 30px;
}
#hero h1 em { font-style: italic; color: var(--accent); }
#hero .lede { margin-bottom: 40px; }

/* ── 02 SANS ── */
.deny { list-style: none; margin-bottom: clamp(28px, 5vh, 60px); }
.deny li {
  font-size: clamp(15px, 1.9vw, 19px);
  line-height: 1.5; color: rgba(26,22,20,.42);
  padding: 7px 0;
}
.big {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(38px, 6.6vw, 88px);
  line-height: 1.04; letter-spacing: -.02em;
  color: var(--ink);
}

/* ── 03 ÉVÉNEMENT · 05 VALEUR ──
   .beat is the short staccato stack that closes a panel. */
.beat {
  margin-top: clamp(20px, 3.8vh, 46px);
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(24px, 3.2vw, 40px);
  line-height: 1.24; color: var(--ink);
  max-width: 30ch;
}

/* ── 04 TON PREMIER SEIZE ── */
.head-sm {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(28px, 3.7vw, 48px);
  line-height: 1.05; letter-spacing: -.01em;
  color: var(--ink); margin-bottom: clamp(16px, 3vh, 34px);
}
.kicker {
  margin-top: clamp(16px, 2.8vh, 34px);
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(22px, 2.9vw, 34px);
  color: var(--ink);
}
.steps { list-style: none; }
.steps li {
  display: grid;
  grid-template-columns: 56px minmax(0, 15ch) minmax(0, 1fr);
  gap: 26px; align-items: baseline;
  padding: clamp(13px, 2.3vh, 28px) 0;
  border-top: 1px solid var(--ink-hair);
}
.steps li:last-child { border-bottom: 1px solid var(--ink-hair); }
.steps .n { font-size: 10px; font-weight: 700; letter-spacing: .2em; color: var(--accent); }
.steps h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.05; color: var(--ink);
}
.steps p { font-size: 15px; line-height: 1.65; max-width: 44ch; }

/* ── 05 VALEUR ── */
.line {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(36px, 6.2vw, 80px);
  line-height: 1.05; letter-spacing: -.02em;
  color: var(--ink); margin-bottom: 26px;
}

/* ── 06 VAGUE ── */
.ask {
  margin-top: clamp(14px, 2.6vh, 30px); margin-bottom: 18px;
  font-size: clamp(16px, 1.9vw, 19px); font-weight: 600;
  color: var(--ink);
}
#vague h2 { font-size: clamp(36px, 5.4vw, 74px); margin-bottom: 20px; }
#vague .lede { max-width: 62ch; }
.end { margin-top: clamp(22px, 4vh, 56px); padding-top: 20px; border-top: 1px solid var(--ink-hair); }
.end-note { font-size: 13px; color: rgba(26,22,20,.5); max-width: 48ch; }
.end-note a { color: var(--ink); text-decoration: none; border-bottom: 1px solid rgba(26,22,20,.25); }
.end-note a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.end-copy { margin-top: 12px; font-size: 10px; letter-spacing: .1em; color: rgba(26,22,20,.28); }

/* ── REVEAL ── */
html.js .fi { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
html.js .fi.on,
html.reveal-all .fi { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html.js .fi { opacity: 1; transform: none; transition: none; }
  .dot, .cue i { animation: none; }
  .btn:hover { transform: none; }
}

/* ── RESPONSIVE ── */

/* Short windows: claw back vertical space so the two densest panels (premier, vague)
   still fit one screen and the swipe stays on. */
@media (max-height: 760px) {
  .panel { padding: 74px 0 50px; }
  .steps li { padding: 11px 0; }
  .kicker { margin-top: 14px; }
  .ask { margin-top: 12px; margin-bottom: 14px; }
  .end { margin-top: 18px; padding-top: 16px; }
  .end-copy { margin-top: 9px; }
  .deny li { padding: 5px 0; }
  .cue { bottom: 24px; }
  .cue i { height: 24px; }
}

@media (max-width: 860px) {
  .steps li { grid-template-columns: 40px 1fr; gap: 12px 18px; }
  .steps .n { grid-row: span 2; }
  .steps p { grid-column: 2; margin-top: 8px; }
}
@media (max-width: 620px) {
  :root { --wrap: min(1080px, 100% - 32px); }
  .nav { padding: 18px 20px; }
  .nav-soon { display: none; }
  .rail { right: 14px; gap: 11px; }
  .panel { padding: 104px 0 88px; }
  .lede { max-width: none; }
  .ctas { align-items: stretch; }
  .btn { width: 100%; }
  .steps p { font-size: 14.5px; }
}
