.intro { background:var(--navy2); color:#fff; padding:24px 0; }
.intro h1 { margin:0; font-size:clamp(28px,4vw,48px); letter-spacing:-.05em; }
.intro p { margin:5px 0 0; color:#bdcedb; }
.site-header .nav { display:flex; align-items:center; justify-content:space-between; min-height:56px; color:#c8d8e5; }
.comparison { padding:12px 0 56px; }
.comparison fieldset { display:flex; flex-wrap:wrap; gap:4px 22px; margin:0 0 14px; padding:6px 12px; border:1px solid var(--line); border-radius:8px; }
.comparison legend { font-weight:700; padding:0 6px; }
.comparison input { accent-color:#087e96; margin-right:6px; }
#message:empty { display:none; }
.comparison .section-nav { margin-top:0; }
.comparison .section-nav .shell { width:100%; }
.comparison-nav [aria-current] { color:#087e96; box-shadow:inset 0 -2px var(--cyan); }
.comparison section { padding:18px 0 46px; }
.comparison h2 { margin:0; font-size:clamp(23px,3vw,34px); letter-spacing:-.035em; }
.comparison section > p { margin:6px 0 12px; color:#465d6e; font-size:.875rem; }
.comparison .table-scroll { overflow-x:auto; border:1px solid var(--line); border-radius:8px; }
.comparison table { border-collapse:separate; border-spacing:0; width:100%; table-layout:fixed; min-width:620px; text-align:left; font-size:.875rem; line-height:1.35; }
.comparison th,.comparison td { vertical-align:top; padding:9px 12px; border-bottom:1px solid #dae5eb; overflow-wrap:anywhere; }
.comparison thead th { background:#e8f2f6; }
.comparison th:first-child { position:sticky; left:0; background:#edf4f7; z-index:1; width:23%; }
.comparison td small { display:block; margin-top:4px; color:#465d6e; }
.comparison tbody tr:last-child > * { border-bottom:0; }
.comparison a { color:#086479; }
.source-links { display:flex; flex-wrap:wrap; gap:3px 10px; font-size:.8125rem; }
.filters { display:flex; flex-wrap:wrap; gap:8px 14px; margin:8px 0; }
.filters label { display:flex; align-items:center; flex-wrap:wrap; gap:5px; font-size:.8125rem; font-weight:650; }
.comparison select { max-width:100%; font:inherit; color:var(--ink); background:#fff; border:1px solid #9fb7c5; border-radius:5px; padding:5px 8px; }
.map-layout { display:grid; grid-template-columns:minmax(0,2fr) minmax(0,1fr); gap:10px; }
.map-frame { background:#0b2032; color:white; border-radius:8px; padding:6px; }
.map-frame svg { width:100%; display:block; }
.marker { cursor:pointer; stroke:none; }
.marker.selected { stroke:var(--marker-selected); stroke-width:1.7; }
.marker:focus-visible { outline:2px dashed white; outline-offset:3px; }
.legend { display:flex; gap:4px 12px; flex-wrap:wrap; padding:3px 8px; font-size:.75rem; }
.dot { display:inline-block; width:9px; height:9px; border-radius:50%; margin-right:5px; }
.site-detail { border:1px solid var(--line); background:#f4f8fa; border-radius:8px; padding:10px 12px; overflow-wrap:anywhere; font-size:.8125rem; line-height:1.35; }
.site-detail h3 { margin:0 0 5px; font-size:1rem; }
.site-detail p,.site-detail ul { margin:4px 0; }
.site-detail ul { padding-left:18px; }
.comparison .comparison-arrows { display:grid; grid-template-columns:32px auto 32px; width:max-content; opacity:1; bottom:12px; }
.comparison .comparison-arrows div { display:flex; align-items:center; justify-content:center; gap:6px; padding:0 8px; white-space:nowrap; }
.comparison .comparison-arrows small { margin-left:0; }
.comparison .comparison-arrows span,.comparison .comparison-arrows small { font-size:.75rem; }
.comparison .comparison-arrows button { min-height:36px; }
@media(max-width:670px) {
  .map-layout { grid-template-columns:1fr; }
  .comparison th,.comparison td { padding:7px 9px; }
  .comparison table { min-width:540px; }
}
#footprint h2 { font-size:1.35rem; }
.map-layout { grid-template-columns:minmax(0,4fr) minmax(200px,1fr); }
.map-frame svg { height:clamp(290px,52vh,560px); }
.site-list { display:flex; flex-wrap:wrap; gap:6px; }
.site-list button { background:#fff; color:var(--ink); border:1px solid #bdd2de; border-radius:5px; cursor:pointer; padding:5px 8px; font-size:.8125rem; }
.site-list button[aria-pressed=true] { background:var(--navy2); color:white; }
#projects article + article { margin-top:12px; }
#projects article h3 { margin:0; font-size:.875rem; }
#projects article p { margin:5px 0 0; }
#projects article small { margin-top:2px; }
.quarter-context td { background:#f4f8fa; line-height:1.55; }
.quarter-context > * { padding-block:14px; }
@media(max-width:740px) {
  .map-layout { grid-template-columns:1fr; }
  .map-frame svg { height:clamp(220px,44vh,360px); }
}
.map-frame { padding:9px; }
.map-controls { display:flex; gap:6px; justify-content:flex-end; padding:0 3px 5px; }
.map-controls button { min-width:36px; min-height:34px; padding:4px 9px; color:#edf8ff; background:#19394d; border:1px solid #53748a; border-radius:5px; cursor:pointer; font:inherit; font-size:.8125rem; }
.map-controls button:disabled { opacity:.52; cursor:default; }
.map-graticule { fill:none; stroke:#426177; stroke-opacity:.46; stroke-width:.5; }
#compare-map { overflow:hidden; }
#map-geography, #map-selection { pointer-events:none; }
.map-country,.map-hub,.map-selected-name,.map-selected-location { paint-order:stroke; stroke:#0b2032; stroke-width:2px; vector-effect:non-scaling-stroke; stroke-linejoin:round; }
.map-country { fill:#c3d5e0; font-weight:600; }
.map-hub { fill:#a3e4ec; }
.map-selected-name,.map-selected-location { fill:#fff; font-weight:700; }
.marker { vector-effect:non-scaling-stroke; }
.marker.selected { stroke-width:2px; }
.nearby-facilities { margin-top:8px; padding:8px 10px; border:1px solid var(--line); border-radius:8px; }
.nearby-facilities h3 { margin:0 0 4px; font-size:.875rem; }
.nearby-facilities button { display:block; padding:4px 0; background:none; border:0; color:#086479; font:inherit; font-size:.8125rem; text-align:left; cursor:pointer; text-decoration:underline; }
