/* ==========================================================================
   ROULEURS DE SOLEIL (rouleursdesoleil.com) — Master Studio Stylesheet
   World: Colossal Iridescent Scarab Beetles rolling the Sun across a Pink Sand Desert
   Palette: Coral Pink Sand (#F7D6C8), Apricot Dune (#EFA885), Deep Emerald Elytra (#06231B),
            Viridian Scarab (#0E6B50), Moult Purple (#5E1B6B), Molten Sun (#FF4F12),
            Suture Gold (#D9A441), Zenith White (#FFF9F5)
   ========================================================================== */

:root {
  /* Core World Palette */
  --bg-erg-pink: #F7D6C8;
  --bg-dune-apricot: #EFA885;
  --bg-zenith-white: #FFF9F5;
  --bg-parchment-warm: #FCEEE6;

  --elytra-deep: #06231B;
  --elytra-night: #041712;
  --scarab-viridian: #0E6B50;
  --scarab-emerald-bright: #16936F;
  --moult-purple: #5E1B6B;
  --moult-violet-bright: #8B2B9E;

  --solar-molten: #FF4F12;
  --solar-amber: #FF8811;
  --suture-gold: #D9A441;
  --suture-gold-light: #F5CF7E;
  --suture-gold-dark: #9B6E1B;

  /* Text & Contrast Tokens (AAA / AA compliant) */
  --text-primary: #06231B;
  --text-secondary: #1E3F35;
  --text-muted: #46635A;
  --text-on-dark: #FFF9F5;
  --text-on-dark-muted: #D2E8E0;

  /* Typography */
  --font-display: 'Fraunces', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Layout & Compact Persistent Chrome */
  --container-max: 1380px;
  --guardrail-height: 36px;
  --header-height: 62px;
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 22px;

  /* Physics of Weight & Effort (Scarab Rolling Inertia) */
  --ease-roll: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-carapace: 0 20px 46px -14px rgba(6, 35, 27, 0.2), 0 4px 14px rgba(6, 35, 27, 0.08);
  --shadow-enamel: 0 28px 64px -16px rgba(4, 23, 18, 0.48);
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--guardrail-height) + var(--header-height) + 12px);
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding-top: calc(var(--guardrail-height) + var(--header-height));
  background-color: var(--bg-erg-pink);
  background-image:
    radial-gradient(circle at 12% 15%, rgba(255, 79, 18, 0.1) 0%, transparent 45%),
    radial-gradient(circle at 88% 40%, rgba(94, 27, 107, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, #F7D6C8 0%, #F2BEAA 50%, #F7D6C8 100%);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Subtle mineral coral-sand texture overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image: radial-gradient(rgba(6, 35, 27, 0.04) 1px, transparent 0);
  background-size: 22px 22px;
}

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

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

a {
  color: var(--scarab-viridian);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.25s var(--ease-roll);
}

a:hover {
  color: var(--solar-molten);
}

/* Accessibility Helpers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -120px;
  left: 16px;
  z-index: 9999;
  background: var(--solar-molten);
  color: var(--bg-zenith-white);
  padding: 10px 18px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
  box-shadow: var(--shadow-enamel);
}

.skip-link:focus {
  top: 46px;
}

:focus-visible {
  outline: 2px solid var(--solar-molten);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   1. SLIM PERSISTENT ANJ LEGAL WARNING BAR (Compact on Every Screen)
   ========================================================================== */
.anj-guardrail {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--guardrail-height);
  background: var(--elytra-night);
  color: var(--text-on-dark);
  border-bottom: 1px solid var(--suture-gold);
  display: flex;
  align-items: center;
}

.anj-guardrail__inner {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.72rem;
  line-height: 1.25;
}

.badge-18plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #D92323;
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid #FF9A9A;
  flex-shrink: 0;
}

.anj-guardrail__minors {
  color: var(--suture-gold-light);
}

.anj-guardrail__warning {
  margin: 0;
  text-align: center;
  color: var(--text-on-dark);
  font-weight: 500;
  flex: 1;
}

.anj-guardrail__warning a {
  color: var(--suture-gold-light);
  font-weight: 700;
}

.anj-guardrail__warning a:hover {
  color: var(--solar-molten);
}

.anj-pill {
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid var(--suture-gold);
  border-radius: 99px;
  color: var(--suture-gold-light);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  background: rgba(14, 107, 80, 0.35);
  flex-shrink: 0;
}

/* ==========================================================================
   CLEAN SINGLE-LINE STUDIO HEADER (Brand + 1 Menu Control on Phone)
   ========================================================================== */
.site-header {
  position: fixed;
  top: var(--guardrail-height);
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 950;
  background: rgba(4, 23, 18, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(217, 164, 65, 0.55);
  color: var(--text-on-dark);
}

.site-header__inner {
  width: 100%;
  max-width: var(--container-max);
  height: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-on-dark);
  flex-shrink: 0;
}

.brand-mark__emblem {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background: linear-gradient(135deg, #0E6B50 0%, #041712 100%);
  border: 1px solid var(--suture-gold);
  box-shadow: inset 0 0 10px rgba(255, 79, 18, 0.28);
  flex-shrink: 0;
}

.brand-mark__text {
  display: flex;
  flex-direction: column;
}

.brand-mark__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--bg-zenith-white);
  line-height: 1.08;
}

.brand-mark__subtitle {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--suture-gold-light);
  letter-spacing: 0.03em;
}

/* Mobile Single Menu Button (Hidden on Desktop) */
.mobile-menu-btn {
  display: none;
  appearance: none;
  background: rgba(14, 107, 80, 0.38);
  color: var(--suture-gold-light);
  border: 1px solid var(--suture-gold);
  border-radius: 99px;
  padding: 6px 13px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
  align-items: center;
  gap: 8px;
}

.mobile-menu-btn__icon {
  position: relative;
  width: 14px;
  height: 10px;
  border-top: 2px solid var(--suture-gold-light);
  border-bottom: 2px solid var(--suture-gold-light);
}

.mobile-menu-btn__icon::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--solar-molten);
}

/* Astrolabe Navigation */
.astrolabe-nav__list {
  list-style: none;
  margin: 0;
  padding: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(6, 35, 27, 0.72);
  border: 1px solid rgba(217, 164, 65, 0.45);
  border-radius: 99px;
}

.astrolabe-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 99px;
  color: var(--text-on-dark-muted);
  text-decoration: none;
  font-size: 0.81rem;
  font-weight: 600;
  transition: all 0.25s var(--ease-roll);
  white-space: nowrap;
}

.astrolabe-nav__link:hover,
.astrolabe-nav__link.is-active {
  background: linear-gradient(135deg, var(--scarab-viridian) 0%, var(--moult-purple) 100%);
  color: var(--bg-zenith-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.nav-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--suture-gold-light);
}

.nav-tag {
  font-size: 0.65rem;
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(255, 249, 245, 0.12);
  color: var(--suture-gold-light);
}

.season-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: 99px;
  background: linear-gradient(135deg, var(--solar-molten) 0%, #C93300 100%);
  border: 1px solid var(--suture-gold-light);
  font-family: var(--font-mono);
  font-size: 0.73rem;
  font-weight: 700;
  color: var(--bg-zenith-white);
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(255, 79, 18, 0.35);
}

.season-pill:hover {
  color: var(--bg-zenith-white);
  transform: translateY(-1px);
}

.season-pill__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bg-zenith-white);
}

/* ==========================================================================
   MARGINAL SOLAR MERIDIAN SCROLL TRACKER
   ========================================================================== */
.solar-meridian {
  position: fixed;
  right: 14px;
  top: 54%;
  transform: translateY(-50%);
  z-index: 90;
  pointer-events: none;
}

.solar-meridian__track {
  position: relative;
  width: 28px;
  height: 230px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.solar-meridian__svg {
  width: 24px;
  height: 180px;
}

.solar-meridian__label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--elytra-deep);
  opacity: 0.7;
  letter-spacing: 0.08em;
}

.solar-meridian__orb {
  position: absolute;
  top: 24px;
  left: 50%;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #FFF9F5 0%, #FF8811 45%, #FF4F12 100%);
  box-shadow: 0 0 12px #FF4F12, 0 0 4px #FFF9F5;
  border: 1.5px solid var(--elytra-deep);
  transition: transform 0.15s linear;
}

/* ==========================================================================
   2. FULL-BLEED FIRST SCREEN: STANDING INSIDE THE WORLD (HERO)
   ========================================================================== */
.hero-world {
  position: relative;
  width: 100%;
}

.hero-world__stage {
  position: relative;
  width: 100%;
  min-height: calc(100svh - var(--guardrail-height) - var(--header-height));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background: var(--elytra-night);
  border-bottom: 2px solid var(--suture-gold);
}

.hero-world__picture,
.hero-world__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  z-index: 1;
}

/* Dramatic cinema lighting gradient that leaves the center scarabs and sun blazing */
.hero-world__atmosphere {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(4, 23, 18, 0.84) 0%, rgba(4, 23, 18, 0.45) 44%, rgba(4, 23, 18, 0.1) 75%, rgba(4, 23, 18, 0.35) 100%),
    linear-gradient(180deg, rgba(4, 23, 18, 0.55) 0%, rgba(4, 23, 18, 0.0) 35%, rgba(4, 23, 18, 0.18) 62%, rgba(4, 23, 18, 0.94) 100%);
}

.hero-world__inner {
  position: relative;
  z-index: 3;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 32px;
  padding-bottom: 24px;
  gap: 28px;
}

.hero-world__inscription {
  max-width: 720px;
  padding-top: 12px;
}

.hero-world__coordinates {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  background: rgba(4, 23, 18, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(217, 164, 65, 0.6);
  padding: 5px 12px;
  border-radius: 99px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-on-dark);
  margin-bottom: 16px;
}

.coord-sep {
  color: var(--solar-molten);
}

.coord-chip--gold {
  color: var(--suture-gold-light);
}

.hero-world__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.4vw, 4.05rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin: 0 0 16px;
  color: var(--bg-zenith-white);
  text-shadow: 0 6px 28px rgba(0, 0, 0, 0.75), 0 2px 6px rgba(0, 0, 0, 0.6);
}

.hero-world__title em {
  font-style: italic;
  color: var(--suture-gold-light);
  text-decoration: underline;
  text-decoration-color: var(--solar-molten);
  text-decoration-thickness: 4px;
  text-underline-offset: 6px;
}

.hero-world__purpose {
  margin: 0 0 22px;
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  line-height: 1.48;
  color: var(--bg-zenith-white);
  max-width: 58ch;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85);
  background: rgba(4, 23, 18, 0.52);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-left: 3px solid var(--solar-molten);
  padding: 10px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.hero-world__gestures {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Bottom Horizon Dock inside First Screen */
.hero-horizon-dock {
  background: rgba(4, 23, 18, 0.84);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid var(--suture-gold);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-enamel);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.furrow-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.furrow-strip__label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--suture-gold-light);
  white-space: nowrap;
}

.furrow-strip__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  flex: 1;
}

.furrow-pill {
  appearance: none;
  background: rgba(255, 249, 245, 0.08);
  color: var(--text-on-dark);
  border: 1px solid rgba(217, 164, 65, 0.5);
  border-radius: 99px;
  padding: 7px 13px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s var(--ease-roll);
  white-space: nowrap;
}

.furrow-pill:hover {
  background: rgba(14, 107, 80, 0.65);
  border-color: var(--suture-gold-light);
  transform: translateY(-1px);
}

.furrow-pill.is-active {
  background: linear-gradient(135deg, var(--solar-molten) 0%, #D13200 100%);
  color: var(--bg-zenith-white);
  border-color: var(--bg-zenith-white);
  box-shadow: 0 4px 14px rgba(255, 79, 18, 0.45);
}

/* Dawn Podium Trio inside the Horizon Dock */
.hero-podium-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(217, 164, 65, 0.35);
}

.podium-gem {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 249, 245, 0.06);
  border: 1px solid rgba(217, 164, 65, 0.45);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  text-decoration: none;
  color: var(--text-on-dark);
  transition: all 0.25s var(--ease-roll);
}

.podium-gem:hover {
  background: rgba(14, 107, 80, 0.38);
  border-color: var(--suture-gold-light);
  transform: translateY(-2px);
}

.podium-gem__rank {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--suture-gold-light);
}

.podium-gem__img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  border: 1.5px solid var(--suture-gold);
  object-fit: cover;
  flex-shrink: 0;
}

.podium-gem__meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.podium-gem__meta strong {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--bg-zenith-white);
  display: flex;
  align-items: center;
  gap: 6px;
}

.podium-gem__meta em {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 0.74rem;
  color: var(--suture-gold-light);
  background: rgba(217, 164, 65, 0.2);
  padding: 1px 6px;
  border-radius: 4px;
}

.podium-gem__meta small {
  font-size: 0.73rem;
  color: var(--text-on-dark-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Cosmology & Glossary Band Directly Below First Screen */
.cosmology-band {
  background: linear-gradient(90deg, #06231B 0%, #0A382B 55%, #240B2B 100%);
  color: var(--text-on-dark);
  border-bottom: 2px solid var(--suture-gold);
  padding: 24px 0;
}

.cosmology-band__inner {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cosmology-band__story {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-on-dark-muted);
}

.cosmology-band__story strong {
  color: var(--suture-gold-light);
  font-family: var(--font-display);
}

.cosmology-glossary {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(217, 164, 65, 0.35);
}

.cosmology-glossary__term {
  background: rgba(255, 249, 245, 0.05);
  border-left: 2px solid var(--suture-gold);
  padding: 8px 12px;
  border-radius: 0 6px 6px 0;
}

.cosmology-glossary__term dt {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--suture-gold-light);
  margin-bottom: 2px;
}

.cosmology-glossary__term dd {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.42;
  color: var(--text-on-dark-muted);
}

/* ==========================================================================
   FULL-BLEED CINEMATIC WORLD PLATES (Recurring Throughout the Page)
   ========================================================================== */
.world-cinema-plate {
  position: relative;
  width: 100%;
  min-height: 440px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--elytra-night);
  border-top: 2px solid var(--suture-gold);
  border-bottom: 2px solid var(--suture-gold);
  margin-bottom: 36px;
}

.world-cinema-plate__picture,
.world-cinema-plate__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  z-index: 1;
}

.world-cinema-plate__veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(4, 23, 18, 0.15) 0%, rgba(4, 23, 18, 0.25) 38%, rgba(4, 23, 18, 0.88) 76%, rgba(4, 23, 18, 0.97) 100%);
}

.world-cinema-plate__content {
  position: relative;
  z-index: 3;
  padding-top: 80px;
  padding-bottom: 34px;
  color: var(--bg-zenith-white);
}

.plate-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--suture-gold-light);
  background: rgba(6, 35, 27, 0.78);
  border: 1px solid rgba(217, 164, 65, 0.55);
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 12px;
}

.plate-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  font-weight: 900;
  line-height: 1.08;
  margin: 0 0 12px;
  color: var(--bg-zenith-white);
  text-shadow: 0 4px 22px rgba(0, 0, 0, 0.7);
}

.plate-lead {
  margin: 0;
  font-size: clamp(0.98rem, 1.2vw, 1.12rem);
  line-height: 1.6;
  color: rgba(255, 249, 245, 0.94);
  max-width: 74ch;
}

.plate-disclosure {
  margin: 14px 0 0;
  padding: 8px 14px;
  background: rgba(6, 35, 27, 0.82);
  border-left: 3px solid var(--suture-gold);
  border-radius: 4px;
  font-size: 0.78rem;
  color: var(--text-on-dark-muted);
  max-width: 82ch;
}

.plate-disclosure span {
  color: var(--suture-gold-light);
  font-weight: 700;
  font-family: var(--font-mono);
}

/* ==========================================================================
   BUTTONS (Molten Solar CTA & Cloisonné Enamel Buttons)
   ========================================================================== */
.btn-solar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #FF6A2B 0%, #FF4F12 55%, #C93000 100%);
  color: var(--bg-zenith-white);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.94rem;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid #FFD5C2;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(255, 79, 18, 0.42);
  transition: all 0.28s var(--ease-roll);
  cursor: pointer;
  white-space: nowrap;
}

.btn-solar:hover {
  background: linear-gradient(135deg, #FF7E47 0%, #FF581B 100%);
  color: var(--bg-zenith-white);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 79, 18, 0.6);
}

.btn-solar--hero {
  font-size: 1rem;
  padding: 14px 26px;
}

.btn-solar--full {
  width: 100%;
  font-size: 0.98rem;
  padding: 13px 20px;
}

.btn-cloisonne {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(6, 35, 27, 0.82);
  backdrop-filter: blur(8px);
  color: var(--suture-gold-light);
  border: 1.5px solid var(--suture-gold);
  border-radius: var(--radius-sm);
  padding: 11px 18px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s var(--ease-roll);
  text-align: center;
}

.btn-cloisonne:hover {
  background: var(--scarab-viridian);
  color: var(--bg-zenith-white);
}

.btn-cloisonne--hero {
  padding: 14px 22px;
  font-size: 0.95rem;
}

/* ==========================================================================
   3. LA NEF DES NEUF ÉLYTRES (THE 9 OPERATORS & LARGE JEWEL EMBLEMS)
   ========================================================================== */
.comparator-section {
  padding-bottom: 64px;
}

/* Comparator Control Deck */
.comparator-controls {
  background: var(--bg-zenith-white);
  border: 1.5px solid var(--suture-gold);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 26px;
  box-shadow: var(--shadow-carapace);
}

.comparator-controls__row {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr auto;
  gap: 18px;
  align-items: end;
}

.control-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.control-group__label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--elytra-deep);
}

.cloisonne-select,
.cloisonne-input {
  width: 100%;
  padding: 10px 14px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--elytra-deep);
  background-color: var(--bg-parchment-warm);
  border: 1.5px solid var(--suture-gold);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cloisonne-select:focus,
.cloisonne-input:focus {
  border-color: var(--solar-molten);
  background-color: #FFFFFF;
}

.count-badge {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  background: var(--elytra-deep);
  color: var(--suture-gold-light);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: 1px solid var(--suture-gold);
  white-space: nowrap;
}

/* The 9 Carapace Operator Cards */
.operators-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.carapace-card {
  background: var(--bg-zenith-white);
  border: 1.5px solid var(--suture-gold);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-carapace);
  overflow: hidden;
  transition: transform 0.3s var(--ease-roll), box-shadow 0.3s var(--ease-roll);
  position: relative;
}

.carapace-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 52px -12px rgba(6, 35, 27, 0.28);
}

.carapace-card.is-featured {
  border-width: 2px;
  border-color: var(--solar-molten);
  box-shadow: 0 22px 52px -10px rgba(255, 79, 18, 0.24), var(--shadow-carapace);
}

.carapace-card.is-hidden {
  display: none !important;
}

/* Iridescent Top Ribbon of Card */
.carapace-card__ribbon {
  background: linear-gradient(90deg, var(--elytra-deep) 0%, var(--scarab-viridian) 52%, var(--moult-purple) 100%);
  color: var(--bg-zenith-white);
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  border-bottom: 1.5px solid var(--suture-gold);
  font-size: 0.8rem;
}

.carapace-card__rank {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--suture-gold-light);
  letter-spacing: 0.04em;
}

.carapace-card__myth-tag {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--bg-zenith-white);
}

.carapace-card__anj-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(4, 23, 18, 0.72);
  border: 1px solid var(--suture-gold-light);
  color: #8FF7D4;
  padding: 2px 10px;
  border-radius: 99px;
}

/* Main 3-Column Card Body with Large Jewel Emblem Showcase */
.carapace-card__main {
  padding: 26px 24px;
  display: grid;
  grid-template-columns: 270px 1fr 290px;
  gap: 28px;
  align-items: start;
}

/* Precious Studio Emblem Pedestal (Curator Note #4: Large enough to be seen & loved) */
.carapace-card__identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: linear-gradient(160deg, #072A20 0%, #041712 65%, #200926 100%);
  border: 1.5px solid var(--suture-gold);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  color: var(--bg-zenith-white);
  box-shadow: inset 0 0 24px rgba(217, 164, 65, 0.14);
}

.emblem-showcase {
  position: relative;
  width: 196px;
  height: 196px;
  border-radius: 18px;
  padding: 5px;
  background: linear-gradient(135deg, var(--suture-gold-light) 0%, var(--solar-molten) 50%, var(--moult-purple) 100%);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.55);
  margin-bottom: 14px;
  overflow: hidden;
  transition: transform 0.4s var(--ease-roll);
}

.carapace-card:hover .emblem-showcase {
  transform: scale(1.04);
}

.emblem-showcase__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}

.emblem-showcase__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 249, 245, 0.28) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.75s var(--ease-roll);
  pointer-events: none;
}

.carapace-card:hover .emblem-showcase__shine {
  transform: translateX(120%);
}

.operator-name {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 900;
  margin: 0 0 4px;
  color: var(--bg-zenith-white);
}

.operator-myth-caption {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.82rem;
  color: var(--suture-gold-light);
}

.operator-licensee {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-on-dark-muted);
}

.operator-licensee strong {
  color: #8FF7D4;
}

/* Middle Column: Verdict & Strengths */
.verdict-quote {
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--elytra-deep);
  margin: 0 0 14px;
  padding-left: 14px;
  border-left: 3px solid var(--solar-molten);
}

.strengths-list {
  margin: 0 0 16px;
  padding-left: 20px;
  font-size: 0.93rem;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.strengths-list li::marker {
  color: var(--scarab-viridian);
}

.welcome-note {
  background: rgba(239, 168, 133, 0.22);
  border: 1px dashed var(--suture-gold-dark);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.82rem;
}

.welcome-note__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--moult-purple);
  margin-bottom: 2px;
}

.welcome-note p {
  margin: 0;
  color: var(--text-secondary);
}

/* Right Column: Score, Brass Gauges & CTA */
.carapace-card__metrics {
  background: var(--bg-parchment-warm);
  border: 1px solid rgba(217, 164, 65, 0.6);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ascension-score {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(217, 164, 65, 0.45);
}

.ascension-score__circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--elytra-deep);
  border: 2px solid var(--suture-gold);
  color: var(--bg-zenith-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ascension-score__num {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
  color: var(--suture-gold-light);
}

.ascension-score__max {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-on-dark-muted);
}

.ascension-score__text {
  display: flex;
  flex-direction: column;
}

.ascension-score__text strong {
  font-family: var(--font-display);
  font-size: 0.96rem;
  color: var(--elytra-deep);
}

.ascension-score__text span {
  font-family: var(--font-mono);
  font-size: 0.73rem;
  color: var(--scarab-viridian);
}

.brass-gauges {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.brass-gauge__head {
  display: flex;
  justify-content: space-between;
  font-size: 0.76rem;
  margin-bottom: 3px;
}

.brass-gauge__head span {
  color: var(--text-secondary);
  font-weight: 600;
}

.brass-gauge__head strong {
  font-family: var(--font-mono);
  color: var(--elytra-deep);
}

.brass-gauge__track {
  height: 7px;
  background: rgba(6, 35, 27, 0.12);
  border-radius: 99px;
  overflow: hidden;
}

.brass-gauge__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--scarab-viridian) 0%, var(--moult-purple) 60%, var(--solar-molten) 100%);
  border-radius: 99px;
}

.carapace-card__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-duel-trigger {
  appearance: none;
  width: 100%;
  background: transparent;
  color: var(--elytra-deep);
  border: 1px solid var(--suture-gold-dark);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-duel-trigger:hover {
  background: var(--elytra-deep);
  color: var(--suture-gold-light);
}

/* Native HTML Drawer (<details>) */
.elytre-drawer {
  border-top: 1px solid rgba(217, 164, 65, 0.45);
  background: rgba(247, 214, 200, 0.35);
}

.elytre-drawer__summary {
  padding: 11px 24px;
  cursor: pointer;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--elytra-deep);
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
}

.elytre-drawer__summary::-webkit-details-marker {
  display: none;
}

.elytre-drawer__icon {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--scarab-viridian);
  transition: transform 0.25s ease;
}

.elytre-drawer[open] .elytre-drawer__icon {
  transform: rotate(45deg);
}

.elytre-drawer__body {
  padding: 16px 24px 20px;
  border-top: 1px dashed rgba(217, 164, 65, 0.5);
  background: var(--bg-zenith-white);
  font-size: 0.88rem;
}

.elytre-drawer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
}

.elytre-drawer__grid h4 {
  font-family: var(--font-display);
  margin: 0 0 8px;
  color: var(--elytra-deep);
}

.elytre-drawer__grid p {
  margin: 0;
  color: var(--text-secondary);
}

.reg-meta-list {
  margin: 0;
  padding-left: 18px;
  color: var(--text-secondary);
}

/* ==========================================================================
   4. SIGNATURE INTERACTION: L'INCLINOMÈTRE DE MÊLÉE (SCARAB DUEL)
   ========================================================================== */
.inclinometer-section {
  padding-bottom: 68px;
}

.inclinometer-shell {
  background: linear-gradient(165deg, #06231B 0%, #041712 60%, #1F0926 100%);
  border: 2px solid var(--suture-gold);
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: var(--text-on-dark);
  box-shadow: var(--shadow-enamel);
}

/* Rivalry Presets Bar */
.rivalry-presets {
  padding: 16px 28px;
  background: rgba(255, 249, 245, 0.04);
  border-bottom: 1px solid rgba(217, 164, 65, 0.35);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.rivalry-presets__label {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--suture-gold-light);
  margin-right: 4px;
}

.rivalry-btn {
  appearance: none;
  background: rgba(14, 107, 80, 0.32);
  color: var(--text-on-dark);
  border: 1px solid rgba(217, 164, 65, 0.5);
  border-radius: 99px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.rivalry-btn:hover,
.rivalry-btn.is-active {
  background: var(--solar-molten);
  color: var(--bg-zenith-white);
  border-color: var(--bg-zenith-white);
}

/* Inclinometer 3-Part Workbench */
.inclinometer-workbench {
  padding: 28px;
  display: grid;
  grid-template-columns: 270px 1fr 270px;
  gap: 22px;
  align-items: center;
}

.contender-pod {
  background: rgba(255, 249, 245, 0.05);
  border: 1.5px solid var(--suture-gold);
  border-radius: var(--radius-md);
  padding: 18px;
}

.contender-pod--left {
  border-top: 4px solid var(--scarab-emerald-bright);
}

.contender-pod--right {
  border-top: 4px solid var(--moult-violet-bright);
}

.contender-pod__tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--suture-gold-light);
  margin-bottom: 8px;
}

.contender-pod__body {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contender-pod__emblem {
  width: 124px;
  height: 124px;
  border-radius: 14px;
  border: 2px solid var(--suture-gold);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
  margin-bottom: 12px;
}

.contender-pod__name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin: 0 0 4px;
  color: var(--bg-zenith-white);
}

.contender-pod__myth {
  font-size: 0.8rem;
  font-style: italic;
  color: var(--suture-gold-light);
  margin: 0 0 6px;
}

.contender-pod__lic {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-on-dark-muted);
  margin: 0 0 12px;
}

.contender-pod__weighted {
  width: 100%;
  background: rgba(4, 23, 18, 0.85);
  border: 1px solid rgba(217, 164, 65, 0.45);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

.contender-pod__weighted strong {
  font-family: var(--font-mono);
  font-size: 0.96rem;
  color: var(--suture-gold-light);
}

/* Center Stage: Canvas + SVG + Sliders */
.inclinometer-stage-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.inclinometer-stage {
  position: relative;
  background: radial-gradient(circle at 50% 60%, rgba(255, 79, 18, 0.2) 0%, rgba(6, 35, 27, 0.88) 75%);
  border: 1px solid rgba(217, 164, 65, 0.55);
  border-radius: var(--radius-md);
  height: 270px;
  overflow: hidden;
  user-select: none;
}

#inclinometer-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.inclinometer-svg {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
}

#svg-tilt-beam,
#svg-solar-ball {
  transition: transform 0.55s var(--ease-roll);
}

.slope-weights {
  background: rgba(255, 249, 245, 0.05);
  border: 1px solid rgba(217, 164, 65, 0.45);
  border-radius: var(--radius-md);
  padding: 14px 18px;
}

.slope-weights__title {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--suture-gold-light);
  margin-bottom: 10px;
}

.slope-weights__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 20px;
}

.weight-slider label {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  margin-bottom: 4px;
  color: var(--text-on-dark);
}

.weight-slider label strong {
  font-family: var(--font-mono);
  color: var(--suture-gold-light);
}

input[type="range"] {
  width: 100%;
  accent-color: var(--solar-molten);
  cursor: pointer;
}

/* Duel Verdict Box */
.duel-verdict-box {
  margin: 0 28px 28px;
  background: rgba(255, 249, 245, 0.08);
  border: 1.5px solid var(--suture-gold);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.duel-verdict-box__badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--suture-gold-light);
  letter-spacing: 0.06em;
}

.duel-verdict-box__headline {
  font-family: var(--font-display);
  font-size: 1.32rem;
  margin: 4px 0 8px;
  color: var(--bg-zenith-white);
}

.duel-verdict-box__text {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-on-dark-muted);
  max-width: 72ch;
}

.duel-verdict-box__ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

/* ==========================================================================
   5. LE TRAITÉ DU ROULAGE (EDITORIAL SPORTS BETTING GUIDE & ODDS SEXTANT)
   ========================================================================== */
.treaty-section {
  padding-bottom: 68px;
}

.treaty-grid-top {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 26px;
  margin-bottom: 32px;
}

.treaty-card {
  background: var(--bg-zenith-white);
  border: 1.5px solid var(--suture-gold);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-carapace);
  display: flex;
  flex-direction: column;
}

.treaty-card__body {
  padding: 26px;
}

.chapter-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--moult-purple);
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.treaty-card__body h3 {
  font-family: var(--font-display);
  font-size: 1.44rem;
  margin: 0 0 12px;
  color: var(--elytra-deep);
}

.treaty-card__body p {
  margin: 0 0 14px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.treaty-card__body code {
  font-family: var(--font-mono);
  background: rgba(14, 107, 80, 0.12);
  color: var(--elytra-deep);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
}

.formula-plaque {
  margin-top: 14px;
  background: var(--elytra-deep);
  color: var(--suture-gold-light);
  border: 1px solid var(--suture-gold);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.formula-plaque__lbl {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
}

.formula-plaque code {
  background: rgba(255, 249, 245, 0.1);
  color: var(--bg-zenith-white);
}

/* Interactive Odds Sextant Converter */
.sextant-converter {
  background: var(--elytra-deep);
  color: var(--text-on-dark);
  border: 2px solid var(--suture-gold);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-enamel);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sextant-converter__head .chapter-num {
  color: var(--suture-gold-light);
}

.sextant-converter__head h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin: 0 0 8px;
  color: var(--bg-zenith-white);
}

.sextant-converter__head p {
  margin: 0 0 18px;
  font-size: 0.88rem;
  color: var(--text-on-dark-muted);
}

.sextant-readout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.sextant-readout__box {
  background: rgba(255, 249, 245, 0.07);
  border: 1px solid rgba(217, 164, 65, 0.5);
  border-radius: var(--radius-sm);
  padding: 10px;
  text-align: center;
}

.sextant-readout__lbl {
  display: block;
  font-size: 0.72rem;
  color: var(--text-on-dark-muted);
  margin-bottom: 4px;
}

.sextant-readout__val {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  color: var(--suture-gold-light);
}

.sextant-scale {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-on-dark-muted);
  margin-top: 4px;
}

.sextant-svg {
  width: 100%;
  height: 100px;
  margin: 14px 0;
  background: rgba(4, 23, 18, 0.65);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(217, 164, 65, 0.3);
}

.sextant-note {
  margin: 0;
  font-size: 0.83rem;
  color: var(--text-on-dark-muted);
  background: rgba(14, 107, 80, 0.25);
  padding: 10px 12px;
  border-left: 3px solid var(--solar-molten);
  border-radius: 4px;
}

/* Chapter II: 4 Sports Pantheon */
.sports-pantheon {
  background: var(--bg-parchment-warm);
  border: 1.5px solid var(--suture-gold);
  border-radius: var(--radius-md);
  padding: 28px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-carapace);
}

.sports-pantheon__header h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 20px;
  color: var(--elytra-deep);
}

.sports-pantheon__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.sport-pillar {
  background: var(--bg-zenith-white);
  border: 1px solid rgba(217, 164, 65, 0.6);
  border-radius: var(--radius-sm);
  padding: 18px;
}

.sport-pillar__icon {
  font-size: 1.65rem;
  margin-bottom: 8px;
}

.sport-pillar h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 8px;
  color: var(--elytra-deep);
}

.sport-pillar p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* Monumental Macro Feature Plate for Chapter III & IV */
.macro-feature-plate {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.macro-feature-plate__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--suture-gold);
  box-shadow: var(--shadow-enamel);
  background: var(--elytra-night);
}

.macro-feature-plate__img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  object-position: center;
}

.macro-feature-plate__caption {
  display: block;
  padding: 12px 20px;
  background: var(--elytra-deep);
  color: var(--suture-gold-light);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  border-top: 1px solid var(--suture-gold);
}

.macro-feature-plate__articles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.editorial-bullets,
.numbered-rules {
  margin: 12px 0 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   6. LE BANC D'ÉMAILLAGE (METHODOLOGY & ANJ TRANSPARENCY)
   ========================================================================== */
.methodology-section {
  padding-bottom: 68px;
}

.methodology-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.panel-heading {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin: 0 0 16px;
  color: var(--elytra-deep);
}

.criteria-weights {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.criteria-weights li {
  background: var(--bg-zenith-white);
  border: 1.5px solid var(--suture-gold);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: 0 6px 18px rgba(6, 35, 27, 0.06);
}

.criteria-weights__pct {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.95rem;
  background: var(--elytra-deep);
  color: var(--suture-gold-light);
  padding: 5px 10px;
  border-radius: 4px;
  flex-shrink: 0;
}

.criteria-weights p {
  margin: 4px 0 0;
  font-size: 0.86rem;
  color: var(--text-secondary);
}

.independence-charter {
  background: linear-gradient(165deg, #06231B 0%, #041712 100%);
  color: var(--text-on-dark);
  border: 2px solid var(--suture-gold);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-enamel);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.independence-charter .chapter-num {
  color: var(--suture-gold-light);
}

.independence-charter h3 {
  font-family: var(--font-display);
  color: var(--bg-zenith-white);
  margin: 0 0 12px;
  font-size: 1.38rem;
}

.independence-charter p {
  margin: 0 0 14px;
  font-size: 0.92rem;
  color: var(--text-on-dark-muted);
}

.independence-charter__seal {
  margin-top: 8px;
  background: rgba(14, 107, 80, 0.3);
  border: 1px solid var(--suture-gold);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
}

.independence-charter__seal p {
  margin: 0;
  color: #8FF7D4;
  font-size: 0.88rem;
}

/* ==========================================================================
   7. LES QUESTIONS DU SILLON (FAQ)
   ========================================================================== */
.section-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--suture-gold-dark);
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  font-weight: 800;
  line-height: 1.14;
  margin: 0 0 12px;
  color: var(--elytra-deep);
}

.section-desc {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.62;
  color: var(--text-secondary);
  max-width: 74ch;
}

.section-header-block {
  margin-bottom: 28px;
}

.faq-section {
  padding: 10px 0 68px;
}

.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-zenith-white);
  border: 1.5px solid var(--suture-gold);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(6, 35, 27, 0.06);
}

.faq-item__q {
  padding: 18px 22px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--elytra-deep);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  list-style: none;
}

.faq-item__q::-webkit-details-marker {
  display: none;
}

.faq-item__toggle::before {
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--solar-molten);
}

.faq-item[open] .faq-item__toggle::before {
  content: "−";
}

.faq-item__a {
  padding: 14px 22px 20px;
  border-top: 1px dashed rgba(217, 164, 65, 0.5);
  font-size: 0.94rem;
  color: var(--text-secondary);
}

.faq-item__a p {
  margin: 0;
}

/* ==========================================================================
   8. HALTE AU ZÉNITH (RESPONSIBLE GAMBLING SANCTUARY)
   ========================================================================== */
.zenith-section {
  padding-bottom: 72px;
}

.zenith-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.zenith-badge-18 {
  background: #D92323;
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
}

.zenith-badge-anj {
  background: rgba(6, 35, 27, 0.8);
  color: var(--suture-gold-light);
  border: 1px solid var(--suture-gold);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
}

.zenith-sanctuary {
  background: linear-gradient(165deg, #06231B 0%, #093529 50%, #041712 100%);
  border: 2px solid var(--suture-gold);
  border-radius: var(--radius-lg);
  padding: 32px;
  color: var(--text-on-dark);
  box-shadow: var(--shadow-enamel);
}

.zenith-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.zenith-pillar {
  background: rgba(255, 249, 245, 0.06);
  border: 1px solid rgba(217, 164, 65, 0.45);
  border-radius: var(--radius-md);
  padding: 18px;
}

.zenith-pillar h3 {
  font-family: var(--font-display);
  font-size: 1.02rem;
  color: var(--suture-gold-light);
  margin: 0 0 8px;
}

.zenith-pillar p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-on-dark-muted);
}

.zenith-pillar a {
  color: var(--suture-gold-light);
  font-weight: 700;
}

.helpline-card {
  background: rgba(4, 23, 18, 0.85);
  border: 1.5px solid var(--suture-gold);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.helpline-card__eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--suture-gold-light);
  margin-bottom: 4px;
}

.helpline-card__name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--bg-zenith-white);
}

.helpline-card__name a {
  color: var(--solar-molten);
}

.helpline-card__info p {
  margin: 4px 0 0;
  font-size: 0.86rem;
  color: var(--text-on-dark-muted);
}

.helpline-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   9. PIED DE CARAPACE (FOOTER & LEGAL MODALS)
   ========================================================================== */
.site-footer {
  background: var(--elytra-night);
  color: var(--text-on-dark-muted);
  border-top: 2px solid var(--suture-gold);
  padding: 48px 0 56px;
  font-size: 0.86rem;
}

.footer-mandate-banner {
  background: linear-gradient(90deg, rgba(14, 107, 80, 0.35) 0%, rgba(94, 27, 107, 0.35) 100%);
  border: 1.5px solid var(--suture-gold);
  border-radius: var(--radius-md);
  padding: 16px 22px;
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-mandate-banner__seal {
  font-size: 1.5rem;
  color: var(--suture-gold-light);
}

.footer-mandate-banner__text {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--bg-zenith-white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(217, 164, 65, 0.3);
}

.brand-mark--footer {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: 12px;
}

.footer-about {
  margin: 0 0 14px;
  line-height: 1.55;
}

.footer-contact-line a {
  color: var(--suture-gold-light);
  font-weight: 700;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--suture-gold-light);
  margin: 0 0 12px;
}

.footer-heading--sub {
  margin-top: 20px;
}

.footer-operator-registry,
.footer-nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.footer-operator-registry strong {
  color: var(--bg-zenith-white);
}

.footer-nav-links a {
  color: var(--text-on-dark-muted);
  text-decoration: none;
}

.footer-nav-links a:hover {
  color: var(--suture-gold-light);
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-bottom__legal-recap {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--bg-zenith-white);
}

.footer-bottom__legal-recap p {
  margin: 0;
}

.footer-bottom__legal-recap a {
  color: var(--suture-gold-light);
}

.footer-bottom__copy {
  margin: 0;
  font-size: 0.78rem;
  opacity: 0.75;
}

/* Native HTML <dialog> Legal Modals */
.cloisonne-modal {
  max-width: 680px;
  width: calc(100% - 32px);
  border: 2px solid var(--suture-gold);
  border-radius: var(--radius-md);
  background: var(--bg-zenith-white);
  color: var(--text-primary);
  padding: 0;
  box-shadow: var(--shadow-enamel);
}

.cloisonne-modal::backdrop {
  background: rgba(4, 23, 18, 0.82);
  backdrop-filter: blur(4px);
}

.cloisonne-modal__head {
  background: var(--elytra-deep);
  color: var(--bg-zenith-white);
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--suture-gold);
}

.cloisonne-modal__head h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0;
}

.cloisonne-modal__close {
  background: transparent;
  border: 1px solid var(--suture-gold);
  color: var(--suture-gold-light);
  width: 32px;
  height: 32px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
}

.cloisonne-modal__body {
  padding: 22px;
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Tablet & Phone Optimization)
   ========================================================================== */
@media (max-width: 1140px) {
  .carapace-card__main {
    grid-template-columns: 230px 1fr;
  }

  .carapace-card__metrics {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 200px 1fr 220px;
    align-items: center;
  }

  .ascension-score {
    border-bottom: none;
    border-right: 1px solid rgba(217, 164, 65, 0.4);
    padding-bottom: 0;
    padding-right: 12px;
  }

  .inclinometer-workbench {
    grid-template-columns: 1fr;
  }

  .sports-pantheon__grid,
  .zenith-pillars,
  .cosmology-glossary {
    grid-template-columns: repeat(2, 1fr);
  }

  .solar-meridian {
    display: none;
  }
}

@media (max-width: 820px) {
  :root {
    --guardrail-height: 38px;
    --header-height: 54px;
  }

  .container {
    padding: 0 14px;
  }

  /* Compact Single-Line Legal Bar on Phone (Curator Note #2) */
  .anj-guardrail__inner {
    padding: 0 10px;
    gap: 8px;
    font-size: 0.63rem;
    line-height: 1.18;
  }

  .anj-pill {
    display: none;
  }

  /* Clean Single-Line Header on Phone: Brand + 1 Menu Button (Curator Note #3) */
  .site-header__inner {
    padding: 0 14px;
  }

  .brand-mark__subtitle,
  .site-header__cta {
    display: none;
  }

  .brand-mark__emblem {
    width: 34px;
    height: 34px;
  }

  .brand-mark__title {
    font-size: 1.08rem;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .astrolabe-nav {
    position: fixed;
    top: calc(var(--guardrail-height) + var(--header-height));
    left: 0;
    right: 0;
    background: rgba(4, 23, 18, 0.98);
    border-bottom: 2px solid var(--suture-gold);
    padding: 14px;
    box-shadow: var(--shadow-enamel);
    display: none;
  }

  .astrolabe-nav.is-open {
    display: block;
  }

  .astrolabe-nav__list {
    flex-direction: column;
    align-items: stretch;
    border-radius: var(--radius-md);
    padding: 8px;
  }

  .astrolabe-nav__link {
    padding: 10px 14px;
    font-size: 0.9rem;
    justify-content: space-between;
  }

  /* First Screen on Phone: Full-Bleed Vertical Key Art Owns the Screen (Curator Note #1) */
  .hero-world__stage {
    min-height: calc(100svh - var(--guardrail-height) - var(--header-height));
  }

  .hero-world__img {
    object-position: center 28%;
  }

  .hero-world__atmosphere {
    background:
      linear-gradient(180deg, rgba(4, 23, 18, 0.58) 0%, rgba(4, 23, 18, 0.08) 34%, rgba(4, 23, 18, 0.35) 62%, rgba(4, 23, 18, 0.95) 100%);
  }

  .hero-world__inner {
    padding-top: 16px;
    padding-bottom: 16px;
    gap: 18px;
  }

  .hero-world__coordinates {
    font-size: 0.62rem;
    padding: 4px 10px;
    margin-bottom: 10px;
  }

  .hero-world__title {
    font-size: clamp(1.75rem, 7vw, 2.35rem);
    margin-bottom: 10px;
  }

  .hero-world__purpose {
    font-size: 0.9rem;
    padding: 8px 12px;
    margin-bottom: 14px;
  }

  .btn-solar--hero,
  .btn-cloisonne--hero {
    width: 100%;
    padding: 11px 16px;
    font-size: 0.88rem;
  }

  .hero-horizon-dock {
    padding: 12px;
    gap: 10px;
  }

  .furrow-strip__pills {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    width: 100%;
  }

  .hero-podium-trio {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .world-cinema-plate {
    min-height: 320px;
    margin-bottom: 24px;
  }

  .world-cinema-plate__content {
    padding-top: 48px;
    padding-bottom: 22px;
  }

  .cosmology-glossary,
  .comparator-controls__row,
  .carapace-card__main,
  .carapace-card__metrics,
  .elytre-drawer__grid,
  .treaty-grid-top,
  .macro-feature-plate__articles,
  .methodology-grid,
  .sports-pantheon__grid,
  .zenith-pillars,
  .slope-weights__grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .carapace-card__main {
    padding: 18px 16px;
    gap: 18px;
  }

  /* Keep the Studio Jewel Emblem large & proud on Phone */
  .emblem-showcase {
    width: 176px;
    height: 176px;
  }

  .ascension-score {
    border-right: none;
    border-bottom: 1px solid rgba(217, 164, 65, 0.4);
    padding-bottom: 12px;
  }

  .duel-verdict-box {
    margin: 0 14px 18px;
    flex-direction: column;
    align-items: stretch;
  }

  .inclinometer-workbench {
    padding: 16px 14px;
  }

  .zenith-sanctuary {
    padding: 20px 16px;
  }
}

/* ==========================================================================
   PREFERS-REDUCED-MOTION CALM ZENITH MODE
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
