/* ============================================================
   Exordium — 2026-10 expansion
   Nav, world, "A World You Shape" map, Gazette, paths, roadmap.
   Same palette as style.css; loaded after it.
   ============================================================ */

/* ---------- header nav ---------- */

.header-nav { display: flex; gap: 26px; }
.header-nav a {
  font-family: var(--serif);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--parchment-dim);
  text-decoration: none;
  position: relative;
  padding: 4px 0;
  transition: color 0.3s ease;
}
.header-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.header-nav a:hover, .header-nav a.is-current { color: var(--gold-bright); }
.header-nav a:hover::after, .header-nav a.is-current::after { transform: scaleX(1); }

@media (max-width: 860px) { .header-nav { display: none; } }

/* ---------- hero status line ---------- */

.hero-status {
  margin-top: 22px;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--parchment-dim);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  animation: fadeUp 1.2s ease 1.4s both;
}
.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 0 0 rgba(242, 205, 114, 0.6);
  animation: statusPulse 2.2s ease-out infinite;
}
@keyframes statusPulse {
  0%   { box-shadow: 0 0 0 0 rgba(242, 205, 114, 0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(242, 205, 114, 0); }
  100% { box-shadow: 0 0 0 0 rgba(242, 205, 114, 0); }
}

/* hero parallax layers (JS moves them) */
.hero-content, .hero-glow { will-change: transform; }

/* ---------- tilt cards ---------- */

.tilt { transform-style: preserve-3d; }
.tilt.is-tilting { transition: transform 0.08s linear, border-color 0.4s ease, box-shadow 0.4s ease; }

/* ---------- world (classic heart) ---------- */

.world {
  padding-top: 80px;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(120, 82, 20, 0.10), transparent 70%);
}

.compass {
  display: flex;
  justify-content: center;
  color: var(--gold-dim);
  margin-bottom: 18px;
}
.compass-ring { transform-origin: 60px 60px; animation: compassSpin 40s linear infinite; }
@keyframes compassSpin { to { transform: rotate(360deg); } }

.world-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
  margin-top: 10px;
}

.wcard {
  position: relative;
  padding: 36px 30px 32px 30px;
  background: linear-gradient(to bottom, rgba(212, 163, 61, 0.05), rgba(212, 163, 61, 0.012));
  border: 1px solid rgba(212, 163, 61, 0.15);
  overflow: hidden;
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}
.wcard::before, .wcard::after {
  content: "";
  position: absolute;
  width: 14px; height: 14px;
  border-color: rgba(212, 163, 61, 0.5);
  border-style: solid;
  transition: border-color 0.4s ease;
}
.wcard::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.wcard::after  { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }
.wcard:hover {
  border-color: rgba(212, 163, 61, 0.42);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.5), 0 0 34px rgba(212, 163, 61, 0.07);
}
.wcard:hover::before, .wcard:hover::after { border-color: var(--gold-bright); }

.wcard-num {
  position: absolute;
  top: 14px; right: 18px;
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(212, 163, 61, 0.10);
  transition: color 0.4s ease, transform 0.4s ease;
}
.wcard:hover .wcard-num { color: rgba(212, 163, 61, 0.22); transform: translateY(-2px); }

.wcard-icon {
  width: 44px; height: 44px;
  color: var(--gold);
  margin-bottom: 18px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.wcard:hover .wcard-icon { transform: translateY(-3px) scale(1.06); }

.wcard h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--parchment);
  margin-bottom: 12px;
}
.wcard p { font-size: 0.94rem; color: var(--parchment-dim); }

.talk {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 26px;
  align-items: start;
  padding: 36px 38px;
  background: linear-gradient(120deg, rgba(212, 163, 61, 0.10), rgba(212, 163, 61, 0.02) 55%, rgba(88, 52, 140, 0.06));
  border: 1px solid rgba(212, 163, 61, 0.22);
  border-left: 3px solid var(--gold);
}
.talk-icon { width: 64px; height: 64px; color: var(--gold-bright); animation: talkBob 4s ease-in-out infinite; }
@keyframes talkBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.talk h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
  background: linear-gradient(to bottom, var(--gold-bright), var(--gold) 60%, var(--gold-dim));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.talk p { font-size: 1rem; color: var(--parchment); max-width: 760px; }

@media (max-width: 600px) {
  .talk { grid-template-columns: 1fr; padding: 28px 24px; }
  .talk-icon { width: 48px; height: 48px; }
}

/* ---------- a world you shape ---------- */

.shape {
  background:
    radial-gradient(ellipse 70% 55% at 50% 30%, rgba(120, 82, 20, 0.12), transparent 70%),
    linear-gradient(to bottom, transparent, rgba(20, 16, 8, 0.6) 30%, rgba(20, 16, 8, 0.6) 70%, transparent);
}

.shape-intro { max-width: 780px; margin: -24px auto 54px; text-align: center; }
.shape-intro p { font-size: clamp(1rem, 2vw, 1.15rem); color: var(--parchment); }
.shape-intro strong { color: var(--gold-bright); font-weight: 600; }

.shape-promise {
  margin-top: 28px !important;
  padding: 18px 26px;
  display: inline-block;
  font-family: var(--serif);
  font-size: 0.98rem !important;
  letter-spacing: 0.04em;
  color: var(--gold-bright) !important;
  border: 1px solid rgba(212, 163, 61, 0.3);
  background: rgba(212, 163, 61, 0.05);
}
.promise-mark { color: var(--gold); margin-right: 10px; }

.townmap {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, 1fr);
  gap: 26px;
  align-items: stretch;
}

.townmap-stage {
  position: relative;
  border: 1px solid rgba(212, 163, 61, 0.22);
  background:
    radial-gradient(ellipse 90% 80% at 50% 50%, rgba(60, 40, 12, 0.35), transparent 75%),
    #0c0906;
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.7), 0 20px 60px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}
.townmap-stage::before, .townmap-stage::after {
  content: "";
  position: absolute;
  width: 18px; height: 18px;
  border-color: rgba(242, 205, 114, 0.6);
  border-style: solid;
  z-index: 2;
  pointer-events: none;
}
.townmap-stage::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.townmap-stage::after  { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }

.townmap-svg { display: block; width: 100%; height: auto; }

.townmap-hint {
  position: absolute;
  left: 16px; bottom: 12px;
  font-family: var(--serif);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dim);
  pointer-events: none;
  transition: opacity 0.5s ease;
}
.townmap.has-interacted .townmap-hint { opacity: 0; }

/* map art */
.map-line path { fill: none; stroke: var(--gold-dim); stroke-width: 1.2; stroke-linecap: round; }
.map-forest path { fill: none; stroke: #6f8a4a; stroke-width: 1.2; stroke-linejoin: round; opacity: 0.75; }
.map-road { fill: none; stroke: #8a6a2a; stroke-width: 6; stroke-linecap: round; opacity: 0.55; }
.map-wall { fill: rgba(212, 163, 61, 0.025); stroke: var(--gold); stroke-width: 1.6; stroke-linejoin: round; opacity: 0.8; }
.map-tower rect { fill: #17110a; stroke: var(--gold); stroke-width: 1.2; }
.map-glyph path, .map-glyph rect, .map-glyph circle {
  fill: none;
  stroke: var(--parchment-dim);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.35s ease;
}
.map-glyph.is-lit path, .map-glyph.is-lit rect, .map-glyph.is-lit circle { stroke: var(--gold-bright); }
.map-label {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-anchor: middle;
  fill: var(--parchment-dim);
  transition: fill 0.35s ease;
  pointer-events: none;
}
.map-label.is-lit { fill: var(--gold-bright); }
.map-label-region {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-anchor: middle;
  fill: rgba(212, 163, 61, 0.45);
  pointer-events: none;
}
.river-flow { animation: riverFlow 3s linear infinite; }
@keyframes riverFlow { to { stroke-dashoffset: -40; } }

.map-mover rect, .map-mover circle { stroke: none; }
.map-cart rect { fill: #c99a3a; }
.map-cart circle { fill: #eadfc4; }
.map-guard circle { fill: #f2cd72; filter: url(#hsGlow); }

/* ashen crown altar: the one landmark in umbral purple */
.map-ashen path, .map-ashen circle { stroke: #9a74cf; }
.map-ashen.is-lit path, .map-ashen.is-lit circle { stroke: #d3b3f7; }
.map-ashen .ashen-flame { fill: rgba(154, 116, 207, 0.35); transform-origin: 0 -2px; transform-box: view-box; animation: ashenFlame 1.6s ease-in-out infinite; }
.map-ashen .ashen-flame-2 { fill: rgba(211, 179, 247, 0.5); animation-duration: 1.1s; animation-delay: 0.3s; }
.map-ashen.is-lit .ashen-flame { fill: rgba(185, 140, 240, 0.6); }
@keyframes ashenFlame {
  0%, 100% { transform: scale(1, 1); opacity: 0.85; }
  50% { transform: scale(0.88, 1.12); opacity: 1; }
}
.hs-ashen .hs-core { fill: #d3b3f7; }
.hs-ashen .hs-halo { fill: rgba(185, 140, 240, 0.16); stroke: rgba(185, 140, 240, 0.4); }
.hs-ashen .hs-ring { stroke: #b98cf0; }
.hs-ashen:hover .hs-halo, .hs-ashen.is-active .hs-halo { fill: rgba(185, 140, 240, 0.3); }
.hs-ashen:hover .hs-ring, .hs-ashen.is-active .hs-ring { fill: rgba(138, 92, 200, 0.10); }
.townmap-panel.is-ashen { border-color: rgba(138, 92, 200, 0.4); background: linear-gradient(to bottom, rgba(138, 92, 200, 0.10), rgba(138, 92, 200, 0.02)); }
.townmap-panel.is-ashen .panel-kicker { color: #b98cf0; }
.townmap-panel.is-ashen .panel-tags li { color: #d3b3f7; border-color: rgba(138, 92, 200, 0.45); background: rgba(138, 92, 200, 0.08); }
.townmap-panel.is-ashen::before, .townmap-panel.is-ashen::after { border-color: rgba(185, 140, 240, 0.6); }
.panel-dots span[data-key="ashen"].is-on { background: #b98cf0; }

/* border keep: banner flutters */
.map-keep .keep-banner { fill: rgba(212, 163, 61, 0.35); transform-origin: 0 -25px; transform-box: view-box; animation: keepBanner 2.4s ease-in-out infinite; }
.map-keep.is-lit .keep-banner { fill: rgba(242, 205, 114, 0.7); }
@keyframes keepBanner { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(0.8) skewY(4deg); } }

/* hotspots */
.hs { cursor: pointer; outline: none; }
.hs-core {
  fill: var(--gold-bright);
  stroke: #0a0805;
  stroke-width: 2;
  filter: url(#hsGlow);
  animation: hsBreathe 2.8s ease-in-out infinite;
}
@keyframes hsBreathe { 0%, 100% { r: 6; } 50% { r: 8.5; } }
.hs-halo { fill: rgba(242, 205, 114, 0.14); stroke: rgba(242, 205, 114, 0.35); stroke-width: 0.8; transition: fill 0.3s ease; }
.hs:hover .hs-halo, .hs.is-active .hs-halo { fill: rgba(242, 205, 114, 0.26); }
.hs-ring {
  fill: rgba(212, 163, 61, 0);
  stroke: var(--gold);
  stroke-width: 1.2;
  opacity: 0;
  transform-origin: center;
  transform-box: fill-box;
  transition: opacity 0.35s ease, fill 0.35s ease;
}
.hs:hover .hs-ring, .hs:focus-visible .hs-ring, .hs.is-active .hs-ring {
  opacity: 1;
  fill: rgba(212, 163, 61, 0.08);
  animation: hsRing 1.8s ease-out infinite;
}
@keyframes hsRing {
  0%   { transform: scale(0.55); opacity: 0.9; }
  100% { transform: scale(1.15); opacity: 0; }
}
.hs.is-active .hs-core, .hs:focus-visible .hs-core { fill: #fff; }
.hs:focus-visible .hs-ring { stroke: #fff; }

.townmap-panel {
  position: relative;
  padding: 38px 34px 34px;
  border: 1px solid rgba(212, 163, 61, 0.22);
  background: linear-gradient(to bottom, rgba(212, 163, 61, 0.07), rgba(212, 163, 61, 0.015));
  display: flex;
  flex-direction: column;
}
.townmap-panel::before, .townmap-panel::after {
  content: "";
  position: absolute;
  width: 14px; height: 14px;
  border-color: rgba(242, 205, 114, 0.6);
  border-style: solid;
}
.townmap-panel::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.townmap-panel::after  { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }

.panel-kicker, .panel-title, .panel-text, .panel-tags {
  transition: opacity 0.28s ease, transform 0.28s ease;
}
.townmap-panel.is-switching .panel-kicker,
.townmap-panel.is-switching .panel-title,
.townmap-panel.is-switching .panel-text,
.townmap-panel.is-switching .panel-tags { opacity: 0; transform: translateY(8px); }

.panel-kicker {
  font-family: var(--serif);
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.panel-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  letter-spacing: 0.06em;
  line-height: 1.3;
  color: var(--parchment);
  margin-bottom: 16px;
}
.panel-text { font-size: 0.97rem; color: var(--parchment-dim); flex: 1; }
.panel-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.panel-tags li {
  font-family: var(--serif);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-bright);
  padding: 6px 10px;
  border: 1px solid rgba(212, 163, 61, 0.3);
  background: rgba(212, 163, 61, 0.05);
}
.panel-dots { display: flex; gap: 6px; margin-top: 26px; }
.panel-dots span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(212, 163, 61, 0.25);
  transition: background 0.3s ease, transform 0.3s ease;
}
.panel-dots span.is-on { background: var(--gold-bright); transform: scale(1.3); }

@media (max-width: 900px) {
  .townmap { grid-template-columns: 1fr; }
  .townmap-panel { padding: 30px 26px 28px; }
}

/* ---------- gazette ---------- */

.gazette-section { padding: 40px 0 100px; }

.gazette {
  position: relative;
  text-align: center;
  padding: 38px 36px 34px;
  background:
    repeating-linear-gradient(0deg, rgba(234, 223, 196, 0.012) 0 1px, transparent 1px 7px),
    linear-gradient(to bottom, rgba(234, 223, 196, 0.06), rgba(234, 223, 196, 0.02));
  border-top: 3px double rgba(234, 223, 196, 0.35);
  border-bottom: 3px double rgba(234, 223, 196, 0.35);
}
.gazette-masthead { display: flex; align-items: center; justify-content: center; gap: 18px; }
.gazette-rule { flex: 1; max-width: 120px; height: 1px; background: linear-gradient(to right, transparent, rgba(234, 223, 196, 0.45)); }
.gazette-rule:last-child { background: linear-gradient(to left, transparent, rgba(234, 223, 196, 0.45)); }
.gazette-masthead h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.2rem, 3vw, 1.9rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--parchment);
  white-space: nowrap;
}
.gazette-meta {
  font-family: var(--serif);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--parchment-dim);
  margin-top: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(234, 223, 196, 0.18);
}
.gazette-headline-wrap { position: relative; height: 4.2em; margin: 22px 0 12px; }
.gazette-headline {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.05rem, 2.6vw, 1.5rem);
  letter-spacing: 0.04em;
  line-height: 1.35;
  color: var(--gold-bright);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.gazette-headline.is-on { opacity: 1; transform: translateY(0); }
.gazette-headline.is-off { opacity: 0; transform: translateY(-10px); }
.gazette-sub { font-size: 0.92rem; font-style: italic; color: var(--parchment-dim); }

@media (max-width: 520px) {
  .gazette { padding: 28px 18px 26px; }
  .gazette-headline-wrap { height: 5.2em; }
}

/* ---------- paths ---------- */

.paths {
  background: radial-gradient(ellipse 60% 60% at 50% 100%, rgba(120, 82, 20, 0.10), transparent 70%);
}

.path-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}
.path-tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--parchment-dim);
  background: rgba(212, 163, 61, 0.03);
  border: 1px solid rgba(212, 163, 61, 0.16);
  cursor: pointer;
  position: relative;
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}
.path-tab-icon { width: 20px; height: 20px; display: inline-block; }
.path-tab-icon svg { width: 100%; height: 100%; }
.path-tab:hover { color: var(--parchment); border-color: rgba(212, 163, 61, 0.4); transform: translateY(-2px); }
.path-tab.is-active {
  color: var(--gold-bright);
  border-color: rgba(212, 163, 61, 0.6);
  background: linear-gradient(to bottom, rgba(212, 163, 61, 0.16), rgba(212, 163, 61, 0.05));
  box-shadow: 0 0 24px rgba(212, 163, 61, 0.10);
}
.path-tab.is-active::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -7px;
  width: 10px; height: 10px;
  transform: translateX(-50%) rotate(45deg);
  background: #17110a;
  border-right: 1px solid rgba(212, 163, 61, 0.6);
  border-bottom: 1px solid rgba(212, 163, 61, 0.6);
}
.path-tab:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; }

.path-panels {
  position: relative;
  border: 1px solid rgba(212, 163, 61, 0.2);
  background: linear-gradient(to bottom, rgba(212, 163, 61, 0.05), rgba(212, 163, 61, 0.012));
  min-height: 380px;
}
.path-panels::before, .path-panels::after {
  content: "";
  position: absolute;
  width: 16px; height: 16px;
  border-color: rgba(242, 205, 114, 0.6);
  border-style: solid;
}
.path-panels::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.path-panels::after  { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }

.path-panel {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  align-items: center;
  padding: 48px 52px;
  animation: panelIn 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.path-panel[hidden] { display: none; }
@keyframes panelIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.path-art { width: 100%; max-width: 260px; margin: 0 auto; color: var(--gold); }
.path-art svg { width: 100%; height: auto; }
.path-art svg > circle:first-child {
  animation: compassSpin 60s linear infinite;
  transform-origin: 100px 100px;
  stroke-dasharray: 4 8;
}
.path-art.watch { color: #d9b760; }
.path-art.outlaw { color: #b98cf0; }
.path-art.steward { color: var(--gold-bright); }
.path-art.merchant { color: #d4a33d; }

.path-kicker {
  font-family: var(--serif);
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.path-body h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  letter-spacing: 0.04em;
  line-height: 1.3;
  color: var(--parchment);
  margin-bottom: 16px;
}
.path-body > p { font-size: 1rem; color: var(--parchment); }
.path-list { list-style: none; margin: 20px 0 0; }
.path-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: var(--parchment-dim);
}
.path-list li::before {
  content: "";
  position: absolute;
  left: 2px; top: 0.62em;
  width: 7px; height: 7px;
  transform: rotate(45deg);
  border: 1px solid var(--gold);
}
.path-note {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(212, 163, 61, 0.18);
  font-family: var(--serif);
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  color: var(--gold-bright);
}

@media (max-width: 820px) {
  .path-panel { grid-template-columns: 1fr; gap: 24px; padding: 34px 26px; }
  .path-art { max-width: 160px; }
  .path-tabs { gap: 8px; }
  .path-tab { padding: 6px 12px 6px 6px; gap: 8px; font-size: 0.64rem; letter-spacing: 0.12em; }
  .path-tab-icon { width: 34px; height: 34px; }
}

.paths-note {
  max-width: 760px;
  margin: 38px auto 0;
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(0.98rem, 1.9vw, 1.12rem);
  letter-spacing: 0.03em;
  line-height: 1.8;
  color: var(--parchment);
}
.paths-note strong { color: var(--gold-bright); }

/* ---------- roadmap ---------- */

.roadmap {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-width: 620px;
  margin: 46px auto 0;
  position: relative;
}
.roadmap::before {
  content: "";
  position: absolute;
  left: 25%; right: 25%;
  top: 11px;
  height: 1px;
  background: linear-gradient(to right, var(--gold), rgba(212, 163, 61, 0.35));
}
.rm-step { position: relative; text-align: center; padding: 0 12px; }
.rm-marker {
  display: block;
  width: 22px; height: 22px;
  margin: 0 auto 16px;
  border-radius: 50%;
  border: 1px solid var(--gold-dim);
  background: #0a0805;
  position: relative;
}
.rm-marker::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: rgba(212, 163, 61, 0.35);
}
.rm-step.is-now .rm-marker { border-color: var(--gold-bright); box-shadow: 0 0 18px rgba(242, 205, 114, 0.35); }
.rm-step.is-now .rm-marker::after { background: var(--gold-bright); animation: statusPulse 2.2s ease-out infinite; }
.rm-when {
  display: block;
  font-family: var(--serif);
  font-size: 0.66rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
}
.rm-what {
  display: block;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(0.85rem, 1.8vw, 1.05rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--parchment);
  margin-top: 6px;
}
.rm-note { display: block; font-size: 0.82rem; font-style: italic; color: var(--parchment-dim); margin-top: 4px; }

@media (max-width: 560px) {
  .roadmap { grid-template-columns: 1fr; gap: 26px; max-width: 280px; }
  .roadmap::before {
    left: 50%; right: auto; top: 0; bottom: 0;
    width: 1px; height: auto;
    background: linear-gradient(to bottom, var(--gold), rgba(212, 163, 61, 0.3));
  }
  .rm-step { background: var(--bg); padding: 6px 0; }
}

.cta .cta-note { margin-top: 36px; }

/* ---------- reduced motion additions ---------- */

@media (prefers-reduced-motion: reduce) {
  .compass-ring, .path-art svg > circle:first-child, .river-flow, .hs-core, .status-dot, .talk-icon, .ashen-flame, .keep-banner { animation: none !important; }
  .map-mover { display: none; }
  .hs:hover .hs-ring, .hs.is-active .hs-ring { animation: none !important; opacity: 1; transform: none; }
}

/* ---------- the war to come (under the banners) ---------- */

.war {
  position: relative;
  max-width: 1020px;
  margin: 34px auto 0;
  padding: 40px 42px 38px;
  text-align: center;
  border: 1px solid rgba(212, 163, 61, 0.2);
  background:
    linear-gradient(90deg, rgba(212, 163, 61, 0.07), rgba(212, 163, 61, 0.015) 45%, rgba(138, 92, 200, 0.015) 55%, rgba(138, 92, 200, 0.08));
}
.war::before, .war::after {
  content: "";
  position: absolute;
  width: 16px; height: 16px;
  border-style: solid;
}
.war::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; border-color: rgba(242, 205, 114, 0.6); }
.war::after  { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; border-color: rgba(185, 140, 240, 0.55); }

.war-kicker {
  font-family: var(--serif);
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--parchment-dim);
}
.war-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 8px 0 30px;
  background: linear-gradient(90deg, var(--gold-bright), var(--gold) 40%, #a678e0 60%, #d3b3f7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.war-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  text-align: left;
}
.war-col { position: relative; padding-left: 64px; }
.war-icon { position: absolute; left: 0; top: 0; width: 46px; height: 46px; color: var(--gold); }
.war-col:last-child .war-icon { color: #b98cf0; }
.war-col h4 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--parchment);
  margin-bottom: 10px;
}
.war-col p { font-size: 0.94rem; color: var(--parchment-dim); }

@media (max-width: 760px) {
  .war { padding: 30px 24px 28px; }
  .war-split { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- faction crests (Design/Media renders) ---------- */

.faction-emblem {
  width: 176px;
  height: 176px;
  margin: 0 auto 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.faction-emblem::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  filter: blur(22px);
  opacity: 0.55;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.sanctum .faction-emblem::before { background: radial-gradient(circle, rgba(242, 205, 114, 0.45), transparent 70%); }
.enclave .faction-emblem::before { background: radial-gradient(circle, rgba(185, 140, 240, 0.4), rgba(120, 30, 40, 0.2) 55%, transparent 72%); }
.faction-emblem img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.75));
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
  animation: crestIn 1.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes crestIn { from { opacity: 0; transform: translateY(14px) scale(0.94); } to { opacity: 1; transform: translateY(0) scale(1); } }
.faction-panel:hover .faction-emblem img { transform: translateY(-6px) scale(1.05); }
.sanctum:hover .faction-emblem img { filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 18px rgba(242, 205, 114, 0.35)); }
.enclave:hover .faction-emblem img { filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 18px rgba(185, 140, 240, 0.35)); }
.faction-panel:hover .faction-emblem::before { opacity: 0.9; transform: scale(1.1); }
.faction-panel { padding-top: 44px; }

@media (max-width: 760px) { .faction-emblem { width: 140px; height: 140px; } }
@media (prefers-reduced-motion: reduce) { .faction-emblem img { animation: none !important; } }
