/* ═════════════════════════════════════════════════
   THE SOVEREIGNS — Ember on Stone Design System
   "Seeking the spark of sovereignty in all of us"
   ═════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=EB+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Inter:wght@300;400;500;600&display=swap');

:root {
  /* ── Stone Canvas ── */
  --void: #070608;
  /* Stone black, pre-dawn */
  --deep: #0D0B0E;
  --midnight: #130F14;
  --dusk: #1C1720;
  --surface: #231E28;
  --surface-2: #2E2836;

  /* ── Sovereign Gold (warm, not neon) ── */
  --gold: #C9A84C;
  /* Burnished gold */
  --gold-bright: #E8C96A;
  /* Bright gold, flame tip */
  --gold-pale: #F5E6B5;
  /* Parchment glimmer */
  --gold-dim: rgba(201, 168, 76, 0.4);
  --gold-glow: rgba(201, 168, 76, 0.12);
  --gold-border: rgba(201, 168, 76, 0.3);

  /* ── Ember to Sun arc ── */
  --ember: #B87333;
  /* Copper ember */
  --flame: #D4803A;
  /* Active flame */
  --sun: #FFF1AA;
  /* Solar radiance */

  /* ── Gradients ── */
  --grad-spark: linear-gradient(90deg, var(--ember) 0%, var(--gold) 40%, var(--gold-bright) 70%, var(--sun) 100%);
  --grad-gold: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 50%, var(--ember) 100%);
  --grad-soft: linear-gradient(135deg, rgba(184, 115, 51, 0.15) 0%, rgba(201, 168, 76, 0.15) 50%, rgba(184, 115, 51, 0.1) 100%);
  --grad-text: linear-gradient(90deg, var(--gold-bright) 0%, var(--gold) 100%);
  --grad-radial-gold: radial-gradient(ellipse 50% 50% at 50% 100%, rgba(201, 168, 76, 0.18) 0%, transparent 70%);

  /* ── Premium Readability (warm tones) ── */
  --text-primary: #EDE8DC;
  /* Warm parchment cream */
  --text-secondary: #C4BAA8;
  /* Warm stone grey */
  --text-muted: #9C9185;
  /* Muted warm grey */
  --text-whisper: #6E6560;
  /* Whisper, legible on dark */

  /* ── Borders & Accents ── */
  --border: rgba(201, 168, 76, 0.15);
  --border-hover: rgba(201, 168, 76, 0.4);
  --border-stone: rgba(237, 232, 220, 0.08);

  /* ── Typography ── */
  --font-display: 'Cinzel', 'Georgia', serif;
  --font-serif: 'EB Garamond', 'Georgia', serif;
  --font-body: 'Inter', 'Helvetica Neue', sans-serif;

  /* ── Layout ── */
  --container: 1120px;
  --container-text: 68ch;
  /* reading column ≈ 65–75 chars */
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --section-pad: clamp(90px, 13vh, 160px);

  /* ── Spacing rhythm ── */
  --space-xs: 0.35rem;
  --space-sm: 0.65rem;
  --space-md: 1.1rem;
  --space-lg: 1.75rem;
  --space-xl: 2.75rem;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--void);
  color: var(--text-primary);
  font-family: var(--font-serif);
  /* EB Garamond as the primary reading font */
  font-size: 18px;
  font-weight: 400;
  line-height: 1.75;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.02em;
}

/* ── Fluid type scale ── */
h1 {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.75rem);
}

h3 {
  font-size: clamp(1.05rem, 2.2vw, 1.45rem);
}

p {
  color: var(--text-secondary);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: var(--container-text);
}

/* ── Vertical rhythm ── */
h2+p,
h3+p {
  margin-top: 0.55em;
}

p+p {
  margin-top: 0.9em;
}

p.no-max {
  max-width: none;
  /* escape hatch for centered/layout text */
}

strong {
  color: var(--text-primary);
  font-weight: 600;
}

em {
  color: var(--gold-bright);
  font-style: italic;
}

ol,
ul {
  list-style: none;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.25s;
}

a:hover {
  color: var(--gold-bright);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}

/* ─── Section Labels ──────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  background: var(--grad-text);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shift-gradient 8s linear infinite;
  margin-bottom: 20px;
}

.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--grad-spark);
  opacity: 0.7;
  flex-shrink: 0;
}

@keyframes shift-gradient {
  0% {
    background-position: 0% center;
  }

  100% {
    background-position: 200% center;
  }
}

.section-header {
  text-align: center;
  margin-bottom: clamp(44px, 6vw, 76px);
}

.section-title {
  font-size: clamp(1.75rem, 3.8vw, 2.75rem);
  color: var(--text-primary);
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 1rem;
  font-family: var(--font-serif);
  color: var(--text-secondary);
  max-width: 65ch;
  margin: 0 auto;
  font-style: italic;
}

/* ─── Reveal Animations ───────────────────── */
.reveal,
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}

.reveal.visible,
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in.delay-1 {
  transition-delay: 0.18s;
}

.fade-in.delay-2 {
  transition-delay: 0.38s;
}

.fade-in.delay-3 {
  transition-delay: 0.58s;
}

.fade-in.delay-4 {
  transition-delay: 0.78s;
}

.reveal.delay-1 {
  transition-delay: 0.08s;
}

.reveal.delay-2 {
  transition-delay: 0.18s;
}

.reveal.delay-3 {
  transition-delay: 0.28s;
}

.reveal.delay-4 {
  transition-delay: 0.38s;
}

.reveal.delay-5 {
  transition-delay: 0.48s;
}

/* ════════════════════════════════════════════
   NAVIGATION
════════════════════════════════════════════ */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 22px clamp(20px, 5vw, 48px);
  transition: background 0.5s, padding 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}

#nav.scrolled {
  background: rgba(4, 3, 14, 0.82);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  padding: 14px clamp(20px, 5vw, 48px);
  border-bottom-color: var(--border);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
}

.wordmark-the {
  font-family: var(--font-body);
  font-size: 0.55rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 2px;
}

.wordmark-sovereigns {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.06em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  transition: color 0.25s;
}

.nav-links a:hover {
  color: var(--text-primary);
}

/* Nav CTA — soft aurora pill */
.nav-cta {
  padding: 10px 20px !important;
  min-height: 44px;
  background: rgba(212, 175, 55, 0.08) !important;
  border: 1px solid rgba(212, 175, 55, 0.3) !important;
  border-radius: 40px !important;
  color: var(--gold) !important;
  font-family: var(--font-display) !important;
  font-size: inherit !important;
  font-weight: 500 !important;
  letter-spacing: inherit !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  cursor: pointer !important;
  transition: background 0.3s, border-color 0.3s, color 0.3s !important;
  display: inline-flex !important;
  align-items: center !important;
}

.nav-cta:hover {
  background: rgba(212, 175, 55, 0.16) !important;
  border-color: rgba(212, 175, 55, 0.6) !important;
  color: var(--gold-bright) !important;
}


/* ════════════════════════════════════════════
   HAMBURGER BUTTON
════════════════════════════════════════════ */
#nav-toggle {
  display: none;
  /* shown only on mobile */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  transition: background 0.2s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  z-index: 110;
}

#nav-toggle:hover {
  background: rgba(201, 168, 76, 0.08);
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.25s ease,
    width 0.3s ease;
  transform-origin: center;
}

/* Animate bars into × when nav is open */
#nav.nav-open #nav-toggle .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

#nav.nav-open #nav-toggle .nav-toggle-bar:nth-child(2) {
  opacity: 0;
  width: 0;
}

#nav.nav-open #nav-toggle .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ════════════════════════════════════════════
   MOBILE NAV DRAWER
════════════════════════════════════════════ */
@media (max-width: 720px) {
  #nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    background: rgba(7, 6, 8, 0.97);
    backdrop-filter: blur(24px) saturate(1.3);
    -webkit-backdrop-filter: blur(24px) saturate(1.3);
    border-bottom: 1px solid var(--gold-border);
    pointer-events: none;
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
    z-index: 105;
  }

  #nav.nav-open .nav-links {
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0);
  }

  .nav-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 60px;
    font-family: var(--font-display);
    font-size: 1.1rem;
    letter-spacing: 0.12em;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
    padding: 0 40px;
    text-align: center;
  }

  .nav-links a:hover,
  .nav-links a:active {
    color: var(--gold-bright);
    background: rgba(201, 168, 76, 0.05);
  }

  .nav-cta {
    margin-top: 24px !important;
    font-size: 1rem !important;
    letter-spacing: 0.1em !important;
    border-bottom: none !important;
  }
}

/* ════════════════════════════════════════════
   MOBILE TYPOGRAPHY OVERRIDES
════════════════════════════════════════════ */
@media (max-width: 760px) {

  /* Reduce tracking on headings — prevents crowding on narrow screens */
  h1,
  h2,
  h3 {
    letter-spacing: 0.01em;
  }

  /* Section labels — less letterspace on narrow widths */
  .section-label {
    font-size: 0.7rem;
    letter-spacing: 0.18em;
  }

  /* Body paragraphs — remove reading-column limit on mobile so text fills the screen */
  p {
    max-width: none;
  }
}

/* ════════════════════════════════════════════
   HERO
════════════════════════════════════════════ */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  background: var(--void);
}

/* Gold + Blue god-ray — unified with the Temple section */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(212, 175, 55, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 15% 40%, rgba(0, 163, 255, 0.09) 0%, transparent 55%),
    radial-gradient(ellipse 50% 60% at 85% 40%, rgba(0, 163, 255, 0.07) 0%, transparent 55%),
    radial-gradient(ellipse 40% 40% at 50% 90%, rgba(11, 17, 23, 1) 0%, transparent 100%);
  pointer-events: none;
  animation: hero-ray-drift 20s ease-in-out infinite alternate;
}

#hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 220px;
  background: linear-gradient(to bottom, transparent, var(--void));
  pointer-events: none;
  z-index: 1;
}

@keyframes hero-ray-drift {
  0% {
    opacity: 0.8;
    transform: scale(1) translateY(0);
  }

  50% {
    opacity: 1;
    transform: scale(1.03) translateY(-8px);
  }

  100% {
    opacity: 0.85;
    transform: scale(1.01) translateY(4px);
  }
}

@keyframes aurora-drift {
  0% {
    opacity: 0.75;
    transform: scale(1) translateY(0);
  }

  50% {
    opacity: 1;
    transform: scale(1.04) translateY(-10px);
  }

  100% {
    opacity: 0.8;
    transform: scale(1.02) translateY(5px);
  }
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.45;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  padding: 140px clamp(20px, 5vw, 48px) 100px;
}

/* ── Emblem ── */
.hero-emblem {
  position: relative;
  width: 90px;
  height: 90px;
  margin: 0 auto 40px;
}

.emblem-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid;
}

.emblem-ring-1 {
  border-color: rgba(212, 175, 55, 0.55);
  animation: ring-breathe 6s ease-in-out infinite;
}

.emblem-ring-2 {
  inset: 12px;
  border-color: rgba(0, 163, 255, 0.45);
  animation: ring-breathe 6s ease-in-out 0.8s infinite;
}

.emblem-ring-3 {
  inset: 24px;
  border-color: rgba(212, 175, 55, 0.3);
  animation: ring-breathe 6s ease-in-out 1.6s infinite;
}

.emblem-center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--gold-bright);
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
  animation: emblem-pulse-gold 5s ease-in-out infinite;
}

@keyframes emblem-pulse-gold {

  0%,
  100% {
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
  }

  50% {
    text-shadow: 0 0 40px rgba(212, 175, 55, 0.9), 0 0 80px rgba(0, 163, 255, 0.2);
  }
}

@keyframes ring-breathe {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.75;
  }

  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@keyframes emblem-pulse {

  0%,
  100% {
    filter: blur(0px) drop-shadow(0 0 6px rgba(212, 175, 55, 0.4));
  }

  50% {
    filter: blur(0px) drop-shadow(0 0 20px rgba(212, 175, 55, 0.8));
  }
}

/* ── Hero Text ── */
.hero-eyebrow {
  font-size: 0.66rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.85;
  margin-bottom: 24px;
  font-family: var(--font-body);
  text-shadow: 0 0 12px rgba(212, 175, 55, 0.3);
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: clamp(2rem, 5.5vw, 3.8rem);
  font-weight: 700;
  letter-spacing: 0.035em;
  color: var(--text-primary);
  margin-bottom: 30px;
}

.title-line-accent {
  background: linear-gradient(90deg, var(--ember) 0%, var(--gold-bright) 50%, var(--sun) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shift-gradient 6s linear infinite;
  filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.4));
}

.hero-subtext {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2vw, 1.18rem);
  color: var(--text-secondary);
  max-width: 60ch;
  margin: 0 auto 56px;
  line-height: 1.82;
  font-style: italic;
}

/* ── Hero CTA Buttons ── */
.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  min-height: 44px;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--obsidian);
  appearance: none;
  -webkit-appearance: none;
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 60%, #c9a227 100%);
  border: 1px solid rgba(212, 175, 55, 0.6);
  border-radius: 40px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.4s var(--ease-out);
  box-shadow: 0 4px 24px rgba(212, 175, 55, 0.25), 0 0 0 0 rgba(212, 175, 55, 0);
  position: relative;
  overflow: hidden;
}

.btn-hero-primary::after {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--gold-bright), var(--elec-blue), var(--gold));
  border-radius: inherit;
  opacity: 0;
  z-index: -1;
  filter: blur(12px);
  transition: opacity 0.4s;
}

.btn-hero-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 40px rgba(212, 175, 55, 0.4), 0 0 60px rgba(212, 175, 55, 0.15);
  color: var(--obsidian);
}

.btn-hero-primary:hover::after {
  opacity: 0.5;
}

.btn-hero-icon {
  font-size: 1.1em;
}

.btn-hero-ghost {
  display: inline-flex;
  align-items: center;
  padding: 15px 32px;
  min-height: 44px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 40px;
  text-decoration: none;
  transition: all 0.35s var(--ease-out);
}

.btn-hero-ghost:hover {
  color: var(--gold);
  border-color: rgba(212, 175, 55, 0.5);
  background: rgba(212, 175, 55, 0.05);
  transform: translateY(-1px);
}

.hero-scroll-indicator {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  color: var(--text-muted);
  transition: color 0.35s;
}

.hero-scroll-indicator:hover {
  color: var(--purple-soft);
}

.scroll-label {
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.scroll-arrow {
  animation: bob 2.5s ease-in-out infinite;
}

@keyframes bob {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(8px)
  }
}

/* ════════════════════════════════════════════
   STATS
════════════════════════════════════════════ */
#the-problem {
  padding: var(--section-pad) 0;
  background: var(--deep);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
}

#the-problem::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 10% 50%, rgba(0, 163, 255, 0.04) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 50%, rgba(0, 163, 255, 0.04) 0%, transparent 55%);
  pointer-events: none;
}

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

.stat-card {
  text-align: center;
  padding: 44px 20px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-top: 2px solid rgba(212, 175, 55, 0.35);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(11, 17, 23, 0.95) 0%, rgba(7, 6, 23, 0.98) 100%);
  backdrop-filter: blur(16px);
  transition: border-color 0.4s, transform 0.4s var(--ease-out), box-shadow 0.4s;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: radial-gradient(ellipse 80% 100% at 50% 0%, rgba(212, 175, 55, 0.07) 0%, transparent 100%);
  pointer-events: none;
}

.stat-card:hover {
  border-color: rgba(212, 175, 55, 0.5);
  border-top-color: rgba(212, 175, 55, 0.8);
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(212, 175, 55, 0.08);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.8vw, 3.6rem);
  font-weight: 700;
  color: var(--gold-bright);
  text-shadow: 0 0 30px rgba(212, 175, 55, 0.35);
  line-height: 1;
  margin-bottom: 16px;
}

.stat-unit {
  font-size: 0.55em;
  color: var(--gold);
  opacity: 0.8;
}

.stat-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-family: var(--font-serif);
}

.stats-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.35;
  letter-spacing: 0.01em;
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}

.stats-section-title em {
  background: var(--grad-spark);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: normal;
}


/* ════════════════════════════════════════════
   WORLD BLOCKS — The World We Are Changing
════════════════════════════════════════════ */
.world-block {
  border: 1px solid var(--gold-border);
  border-radius: 16px;
  background: var(--surface);
  overflow: hidden;
  margin-bottom: 32px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.world-block:hover {
  border-color: rgba(201, 168, 76, 0.4);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(184, 115, 51, 0.06);
}

/* ── Expand/collapse button header ── */
.world-block-header {
  display: grid;
  grid-template-columns: 44px auto 1fr auto;
  align-items: center;
  gap: 16px 20px;
  width: 100%;
  padding: 24px 32px;
  border: none;
  border-bottom: 1px solid var(--gold-border);
  background: linear-gradient(90deg, rgba(184, 115, 51, 0.06) 0%, transparent 60%);
  cursor: pointer;
  text-align: left;
  transition: background 0.25s ease;
}

.world-block-header:hover {
  background: linear-gradient(90deg, rgba(184, 115, 51, 0.11) 0%, transparent 60%);
}

.world-block-header[aria-expanded="true"] {
  border-bottom-color: transparent;
}

.wb-summary {
  grid-column: 3;
  font-family: var(--font-serif);
  font-size: 0.97rem;
  line-height: 1.55;
  color: var(--text-muted);
  transition: color 0.25s ease;
}

.world-block-header:hover .wb-summary {
  color: var(--text-secondary);
}

.wb-expand-icon {
  grid-column: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--gold-border);
  border-radius: 50%;
  font-size: 1.1rem;
  color: var(--gold);
  font-weight: 300;
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    background 0.25s ease,
    border-color 0.25s ease;
  line-height: 1;
}

.world-block-header[aria-expanded="true"] .wb-expand-icon {
  transform: rotate(45deg);
  background: rgba(201, 168, 76, 0.1);
  border-color: rgba(201, 168, 76, 0.4);
}

/* ── Animated detail panel ── */
.world-block-detail {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.world-block-detail.wb-open {
  grid-template-rows: 1fr;
}

.world-block-detail>* {
  overflow: hidden;
  padding: 0 32px;
  transition: padding 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.world-block-detail.wb-open>* {
  padding: 28px 32px 32px;
}

.world-block-detail>*>p:first-child {
  font-size: 1.05rem;
  line-height: 1.78;
  color: var(--text-secondary);
  max-width: 80ch;
  margin-bottom: 28px;
}


.world-block-number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ember);
  opacity: 0.7;
  min-width: 36px;
}

.world-block-title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold-bright);
  margin: 0;
}

.world-block-body {
  padding: 32px 36px 36px;
}

.world-block-body>p {
  font-size: 1.05rem;
  line-height: 1.78;
  color: var(--text-secondary);
  max-width: 80ch;
  margin-bottom: 32px;
}

.world-block-body>p em {
  color: var(--gold);
  font-style: normal;
}

/* ── Threat Grid (Part 1) ── */
.threat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.threat-item {
  background: rgba(184, 115, 51, 0.05);
  border: 1px solid rgba(184, 115, 51, 0.2);
  border-top: 2px solid rgba(184, 115, 51, 0.6);
  border-radius: 10px;
  padding: 20px;
  transition: background 0.3s ease;
}

.threat-item:hover {
  background: rgba(184, 115, 51, 0.09);
}

.threat-icon {
  font-size: 1.3rem;
  margin-bottom: 10px;
  opacity: 0.7;
  color: var(--ember);
}

.threat-label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: 600;
}

.threat-desc {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* ── Flip Table (Part 2) ── */
.flip-table {
  border: 1px solid var(--gold-border);
  border-radius: 10px;
  overflow: hidden;
}

.flip-row {
  display: grid;
  grid-template-columns: 90px 1fr 28px 1fr;
  align-items: start;
  gap: 0;
  border-bottom: 1px solid var(--gold-border);
  transition: background 0.3s ease;
}

.flip-row:last-child {
  border-bottom: none;
}

.flip-row:hover:not(.flip-row-header) {
  background: rgba(201, 168, 76, 0.04);
}

.flip-row-header {
  background: rgba(184, 115, 51, 0.08);
}

.flip-col {
  padding: 14px 18px;
  font-family: var(--font-serif);
  font-size: 0.97rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.flip-col-domain {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold);
  border-right: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
}

.flip-col-old {
  color: var(--text-muted);
  border-right: 1px solid var(--gold-border);
  font-style: italic;
}

.flip-col-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--gold);
  padding: 14px 8px;
  border-right: 1px solid var(--gold-border);
}

.flip-col-new {
  color: var(--text-primary);
}

.flip-row-header .flip-col {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-bright);
  font-weight: 700;
  font-style: normal;
  padding: 12px 18px;
}

/* ── Physical Pillars (Part 3) ── */
.physical-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.physical-pillar {
  background: var(--surface-2);
  border: 1px solid var(--gold-border);
  border-radius: 12px;
  padding: 24px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.physical-pillar:hover {
  border-color: rgba(201, 168, 76, 0.5);
  transform: translateY(-3px);
}

.physical-pillar-center {
  border-color: rgba(201, 168, 76, 0.4);
  background: linear-gradient(160deg, rgba(184, 115, 51, 0.09) 0%, var(--surface-2) 100%);
}

.physical-pillar-icon {
  font-size: 1.6rem;
  margin-bottom: 14px;
  line-height: 1;
}

.physical-pillar-title {
  font-family: var(--font-display);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  color: var(--gold-bright);
  text-transform: uppercase;
  margin: 0 0 12px;
  font-weight: 700;
}

.physical-pillar-desc {
  font-family: var(--font-serif);
  font-size: 0.97rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0;
}

.physical-pillar-desc strong {
  color: var(--gold);
  font-weight: 600;
}

.physical-pillar-desc em {
  color: var(--gold-bright);
  font-style: italic;
}

/* ── Hub Vision (Part 4) ── */
.world-block-cta {
  border-color: rgba(201, 168, 76, 0.35);
  background: linear-gradient(135deg, rgba(184, 115, 51, 0.07) 0%, var(--surface) 60%);
}

.hub-vision {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: center;
}

.hub-stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 700;
  background: var(--grad-spark);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 8px;
}

.hub-stat-label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 6px;
}

.hub-stat-desc {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.hub-vision-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin: 0;
}

.hub-vision-text em {
  color: var(--gold-bright);
  font-style: italic;
}

/* ── Responsive overrides ── */
@media (max-width: 768px) {

  .threat-grid,
  .physical-pillars {
    grid-template-columns: 1fr;
  }

  /* Flip table — stack as cards on mobile */
  .flip-row {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
  }

  /* Hide header row — card layout is self-describing */
  .flip-row.flip-row-header {
    display: none !important;
  }

  .flip-col-domain {
    border-right: none;
    border-bottom: 1px solid var(--gold-border);
    padding: 10px 16px;
    font-size: 0.72rem;
  }

  .flip-col-old {
    border-right: none;
    padding: 12px 16px 8px;
    font-size: 0.93rem;
    color: var(--text-muted);
  }

  .flip-col-arrow {
    display: flex;
    justify-content: flex-start;
    padding: 0 16px;
    font-size: 1rem;
    color: var(--gold);
    border-right: none;
  }

  .flip-col-new {
    padding: 8px 16px 14px;
    font-size: 0.97rem;
    color: var(--text-primary);
    background: rgba(201, 168, 76, 0.04);
    border-top: 1px solid var(--gold-border);
  }

  .hub-vision {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .world-block-header {
    /* Switch to 2-row stacked layout on mobile */
    grid-template-columns: 44px 1fr auto;
    grid-template-rows: auto auto;
    padding: 18px 20px;
    min-height: 56px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  .world-block-header .world-block-number {
    grid-column: 1;
    grid-row: 1;
  }

  .world-block-header .world-block-title {
    grid-column: 2;
    grid-row: 1;
  }

  .wb-expand-icon {
    grid-column: 3;
    grid-row: 1;
  }

  .wb-summary {
    grid-column: 1 / -1;
    grid-row: 2;
    padding-top: 8px;
    font-size: 0.9rem;
  }

  .world-block-body {
    padding: 20px 20px 24px;
  }
}

/* ════════════════════════════════════════════
   MISSION
════════════════════════════════════════════ */
#mission {
  position: relative;
  padding: var(--section-pad) 0;
  overflow: hidden;
}

#mission::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 70% at 10% 50%, rgba(15, 59, 140, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 70% at 90% 30%, rgba(75, 26, 122, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 50% 90%, rgba(140, 15, 26, 0.06) 0%, transparent 55%);
  pointer-events: none;
}

.mission-bg {
  display: none;
}

/* replaced by ::before */

.mission-content {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 52px;
}

.mission-quote {
  position: relative;
  padding: 40px 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(26, 21, 64, 0.6) 0%, rgba(7, 6, 23, 0.8) 100%);
  border: 1px solid var(--border);
  overflow: hidden;
}

.mission-quote::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad-aurora);
  opacity: 0.6;
}

.mission-quote p {
  font-family: var(--font-serif);
  font-size: clamp(1.08rem, 2vw, 1.45rem);
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.62;
  font-style: italic;
  margin-bottom: 20px;
  opacity: 0.9;
}

.mission-quote-source {
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.7;
}

.constitution-teaser {
  margin-top: 16px;
}

.constitution-link {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s, color 0.3s;
}

.constitution-link:hover {
  opacity: 1;
  color: var(--gold-bright);
}

.mission-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mission-declaration {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  color: var(--text-primary) !important;
  text-align: center;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.mission-thesis {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  text-align: center;
  margin: 32px auto 48px auto;
  letter-spacing: 0.02em;
  line-height: 1.15;
  background: linear-gradient(180deg, var(--text-primary) 0%, var(--gold-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  max-width: 800px;
  filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.25));
}

.mission-body p {
  font-family: var(--font-serif);
  font-size: 1.03rem;
  color: var(--text-secondary);
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.88;
}

/* ════════════════════════════════════════════
   WHAT WE BUILD
════════════════════════════════════════════ */
#what-we-build {
  padding: var(--section-pad) 0;
  background: var(--deep);
  border-top: 1px solid var(--border);
  position: relative;
}

#what-we-build::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(212, 175, 55, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

/* ═══════════════════════════════════════
   THE SOVEREIGNS TEMPLE — Cinematic Theme
   Radiant Gold + Electric Blue
═══════════════════════════════════════ */

/* CSS custom properties for majestic temple theme */
:root {
  --gold-dim: rgba(212, 175, 55, 0.4);
  --gold-glow: rgba(212, 175, 55, 0.15);
  --gold-border: rgba(212, 175, 55, 0.35);
  --royal-blue-dim: rgba(15, 59, 140, 0.25);
  --royal-blue-glow: rgba(15, 59, 140, 0.12);
  --obsidian: #05060A;
  /* Deepest black */
}

/* Temple Wrapper */
.temple-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 1160px;
  margin: 0 auto;
  position: relative;
}

/* God-ray backdrop — stronger, more cinematic */
.temple-godray {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(212, 175, 55, 0.14) 0%, transparent 65%),
    radial-gradient(ellipse 45% 40% at 20% 50%, rgba(15, 59, 140, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse 45% 40% at 80% 50%, rgba(140, 15, 26, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse 50% 30% at 50% 100%, rgba(212, 175, 55, 0.06) 0%, transparent 60%);
}

/* ─── ROOF / ARCHITRAVE ─── */
.temple-roof {
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, rgba(14, 20, 28, 0.99) 0%, rgba(11, 17, 23, 0.95) 100%);
  border: 1px solid var(--gold-border);
  border-bottom: none;
  border-radius: 20px 20px 0 0;
  padding: 44px 60px 36px;
  text-align: center;
  box-shadow:
    0 -15px 40px -10px rgba(212, 175, 55, 0.08),
    inset 0 1px 0 rgba(212, 175, 55, 0.2);
}

.temple-roof::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--royal-blue), var(--gold), transparent);
  border-radius: 16px 16px 0 0;
  opacity: 0.8;
}

.temple-roof-inner {
  max-width: 800px;
  margin: 0 auto;
}

.temple-roof-label {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(212, 175, 55, 0.55);
  margin-bottom: 24px;
}

.temple-roof-services {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.service-node {
  padding: 14px 32px;
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 8px;
  background: rgba(212, 175, 55, 0.07);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--gold-bright);
  white-space: nowrap;
  transition: background 0.3s, box-shadow 0.3s, transform 0.3s;
  position: relative;
  z-index: 2;
  text-transform: uppercase;
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.service-node:hover {
  background: rgba(212, 175, 55, 0.15);
  box-shadow: 0 0 28px rgba(212, 175, 55, 0.25), 0 0 60px rgba(212, 175, 55, 0.08);
  transform: translateY(-3px);
  border-color: rgba(212, 175, 55, 0.7);
}

.service-link {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.3), rgba(0, 163, 255, 0.4), rgba(212, 175, 55, 0.3));
  min-width: 16px;
  max-width: 56px;
}

/* ─── PILLARS ─── */
.temple-pillars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
  z-index: 2;
}

.pillar-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 16px 0;
  background: linear-gradient(180deg, rgba(12, 19, 26, 0.97) 0%, rgba(8, 13, 20, 0.99) 100%);
  border-left: 1px solid rgba(212, 175, 55, 0.28);
  border-right: 1px solid rgba(212, 175, 55, 0.28);
  transition: background 0.5s;
  cursor: default;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 100% 60% at 50% 0%, var(--gold-glow) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s;
}

.pillar-card:hover::before {
  opacity: 1;
}

.pillar-card:hover {
  background: linear-gradient(180deg, rgba(11, 17, 23, 0.88) 0%, rgba(7, 11, 18, 0.95) 100%);
}

/* Center pillar — slightly elevated visual weight */
.pillar-center {
  background: linear-gradient(180deg, rgba(11, 17, 23, 0.95) 0%, rgba(7, 12, 20, 0.98) 100%);
  border-color: rgba(212, 175, 55, 0.5);
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.05);
}

.pillar-center .pillar-top-cap,
.pillar-center .pillar-base-cap {
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.08), rgba(212, 175, 55, 0.22), rgba(212, 175, 55, 0.08));
  border-color: rgba(212, 175, 55, 0.55);
}

/* Pillar architectural caps */
.pillar-top-cap {
  width: calc(100% + 32px);
  margin-left: -16px;
  height: 14px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.18), transparent);
  border-bottom: 1px solid rgba(212, 175, 55, 0.4);
  margin-bottom: 32px;
  position: relative;
}

.pillar-top-cap::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.25), transparent);
}

.pillar-base-cap {
  width: calc(100% + 32px);
  margin-left: -16px;
  height: 14px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.18), transparent);
  border-top: 1px solid rgba(212, 175, 55, 0.4);
  margin-top: auto;
}

/* Pillar fluted shaft */
.pillar-shaft {
  flex: none;
  width: 32px;
  height: 40px;
  min-height: 40px;
  max-height: 40px;
  margin: 16px 0;
  background: repeating-linear-gradient(180deg,
      rgba(212, 175, 55, 0.05) 0px,
      rgba(212, 175, 55, 0.02) 4px,
      rgba(0, 163, 255, 0.03) 8px,
      rgba(212, 175, 55, 0.05) 12px);
  border-left: 1px solid rgba(212, 175, 55, 0.1);
  border-right: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: 2px;
}

/* Pillar icon — larger, more luminous */
.pillar-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(212, 175, 55, 0.18) 0%, transparent 55%),
    radial-gradient(circle at 65% 65%, rgba(0, 163, 255, 0.06) 0%, transparent 45%);
  border: 1px solid rgba(212, 175, 55, 0.45);
  color: var(--gold-bright);
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
  transition: box-shadow 0.45s, border-color 0.45s, transform 0.45s;
  box-shadow: 0 0 0 6px rgba(212, 175, 55, 0.04), 0 4px 20px rgba(0, 0, 0, 0.4);
}

.pillar-card:hover .pillar-icon {
  border-color: rgba(212, 175, 55, 0.8);
  box-shadow: 0 0 0 8px rgba(212, 175, 55, 0.07), 0 0 32px rgba(212, 175, 55, 0.28), 0 0 12px rgba(15, 59, 140, 0.12);
  transform: translateY(-4px);
  color: var(--gold-bright);
}

/* Pillar title */
.pillar-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
  text-shadow: 0 0 30px rgba(212, 175, 55, 0.2);
}

.pillar-desc {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.6;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
  flex-grow: 1;
  /* Pushes tags to the bottom */
}

/* Pillar tags — readable, confident */
.pillar-tags {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  position: relative;
  z-index: 2;
  margin-bottom: 16px;
}

.pillar-tags span {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(200, 230, 255, 0.85);
  padding: 5px 14px;
  border: 1px solid rgba(0, 163, 255, 0.28);
  border-radius: 4px;
  background: rgba(0, 163, 255, 0.08);
  white-space: nowrap;
  transition: color 0.3s, border-color 0.3s, background 0.3s;
  font-family: var(--font-body);
  font-weight: 500;
}

.pillar-card:hover .pillar-tags span {
  color: #ffffff;
  border-color: rgba(0, 163, 255, 0.55);
  background: rgba(0, 163, 255, 0.14);
}

/* ─── FOUNDATION ─── */
.temple-foundation {
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, rgba(11, 17, 23, 0.99) 0%, rgba(6, 9, 14, 1) 100%);
  border: 1px solid rgba(212, 175, 55, 0.38);
  border-top: none;
  border-radius: 0 0 20px 20px;
  padding: 36px 60px;
  text-align: center;
  overflow: hidden;
  box-shadow:
    0 12px 60px rgba(0, 0, 0, 0.6),
    inset 0 2px 0 rgba(212, 175, 55, 0.1);
}

.temple-foundation::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-bright), var(--royal-red), var(--gold-bright), transparent);
  opacity: 0.65;
}

/* Circuitry pattern on foundation */
.foundation-circuit {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(212, 175, 55, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(212, 175, 55, 0.05) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse 90% 100% at 50% 50%, black 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 100% at 50% 50%, black 10%, transparent 75%);
}

.foundation-text {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.8vw, 1.8rem);
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-bright);
  position: relative;
  z-index: 2;
  text-shadow: 0 0 60px rgba(212, 175, 55, 0.45), 0 0 20px rgba(212, 175, 55, 0.2);
}

/* ════════════════════════════════════════════
   PRINCIPLES
════════════════════════════════════════════ */
#principles {
  padding: var(--section-pad) 0;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  position: relative;
  background: var(--void);
}

#principles::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(212, 175, 55, 0.04) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(0, 163, 255, 0.03) 0%, transparent 60%);
  pointer-events: none;
}

.principles-list {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.principle-item {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-left: 3px solid rgba(212, 175, 55, 0.7);
  border-radius: 0 12px 12px 0;
  background: linear-gradient(135deg, rgba(11, 17, 23, 0.9) 0%, rgba(7, 6, 23, 0.95) 100%);
  transition: transform 0.35s var(--ease-out), border-color 0.35s, box-shadow 0.35s;
  overflow: hidden;
  position: relative;
}

.principle-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.6), transparent);
}

.principle-item:hover {
  transform: translateY(-3px);
  border-left-color: var(--gold-bright);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), -4px 0 20px rgba(212, 175, 55, 0.08);
}

.principle-item>* {
  padding: 0 28px;
}

.principle-number {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold);
  opacity: 0.7;
  flex-shrink: 0;
  padding-top: 24px;
  padding-bottom: 10px;
}

.principle-body {
  padding: 0 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.principle-title {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0;
  letter-spacing: 0.03em;
  line-height: 1.4;
}

.principle-text {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.75;
  font-style: italic;
}

/* ════════════════════════════════════════════
   I AM SOVEREIGN — CTA
════════════════════════════════════════════ */
#declare {
  position: relative;
  padding: var(--section-pad) 0;
  text-align: center;
  overflow: hidden;
  border-top: 2px solid rgba(212, 175, 55, 0.25);
  background: var(--obsidian);
}

#declare::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 70% at 50% 50%, rgba(212, 175, 55, 0.07) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 50% 0%, rgba(0, 163, 255, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse 60% 80% at 50% 100%, rgba(212, 175, 55, 0.05) 0%, transparent 60%);
  pointer-events: none;
  animation: hero-ray-drift 16s ease-in-out infinite alternate;
}

.declare-bg {
  display: none;
}

.declare-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

.declare-emblem {
  font-size: 2.4rem;
  background: var(--grad-text);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shift-gradient 6s linear infinite, emblem-pulse 5s ease-in-out infinite;
  display: block;
  margin-bottom: 28px;
}

.declare-title {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  color: var(--text-primary);
  margin-bottom: 20px;
  font-weight: 700;
  text-shadow: 0 0 60px rgba(212, 175, 55, 0.15);
}

.declare-body {
  font-family: var(--font-serif);
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.88;
  margin-bottom: 48px;
  font-style: italic;
}

/* ── The Sovereign Button ── */
.btn-sovereign {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 20px 44px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text-primary);
  background: linear-gradient(135deg, rgba(15, 59, 140, 0.3) 0%, rgba(75, 26, 122, 0.3) 60%, rgba(140, 15, 26, 0.2) 100%);
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: 40px;
  cursor: pointer;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.btn-sovereign::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-aurora);
  opacity: 0;
  transition: opacity 0.4s;
  border-radius: inherit;
}

.btn-sovereign::after {
  content: '';
  position: absolute;
  inset: -2px;
  background: var(--grad-aurora);
  border-radius: inherit;
  opacity: 0;
  z-index: -1;
  filter: blur(12px);
  transition: opacity 0.4s;
}

.btn-sovereign:hover {
  border-color: rgba(212, 175, 55, 0.8);
  box-shadow: 0 0 50px rgba(212, 175, 55, 0.3), 0 10px 40px rgba(0, 0, 0, 0.4);
  transform: scale(1.03);
  letter-spacing: 0.18em;
}

.btn-sovereign:hover::after {
  opacity: 0.4;
}

.btn-sovereign:active {
  transform: scale(1.01);
}

.btn-sovereign.hidden {
  opacity: 0;
  pointer-events: none;
  height: 0;
  padding: 0;
  border-width: 0;
  overflow: hidden;
  margin-bottom: 0;
  transition: opacity 0.3s, height 0.3s;
}

.btn-text {
  position: relative;
  z-index: 1;
}

.btn-bracket {
  font-size: 1.2em;
  opacity: 0.45;
  transition: opacity 0.3s, transform 0.3s;
  position: relative;
  z-index: 1;
}

.btn-sovereign:hover .btn-bracket:first-child {
  transform: translateX(-5px);
  opacity: 0.9;
}

.btn-sovereign:hover .btn-bracket:last-child {
  transform: translateX(5px);
  opacity: 0.9;
}

/* ── Form ── */
.declare-form {
  margin-top: 36px;
  text-align: left;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.7s var(--ease-out), max-height 0.7s var(--ease-out);
}

.declare-form.open {
  opacity: 1;
  max-height: 520px;
}

.form-greeting {
  text-align: center;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-style: italic;
  color: rgba(212, 175, 55, 0.55);
  margin-bottom: 32px;
  letter-spacing: 0.06em;
}

/* Stacked row: label above, input below — full width */
.nl-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 28px;
  width: 100%;
}

.nl-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.8;
  padding-left: 4px;
}

.nl-input-wrapper {
  position: relative;
  width: 100%;
}

.nl-input {
  background: rgba(212, 175, 55, 0.04);
  border: none;
  border-bottom: 1.5px solid rgba(212, 175, 55, 0.2);
  border-radius: 4px 4px 0 0;
  color: var(--text-primary);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  padding: 12px 16px 10px;
  width: 100%;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.35s, background 0.35s, box-shadow 0.35s;
}

.nl-input::placeholder {
  color: rgba(255, 255, 255, 0.18);
  font-style: italic;
  font-weight: 300;
}

.nl-input:focus {
  border-bottom-color: var(--gold);
  background: rgba(212, 175, 55, 0.07);
  box-shadow: 0 4px 24px rgba(212, 175, 55, 0.08);
}

/* Animated gold underline on focus */
.nl-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--royal-purple), var(--gold));
  background-size: 200% auto;
  animation: shift-gradient 4s linear infinite;
  transition: width 0.5s var(--ease-out);
  border-radius: 0 0 2px 2px;
}

.nl-input:focus~.nl-line {
  width: 100%;
}

.form-hint {
  min-height: 20px;
  font-size: 0.78rem;
  color: var(--royal-red);
  margin-bottom: 6px;
}

.btn-submit {
  width: 100%;
  padding: 15px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text-primary);
  background: var(--grad-aurora);
  background-size: 200% auto;
  animation: shift-gradient 5s linear infinite;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s, filter 0.25s;
  margin-bottom: 14px;
}

.btn-submit:hover {
  transform: scale(1.01);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.3);
  filter: brightness(1.1);
}

.btn-submit:active {
  transform: translateY(2px) scale(0.98);
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.5);
}

.btn-submit.stamped {
  transform: translateY(4px) scale(0.97);
  box-shadow: inset 0 6px 15px rgba(0, 0, 0, 0.6), inset 0 0 0 1px rgba(212, 175, 55, 0.3);
  background: var(--deep);
  color: var(--gold);
  border: 1px solid var(--gold);
  animation: none;
  filter: none;
}

.btn-submit:disabled:not(.stamped) {
  opacity: 0.45;
  cursor: default;
  animation: none;
}

.form-privacy {
  text-align: center;
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-style: italic;
  font-family: var(--font-serif);
}

/* ── Success ── */
.declare-success {
  display: none;
  padding: 40px 0;
}

.declare-success.visible {
  display: block;
  animation: fadeUp 0.8s var(--ease-out) both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.success-symbol {
  font-size: 2.2rem;
  background: var(--grad-text);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shift-gradient 4s linear infinite, emblem-pulse 3s ease-in-out infinite;
  margin-bottom: 18px;
  display: block;
}

.success-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--text-primary) !important;
  margin-bottom: 10px;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.success-body {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text-secondary);
}

/* ════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════ */
#footer {
  padding: clamp(48px, 7vw, 80px) 0 clamp(32px, 5vw, 52px);
  border-top: 1px solid var(--border);
  background: var(--void);
  position: relative;
}

#footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--grad-aurora);
  opacity: 0.25;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.footer-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-link {
  font-size: 0.73rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.25s;
}

.footer-link:hover {
  color: var(--gold);
}

.footer-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 32px;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.footer-quote {
  font-family: var(--font-serif);
  font-size: 0.88rem;
  font-style: italic;
  color: var(--text-secondary);
  opacity: 0.6;
  max-width: 520px;
}

.footer-copy {
  font-size: 0.68rem;
  color: var(--text-whisper);
  letter-spacing: 0.08em;
}

/* ─── Responsive ──────────────────────────── */
@media (max-width: 960px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1100px) {
  .temple-pillars {
    grid-template-columns: repeat(3, 1fr);
  }

  .temple-roof-services {
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
  }

  .service-link {
    display: none;
  }
}

@media (max-width: 768px) {
  .temple-pillars {
    grid-template-columns: repeat(2, 1fr);
  }

  .temple-roof {
    padding: 24px 20px 16px;
  }

  .service-node {
    padding: 8px 16px;
    font-size: 0.72rem;
  }

  .temple-foundation {
    padding: 20px 24px;
  }
}

@media (max-width: 480px) {
  .temple-pillars {
    grid-template-columns: 1fr 1fr;
  }

  .pillar-center {
    grid-column: span 2;
  }
}

@media (max-width: 520px) {
  .stats-grid {
    display: flex;
    grid-template-columns: unset;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-bottom: 24px;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
  }

  .stats-grid::-webkit-scrollbar {
    display: none;
  }

  .stat-card {
    min-width: 85vw;
    scroll-snap-align: center;
  }
}


@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .mission-quote {
    padding: 28px 22px;
  }

  /* Massive breathing room for Principles on mobile */
  .principles-list {
    display: flex;
    flex-direction: column;
    gap: 8vh;
    /* Force one profound idea per viewport roughly */
  }

  .principle-item {
    gap: 18px;
  }
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: var(--void);
}

::-webkit-scrollbar-thumb {
  background: rgba(201, 168, 76, 0.3);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(201, 168, 76, 0.5);
}

::-webkit-scrollbar-thumb:active {
  background: rgba(201, 168, 76, 0.8);
}

/* ════════════════════════════════════════════
   STAT CARDS — Updated (3-card layout)
════════════════════════════════════════════ */
.stat-label {
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.stat-card-gold {
  border-color: rgba(201, 168, 76, 0.45);
  background: rgba(201, 168, 76, 0.06);
}

.stat-card-gold .stat-number {
  background: var(--grad-spark);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-card-gold .stat-label {
  color: var(--gold);
}

/* ════════════════════════════════════════════
   MISSION PILLARS — Tech / Teams / Trust
════════════════════════════════════════════ */
.mission-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 40px;
}

.mission-pillar {
  border-top: 2px solid var(--gold-border);
  padding-top: 24px;
}

.mission-pillar-label {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold-bright);
  margin-bottom: 16px;
}

.mission-pillar-icon {
  display: block;
  font-size: 1.6rem;
  margin-bottom: 12px;
  line-height: 1;
  color: var(--gold-bright);
}

.mission-pillar p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  text-align: left;
}

@media (max-width: 760px) {
  .mission-pillars {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ════════════════════════════════════════════
   SPARK TO RADIANCE
════════════════════════════════════════════ */
#spark {
  padding: var(--section-pad) 0;
}

.spark-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 80px;
}

.spark-header .section-title {
  margin-bottom: 16px;
}

.spark-header .section-subtitle {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.spark-progression {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 60px 0;
  position: relative;
}

.spark-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: relative;
  flex-shrink: 0;
}

/* Orbs — growing, glowing ember-to-sun */
.spark-orb {
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
  transition: transform 0.5s var(--ease-out);
}

.spark-orb-1 {
  width: 12px;
  height: 12px;
  background: var(--ember);
  box-shadow: 0 0 12px rgba(184, 115, 51, 0.6), 0 0 24px rgba(184, 115, 51, 0.2);
  animation: ember-pulse 3s ease-in-out infinite;
}

.spark-orb-2 {
  width: 32px;
  height: 32px;
  background: radial-gradient(circle, var(--gold-bright) 0%, var(--gold) 50%, var(--ember) 100%);
  box-shadow: 0 0 24px rgba(201, 168, 76, 0.5), 0 0 48px rgba(201, 168, 76, 0.15);
  animation: ember-pulse 3s ease-in-out infinite 0.3s;
}

.spark-orb-3 {
  width: 64px;
  height: 64px;
  background: radial-gradient(circle, var(--sun) 0%, var(--gold-bright) 35%, var(--gold) 70%, var(--flame) 100%);
  box-shadow: 0 0 40px rgba(232, 201, 106, 0.6), 0 0 80px rgba(201, 168, 76, 0.25), 0 0 120px rgba(201, 168, 76, 0.08);
  animation: ember-pulse 3s ease-in-out infinite 0.6s;
}

.spark-orb-4 {
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, #FFFFFF 0%, var(--sun) 20%, var(--gold-bright) 50%, var(--gold) 75%, var(--ember) 100%);
  box-shadow:
    0 0 60px rgba(255, 241, 170, 0.7),
    0 0 120px rgba(232, 201, 106, 0.4),
    0 0 200px rgba(201, 168, 76, 0.2),
    0 0 300px rgba(184, 115, 51, 0.08);
  animation: solar-pulse 4s ease-in-out infinite;
}

@keyframes ember-pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.85;
  }
}

@keyframes solar-pulse {

  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 60px rgba(255, 241, 170, 0.7), 0 0 120px rgba(232, 201, 106, 0.4), 0 0 200px rgba(201, 168, 76, 0.2);
  }

  50% {
    transform: scale(1.05);
    box-shadow: 0 0 80px rgba(255, 241, 170, 0.9), 0 0 160px rgba(232, 201, 106, 0.5), 0 0 250px rgba(201, 168, 76, 0.25);
  }
}

/* Connecting lines with fill animation */
.spark-connector {
  flex: 1;
  min-width: 40px;
  max-width: 120px;
  display: flex;
  align-items: center;
  padding: 0 8px;
  /* Vertically align with center of largest orb */
  margin-bottom: 80px;
}

.spark-connector-line {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--ember), var(--gold));
  position: relative;
  overflow: hidden;
}

.spark-connector-line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 241, 170, 0.8), transparent);
  transform: translateX(-100%);
  animation: connector-shine 3s linear infinite;
}

@keyframes connector-shine {
  to {
    transform: translateX(200%);
  }
}

/* Stage labels */
.spark-stage-icon {
  font-size: 1.4rem;
  line-height: 1;
  color: var(--gold);
  margin-bottom: -8px;
  /* pull closer to orb */
}

.spark-stage-label {
  font-family: var(--font-display);
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--gold);
  text-align: center;
  max-width: 200px;
}

.spark-stage-desc {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
  max-width: 160px;
  line-height: 1.5;
}

/* Mobile: vertical progression */
@media (max-width: 760px) {
  .spark-progression {
    flex-direction: column;
    gap: 32px;
    padding: 40px 0;
  }

  .spark-connector {
    width: 2px;
    height: 40px;
    min-width: unset;
    flex: none;
    padding: 8px 0;
    margin-bottom: 0;
    margin-right: 0;
  }

  .spark-connector-line {
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--ember), var(--gold));
  }

  .spark-connector-line::after {
    background: linear-gradient(180deg, transparent, rgba(255, 241, 170, 0.8), transparent);
    animation: connector-shine-v 3s linear infinite;
    transform: translateY(-100%);
  }

  @keyframes connector-shine-v {
    to {
      transform: translateY(200%);
    }
  }
}

/* ════════════════════════════════════════════
   PILLAR STONES — Roman numeral clean design
════════════════════════════════════════════ */
.pillars-stone {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border: 1px solid var(--gold-border);
  border-radius: 4px;
  overflow: hidden;
}

.pillar-stone {
  padding: 44px 28px 40px;
  border-right: 1px solid rgba(201, 168, 76, 0.15);
  background: linear-gradient(180deg, rgba(19, 15, 20, 0.9) 0%, rgba(13, 11, 14, 0.95) 100%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: background 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.pillar-stone:last-child {
  border-right: none;
}

.pillar-stone::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad-gold);
  opacity: 0;
  transition: opacity 0.4s;
}

.pillar-stone:hover {
  background: linear-gradient(180deg, rgba(28, 22, 30, 0.95) 0%, rgba(19, 15, 20, 0.98) 100%);
}

.pillar-stone:hover::before {
  opacity: 1;
}

.pillar-stone-center {
  background: linear-gradient(180deg, rgba(28, 22, 30, 0.95) 0%, rgba(19, 15, 20, 0.98) 100%);
  border-left: 1px solid rgba(201, 168, 76, 0.3);
  border-right: 1px solid rgba(201, 168, 76, 0.3);
}

.pillar-stone-center::before {
  opacity: 0.8;
}

.pillar-stone-numeral {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: rgba(201, 168, 76, 0.25);
  line-height: 1;
  letter-spacing: 0.05em;
  transition: color 0.4s;
}

.pillar-stone:hover .pillar-stone-numeral {
  color: rgba(201, 168, 76, 0.5);
}

.pillar-stone-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-top: 4px;
}

.pillar-stone-desc {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-secondary);
  text-align: left;
}

.temple-foundation-line {
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid var(--gold-border);
  margin-top: 0;
}

.foundation-line-text {
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text-whisper);
}

@media (max-width: 960px) {
  .pillars-stone {
    grid-template-columns: 1fr 1fr;
  }

  .pillar-stone {
    border-right: 1px solid rgba(201, 168, 76, 0.15);
    border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  }
}

@media (max-width: 560px) {
  .pillars-stone {
    grid-template-columns: 1fr;
  }
}

/* ════════════════════════════════════════════
   OATH LIST — Vertical, breathing, simple
════════════════════════════════════════════ */
.oath-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 860px;
  margin: 56px auto 0;
}

.oath-item {
  display: grid;
  grid-template-columns: 3rem 1px 1fr;
  gap: 0 24px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.oath-item:first-child {
  border-top: 1px solid var(--border);
}

.oath-number {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--text-whisper);
  flex-shrink: 0;
  padding-top: 2px;
}

.oath-line {
  display: block;
  width: 1px;
  height: 100%;
  background: var(--gold-border);
  flex-shrink: 0;
}

.oath-text {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--text-primary);
}

.oath-item:hover .oath-number {
  color: var(--gold);
}

.oath-item:hover .oath-text {
  color: var(--text-primary);
}

::selection {
  background: rgba(139, 43, 226, 0.25);
  color: var(--text-primary);
}