/* ── Dungeon Crawler Carl Custom Stylesheet ──
   Extends the EnrichReader design token system with an interactive gaming/terminal vibe. */
:root {
  /* Typography */
  --font-display: 'Bona Nova', serif;
  --font-body:    'Spectral', serif;
  --font-ui:      'Manrope', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  /* Fluid Type Scale */
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.2vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.3vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-md:   clamp(1.125rem, 1rem    + 0.4vw,  1.375rem);
  --text-lg:   clamp(1.25rem,  1.15rem + 0.5vw,  1.5rem);
  --text-xl:   clamp(1.563rem, 1.4rem  + 0.8vw,  2rem);
  --text-2xl:  clamp(1.953rem, 1.7rem  + 1.2vw,  2.75rem);
  --text-3xl:  clamp(2.441rem, 2.1rem  + 1.8vw,  3.5rem);
  --text-4xl:  clamp(3.052rem, 2.5rem  + 2.5vw,  4.5rem);
  --text-5xl:  clamp(3.815rem, 3rem    + 4vw,     6rem);

  --leading-tight:   1.1;
  --leading-snug:    1.35;
  --leading-relaxed: 1.7;

  /* Surface Colors - Deep Ink base */
  --color-surface-base:     oklch(7%   0.01 35);   /* Charcoal void */
  --color-surface-elevated: oklch(11%  0.01 35);   /* elevated card panels */
  --color-surface-sunken:   oklch(4%   0.01 35);   /* deep background */
  --color-surface-divider:  oklch(18%  0.02 35);   /* fine borders */

  /* Text Colors */
  --color-text-primary:   oklch(96%  0.01 85);    /* Cream white */
  --color-text-secondary: oklch(90%  0.02 85);    /* Muted cream */
  --color-text-muted:     oklch(75%  0.02 50);    /* slate grey */
  --color-text-dim:       oklch(58%  0.02 35);    /* dim grey */

  /* Unified Hues across all charts */
  --color-person:         oklch(78% 0.16 85);     /* Gold */
  --color-location:       oklch(72% 0.18 200);    /* Cyan */
  --color-org:            oklch(68% 0.19 330);    /* Magenta */
  --color-item:           oklch(68% 0.18 45);     /* Orange */
  --color-event:          oklch(58% 0.18 28);     /* Crimson */
  --color-other:          oklch(62% 0.14 290);    /* Lavender */

  /* Pronoun Colors */
  --color-pronoun-he:     oklch(70% 0.12 220);    /* Slate Blue */
  --color-pronoun-she:    oklch(75% 0.15 350);    /* Soft Rose */
  --color-pronoun-they:   oklch(80% 0.12 140);    /* Sage Green */
  --color-pronoun-it:     oklch(72% 0.08 70);     /* Muted Ochre */

  /* Backward compatibility shortcuts */
  --color-accent:         var(--color-person);
  --color-accent-soft:    oklch(78% 0.16 85 / 0.1);
  --color-accent-mid:     oklch(78% 0.16 85 / 0.35);
  --color-accent-glow:    oklch(78% 0.16 85 / 0.5);
  --color-lore:           var(--color-event);

  /* Borders */
  --border-subtle:        1px solid oklch(100% 0 0 / 0.06);
  --border-subtle-bright: 1px solid oklch(100% 0 0 / 0.12);

  /* Spacing */
  --spacing-1:  0.25rem;
  --spacing-2:  0.5rem;
  --spacing-3:  0.75rem;
  --spacing-4:  1rem;
  --spacing-6:  1.5rem;
  --spacing-8:  2rem;
  --spacing-12: 3rem;
  --spacing-16: 4rem;
  --spacing-24: 6rem;
  --spacing-32: 8rem;
}

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

body::before {
  content: "";
  position: fixed;
  inset: 0;
  opacity: 0.04;
  pointer-events: none;
  z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

body {
  background-color: var(--color-surface-base);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  -webkit-font-smoothing: antialiased;
}

.font-display { font-family: var(--font-display); }
.font-ui      { font-family: var(--font-ui); }
.font-body    { font-family: var(--font-body); }
.font-mono    { font-family: var(--font-mono); }

/* ── Background Grid overlay ── */
.void-bg {
  z-index: -1;
  background: 
    linear-gradient(to bottom, rgba(16, 16, 16, 0.8) 0%, var(--color-surface-base) 100%),
    radial-gradient(ellipse 60% 60% at 50% -10%, oklch(72% 0.18 200 / 0.08) 0%, transparent 80%);
  position: fixed;
  inset: 0;
}

/* ── Navigation ── */
nav {
  background: oklch(7% 0.01 35 / 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid oklch(72% 0.18 200 / 0.1);
  box-shadow: 0 4px 30px oklch(0% 0 0 / 0.4);
}

.logo {
  height: 40px;
  width: auto;
  transition: opacity 0.25s ease;
}

.logo:hover {
  opacity: 0.8;
}

/* ── Hero Section ── */
.hero-section {
  padding-top: clamp(8rem, 16vw, 12rem);
  padding-bottom: var(--spacing-24);
}

.hero-title {
  font-size: var(--text-5xl);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: var(--spacing-12);
  color: var(--color-text-primary);
}

.editorial-title {
  color: var(--color-text-primary);
  font-weight: 800;
}

.hero-subtitle {
  display: block;
  font-style: normal;
  font-weight: 300;
  font-size: var(--text-xl);
  color: var(--color-text-muted);
  margin-top: var(--spacing-6);
  letter-spacing: -0.01em;
}

.hero-stats-grid {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: calc(-1 * var(--spacing-6));
}

.stat-item {
  display: flex;
  flex-direction: column;
  padding: 0 var(--spacing-6);
  min-width: 140px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--color-surface-divider);
}

.stat-value {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
}

.stat-label {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-muted);
  margin-top: var(--spacing-2);
}

.hero-description {
  font-size: var(--text-base) !important;
  color: oklch(90% 0.04 85) !important;
  line-height: 1.75;
  max-width: 55ch;
}

.hero-visual-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-8);
}

.chapter-constellation {
  width: 110%;
  max-width: 500px;
  filter: drop-shadow(0 0 35px oklch(72% 0.18 200 / 0.3));
}

.pulse-point {
  animation: pulse-grid 2.5s infinite ease-in-out;
}

@keyframes pulse-grid {
  0%, 100% { opacity: 0.4; r: 3.5; }
  50% { opacity: 1; r: 6; }
}

.hero-visual-metadata {
  display: flex;
  gap: var(--spacing-8);
}

.hero-visual-metadata span {
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--color-text-dim);
  font-family: var(--font-mono);
}

/* ── Bottom Grounded Bar ── */
.hero-bottom-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, var(--color-surface-base) 0%, transparent 100%);
  border-top: var(--border-subtle);
  backdrop-filter: blur(8px);
}

.volume-indicator {
  display: inline-flex;
  align-items: baseline;
  gap: var(--spacing-2);
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  color: var(--color-text-dim);
  font-family: var(--font-ui);
  text-transform: uppercase;
}

.volume-current {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-accent);
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

.next-vol-teaser {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border-right: 2px solid var(--color-surface-divider);
  padding-right: var(--spacing-8);
  text-align: right;
  transition: border-color 0.3s ease;
}

.next-vol-teaser:hover {
  border-color: var(--color-location);
}

.teaser-label {
  font-family: var(--font-ui);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-text-dim);
  margin-bottom: 4px;
}

.teaser-value {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-style: italic;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  transition: color 0.3s ease;
}

.next-vol-teaser:hover .teaser-value {
  color: var(--color-text-primary);
}

/* ── Chart Layout Cards ── */
.chart-section {
  position: relative;
  border-top: var(--border-subtle);
}

.section-header {
  margin-bottom: var(--spacing-8);
}

.section-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: var(--text-3xl);
  color: var(--color-text-primary);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.section-title em {
  font-style: normal;
  color: var(--color-location);
}

.section-subtitle {
  font-family: var(--font-body);
  color: var(--color-text-secondary);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  max-width: 60ch;
  margin-top: var(--spacing-4);
}

.chart-card {
  background: var(--color-surface-elevated);
  border-radius: 1rem;
  border: var(--border-subtle-bright);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 12px 40px oklch(0% 0 0 / 0.45);
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.chart-card:hover {
  border-color: oklch(72% 0.18 200 / 0.18);
  box-shadow: 0 20px 60px oklch(0% 0 0 / 0.6);
}

/* ── Interactive Playback Controller ── */
.race-controls-container {
  background: rgba(0, 0, 0, 0.2);
  padding: 1.5rem;
  border-radius: 0.75rem;
  border: var(--border-subtle);
}

.control-label {
  font-family: var(--font-ui);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-dim);
}

.race-btn {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: oklch(72% 0.18 200 / 0.1);
  color: var(--color-location);
  border: 1px solid oklch(72% 0.18 200 / 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.15s ease;
  flex-shrink: 0;
  box-shadow: 0 0 10px oklch(72% 0.18 200 / 0.1);
}

.race-btn:hover {
  background: oklch(72% 0.18 200 / 0.4);
  border-color: var(--color-location);
  transform: scale(1.04);
}

.race-btn.active {
  background: var(--color-location);
  color: var(--color-surface-base);
  border-color: transparent;
  box-shadow: 0 0 15px oklch(72% 0.18 200 / 0.4);
}

.race-slider {
  flex: 1;
  appearance: none;
  -webkit-appearance: none;
  background: oklch(100% 0 0 / 0.06);
  border-radius: 3px;
  height: 6px;
  outline: none;
  cursor: pointer;
}

.race-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-location);
  border: 3px solid var(--color-surface-elevated);
  box-shadow: 0 0 10px oklch(72% 0.18 200 / 0.4);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.race-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.race-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-location);
  border: 3px solid var(--color-surface-elevated);
  box-shadow: 0 0 10px oklch(72% 0.18 200 / 0.4);
  cursor: pointer;
}

.speed-btn {
  background: oklch(100% 0 0 / 0.05);
  border: 1px solid oklch(100% 0 0 / 0.12);
  color: var(--color-text-muted);
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.speed-btn:hover {
  border-color: oklch(72% 0.18 200 / 0.4);
  color: var(--color-text-secondary);
}

.speed-btn.active {
  background: oklch(72% 0.18 200 / 0.1);
  border-color: oklch(72% 0.18 200 / 0.4);
  color: var(--color-location);
  box-shadow: 0 0 8px oklch(72% 0.18 200 / 0.1);
}

.chapter-display {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--color-text-dim);
  font-variant-numeric: tabular-nums;
}

.chapter-display strong {
  color: var(--color-accent);
  font-size: var(--text-md);
  font-weight: 600;
}

.chapter-total {
  opacity: 0.35;
}

.filter-checkbox-label {
  font-family: var(--font-ui);
  font-size: 11px;
  color: var(--color-text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.03);
}

.filter-checkbox-label input {
  accent-color: var(--color-location);
}

/* ── Bar Chart Race Details ── */
.race-chart {
  position: relative;
  width: 100%;
  min-height: 480px;
  margin-top: var(--spacing-6);
}

.race-bar-wrapper {
  position: absolute;
  left: 0;
  width: 100%;
  height: 34px;
  display: flex;
  align-items: center;
  transition: transform 0.4s cubic-bezier(0.2, 1, 0.2, 1), opacity 0.4s ease;
}

.race-bar-label {
  width: 160px;
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 0;
}

.race-bar-outer {
  flex: 1;
  height: 20px;
  position: relative;
  display: flex;
  align-items: center;
}

.race-bar-inner {
  height: 100%;
  border-radius: 4px;
  position: relative;
  min-width: 6px;
  transition: width 0.4s cubic-bezier(0.2, 1, 0.2, 1), background-color 0.4s ease;
  box-shadow: 0 0 10px rgba(0,0,0,0.25);
}

.race-bar-value {
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-text-primary);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* ── Narrative Absence Spans Chart ── */
.absence-bars-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.absence-row {
  display: flex;
  align-items: center;
  width: 100%;
  height: 28px;
}

.absence-label {
  width: 150px;
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-secondary);
  flex-shrink: 0;
}

.absence-bar-wrapper {
  flex: 1;
  height: 16px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  position: relative;
  display: flex;
  align-items: center;
}

.absence-bar-inner {
  height: 100%;
  background: var(--color-other); /* Lavender */
  border-radius: 8px;
  min-width: 8px;
  box-shadow: 0 0 8px oklch(62% 0.14 290 / 0.3);
  transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 8px;
}

.absence-bar-value {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: bold;
  color: var(--color-surface-base);
  white-space: nowrap;
}

/* ── Live Mortality Feed & Timeline ── */
.mortality-feed-item {
  display: flex;
  align-items: center;
  justify-content: justify;
  padding: 8px 12px;
  background: rgba(255,255,255,0.02);
  border: var(--border-subtle);
  border-radius: 6px;
  margin-bottom: 8px;
  animation: feed-slide 0.3s ease;
}

@keyframes feed-slide {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.feed-name {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-primary);
  flex: 1;
}

.feed-chapter {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--color-text-dim);
  margin-right: 12px;
}

.feed-status {
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  color: var(--color-lore);
  background: rgba(139, 0, 0, 0.15);
  border: 1px solid rgba(139, 0, 0, 0.3);
  padding: 2px 6px;
  border-radius: 3px;
}

/* ── Funnel stage display ── */
.funnel-container {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 380px;
  margin: 0 auto;
}

.funnel-connector {
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.filter-line {
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, var(--color-location) 0%, transparent 100%);
}

.animate-funnel .funnel-connector {
  opacity: 1;
}

.funnel-stage {
  padding: 2rem 1.5rem;
  background: rgba(255, 255, 255, 0.015);
  border: var(--border-subtle);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
  transform: translateX(-30px);
}

.animate-funnel .funnel-stage {
  opacity: 1;
  transform: translateX(0);
}

.animate-funnel .funnel-stage:nth-child(3) {
  transition-delay: 0.3s;
}

.funnel-stage.highlight {
  background: oklch(72% 0.18 200 / 0.08);
  border-color: oklch(72% 0.18 200 / 0.2);
  box-shadow: inset 0 0 20px oklch(72% 0.18 200 / 0.1);
}

.funnel-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.funnel-num {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1;
}

.funnel-stage.highlight .funnel-num {
  color: var(--color-location);
}

.funnel-label {
  font-family: var(--font-ui);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-dim);
  margin-top: 0.5rem;
}

.funnel-meta {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  color: var(--color-text-dim);
  letter-spacing: 0.05em;
}

.donut-total-value {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1;
}

.donut-total-label {
  font-family: var(--font-ui);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-text-dim);
  margin-top: 0.5rem;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  letter-spacing: 0.05em;
  padding: 4px 10px;
  background: oklch(100% 0 0 / 0.04);
  border: 1px solid oklch(100% 0 0 / 0.08);
  border-radius: 6px;
  transition: all 0.2s ease;
  user-select: none;
}

.legend-item:hover {
  border-color: oklch(100% 0 0 / 0.15);
  color: var(--color-text-primary);
}

.legend-item-minimal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.dot-marker {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dash-marker {
  width: 20px;
  height: 2px;
}

.legend-label {
  font-family: var(--font-ui);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.insight-area {
  border-top: var(--border-subtle);
}

.insight-text-bold {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text-primary);
  font-style: italic;
}

.insight-text {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: var(--leading-relaxed);
  opacity: 0.85;
}

/* ── Word Cloud & Categories ── */
.word-cloud-container {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  gap: 0.5rem 1rem;
  padding: 1.5rem;
}

.word-cloud-item {
  font-family: var(--font-display);
  font-weight: bold;
  cursor: default;
  transition: transform 0.2s ease, opacity 0.2s ease;
  display: inline-block;
  user-select: none;
}

.word-cloud-item:hover {
  transform: scale(1.1);
  opacity: 1 !important;
  text-shadow: 0 0 12px currentColor;
}

.insight-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 6px;
  background: oklch(72% 0.18 200 / 0.1);
  border: 1px solid oklch(72% 0.18 200 / 0.2);
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--color-location);
  transition: all 0.2s ease;
}

.insight-pill:hover {
  background: oklch(72% 0.18 200 / 0.3);
  color: var(--color-text-primary);
}

/* ── Premium CTA Buttons ── */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.primary-cta {
  background: var(--color-accent);
  color: var(--color-surface-base) !important;
  box-shadow: 0 0 15px var(--color-accent-soft);
}

.primary-cta:hover {
  background: oklch(82% 0.12 85);
  box-shadow: 0 0 25px var(--color-accent-glow);
  transform: translateY(-2px);
}

.outline-cta {
  background: transparent;
  color: var(--color-text-primary) !important;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.outline-cta:hover {
  border-color: var(--color-text-primary);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.shadow-gold {
  box-shadow: 0 4px 20px var(--color-accent-soft);
}

.glow-gold {
  text-shadow: none;
}

/* ── Scroll Cue animation ── */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity  0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Responsive Overrides */
@media (max-width: 768px) {
  .hero-stats-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    margin-left: 0;
  }
  .stat-divider {
    display: none;
  }
  .stat-item {
    padding: 0;
  }
}
