:root {
  --ink: #0c0b09;
  --cream: #f7f3ec;
  --warm: #f0ead9;
  --gold: #b8943a;
  --gold-hi: #d4ad52;
  --gold-lo: rgba(184,148,58,0.15);
  --gold-border: rgba(184,148,58,0.28);
  --slate: #17150f;
  --slate2: #252118;
  --red: #9b2a2a;
  --green: #2a6b3a;
  --text1: #0c0b09;
  --text2: #4a4438;
  --text3: #8c8070;
  --border: rgba(12,11,9,0.1);
  --border2: rgba(12,11,9,0.06);
  --f-head: 'Cormorant Garamond', Georgia, serif;
  --f-ui: 'DM Mono', monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { background: var(--cream); color: var(--text1); font-family: var(--f-ui); font-size: 0.8rem; line-height: 1.6; overflow-x: hidden; }

a { color: inherit; text-decoration: none; }

/* ── NAV ───────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 52px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem;
  background: rgba(247,243,236,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 0.5px solid var(--border);
  transition: box-shadow 0.3s;
}
nav.raised { box-shadow: 0 2px 20px rgba(12,11,9,0.08); }

.nav-left { display: flex; align-items: center; gap: 2rem; }
.logo { display: flex; align-items: center; gap: 8px; font-family: var(--f-head); font-size: 1.05rem; font-weight: 500; letter-spacing: 0.06em; }
.logo-hex { width: 16px; height: 16px; background: var(--gold); clip-path: polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%); flex-shrink: 0; }

.nav-links { display: flex; gap: 0; list-style: none; }
.nav-links a, .nav-links button {
  font-family: var(--f-ui); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text2); background: none; border: none; cursor: pointer;
  padding: 0 0.85rem; height: 52px; display: flex; align-items: center;
  transition: color 0.15s; position: relative;
}
.nav-links a:hover, .nav-links button:hover { color: var(--ink); }
.nav-links a::after, .nav-links button::after {
  content: ''; position: absolute; bottom: 0; left: 0.85rem; right: 0.85rem;
  height: 1px; background: var(--gold); transform: scaleX(0);
  transition: transform 0.25s var(--ease); transform-origin: left;
}
.nav-links a:hover::after, .nav-links button:hover::after { transform: scaleX(1); }

.nav-right { display: flex; align-items: center; gap: 8px; }
.nav-btn { font-family: var(--f-ui); font-size: 0.58rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 14px; border: 0.5px solid var(--border); background: transparent; color: var(--text2); cursor: pointer; transition: all 0.2s; }
.nav-btn:hover { color: var(--ink); border-color: rgba(12,11,9,0.25); }
.nav-btn.solid { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.nav-btn.solid:hover { background: var(--slate2); }

/* ── HERO — SPLIT ──────────────────────────────────── */
.hero {
  min-height: 100vh; padding-top: 52px;
  display: grid; grid-template-columns: 1fr 1fr;
  position: relative; overflow: hidden;
}

/* left pane */
.hero-left {
  display: flex; flex-direction: column; justify-content: center;
  padding: 5rem 4rem 5rem 3.5rem;
  border-right: 0.5px solid var(--border);
  position: relative; z-index: 2;
}

.hero-kicker {
  font-family: var(--f-ui); font-size: 0.55rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 10px;
}
.hero-kicker::before { content: ''; width: 20px; height: 0.5px; background: var(--gold); }

h1 {
  font-family: var(--f-head); font-size: clamp(3rem, 5vw, 5.2rem);
  font-weight: 300; line-height: 1.0; letter-spacing: -0.02em;
  color: var(--ink); margin-bottom: 1.5rem;
}
h1 em { font-style: italic; color: var(--gold); }

.hero-sub {
  font-family: var(--f-ui); font-size: 0.72rem; line-height: 1.8;
  color: var(--text2); max-width: 400px; margin-bottom: 2.5rem;
  letter-spacing: 0.01em;
}

.hero-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-main {
  font-family: var(--f-ui); font-size: 0.6rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--cream); background: var(--ink);
  border: 1px solid var(--ink); padding: 12px 28px; cursor: pointer;
  transition: all 0.25s var(--ease); position: relative; overflow: hidden;
}
.btn-main::before {
  content: ''; position: absolute; inset: 0; background: var(--gold);
  transform: translateX(-100%); transition: transform 0.35s var(--ease); z-index: 0;
}
.btn-main:hover::before { transform: translateX(0); }
.btn-main span { position: relative; z-index: 1; }
.btn-sec {
  font-family: var(--f-ui); font-size: 0.6rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text2); background: transparent;
  border: 0.5px solid var(--border); padding: 12px 22px; cursor: pointer;
  transition: all 0.2s;
}
.btn-sec:hover { color: var(--ink); border-color: rgba(12,11,9,0.3); }

/* right pane — live pathway preview */
.hero-right {
  background: var(--slate); position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}

.hero-right-header {
  padding: 1.5rem 2rem;
  border-bottom: 0.5px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: space-between;
  flex-shrink: 0;
}

.engine-badge {
  font-family: var(--f-ui); font-size: 0.52rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold);
  display: flex; align-items: center; gap: 6px;
}
.engine-badge::before { content: '⬡'; font-size: 0.6rem; }

.live-dot {
  width: 6px; height: 6px; border-radius: 50%; background: #4caf50;
  box-shadow: 0 0 0 0 rgba(76,175,80,0.4);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%,100% { box-shadow: 0 0 0 0 rgba(76,175,80,0.4); }
  50% { box-shadow: 0 0 0 5px rgba(76,175,80,0); }
}
.live-label { font-family: var(--f-ui); font-size: 0.5rem; letter-spacing: 0.1em; color: rgba(255,255,255,0.35); }

.pathway-ui {
  flex: 1; padding: 2rem;
  display: flex; flex-direction: column; gap: 0;
  overflow-y: auto;
}

/* Node cards inside the pathway */
.pnode {
  padding: 1rem 1.2rem;
  border: 0.5px solid rgba(255,255,255,0.07);
  border-bottom: none;
  background: rgba(255,255,255,0.025);
  position: relative;
  transition: background 0.2s;
}
.pnode:last-child { border-bottom: 0.5px solid rgba(255,255,255,0.07); }
.pnode.active { background: rgba(184,148,58,0.08); border-left: 2px solid var(--gold); }
.pnode.resolved { background: rgba(42,107,58,0.08); border-left: 2px solid var(--green); opacity: 0.7; }
.pnode.contradiction { background: rgba(155,42,42,0.1); border-left: 2px solid var(--red); }

.pnode-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 1rem; margin-bottom: 0.4rem;
}
.pnode-num { font-size: 0.52rem; color: rgba(255,255,255,0.25); letter-spacing: 0.1em; flex-shrink: 0; margin-top: 1px; }
.pnode-claim { font-family: var(--f-head); font-size: 0.95rem; font-weight: 400; color: rgba(247,243,236,0.9); line-height: 1.3; font-style: italic; }
.pnode.resolved .pnode-claim { color: rgba(247,243,236,0.4); }

.pnode-meta { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.pnode-source { font-size: 0.52rem; color: rgba(255,255,255,0.2); letter-spacing: 0.06em; }
.cost-badge {
  font-size: 0.5rem; letter-spacing: 0.08em; padding: 2px 6px;
  border: 0.5px solid; border-radius: 1px;
}
.cost-low { color: rgba(76,175,80,0.8); border-color: rgba(76,175,80,0.3); }
.cost-mid { color: rgba(255,193,7,0.8); border-color: rgba(255,193,7,0.3); }
.cost-high { color: rgba(255,87,34,0.8); border-color: rgba(255,87,34,0.3); }
.cost-contra { color: rgba(244,67,54,1); border-color: rgba(244,67,54,0.5); background: rgba(244,67,54,0.06); }

.pnode-choices {
  display: flex; flex-direction: column; gap: 5px; margin-top: 10px;
}
.choice-btn {
  font-family: var(--f-ui); font-size: 0.58rem; letter-spacing: 0.05em;
  color: rgba(247,243,236,0.55); background: rgba(255,255,255,0.03);
  border: 0.5px solid rgba(255,255,255,0.08); padding: 7px 10px;
  cursor: pointer; text-align: left; transition: all 0.2s;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.choice-btn:hover { background: rgba(184,148,58,0.1); border-color: var(--gold-border); color: rgba(247,243,236,0.9); }
.choice-btn.selected { background: rgba(184,148,58,0.12); border-color: var(--gold); color: var(--gold-hi); }
.choice-btn.rejected { background: rgba(155,42,42,0.08); border-color: rgba(155,42,42,0.3); color: rgba(155,42,42,0.7); text-decoration: line-through; }
.choice-arrow { font-size: 0.55rem; opacity: 0.4; flex-shrink: 0; }
.choice-btn.selected .choice-arrow { opacity: 1; color: var(--gold); }

.pnode-verdict {
  margin-top: 8px; padding: 6px 10px;
  font-size: 0.58rem; letter-spacing: 0.05em; line-height: 1.5;
}
.verdict-collapse {
  background: rgba(155,42,42,0.1); border-left: 2px solid var(--red);
  color: rgba(247,243,236,0.5);
}
.verdict-collapse strong { color: rgba(244,67,54,0.9); }

.pathway-footer {
  padding: 1.25rem 2rem;
  border-top: 0.5px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: space-between;
  flex-shrink: 0;
  background: rgba(0,0,0,0.15);
}

.cost-meters { display: flex; gap: 12px; align-items: center; }
.meter-item { display: flex; flex-direction: column; gap: 3px; min-width: 64px; }
.meter-label { font-size: 0.48rem; letter-spacing: 0.1em; color: rgba(255,255,255,0.25); text-transform: uppercase; }
.meter-bar { height: 2px; background: rgba(255,255,255,0.08); position: relative; }
.meter-fill { height: 100%; transition: width 0.8s var(--ease); position: absolute; top: 0; left: 0; }
.meter-fill.green { background: var(--green); }
.meter-fill.amber { background: #e6a020; }
.meter-fill.red { background: var(--red); }

.pathway-enter {
  font-family: var(--f-ui); font-size: 0.58rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(247,243,236,0.5);
  background: rgba(255,255,255,0.04); border: 0.5px solid rgba(255,255,255,0.1);
  padding: 8px 18px; cursor: pointer; transition: all 0.2s;
}
.pathway-enter:hover { color: var(--cream); border-color: var(--gold-border); background: rgba(184,148,58,0.08); }

/* ── SECTION CHROME ────────────────────────────────── */
.section-kicker {
  font-family: var(--f-ui); font-size: 0.52rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold);
  display: flex; align-items: center; gap: 8px; margin-bottom: 1rem;
}
.section-kicker::before { content: ''; width: 16px; height: 0.5px; background: var(--gold); }

h2 {
  font-family: var(--f-head); font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300; line-height: 1.1; letter-spacing: -0.02em; color: var(--ink);
}
h2 em { font-style: italic; color: var(--gold); }

.section-body-text {
  font-size: 0.72rem; line-height: 1.8; color: var(--text2); max-width: 480px;
}

section { padding: 7rem 0; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 3rem; }

/* ── SIMULATION ENGINE SECTION ─────────────────────── */
.sim-section { background: var(--slate); overflow: hidden; position: relative; }
.sim-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 50% at 60% 50%, rgba(184,148,58,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.sim-layout { display: grid; grid-template-columns: 360px 1fr; gap: 4rem; align-items: start; }

.sim-left { position: sticky; top: 7rem; }
.sim-left .section-kicker { color: var(--gold-hi); }
.sim-left .section-kicker::before { background: var(--gold-hi); }
.sim-left h2 { color: rgba(247,243,236,0.95); }
.sim-left .section-body-text { color: rgba(247,243,236,0.45); }

.model-selector { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 6px; }
.model-opt {
  padding: 0.9rem 1rem;
  border: 0.5px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.025);
  cursor: pointer; transition: all 0.2s;
  display: flex; align-items: flex-start; gap: 10px;
}
.model-opt:hover { border-color: var(--gold-border); background: rgba(184,148,58,0.06); }
.model-opt.selected { border-color: var(--gold); background: rgba(184,148,58,0.1); }
.model-radio {
  width: 10px; height: 10px; border: 0.5px solid rgba(255,255,255,0.2);
  border-radius: 50%; flex-shrink: 0; margin-top: 2px;
  transition: all 0.2s; position: relative;
}
.model-opt.selected .model-radio { border-color: var(--gold); background: var(--gold); }
.model-name { font-size: 0.62rem; color: rgba(247,243,236,0.7); letter-spacing: 0.04em; margin-bottom: 2px; }
.model-opt.selected .model-name { color: var(--gold-hi); }
.model-desc { font-size: 0.54rem; color: rgba(247,243,236,0.25); letter-spacing: 0.02em; line-height: 1.5; }

/* Simulation Crisis Cards */
.sim-right { display: flex; flex-direction: column; gap: 12px; }

.crisis-card {
  border: 0.5px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.02);
  overflow: hidden; transition: border-color 0.2s;
}
.crisis-card:hover { border-color: rgba(255,255,255,0.12); }
.crisis-card.active { border-color: var(--gold-border); }
.crisis-card.complete { border-color: rgba(42,107,58,0.4); opacity: 0.8; }

.crisis-header {
  display: grid; grid-template-columns: 60px 1fr auto;
  align-items: center; gap: 1.2rem; padding: 1rem 1.25rem;
  cursor: pointer;
}
.crisis-year { font-family: var(--f-head); font-size: 1.3rem; font-weight: 300; color: rgba(255,255,255,0.15); letter-spacing: -0.02em; flex-shrink: 0; }
.crisis-card.active .crisis-year { color: var(--gold); }
.crisis-name { font-family: var(--f-head); font-size: 0.95rem; color: rgba(247,243,236,0.7); font-weight: 400; }
.crisis-card.active .crisis-name { color: rgba(247,243,236,0.95); }
.crisis-status {
  font-size: 0.5rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 8px;
  border: 0.5px solid; border-radius: 1px; white-space: nowrap;
}
.crisis-status.open { color: var(--gold); border-color: var(--gold-border); }
.crisis-status.done { color: rgba(42,107,58,0.9); border-color: rgba(42,107,58,0.4); }
.crisis-status.locked { color: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.06); }

.crisis-body { padding: 0 1.25rem 1.25rem; display: none; }
.crisis-card.active .crisis-body { display: block; }

.crisis-context {
  font-size: 0.64rem; color: rgba(247,243,236,0.35); line-height: 1.7;
  margin-bottom: 1rem; border-left: 1.5px solid rgba(255,255,255,0.06); padding-left: 12px;
  font-style: italic;
}

.crisis-question { font-size: 0.68rem; color: rgba(247,243,236,0.75); margin-bottom: 0.75rem; line-height: 1.5; }

.crisis-options { display: flex; flex-direction: column; gap: 5px; }
.crisis-opt {
  font-size: 0.62rem; color: rgba(247,243,236,0.45);
  background: rgba(255,255,255,0.03); border: 0.5px solid rgba(255,255,255,0.07);
  padding: 8px 12px; cursor: pointer; text-align: left; transition: all 0.2s;
  display: flex; align-items: flex-start; gap: 8px;
}
.crisis-opt:hover { background: rgba(184,148,58,0.08); border-color: var(--gold-border); color: rgba(247,243,236,0.8); }
.crisis-opt.chosen { background: rgba(42,107,58,0.1); border-color: rgba(42,107,58,0.4); color: rgba(76,175,80,0.8); }
.crisis-opt.tension { background: rgba(155,42,42,0.08); border-color: rgba(155,42,42,0.3); color: rgba(244,67,54,0.7); }

.model-tension {
  margin-top: 10px; padding: 8px 12px;
  background: rgba(155,42,42,0.1); border-left: 2px solid rgba(244,67,54,0.5);
  font-size: 0.58rem; color: rgba(247,243,236,0.4); line-height: 1.6;
}
.model-tension strong { color: rgba(244,67,54,0.8); }

.stress-meters {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 12px;
}
.stress-item { display: flex; flex-direction: column; gap: 3px; }
.stress-label { font-size: 0.48rem; letter-spacing: 0.08em; color: rgba(255,255,255,0.2); text-transform: uppercase; }
.stress-track { height: 2px; background: rgba(255,255,255,0.06); position: relative; }
.stress-bar {
  height: 100%; position: absolute; top: 0; left: 0;
  transition: width 1s var(--ease), background 0.5s;
}

/* ── CITATION ENGINE SECTION ───────────────────────── */
.cite-section { background: var(--cream); }
.cite-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 5rem; align-items: start; }

.cite-interface {
  border: 0.5px solid var(--border); background: white;
  box-shadow: 0 4px 40px rgba(12,11,9,0.06);
}

.cite-toolbar {
  padding: 0.75rem 1rem; border-bottom: 0.5px solid var(--border);
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.cite-toolbar-label { font-size: 0.52rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text3); margin-right: 4px; }
.filter-chip {
  font-size: 0.54rem; letter-spacing: 0.06em; padding: 3px 9px;
  border: 0.5px solid var(--border); background: transparent; cursor: pointer;
  color: var(--text2); transition: all 0.15s;
}
.filter-chip:hover { border-color: var(--gold-border); color: var(--ink); }
.filter-chip.active { background: var(--gold-lo); border-color: var(--gold-border); color: var(--ink); }

.cite-results { max-height: 360px; overflow-y: auto; }
.cite-entry {
  padding: 1rem;
  border-bottom: 0.5px solid var(--border2);
  transition: background 0.15s; cursor: pointer;
}
.cite-entry:last-child { border-bottom: none; }
.cite-entry:hover { background: rgba(12,11,9,0.02); }
.cite-entry-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
  margin-bottom: 6px;
}
.cite-father { font-size: 0.6rem; font-weight: 500; color: var(--ink); letter-spacing: 0.03em; }
.cite-ref { font-size: 0.52rem; color: var(--text3); letter-spacing: 0.04em; }
.cite-text {
  font-family: var(--f-head); font-size: 0.88rem; font-style: italic;
  color: var(--text1); line-height: 1.5; margin-bottom: 6px;
}
.cite-tags { display: flex; gap: 5px; flex-wrap: wrap; }
.cite-tag {
  font-size: 0.48rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 2px 6px; border: 0.5px solid var(--border); color: var(--text3);
}

.cite-density {
  padding: 1rem; border-top: 0.5px solid var(--border);
  display: flex; align-items: flex-end; gap: 3px; height: 60px;
}
.density-bar { flex: 1; background: var(--gold-lo); border-top: 1px solid var(--gold-border); transition: height 0.6s var(--ease); min-height: 2px; position: relative; }
.density-bar:hover { background: var(--gold); }
.density-century { font-size: 0.44rem; letter-spacing: 0.06em; color: var(--text3); text-align: center; margin-top: 3px; position: absolute; bottom: -14px; left: 50%; transform: translateX(-50%); white-space: nowrap; }

/* ── BELIEF MAP SECTION ────────────────────────────── */
.map-section { background: var(--warm); border-top: 0.5px solid var(--border); }
.map-layout { display: grid; grid-template-columns: 1fr 300px; gap: 4rem; align-items: start; }

.belief-map-ui {
  border: 0.5px solid var(--border); background: white;
  overflow: hidden;
}

.map-toolbar {
  padding: 0.75rem 1rem; border-bottom: 0.5px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(12,11,9,0.02);
}
.view-modes { display: flex; gap: 3px; }
.view-mode {
  font-size: 0.5rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 9px; border: 0.5px solid var(--border); background: transparent;
  cursor: pointer; color: var(--text2); transition: all 0.15s;
}
.view-mode.active { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.view-mode:hover:not(.active) { border-color: rgba(12,11,9,0.3); }

.doctrine-selector {
  font-size: 0.54rem; letter-spacing: 0.08em; color: var(--text2);
  display: flex; align-items: center; gap: 6px;
}
.doctrine-select {
  font-family: var(--f-ui); font-size: 0.54rem; letter-spacing: 0.06em;
  padding: 4px 8px; border: 0.5px solid var(--border); background: transparent;
  color: var(--ink); cursor: pointer; appearance: none;
}

/* Grid view of belief map */
.map-grid {
  padding: 1rem;
  display: grid;
  grid-template-columns: 100px repeat(6, 1fr);
  gap: 4px;
  overflow-x: auto;
}
.map-header { font-size: 0.5rem; letter-spacing: 0.08em; color: var(--text3); padding: 2px 4px; }
.map-figure-name { font-size: 0.56rem; color: var(--text1); font-weight: 500; letter-spacing: 0.03em; padding: 4px; display: flex; align-items: center; }
.map-cell {
  height: 28px; border: 0.5px solid transparent; display: flex;
  align-items: center; justify-content: center; cursor: pointer;
  transition: all 0.15s; border-radius: 2px;
}
.map-cell:hover { transform: scale(1.1); }
.cell-affirm { background: rgba(42,107,58,0.15); border-color: rgba(42,107,58,0.3); }
.cell-deny   { background: rgba(155,42,42,0.12); border-color: rgba(155,42,42,0.25); }
.cell-proto  { background: rgba(184,148,58,0.15); border-color: var(--gold-border); }
.cell-silent { background: rgba(12,11,9,0.04); }
.cell-dot { width: 6px; height: 6px; border-radius: 50%; }
.affirm-dot { background: var(--green); }
.deny-dot   { background: var(--red); }
.proto-dot  { background: var(--gold); }

.map-legend {
  padding: 0.75rem 1rem; border-top: 0.5px solid var(--border);
  display: flex; gap: 1.5rem; align-items: center;
}
.legend-item { display: flex; align-items: center; gap: 5px; }
.legend-dot { width: 8px; height: 8px; border-radius: 50%; }
.legend-label { font-size: 0.5rem; letter-spacing: 0.08em; color: var(--text3); text-transform: uppercase; }

.map-right { display: flex; flex-direction: column; gap: 1.5rem; }
.map-right h2 { font-size: 2.2rem; }

.stat-group { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 1.5rem; }
.stat-box { padding: 1rem; border: 0.5px solid var(--border); text-align: center; }
.stat-big { font-family: var(--f-head); font-size: 2rem; font-weight: 300; color: var(--ink); display: block; letter-spacing: -0.02em; }
.stat-lbl { font-size: 0.5rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text3); display: block; margin-top: 2px; }

/* ── PATHWAY GRID SECTION ──────────────────────────── */
.pathways-section { background: var(--cream); }
.pathways-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; margin-bottom: 4rem; align-items: end; }

.pathways-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--border); border: 0.5px solid var(--border);
}

.pathway-card {
  background: var(--cream); padding: 1.75rem 1.5rem;
  display: flex; flex-direction: column; gap: 0; cursor: pointer;
  transition: background 0.2s; position: relative; overflow: hidden;
  text-decoration: none;
}
.pathway-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 0; height: 1.5px; background: var(--gold);
  transition: width 0.4s var(--ease);
}
.pathway-card:hover::before { width: 100%; }
.pathway-card:hover { background: rgba(184,148,58,0.02); }

.pc-top {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 8px; margin-bottom: 1rem;
}
.pc-status { font-size: 0.48rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green); display: flex; align-items: center; gap: 4px; }
.pc-status::before { content: '●'; font-size: 0.45rem; }
.pc-nodes { font-size: 0.5rem; color: var(--text3); letter-spacing: 0.06em; }

.pc-title { font-family: var(--f-head); font-size: 1.15rem; font-weight: 500; color: var(--ink); line-height: 1.2; margin-bottom: 0.5rem; }
.pc-question { font-size: 0.65rem; line-height: 1.6; color: var(--text2); margin-bottom: 1rem; font-style: italic; font-family: var(--f-head); }

.pc-tags { display: flex; gap: 4px; flex-wrap: wrap; margin-top: auto; }
.pc-tag { font-size: 0.48rem; letter-spacing: 0.08em; padding: 2px 6px; border: 0.5px solid var(--border); color: var(--text3); }

/* ── DEEP DIVES SECTION ────────────────────────────── */
.deep-section { background: var(--ink); }
.deep-section h2 { color: rgba(247,243,236,0.95); }
.deep-section .section-kicker { color: var(--gold-hi); }
.deep-section .section-kicker::before { background: var(--gold-hi); }
.deep-section .section-body-text { color: rgba(247,243,236,0.4); }

.deep-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,0.05); border: 0.5px solid rgba(255,255,255,0.05); margin-top: 3rem; }

.deep-card {
  background: var(--slate); padding: 2rem 1.75rem;
  text-decoration: none; cursor: pointer; transition: background 0.2s;
  display: flex; flex-direction: column; position: relative; overflow: hidden;
}
.deep-card:hover { background: rgba(184,148,58,0.06); }
.deep-card::after {
  content: '→'; position: absolute; bottom: 1.75rem; right: 1.75rem;
  font-size: 0.8rem; color: var(--gold); opacity: 0;
  transform: translate(-6px, 6px); transition: all 0.25s var(--ease);
}
.deep-card:hover::after { opacity: 1; transform: translate(0,0); }

.dc-label { font-size: 0.52rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.dc-title { font-family: var(--f-head); font-size: 1.3rem; font-weight: 400; color: rgba(247,243,236,0.88); margin-bottom: 0.5rem; line-height: 1.2; }
.dc-sub { font-size: 0.62rem; line-height: 1.7; color: rgba(247,243,236,0.3); margin-bottom: 1.5rem; flex: 1; }
.dc-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }
.dc-pill {
  font-size: 0.5rem; letter-spacing: 0.08em; padding: 3px 8px;
  border: 0.5px solid rgba(255,255,255,0.08); color: rgba(247,243,236,0.3);
}

/* ── CTA ───────────────────────────────────────────── */
.cta-section {
  padding: 9rem 0; text-align: center;
  background: var(--warm); border-top: 0.5px solid var(--border);
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(184,148,58,0.07) 0%, transparent 70%);
}

.cta-section h2 {
  font-size: clamp(2.5rem, 5vw, 4.2rem); max-width: 600px;
  margin: 0 auto 1.5rem; position: relative;
}
.cta-body { font-size: 0.72rem; line-height: 1.8; color: var(--text2); max-width: 380px; margin: 0 auto 2.5rem; position: relative; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ── FOOTER ────────────────────────────────────────── */
footer {
  background: var(--slate); padding: 3.5rem 0 2rem;
  border-top: 0.5px solid rgba(255,255,255,0.05);
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 2.5rem; }
.footer-logo { display: flex; align-items: center; gap: 7px; font-family: var(--f-head); font-size: 1rem; font-weight: 500; letter-spacing: 0.06em; color: rgba(247,243,236,0.9); margin-bottom: 0.75rem; }
.footer-logo .logo-hex { width: 14px; height: 14px; }
.footer-tagline { font-size: 0.6rem; font-family: var(--f-head); font-style: italic; color: rgba(247,243,236,0.25); line-height: 1.7; }
.footer-col-head { font-size: 0.52rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.9rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 5px; }
.footer-links a { font-size: 0.58rem; letter-spacing: 0.04em; color: rgba(247,243,236,0.3); transition: color 0.15s; }
.footer-links a:hover { color: rgba(247,243,236,0.7); }
.footer-bottom {
  padding-top: 1.5rem; border-top: 0.5px solid rgba(255,255,255,0.04);
  display: flex; align-items: center; justify-content: space-between;
}
.footer-copy { font-size: 0.54rem; letter-spacing: 0.06em; color: rgba(247,243,236,0.15); }

/* ── SCROLL REVEAL ─────────────────────────────────── */
.sr { opacity: 0; transform: translateY(20px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.sr.in { opacity: 1; transform: translateY(0); }
.sr-d1 { transition-delay: 0.1s; }
.sr-d2 { transition-delay: 0.2s; }
.sr-d3 { transition-delay: 0.3s; }

/* ── RESPONSIVE ────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; }
  .hero-right { min-height: 500px; border-top: 0.5px solid var(--border); }
  .sim-layout { grid-template-columns: 1fr; }
  .cite-layout { grid-template-columns: 1fr; }
  .map-layout { grid-template-columns: 1fr; }
  .pathways-grid { grid-template-columns: repeat(2,1fr); }
  .deep-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .nav-links { display: none; }
  .container { padding: 0 1.5rem; }
  .hero-left { padding: 3rem 1.5rem; }
  .pathways-grid { grid-template-columns: 1fr; }
  .deep-grid { grid-template-columns: 1fr; }
  .pathways-intro { grid-template-columns: 1fr; }
  nav { padding: 0 1.5rem; }
}
