/* =========================================================
   CHEVAL DU JOUR — Editorial Premium Design System
   ---------------------------------------------------------
   A magazine-grade racing club aesthetic.
   Display: Fraunces (variable serif, editorial)
   Body:    Manrope (modern grotesque, refined)
   Mono:    JetBrains Mono (numbers, metadata)
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..900;1,9..144,300..900&family=Manrope:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ---------- Tokens ---------- */
:root {
  /* Ink & paper */
  --ink:        #0E1410;
  --ink-2:      #161D18;
  --ink-3:      #232C26;
  --paper:      #F4EFE3;
  --paper-2:    #ECE4D2;
  --bone:       #FAF6EC;
  --white:      #FFFFFF;

  /* Brand */
  --gold:       #B8893E;
  --gold-2:     #D4A85C;
  --gold-soft:  #E8D4A6;
  --turf:       #1F4030;
  --turf-2:     #2C5942;
  --clay:       #8B4F2D;
  --rust:       #B8623E;

  /* Semantic */
  --line:       rgba(14, 20, 16, .12);
  --line-2:     rgba(14, 20, 16, .22);
  --line-dark:  rgba(244, 239, 227, .14);
  --line-dark-2:rgba(244, 239, 227, .28);
  --muted:      #6F756E;
  --muted-dark: rgba(244, 239, 227, .58);

  --status-win:  #2C5942;
  --status-place:#B8893E;
  --status-loss: #8E5A4A;
  --status-wait: #6F756E;

  /* Type */
  --font-display: 'Fraunces', 'Times New Roman', serif;
  --font-body:    'Manrope', system-ui, -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  /* Layout */
  --container:    1280px;
  --container-narrow: 980px;
  --radius:       4px;
  --radius-lg:    14px;
  --radius-xl:    22px;
  --shadow-sm:    0 4px 16px rgba(14, 20, 16, .06);
  --shadow:       0 18px 50px rgba(14, 20, 16, .12);
  --shadow-lg:    0 32px 90px rgba(14, 20, 16, .22);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }

/* Subtle film-grain overlay for premium tactility */
body::before {
  content: '';
  position: fixed; inset: 0; pointer-events: none;
  z-index: 100;
  opacity: .04;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' seed='3'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .8 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
h1 { font-size: clamp(3rem, 7.5vw, 6.4rem); font-weight: 500; letter-spacing: -0.035em; }
h2 { font-size: clamp(2.2rem, 4.6vw, 4rem); letter-spacing: -0.03em; }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); letter-spacing: -0.02em; font-weight: 500; }
h4 { font-size: 1.15rem; font-weight: 600; }
p  { margin: 0; }

.serif-italic { font-family: var(--font-display); font-style: italic; font-weight: 400; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--ink);
  margin-bottom: 26px;
}
.eyebrow::before {
  content: ''; width: 28px; height: 1px; background: currentColor;
}
.eyebrow.light { color: var(--gold-2); }
.eyebrow.center { justify-content: center; }
.eyebrow.no-rule::before { display: none; }

.lead {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  line-height: 1.45;
  letter-spacing: -0.012em;
  color: var(--ink-2);
}
.lead.dark { color: rgba(244, 239, 227, .82); }

.body-lg { font-size: 1.06rem; line-height: 1.7; color: var(--ink-2); }

.mono { font-family: var(--font-mono); }
.num-display {
  font-family: var(--font-display);
  font-feature-settings: "tnum" 1, "lnum" 1;
  font-weight: 400;
  letter-spacing: -0.04em;
}

/* ---------- Layout ---------- */
.container { width: min(var(--container), calc(100% - 48px)); margin: 0 auto; }
.container.narrow { width: min(var(--container-narrow), calc(100% - 48px)); }
.section { padding: clamp(72px, 9vw, 130px) 0; }
.section.tight { padding: clamp(48px, 6vw, 80px) 0; }
.bg-paper { background: var(--paper); }
.bg-bone  { background: var(--bone); }
.bg-paper-2 { background: var(--paper-2); }
.bg-ink   { background: var(--ink); color: var(--bone); }
.bg-turf  { background: var(--turf); color: var(--bone); }

/* Hairline */
.hairline { height: 1px; background: var(--line-2); border: 0; margin: 0; }
.hairline.light { background: var(--line-dark); }

/* ---------- Top edition bar ---------- */
.edition-bar {
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.edition-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 9px 0;
  color: rgba(244, 239, 227, .72);
}
.edition-inner .pulse {
  display: inline-flex; align-items: center; gap: 8px;
}
.edition-inner .pulse-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold-2);
  box-shadow: 0 0 0 0 var(--gold);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(212,168,92,.6); }
  70%  { box-shadow: 0 0 0 10px rgba(212,168,92,0); }
  100% { box-shadow: 0 0 0 0 rgba(212,168,92,0); }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 239, 227, .82);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: 78px;
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 28px;
}
.brand {
  display: inline-flex; align-items: center; gap: 14px;
  min-width: 0;
  color: var(--ink);
}
.brand-mark {
  width: 46px;
  height: 46px;
  aspect-ratio: 1 / 1;
  flex: 0 0 46px;
  border-radius: 50%;
  background: var(--ink);
  display: grid; place-items: center;
  overflow: hidden;
  border: 1px solid var(--line-2);
}
.brand-mark img {
  display: block;
  width: 70%;
  height: 70%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  filter: invert(1) sepia(1) saturate(2.5) hue-rotate(5deg) brightness(1.05);
}
.brand-text {
  min-width: 0;
  font-family: var(--font-display);
  font-size: 1.32rem; font-weight: 600; line-height: 1;
  letter-spacing: -0.012em;
}
.brand-text small {
  display: block; margin-top: 5px;
  font-family: var(--font-mono); font-size: .66rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .18em;
  color: var(--muted);
}

.main-nav {
  display: flex; justify-content: center; align-items: center;
  gap: 4px;
}
.main-nav > a {
  position: relative;
  padding: 10px 16px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: color .25s ease;
}
.main-nav > a:hover { color: var(--ink); }
.main-nav > a::after {
  content: ''; position: absolute;
  left: 16px; right: 16px; bottom: 4px;
  height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s cubic-bezier(.7,.1,.2,1);
}
.main-nav > a:hover::after,
.main-nav > a.active::after { transform: scaleX(1); }
.main-nav > a.active { color: var(--ink); font-weight: 600; }

.nav-utility { display: inline-flex; align-items: center; gap: 12px; }
.account-link {
  font-family: var(--font-mono); font-size: .72rem;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 9px 14px; border-radius: 999px;
  border: 1px solid var(--line-2);
  color: var(--ink-2);
  transition: all .25s ease;
}
.account-link:hover { background: var(--ink); color: var(--bone); border-color: var(--ink); }

.menu-button {
  display: none;
  width: 44px; height: 44px;
  background: transparent; border: 1px solid var(--line-2);
  border-radius: 999px;
  cursor: pointer; padding: 0;
  position: relative;
}
.menu-button span {
  position: absolute; left: 50%; transform: translateX(-50%);
  width: 18px; height: 1.5px; background: var(--ink); border-radius: 99px;
  transition: all .3s ease;
}
.menu-button span:nth-child(1) { top: 16px; }
.menu-button span:nth-child(2) { top: 21px; }
.menu-button span:nth-child(3) { top: 26px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px;
  padding: 14px 26px;
  font-family: var(--font-mono);
  font-size: .8rem; font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .35s cubic-bezier(.7,.1,.2,1), background .25s ease, color .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn .arrow { transition: transform .35s ease; }
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary { background: var(--ink); color: var(--bone); }
.btn-primary:hover { background: var(--turf); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-2); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--bone); }
.btn-ghost-light { background: transparent; color: var(--bone); border-color: var(--line-dark-2); }
.btn-ghost-light:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.btn.full { width: 100%; }
.btn.sm   { min-height: 42px; padding: 10px 18px; font-size: .72rem; }

.button-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Hero (homepage) ---------- */
.hero {
  position: relative;
  padding: clamp(48px, 6vw, 90px) 0 clamp(64px, 8vw, 120px);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.hero-meta {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 32px;
}
.hero-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-2); }
.hero h1 {
  font-size: clamp(3.2rem, 8.4vw, 7.4rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: .96;
  font-feature-settings: "ss01" 1;
}
.hero h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--clay);
  font-variation-settings: "opsz" 144;
}
.hero-lead { margin-top: 32px; max-width: 540px; }
.hero-actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; }

.hero-figure {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow);
}
.hero-figure img {
  width: 100%; height: 100%; object-fit: cover;
  filter: contrast(1.05) saturate(.92);
}
.hero-figure-tag {
  position: absolute; top: 22px; left: 22px;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bone);
  padding: 8px 14px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero-figure-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 22px 24px;
  color: var(--bone);
  font-family: var(--font-display);
  font-size: 1.05rem; font-style: italic;
  background: linear-gradient(to top, rgba(14,20,16,.86), transparent);
}

.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: clamp(56px, 7vw, 90px);
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}
.hero-stats > div {
  padding: 26px 22px;
  border-right: 1px solid var(--line);
}
.hero-stats > div:last-child { border-right: 0; }
.hero-stats .num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}
.hero-stats .num sup { font-size: .5em; vertical-align: super; color: var(--gold); }
.hero-stats .label {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Marquee ticker ---------- */
.marquee {
  background: var(--ink);
  color: var(--bone);
  border-block: 1px solid var(--line-dark);
  overflow: hidden;
  position: relative;
}
.marquee-track {
  display: flex;
  gap: 40px;
  padding: 18px 0;
  animation: marquee 60s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-mono);
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.marquee-item .label { color: var(--muted-dark); }
.marquee-item strong { font-weight: 500; }
.marquee-item .gold { color: var(--gold-2); }
.marquee-item .sep { color: var(--gold); font-size: 1rem; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Section headers ---------- */
.section-head {
  display: grid;
  grid-template-columns: minmax(0, .42fr) minmax(0, .58fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.section-head .index {
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}
.section-head .index span { color: var(--gold); margin-right: 10px; }
.section-head h2 { max-width: 14ch; }
.section-head .meta { color: var(--muted); font-size: .95rem; }

/* ---------- Editorial split (Méthode / Intro) ---------- */
.editorial-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(40px, 5vw, 96px);
  align-items: start;
}
.editorial-split .copy h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin-bottom: 32px;
}
.editorial-split .copy p { color: var(--ink-2); }
.editorial-split .copy p + p { margin-top: 18px; }

.principle-list {
  margin-top: 44px;
  display: grid; gap: 0;
}
.principle-list .item {
  display: grid; grid-template-columns: 60px 1fr;
  gap: 24px; align-items: start;
  padding: 28px 0;
  border-top: 1px solid var(--line-2);
}
.principle-list .item:last-child { border-bottom: 1px solid var(--line-2); }
.principle-list .num {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .14em;
  color: var(--gold);
  padding-top: 4px;
}
.principle-list h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: -0.018em;
  margin-bottom: 8px;
}
.principle-list p { color: var(--muted); font-size: .98rem; }

/* Photo collage block */
.photo-mosaic {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 70px;
  gap: 12px;
}
.photo-mosaic figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--ink); }
.photo-mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s cubic-bezier(.2,.6,.2,1); }
.photo-mosaic figure:hover img { transform: scale(1.04); }
.photo-mosaic .m-1 { grid-column: 1 / span 4; grid-row: 1 / span 5; }
.photo-mosaic .m-2 { grid-column: 5 / span 2; grid-row: 1 / span 3; }
.photo-mosaic .m-3 { grid-column: 5 / span 2; grid-row: 4 / span 4; }
.photo-mosaic .m-4 { grid-column: 1 / span 4; grid-row: 6 / span 3; }

/* ---------- Numbered method cards ---------- */
.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-block: 1px solid var(--line-2);
}
.method-cell {
  padding: 36px 28px;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column;
}
.method-cell:last-child { border-right: 0; }
.method-cell .marker {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .14em;
  color: var(--gold);
  margin-bottom: 28px;
}
.method-cell h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: -0.018em;
  margin-bottom: 14px;
}
.method-cell p { color: var(--muted); font-size: .96rem; line-height: 1.65; }

/* ---------- Image band (full-bleed cinematic) ---------- */
.cinematic-band {
  position: relative;
  min-height: clamp(440px, 60vh, 640px);
  background-image: linear-gradient(85deg, rgba(14,20,16,.92) 0%, rgba(14,20,16,.55) 50%, rgba(14,20,16,.18) 100%), var(--band-image);
  background-size: cover;
  background-position: center;
  display: flex; align-items: center;
  color: var(--bone);
  overflow: hidden;
}
.cinematic-band .container { position: relative; z-index: 2; }
.cinematic-content { max-width: 640px; padding: 90px 0; }
.cinematic-content h2 {
  font-size: clamp(2.4rem, 5.4vw, 4.6rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
}
.cinematic-content h2 em { font-style: italic; color: var(--gold-2); font-weight: 300; }
.cinematic-content p { margin-top: 26px; max-width: 520px; color: rgba(244,239,227,.8); }
.cinematic-content .button-row { margin-top: 36px; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  position: relative;
  padding: clamp(96px, 12vw, 160px) 0 clamp(72px, 10vw, 120px);
  background-image: linear-gradient(180deg, rgba(14,20,16,.86), rgba(14,20,16,.5)), var(--page-image);
  background-size: cover; background-position: center;
  color: var(--bone);
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 80px;
  background: linear-gradient(to top, var(--paper), transparent);
}
.page-hero .meta {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 28px;
}
.page-hero .meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold-2); }
.page-hero h1 {
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.038em;
  line-height: 1;
  max-width: 18ch;
}
.page-hero p {
  margin-top: 28px;
  max-width: 600px;
  color: rgba(244, 239, 227, .82);
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  line-height: 1.45;
}
.page-hero .crumb {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(244,239,227,.62);
  margin-bottom: 22px;
}
.page-hero .crumb a { color: rgba(244,239,227,.62); }
.page-hero .crumb a:hover { color: var(--bone); }

/* ---------- Stats grid ---------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line-2);
  background: var(--bone);
}
.stats-row > div {
  padding: 36px 30px;
  border-right: 1px solid var(--line);
  position: relative;
}
.stats-row > div:last-child { border-right: 0; }
.stats-row .label {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.stats-row .num {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}
.stats-row .num sup { color: var(--gold); font-size: .42em; vertical-align: super; margin-left: 2px; }
.stats-row .sub {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .1em;
  color: var(--muted);
}
.stats-row .sub.win  { color: var(--turf-2); }

/* ---------- Track record table ---------- */
.records-wrap {
  margin-top: 44px;
  background: var(--bone);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  overflow: hidden;
}
.records-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 28px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap; gap: 18px;
}
.records-head h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.4rem;
  letter-spacing: -0.014em;
}
.filter-pills { display: flex; gap: 6px; }
.filter-pills button {
  background: transparent; border: 1px solid var(--line-2);
  padding: 8px 14px; border-radius: 999px;
  font-family: var(--font-mono); font-size: .72rem;
  letter-spacing: .12em; text-transform: uppercase;
  cursor: pointer; transition: all .25s ease;
  color: var(--muted);
}
.filter-pills button:hover,
.filter-pills button.active { background: var(--ink); color: var(--bone); border-color: var(--ink); }

.records-table { width: 100%; border-collapse: collapse; }
.records-table th {
  text-align: left;
  padding: 14px 28px;
  background: var(--paper-2);
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.records-table td {
  padding: 20px 28px;
  border-bottom: 1px solid var(--line);
  font-size: .96rem;
}
.records-table tbody tr:hover { background: rgba(184, 137, 62, .04); }
.records-table tbody tr:last-child td { border-bottom: 0; }
.records-table .date { font-family: var(--font-mono); color: var(--muted); font-size: .9rem; }
.records-table .horse { font-weight: 600; }
.records-table .odds { font-family: var(--font-mono); color: var(--ink-2); }
.records-table .odds.x { color: var(--muted); }

.status-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid currentColor;
}
.status-pill::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
}
.status-pill.win   { color: var(--status-win); }
.status-pill.place { color: var(--status-place); }
.status-pill.loss  { color: var(--status-loss); }
.status-pill.wait  { color: var(--status-wait); }

.records-foot {
  padding: 18px 28px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: .72rem;
  color: var(--muted); letter-spacing: .08em;
}

/* ---------- Sparkline / trend mini-chart ---------- */
.trend-card {
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  padding: 30px 36px;
  background: var(--ink);
  color: var(--bone);
  border-radius: var(--radius);
  margin-top: 44px;
  flex-wrap: wrap;
}
.trend-card .label {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .16em;
  color: var(--muted-dark);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.trend-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.6rem;
  letter-spacing: -0.018em;
  color: var(--bone);
}
.trend-card svg { display: block; }

/* ---------- Pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.price-card {
  background: var(--bone);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 38px 32px;
  display: flex; flex-direction: column;
  position: relative;
  transition: transform .35s cubic-bezier(.7,.1,.2,1);
}
.price-card:hover { transform: translateY(-6px); }
.price-card .plan-name {
  font-family: var(--font-mono);
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
  display: inline-flex; align-items: center; gap: 10px;
}
.price-card .plan-name::before { content: ''; width: 18px; height: 1px; background: var(--gold); }
.price-card .price {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.8rem, 4.5vw, 3.6rem);
  letter-spacing: -0.04em; line-height: 1;
  display: flex; align-items: baseline; gap: 8px;
}
.price-card .price .cents { font-size: .55em; color: var(--gold); }
.price-card .price-period {
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .1em;
  color: var(--muted);
  margin-top: 8px;
}
.price-card .desc {
  margin-top: 18px;
  color: var(--ink-2);
  font-size: .95rem;
}
.price-card ul {
  list-style: none; padding: 0;
  margin: 28px 0 32px;
  display: grid; gap: 12px;
}
.price-card li {
  position: relative;
  padding-left: 26px;
  font-size: .94rem;
  color: var(--ink-2);
}
.price-card li::before {
  content: '';
  position: absolute; left: 0; top: .55em;
  width: 12px; height: 1px;
  background: var(--gold);
}
.price-card .btn { margin-top: auto; }
.price-card.featured {
  background: var(--ink);
  color: var(--bone);
  border-color: var(--ink);
  transform: translateY(-12px);
}
.price-card.featured:hover { transform: translateY(-18px); }
.price-card.featured .desc,
.price-card.featured li,
.price-card.featured .plan-name { color: rgba(244,239,227,.78); }
.price-card.featured .plan-name { color: var(--gold-2); }
.price-card.featured .price { color: var(--bone); }
.price-card.featured .price .cents { color: var(--gold-2); }
.price-card.featured .price-period { color: rgba(244,239,227,.6); }
.price-card.featured li::before { background: var(--gold-2); }
.price-card.featured .badge {
  position: absolute; top: 22px; right: 22px;
  font-family: var(--font-mono);
  font-size: .64rem; letter-spacing: .14em; text-transform: uppercase;
  background: var(--gold);
  color: var(--ink);
  padding: 5px 10px;
  border-radius: 999px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 56px;
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}
.trust-row > div {
  padding: 24px 22px;
  border-right: 1px solid var(--line);
  display: flex; align-items: center; gap: 14px;
}
.trust-row > div:last-child { border-right: 0; }
.trust-row .icn {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--ink);
  flex-shrink: 0;
}
.trust-row strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  margin-bottom: 2px;
}
.trust-row span { color: var(--muted); font-size: .85rem; }

/* ---------- FAQ accordion ---------- */
.faq {
  max-width: var(--container-narrow);
  margin: 0 auto;
}
.faq details {
  border-top: 1px solid var(--line-2);
  padding: 22px 0;
}
.faq details:last-child { border-bottom: 1px solid var(--line-2); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  letter-spacing: -0.012em;
  color: var(--ink);
  position: relative;
  padding-right: 50px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '';
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 14px; height: 14px;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat;
  transition: transform .35s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin-top: 16px; max-width: 60ch; color: var(--muted); }

/* ---------- Prono fiche (member view) ---------- */
.prono-shell {
  display: grid;
  grid-template-columns: minmax(0, .42fr) minmax(0, .58fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.prono-side {
  position: sticky; top: 100px;
}
.prono-side h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 18px; }

.prono-card {
  background: var(--bone);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  overflow: hidden;
}
.prono-cover {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--ink) center/cover;
  background-image: linear-gradient(180deg, rgba(14,20,16,.4), rgba(14,20,16,.05)), var(--prono-image);
}
.prono-cover .badge {
  position: absolute; top: 22px; left: 22px;
  background: var(--bone); color: var(--ink);
  padding: 8px 14px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
}
.prono-cover .date {
  position: absolute; bottom: 22px; left: 22px;
  color: var(--bone);
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
}
.prono-body { padding: 36px 36px 40px; }
.prono-eyebrow {
  font-family: var(--font-mono);
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.prono-body h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: -0.022em;
  line-height: 1.05;
  margin-bottom: 18px;
}
.prono-body .race {
  display: flex; flex-wrap: wrap; gap: 18px;
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .1em;
  color: var(--muted);
  text-transform: uppercase;
  padding: 16px 0;
  border-block: 1px solid var(--line);
  margin-bottom: 28px;
}
.prono-body .race span strong { color: var(--ink); font-weight: 500; }
.prono-body .summary { color: var(--ink-2); font-size: 1rem; line-height: 1.7; }

.criteria-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 32px;
  border: 1px solid var(--line);
}
.criteria-grid > div {
  padding: 22px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.criteria-grid > div:nth-child(2n) { border-right: 0; }
.criteria-grid > div:nth-last-child(-n+2) { border-bottom: 0; }
.criteria-grid .ck {
  font-family: var(--font-mono);
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.criteria-grid h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
  margin-bottom: 6px;
}
.criteria-grid p { color: var(--muted); font-size: .92rem; line-height: 1.6; }

.confidence-meter {
  margin-top: 32px;
  padding: 22px 26px;
  background: var(--paper-2);
  border-radius: var(--radius);
  display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center;
}
.confidence-meter .label {
  font-family: var(--font-mono);
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.confidence-meter strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
}
.confidence-bar { width: 160px; height: 6px; background: var(--bone); border-radius: 99px; overflow: hidden; }
.confidence-bar > span { display: block; height: 100%; background: var(--gold); border-radius: 99px; }

.responsibility-note {
  margin-top: 32px;
  padding: 18px 22px;
  border: 1px dashed var(--line-2);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: .76rem;
  line-height: 1.65;
  color: var(--muted);
  letter-spacing: .04em;
}

/* Locked panel */
.locked-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 72px);
  align-items: center;
  padding: clamp(40px, 5vw, 80px);
  background: var(--ink);
  color: var(--bone);
  border-radius: var(--radius);
  background-image:
    radial-gradient(circle at 80% 20%, rgba(184,137,62,.18), transparent 50%),
    linear-gradient(180deg, var(--ink), var(--ink-2));
}
.locked-shell .copy h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.03em;
  font-weight: 400;
}
.locked-shell .copy h2 em { font-style: italic; color: var(--gold-2); font-weight: 300; }
.locked-shell .copy p { color: rgba(244,239,227,.78); margin-top: 22px; font-size: 1rem; }
.locked-shell .copy .button-row { margin-top: 32px; }

.locked-mock {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
}
.locked-mock .blur {
  position: absolute; inset: 0;
  background-image: linear-gradient(180deg, rgba(14,20,16,.5), rgba(14,20,16,.85)), var(--locked-image);
  background-size: cover; background-position: center;
  filter: blur(14px) saturate(.7);
  transform: scale(1.06);
}
.locked-mock .lock-icn {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  flex-direction: column; gap: 14px;
  text-align: center;
}
.locked-mock .lock-icn > div {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--bone); color: var(--ink);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.locked-mock .lock-icn p {
  color: var(--bone);
  font-family: var(--font-mono);
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
}

/* ---------- Auth grid ---------- */
.auth-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.auth-card {
  background: var(--bone);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 40px 36px;
}
.auth-card h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.85rem;
  letter-spacing: -0.022em;
  margin-bottom: 28px;
}
.auth-card label {
  display: block;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 22px;
}
.auth-card label > span { display: block; margin-bottom: 8px; }
.auth-card input {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-2);
  padding: 12px 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-transform: none;
  transition: border-color .25s ease;
}
.auth-card input:focus {
  outline: none;
  border-bottom-color: var(--ink);
}
.auth-card input::placeholder { color: var(--muted); font-family: var(--font-display); font-style: italic; }
.auth-card .btn { margin-top: 14px; }
.form-message {
  min-height: 22px;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .04em;
  color: var(--turf-2);
}
.form-message.error { color: var(--rust); }

/* ---------- Account page ---------- */
.account-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 22px;
  align-items: stretch;
}
.account-card {
  background: var(--bone);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 40px 36px;
  display: flex; flex-direction: column;
}
.account-card .head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 28px;
}
.account-card .head h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.65rem;
  letter-spacing: -0.018em;
}
.account-card .status-pill { font-size: .62rem; }
.account-card dl {
  display: grid; gap: 18px;
  margin: 0;
}
.account-card dt {
  font-family: var(--font-mono);
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.account-card dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 500;
  letter-spacing: -0.014em;
}
.account-card .button-row { margin-top: 32px; }

.account-card.dark {
  background: var(--ink);
  color: var(--bone);
  border-color: var(--ink);
  background-image: radial-gradient(circle at 100% 0%, rgba(184,137,62,.18), transparent 60%);
}
.account-card.dark dt { color: var(--muted-dark); }
.account-card.dark p { color: rgba(244,239,227,.78); }
.account-card.dark .h2-display {
  font-family: var(--font-display);
  font-weight: 400; font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: -0.024em; line-height: 1.05;
  margin-bottom: 14px;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: start;
}
.contact-grid h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 28px; }
.contact-grid .info-list {
  margin-top: 38px;
  display: grid; gap: 0;
}
.contact-grid .info-list > div {
  border-top: 1px solid var(--line-2);
  padding: 22px 0;
}
.contact-grid .info-list > div:last-child { border-bottom: 1px solid var(--line-2); }
.contact-grid .info-list .label {
  font-family: var(--font-mono);
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.contact-grid .info-list .value {
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 500;
  letter-spacing: -0.014em;
}

.contact-form {
  background: var(--bone);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 40px 36px;
}
.contact-form label {
  display: block;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}
.contact-form label > span { display: block; margin-bottom: 8px; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-2);
  padding: 12px 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-transform: none;
  resize: vertical;
  transition: border-color .25s ease;
}
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-bottom-color: var(--ink); }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--muted); font-style: italic; }
.contact-form .btn { margin-top: 12px; }

/* ---------- Legal pages ---------- */
.legal-shell {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.legal-toc {
  position: sticky; top: 100px;
  font-family: var(--font-mono);
  font-size: .8rem;
}
.legal-toc .label {
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.legal-toc a {
  display: block;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
}
.legal-toc a:hover { color: var(--ink); }
.legal-content {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--ink-2);
}
.legal-content h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 500;
  letter-spacing: -0.018em;
  margin-bottom: 22px;
  color: var(--ink);
}
.legal-content h3 {
  font-size: 1.25rem;
  font-weight: 500;
  margin: 36px 0 14px;
  color: var(--ink);
}
.legal-content p + p { margin-top: 18px; }
.legal-content ul {
  padding-left: 22px;
  margin: 18px 0;
}
.legal-content li { margin-bottom: 10px; }
.legal-callout {
  margin: 28px 0;
  padding: 22px 26px;
  border-left: 2px solid var(--gold);
  background: var(--bone);
  font-size: .98rem;
  font-family: var(--font-body);
  color: var(--ink-2);
}

/* ---------- Comparison block ---------- */
.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.compare-card {
  padding: 36px 32px;
  border-radius: var(--radius);
  border: 1px solid var(--line-2);
}
.compare-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.compare-card .item-row {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: .95rem;
}
.compare-card .item-row:first-of-type { border-top: 0; }
.compare-card .icn {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--paper-2);
  display: grid; place-items: center;
  flex-shrink: 0;
  font-size: .8rem;
  margin-top: 2px;
}
.compare-card.them { background: transparent; }
.compare-card.them .item-row { color: var(--muted); }
.compare-card.us {
  background: var(--ink);
  color: var(--bone);
  border-color: var(--ink);
}
.compare-card.us .item-row { color: rgba(244,239,227,.85); border-top-color: var(--line-dark); }
.compare-card.us .icn { background: var(--gold); color: var(--ink); }
.compare-card .label {
  font-family: var(--font-mono);
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  display: inline-block;
}

/* ---------- CTA Section ---------- */
.cta-large {
  position: relative;
  padding: clamp(72px, 9vw, 130px) 0;
  background: var(--ink);
  color: var(--bone);
  background-image:
    radial-gradient(circle at 10% 100%, rgba(184,137,62,.18), transparent 50%),
    radial-gradient(circle at 90% 0%, rgba(44,89,66,.22), transparent 60%),
    var(--ink);
  overflow: hidden;
}
.cta-large h2 {
  font-size: clamp(2.4rem, 6vw, 5rem);
  letter-spacing: -0.035em;
  font-weight: 400;
  max-width: 18ch;
  margin-bottom: 28px;
}
.cta-large h2 em { font-style: italic; color: var(--gold-2); font-weight: 300; }
.cta-large p { color: rgba(244,239,227,.8); max-width: 560px; }
.cta-large .button-row { margin-top: 36px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--bone);
  padding: clamp(72px, 8vw, 110px) 0 28px;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 44px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line-dark);
}
.footer-brand .brand-mark { background: var(--bone); }
.footer-brand .brand-mark img { filter: none; }
.footer-brand .brand-text { color: var(--bone); }
.footer-brand .brand-text small { color: var(--muted-dark); }
.footer-brand p {
  margin-top: 22px;
  color: rgba(244,239,227,.7);
  max-width: 38ch;
  font-size: .94rem;
  line-height: 1.7;
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 22px;
  font-weight: 500;
}
.footer-col a {
  display: block;
  padding: 7px 0;
  color: rgba(244,239,227,.78);
  font-size: .92rem;
  transition: color .25s ease;
}
.footer-col a:hover { color: var(--bone); }
.footer-col p { color: rgba(244,239,227,.7); font-size: .9rem; line-height: 1.7; }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 14px;
  padding-top: 28px;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(244,239,227,.55);
}

/* ---------- Animations ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.6,.2,1); }
  .reveal.in { opacity: 1; transform: none; }
  .reveal-stagger > * { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.6,.2,1); }
  .reveal-stagger.in > *:nth-child(1) { opacity: 1; transform: none; transition-delay: .05s; }
  .reveal-stagger.in > *:nth-child(2) { opacity: 1; transform: none; transition-delay: .15s; }
  .reveal-stagger.in > *:nth-child(3) { opacity: 1; transform: none; transition-delay: .25s; }
  .reveal-stagger.in > *:nth-child(4) { opacity: 1; transform: none; transition-delay: .35s; }
  .reveal-stagger.in > *:nth-child(5) { opacity: 1; transform: none; transition-delay: .45s; }
  .reveal-stagger.in > *:nth-child(6) { opacity: 1; transform: none; transition-delay: .55s; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero-stats, .stats-row, .trust-row { grid-template-columns: repeat(2, 1fr); }
  .hero-stats > div, .stats-row > div, .trust-row > div { border-bottom: 1px solid var(--line); }
  .hero-stats > div:nth-child(2), .stats-row > div:nth-child(2), .trust-row > div:nth-child(2) { border-right: 0; }
  .hero-stats > div:nth-last-child(-n+2), .stats-row > div:nth-last-child(-n+2), .trust-row > div:nth-last-child(-n+2) { border-bottom: 0; }
  .method-grid { grid-template-columns: repeat(2, 1fr); }
  .method-cell { border-bottom: 1px solid var(--line); }
  .method-cell:nth-child(2n) { border-right: 0; }
  .method-cell:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 980px) {
  .menu-button { display: block; }
  .main-nav {
    position: fixed; left: 16px; right: 16px; top: 88px;
    flex-direction: column; align-items: stretch;
    background: var(--bone);
    border: 1px solid var(--line-2);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: var(--shadow-lg);
    display: none;
    gap: 0;
  }
  .main-nav.open { display: flex; }
  .main-nav > a {
    padding: 14px 12px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    font-size: 1rem;
  }
  .main-nav > a:last-child { border-bottom: 0; }
  .main-nav > a::after { display: none; }
  .header-inner { grid-template-columns: 1fr auto; }
  .nav-utility { order: 2; }
  .menu-button { order: 3; }

  .hero-grid, .editorial-split, .prono-shell, .account-grid, .contact-grid, .legal-shell, .compare-grid, .locked-shell {
    grid-template-columns: 1fr;
  }
  .hero-figure { aspect-ratio: 4/3; max-height: 480px; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .price-card.featured:hover { transform: translateY(-6px); }
  .auth-grid { grid-template-columns: 1fr; }
  .photo-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
  .photo-mosaic .m-1, .photo-mosaic .m-2, .photo-mosaic .m-3, .photo-mosaic .m-4 { grid-column: auto; grid-row: auto; }
  .photo-mosaic .m-1 { grid-column: span 2; grid-row: span 2; }
  .section-head { grid-template-columns: 1fr; gap: 20px; }
  .records-table th:nth-child(4),
  .records-table td:nth-child(4) { display: none; }
  .legal-toc { position: static; }
  .prono-side { position: static; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 32px, var(--container)); }
  .site-header .header-inner { gap: 12px; }
  .site-header .brand { gap: 10px; min-width: 0; }
  .site-header .brand-mark {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    aspect-ratio: 1 / 1;
  }
  .site-header .brand-mark img { width: 72%; height: 72%; object-fit: contain; }
  .site-header .brand-text { font-size: 1.05rem; min-width: 0; }
  .site-header .brand-text small {
    font-size: .56rem;
    letter-spacing: .12em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .site-header .nav-utility { gap: 8px; flex: 0 0 auto; }
  .site-header .account-link { padding: 8px 10px; font-size: .66rem; letter-spacing: .1em; }
  .site-header .menu-button { width: 42px; height: 42px; flex: 0 0 42px; }
  h1 { font-size: clamp(2.5rem, 11vw, 3.6rem); }
  .hero-stats, .stats-row, .trust-row { grid-template-columns: 1fr; }
  .hero-stats > div, .stats-row > div, .trust-row > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-stats > div:last-child, .stats-row > div:last-child, .trust-row > div:last-child { border-bottom: 0; }
  .method-grid { grid-template-columns: 1fr; }
  .method-cell { border-right: 0; }
  .method-cell:nth-child(2n) { border-right: 0; }
  .records-table th:nth-child(3),
  .records-table td:nth-child(3) { display: none; }
  .records-table th, .records-table td { padding: 14px 18px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .edition-inner > span:nth-child(2) { display: none; }
  .auth-card, .account-card, .contact-form { padding: 28px 24px; }
  .criteria-grid { grid-template-columns: 1fr; }
  .criteria-grid > div { border-right: 0; }
  .criteria-grid > div:nth-child(2n) { border-right: 0; }
  .criteria-grid > div:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .criteria-grid > div:last-child { border-bottom: 0; }
  .prono-body { padding: 28px 24px 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
