/* ==========================================================
   Warning of War — styles
   Dark intelligence-dashboard theme
   ========================================================== */

:root {
  /* Surfaces */
  --bg:           #07090d;
  --bg-elev-1:   #0c1119;
  --bg-elev-2:   #11172180;
  --surface:     #0f1521;
  --surface-2:   #141c2b;
  --border:      #1c2638;
  --border-strong: #2a3a55;

  /* Text */
  --text:        #e7ecf3;
  --text-dim:    #9aa6b8;
  --text-mute:   #65748b;

  /* Accent */
  --accent:      #38bdf8;
  --accent-dim:  #0ea5e9;

  /* Threat colors */
  --t-low:       #22c55e;
  --t-guarded:   #a3e635;
  --t-elevated:  #facc15;
  --t-high:      #fb923c;
  --t-critical:  #ef4444;

  --t-low-bg:       rgba(34,197,94,0.10);
  --t-guarded-bg:   rgba(163,230,53,0.10);
  --t-elevated-bg:  rgba(250,204,21,0.10);
  --t-high-bg:      rgba(251,146,60,0.12);
  --t-critical-bg:  rgba(239,68,68,0.14);

  /* Type */
  --font-sans: 'Space Grotesk', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Layout */
  --container: 1240px;
  --radius:    14px;
  --radius-lg: 20px;
}

* { box-sizing: border-box; }
*::selection { background: var(--accent); color: #000; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image:
    radial-gradient(900px 500px at 80% -10%, rgba(56,189,248,0.07), transparent 60%),
    radial-gradient(700px 400px at -10% 30%, rgba(239,68,68,0.05), transparent 60%);
  background-attachment: fixed;
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
}
.skip:focus {
  left: 12px;
  top: 12px;
  background: var(--accent);
  color: #000;
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 100;
}

/* ===================== Topbar ===================== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(7,9,13,0.72);
  border-bottom: 1px solid var(--border);
}
.topbar-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 28px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.01em;
}
.brand-mark {
  width: 32px; height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(239,68,68,0.18), rgba(251,146,60,0.18));
  color: #fca5a5;
  border: 1px solid rgba(239,68,68,0.35);
}
.brand-name { font-size: 0.98rem; }

.nav {
  display: flex;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
}
.nav a {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  padding: 6px 12px;
  border-radius: 8px;
  transition: color .15s, background .15s;
}
.nav a:hover { color: var(--text); background: var(--surface); }

/* Mobile nav toggle — pure-CSS hamburger (checkbox hack). Hidden on desktop;
   the media query below turns it on and collapses .nav into a dropdown panel. */
.nav-toggle-cb { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.nav-toggle { display: none; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-dim);
  letter-spacing: 0.06em;
}
.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--t-low);
  box-shadow: 0 0 0 4px rgba(34,197,94,0.18);
  animation: pulse 2s infinite ease-out;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0   rgba(34,197,94,0.40); }
  70%  { box-shadow: 0 0 0 10px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0   rgba(34,197,94,0); }
}
.status-text { color: var(--t-low); font-weight: 600; }
.status-sep { opacity: 0.5; }

/* ===================== Hero ===================== */
.hero {
  position: relative;
  padding: 70px 0 90px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, transparent 60%, rgba(7,9,13,0.85) 100%),
    repeating-linear-gradient(0deg, rgba(56,189,248,0.04) 0 1px, transparent 1px 60px),
    repeating-linear-gradient(90deg, rgba(56,189,248,0.04) 0 1px, transparent 1px 60px);
  pointer-events: none;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 80%);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1.15fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-dim);
  letter-spacing: 0.16em;
  margin: 0 0 18px;
  text-transform: uppercase;
}
.eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(56,189,248,0.18);
}

.hero h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  font-weight: 600;
}
.hero .accent {
  background: linear-gradient(90deg, #fb923c 0%, #ef4444 60%, #f43f5e 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
.lede {
  color: var(--text-dim);
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0 0 32px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
  margin-bottom: 32px;
}
.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  position: relative;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--text-mute);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.stat-row {
  display: flex; align-items: baseline; gap: 10px;
}
.stat-value {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1;
}
.stat-trend {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
}
.stat-trend.up    { color: var(--t-high); }
.stat-trend.down  { color: var(--t-low); }
.stat-trend.flat  { color: var(--text-mute); }
.stat-meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-mute);
  letter-spacing: 0.04em;
  margin-top: 8px;
}

.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform .12s ease, background .15s, border-color .15s, color .15s;
  cursor: pointer;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent);
  color: #00131c;
}
.btn-primary:hover { background: #7dd3fc; }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: var(--surface); border-color: var(--accent); color: var(--accent); }

/* ===================== Tactical World Map ===================== */
.hero-map {
  position: relative;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(56,189,248,0.04), transparent 60%),
    linear-gradient(180deg, #0b1320 0%, #070b14 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.03);
}

/* Top + bottom HUD bars */
.map-hud-top, .map-hud-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--text-mute);
  background: rgba(7,11,20,0.7);
  border-bottom: 1px solid var(--border);
}
.map-hud-bottom {
  border-top: 1px solid var(--border);
  border-bottom: none;
}
.hud-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-dim);
}
.hud-dot {
  width: 7px; height: 7px;
  background: var(--t-low);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.18);
  animation: pulse 2s infinite ease-out;
}
.hud-mono { color: var(--text-dim); }
.hud-ok   { color: var(--t-low); font-weight: 600; letter-spacing: 0.18em; }

.worldmap {
  width: 100%;
  height: auto;
  display: block;
  background:
    repeating-linear-gradient(180deg, rgba(255,255,255,0.012) 0 1px, transparent 1px 3px),
    radial-gradient(120% 80% at 50% 30%, rgba(56,189,248,0.05), transparent 70%),
    #060a12;
}

/* Grid lines */
.grid-line line {
  stroke: rgba(56,189,248,0.10);
  stroke-width: 0.6;
}
.grid-line .prime,
.grid-line .equator {
  stroke: rgba(56,189,248,0.22);
  stroke-width: 0.9;
}
.grid-special line {
  stroke: rgba(56,189,248,0.08);
  stroke-width: 0.6;
  stroke-dasharray: 3 4;
}

/* Edge ticks */
.ticks line {
  stroke: rgba(56,189,248,0.45);
  stroke-width: 1;
}

/* Coordinate labels around the edges */
.coords text {
  fill: rgba(56,189,248,0.55);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-anchor: middle;
}

/* HUD corner brackets */
.hud-brackets path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.4;
  opacity: 0.7;
}

/* Continent shapes */
.region-shape {
  fill: var(--shape-fill, #15202f);
  stroke: var(--shape-stroke, #2d4564);
  stroke-width: 1;
  stroke-linejoin: round;
  cursor: pointer;
  transition: fill .25s, stroke .25s, filter .25s;
}
.region-aux {
  cursor: pointer;
}
.region-shape:hover {
  filter: brightness(1.3) drop-shadow(0 0 10px var(--shape-glow, rgba(56,189,248,0.5)));
}
.region-shape.is-low       { --shape-fill: rgba(34,197,94,0.24);  --shape-stroke: var(--t-low);      --shape-glow: rgba(34,197,94,0.55); }
.region-shape.is-guarded   { --shape-fill: rgba(163,230,53,0.22); --shape-stroke: var(--t-guarded);  --shape-glow: rgba(163,230,53,0.55); }
.region-shape.is-elevated  { --shape-fill: rgba(250,204,21,0.24); --shape-stroke: var(--t-elevated); --shape-glow: rgba(250,204,21,0.55); }
.region-shape.is-high      { --shape-fill: rgba(251,146,60,0.30); --shape-stroke: var(--t-high);     --shape-glow: rgba(251,146,60,0.6);  }
.region-shape.is-critical  { --shape-fill: rgba(239,68,68,0.36);  --shape-stroke: var(--t-critical); --shape-glow: rgba(239,68,68,0.7);  }

/* Region stencil labels */
.region-labels text {
  fill: rgba(231,236,243,0.78);
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-anchor: middle;
  pointer-events: none;
  text-shadow: 0 0 8px rgba(0,0,0,0.6);
}

/* Radar sweep */
.scan-sweep {
  animation: sweep 7s linear infinite;
}
@keyframes sweep {
  0%   { transform: translateX(0); }
  100% { transform: translateX(1220px); }
}

/* Hotspot reticles */
.hotspot {
  pointer-events: none;
}
.hotspot .ring-core {
  fill: none;
  stroke-width: 1.2;
}
.hotspot .ring-tick {
  fill: none;
  stroke-width: 1;
}
.hotspot .ping {
  fill: none;
  stroke-width: 1.2;
  transform-origin: var(--cx) var(--cy);
  transform-box: fill-box;
  opacity: 0;
  animation: ping 2.6s cubic-bezier(.2,.6,.2,1) infinite;
}
.hotspot .ping.delay { animation-delay: 1.3s; }
@keyframes ping {
  0%   { transform: scale(0.4); opacity: 0.9; }
  80%  { transform: scale(2.4); opacity: 0;   }
  100% { transform: scale(2.4); opacity: 0;   }
}
.hotspot.critical .ring-core,
.hotspot.critical .ring-tick,
.hotspot.critical .ping { stroke: var(--t-critical); }
.hotspot.high .ring-core,
.hotspot.high .ring-tick,
.hotspot.high .ping     { stroke: var(--t-high); }

/* Legend */
.map-legend {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-mute);
  letter-spacing: 0.14em;
}
.lg {
  width: 8px; height: 8px; border-radius: 50%;
  display: inline-block;
  margin-left: 12px;
  margin-right: 4px;
  box-shadow: 0 0 6px currentColor;
}
.lg:first-child { margin-left: 0; }
.lg-low      { background: var(--t-low);      color: var(--t-low); }
.lg-guarded  { background: var(--t-guarded);  color: var(--t-guarded); }
.lg-elevated { background: var(--t-elevated); color: var(--t-elevated); }
.lg-high     { background: var(--t-high);     color: var(--t-high); }
.lg-critical { background: var(--t-critical); color: var(--t-critical); }

/* ===================== Sections ===================== */
.regions, .methodology {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  font-weight: 600;
}
.section-sub {
  color: var(--text-dim);
  margin: 0;
}

/* ===================== Region cards ===================== */
.region-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 18px;
}
.grid-status {
  grid-column: 1 / -1;
  padding: 32px 24px;
  text-align: center;
  color: var(--text-dim);
  background: var(--surface);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  font-family: var(--font-mono);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
}
.grid-status.error {
  border-style: solid;
  border-color: rgba(239,68,68,0.4);
  background: rgba(239,68,68,0.05);
  color: var(--text);
}
.grid-status.error strong { color: var(--t-critical); display: block; margin-bottom: 8px; font-size: 1rem; }
.grid-status.error p { color: var(--text-dim); font-size: 0.88rem; max-width: 500px; margin: 0 auto 16px; }
.grid-status.error code { background: rgba(0,0,0,0.3); padding: 2px 6px; border-radius: 4px; font-size: 0.85em; }
.region-card {
  background: linear-gradient(180deg, var(--surface), #0b1119);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 22px 20px;
  position: relative;
  overflow: hidden;
  transition: border-color .2s, transform .2s, box-shadow .25s;
  scroll-margin-top: 90px;
}
.region-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--card-tint, transparent);
  opacity: 0.55;
  pointer-events: none;
  mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
}
.region-card.is-low       { --card-tint: var(--t-low-bg);       --card-stroke: var(--t-low); }
.region-card.is-guarded   { --card-tint: var(--t-guarded-bg);   --card-stroke: var(--t-guarded); }
.region-card.is-elevated  { --card-tint: var(--t-elevated-bg);  --card-stroke: var(--t-elevated); }
.region-card.is-high      { --card-tint: var(--t-high-bg);      --card-stroke: var(--t-high); }
.region-card.is-critical  { --card-tint: var(--t-critical-bg);  --card-stroke: var(--t-critical); }
.region-card:hover {
  border-color: var(--card-stroke, var(--border-strong));
  box-shadow: 0 18px 40px -20px rgba(0,0,0,0.6);
  transform: translateY(-2px);
}

/* Whole-card click area — invisible overlay link.
   All actual nested <a> elements below need z-index >= 2 to stay clickable. */
.region-card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  cursor: pointer;
  /* visually hidden but interactive */
  background: transparent;
  text-indent: -9999px;
  overflow: hidden;
}
.region-card-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

/* Lift all the real interactive elements above the card-wide link */
.region-card .region-links a,
.region-card .signal-list a,
.region-card .region-detail-link {
  position: relative;
  z-index: 2;
}

.region-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  position: relative;
}
.region-id {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--text-mute);
  margin-bottom: 4px;
  text-transform: uppercase;
}
.region-name {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
}
.region-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 5px 9px;
  border-radius: 6px;
  text-transform: uppercase;
  white-space: nowrap;
  border: 1px solid currentColor;
  color: var(--card-stroke, var(--text));
  background: rgba(0,0,0,0.25);
}

.gauge-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 6px 0 4px;
}
.gauge {
  width: 100%;
  max-width: 260px;
  height: auto;
  display: block;
}
.gauge-track { stroke: #1c2638; }
.gauge-seg   { fill: none; stroke-linecap: butt; transition: opacity .3s; }
.gauge-seg.low      { stroke: var(--t-low); }
.gauge-seg.guarded  { stroke: var(--t-guarded); }
.gauge-seg.elevated { stroke: var(--t-elevated); }
.gauge-seg.high     { stroke: var(--t-high); }
.gauge-seg.critical { stroke: var(--t-critical); }
.gauge-seg.dim      { opacity: 0.18; }

.needle {
  transform: rotate(-90deg);
  transition: transform 1.6s cubic-bezier(.22,1,.36,1);
}
.needle-shaft { fill: #e7ecf3; }
.needle-hub   { fill: #e7ecf3; stroke: #07090d; stroke-width: 2; }

.gauge-readout {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}
.gauge-score {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--text);
}
.gauge-score .pct { font-size: 1rem; color: var(--text-mute); margin-left: 2px; }
.gauge-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--card-stroke, var(--text-dim));
  margin-top: 4px;
  text-transform: uppercase;
  font-weight: 600;
}

.trend-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}
.trend {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,0.3);
  border: 1px solid var(--border);
  white-space: nowrap;
}
.trend.up    { color: var(--t-high);    border-color: rgba(251,146,60,0.35); }
.trend.down  { color: var(--t-low);     border-color: rgba(34,197,94,0.35); }
.trend.flat  { color: var(--text-dim);  border-color: var(--border); }
.trend-arrow { font-size: 0.85rem; }

/* Sparkline next to trend pill */
.sparkline {
  flex: 1 1 auto;
  height: 26px;
  max-width: 140px;
  min-width: 70px;
  color: var(--card-stroke, var(--text-dim));
  opacity: 0.85;
}
.sparkline-empty {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--text-mute);
  text-transform: uppercase;
  text-align: right;
  flex: 1 1 auto;
}

/* Confidence line under the gauge label */
.gauge-conf {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-mute);
  letter-spacing: 0.16em;
  margin-top: 4px;
  font-weight: 500;
}

/* Recent signal — headlines that informed the score */
.region-signal {
  margin: 14px 0 16px;
  padding: 12px 14px;
  background: rgba(0,0,0,0.28);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.region-signal .region-id {
  margin: 0 0 8px;
}
.signal-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.signal-list li {
  font-size: 0.86rem;
  line-height: 1.4;
}
.signal-list a {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-dim);
  transition: color .15s;
}
.signal-list a:hover { color: var(--accent); }
.signal-title {
  flex: 1 1 auto;
  min-width: 0;
}
.signal-host {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--text-mute);
  letter-spacing: 0.04em;
  white-space: nowrap;
  align-self: flex-end;
  opacity: 0.85;
}
.signal-list a:hover .signal-host { color: var(--accent); }

.region-summary {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin: 16px 0 18px;
  min-height: 3.6em;
}

.region-links {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}
.region-links li + li { border-top: 1px dashed var(--border); }
.region-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 4px;
  color: var(--text);
  font-size: 0.93rem;
  transition: color .15s, padding .15s;
}
.region-links a:hover {
  color: var(--accent);
  padding-left: 8px;
}
.region-links .link-host {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-mute);
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.region-links a:hover .link-host { color: var(--accent); opacity: 0.8; }

/* ===================== Methodology ===================== */
.meth-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px,1fr));
  gap: 14px;
}
.meth-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.meth-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}
.meth-card h3 {
  font-size: 1.1rem;
  margin: 0 0 8px;
  font-weight: 600;
}
.meth-card p {
  color: var(--text-dim);
  font-size: 0.93rem;
  margin: 0;
}

.disclaimer {
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px solid rgba(251,146,60,0.25);
  background: rgba(251,146,60,0.06);
  border-radius: var(--radius);
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.6;
}
.disclaimer strong { color: var(--t-high); font-weight: 600; }

/* ===================== Footer ===================== */
.footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  color: var(--text-mute);
  font-size: 0.85rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text-dim); }
.footer-domain { font-family: var(--font-mono); color: var(--accent); }
.footer-dot { opacity: 0.5; }
.footer-meta { display: inline-flex; gap: 10px; flex-wrap: wrap; }

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.footer-col-title {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0 0 10px;
  font-weight: 600;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin: 0 0 6px; }
.footer-col a {
  color: var(--text-mute);
  text-decoration: none;
  transition: color 0.15s ease;
}
.footer-col a:hover { color: var(--accent); }

/* Related-intelligence cross-link block (region pages) */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.related-title {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0 0 12px;
  font-weight: 600;
}
.related-col ul { list-style: none; margin: 0; padding: 0; }
.related-col li { margin: 0 0 8px; }
.related-col a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: color 0.15s ease, border-color 0.15s ease;
}
.related-col a:hover { color: var(--accent); border-color: var(--accent); }
@media (max-width: 640px) {
  .related-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* Maritime guides index */
.guide-index-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.guide-index-card { margin: 0; }
.guide-index-link {
  display: block;
  padding: 22px 24px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--panel, rgba(255,255,255,0.02));
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.guide-index-link:hover { border-color: var(--accent); transform: translateY(-2px); }
.guide-index-title { margin: 0 0 8px; font-size: 1.15rem; color: var(--text); }
.guide-index-desc { margin: 0 0 10px; color: var(--text-mute); font-size: 0.92rem; line-height: 1.5; }
.guide-index-meta { margin: 0; font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-dim); }

/* ===================== Responsive ===================== */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-stats { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .topbar-inner { grid-template-columns: 1fr auto auto; row-gap: 0; column-gap: 14px; }
  .brand  { grid-column: 1; grid-row: 1; }
  .status { grid-column: 2; grid-row: 1; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    grid-column: 3; grid-row: 1;
    width: 40px; height: 40px; padding: 0;
    border: 1px solid var(--border); border-radius: 9px;
    background: var(--surface); color: var(--text);
    cursor: pointer;
  }
  .nav-toggle .nav-toggle-close { display: none; }
  .nav-toggle-cb:checked ~ .nav-toggle .nav-toggle-open  { display: none; }
  .nav-toggle-cb:checked ~ .nav-toggle .nav-toggle-close { display: block; }
  .nav-toggle-cb:focus-visible ~ .nav-toggle { outline: 2px solid var(--accent); outline-offset: 2px; }
  .nav {
    grid-column: 1 / -1; grid-row: 2;
    display: none;
    flex-direction: column;
    gap: 2px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
  }
  .nav-toggle-cb:checked ~ .nav { display: flex; }
  .nav-sep { display: none; }
  .nav a { display: block; padding: 11px 12px; font-size: 0.86rem; border-radius: 8px; }
  .nav a[aria-current="page"] { background: var(--surface); color: var(--text); }
}
@media (max-width: 640px) {
  .container, .topbar-inner { padding-left: 18px; padding-right: 18px; }
  .hero { padding: 48px 0 64px; }
  .hero-stats { grid-template-columns: 1fr; }
  .region-grid { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: 1fr 1fr; gap: 18px; }
  .regions, .methodology { padding: 56px 0; }
  .map-legend { left: 50%; transform: translateX(-50%); bottom: 12px; }
  .status-time { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================
   Region pages
   ========================================================== */

.region-detail-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding: 9px 14px;
  border: 1px solid var(--card-stroke, var(--border-strong));
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--card-stroke, var(--text));
  background: rgba(0,0,0,0.25);
  transition: background .15s, color .15s, transform .12s;
  text-transform: uppercase;
}
.region-detail-link:hover {
  background: var(--card-stroke, var(--accent));
  color: #00131c;
  transform: translateX(2px);
}

/* Breadcrumb */
.breadcrumb {
  padding: 16px 0 0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-mute);
  letter-spacing: 0.04em;
  border-top: 1px solid var(--border);
}
.breadcrumb a { color: var(--text-dim); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb [aria-current="page"] { color: var(--text); }

/* Region hero */
.region-hero {
  padding: 40px 0 60px;
  position: relative;
}
.region-hero-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}
.region-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  font-weight: 600;
}
.region-hero .lede {
  color: var(--text-dim);
  font-size: 1rem;
  margin: 0 0 28px;
  max-width: 560px;
}
.region-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
}
.region-hero-gauge {
  background: linear-gradient(180deg, var(--surface), #0a0f18);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}
.gauge-big {
  width: 100%;
  max-width: 340px;
  height: auto;
  display: block;
}
.region-hero-gauge .gauge-readout {
  position: static;
  transform: none;
  margin-top: 8px;
}
.region-hero-gauge .gauge-readout .gauge-score { font-size: 3rem; }
.region-hero-gauge .gauge-readout .trend {
  margin-top: 14px;
  display: inline-flex;
}

/* Generic region section */
.region-section {
  padding: 48px 0;
  border-top: 1px solid var(--border);
}
.region-section .section-title {
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  letter-spacing: -0.01em;
  margin: 0 0 6px;
  font-weight: 600;
}
.region-section .section-sub {
  color: var(--text-dim);
  margin: 0 0 24px;
  font-size: 0.95rem;
}
.region-section .empty-note {
  color: var(--text-mute);
  font-style: italic;
  font-size: 0.92rem;
}

/* Region map */
.region-map-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  overflow: hidden;
}
.region-map-svg {
  width: 100%;
  height: auto;
  display: block;
}
.region-map-svg .country {
  fill: #15202f;
  stroke: #2d4564;
  stroke-width: 0.7;
  stroke-linejoin: round;
  transition: fill .2s, stroke .2s, filter .2s;
  cursor: default;
}
.region-map-svg .country:hover {
  fill: #1f2e44;
  stroke: var(--accent);
  filter: drop-shadow(0 0 8px rgba(56,189,248,0.4));
}
.region-map-svg .country.is-active {
  fill: rgba(239,68,68,0.35);
  stroke: var(--t-critical);
  stroke-width: 1.4;
}
.region-map-svg .country.is-active:hover {
  fill: rgba(239,68,68,0.55);
  filter: drop-shadow(0 0 12px rgba(239,68,68,0.6));
}
.region-map-svg .grid-line line {
  stroke: rgba(56,189,248,0.08);
  stroke-width: 0.5;
}
.region-map-placeholder {
  background: var(--surface);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  padding: 48px 24px;
  text-align: center;
  color: var(--text-mute);
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

/* Long summary */
.region-longsummary {
  max-width: 760px;
}
.region-longsummary p {
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.65;
  margin: 0 0 16px;
}
.region-longsummary p:last-child { margin-bottom: 0; }

/* Flashpoints */
.flashpoint-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px,1fr));
  gap: 14px;
}
.flashpoint {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  position: relative;
}
.flashpoint-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.flashpoint-name {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  letter-spacing: -0.01em;
}
.flashpoint-status {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid currentColor;
  background: rgba(0,0,0,0.25);
}
.flashpoint-active        { border-color: rgba(239,68,68,0.4); }
.flashpoint-active .flashpoint-status        { color: var(--t-critical); }
.flashpoint-rising        { border-color: rgba(251,146,60,0.4); }
.flashpoint-rising .flashpoint-status        { color: var(--t-high); }
.flashpoint-stable        { border-color: var(--border-strong); }
.flashpoint-stable .flashpoint-status        { color: var(--text-dim); }
.flashpoint-de-escalating { border-color: rgba(34,197,94,0.4); }
.flashpoint-de-escalating .flashpoint-status { color: var(--t-low); }
.flashpoint-body p {
  margin: 0 0 8px;
  color: var(--text-dim);
  font-size: 0.94rem;
  line-height: 1.5;
}
.flashpoint-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-mute);
  letter-spacing: 0.04em;
}
.flashpoint-meta strong { color: var(--text-dim); font-weight: 500; }

/* 30-day trend chart */
.trend-chart-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}
.trend-chart {
  width: 100%;
  height: auto;
  display: block;
}
.trend-chart .band {
  opacity: 0.06;
}
.trend-chart .band-low      { fill: var(--t-low); }
.trend-chart .band-guarded  { fill: var(--t-guarded); }
.trend-chart .band-elevated { fill: var(--t-elevated); }
.trend-chart .band-high     { fill: var(--t-high); }
.trend-chart .band-critical { fill: var(--t-critical); }
.trend-chart-empty {
  padding: 32px;
  background: var(--surface);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  text-align: center;
  color: var(--text-mute);
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

/* Briefed headlines */
.briefed-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: brief;
}
.briefed-item {
  display: flex;
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid var(--border);
}
.briefed-item:first-child { border-top: none; }
.briefed-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-mute);
  letter-spacing: 0.1em;
  padding-top: 2px;
  flex-shrink: 0;
}
.briefed-body { flex: 1 1 auto; min-width: 0; }
.briefed-title {
  font-size: 1.02rem;
  line-height: 1.4;
  color: var(--text);
  font-weight: 500;
  display: block;
  margin-bottom: 6px;
  transition: color .15s;
}
.briefed-title:hover { color: var(--accent); }
.briefed-meta {
  display: flex;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-mute);
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.briefed-brief {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.55;
  padding: 10px 12px;
  background: rgba(56,189,248,0.04);
  border-left: 3px solid var(--accent);
  border-radius: 0 6px 6px 0;
}
.briefed-brief strong {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-right: 4px;
}

/* Sources transparency */
.sources-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.sources-list li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 0.9rem;
}
.sources-list a { color: var(--text); font-weight: 500; }
.sources-list a:hover { color: var(--accent); }
.src-url {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-mute);
  background: rgba(0,0,0,0.25);
  padding: 3px 8px;
  border-radius: 4px;
  overflow-wrap: anywhere;
}

/* Methodology callout */
.region-methodology .meth-callout {
  margin: 0 0 18px;
  font-size: 1.02rem;
}
.region-methodology .meth-callout a {
  color: var(--accent);
  font-weight: 500;
}
.region-methodology .meth-callout a:hover { text-decoration: underline; }

/* Region page responsive */
@media (max-width: 880px) {
  .region-hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .region-hero-gauge { order: -1; }
  .region-hero-stats { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .region-section { padding: 36px 0; }
  .briefed-item { gap: 10px; }
  .briefed-num { font-size: 0.7rem; }
}

/* ===================== Footer privacy links ===================== */
.footer-link {
  color: var(--text-dim);
  text-decoration: none;
  transition: color 120ms ease;
}
.footer-link:hover { color: var(--accent); }
.footer-link-btn {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
  color: var(--text-dim);
}
.footer-link-btn:hover { color: var(--accent); }

/* ===================== Cookie banner ===================== */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9000;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 2px 0 rgba(56,189,248,0.06) inset;
  color: var(--text);
  font-size: 0.92rem;
  max-width: 980px;
  margin: 0 auto;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner-inner {
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
}
.cookie-banner-text h2 {
  margin: 0 0 4px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
}
.cookie-banner-text p {
  margin: 0;
  color: var(--text-dim);
  line-height: 1.5;
  max-width: 64ch;
}
.cookie-banner-text a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner-controls {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.cookie-banner-controls[hidden] { display: none; }
.cookie-btn {
  appearance: none;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text);
  font: 600 0.88rem/1 var(--font-sans);
  letter-spacing: 0.2px;
  padding: 10px 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 120ms ease, border-color 120ms ease, color 120ms ease, transform 80ms ease;
}
.cookie-btn:hover { border-color: var(--accent); color: var(--accent); }
.cookie-btn:active { transform: translateY(1px); }
.cookie-btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #04111c;
}
.cookie-btn-primary:hover { background: #7dd3fc; color: #04111c; border-color: #7dd3fc; }
.cookie-btn-ghost { color: var(--text-dim); }

.cookie-manage-panel {
  grid-column: 1 / -1;
  border-top: 1px solid var(--border);
  margin-top: 4px;
  padding-top: 14px;
  display: grid;
  gap: 12px;
}
.cookie-manage-panel[hidden] { display: none; }
.cookie-option {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: start;
  padding: 10px 12px;
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
}
.cookie-option input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--accent);
  cursor: pointer;
}
.cookie-option input[disabled] { cursor: not-allowed; opacity: 0.7; }
.cookie-option-text { display: grid; gap: 2px; }
.cookie-option-text strong { color: var(--text); font-weight: 600; }
.cookie-option-text span { color: var(--text-dim); font-size: 0.86rem; }

@media (max-width: 720px) {
  .cookie-banner { left: 10px; right: 10px; bottom: 10px; }
  .cookie-banner-inner { grid-template-columns: 1fr; padding: 16px; }
  .cookie-banner-controls { justify-content: stretch; }
  .cookie-banner-controls .cookie-btn { flex: 1 1 auto; }
}

/* ===================== Privacy / policy page ===================== */
.policy-page {
  padding: 56px 0 80px;
}
.policy-page .container { max-width: 820px; }
.policy-page h1 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin: 0 0 8px;
  letter-spacing: -0.5px;
}
.policy-page .policy-meta {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-mute);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 36px;
}
.policy-page h2 {
  margin: 40px 0 12px;
  font-size: 1.35rem;
  color: var(--text);
}
.policy-page h3 {
  margin: 24px 0 8px;
  font-size: 1.05rem;
  color: var(--text);
}
.policy-page p,
.policy-page li {
  color: var(--text-dim);
  line-height: 1.65;
}
.policy-page ul {
  padding-left: 22px;
}
.policy-page li { margin-bottom: 6px; }
.policy-page a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.policy-table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 8px;
  font-size: 0.92rem;
}
.policy-table th,
.policy-table td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  color: var(--text-dim);
}
.policy-table th {
  background: var(--bg-elev-1);
  color: var(--text);
  font-weight: 600;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.policy-page .policy-callout {
  margin-top: 14px;
}

/* ==========================================================
   Supply-chain risk intelligence — sector heatmap, hub
   pages, choke-point pages, region detail clinical layout
   ========================================================== */

/* Nav separator between region links and Sectors / Choke Points */
.nav-sep {
  color: var(--text-mute);
  margin: 0 6px;
  opacity: 0.45;
  user-select: none;
}

/* ----- Sector heatmap mini-bars (used in region cards and hero) ----- */
.sector-heatmap {
  list-style: none;
  margin: 14px 0 12px;
  padding: 0;
  display: grid;
  gap: 6px;
}
.sector-heatmap.is-compact {
  margin: 10px 0 10px;
  gap: 4px;
}
.heat-row {
  display: grid;
  grid-template-columns: 78px 1fr 44px;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--text-dim);
}
.is-compact .heat-row {
  grid-template-columns: 70px 1fr 22px;
  font-size: 0.66rem;
}
.heat-label {
  text-transform: uppercase;
  color: var(--text-mute);
  letter-spacing: 0.12em;
}
.heat-track {
  position: relative;
  height: 8px;
  background: rgba(0,0,0,0.35);
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
}
.is-compact .heat-track {
  height: 6px;
}
.heat-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--t-elevated);
  transition: width .5s ease;
}
.heat-score {
  text-align: right;
  color: var(--text);
  font-weight: 600;
}
/* Per-level fill colors for axis rows */
.heat-row.heat-normal   .heat-fill { background: var(--t-low); }
.heat-row.heat-guarded  .heat-fill { background: var(--t-guarded); }
.heat-row.heat-elevated .heat-fill { background: var(--t-elevated); }
.heat-row.heat-high     .heat-fill { background: var(--t-high); }
.heat-row.heat-critical .heat-fill { background: var(--t-critical); }

/* ----- Hero heatmap block on homepage ----- */
.hero-heatmap-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px 12px;
  margin: 4px 0 24px;
}
.hero-heatmap-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.hero-heatmap-link {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: uppercase;
}
.hero-heatmap-link:hover { text-decoration: underline; }

/* ----- Region detail: executive brief + heatmap on hero ----- */
.region-exec-brief {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin: 0 0 24px;
}
.region-exec-brief .eyebrow { margin-bottom: 8px; }
.region-exec-brief p {
  margin: 0;
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.55;
}
.region-hero-heatmap {
  width: 100%;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.region-carry-note {
  background: rgba(250,204,21,0.08);
  border: 1px solid rgba(250,204,21,0.3);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 0.88rem;
  color: var(--text-dim);
  margin: 0 0 18px;
}

/* ----- Sector impact panels (region detail) ----- */
.sector-impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}
.sector-impact-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.sector-impact-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.sector-impact-head h3 {
  font-size: 1rem;
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.sector-impact-score {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--accent);
}
.sector-impact-score-suffix {
  font-size: 0.85rem;
  color: var(--text-mute);
  margin-left: 2px;
}
.sector-impact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sector-impact-list li {
  position: relative;
  padding: 6px 0 6px 18px;
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.5;
  border-top: 1px dashed var(--border);
}
.sector-impact-list li:first-child { border-top: none; }
.sector-impact-list li::before {
  content: '›';
  position: absolute;
  left: 0;
  top: 6px;
  color: var(--accent);
  font-weight: 700;
}

/* ----- Forward outlook ----- */
.forward-outlook {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--t-elevated);
  border-radius: var(--radius);
  padding: 18px 22px;
}
.forward-outlook p {
  margin: 0;
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.6;
}

/* ----- Disruption events (replaces flashpoints) ----- */
.disruption-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 14px;
}
.disruption {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  position: relative;
}
.disruption-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.disruption-name {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  letter-spacing: -0.01em;
}
.disruption-status {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid currentColor;
  background: rgba(0,0,0,0.25);
}
.disruption-active      { border-color: rgba(239,68,68,0.4); }
.disruption-active .disruption-status      { color: var(--t-critical); }
.disruption-rising      { border-color: rgba(251,146,60,0.4); }
.disruption-rising .disruption-status      { color: var(--t-high); }
.disruption-stable      { border-color: var(--border-strong); }
.disruption-stable .disruption-status      { color: var(--text-dim); }
.disruption-easing      { border-color: rgba(34,197,94,0.4); }
.disruption-easing .disruption-status      { color: var(--t-low); }
.disruption-body p {
  margin: 0 0 8px;
  color: var(--text-dim);
  font-size: 0.94rem;
  line-height: 1.5;
}
.disruption-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-mute);
  letter-spacing: 0.04em;
}
.disruption-meta strong { color: var(--text-dim); font-weight: 500; }
.disruption-meta a { color: var(--accent); }
.disruption-meta a:hover { text-decoration: underline; }

/* ----- Hub pages: sectors, choke-points hero ----- */
.hub-hero {
  padding: 56px 0 32px;
  border-top: 1px solid var(--border);
}
.hub-hero-inner { max-width: 880px; }
.hub-hero-inner h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  font-weight: 600;
}
.hub-hero-inner .lede {
  font-size: 1.05rem;
  margin: 0 0 24px;
}
.hub-hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin: 0 0 18px;
}
.hub-meta {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-mute);
  letter-spacing: 0.04em;
}
.sectors-hub-section {
  padding: 32px 0 56px;
}
.sector-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.sector-hub-card {
  position: relative;
  background: linear-gradient(180deg, var(--surface), #0b1119);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  transition: border-color .2s, transform .2s;
}
.sector-hub-card:hover { transform: translateY(-2px); border-color: var(--border-strong); }
.sector-hub-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  text-indent: -9999px;
  overflow: hidden;
}
.sector-hub-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
}
.sector-hub-head h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.sector-hub-score {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 600;
}
.sector-hub-score-suffix { font-size: 0.85rem; color: var(--text-mute); margin-left: 2px; }
.sector-hub-bar {
  position: relative;
  height: 10px;
  background: rgba(0,0,0,0.35);
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 14px;
}
.sector-hub-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  transition: width .5s ease;
}
.sector-hub-meta {
  color: var(--text-dim);
  font-size: 0.92rem;
  margin: 0 0 12px;
}
.sector-hub-meta strong { color: var(--text); }
.sector-hub-cta {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin: 0;
  text-transform: uppercase;
}

/* Sector axis explainer block on the hub */
.sector-axis-explainer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}
.sector-axis-explainer > div {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}
.sector-axis-explainer h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}
.sector-axis-explainer p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.92rem;
}

/* ----- Sector detail hero ----- */
.sector-hero {
  padding: 56px 0 32px;
  border-top: 1px solid var(--border);
}
.sector-hero-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 36px;
  align-items: center;
}
.sector-hero-inner h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  font-weight: 600;
}
.sector-hero-score {
  background: linear-gradient(180deg, var(--surface), #0a0f18);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  text-align: center;
}
.sector-hero-score-big {
  font-family: var(--font-mono);
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
}
.sector-hero-score-big span {
  font-size: 1.4rem;
  color: var(--text-mute);
  margin-left: 4px;
}
.sector-hero-score-label {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  margin-top: 8px;
  font-weight: 600;
}
.sector-hero-bar {
  height: 10px;
  background: rgba(0,0,0,0.35);
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  margin: 16px 0 12px;
}
.sector-hero-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  transition: width .5s ease;
}
.sector-hero-peak {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.92rem;
}
.sector-hero-peak a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

/* Sector detail: ranking table */
.rank-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
}
.rank-table th, .rank-table td {
  border-bottom: 1px solid var(--border);
  padding: 12px 10px;
  text-align: left;
  vertical-align: middle;
}
.rank-table th {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-mute);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}
.rank-pos {
  font-family: var(--font-mono);
  color: var(--text-mute);
  width: 40px;
}
.rank-score {
  font-family: var(--font-mono);
  width: 90px;
  text-align: right;
}
.rank-score strong { font-size: 1.15rem; font-weight: 700; }
.rank-bar { width: 280px; }
.rank-track {
  display: block;
  height: 8px;
  background: rgba(0,0,0,0.35);
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
}
.rank-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
}
.rank-table td a { color: var(--text); }
.rank-table td a:hover { color: var(--accent); }

/* Sector detail: aggregated bullets across regions */
.sector-aggregate-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.sector-aggregate-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  display: grid;
  grid-template-columns: 160px 60px 1fr;
  gap: 14px;
  align-items: center;
}
.agg-region {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
}
.agg-region:hover { text-decoration: underline; }
.agg-score {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  color: var(--text-dim);
}
.agg-bullet {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.94rem;
  line-height: 1.5;
}

/* ----- Choke-point hub cards ----- */
.chokepoint-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}
.chokepoint-card {
  position: relative;
  background: linear-gradient(180deg, var(--surface), #0b1119);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  transition: border-color .2s, transform .2s, box-shadow .25s;
}
.chokepoint-card:hover { transform: translateY(-2px); border-color: var(--border-strong); }
.chokepoint-card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  text-indent: -9999px;
  overflow: hidden;
}
.chokepoint-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}
.chokepoint-head h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.chokepoint-status {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid currentColor;
  background: rgba(0,0,0,0.25);
  white-space: nowrap;
}
.chokepoint-score {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin: 6px 0 10px;
}
.chokepoint-score-num {
  font-family: var(--font-mono);
  font-size: 2.1rem;
  font-weight: 700;
}
.chokepoint-score-suf { color: var(--text-mute); }
.chokepoint-bar {
  position: relative;
  height: 8px;
  background: rgba(0,0,0,0.35);
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 12px;
}
.chokepoint-fill { display: block; height: 100%; border-radius: 999px; }
.chokepoint-throughput {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-mute);
  margin: 0 0 10px;
  letter-spacing: 0.02em;
}
.chokepoint-summary {
  color: var(--text-dim);
  font-size: 0.93rem;
  line-height: 1.5;
  margin: 0 0 12px;
}
.chokepoint-cta {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin: 0;
  text-transform: uppercase;
}

/* Choke-point detail: events + throughput */
.cp-throughput {
  font-family: var(--font-mono);
  font-size: 0.94rem;
  color: var(--text);
  background: rgba(56,189,248,0.06);
  border-left: 3px solid var(--accent);
  padding: 12px 16px;
  border-radius: 0 6px 6px 0;
  margin: 0 0 18px;
}
.cp-events {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.cp-events li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
}
.cp-events strong {
  display: block;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 4px;
}
.cp-events p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.93rem;
  line-height: 1.5;
}

/* ----- Hub pages: responsive ----- */
@media (max-width: 880px) {
  .sector-hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .sector-hero-score { order: -1; }
  .sector-aggregate-item { grid-template-columns: 1fr; gap: 4px; }
  .rank-bar { display: none; }
}
@media (max-width: 640px) {
  .hub-hero-stats { grid-template-columns: 1fr; }
  .nav-sep { display: none; }
}

/* ==========================================================
   Methodology page — long-form authority document
   ========================================================== */
.methodology-page article {
  display: block;
}
.meth-hero {
  padding: 56px 0 32px;
  border-top: 1px solid var(--border);
}
.meth-hero-inner {
  max-width: 880px;
}
.meth-hero-inner h1 {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  font-weight: 600;
}
.meth-hero-inner .lede {
  font-size: 1.08rem;
  margin: 0 0 24px;
  max-width: 720px;
}
.meth-hero-inner .lede em {
  color: var(--text);
  font-style: italic;
  font-weight: 500;
}
.meth-meta-row {
  list-style: none;
  margin: 0;
  padding: 14px 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.meth-meta-row li {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.meth-meta-row strong {
  color: var(--text-mute);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.meth-meta-row a { color: var(--accent); }
.meth-meta-row a:hover { text-decoration: underline; }

.meth-section {
  padding: 36px 0;
  border-top: 1px solid var(--border);
}
.meth-prose {
  max-width: 820px;
}
.meth-prose h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.7rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
  color: var(--text);
}
.meth-prose h3 {
  font-size: 1.08rem;
  font-weight: 600;
  margin: 24px 0 8px;
  color: var(--text);
  letter-spacing: -0.005em;
}
.meth-prose p {
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1.65;
  margin: 0 0 14px;
}
.meth-prose em {
  color: var(--text);
  font-style: italic;
}
.meth-prose strong { color: var(--text); font-weight: 600; }
.meth-prose code {
  background: rgba(0,0,0,0.35);
  border: 1px solid var(--border);
  padding: 1px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.88em;
  color: var(--accent);
}
.meth-prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.meth-prose a:hover { color: #7dd3fc; }

.meth-bullets {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}
.meth-bullets li {
  position: relative;
  padding: 7px 0 7px 20px;
  color: var(--text-dim);
  line-height: 1.55;
  border-top: 1px dashed var(--border);
}
.meth-bullets li:first-child { border-top: none; }
.meth-bullets li::before {
  content: '›';
  position: absolute;
  left: 0;
  top: 7px;
  color: var(--accent);
  font-weight: 700;
}

.meth-formula {
  background: var(--bg-elev-1);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 0 6px 6px 0;
  padding: 14px 18px;
  font-family: var(--font-mono);
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text);
  overflow-x: auto;
  white-space: pre;
  margin: 12px 0 18px;
}

.meth-table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 18px;
  font-size: 0.93rem;
}
.meth-table th,
.meth-table td {
  border-bottom: 1px solid var(--border);
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
  color: var(--text-dim);
}
.meth-table th {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-mute);
  text-transform: uppercase;
  background: rgba(0,0,0,0.2);
}
.meth-table td:first-child {
  font-family: var(--font-mono);
  color: var(--text);
  width: 110px;
}

/* FAQ */
.faq-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  transition: border-color .15s;
}
.faq-item[open] { border-color: var(--border-strong); }
.faq-q {
  list-style: none;
  cursor: pointer;
  padding: 14px 18px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  display: flex;
  gap: 12px;
  align-items: baseline;
  user-select: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: '+';
  margin-left: auto;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 1.4rem;
  line-height: 1;
  transition: transform .15s;
}
.faq-item[open] .faq-q::after { content: '−'; }
.faq-num {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-mute);
  letter-spacing: 0.1em;
  padding-top: 3px;
}
.faq-a {
  margin: 0;
  padding: 0 18px 16px;
  color: var(--text-dim);
  font-size: 0.97rem;
  line-height: 1.65;
}

/* Full methodology CTA on homepage */
.meth-full-cta {
  text-align: center;
  margin: 32px 0 8px;
}

/* Methodology responsive */
@media (max-width: 720px) {
  .meth-meta-row { font-size: 0.74rem; }
  .meth-formula { font-size: 0.84rem; padding: 12px 14px; }
  .meth-table th, .meth-table td { padding: 8px 10px; font-size: 0.86rem; }
  .meth-table td:first-child { width: auto; }
}

/* ============================================================
   Maritime Hub — added 2026-05-18 (Phase 2)
   Hub uses region-hero patterns + new 5-axis + vertical-card
   patterns. Cards reuse existing heat-* level classes for color.
   ============================================================ */

.maritime-hero {
  /* same region-hero rhythm; subtle accent shift for differentiation */
  background:
    radial-gradient(900px 500px at 80% -10%, rgba(56,189,248,0.06), transparent 60%);
}

/* ----- 5-axis breakdown panel ----- */
.maritime-axes-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}
.maritime-axis {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  position: relative;
}
.maritime-axis-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 10px;
}
.maritime-axis-label {
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text);
  letter-spacing: -0.005em;
}
.maritime-axis-score {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 600;
}
.maritime-axis-score-suffix {
  font-size: 0.78rem;
  color: var(--text-mute);
  margin-left: 2px;
}
.maritime-axis-bar {
  position: relative;
  height: 8px;
  background: rgba(0,0,0,0.35);
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 10px;
}
.maritime-axis-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--t-elevated);
  transition: width .5s ease;
}
.maritime-axis-desc {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.86rem;
  line-height: 1.4;
}
/* Color the fill + score based on heat-{level} class on the row */
.maritime-axis.heat-normal    .maritime-axis-fill  { background: var(--t-low); }
.maritime-axis.heat-normal    .maritime-axis-score { color:      var(--t-low); }
.maritime-axis.heat-guarded   .maritime-axis-fill  { background: var(--t-guarded); }
.maritime-axis.heat-guarded   .maritime-axis-score { color:      var(--t-guarded); }
.maritime-axis.heat-elevated  .maritime-axis-fill  { background: var(--t-elevated); }
.maritime-axis.heat-elevated  .maritime-axis-score { color:      var(--t-elevated); }
.maritime-axis.heat-high      .maritime-axis-fill  { background: var(--t-high); }
.maritime-axis.heat-high      .maritime-axis-score { color:      var(--t-high); }
.maritime-axis.heat-critical  .maritime-axis-fill  { background: var(--t-critical); }
.maritime-axis.heat-critical  .maritime-axis-score { color:      var(--t-critical); }

/* ----- Vertical cards ----- */
.maritime-vertical-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.maritime-vertical-card {
  position: relative;
  background: linear-gradient(180deg, var(--surface), #0b1119);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  transition: border-color .2s, transform .2s;
}
.maritime-vertical-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
}
.maritime-vertical-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  text-indent: -9999px;
  overflow: hidden;
}
.maritime-vertical-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
}
.maritime-vertical-head h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.maritime-vertical-score {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 600;
}
.maritime-vertical-score-suffix { font-size: 0.85rem; color: var(--text-mute); margin-left: 2px; }
.maritime-vertical-bar {
  position: relative;
  height: 10px;
  background: rgba(0,0,0,0.35);
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 12px;
}
.maritime-vertical-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--t-elevated);
  transition: width .5s ease;
}
.maritime-vertical-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin: 0 0 8px;
}
.maritime-vertical-summary {
  margin: 0 0 12px;
  color: var(--text-dim);
  font-size: 0.93rem;
  line-height: 1.5;
}
.maritime-vertical-cta {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin: 0;
  text-transform: uppercase;
}
.maritime-vertical-card.heat-normal    .maritime-vertical-fill  { background: var(--t-low); }
.maritime-vertical-card.heat-normal    .maritime-vertical-score { color:      var(--t-low); }
.maritime-vertical-card.heat-normal    .maritime-vertical-label { color:      var(--t-low); }
.maritime-vertical-card.heat-guarded   .maritime-vertical-fill  { background: var(--t-guarded); }
.maritime-vertical-card.heat-guarded   .maritime-vertical-score { color:      var(--t-guarded); }
.maritime-vertical-card.heat-guarded   .maritime-vertical-label { color:      var(--t-guarded); }
.maritime-vertical-card.heat-elevated  .maritime-vertical-fill  { background: var(--t-elevated); }
.maritime-vertical-card.heat-elevated  .maritime-vertical-score { color:      var(--t-elevated); }
.maritime-vertical-card.heat-elevated  .maritime-vertical-label { color:      var(--t-elevated); }
.maritime-vertical-card.heat-high      .maritime-vertical-fill  { background: var(--t-high); }
.maritime-vertical-card.heat-high      .maritime-vertical-score { color:      var(--t-high); }
.maritime-vertical-card.heat-high      .maritime-vertical-label { color:      var(--t-high); }
.maritime-vertical-card.heat-critical  .maritime-vertical-fill  { background: var(--t-critical); }
.maritime-vertical-card.heat-critical  .maritime-vertical-score { color:      var(--t-critical); }
.maritime-vertical-card.heat-critical  .maritime-vertical-label { color:      var(--t-critical); }

/* ----- Choke-point strip ----- */
.maritime-cp-strip {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}
.maritime-cp-strip-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .15s, transform .15s;
}
.maritime-cp-strip-item:hover {
  border-color: var(--border-strong);
  transform: translateY(-1px);
}
.maritime-cp-strip-item a {
  display: grid;
  grid-template-columns: 12px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  color: var(--text);
}
.maritime-cp-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px currentColor;
}
.maritime-cp-name {
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.maritime-cp-score {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 600;
  grid-column: 3;
  grid-row: 1;
  text-align: right;
}
.maritime-cp-score span { color: var(--text-mute); font-size: 0.75rem; }
.maritime-cp-status {
  grid-column: 2 / 4;
  grid-row: 2;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Maritime hero responsive */
@media (max-width: 880px) {
  .maritime-axes-list { grid-template-columns: 1fr; }
}

/* ----- Maritime Hub callout on /sectors/maritime/ ----- */
.maritime-hub-callout {
  margin-top: 18px;
  margin-bottom: 12px;
}
.maritime-hub-callout p {
  background: linear-gradient(90deg, rgba(56,189,248,0.10), rgba(56,189,248,0.04));
  border: 1px solid rgba(56,189,248,0.35);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 0;
  color: var(--text);
  font-size: 0.97rem;
  line-height: 1.55;
}
.maritime-hub-callout strong { color: var(--accent); }
.maritime-hub-callout em { color: var(--text-dim); font-style: italic; }
.maritime-hub-callout a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

/* ----- Maritime guides — cornerstone evergreen content ----- */
.guide-hero {
  padding: 56px 0 28px;
  border-top: 1px solid var(--border);
}
.guide-hero-inner { max-width: 820px; }
.guide-hero-inner h1 {
  font-size: clamp(2rem, 4.2vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  font-weight: 600;
}
.guide-hero-inner .lede {
  font-size: 1.08rem;
  margin: 0 0 22px;
  max-width: 720px;
}
.guide-meta-row {
  list-style: none;
  margin: 0;
  padding: 14px 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-dim);
  letter-spacing: 0.04em;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.guide-meta-row li {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}
.guide-meta-row strong {
  color: var(--text-mute);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.guide-meta-row time { color: var(--text); }

/* Crosslinks band (live status, related verticals, related sectors) */
.guide-crosslinks {
  max-width: var(--container);
  margin: 24px auto 12px;
  padding: 0 28px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}
.guide-crosslink {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: grid;
  gap: 8px;
}
.guide-crosslink-label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-mute);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.guide-crosslink-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  transition: border-color .15s, transform .12s;
}
.guide-crosslink-card + .guide-crosslink-card { margin-top: 6px; }
.guide-crosslink-card:hover { border-color: var(--border-strong); transform: translateY(-1px); }
.guide-crosslink-name {
  font-weight: 600;
  font-size: 0.94rem;
  grid-column: 2;
}
.guide-crosslink-score {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: right;
}
.guide-crosslink-card .maritime-cp-dot { grid-column: 1; }

/* Article body — long-form prose layout (mirrors meth-prose) */
.guide-article {
  padding: 36px 0 24px;
}
.guide-prose {
  max-width: 820px;
}
.guide-prose h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.7rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 32px 0 14px;
  color: var(--text);
  scroll-margin-top: 96px;
}
.guide-prose h2:first-child { margin-top: 0; }
.guide-prose h3 {
  font-size: 1.08rem;
  font-weight: 600;
  margin: 24px 0 8px;
  color: var(--text);
}
.guide-prose p {
  color: var(--text-dim);
  font-size: 1rem;
  line-height: 1.65;
  margin: 0 0 14px;
}
.guide-prose strong { color: var(--text); font-weight: 600; }
.guide-prose em { color: var(--text); font-style: italic; }
.guide-prose code {
  background: rgba(0,0,0,0.35);
  border: 1px solid var(--border);
  padding: 1px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.88em;
  color: var(--accent);
}
.guide-prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.guide-prose a:hover { color: #7dd3fc; }
.guide-prose ul,
.guide-prose ol {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}
.guide-prose ul li,
.guide-prose ol li {
  position: relative;
  padding: 7px 0 7px 22px;
  color: var(--text-dim);
  line-height: 1.55;
  border-top: 1px dashed var(--border);
}
.guide-prose ul li:first-child,
.guide-prose ol li:first-child { border-top: none; }
.guide-prose ul li::before {
  content: '›';
  position: absolute;
  left: 0;
  top: 7px;
  color: var(--accent);
  font-weight: 700;
}
.guide-prose ol { counter-reset: gli; }
.guide-prose ol li {
  counter-increment: gli;
}
.guide-prose ol li::before {
  content: counter(gli) ".";
  position: absolute;
  left: 0;
  top: 7px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.86rem;
  font-weight: 600;
}
.guide-prose blockquote {
  background: rgba(56,189,248,0.04);
  border-left: 3px solid var(--accent);
  border-radius: 0 6px 6px 0;
  padding: 4px 14px;
  margin: 0 0 16px;
}
.guide-prose blockquote p {
  color: var(--text);
  margin: 8px 0;
}
.guide-prose hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 32px 0;
}

/* Guide responsive */
@media (max-width: 720px) {
  .guide-meta-row { font-size: 0.74rem; }
  .guide-prose h2 { margin-top: 24px; }
}

/* ----- Maritime vertical detail pages ----- */
.vertical-hero { padding: 56px 0 32px; }

/* Operational signals — clean bulleted list with arrow markers (mirrors sector-impact-list) */
.vertical-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
}
.vertical-bullets li {
  position: relative;
  padding: 10px 0 10px 22px;
  color: var(--text-dim);
  line-height: 1.55;
  font-size: 0.97rem;
  border-top: 1px dashed var(--border);
}
.vertical-bullets li:first-child { border-top: none; }
.vertical-bullets li::before {
  content: '›';
  position: absolute;
  left: 0;
  top: 10px;
  color: var(--accent);
  font-weight: 700;
}

/* Vertical headlines list */
.vertical-headlines {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.vertical-headlines li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .15s, transform .12s;
}
.vertical-headlines li:hover {
  border-color: var(--border-strong);
  transform: translateY(-1px);
}
.vertical-headlines a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 16px;
  color: var(--text);
}
.vertical-headline-title {
  font-size: 0.96rem;
  line-height: 1.4;
  flex: 1 1 auto;
}
.vertical-headline-host {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-mute);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.vertical-headlines a:hover .vertical-headline-title { color: var(--accent); }

/* Flag pill on related-choke-point items */
.vertical-cp-flag {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 6px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(56,189,248,0.12);
  border: 1px solid rgba(56,189,248,0.35);
  border-radius: 4px;
  vertical-align: 1px;
}

/* Related sectors links */
.vertical-sector-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 10px;
}
.vertical-sector-links li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .15s, transform .12s;
}
.vertical-sector-links li:hover {
  border-color: var(--border-strong);
  transform: translateY(-1px);
}
.vertical-sector-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  color: var(--text);
}
.vertical-sector-links a:hover .link-title { color: var(--accent); }
.vertical-sector-links .link-title {
  font-weight: 600;
  font-size: 0.98rem;
}
.vertical-sector-links .link-host {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-mute);
  letter-spacing: 0.04em;
}

/* ==========================================================
   Weekly reports archive — /reports/index.html
   Card grid, one card per published week. Cards use the
   "stretched link" pattern (a.report-card-link covers the
   thumbnail; the action list inside needs z-index: 2 so it
   stays clickable). Mirror of region-card / vertical-card.
   ========================================================== */
.report-archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 24px;
  margin-top: 24px;
}
.report-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.report-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.report-card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.report-card-thumb {
  position: relative;
  z-index: 0;
  width: 100%;
  aspect-ratio: 1200 / 630;
  background: #060a12;
  overflow: hidden;
  border-bottom: 1px solid var(--panel-border);
}
.report-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.report-card-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.report-card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.report-card-week {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--accent);
  letter-spacing: 0.06em;
  font-weight: 600;
}
.report-card-date {
  font-size: 0.85rem;
  color: var(--text-mute);
  letter-spacing: 0.02em;
}
.report-card-badge {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 12px 16px;
  border: 1px solid;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
}
.report-card-score {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
}
.report-card-score-suffix {
  font-size: 0.85rem;
  color: var(--text-dim);
  font-weight: 500;
}
.report-card-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  font-weight: 600;
}
.report-card-actions {
  position: relative;
  z-index: 2;            /* stretched link is z-index 1; keep actions clickable */
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.report-card-actions li {
  font-size: 0.88rem;
}
.report-card-actions a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px dashed transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.report-card-actions a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ---------------- Editorial accountability strip (footer) ---------------- */
.editorial-strip {
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
  margin-bottom: 24px;
  max-width: 760px;
}
.editorial-byline {
  font-size: 0.92rem;
  color: var(--text);
  margin: 0 0 8px;
}
.editorial-byline a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px dashed var(--border-strong);
}
.editorial-byline a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.editorial-disclosure {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--text-dim);
  margin: 0;
}
.editorial-disclosure a {
  color: var(--text-dim);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.editorial-disclosure a:hover {
  color: var(--accent);
}

/* ----- Homepage choke-point status board (Phase 1 maritime-first pivot) ----- */
.chokeboard {
  padding: 72px 0 56px;
  border-top: 1px solid var(--border);
}
.chokeboard .section-head { margin-bottom: 32px; }
.chokeboard-cta {
  margin: 22px 0 0;
  text-align: center;
}
