/* ============================================================
   GHHARBOUR · SITE STYLES (2026 redesign)
   Shared by the homepage (/ and /is/) and the routes page.
   ============================================================ */

:root {
  --bg: #0B1B2D;
  --bg-2: #0E2136;
  --bg-3: #132943;
  --black: #010308;

  --line: rgba(166, 190, 212, 0.16);
  --line-2: rgba(166, 190, 212, 0.28);

  --ink: #EAF3FB;
  --ink-2: #BCCFE0;
  --ink-3: #8BA3B8;

  --ice: #8FD3F0;
  --ice-2: #4FB3D9;
  --live: #6FFFB0;

  --h-font: "Newsreader", Georgia, "Times New Roman", serif;
  --body-font: "Inter", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --sec: clamp(80px, 9vw, 128px);
  --radius: 14px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.65 var(--body-font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--h-font); font-weight: 400; letter-spacing: -0.015em; margin: 0; color: var(--ink); }
p, ul, ol, figure, blockquote { margin: 0; }
strong { font-weight: 600; color: var(--ink); }

.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: var(--sec) 0; }
.section + .section { border-top: 1px solid var(--line); }
.anchor-alias { position: absolute; top: 0; }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  font: 500 12px/1.2 var(--mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ice);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: 0.7; }
h2 { font-size: clamp(38px, 4.6vw, 66px); line-height: 1.04; }
.lead { margin-top: 24px; max-width: 60ch; font-size: clamp(18px, 1.45vw, 21px); line-height: 1.6; color: var(--ink-2); }
.sec-head { max-width: 900px; margin-bottom: clamp(40px, 5vw, 64px); }
.fineprint { font-size: 13px; line-height: 1.55; color: var(--ink-3); max-width: 70ch; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ice);
  font-weight: 500;
  border-bottom: 1px solid rgba(143, 211, 240, 0.35);
  padding-bottom: 2px;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.text-link:hover { border-color: var(--ice); color: #fff; }
.arrow { display: inline-block; transition: transform 0.25s ease; }
a:hover .arrow, button:hover .arrow { transform: translateX(4px); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  font: 600 15px/1 var(--body-font);
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.btn-primary { background: var(--ice); border-color: var(--ice); color: #03111D; }
.btn-primary:hover { background: #B5E4F7; border-color: #B5E4F7; transform: translateY(-1px); }
.btn-ghost { background: rgba(255, 255, 255, 0.04); color: var(--ink); border-color: rgba(179, 199, 217, 0.4); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.09); border-color: var(--ice); }

/* ---------- skip link / a11y ---------- */
.skip-link {
  position: absolute; left: 16px; top: -120px; z-index: 300;
  padding: 12px 20px; border-radius: 8px;
  background: var(--ice); color: #03111D; font-weight: 700; font-size: 14px;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 16px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--gutter);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, padding 0.3s ease, border-color 0.3s ease;
}
.nav.scrolled, .nav.open {
  background: rgba(11, 27, 45, 0.88);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  padding-top: 12px; padding-bottom: 12px;
  border-color: var(--line);
}
.nav-brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 13px; letter-spacing: 0.24em; flex-shrink: 0; }
.nav-brand .mark {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  background: url('/favicon.svg') center / contain no-repeat;
  box-shadow: 0 0 24px rgba(79, 179, 217, 0.35);
}
.nav-links { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 32px); }
.nav-links a { font-size: 14px; color: var(--ink-2); transition: color 0.2s ease; }
.nav-links a:hover { color: #fff; }
.nav:not(.scrolled):not(.open) .nav-brand,
.nav:not(.scrolled):not(.open) .nav-links a { text-shadow: 0 1px 12px rgba(2, 8, 18, 0.6); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-cta { padding: 10px 18px; font-size: 14px; }

.lang-switch {
  display: inline-flex; align-items: center; padding: 3px;
  border: 1px solid var(--line-2); border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  font: 600 11px/1 var(--mono); letter-spacing: 0.1em;
}
.lang-switch a.lang-link { padding: 7px 11px; border-radius: 999px; color: var(--ink-3); transition: color 0.2s ease, background 0.2s ease; }
.lang-switch a.lang-link:hover { color: var(--ink); }
.lang-switch a.lang-link.active { background: var(--ice); color: #03111D; }

.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 0;
  align-items: center; justify-content: center;
  border-radius: 50%; border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.05); cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 16px; height: 1.5px; background: var(--ink); position: relative;
  transition: transform 0.25s ease, background 0.25s ease;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav.open .nav-toggle span { background: transparent; }
.nav.open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav.open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 4px;
    padding: 12px var(--gutter) 24px;
    background: rgba(11, 27, 45, 0.97);
    border-bottom: 1px solid var(--line);
  }
  .nav.open .nav-links { display: flex; }
  .nav-links a { font-size: 18px; padding: 10px 0; color: var(--ink); width: 100%; }
  .nav-toggle { display: flex; }
}
@media (max-width: 560px) {
  .nav-brand > span:not(.mark) { display: none; }
  .nav-cta { padding: 9px 14px; font-size: 13px; }
  .nav-cta .arrow { display: none; }
  .nav-actions { gap: 8px; }
}

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: 0.08s; }
.js .reveal[data-delay="2"] { transition-delay: 0.16s; }
.js .reveal[data-delay="3"] { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--black);
}
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 62% 50%; transform: scale(1.05); animation: hero-drift 22s var(--ease) forwards; }
@keyframes hero-drift { to { transform: scale(1); } }
.hero-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(2, 8, 16, 0.72) 0%, rgba(2, 8, 16, 0.42) 34%, rgba(2, 8, 16, 0) 62%),
    linear-gradient(180deg, rgba(2, 8, 16, 0.5) 0%, rgba(2, 8, 16, 0) 20%, rgba(2, 8, 16, 0) 62%, rgba(11, 27, 45, 0.85) 90%, var(--bg) 100%);
}

/* Hero video (all screens unless reduced motion, see assets/hero-video.js). Stacks by DOM order: above picture.hero-media,
   below .hero-shade; the content (z-index 2) and the toggle (z-index 3) sit on top. */
.hero-video { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-video video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  object-position: 62% 50%; /* same as .hero-media img, so the framing matches the still */
  opacity: 0;
  transition: opacity 0.8s ease;
}
.hero-video video.is-playing { opacity: 1; }
.hero-video-toggle {
  position: absolute; right: var(--gutter); bottom: 28px; z-index: 3;
  width: 40px; height: 40px; padding: 0; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(2, 8, 18, 0.45);
  color: #fff; cursor: pointer;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.hero-video-toggle[hidden] { display: none; }
.hero-video-toggle:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.hero-video-toggle__icon { /* pause icon: two bars */
  width: 12px; height: 14px; box-sizing: border-box;
  border-left: 4px solid currentColor; border-right: 4px solid currentColor;
}
.hero-video-toggle[aria-pressed="true"] .hero-video-toggle__icon { /* play icon: triangle */
  width: 0; height: 0; margin-left: 3px;
  border-right: 0;
  border-top: 7px solid transparent; border-bottom: 7px solid transparent;
  border-left: 11px solid currentColor;
}
@media (prefers-reduced-motion: reduce) {
  .hero-video, .hero-video-toggle { display: none; }
}
/* Where the video runs, the still is its first frame (hero-video-start.webp): hold it unzoomed so the video
   starts exactly where the still is. */
@media (prefers-reduced-motion: no-preference) {
  .hero-media img { animation: none; transform: none; }
}

.hero-content { position: relative; z-index: 2; padding-top: 140px; padding-bottom: clamp(64px, 11vh, 132px); }
.hero-eyebrow { color: var(--ink-2); }
.hero h1 { font-size: clamp(54px, 7.6vw, 116px); line-height: 0.96; letter-spacing: -0.03em; max-width: 13ch; }
.hero h1 > span { display: block; }
.hero h1 .accent { font-style: italic; color: var(--ice); }
.hero-sub { margin-top: 28px; max-width: 36ch; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--ink); text-shadow: 0 1px 16px rgba(2, 8, 18, 0.6); }
.hero-sub > span { display: block; }
.hero-sub__tagline { margin-top: 8px; color: var(--ink-2); font-size: 0.9em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 40px; }
.hero-actions .text-link { color: var(--ink); border-color: rgba(234, 243, 251, 0.4); }

@media (max-width: 760px) {
  .hero { align-items: stretch; }
  .hero-shade {
    background: linear-gradient(180deg, rgba(2, 8, 16, 0.72) 0%, rgba(2, 8, 16, 0.25) 30%, rgba(2, 8, 16, 0) 48%, rgba(2, 8, 16, 0.2) 64%, rgba(11, 27, 45, 0.9) 88%, var(--bg) 100%);
  }
  .hero-content { display: flex; flex-direction: column; justify-content: space-between; min-height: 100svh; padding-top: 104px; padding-bottom: 40px; }
  .hero h1 { font-size: clamp(46px, 13vw, 64px); }
  .hero-sub { margin-top: 18px; font-size: 17px; }
  .hero-actions { margin-top: 0; flex-direction: column; align-items: stretch; gap: 16px; }
  .hero-actions .btn { justify-content: center; }
  .hero-actions .text-link { align-self: center; }
}

/* ============================================================
   AT A GLANCE
   ============================================================ */
.glance { border-bottom: 1px solid var(--line); background: var(--bg); }
.glance-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.glance-item { padding: clamp(28px, 3.4vw, 44px) clamp(16px, 2.4vw, 32px); border-left: 1px solid var(--line); }
.glance-item:first-child { border-left: 0; padding-left: 0; }
.glance-n { display: block; font-family: var(--h-font); font-size: clamp(40px, 4.2vw, 60px); line-height: 1; letter-spacing: -0.02em; }
.glance-n small { margin-left: 6px; font: 500 0.36em/1 var(--body-font); letter-spacing: 0; color: var(--ink-2); }
.glance-l { display: block; margin-top: 12px; font-size: 14px; line-height: 1.45; color: var(--ink-3); }
@media (max-width: 760px) {
  .glance-row { grid-template-columns: 1fr 1fr; }
  .glance-item { padding: 26px 16px; }
  .glance-item:nth-child(odd) { border-left: 0; padding-left: 0; }
  .glance-item:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ============================================================
   PROJECT
   ============================================================ */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 40px); }
.feature-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); margin-bottom: 26px; background: var(--bg-2); }
.feature-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.feature:hover .feature-media img { transform: scale(1.04); }
.feature h3 { font-size: clamp(26px, 2.2vw, 32px); line-height: 1.15; }
.feature p { margin-top: 12px; font-size: 16px; line-height: 1.65; color: var(--ink-2); }
@media (max-width: 900px) {
  .features { grid-template-columns: 1fr; gap: 56px; }
  .feature-media { aspect-ratio: 16 / 10; }
}

/* ============================================================
   WHY NOW
   ============================================================ */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); }
.why-label { font: 500 12px/1.2 var(--mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.why-list { list-style: none; padding: 0; }
.why-list li { padding: 20px 0; border-top: 1px solid var(--line); font-size: 17px; color: var(--ink-2); }
.why-list li:last-child { border-bottom: 1px solid var(--line); }
.why-col--solution .why-label { color: var(--ice); }
.pull-quote { margin-top: clamp(56px, 7vw, 96px); max-width: 1000px; }
.pull-quote blockquote { font-family: var(--h-font); font-style: italic; font-size: clamp(26px, 2.9vw, 42px); line-height: 1.3; letter-spacing: -0.01em; color: var(--ink); }
.pull-quote figcaption { margin-top: 24px; font: 500 12px/1.4 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
@media (max-width: 860px) { .why-grid { grid-template-columns: 1fr; } }

/* ============================================================
   ARCTIC ROUTES · GLOBE (boxed, with route panel)
   ============================================================ */
.globe-box {
  display: grid; grid-template-columns: minmax(0, 1fr) 340px;
  height: clamp(560px, 70vh, 700px);
  border: 1px solid var(--line-2); border-radius: 20px; overflow: hidden;
  background: #000;
  box-shadow: 0 40px 100px -40px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(143, 211, 240, 0.04);
}
.globe-stage { position: relative; min-width: 0; background: #000; overflow: hidden; }
.globe-mount { position: absolute; inset: 0; }
.globe-mount .ag-root { min-height: 0; }
.globe-poster {
  position: absolute; inset: 0; background: #000 url('/images/globe-poster.webp') center / cover no-repeat;
  transition: opacity 0.8s ease;
}
.globe-stage.is-live .globe-poster { opacity: 0; pointer-events: none; }
.globe-views {
  position: absolute; z-index: 5; top: 14px; left: 14px;
  display: flex; gap: 2px; padding: 4px;
  border: 1px solid var(--line-2); border-radius: 999px;
  background: rgba(11, 27, 45, 0.78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.globe-views button, .globe-zoom button {
  appearance: none; border: 0; background: transparent; cursor: pointer;
  font: 500 12px/1 var(--mono); letter-spacing: 0.06em; color: var(--ink-2);
  transition: background 0.2s ease, color 0.2s ease;
}
.globe-views button { padding: 8px 12px; border-radius: 999px; }
.globe-views button:hover, .globe-zoom button:hover { color: #fff; }
.globe-views button[aria-pressed="true"] { background: var(--ice); color: #03111D; }
.globe-zoom {
  position: absolute; z-index: 5; right: 14px; bottom: 14px;
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line-2); border-radius: 12px;
  background: rgba(11, 27, 45, 0.78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.globe-zoom button { width: 38px; height: 38px; font-size: 18px; font-family: var(--body-font); }
.globe-zoom button + button { border-top: 1px solid var(--line); }
.globe-hint {
  position: absolute; z-index: 5; left: 16px; bottom: 16px;
  font: 500 11px/1.3 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3);
  pointer-events: none;
}
.globe-hint .hint-touch { display: none; }

.globe-panel { display: flex; flex-direction: column; min-height: 0; background: var(--bg-2); border-left: 1px solid var(--line-2); }
.rt-scroll { flex: 1; min-height: 0; overflow-y: auto; padding: 18px 16px 8px; scrollbar-width: thin; scrollbar-color: rgba(166, 190, 212, 0.25) transparent; }
.rt-group + .rt-group { margin-top: 18px; }
.rt-group-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 4px 8px; }
.rt-group-title { font: 500 11px/1.3 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ice); }
.rt-list { list-style: none; padding: 0; }
.rt { --c: var(--ice); display: flex; align-items: center; gap: 6px; border-radius: 10px; transition: background 0.2s ease; }
.rt:hover { background: rgba(255, 255, 255, 0.035); }
.rt-name {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px;
  appearance: none; border: 0; background: transparent; cursor: pointer; text-align: left;
  padding: 9px 6px 9px 8px; border-radius: 10px;
  font: 500 14px/1.3 var(--body-font); color: var(--ink-2);
  transition: color 0.2s ease, background 0.2s ease;
}
.rt-name i { width: 20px; height: 3px; border-radius: 2px; flex: none; background: var(--c); box-shadow: 0 0 8px var(--c); }
.rt-name:hover { color: #fff; }
.rt-name[aria-pressed="true"] { color: #fff; background: rgba(255, 255, 255, 0.06); }
.rt.is-off .rt-name { color: var(--ink-3); }
.rt.is-off .rt-name i { opacity: 0.3; box-shadow: none; }
/* switch */
.rt-toggle {
  flex: none; appearance: none; cursor: pointer; padding: 0; margin-right: 6px;
  width: 34px; height: 20px; border-radius: 999px; position: relative;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.06);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.rt-toggle span {
  position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--ink-3); transition: transform 0.2s ease, background 0.2s ease;
}
.rt-toggle[aria-checked="true"] { background: rgba(143, 211, 240, 0.22); border-color: rgba(143, 211, 240, 0.55); }
.rt-toggle[aria-checked="true"] span { transform: translateX(14px); background: var(--ice); }
.rt-toggle[aria-checked="mixed"] span { transform: translateX(7px); background: var(--ink-2); }
.route-fact { display: none; }
.rt-pick { display: none; }
.route-readout {
  --c: var(--ice); flex: none;
  margin: 0; padding: 16px 20px 18px; border-top: 1px solid var(--line-2);
  background: linear-gradient(90deg, color-mix(in srgb, var(--c) 10%, transparent), transparent 70%);
  box-shadow: inset 3px 0 0 var(--c);
  transition: box-shadow 0.3s ease;
}
.route-readout-name { font: 500 11px/1.3 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.route-readout-fact { margin-top: 8px; font-family: var(--h-font); font-size: 20px; line-height: 1.3; color: var(--ink); }
.route-notes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); margin-top: clamp(40px, 5vw, 64px); }
.route-notes p { color: var(--ink-2); font-size: 16px; }
.route-more { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: baseline; }

@media (max-width: 1000px) {
  .globe-box { grid-template-columns: 1fr; height: auto; }
  .globe-stage { height: min(64vh, 560px); min-height: 380px; }
  .globe-panel { border-left: 0; border-top: 1px solid var(--line-2); }
  .rt-scroll { overflow: visible; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
  .rt-group + .rt-group { margin-top: 0; }
}
/* touch: the globe takes sideways swipes, pinches and double-taps; vertical swipes scroll the page (assets/home.js, touchScroll) */
@media (pointer: coarse) {
  .globe-hint .hint-mouse { display: none; }
  .globe-hint .hint-touch { display: inline; }
}
@media (max-width: 760px) {
  .globe-box { border-radius: 16px; margin: 0 calc(var(--gutter) * -0.5); }
  .globe-views { top: 10px; left: 10px; right: 10px; justify-content: space-between; gap: 0; }
  /* tight enough that the Icelandic names (Norðurslóðir, Heimurinn) fit a 360 px phone */
  .globe-views button { padding: 7px 6px; font-size: 10.5px; letter-spacing: 0.02em; white-space: nowrap; }
  .globe-zoom { right: 10px; bottom: 12px; }
  .globe-hint { left: 14px; bottom: 14px; max-width: calc(100% - 80px); font-size: 10px; }
  .rt-scroll { grid-template-columns: 1fr; padding: 14px 10px 6px; }
  .route-notes { grid-template-columns: 1fr; }

  /* route picker: shows the selected route; the route list opens as a dropdown under it.
     The box stops clipping (the stage and panel round their own corners) so the list can hang below it. */
  .globe-box { position: relative; z-index: 3; overflow: visible; }
  .globe-stage { border-radius: 15px 15px 0 0; }
  .globe-panel { display: block; position: relative; border-radius: 0 0 15px 15px; }
  .js .rt-pick {
    --c: var(--ice);
    display: flex; align-items: center; gap: 14px; width: 100%;
    appearance: none; border: 0; border-radius: 0; cursor: pointer; text-align: left; font: inherit; color: var(--ink);
    padding: 14px 14px 4px 20px;
    background: linear-gradient(90deg, color-mix(in srgb, var(--c) 10%, transparent), transparent 70%);
    box-shadow: inset 3px 0 0 var(--c);
    -webkit-tap-highlight-color: transparent;
  }
  .rt-pick > i { width: 20px; height: 3px; border-radius: 2px; flex: none; background: var(--c); box-shadow: 0 0 8px var(--c); }
  .rt-pick-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
  .rt-pick-k { font: 500 10.5px/1.2 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
  .rt-pick-n { font: 600 16px/1.25 var(--body-font); color: var(--ink); }
  .rt-pick-arrow {
    flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
    border: 1px solid var(--line-2); transition: background 0.2s ease, border-color 0.2s ease;
  }
  .rt-pick-arrow::before {
    content: ""; width: 8px; height: 8px; border-right: 1.5px solid var(--ink-2); border-bottom: 1.5px solid var(--ink-2);
    transform: translateY(-2px) rotate(45deg); transition: transform 0.2s ease;
  }
  .rt-pick[aria-expanded="true"] .rt-pick-arrow { background: rgba(143, 211, 240, 0.14); border-color: rgba(143, 211, 240, 0.5); }
  .rt-pick[aria-expanded="true"] .rt-pick-arrow::before { transform: translateY(2px) rotate(-135deg); }
  .js .route-readout { border-top: 0; padding: 4px 16px 16px 20px; }
  .js .route-readout-name { display: none; }
  .route-readout-fact { font-size: 17px; }
  /* no top offset: the open list keeps its place in the (block) flow, straight under the picker, above the content below */
  .js .rt-scroll.is-open {
    position: absolute; z-index: 10; left: 8px; right: 8px;
    max-height: min(62vh, 480px); overflow-y: auto; overscroll-behavior: contain;
    gap: 14px; padding: 12px 8px 8px;
    background: #0B1B2D; border: 1px solid var(--line-2); border-radius: 14px;
    box-shadow: 0 28px 60px -12px rgba(0, 0, 0, 0.8);
  }
}
@media (max-width: 350px) {
  .globe-views button { padding: 7px 4px; font-size: 10px; letter-spacing: 0; }
}

/* ============================================================
   LOCATION
   ============================================================ */
.map-wrap { position: relative; height: min(74vh, 720px); min-height: 380px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #06121f; }
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.roads { list-style: none; padding: 0; margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-2); }
.roads li { position: relative; padding: 28px 24px 0 0; }
.roads li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 1px solid var(--ice); }
.roads li.is-now::before { background: var(--live); border-color: var(--live); box-shadow: 0 0 0 5px rgba(111, 255, 176, 0.15); }
.road-when { font: 500 12px/1 var(--mono); letter-spacing: 0.14em; color: var(--ice); text-transform: uppercase; }
.roads li.is-now .road-when { color: var(--live); }
.road-name { margin-top: 10px; font-family: var(--h-font); font-size: 24px; line-height: 1.2; }
.road-p { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--ink-3); }
.roads-effect { margin-top: clamp(40px, 5vw, 56px); max-width: 70ch; font-size: 18px; color: var(--ink-2); }
@media (max-width: 900px) { .roads { grid-template-columns: 1fr 1fr; row-gap: 36px; } }
@media (max-width: 560px) {
  .map-wrap { height: 64vh; }
  .roads { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--line-2); row-gap: 28px; margin-left: 4px; }
  .roads li { padding: 0 0 0 24px; }
  .roads li::before { top: 2px; left: -5px; }
}

/* ============================================================
   SITE PLAN
   ============================================================ */
.plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 24px); }
.plan-frame {
  position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; cursor: zoom-in;
  border-radius: var(--radius); background: #F5F8FC;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.plan-frame:hover { transform: translateY(-3px); box-shadow: 0 28px 70px -30px rgba(0, 0, 0, 0.85); }
.plan-frame img { width: 100%; height: 100%; object-fit: cover; }
.frame-label {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  padding: 7px 12px; border-radius: 999px;
  background: rgba(11, 27, 45, 0.85); color: var(--ice);
  font: 500 11px/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase;
}
.frame-caption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 36px 16px 14px;
  background: linear-gradient(180deg, rgba(11, 27, 45, 0) 0%, rgba(11, 27, 45, 0.92) 65%);
  font: 500 11px/1.3 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; text-align: center;
  color: rgba(234, 243, 251, 0.9);
}
.zones { display: flex; flex-wrap: wrap; gap: 12px 40px; margin-top: 28px; }
.zone { display: flex; align-items: baseline; gap: 12px; font-size: 16px; color: var(--ink-2); }
.zone i { width: 28px; height: 6px; border-radius: 3px; flex: none; align-self: center; }
.zone b { font-family: var(--h-font); font-weight: 400; font-size: 28px; color: var(--ink); }
.zone--ind i { background: var(--ice-2); }
.zone--port i { background: var(--live); }
.zone--res i { background: transparent; border: 1px dashed var(--ink-3); height: 8px; }
.zone--res b { color: var(--ink-2); }
/* why now: Sundabrú visualisation */
.why-photo { margin-top: clamp(48px, 6vw, 72px); }
.why-photo img { display: block; width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line-2); box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.7); }
.why-photo figcaption { margin-top: 14px; max-width: 760px; font-size: 15px; line-height: 1.55; color: var(--ink-3); }
.why-photo .credit { display: inline-block; margin-left: 6px; font: 500 10.5px/1.4 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); opacity: 0.8; }
.site-points { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 48px; margin-top: clamp(48px, 6vw, 72px); }
.site-points li { padding-top: 18px; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.site-points .links { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
@media (max-width: 900px) { .site-points { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .plan-grid, .site-points { grid-template-columns: 1fr; } }

/* ============================================================
   PORT
   ============================================================ */
.port-photo { position: relative; max-width: 1680px; margin: 0 auto; height: min(66vh, 680px); min-height: 340px; overflow: hidden; }
.port-photo img { width: 100%; height: 100%; object-fit: cover; }
.port-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 27, 45, 0) 60%, rgba(11, 27, 45, 0.75) 100%); pointer-events: none; }
.port-photo figcaption {
  position: absolute; z-index: 2; left: var(--gutter); bottom: 22px;
  font: 500 12px/1.3 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2);
}
.cargo { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 56px; margin-top: clamp(56px, 7vw, 88px); }
.cargo-ico { display: block; margin-bottom: 14px; font-size: 18px; line-height: 1; color: var(--ice); }
.cargo h3 { font-size: 24px; line-height: 1.2; }
.cargo p { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--ink-3); }
.port-more { margin-top: 48px; }
@media (max-width: 900px) { .cargo { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cargo { grid-template-columns: 1fr; gap: 32px; } .port-photo { height: 56vh; } }

/* ============================================================
   GREEN BY DESIGN · the GHharbour loop (schematic + flow cards)
   Flow colours are set per group via --c (see src/index.html).
   ============================================================ */
.green-loop {
  border: 1px solid var(--line-2); border-radius: 20px; overflow: hidden;
  background: #07131F;
  box-shadow: 0 40px 100px -40px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(143, 211, 240, 0.04);
}
.gl-stage { position: relative; background: radial-gradient(120% 90% at 30% 40%, rgba(111, 255, 176, 0.035), transparent 60%), #07131F; }
.gl-svg { display: block; width: 100%; height: auto; overflow: visible; }
.gl-svg--tall { display: none; }
.gl-credit { position: absolute; right: 14px; bottom: 10px; font: 500 10px/1.3 var(--mono); letter-spacing: 0.06em; color: var(--ink-3); opacity: 0.7; pointer-events: none; }

/* scenery */
.gl-wave { fill: none; stroke: #7DB4D2; stroke-opacity: 0.22; stroke-width: 1.2; stroke-linecap: round; }
.gl-fjord { font: italic 400 22px var(--h-font); fill: #7DB4D2; fill-opacity: 0.55; letter-spacing: 0.02em; }
.gl-block rect { fill: rgba(143, 211, 240, 0.035); stroke: rgba(166, 190, 212, 0.22); stroke-width: 1; }
.gl-block--solid rect { fill: #071A2D; stroke: rgba(166, 190, 212, 0.26); }
.gl-lots { fill: none; stroke: rgba(166, 190, 212, 0.07); stroke-width: 1; }
.gl-bh { font: 500 11.5px var(--mono); letter-spacing: 0.16em; text-transform: uppercase; fill: var(--ink-2); }
.gl-bf { font: 400 13px var(--body-font); fill: var(--ink-3); }
.gl-quay { fill: none; stroke: var(--ice); stroke-opacity: 0.7; stroke-width: 2; stroke-linecap: round; }
.gl-bollards circle { fill: var(--ice); fill-opacity: 0.6; }
.gl-pill { fill: #0E2136; stroke: rgba(234, 243, 251, 0.5); stroke-width: 1.4; }
.gl-hull { fill: #0C243B; stroke: rgba(234, 243, 251, 0.5); stroke-width: 1.3; }
.gl-hatch { fill: rgba(143, 211, 240, 0.07); stroke: rgba(166, 190, 212, 0.25); }
.gl-bridge { fill: rgba(234, 243, 251, 0.12); stroke: rgba(234, 243, 251, 0.4); }

/* flows */
.gl-fl { transition: opacity 0.35s ease; }
.gl-glow { fill: none; stroke: var(--c); stroke-width: 8; stroke-opacity: 0.26; }
.gl-glow--loop { stroke-opacity: 0.14; }
.gl-line { fill: none; stroke: var(--c); stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.gl-loop { fill: none; stroke: var(--c); stroke-width: 2; stroke-dasharray: 7 7; stroke-linecap: round; animation: gl-dash 1.4s linear infinite; }
@keyframes gl-dash { to { stroke-dashoffset: -28; } }
.gl-arrow { fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.gl-hit { fill: none; stroke: transparent; stroke-width: 28; }
.gl-stop { fill: #0E2136; stroke: var(--c); stroke-width: 2.4; }
.gl-plug, .gl-dot { fill: var(--c); }
.gl-src rect { fill: #07192C; stroke: var(--c); stroke-opacity: 0.38; }
.gl-sn { font: 600 15px var(--body-font); fill: var(--ink); }
.gl-sn--p { font-size: 12.5px; }
.gl-ss { font: 500 11.5px var(--mono); letter-spacing: 0.04em; fill: var(--c); }
.gl-use { font: 500 13px var(--body-font); fill: var(--c); }
.gl-svg--tall .gl-use { font-size: 12.5px; fill: var(--ink-2); }
.gl-svg--tall .gl-use--ship { fill: var(--c); }
.gl-loopl .k { font: 600 11.5px var(--mono); letter-spacing: 0.16em; text-transform: uppercase; fill: var(--c); }
.gl-loopl .d { font: 400 13px var(--body-font); fill: var(--ink-3); }
.gl-loopl--v .k { font-size: 10.5px; }
.gl-orb { filter: drop-shadow(0 0 4px var(--c)); }

/* focus: one flow at a time */
.green-loop[data-focus] .gl-fl { opacity: 0.1; }
.green-loop[data-focus="power"] .gl-fl--power,
.green-loop[data-focus="water"] .gl-fl--water,
.green-loop[data-focus="materials"] .gl-fl--materials,
.green-loop[data-focus="heat"] .gl-fl--heat { opacity: 1; }
.green-loop[data-focus] .gl-fl .gl-glow { stroke-opacity: 0.42; }
@media (hover: hover) and (pointer: fine) { .gl-fl { cursor: pointer; } }

/* entrance: lines draw in, loops and labels follow */
.gl-line { transition: stroke-dashoffset 1.5s var(--ease) 0.25s; }
.gl-fl--water .gl-line { transition-delay: 0.4s; }
.gl-fl--materials .gl-line { transition-delay: 0.55s; }
.gl-fl--heat .gl-line { transition-delay: 0.7s; }
.gl-loop, .gl-glow, .gl-orb, .gl-arrow, .gl-use, .gl-loopl, .gl-stop, .gl-plug { transition: opacity 0.8s ease 1.3s; }
.js .green-loop:not(.in) .gl-line { stroke-dashoffset: 1; }
.js .green-loop:not(.in) :is(.gl-loop, .gl-glow, .gl-orb, .gl-arrow, .gl-use, .gl-loopl, .gl-stop, .gl-plug) { opacity: 0; }
.green-loop.is-paused .gl-loop { animation-play-state: paused; }

/* flow cards (legend + controls) */
.gl-flows {
  display: grid; grid-template-columns: 0.9fr repeat(3, 1fr); gap: 1px;
  background: var(--line); border-top: 1px solid var(--line-2);
}
.flow-card {
  --c: var(--ice);
  position: relative; min-width: 0;
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  padding: 22px 22px 24px;
  appearance: none; border: 0; border-radius: 0; margin: 0; cursor: pointer; text-align: left;
  font: inherit; color: inherit; background: var(--bg-2);
  transition: background 0.25s ease;
}
.flow-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: var(--c); box-shadow: 0 0 12px var(--c); opacity: 0; transition: opacity 0.25s ease;
}
.flow-card:hover { background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent), var(--bg-2); }
.flow-card[aria-pressed="true"] { background: linear-gradient(180deg, color-mix(in srgb, var(--c) 12%, transparent), transparent 85%), var(--bg-2); }
.flow-card[aria-pressed="true"]::before { opacity: 1; }
.flow-card:focus-visible { outline: 2px solid var(--c); outline-offset: -2px; }
.fc-k { display: flex; align-items: center; gap: 10px; font: 500 11px/1.3 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.fc-k i { flex: none; width: 20px; height: 3px; border-radius: 2px; background: var(--c); box-shadow: 0 0 8px var(--c); }
.fc-v { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.fc-v b { font: 400 clamp(32px, 3vw, 42px)/1 var(--h-font); letter-spacing: -0.01em; color: var(--ink); }
.fc-v small { font: 500 12px/1.2 var(--mono); letter-spacing: 0.06em; color: var(--c); }
.fc-p { font-size: 14px; line-height: 1.55; color: var(--ink-3); transition: color 0.25s ease; }
.flow-card[aria-pressed="true"] .fc-p, .flow-card:hover .fc-p { color: var(--ink-2); }
.flow-card--all { --c: var(--live); justify-content: flex-start; }
.flow-card--all .fc-k { font-size: 12px; color: var(--ink); }
.fc-ico {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%;
  color: var(--live); border: 1px solid rgba(111, 255, 176, 0.4); background: rgba(111, 255, 176, 0.06);
}
.flow-card--all[aria-pressed="true"] .fc-ico svg { animation: gl-spin 8s linear infinite; }
@keyframes gl-spin { to { transform: rotate(360deg); } }

@media (max-width: 1100px) {
  .gl-flows { grid-template-columns: repeat(3, 1fr); }
  .flow-card--all { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 14px; padding: 14px 22px; }
  .flow-card--all .fc-p { margin-left: auto; font-size: 13px; }
  .fc-ico { width: 34px; height: 34px; }
}
@media (max-width: 900px) {
  .gl-svg--wide { display: none; }
  .gl-svg--tall { display: block; max-width: 460px; margin: 0 auto; }
}
@media (max-width: 640px) {
  .gl-flows { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .green-loop { border-radius: 16px; margin: 0 calc(var(--gutter) * -0.5); }
  .flow-card { gap: 8px; padding: 18px 18px 20px; }
  .fc-v b { font-size: 32px; }
  .fc-p { font-size: 14px; }
  .flow-card--all .fc-p { display: none; }
  .gl-credit { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .gl-orb { display: none; }
  .gl-loop, .flow-card--all[aria-pressed="true"] .fc-ico svg { animation: none; }
  .gl-line, .gl-loop, .gl-glow, .gl-arrow, .gl-use, .gl-loopl, .gl-stop, .gl-plug { transition: none; }
  .js .green-loop:not(.in) .gl-line { stroke-dashoffset: 0; }
  .js .green-loop:not(.in) :is(.gl-loop, .gl-glow, .gl-arrow, .gl-use, .gl-loopl, .gl-stop, .gl-plug) { opacity: 1; }
}

/* ============================================================
   TIMELINE
   ============================================================ */
.tl { list-style: none; padding: 0; position: relative; display: grid; grid-template-columns: repeat(6, 1fr); }
.tl::before { content: ""; position: absolute; top: 7px; left: 0; right: 0; height: 1px; background: var(--line-2); }
.tl li { position: relative; padding: 36px 20px 0 0; }
.tl .dot { position: absolute; top: 0; left: 0; width: 15px; height: 15px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--bg); }
.tl li.done .dot { background: var(--ice-2); border-color: var(--ice-2); }
.tl li.current .dot { background: var(--live); border-color: var(--live); box-shadow: 0 0 0 6px rgba(111, 255, 176, 0.15); }
.tl .date { font: 500 12px/1.3 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ice); }
.tl li.current .date { color: var(--live); }
.tl h3 { margin-top: 10px; font: 600 17px/1.3 var(--body-font); letter-spacing: 0; }
.tl p { margin-top: 6px; font-size: 15px; line-height: 1.55; color: var(--ink-3); }
.tl p a { color: var(--ice); border-bottom: 1px solid rgba(143, 211, 240, 0.35); }
.tl-link { margin-top: 28px; }
@media (max-width: 900px) {
  .tl { grid-template-columns: 1fr; }
  .tl::before { top: 0; bottom: 0; left: 7px; right: auto; width: 1px; height: auto; }
  .tl li { padding: 0 0 32px 44px; }
}

/* ============================================================
   CONTACT & PRESS
   ============================================================ */
.contact {
  background:
    radial-gradient(80% 60% at 15% 0%, rgba(79, 179, 217, 0.12), transparent 60%),
    radial-gradient(60% 50% at 90% 100%, rgba(111, 255, 176, 0.06), transparent 60%),
    var(--bg);
}
.contact-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(48px, 7vw, 112px); }
.contact-email { display: inline-block; margin-top: 32px; font-family: var(--h-font); font-size: clamp(28px, 3.6vw, 52px); line-height: 1.1; letter-spacing: -0.01em; border-bottom: 1px solid var(--line-2); padding-bottom: 6px; transition: border-color 0.2s ease; word-break: break-word; }
.contact-email:hover { border-color: var(--ice); }
.contact-phone { display: block; margin-top: 18px; font-size: 19px; color: var(--ink-2); }
.contact-lead { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); max-width: 420px; }
.contact-lead .k { font: 500 12px/1.2 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.contact-lead .v { margin-top: 10px; font-size: 18px; color: var(--ink); }
.contact-lead .s { color: var(--ink-3); font-size: 15px; }
.press h3 { font: 500 12px/1.2 var(--mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--ice); margin-bottom: 14px; }
.press-list { list-style: none; padding: 0; }
.press-list li { border-top: 1px solid var(--line); }
.press-list li:last-child { border-bottom: 1px solid var(--line); }
.press-list a { display: block; padding: 20px 28px 20px 0; position: relative; font-size: 17px; color: var(--ink); transition: color 0.2s ease; }
.press-list a:hover { color: var(--ice); }
.press-list .arrow { position: absolute; right: 0; top: 20px; color: var(--ice); }
.res-note { color: var(--ink-3); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 32px 0 40px; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; font-size: 13px; color: var(--ink-3); }
.foot-sites { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot-sites a:hover { color: var(--ink); }

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 1000; display: none;
  align-items: center; justify-content: center; padding: clamp(20px, 4vw, 60px);
  background: rgba(2, 10, 22, 0.94); cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox-inner { position: relative; max-width: min(1400px, 96vw); max-height: 92vh; display: flex; flex-direction: column; align-items: center; gap: 16px; cursor: default; }
.lightbox img { max-width: 100%; max-height: 82vh; border-radius: var(--radius); background: #F5F8FC; }
.lightbox .lb-caption { font: 500 12px/1.4 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ice); text-align: center; }
.lightbox .lb-close {
  position: absolute; top: -14px; right: -14px; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(6, 22, 42, 0.95); border: 1px solid var(--line-2); color: var(--ink);
  font-size: 20px; cursor: pointer;
}
body.lb-open { overflow: hidden; }
@media (max-width: 640px) { .lightbox .lb-close { top: 8px; right: 8px; } }

/* ============================================================
   ROUTES PAGE (routes.html)
   ============================================================ */
.page-head { padding: 160px 0 clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(44px, 6vw, 84px); line-height: 1; letter-spacing: -0.025em; max-width: 16ch; }
.data-block + .data-block { margin-top: clamp(72px, 9vw, 120px); }
.data-block h2 { font-size: clamp(30px, 3.2vw, 44px); }
.data-block .lead { font-size: 17px; }
.summary { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
.summary li { padding-top: 16px; border-top: 1px solid var(--line-2); }
.summary b { display: block; font-family: var(--h-font); font-weight: 400; font-size: 40px; line-height: 1; }
.summary span { display: block; margin-top: 8px; font-size: 14px; color: var(--ink-3); }
.table-wrap { margin-top: 36px; overflow-x: auto; -webkit-overflow-scrolling: touch; border-top: 1px solid var(--line-2); }
.data-table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; min-width: 640px; }
.data-table th, .data-table td { padding: 14px 16px 14px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.data-table thead th { font: 500 11px/1.3 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.data-table td { color: var(--ink-2); }
.data-table td.num, .data-table th.num { text-align: right; white-space: nowrap; }
.data-table .row-head { color: var(--ink); font-weight: 600; white-space: nowrap; }
.data-table .best td { color: var(--ink); }
.data-table .saved { color: var(--live); }
.data-table .group td { padding-top: 28px; color: var(--ice); font: 500 12px/1.3 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; }
.note-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 48px; margin-top: 36px; }
.note-grid h3 { font: 600 17px/1.3 var(--body-font); letter-spacing: 0; }
.note-grid p { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
@media (max-width: 900px) { .summary { grid-template-columns: 1fr 1fr; } .note-grid { grid-template-columns: 1fr; } }

/* ============================================================
   CORRIDOR MAP (Reykjavík → Galtarlækur)
   Markup is generated by scripts/maps/make-corridor-map.py
   (relief raster, base SVG, overlay). Behaviour: end of assets/home.js.
   ============================================================ */
.corridor-wrap { position: relative; }
.cm-frame { position: relative; }
.map-wrap.corridor {
  --vbw: 1600;
  height: auto; min-height: 0; aspect-ratio: 1600 / 913; background: #07131F;
  container-type: inline-size;
  box-shadow: 0 40px 90px -50px rgba(0, 0, 0, 0.9);
}
.corridor-map { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.corridor-map text { pointer-events: none; }

/* names */
.corridor-map .water { font: italic 400 24px var(--h-font); fill: #7DB4D2; fill-opacity: 0.55; letter-spacing: 0.02em; }
.corridor-map .water--sm { font-size: 16px; fill-opacity: 0.45; }
.corridor-map .peak path { fill: #9DB2C5; fill-opacity: 0.55; }
.corridor-map .peak text { font: 500 11px var(--mono); letter-spacing: 0.22em; fill: #B3C7D9; fill-opacity: 0.7; paint-order: stroke; stroke: #0A1A2A; stroke-width: 3px; stroke-opacity: 0.6; }
.corridor-map .peak tspan { fill-opacity: 0.6; letter-spacing: 0.06em; }

/* roads */
.rd-main-glow { fill: none; stroke: #FF8A2A; stroke-opacity: 0.4; stroke-width: 8; filter: url(#glow); }
.rd-main { fill: none; stroke: #FF9A45; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .corridor-wrap:not(.in) .rd-main { stroke-dashoffset: 1; }
.js .corridor-wrap .rd-main { transition: stroke-dashoffset 2.4s var(--ease) 0.3s; }
.rd-tunnel-bed { fill: none; stroke: #07131F; stroke-opacity: 0.8; stroke-width: 5; stroke-linecap: round; }
.rd-tunnel { fill: none; stroke: #FFE6C7; stroke-width: 3; stroke-dasharray: 2 6; stroke-linecap: round; }
.rd-t2 { fill: none; stroke: #C9A0FF; stroke-width: 2.2; stroke-dasharray: 1 6; stroke-linecap: round; }
.rd-sunda-glow { fill: none; stroke: #B98BFF; stroke-opacity: 0.35; stroke-width: 8; filter: url(#glow); }
.rd-sunda { fill: none; stroke: #DCC2FF; stroke-width: 3; stroke-dasharray: 10 8; stroke-linecap: round; animation: sunda-flow 2.2s linear infinite; }
@keyframes sunda-flow { to { stroke-dashoffset: -36; } }
.alt-glow { fill: none; stroke: #FFC98A; stroke-opacity: 0; stroke-width: 9; filter: url(#glow); transition: stroke-opacity 0.4s; }
.alt-line { fill: none; stroke: #FFE0B8; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s var(--ease); }
.orb-head { fill: #FFF1DE; }
.orb-tail { fill: #FF9A45; opacity: 0.75; }
.orb-tail2 { fill: #FF6A10; opacity: 0.4; }
.orbs .orb { filter: drop-shadow(0 0 4px #FF8A2A); }

/* sea approach (schematic) */
.sea-glow { fill: none; stroke: #4FB3D9; stroke-opacity: 0.18; stroke-width: 7; }
.sea-line { fill: none; stroke: #8FD3F0; stroke-opacity: 0.6; stroke-width: 2; stroke-dasharray: 0.5 7; stroke-linecap: round; }
.orb--sea { filter: drop-shadow(0 0 4px #4FB3D9); }
.orb--sea .orb-head { fill: #E4F7FF; }
.orb--sea .orb-tail { fill: #8FD3F0; }
.orb--sea .orb-tail2 { fill: #4FB3D9; }
.lbl-sea { font: 500 11px var(--mono); letter-spacing: 0.26em; fill: #8FD3F0; fill-opacity: 0.6; }

/* 220 kV grid (OSM / Landsnet) */
.grid-glow { fill: none; stroke: #B9A3FF; stroke-opacity: 0.18; stroke-width: 5; }
.grid-line { fill: none; stroke: #B9A3FF; stroke-opacity: 0.38; stroke-width: 1.1; stroke-linejoin: round; }
.grid-link { fill: none; stroke: #B9A3FF; stroke-width: 1.4; stroke-dasharray: 3 5; stroke-opacity: 0; transition: stroke-opacity 0.4s; }
.corridor-map .sub rect { fill: #0B1628; stroke: #B9A3FF; stroke-width: 1.2; }
.corridor-map .sub path { fill: #D9CCFF; }
.corridor-map .sub text { font: 500 13px var(--body-font); fill: #D9CCFF; fill-opacity: 0.85; paint-order: stroke; stroke: #07131F; stroke-width: 4px; stroke-opacity: 0.6; }
.corridor-map .sub tspan { font: 500 10px var(--mono); letter-spacing: 0.08em; fill-opacity: 0.8; }

/* labels */
.lbl-route text { font: 600 13px var(--mono); letter-spacing: 0.18em; fill: #FFB067; paint-order: stroke; stroke: #07131F; stroke-width: 4px; stroke-opacity: 0.7; }
.lbl-route .sub { font-weight: 500; font-size: 11px; letter-spacing: 0.08em; }
.lbl-route .sunda, .lbl-route .t2 { fill: #DCC2FF; }
.lbl-route .r1 { fill-opacity: 0.85; }
.town circle { fill: #B3C7D9; transition: fill 0.3s; }
.town text, .corridor-map .port text { font: 500 15px var(--body-font); fill: #C4D5E4; paint-order: stroke; stroke: #07131F; stroke-width: 4px; stroke-opacity: 0.6; transition: fill 0.3s; }
.corridor-map .port circle { fill: #0B1628; stroke: #8FD3F0; stroke-width: 1.2; transition: stroke 0.3s; }
.corridor-map .port path { fill: none; stroke: #8FD3F0; stroke-width: 1.1; stroke-linecap: round; }
.corridor-map .port--sm circle { fill: #0B1628; stroke-opacity: 0.7; }
.corridor-map .port .psub { font: 500 10px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; fill: #9DB2C5; fill-opacity: 0.8; }
.cm-pointer path { fill: none; stroke: #9DB2C5; stroke-opacity: 0.55; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.cm-pointer text { font: 500 11px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; fill: #9DB2C5; fill-opacity: 0.75; paint-order: stroke; stroke: #07131F; stroke-width: 3px; stroke-opacity: 0.6; }
.pin--rvk > circle.core { fill: #8FD3F0; }
.pin--rvk text { font: 600 21px var(--body-font); fill: #EAF3FB; paint-order: stroke; stroke: #07131F; stroke-width: 5px; stroke-opacity: 0.6; }
.pin--gh > circle.core { fill: #6FFFB0; }
.pin--gh text { font: 400 34px var(--h-font); fill: #C6FFE0; paint-order: stroke; stroke: #07131F; stroke-width: 6px; stroke-opacity: 0.6; }
.pin--gh text.coord { font: 500 11px var(--mono); letter-spacing: 0.14em; fill: #6FFFB0; fill-opacity: 0.8; stroke-width: 3px; }
.pin > circle.pulse { fill: none; stroke-width: 1.6; transform-box: fill-box; transform-origin: center; animation: map-pulse 2.8s ease-out infinite; }
.pin--gh > circle.pulse { stroke: #6FFFB0; }
.pin--rvk > circle.pulse { stroke: #8FD3F0; }
.pin > circle.pulse--late { animation-delay: 1.4s; }
@keyframes map-pulse { 0% { transform: scale(0.6); opacity: 0.9; } 100% { transform: scale(2.8); opacity: 0; } }

/* focus: a destination card (or a road on the timeline) lights its layer, the rest steps back */
.cm-layer, .cm-places, .pin--rvk, .lbl-route { transition: opacity 0.4s var(--ease); }
.map-wrap[data-focus]:not([data-focus="rvk"]) .cm-main { opacity: 0.3; }
.map-wrap[data-focus]:not([data-focus="rvk"]) .pin--rvk { opacity: 0.5; }
.map-wrap[data-focus="port"] [data-layer="port"] .alt-line,
.map-wrap[data-focus="akr"] [data-layer="akr"] .alt-line,
.map-wrap[data-focus="grund"] [data-layer="grund"] .alt-line { stroke-dashoffset: 0; }
.map-wrap[data-focus="port"] [data-layer="port"] .alt-glow,
.map-wrap[data-focus="akr"] [data-layer="akr"] .alt-glow,
.map-wrap[data-focus="grund"] [data-layer="grund"] .alt-glow { stroke-opacity: 0.35; }
.map-wrap[data-focus="port"] [data-place="port"] text,
.map-wrap[data-focus="akr"] [data-place="akr"] text,
.map-wrap[data-focus="grund"] [data-place="grund"] text { fill: #FFE0B8; }
.map-wrap[data-focus="akr"] [data-place="akr"] circle { fill: #FFE0B8; }
.map-wrap[data-focus="port"] [data-place="port"] circle,
.map-wrap[data-focus="grund"] [data-place="grund"] circle { stroke: #FFE0B8; }
.map-wrap[data-focus="grid"] .grid-line { stroke-opacity: 0.95; stroke-dasharray: 6 4; animation: grid-flow 1.2s linear infinite; }
.map-wrap[data-focus="grid"] .grid-glow { stroke-opacity: 0.35; }
.map-wrap[data-focus="grid"] .grid-link { stroke-opacity: 0.9; }
@keyframes grid-flow { to { stroke-dashoffset: -20; } }
.map-wrap[data-focus="sea"] .sea-line { stroke-opacity: 1; stroke-width: 2.6; }
.map-wrap[data-focus="sea"] .sea-glow { stroke-opacity: 0.35; }
.map-wrap[data-focus="sea"] .lbl-sea { fill-opacity: 1; }
.map-wrap[data-focus="sunda"] .cm-main, .map-wrap[data-focus="t2"] .cm-main { opacity: 0.55; }
.map-wrap[data-focus="sunda"] .rd-sunda-glow { stroke-opacity: 0.7; }
.map-wrap[data-focus="t2"] .rd-t2 { stroke-width: 3.2; stroke: #E6D2FF; }
.map-wrap[data-focus="sunda"] .cm-grid, .map-wrap[data-focus="t2"] .cm-grid,
.map-wrap[data-focus="sea"] .cm-grid, .map-wrap[data-focus="sea"] .cm-plan { opacity: 0.35; }
.map-wrap[data-focus="grid"] .cm-sea, .map-wrap[data-focus="grid"] .cm-plan { opacity: 0.35; }

/* furniture */
.corridor-title { position: absolute; top: clamp(16px, 3vw, 32px); left: clamp(16px, 3vw, 36px); pointer-events: none; }
.corridor-title .t { display: block; font: 400 clamp(28px, 3.6vw, 52px)/1 var(--h-font); letter-spacing: 0.05em; color: #EAF3FB; text-shadow: 0 2px 18px rgba(7, 19, 31, 0.8); }
.corridor-title .s { display: block; margin-top: 10px; font: 500 11px/1.3 var(--mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); }
.cm-inset {
  position: absolute; top: clamp(12px, 2.2vw, 24px); right: clamp(12px, 2.2vw, 24px); width: clamp(92px, 12cqw, 148px);
  padding: 8px 9px 7px; border-radius: 8px; pointer-events: none;
  background: rgba(7, 19, 31, 0.62); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.cm-inset svg, .cm-inset img { width: 100%; height: auto; display: block; overflow: visible; }
.cm-inset .is { fill: #1B3448; stroke: #6CC1E4; stroke-opacity: 0.55; stroke-width: 0.7; stroke-linejoin: round; }
.cm-inset .fr { fill: rgba(111, 255, 176, 0.14); stroke: #6FFFB0; stroke-width: 1; }
.cm-inset .gh { fill: #6FFFB0; }
.cm-inset span { display: block; margin-top: 5px; font: 500 9px/1 var(--mono); letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink-3); text-align: center; }
.cm-scale { position: absolute; right: clamp(14px, 2.4vw, 28px); bottom: clamp(12px, 2vw, 22px); display: flex; align-items: flex-end; gap: 12px; pointer-events: none; }
.cm-north { width: 15px; height: 21px; flex: none; }
.cm-north path { fill: #B3C7D9; fill-opacity: 0.8; }
.cm-north text { font: 600 7px var(--mono); fill: #B3C7D9; text-anchor: middle; }
.cm-sb { display: flex; flex-direction: column; gap: 4px; }
.cm-bar { display: flex; width: calc(var(--u) / var(--vbw) * 100cqw); height: 5px; border: 1px solid rgba(179, 199, 217, 0.6); }
.cm-bar i { flex: 1; }
.cm-bar i:first-child { background: rgba(179, 199, 217, 0.55); }
.cm-bar-l { display: flex; justify-content: space-between; font: 500 9px/1 var(--mono); letter-spacing: 0.06em; color: var(--ink-3); }
.cm-bar-l b { font-weight: 500; }
.corridor-legend {
  position: absolute; left: clamp(16px, 3vw, 36px); bottom: clamp(16px, 3vw, 32px); z-index: 2;
  list-style: none; margin: 0; padding: 14px 18px; display: grid; gap: 8px; max-width: 360px;
  background: rgba(7, 19, 31, 0.78); border: 1px solid var(--line); border-radius: 10px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.corridor-legend li { display: flex; align-items: center; gap: 12px; font-size: 13px; line-height: 1.35; color: var(--ink-2); }
.corridor-legend i { flex: none; width: 28px; height: 3px; border-radius: 2px; }
.lg-main { background: #FF9A45; box-shadow: 0 0 8px #FF8A2A; }
.lg-sunda { background: repeating-linear-gradient(90deg, #DCC2FF 0 7px, transparent 7px 11px); box-shadow: 0 0 8px rgba(185, 139, 255, 0.6); }
.lg-t2 { background: repeating-linear-gradient(90deg, #C9A0FF 0 2px, transparent 2px 6px); }
.lg-sea { background: radial-gradient(circle, #8FD3F0 1.2px, transparent 1.6px) 0 50% / 6px 3px repeat-x; }
.corridor-legend i.lg-grid { height: 1.5px; background: #B9A3FF; box-shadow: 0 0 6px rgba(185, 163, 255, 0.7); }
.corridor-credit { margin-top: 12px; font: 500 10px/1.5 var(--mono); letter-spacing: 0.04em; color: var(--ink-3); opacity: 0.7; }

/* destinations: "From the site" */
.cm-dest { margin-top: clamp(20px, 2.4vw, 28px); }
.cm-dest-h { margin-bottom: 12px; font: 500 11px/1 var(--mono); letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-3); }
.cm-dest-list {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
}
.cm-d {
  --c: #FF9A45;
  position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0;
  margin: 0; padding: 18px 18px 20px; border: 0; background: var(--bg-2); color: inherit; font: inherit; text-align: left;
  cursor: pointer; transition: background 0.25s ease;
}
.cm-d::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--c); box-shadow: 0 0 10px var(--c); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); }
.cm-d:hover { background: #0A1D34; }
.cm-d[aria-pressed="true"] { background: #0B2039; }
.cm-d:hover::before, .cm-d[aria-pressed="true"]::before { transform: scaleX(1); }
.cm-d:focus-visible { outline: 2px solid var(--ice); outline-offset: -2px; }
.cm-d .k { display: flex; align-items: baseline; gap: 5px; }
.cm-d .k b { font: 400 36px/1 var(--h-font); letter-spacing: -0.01em; color: var(--ink); }
.cm-d .k .u { font: 500 11px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--c); }
.cm-d .n { font: 600 14px/1.3 var(--body-font); color: var(--ink); }
.cm-d .p { font-size: 13px; line-height: 1.45; color: var(--ink-3); }
.cm-d--port, .cm-d--akr { --c: #FFD29E; }
.cm-d--grund { --c: #6FFFB0; }
.cm-d--grid { --c: #B9A3FF; }
.cm-d--sea { --c: #8FD3F0; }
.roads li[data-focus] { cursor: default; }
@media (hover: hover) { .roads li[data-focus]:hover .road-name { color: #FFE0B8; } }
.road-name { transition: color 0.25s; }

@media (max-width: 1100px) {
  .cm-dest-list { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .map-wrap.corridor { --vbw: 640; aspect-ratio: 640 / 913; }
  .corridor-legend { position: static; margin-top: 12px; max-width: none; background: transparent; border: 0; padding: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .corridor-title .t { font-size: 26px; }
  .corridor-title .s { font-size: 10px; letter-spacing: 0.14em; }
  .cm-inset, .corridor-title .s, .cm-pointer .ptr-n { display: none; }
  .cm-scale { right: 10px; bottom: 10px; }
  .corridor-credit { font-size: 9px; }
  .cm-dest-list { grid-template-columns: 1fr 1fr; }
  .cm-d { padding: 14px 14px 16px; }
  .cm-d .k b { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .orbs, .cm-sea .orb { display: none; }
  .rd-sunda, .map-wrap[data-focus="grid"] .grid-line { animation: none; }
  .pin > circle.pulse { animation: none; opacity: 0; }
  .js .corridor-wrap:not(.in) .rd-main { stroke-dashoffset: 0; }
  .rd-main, .alt-line { transition: none; }
}

/* globe fallback */
.globe-stage.no-webgl .globe-views, .globe-stage.no-webgl .globe-hint { display: none; }
.globe-mount .ag-root.is-engaged { cursor: grab; }

/* ============================================================
   NORTH ATLANTIC · the GIUK gap (map + layer cards + news)
   Layer colours via --c: shipping #8FD3F0 · cables #F2C14E ·
   security #FF7A6B · 1942 convoys #E3C38A · Greenland 2026 #C9A7FF.
   Behaviour in assets/home.js.
   ============================================================ */
.nx {
  border: 1px solid var(--line-2); border-radius: 20px; overflow: hidden;
  background: #07131F;
  box-shadow: 0 40px 100px -40px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(143, 211, 240, 0.04);
}
.nx-stage {
  position: relative; aspect-ratio: 1200 / 720; overflow: hidden;
  background:
    radial-gradient(60% 70% at 40% 62%, rgba(79, 179, 217, 0.10), transparent 70%),
    radial-gradient(50% 40% at 62% 0%, rgba(111, 255, 176, 0.05), transparent 70%),
    #07131F;
}
.nx-stage::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 100% at 50% 50%, transparent 60%, rgba(2, 8, 16, 0.55) 100%);
}
.nx-map { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; }
.nx-title { position: absolute; z-index: 2; top: clamp(16px, 2.6vw, 30px); left: clamp(16px, 2.6vw, 32px); pointer-events: none; }
.nx-title .t { display: block; font: 400 clamp(28px, 3.4vw, 48px)/1 var(--h-font); letter-spacing: 0.05em; color: #EAF3FB; text-shadow: 0 2px 18px rgba(7, 19, 31, 0.8); }
.nx-title .s { display: block; margin-top: 10px; font: 500 11px/1.3 var(--mono); letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-2); text-shadow: 0 1px 8px rgba(7, 19, 31, 0.9); }
.nx-credit { margin-top: 12px; font: 500 10px/1.5 var(--mono); letter-spacing: 0.04em; color: var(--ink-3); opacity: 0.7; }

/* map furniture shared with the corridor map: north arrow + scale bar (.cm-scale, 500 km at 67°N) */
.nx-stage { container-type: inline-size; --vbw: 1200; }
.nx-stage .cm-scale { z-index: 2; right: 16px; bottom: 30px; }
.nx-stage .cm-inset { z-index: 2; width: clamp(92px, 10cqw, 124px); }

/* scenery (relief + sea depth: giuk-relief.webp; coastline, graticule and the faint auroral oval: giuk-base.svg) */
.nx-arctic { fill: none; stroke: #8FD3F0; stroke-opacity: 0.32; stroke-width: 1; stroke-dasharray: 2 6; }
.nx-arctic-l { font: 500 10.5px var(--mono); letter-spacing: 0.16em; text-transform: uppercase; fill: #8FD3F0; fill-opacity: 0.55; }
.nx-land { font: 500 12px var(--mono); letter-spacing: 0.3em; text-transform: uppercase; fill: var(--ink-3); }
.nx-land--is { fill: var(--ink-2); font-size: 11px; letter-spacing: 0.24em; }
.nx-land--sm { font-size: 10px; letter-spacing: 0.14em; }
.nx-sea { font: italic 400 17px var(--h-font); fill: #7DB4D2; fill-opacity: 0.5; letter-spacing: 0.02em; }
.nx-sea--sm { font-size: 14px; }
.nx-names text, .nx-port-l, .nx-note, .nx-km, .nx-gh-l, .nx-gh-s { paint-order: stroke; stroke: #07131F; stroke-width: 4px; stroke-opacity: 0.7; stroke-linejoin: round; }

/* layers */
.nx-l { transition: opacity 0.35s ease; }
.nx-note { font: 500 11px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; fill: var(--c); }
.nx-note--sec { fill-opacity: 0.85; }
/* shipping */
.nx-lane-glow { fill: none; stroke: var(--c); stroke-width: 6; stroke-opacity: 0.08; stroke-linecap: round; }
.nx-lane { fill: none; stroke: var(--c); stroke-width: 1.6; stroke-opacity: 0.75; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.nx-orb .oh { fill: var(--c); fill-opacity: 0.16; } .nx-orb .o1 { fill: #EAF8FF; } .nx-orb .o2 { fill: var(--c); fill-opacity: 0.75; } .nx-orb .o3 { fill: var(--c); fill-opacity: 0.4; }
/* cables */
.nx-cable { fill: none; stroke: var(--c); stroke-width: 1.1; stroke-opacity: 0.4; stroke-dasharray: 1 4; stroke-linecap: round; }
.nx-cable-pulse { fill: none; stroke: var(--c); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 5 95; stroke-dashoffset: 100; animation: nx-pulse-run 7s linear infinite; }
@keyframes nx-pulse-run { to { stroke-dashoffset: 0; } }
/* security */
.nx-gap-glow { fill: none; stroke: var(--c); stroke-width: 9; stroke-opacity: 0.16; stroke-linecap: round; animation: nx-breathe 2.6s ease-in-out infinite; }
.nx-gap { fill: none; stroke: var(--c); stroke-width: 2; stroke-dasharray: 8 5; animation: gl-dash 1.6s linear infinite; }
.nx-node { fill: #07131F; stroke: var(--c); stroke-width: 2; }
.nx-km { font: 600 12px var(--mono); letter-spacing: 0.06em; fill: var(--c); }
.nx-fleet { fill: none; stroke: var(--c); stroke-width: 1.3; stroke-opacity: 0.55; stroke-dasharray: 1 5; stroke-linecap: round; }
.nx-blip .blip { fill: var(--c); } .nx-blip .bh { fill: var(--c); fill-opacity: 0.18; }
@keyframes nx-breathe { 50% { stroke-opacity: 0.05; } }
/* 1942 */
.nx-convoy { fill: none; stroke: var(--c); stroke-width: 1.4; stroke-opacity: 0.8; stroke-dasharray: 3 4; }
.nx-ship .ship { fill: var(--c); stroke: #07131F; stroke-width: 0.6; }
.nx-note--1942 { font: italic 400 16px var(--h-font); letter-spacing: 0.01em; text-transform: none; }
/* Greenland 2026: supply lanes to the new US defence areas */
.nx-supply { fill: none; stroke: var(--c); stroke-width: 1.5; stroke-opacity: 0.85; stroke-dasharray: 6 4; stroke-linecap: round; }
.nx-base { fill: #07131F; stroke: var(--c); stroke-width: 2; }
.nx-proj { fill: #6FFFB0; stroke: #07131F; stroke-width: 1.5; }
.nx-proj-l { font: 500 11px var(--mono); letter-spacing: 0.06em; fill: #9FF5C8; paint-order: stroke; stroke: #07131F; stroke-width: 4px; stroke-opacity: 0.7; stroke-linejoin: round; }
.nx-base-l { font: 600 13px var(--body-font); fill: var(--c); paint-order: stroke; stroke: #07131F; stroke-width: 4px; stroke-opacity: 0.7; stroke-linejoin: round; }
.nx-phone { display: none; }
/* ports + GHharbour */
.nx-port { fill: #07131F; stroke: var(--ink-2); stroke-width: 1.4; }
.nx-port--kef { stroke: #8FD3F0; }
.nx-port-l { font: 500 12px var(--body-font); fill: var(--ink-2); }
.nx-port-l--kef { fill: #8FD3F0; }
.nx-core { fill: #6FFFB0; }
.nx-pulse { fill: none; stroke: #6FFFB0; stroke-width: 1.6; transform-box: fill-box; transform-origin: center; animation: map-pulse 2.8s ease-out infinite; }
.nx-pulse--late { animation-delay: 1.4s; }
.nx-leader { fill: none; stroke: #6FFFB0; stroke-opacity: 0.6; stroke-width: 1; }
.nx-gh-l { font: 400 26px var(--h-font); fill: #C6FFE0; }
.nx-gh-s { font: 500 10.5px var(--mono); letter-spacing: 0.14em; text-transform: uppercase; fill: var(--ink-2); }

/* focus: one layer at a time */
.nx[data-focus] .nx-l { opacity: 0.08; }
.nx[data-focus="ship"] .nx-l--ship,
.nx[data-focus="cable"] .nx-l--cable,
.nx[data-focus="sec"] .nx-l--sec,
.nx[data-focus="1942"] .nx-l--1942,
.nx[data-focus="gl"] .nx-l--gl { opacity: 1; }

/* entrance: lanes draw in, the rest fades up */
.nx-lane { transition: stroke-dashoffset 2s var(--ease) 0.3s; }
.nx-orb, .nx-ship, .nx-blip, .nx-cable-pulse, .nx-gap-glow, .nx-note { transition: opacity 0.9s ease 1.4s; }
.js .nx:not(.in) .nx-lane { stroke-dashoffset: 1; }
.js .nx:not(.in) :is(.nx-orb, .nx-ship, .nx-blip, .nx-cable-pulse, .nx-gap-glow, .nx-note) { opacity: 0; }
.nx.is-paused :is(.nx-cable-pulse, .nx-gap-glow, .nx-gap, .nx-pulse) { animation-play-state: paused; }

/* layer cards: re-use .flow-card */
.nx-layers { display: grid; grid-template-columns: 0.9fr repeat(5, 1fr); gap: 1px; background: var(--line); border-top: 1px solid var(--line-2); }
.nx-layers .flow-card--all .fc-ico svg { transform-origin: center; }

/* news */
.nx-news { list-style: none; padding: 0; margin-top: clamp(48px, 6vw, 72px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 32px; border-top: 1px solid var(--line-2); }
.nx-news li { position: relative; padding: 28px 0 0; display: flex; flex-direction: column; }
.nx-news li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 1px solid var(--ice); }
.nx-news .when { font: 500 12px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ice); }
.nx-news h3 { margin-top: 12px; font-size: 23px; line-height: 1.2; }
.nx-news p { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--ink-3); }
.nx-news .src { margin-top: auto; padding-top: 14px; font: 500 11px/1.3 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.nx-news .src a { color: var(--ice); border-bottom: 1px solid rgba(143, 211, 240, 0.35); transition: border-color 0.2s ease, color 0.2s ease; }
.nx-news .src a:hover { color: #fff; border-color: var(--ice); }
.nx-news .nx-news-lead { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); grid-template-rows: auto auto 1fr; align-items: start; gap: 8px 48px; padding-bottom: clamp(36px, 4vw, 48px); margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.nx-news .nx-news-lead::before { border-color: #C9A7FF; background: #C9A7FF; }
.nx-news .nx-news-lead .when { color: #C9A7FF; } .nx-news .nx-news-lead .src { align-self: end; }
.nx-news .nx-news-lead h3 { font-size: clamp(26px, 2.6vw, 34px); }
.nx-news .nx-news-lead .body { grid-column: 2; grid-row: 1 / span 3; }
.nx-news .nx-news-lead .body p:first-child { margin-top: 0; }
.nx-news .nx-news-lead .body p { font-size: 16px; color: var(--ink-2); }
.nx-news .nx-news-lead .body p.why { color: var(--ink-3); }
.nx-news .nx-news-lead .body strong { color: #EAF3FB; font-weight: 600; }
.nx-foot { margin-top: clamp(32px, 4vw, 44px); }

@media (max-width: 1100px) {
  .nx-land { font-size: 14px; }
  .nx-land--is, .nx-land--sm { font-size: 12.5px; }
  .nx-sea { font-size: 20px; }
  .nx-sea--sm { font-size: 16px; }
  .nx-note, .nx-arctic-l { font-size: 13px; }
  .nx-note--1942 { font-size: 18px; }
  .nx-km, .nx-port-l { font-size: 14px; }
  .nx-gh-l { font-size: 30px; }
  .nx-gh-s { font-size: 12px; }
  .nx-layers { grid-template-columns: repeat(5, 1fr); }
  .nx-layers .flow-card--all { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 14px; padding: 14px 22px; }
  .nx-layers .flow-card--all .fc-p { margin-left: auto; font-size: 13px; }
  .nx-news { grid-template-columns: 1fr 1fr; row-gap: 40px; }
}
@media (max-width: 900px) {
  .nx-layers { grid-template-columns: 1fr 1fr; }
  .nx-layers .flow-card[data-layer="gl"] { grid-column: 1 / -1; }
  .nx-news .nx-news-lead { grid-template-columns: 1fr; }
  .nx-news .nx-news-lead .body { grid-column: 1; grid-row: auto; margin-top: 8px; }
}
@media (max-width: 760px) {
  .nx-stage { aspect-ratio: 590 / 720; --vbw: 590; }
  .nx-stage .cm-scale { right: 10px; bottom: 28px; }
  .nx-title .s { display: none; }
  .nx-phone { display: inline; }
  .nx-sea--ns { text-anchor: end; }
  .nx-minor { display: none; }
  .nx-land { font-size: 17px; }
  .nx-land--is, .nx-land--sm { font-size: 14px; }
  .nx-sea { font-size: 22px; }
  .nx-sea--sm { font-size: 18px; }
  .nx-note { font-size: 14px; }
  .nx-note--1942 { font-size: 20px; }
  .nx-km { font-size: 16px; }
  .nx-port-l { font-size: 16px; }
  .nx-gh-l { font-size: 34px; }
  .nx-gh-s { font-size: 13.5px; }
  .nx-title .t { font-size: 26px; }
  .nx-title .s { font-size: 10px; letter-spacing: 0.14em; }
  .nx-credit { font-size: 9px; }
}
@media (max-width: 560px) {
  .nx { border-radius: 16px; margin: 0 calc(var(--gutter) * -0.5); }
  .nx-layers .flow-card { gap: 6px; padding: 16px 16px 18px; }
  .nx-layers .flow-card:not(.flow-card--all) .fc-p { display: none; }
  .nx-layers .fc-v b { font-size: 28px; }
  .nx-layers .flow-card--all .fc-p { display: none; }
  .nx-news { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--line-2); row-gap: 32px; margin-left: 4px; }
  .nx-news li { padding: 0 0 0 24px; }
  .nx-news li::before { top: 2px; left: -5px; }
}
@media (prefers-reduced-motion: reduce) {
  .nx-orb, .nx-ship, .nx-blip, .nx-cable-pulse { display: none; }
  .nx-gap-glow, .nx-gap, .nx-pulse { animation: none; }
  .nx-lane { transition: none; }
  .js .nx:not(.in) .nx-lane { stroke-dashoffset: 0; }
  .js .nx:not(.in) :is(.nx-gap-glow, .nx-note) { opacity: 1; }
}

/* ============================================================
   GREENLAND BUILD-OUT (#greenland): sailing times, project cards, offer
   ============================================================ */
.gl-sec { background: linear-gradient(180deg, transparent, rgba(201, 167, 255, 0.035) 40%, transparent); }
.hero-actions .text-link--gl { color: #DCCBFF; border-color: rgba(201, 167, 255, 0.5); }
.gl-sail { list-style: none; padding: 0; margin-top: clamp(36px, 4vw, 48px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden; }
.gl-sail li { background: var(--bg-2); padding: 22px 26px; display: flex; flex-direction: column; gap: 8px; }
.gl-sail-t b { font: 400 clamp(34px, 3.4vw, 44px)/1 var(--h-font); color: #DCCBFF; }
.gl-sail-d { font-size: 15px; color: var(--ink-3); }
.gl-sail-d strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }
.gl-grid { list-style: none; padding: 0; margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gl-card { position: relative; display: flex; flex-direction: column; padding: 22px 22px 20px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; transition: border-color 0.25s ease, transform 0.25s ease; }
.gl-card::before { content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 2px; border-radius: 0 0 2px 2px; background: var(--c); opacity: 0.8; }
.gl-card:hover { border-color: var(--line-2); transform: translateY(-2px); }
.gl-tag { font: 500 10.5px/1 var(--mono); letter-spacing: 0.18em; text-transform: uppercase; color: var(--c); }
.gl-card h3 { margin-top: 12px; font-size: 22px; line-height: 1.2; }
.gl-where { margin-top: 6px; font: 500 11px/1.4 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); }
.gl-card p:not(.gl-tag):not(.gl-where):not(.src) { margin-top: 12px; font-size: 15px; line-height: 1.55; color: var(--ink-3); }
.gl-card .src { margin-top: auto; padding-top: 14px; font: 500 10.5px/1.3 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.gl-card .src a { color: var(--ice); border-bottom: 1px solid rgba(143, 211, 240, 0.35); }
.gl-card .src a:hover { color: #fff; border-color: var(--ice); }
.gl-offer { margin-top: clamp(48px, 6vw, 72px); padding-top: 28px; border-top: 1px solid var(--line-2); }
.gl-offer-list { list-style: none; padding: 0; margin-top: 16px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px 36px; }
.gl-offer-list li { font-size: 16px; line-height: 1.6; color: var(--ink-2); padding-left: 16px; border-left: 2px solid rgba(201, 167, 255, 0.55); }
.gl-offer-list strong { color: var(--ink); }
.gl-foot { margin-top: clamp(32px, 4vw, 44px); }
@media (max-width: 1100px) {
  .gl-grid { grid-template-columns: repeat(2, 1fr); }
  .gl-offer-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .gl-sail { grid-template-columns: 1fr; }
  .gl-sail li { flex-direction: row; align-items: center; gap: 18px; padding: 16px 18px; }
  .gl-sail-t { flex: none; min-width: 104px; }
  .gl-sail-t b { font-size: 30px; }
}
@media (max-width: 560px) {
  .gl-grid, .gl-offer-list { grid-template-columns: 1fr; }
}

/* ============================================================
   WHY DEPTH MATTERS (#depth)
   ============================================================ */
.dp-sec { --yes: #6FFFB0; --part: #F2C14E; --no: #FF7A6B; --gh: #8FD3F0; }
.dp-box { margin-top: clamp(36px, 4vw, 52px); border: 1px solid var(--line-2); border-radius: 18px; background: linear-gradient(180deg, var(--bg-2), var(--bg)); overflow: hidden; }
.dp-top { padding: 22px 24px 18px; border-bottom: 1px solid var(--line); }
.dp-chips { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.dp-chip { appearance: none; font: inherit; cursor: pointer; text-align: left; display: flex; flex-direction: column; gap: 2px; padding: 9px 14px 10px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(255,255,255,0.02); color: var(--ink-2); transition: border-color .2s ease, background .2s ease, color .2s ease; }
.dp-chip:hover { border-color: rgba(143,211,240,0.55); color: var(--ink); }
.dp-chip:focus-visible { outline: 2px solid var(--ice); outline-offset: 2px; }
.dp-chip[aria-checked="true"] { border-color: var(--ice); background: rgba(143,211,240,0.12); color: #fff; }
.dp-chip-n { font-size: 14px; font-weight: 600; line-height: 1.25; }
.dp-chip-s { font: 500 10.5px/1.3 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }

.dp-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; }
.dp-stage { position: relative; min-width: 0; border-right: 1px solid var(--line); background: radial-gradient(120% 90% at 50% 0%, rgba(79,179,217,0.10), transparent 60%); }
.dp-svg { width: 100%; height: auto; display: block; }
.dp-read { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.dp-read-n { font: 400 26px/1.15 var(--h-font); color: #fff; }
.dp-read-nums { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dp-read-nums div { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,0.02); }
.dp-read-nums b { font: 400 38px/1 var(--h-font); color: var(--ice); }
.dp-read-nums div + div b { color: #fff; }
.dp-read-nums span { font-size: 12.5px; line-height: 1.35; color: var(--ink-3); }
.dp-read-note { font-size: 15px; line-height: 1.55; color: var(--ink-2); min-height: 4.6em; }
.dp-verdict .dp-vd { display: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 8px; }
.dp-verdict[data-s="yes"] .dp-vd[data-s="yes"] { display: inline-block; color: var(--yes); background: rgba(111,255,176,0.10); }
.dp-verdict[data-s="part"] .dp-vd[data-s="part"] { display: inline-block; color: var(--part); background: rgba(242,193,78,0.12); }
.dp-verdict[data-s="no"] .dp-vd[data-s="no"] { display: inline-block; color: var(--no); background: rgba(255,122,107,0.12); }
.dp-count { font-size: 14px; color: var(--ink-3); margin-top: auto; }
.dp-count b { font: 400 30px/1 var(--h-font); color: #fff; margin-right: 4px; }

/* svg parts (drawn by home.js) */
.dp-svg text { font-family: var(--body-font); }
.dp-svg .sky { fill: transparent; }
.dp-svg .water { fill: url(#dp-water); }
.dp-svg .rock { fill: #0A1420; }
.dp-svg .seabed { fill: none; stroke: #5B6F82; stroke-width: 2; }
.dp-svg .rock-hatch { fill: url(#dp-hatch); opacity: .55; }
.dp-svg .quay { fill: #1B3350; stroke: #3B5875; stroke-width: 1.5; }
.dp-svg .wl { stroke: var(--ice); stroke-width: 1.5; opacity: .8; }
.dp-svg .tick { stroke: rgba(166,190,212,0.35); stroke-width: 1; }
.dp-svg .tick-l { fill: var(--ink-3); font-size: 15px; font-family: var(--mono); }
.dp-svg .ref { stroke-width: 1.5; stroke-dasharray: 6 6; fill: none; }
.dp-svg .ref-l { font-size: 15px; font-weight: 600; }
.dp-svg .ref--gh { stroke: var(--gh); stroke-dasharray: none; stroke-width: 2.5; }
.dp-svg .ref-l--gh { fill: var(--gh); }
.dp-svg .ref--is { stroke: #FF9C8F; }
.dp-svg .ref-l--is { fill: #FFB4AA; }
.dp-svg .ref--rt { stroke: #8BA3B8; }
.dp-svg .ref-l--rt { fill: #A9BDCE; }
.dp-svg .hull { fill: #20354D; stroke: #9FB6CC; stroke-width: 1.5; }
.dp-svg .hull-under { fill: #6B3036; opacity: .82; }
.dp-svg .deck { fill: #2B4563; stroke: #9FB6CC; stroke-width: 1; }
.dp-svg .box1 { fill: #3E6E8F; } .dp-svg .box2 { fill: #C4704B; } .dp-svg .box3 { fill: #5D8A62; } .dp-svg .box4 { fill: #B99A4A; }
.dp-svg .win { fill: #F4E3A1; opacity: .75; }
.dp-svg .ukc { fill: url(#dp-ukc); stroke: var(--yes); stroke-width: 1; stroke-dasharray: 4 4; }
.dp-svg .ukc.part { stroke: var(--part); } .dp-svg .ukc.no { stroke: var(--no); }
.dp-svg .keel-l { font-size: 15px; font-weight: 600; fill: #fff; }
.dp-svg .need-l { font-size: 15px; font-weight: 600; fill: var(--yes); }
.dp-svg .need-l.part { fill: var(--part); } .dp-svg .need-l.no { fill: var(--no); }
.dp-svg .clash { fill: var(--no); opacity: .35; }
.dp-svg .ship { transition: transform .9s var(--ease); }
.dp-svg .lbl-bg { fill: rgba(11,27,45,0.78); }

/* port bars */
.dp-ports { padding: 22px 24px 24px; border-top: 1px solid var(--line); }
.dp-bars { list-style: none; padding: 0; margin: 14px 0 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 36px; row-gap: 8px; }
.dp-bar { display: grid; grid-template-columns: 200px minmax(0,1fr) 70px; align-items: center; gap: 12px; font-size: 14px; color: var(--ink-2); }
.dp-bar-n { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dp-bar-t { position: relative; height: 10px; border-radius: 5px; background: rgba(255,255,255,0.05); overflow: hidden; }
.dp-bar-t i { position: absolute; inset: 0 auto 0 0; width: calc(var(--w, 0) * 1%); border-radius: 5px; background: var(--no); opacity: .75; transition: background .35s ease, width .6s var(--ease); }
.dp-bar[data-s="yes"] .dp-bar-t i { background: var(--yes); }
.dp-bar[data-s="part"] .dp-bar-t i { background: var(--part); }
.dp-bar-t::after { content: ""; position: absolute; top: -2px; bottom: -2px; left: calc(var(--need, 0) * 1%); width: 2px; background: #fff; opacity: .85; transition: left .6s var(--ease); }
.dp-bar-v { font: 500 12.5px/1 var(--mono); color: var(--ink-3); text-align: right; }
.dp-bar--gh { color: #fff; font-weight: 600; }
.dp-bar--gh .dp-bar-v { color: var(--gh); }
.dp-bar--ref { opacity: .65; }
.dp-legend { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 18px; font-size: 12.5px; color: var(--ink-3); }
.dp-legend .k::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 7px; vertical-align: -1px; }
.dp-legend .k--yes::before { background: var(--yes); } .dp-legend .k--part::before { background: var(--part); } .dp-legend .k--no::before { background: var(--no); }

/* wider not deeper + next decade */
.dp-two { margin-top: clamp(28px, 3vw, 40px); display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; }
.dp-fig, .dp-next, .dp-scn { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-2); }
.dp-fig h3, .dp-scn h3 { margin-top: 10px; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; }
.dp-fig > p:not(.why-label), .dp-scn-head > p:not(.why-label) { margin-top: 12px; font-size: 15.5px; line-height: 1.6; color: var(--ink-2); max-width: 68ch; }
.dp-xs { margin-top: 18px; width: 100%; height: auto; }
.dp-xs .xs-wl { stroke: var(--ice); stroke-width: 1.5; opacity: .7; }
.dp-xs .xs-l { fill: var(--ice); font: 500 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.dp-xs .xs-h { stroke-width: 2; }
.dp-xs .xs-h3 { fill: rgba(143,211,240,0.10); stroke: #8FD3F0; }
.dp-xs .xs-h2 { fill: rgba(201,167,255,0.10); stroke: #C9A7FF; }
.dp-xs .xs-h1 { fill: rgba(242,193,78,0.14); stroke: #F2C14E; }
.dp-xs text { font-family: var(--mono); font-size: 13px; font-weight: 500; }
.dp-xs .xs-dim line { stroke: #8FD3F0; stroke-width: 1; }
.dp-xs .xs-dim text { fill: #8FD3F0; }
.dp-xs .xs-dim .xs-d2, .dp-xs .xs-b2 { fill: #C9A7FF; }
.dp-xs .xs-dim .xs-d1, .dp-xs .xs-b1 { fill: #F2C14E; }
.dp-xs .xs-b3 { fill: #8FD3F0; }
.dp-xs-key { margin-top: 10px; display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--ink-3); }
.dp-xs-key span::before { content: ""; display: inline-block; width: 14px; height: 3px; border-radius: 2px; margin-right: 9px; vertical-align: 3px; }
.dp-xs-key .k1::before { background: #F2C14E; } .dp-xs-key .k2::before { background: #C9A7FF; } .dp-xs-key .k3::before { background: #8FD3F0; }
.dp-next-list { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-direction: column; }
.dp-next-list li { display: grid; grid-template-columns: 158px 1fr; gap: 16px; align-items: baseline; padding: 16px 0; border-top: 1px solid var(--line); }
.dp-next-list li:first-child { border-top: 0; padding-top: 6px; }
.dp-next-list b { font: 400 28px/1.05 var(--h-font); color: var(--ice); }
.dp-next-list span { font-size: 15px; line-height: 1.55; color: var(--ink-2); }

/* scenario */
.dp-scn { margin-top: 20px; }
.dp-facts { list-style: none; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; }
.dp-facts li { background: var(--bg); padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.dp-facts b { font: 400 clamp(30px, 3vw, 38px)/1 var(--h-font); color: #FFB4AA; }
.dp-facts li:last-child b { color: var(--ice); }
.dp-facts span { font-size: 13.5px; line-height: 1.45; color: var(--ink-3); }
.dp-hub { margin-top: 22px; display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: 0; align-items: center; }
.dp-hub-col { display: flex; flex-direction: column; gap: 12px; }
.dp-hub-card { position: relative; display: flex; flex-direction: column; gap: 3px; padding: 14px 16px 16px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg); font-size: 13.5px; color: var(--ink-3); }
.dp-hub-card strong { font-size: 16px; color: var(--ink); }
.dp-hub-tag { font: 500 10.5px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ice); }
.dp-hub-out .dp-hub-tag { color: var(--yes); }
.dp-ship { display: block; margin-top: 10px; height: 10px; border-radius: 2px 2px 6px 6px; background: linear-gradient(90deg, #3E6E8F 0 20%, #C4704B 20% 40%, #5D8A62 40% 60%, #B99A4A 60% 80%, #9FB6CC 80%); opacity: .8; }
.dp-ship--s { width: 34%; }
.dp-ship--l { width: 92%; height: 14px; }
.dp-hub-mid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.dp-hub-lane { height: 2px; background: repeating-linear-gradient(90deg, var(--ice) 0 8px, transparent 8px 14px); background-size: 28px 2px; animation: dp-flow 1.2s linear infinite; }
.dp-hub-lane--out { height: 4px; background: repeating-linear-gradient(90deg, var(--yes) 0 12px, transparent 12px 18px); background-size: 36px 4px; }
@keyframes dp-flow { to { background-position: 28px 0; } }
.dp-hub-node { position: relative; width: 170px; height: 170px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 4px; padding: 18px; border: 2px solid var(--gh); background: radial-gradient(circle, rgba(143,211,240,0.18), rgba(11,27,45,0.9) 70%); }
.dp-hub-node strong { font: 400 22px/1.1 var(--h-font); color: #fff; }
.dp-hub-node span { font-size: 12px; line-height: 1.35; color: var(--ink-2); }
.dp-hub-ring { position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(143,211,240,0.45); animation: dp-pulse 2.8s ease-out infinite; }
@keyframes dp-pulse { from { transform: scale(.94); opacity: .9; } to { transform: scale(1.18); opacity: 0; } }
.dp-foot { margin-top: 22px; }
.dp-src { margin-top: 10px; font: 500 10.5px/1.7 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.dp-src a { color: var(--ice); border-bottom: 1px solid rgba(143,211,240,0.35); }
.dp-src a:hover { color: #fff; border-color: var(--ice); }

@media (max-width: 1100px) {
  .dp-body { grid-template-columns: 1fr; }
  .dp-stage { border-right: 0; border-bottom: 1px solid var(--line); }
  .dp-read { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
  .dp-read-n, .dp-read-note { grid-column: 1 / -1; }
  .dp-read-note { min-height: 0; }
  .dp-count { margin-top: 0; }
  .dp-bars { grid-template-columns: 1fr; }
  .dp-two { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .dp-facts { grid-template-columns: 1fr 1fr; }
  .dp-hub { grid-template-columns: 1fr; gap: 0; }
  .dp-hub-mid { grid-template-columns: 1fr; justify-items: center; }
  .dp-hub-lane { width: 2px; height: 34px; background: repeating-linear-gradient(180deg, var(--ice) 0 8px, transparent 8px 14px); background-size: 2px 28px; animation-name: dp-flow-v; }
  .dp-hub-lane--out { width: 4px; background: repeating-linear-gradient(180deg, var(--yes) 0 12px, transparent 12px 18px); background-size: 4px 36px; }
  .dp-hub-col { display: grid; grid-template-columns: 1fr 1fr; }
  @keyframes dp-flow-v { to { background-position: 0 28px; } }
}
@media (max-width: 640px) {
  .dp-top, .dp-ports, .dp-fig, .dp-next, .dp-scn { padding-left: 16px; padding-right: 16px; }
  .dp-read { grid-template-columns: 1fr; padding: 18px 16px; }
  .dp-bar { grid-template-columns: 128px minmax(0,1fr) 58px; gap: 8px; font-size: 13px; }
  .dp-chips { flex-wrap: nowrap; overflow-x: auto; margin: 12px -16px 0; padding: 0 16px 6px; scroll-snap-type: x proximity; scrollbar-width: thin; }
  .dp-chip { flex: none; padding: 7px 11px 8px; scroll-snap-align: start; }
  .dp-svg.narrow .tick-l, .dp-svg.narrow .ref-l, .dp-svg.narrow .keel-l, .dp-svg.narrow .need-l { font-size: 21px; }
  .dp-chip-n { font-size: 13px; }
  .dp-next-list li { grid-template-columns: 1fr; gap: 6px; }
  .dp-hub-col { grid-template-columns: 1fr; }
  .dp-facts span { font-size: 12.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .dp-hub-lane, .dp-hub-ring { animation: none; }
  .dp-svg .ship, .dp-bar-t i, .dp-bar-t::after { transition: none; }
}

/* ============================================================
   PHONES · COMPACT LAYOUT (<= 760px)
   Card lists become swipe rows (.m-swipe), long lists fold behind a "show more"
   button (.m-more, behaviour in assets/site.js), and the spacing is tighter.
   Kept last so it overrides the per-section phone rules above.
   ============================================================ */
.m-more { display: none; }
.m-more .when-open { display: none; }
.m-more[aria-expanded="true"] .when-open { display: inline; }
.m-more[aria-expanded="true"] .when-closed { display: none; }
.m-more[aria-expanded="true"] .arrow { transform: rotate(180deg); }
.lead-more { display: none; }

@media (max-width: 760px) {
  :root { --sec: 56px; }
  .sec-head { margin-bottom: 28px; }
  .eyebrow { margin-bottom: 16px; }
  .lead { margin-top: 16px; }

  /* section intros: first three lines, "Read more" (added by assets/home.js where the text is cut) */
  .js .lead.is-clamp:not(.is-open) { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
  .lead-more:not([hidden]) {
    display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding: 6px 0;
    appearance: none; border: 0; background: none; cursor: pointer;
    font: 500 15px/1.3 var(--body-font); color: var(--ice);
  }
  .lead-more .arrow { transition: transform 0.2s ease; }
  .lead-more[aria-expanded="true"] .arrow { transform: rotate(180deg); }

  /* left out on phones: the Why-now quote, and the route notes (the routes page, linked below the globe, covers them) */
  .pull-quote, .route-notes { display: none; }

  /* globe: a little shorter */
  .globe-stage { height: min(54vh, 440px); min-height: 340px; }
  .nx-news, .roads, .site-points, .cargo { margin-top: 32px; }
  .roads-effect, .port-more { margin-top: 28px; }

  /* swipe rows: the next card peeks in from the right. The destination cards sit in the
     generated corridor-map block, so they are styled here rather than tagged .m-swipe. */
  .m-swipe, .cm-dest-list {
    display: flex; gap: 12px;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .m-swipe::-webkit-scrollbar, .cm-dest-list::-webkit-scrollbar { display: none; }
  .m-swipe > * { flex: 0 0 80%; scroll-snap-align: start; }
  .js .m-swipe > .reveal { opacity: 1; transform: none; }
  .m-swipe--cards { border: 0; }
  .m-swipe.m-swipe--cards > * { padding: 18px 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); }
  .m-swipe.m-swipe--cards > *::before { display: none; }
  .nx-news h3 { font-size: 21px; }

  /* green loop: the flow cards swipe inside the diagram box */
  .gl-flows.m-swipe { margin-inline: 0; padding: 12px; gap: 10px; scroll-padding-inline: 12px; background: none; }
  .gl-flows.m-swipe > .flow-card { flex-basis: 72%; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; }
  .gl-flows.m-swipe > .flow-card--all { flex: 0 0 auto; }
  .gl-flows.m-swipe .flow-card--all .fc-p { display: none; }

  /* location: destination cards, two and a peek per screen */
  .cm-dest-list { gap: 10px; background: none; border: 0; border-radius: 0; }
  .cm-d { flex: 0 0 42%; scroll-snap-align: start; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; }

  /* site: facts in two columns, plans side by side (tap to enlarge) */
  .site-points { grid-template-columns: 1fr 1fr; gap: 20px 16px; }
  .site-points li { padding-top: 14px; font-size: 15px; line-height: 1.55; }
  .plan-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .plan-frame .frame-label { top: 8px; left: 8px; padding: 5px 8px; font-size: 9px; letter-spacing: 0.1em; }
  .plan-frame .frame-caption { display: none; }

  /* photos: shorter on phones */
  .port-photo { height: 38vh; min-height: 250px; }
  .why-photo { margin-top: 28px; }
  .why-photo figcaption { margin-top: 10px; font-size: 14px; }

  /* why depth matters: hub cards side by side */
  .dp-hub-col { grid-template-columns: 1fr 1fr; gap: 10px; }
  .dp-hub-card { padding: 12px 12px 14px; }
  .dp-hub-card strong { font-size: 15px; }
  .dp-hub-node { width: 140px; height: 140px; }

  /* timeline: tighter steps */
  .tl li { padding-bottom: 20px; }
  .tl h3 { margin-top: 4px; }
  .tl p { margin-top: 2px; }

  /* "show more" */
  .js .m-more { display: inline-flex; margin-top: 16px; }
  .why-grid { gap: 28px; }
  .js .why-grid:not(.is-open) .why-list li:nth-child(n+3) { display: none; }
  .js .why-grid:not(.is-open) .why-list li:nth-child(2) { border-bottom: 1px solid var(--line); }
  .js .rt-scroll:not(.is-open) { display: none; }
  .js .nx-news:not(.is-open) > li:not(.nx-news-lead) { display: none; }
  .js .nx-news-lead:not(.is-open) .body p:first-child { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
  .js .dp-bars:not(.is-open) > li:nth-child(n+6):not(.dp-bar--ref) { display: none; }
  .js .dp-next-list:not(.is-open) > li:nth-child(n+3) { display: none; }
  .js .dp-notes:not(.is-open) { display: none; }
  .js .m-more.dp-more { display: flex; width: fit-content; margin-top: 20px; }
  .js .dp-extra:not(.is-open) { display: none; }
  .js .gl-offer-list:not(.is-open) > li:nth-child(n+2) { display: none; }
}

/* ============================================================
   FOLDS AT EVERY WIDTH (30 Sept 2026 review: a 3–5 minute read)
   Every section keeps its headline, lead and visual; the detail stays in the
   page and opens on request: the Why-now lists after two points, the North
   Atlantic news, the Greenland project details, and the depth extras and
   sources. Buttons are .m-more.x-more (behaviour in assets/site.js).
   ============================================================ */
.js .m-more.x-more { display: inline-flex; margin-top: 24px; }
.js .m-more.dp-more { display: flex; width: fit-content; }
.js .why-grid:not(.is-open) .why-list li:nth-child(n+3) { display: none; }
.js .nx-news:not(.is-open) { display: none; }
.js .gl-grid:not(.is-open) .gl-card > p:not(.gl-tag):not(.gl-where) { display: none; }
.js .dp-extra:not(.is-open), .js .dp-notes:not(.is-open) { display: none; }
.js .roads:not(.is-open) .road-p { display: none; }

/* footer: depth datum note */
.foot-note { flex-basis: 100%; margin: 0; font-size: 12px; line-height: 1.5; color: var(--ink-3); }
