/* ============================================================
   CLOSING PANDORA'S BOX — STYLE SHEET
   Professional Intelligence Agency Briefing Aesthetic
   ============================================================ */

/* ---- Variables ---- */
:root {
  --bg-navy: #0D1B2E;
  --bg-navy-light: #132640;
  --bg-white: #FFFFFF;
  --bg-gray: #EBEBEB;
  --bg-off-white: #F5F5F5;
  --brand-navy: #1A3A6E;
  --brand-red: #C31B24;
  --brand-gold: #C5A951;
  --brand-blue: #5D9CD0;
  --text-white: #FFFFFF;
  --text-dark: #1A1A1A;
  --text-body: #404040;
  --text-secondary: #595959;
  --text-light: #D0D8E4;
  --text-muted-dark: #8A95A8;
  --border-gold: rgba(197, 169, 81, 0.4);
  --border-light: rgba(255, 255, 255, 0.12);
  --border-dark: rgba(0, 0, 0, 0.08);
  --sector-telecom: #7B8EC9;
  --sector-platforms: #5D9CD0;
  --sector-transport: #C5A951;
  --sector-financial: #6DAE43;
  --sector-law: #C31B24;

  --font-primary: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --nav-height: 68px;
  --transition-base: 240ms ease;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.10), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.18);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-body);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: var(--font-primary); cursor: pointer; border: none; background: none; }

/* ---- Skip Link ---- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  padding: 8px 16px;
  background: var(--brand-gold);
  color: var(--text-dark);
  font-weight: 600;
  border-radius: var(--radius-sm);
  z-index: 10000;
  font-size: 0.875rem;
}
.skip-link:focus { top: 8px; }

/* ---- Scroll Progress ---- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--brand-gold);
  z-index: 2000;
  pointer-events: none;
}

/* ---- Typography ---- */
h1 {
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
h2 {
  font-weight: 400;
  letter-spacing: -0.005em;
  line-height: 1.25;
}
h3 {
  font-weight: 500;
  line-height: 1.3;
}
h4 {
  font-weight: 600;
  line-height: 1.35;
}

/* ---- Gold Rule ---- */
.gold-rule {
  height: 2px;
  background: var(--brand-gold);
  border: none;
}
.gold-rule.hero-rule {
  width: 60%;
  margin: 24px auto;
}
.gold-rule.section-rule {
  width: 60%;
  margin: 16px 0 24px;
}
.gold-rule.reason-rule,
.gold-rule.tcam-rule,
.gold-rule.counter-rule {
  width: 48px;
  margin: 12px 0 24px;
}
.gold-rule.full-rule { width: 100%; }

/* ---- Container ---- */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---- Scroll Reveal ---- */
/* Hidden state only applied when JS is loaded (via body.js-loaded class) */
.js-loaded .reveal {
  opacity: 0;
  transform: translateY(24px);
}
.js-loaded .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 3px; /* account for scroll progress bar */
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--bg-white);
  z-index: 1000;
  border-bottom: 1px solid var(--border-dark);
}

.nav.scrolled {
  box-shadow: 0 2px 16px rgba(0,0,0,0.10);
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}

.nav-logo-mark {
  display: block;
  width: 4px;
  height: 28px;
  background: var(--brand-red);
  border-radius: 2px;
  flex-shrink: 0;
}

.nav-logo-text {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--brand-navy);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0 auto;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-secondary);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand-navy);
}

.nav-link.active {
  font-weight: 500;
}

.nav-sep {
  color: var(--border-dark);
  font-size: 0.75rem;
  color: #ccc;
  user-select: none;
}

.nav-donate {
  background: var(--brand-navy);
  color: var(--text-white);
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-donate:hover {
  background: #142d58;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
}

.nav-mobile {
  display: none;
  background: var(--bg-white);
  border-top: 1px solid var(--border-dark);
  padding: 12px 0;
  box-shadow: var(--shadow-md);
}

.nav-mobile.open { display: block; }

.nav-mobile-link {
  display: block;
  padding: 12px 32px;
  font-size: 0.9375rem;
  color: var(--text-body);
  border-left: 2px solid transparent;
}

.nav-mobile-link:hover {
  color: var(--brand-navy);
  border-left-color: var(--brand-gold);
  background: var(--bg-off-white);
}

.nav-mobile-donate {
  margin-top: 8px;
  color: var(--brand-navy);
  font-weight: 600;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 0.9375rem;
  font-weight: 500;
  font-family: var(--font-primary);
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand-navy);
  color: var(--text-white);
  border: 2px solid var(--brand-navy);
}

.btn-primary:hover {
  background: #142d58;
  border-color: #142d58;
}

.btn-outline {
  background: transparent;
  color: var(--text-white);
  border: 2px solid rgba(255,255,255,0.5);
}

.btn-outline:hover {
  border-color: var(--text-white);
  background: rgba(255,255,255,0.08);
}

.btn-outline-dark {
  background: transparent;
  color: var(--brand-navy);
  border: 2px solid var(--brand-navy);
}

.btn-outline-dark:hover {
  background: var(--brand-navy);
  color: var(--text-white);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1rem;
}

/* ============================================================
   SECTIONS — BASE
   ============================================================ */
.section { padding: 96px 0; }

.section-light {
  background: var(--bg-white);
  color: var(--text-body);
}

.section-dark {
  background: var(--bg-navy);
  color: var(--text-light);
}

.section-gray {
  background: var(--bg-gray);
  color: var(--text-body);
}

.section-header {
  margin-bottom: 56px;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-gold);
  margin-bottom: 12px;
}

.section-label-light {
  color: var(--brand-gold);
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--text-dark);
}

.section-dark .section-header h2 {
  color: var(--text-white);
}

.section-intro {
  max-width: 680px;
  font-size: 1.0625rem;
  color: var(--text-secondary);
  margin-top: 16px;
  line-height: 1.75;
}

.section-dark .section-intro {
  color: var(--text-light);
}

.text-white { color: var(--text-white) !important; }
.text-light { color: var(--text-light) !important; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--bg-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: var(--nav-height);
}

#particleCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  padding: 80px 32px;
}

.hero-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-gold);
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.75rem, 7vw, 5rem);
  font-weight: 300;
  color: var(--text-white);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: clamp(1.0625rem, 2.5vw, 1.3125rem);
  font-weight: 300;
  color: var(--text-light);
  line-height: 1.55;
  margin-bottom: 12px;
}

.hero-subtitle-lg {
  font-size: clamp(1.375rem, 3.2vw, 1.75rem);
  font-weight: 400;
}

.hero-author {
  font-size: 0.9375rem;
  color: var(--text-muted-dark);
  margin-bottom: 20px;
  font-style: italic;
}

.hero-tagline {
  font-size: 1rem;
  color: var(--brand-gold);
  font-weight: 500;
  margin-bottom: 40px;
  letter-spacing: 0.01em;
}

.hero-tagline-lg {
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  text-align: center;
  color: var(--text-muted-dark);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--brand-gold);
  border-bottom: 2px solid var(--brand-gold);
  transform: rotate(45deg);
  margin: 8px auto 0;
}

/* ============================================================
   THE PROBLEM
   ============================================================ */

/* Runner track visual */
.runner-visual {
  margin-bottom: 56px;
  padding: 32px;
  background: var(--bg-off-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-dark);
}

.runner-track { }

.runner-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.track-lane {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 0;
  border-top: 3px solid #ddd;
  border-bottom: 3px solid #ddd;
  overflow-x: auto;
}

.hurdle {
  flex-shrink: 0;
  width: 28px;
  height: 40px;
  border: 3px solid var(--brand-red);
  border-radius: 2px;
  background: rgba(195, 27, 36, 0.08);
  position: relative;
}

.hurdle::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: var(--brand-red);
  border-radius: 50%;
}

.hurdle.hurdle-cleared {
  border-color: #ccc;
  background: rgba(100,100,100,0.05);
  opacity: 0.45;
}

.hurdle.hurdle-cleared::after { background: #ccc; }

.track-finish {
  flex-shrink: 0;
  padding: 8px 16px;
  background: var(--brand-navy);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: var(--radius-sm);
  margin-left: 8px;
}

.runner-caption {
  margin-top: 16px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-style: italic;
}

/* Stats grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 0;
}

.stat-card {
  background: var(--bg-white);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
}

.stat-card-highlight {
  border-left: 4px solid var(--brand-gold);
}

.stat-number {
  font-size: 2.25rem;
  font-weight: 300;
  color: var(--brand-navy);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* Impact banner */
.impact-banner {
  background: var(--bg-navy);
  padding: 40px 0;
  margin: 56px 0 0;
}

.impact-items {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.impact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 1;
  min-width: 220px;
}

.impact-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--brand-gold);
  color: var(--bg-navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 700;
  margin-top: 2px;
}

.impact-text {
  color: var(--text-light);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.impact-text strong {
  color: var(--text-white);
  font-weight: 600;
}

/* Problem reasons */
.problem-reasons {
  padding-top: 64px;
}

.problem-reasons h3 {
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 0;
}

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

.reason-card {
  background: var(--bg-off-white);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.reason-num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brand-gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.reason-text {
  font-size: 0.9375rem;
  color: var(--text-body);
  line-height: 1.55;
}

/* Callout block */
.callout-block {
  display: flex;
  align-items: center;
  gap: 32px;
  background: var(--bg-navy);
  color: var(--text-white);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  margin-top: 40px;
}

.callout-number {
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--brand-gold);
  letter-spacing: -0.03em;
  line-height: 1;
  flex-shrink: 0;
}

.callout-text {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.65;
}

.callout-text strong {
  color: var(--text-white);
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
  font-size: 1.0625rem;
}

/* ============================================================
   TEN POINTS
   ============================================================ */
.chain-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chain-point {
  background: var(--bg-navy-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.chain-point[data-sector="telecom"] { border-left: 3px solid var(--sector-telecom); }
.chain-point[data-sector="platforms"] { border-left: 3px solid var(--sector-platforms); }
.chain-point[data-sector="transport"] { border-left: 3px solid var(--sector-transport); }
.chain-point[data-sector="financial"] { border-left: 3px solid var(--sector-financial); }
.chain-point[data-sector="law"] { border-left: 3px solid var(--sector-law); }

.chain-point.active {
  border-color: var(--brand-gold);
  border-left-width: 3px;
  box-shadow: 0 0 0 1px var(--border-gold), 0 4px 24px rgba(197,169,81,0.12);
}

.cp-header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 28px;
  text-align: left;
  cursor: pointer;
  background: transparent;
  border: none;
}

.cp-header:hover {
  background: rgba(255,255,255,0.04);
}

.cp-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
  min-width: 120px;
}

.cp-num {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-muted-dark);
  text-transform: uppercase;
}

.chain-point.active .cp-num { color: var(--brand-gold); }

.cp-sector-tag {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-muted-dark);
  text-transform: uppercase;
}

.cp-title {
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--text-white);
  flex: 1;
}

.cp-toggle {
  font-size: 1.25rem;
  color: var(--text-muted-dark);
  flex-shrink: 0;
  width: 28px;
  text-align: center;
  font-weight: 300;
  line-height: 1;
}

.chain-point.active .cp-toggle { color: var(--brand-gold); }

.cp-body {
  max-height: 0;
  overflow: hidden;
}

.cp-body.open { max-height: 1200px; }

.cp-content {
  padding: 0 28px 28px 168px;
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
}

.cp-content p {
  font-size: 0.9375rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 16px;
}

.cp-content p:last-child { margin-bottom: 0; }

.cp-intervention {
  background: rgba(197,169,81,0.06);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin-top: 20px;
}

.cp-intervention-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-gold);
  margin-bottom: 10px;
}

.cp-intervention p {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 0;
}

/* Video embeds in chain points */
.cp-video {
  margin-top: 20px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--border-light);
}

.cp-video iframe,
.cp-video video {
  display: block;
  border: none;
  width: 100%;
  height: 360px;
  border-radius: var(--radius-md);
}

/* ============================================================
   THE MATH — CALCULATOR
   ============================================================ */
.calculator-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
  margin-bottom: 56px;
}

.calc-presets {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.preset-btn {
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-dark);
  background: var(--bg-white);
  color: var(--text-secondary);
  cursor: pointer;
  font-family: var(--font-primary);
}

.preset-btn:hover {
  border-color: var(--brand-navy);
  color: var(--brand-navy);
}

.preset-btn.active {
  background: var(--brand-navy);
  color: white;
  border-color: var(--brand-navy);
}

.sliders-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.slider-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.slider-info {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.slider-label {
  font-size: 0.875rem;
  color: var(--text-body);
  font-weight: 400;
}

.slider-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-navy);
  min-width: 40px;
  text-align: right;
}

/* Slider styling */
.slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: #d1d5db;
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--brand-navy);
  cursor: pointer;
  border: 2px solid white;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--brand-navy);
  cursor: pointer;
  border: 2px solid white;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.slider:focus::-webkit-slider-thumb {
  outline: 2px solid var(--brand-gold);
  outline-offset: 2px;
}

/* Result panel */
.calc-result {
  background: var(--bg-navy);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  position: sticky;
  top: calc(var(--nav-height) + 16px);
}

.result-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted-dark);
  margin-bottom: 8px;
}

.result-main {
  font-size: 3rem;
  font-weight: 300;
  color: var(--text-white);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.result-sub {
  font-size: 0.8125rem;
  color: var(--text-muted-dark);
  margin-top: 4px;
  margin-bottom: 24px;
}

.donut-container {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 0 auto 24px;
}

#donutChart {
  width: 100%;
  height: 100%;
}

.donut-center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  font-weight: 300;
  color: var(--text-white);
  letter-spacing: -0.02em;
}

.result-interpretation {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 20px;
  text-align: left;
}

.interp-icon {
  flex-shrink: 0;
  font-size: 0.875rem;
  color: var(--brand-gold);
  margin-top: 1px;
}

.interp-text {
  font-size: 0.8125rem;
  color: var(--text-light);
  line-height: 1.5;
}

.result-formula {
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.formula-label {
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted-dark);
  margin-bottom: 6px;
}

.formula-text {
  font-size: 0.9375rem;
  color: var(--text-light);
  font-style: italic;
}

/* Mobile floating badge */
.mobile-result-badge {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--brand-navy);
  color: white;
  padding: 10px 18px;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  z-index: 500;
  font-size: 0.875rem;
  align-items: center;
  gap: 8px;
}

.badge-label {
  font-size: 0.75rem;
  opacity: 0.7;
}

.badge-value {
  font-weight: 600;
  font-size: 1rem;
}

/* Hurdle visualization */
.hurdle-viz {
  margin-bottom: 48px;
}

.hurdle-viz-label {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-style: italic;
}

.hurdle-viz-track {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  padding: 0 0 8px;
  border-bottom: 2px solid var(--border-dark);
  overflow-x: auto;
}

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

.theory-card {
  background: var(--bg-white);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
}

.theory-icon {
  font-size: 1.5rem;
  color: var(--brand-navy);
  margin-bottom: 12px;
  font-weight: 300;
  line-height: 1;
}

.theory-card h4 {
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.theory-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================
   MID-PAGE CTAs
   ============================================================ */
.mid-cta {
  background: var(--bg-off-white);
  padding: 40px 0;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  text-align: center;
}

.mid-cta-dark {
  background: var(--bg-navy);
  border-color: var(--border-light);
}

.mid-cta .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.mid-cta-text {
  font-size: 1.0625rem;
  font-weight: 400;
  color: var(--text-body);
}

.mid-cta-text-light {
  color: var(--text-light);
}

.mid-cta-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ============================================================
   ORIGIN
   ============================================================ */
.origin-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.origin-stat {
  background: var(--bg-navy-light);
  border: 1px solid var(--border-light);
  border-top: 2px solid var(--brand-gold);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
}

.origin-stat-number {
  font-size: 1.875rem;
  font-weight: 300;
  color: var(--text-white);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.origin-stat-label {
  font-size: 0.8125rem;
  color: var(--text-muted-dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.origin-quote {
  border-left: 3px solid var(--brand-gold);
  padding: 24px 32px;
  margin: 0 0 48px;
  background: rgba(255,255,255,0.04);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.origin-quote p {
  font-size: 1.125rem;
  font-style: italic;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 12px;
}

.origin-quote cite {
  font-size: 0.875rem;
  color: var(--text-muted-dark);
  font-style: normal;
}

/* TCAM */
.tcam-block {
  margin-top: 0;
}

.tcam-block > p {
  color: var(--text-light);
  margin-bottom: 32px;
  max-width: 680px;
}

.tcam-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.tcam-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--bg-navy-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
}

.tcam-letter {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: 2px solid var(--brand-gold);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--brand-gold);
}

.tcam-content strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 6px;
}

.tcam-content p {
  font-size: 0.875rem;
  color: var(--text-muted-dark);
  line-height: 1.55;
  margin: 0;
}

/* ============================================================
   EVIDENCE
   ============================================================ */
.evidence-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.evidence-card {
  background: var(--bg-white);
  border: 1px solid var(--border-dark);
  border-top: 3px solid var(--brand-gold);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.evidence-card-top {
  margin-bottom: 16px;
}

.evidence-sector-tag {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
}

.tag-law { background: rgba(195,27,36,0.1); color: #a51820; }
.tag-tech { background: rgba(93,156,208,0.12); color: #3d7daa; }
.tag-platform { background: rgba(26,58,110,0.1); color: var(--brand-navy); }
.tag-hospitality { background: rgba(197,169,81,0.12); color: #8a7030; }

.evidence-card h4 {
  font-size: 1.0625rem;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.evidence-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
}

.evidence-stat {
  display: flex;
  align-items: baseline;
  gap: 8px;
  border-top: 1px solid var(--border-dark);
  padding-top: 16px;
}

.evidence-stat-num {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--brand-navy);
  letter-spacing: -0.02em;
}

.evidence-stat-label {
  font-size: 0.8125rem;
  color: var(--text-secondary);
}

/* Evidence quote */
.evidence-quote {
  border-left: 3px solid var(--brand-gold);
  padding: 24px 32px;
  margin: 0 0 48px;
  background: var(--bg-off-white);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.evidence-quote p {
  font-size: 1.125rem;
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 10px;
}

.evidence-quote cite {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-style: normal;
}

/* Counterarguments */
.counter-section h3 {
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 0;
}

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

.counter-card {
  background: var(--bg-off-white);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 24px;
}

.counter-objection {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 12px;
  font-style: italic;
}

.counter-response {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ============================================================
   CLOSING
   ============================================================ */
.closing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 56px;
  max-width: 720px;
}

.closing-stat {
  text-align: center;
  padding: 32px 24px;
  background: var(--bg-navy-light);
  border: 1px solid var(--border-light);
  border-top: 2px solid var(--brand-gold);
  border-radius: var(--radius-md);
}

.closing-stat-number {
  font-size: 2.75rem;
  font-weight: 300;
  color: var(--text-white);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 10px;
}

.closing-stat-label {
  font-size: 0.875rem;
  color: var(--text-muted-dark);
  line-height: 1.45;
}

.closing-quote {
  border-left: 3px solid var(--brand-gold);
  padding: 24px 32px;
  margin: 0 0 48px;
  background: rgba(255,255,255,0.04);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  max-width: 800px;
}

.closing-quote p {
  font-size: 1.125rem;
  font-style: italic;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 12px;
}

.closing-quote cite {
  font-size: 0.875rem;
  color: var(--text-muted-dark);
  font-style: normal;
}

.closing-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-navy);
  padding: 64px 0 40px;
  border-top: 1px solid var(--border-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 32px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-white);
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--text-muted-dark);
  line-height: 1.55;
  margin-bottom: 20px;
  max-width: 360px;
}

.footer-credits {
  font-size: 0.8125rem;
  color: var(--text-muted-dark);
  line-height: 1.55;
}

.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.footer-nav-heading {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted-dark);
  margin-bottom: 16px;
}

.footer-nav ul li { margin-bottom: 10px; }

.footer-nav ul li a {
  font-size: 0.9rem;
  color: var(--text-muted-dark);
  line-height: 1.45;
}

.footer-nav ul li a:hover { color: var(--text-white); }

/* ============================================================
   ANIMATIONS & TRANSITIONS (prefers-reduced-motion: no-preference)
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .js-loaded .reveal {
    transition: opacity 600ms ease, transform 600ms ease;
  }

  .btn {
    transition: background var(--transition-base), border-color var(--transition-base),
                color var(--transition-base), box-shadow var(--transition-base);
  }

  .nav-link {
    transition: color var(--transition-base);
  }

  .nav-donate {
    transition: background var(--transition-base);
  }

  .cp-body {
    transition: max-height 400ms ease;
  }

  .chain-point {
    transition: box-shadow 200ms ease, border-color 200ms ease;
  }

  .hero-scroll-arrow {
    animation: scrollBounce 2s ease-in-out infinite;
  }

  @keyframes scrollBounce {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50% { transform: rotate(45deg) translateY(4px); }
  }

  .preset-btn {
    transition: background var(--transition-base), color var(--transition-base), border-color var(--transition-base);
  }

  .nav-mobile {
    transition: none;
  }
}

/* ============================================================
   RESPONSIVE — TABLET (max 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reasons-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .theory-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .calculator-layout {
    grid-template-columns: 1fr;
  }

  .calc-result {
    position: static;
    max-width: 500px;
    margin: 0 auto;
  }

  .origin-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tcam-grid {
    grid-template-columns: 1fr;
  }

  .counter-grid {
    grid-template-columns: 1fr;
  }

  .cp-content {
    padding-left: 28px;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE (max 768px)
   ============================================================ */
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }

  .nav-links { display: none; }
  .nav-donate { display: none; }
  .nav-hamburger { display: flex; }

  .nav-inner { gap: 0; }

  .hero-title { font-size: 2.5rem; }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .impact-items {
    flex-direction: column;
    gap: 24px;
  }

  .reasons-grid {
    grid-template-columns: 1fr;
  }

  .callout-block {
    flex-direction: column;
    gap: 20px;
    padding: 28px 24px;
    text-align: center;
  }

  .callout-number { font-size: 2.5rem; }

  .cp-header { padding: 18px 20px; gap: 12px; }
  .cp-meta { min-width: 80px; }
  .cp-title { font-size: 0.9375rem; }
  .cp-content { padding: 16px 20px 20px; }

  .theory-grid {
    grid-template-columns: 1fr;
  }

  .origin-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .evidence-grid {
    grid-template-columns: 1fr;
  }

  .closing-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: none;
  }

  .cp-video iframe,
  .cp-video video {
    height: 240px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-nav {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .mid-cta .container {
    flex-direction: column;
    gap: 20px;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
  }

  .closing-ctas {
    flex-direction: column;
  }

  .mobile-result-badge {
    display: flex;
  }

  .gold-rule.hero-rule { width: 80%; }
  .gold-rule.section-rule { width: 80%; }

  .hurdle-viz-track { min-width: 400px; }
}

/* ============================================================
   PRINT STYLESHEET
   ============================================================ */
@media print {
  .nav,
  .hero canvas,
  .scroll-progress,
  .hero-scroll-indicator,
  .mid-cta,
  .mobile-result-badge {
    display: none !important;
  }

  body {
    background: white;
    color: black;
    font-size: 11pt;
  }

  .section-dark {
    background: #f0f0f0;
    color: black;
  }

  .section-dark .section-header h2,
  .text-white,
  .text-light,
  .cp-title,
  .cp-content p,
  .origin-quote p,
  .closing-quote p {
    color: black !important;
  }

  .cp-body {
    max-height: none !important;
    display: block !important;
  }

  .chain-point { break-inside: avoid; }
  section { break-inside: avoid; }

  .evidence-grid,
  .theory-grid,
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 8pt;
    color: #666;
  }
}
