/* =============================================================
   COSZO — Shared Stylesheet
   =============================================================
   Used by index.html and all /story/* pages. Variables, layout,
   components, and typography are centralized here so that
   swapping colors/fonts once updates the entire site.
   ============================================================= */

:root {
  --navy-900: #06223a;
  --navy-800: #0a2f4e;
  --navy-700: #0f3e66;
  --ocean-600: #155e8a;
  --ocean-500: #1e7cab;
  --teal-500: #17a2ab;
  --teal-400: #3cbfc5;
  --epicenter: #f5a623;
  --epicenter-dark: #d88a14;
  --sand-50:  #f6f4ef;
  --paper:    #fbfaf7;
  --ink:      #111820;
  --ink-muted:#566374;
  --rule:     #e4e1da;

  --font-display: "Fraunces", Georgia, serif;
  --font-body:    "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;

  --shadow-sm: 0 1px 2px rgba(6, 34, 58, 0.06), 0 2px 4px rgba(6, 34, 58, 0.04);
  --shadow-md: 0 6px 16px rgba(6, 34, 58, 0.10);
  --shadow-lg: 0 20px 40px rgba(6, 34, 58, 0.14);

  --container-max: 1280px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

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

/* ============ UTILITY BAR ============ */
.utility-bar {
  background: var(--navy-900);
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  letter-spacing: 0.02em;
}
.utility-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  padding-bottom: 10px;
}
.utility-bar .funding-note {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.05em;
}
.utility-bar .funding-note strong { color: rgba(255,255,255,0.85); font-weight: 600; }
.utility-bar-links { display: flex; gap: 28px; }
.utility-bar a {
  color: rgba(255,255,255,0.85);
  padding: 2px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.utility-bar a:hover { border-color: var(--teal-400); color: #fff; }

/* ============ HEADER ============ */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 24px;
}
.logo { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.logo img { width: 64px; height: 64px; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text .wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 34px;
  color: var(--navy-900);
  letter-spacing: 0.02em;
}
.logo-text .sublabel {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 6px;
  font-weight: 500;
}

/* ============ NAV WITH DROPDOWNS ============ */
.main-nav { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link {
  display: inline-block;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-800);
  letter-spacing: 0.01em;
  position: relative;
  transition: color 0.2s;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px;
  bottom: 2px;
  height: 2px;
  background: var(--teal-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-item:hover .nav-link,
.nav-item:focus-within .nav-link { color: var(--ocean-500); }
.nav-item:hover .nav-link::after,
.nav-item:focus-within .nav-link::after,
.nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: var(--ocean-500); }
.has-dropdown > .nav-link::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  margin-right: 6px;
  opacity: 0.5;
  transition: transform 0.2s;
}
.nav-item:hover.has-dropdown > .nav-link::before { transform: rotate(225deg) translateY(-2px); }
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: #fff;
  border: 1px solid var(--rule);
  box-shadow: var(--shadow-lg);
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
  z-index: 50;
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 24px;
  width: 10px;
  height: 10px;
  background: #fff;
  border-left: 1px solid var(--rule);
  border-top: 1px solid var(--rule);
  transform: rotate(45deg);
}
.dropdown a {
  display: block;
  padding: 10px 24px;
  font-size: 14px;
  color: var(--navy-800);
  font-weight: 500;
  transition: background 0.15s, color 0.15s, padding-left 0.15s;
}
.dropdown a:hover {
  background: var(--sand-50);
  color: var(--ocean-500);
  padding-left: 28px;
}
.dropdown-section-heading {
  padding: 8px 24px 4px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--teal-500);
  font-weight: 700;
}
.dropdown hr { border: none; border-top: 1px solid var(--rule); margin: 6px 0; }
.dropdown.wide { min-width: 320px; }

/* ============ HERO (homepage) ============ */
.hero {
  position: relative;
  min-height: 580px;
  color: #fff;
  overflow: hidden;
  background: var(--navy-900);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(23, 162, 171, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(245, 166, 35, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 40%, rgba(30, 124, 171, 0.35) 0%, transparent 60%),
    linear-gradient(135deg, #06223a 0%, #0a2f4e 40%, #0f3e66 100%);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 80px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 80px);
  pointer-events: none;
}
.hero-wave {
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  width: 100%;
  height: 140px;
  opacity: 0.3;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 88px;
  padding-bottom: 88px;
  max-width: 900px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-400);
  font-weight: 600;
  margin-bottom: 22px;
}
.hero-eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--teal-400); }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 5.5vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 28px;
}
.hero h1 em { font-style: italic; color: var(--epicenter); font-weight: 400; }
.hero-lede {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,0.88);
  max-width: 680px;
  margin-bottom: 36px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  background: var(--teal-500);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 2px;
  transition: background 0.2s, transform 0.2s;
}
.hero-cta:hover { background: var(--teal-400); transform: translateY(-1px); }
.hero-cta.secondary {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
}
.hero-cta.secondary:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.5); }
.hero-cta .arrow { width: 16px; height: 16px; transition: transform 0.2s; }
.hero-cta:hover .arrow { transform: translateX(3px); }

/* ============ PAGE HERO (sub-pages) ============ */
.page-hero {
  padding: 72px 0 64px;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(23, 162, 171, 0.2) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(245, 166, 35, 0.08) 0%, transparent 55%);
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.02) 0 1px, transparent 1px 80px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.02) 0 1px, transparent 1px 80px);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
  text-transform: uppercase;
  font-weight: 600;
}
.breadcrumb a { color: var(--teal-400); transition: color 0.2s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { margin: 0 10px; opacity: 0.4; }
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 16px;
  max-width: 900px;
}
.page-hero .lede {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,0.88);
  max-width: 760px;
}

/* ============ TILES ============ */
.quick-access {
  background: #fff;
  padding: 64px 0;
  border-bottom: 1px solid var(--rule);
}
.tiles {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
}
.tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 16px;
  border-right: 1px solid var(--rule);
  transition: transform 0.25s;
}
.tile:last-child { border-right: none; }
.tile:hover { transform: translateY(-4px); }
.tile-icon { width: 80px; height: 80px; margin-bottom: 20px; color: var(--ocean-600); }
.tile-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.tile-subtitle { font-size: 14px; color: var(--ink-muted); }

/* ============ WELCOME SECTION ============ */
.welcome { padding: 96px 0; background: var(--sand-50); }
.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}
/* Allow grid children to shrink below their intrinsic min-content width
   so long headings wrap instead of overflowing the column. */
.welcome-grid > * { min-width: 0; }
.welcome-grid .section-heading { text-wrap: balance; overflow-wrap: anywhere; }
.section-eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal-500);
  font-weight: 700;
  margin-bottom: 16px;
  display: block;
}
.section-heading {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  margin-bottom: 24px;
}
.welcome-body p {
  font-size: 17px;
  color: var(--ink);
  line-height: 1.7;
  margin-bottom: 18px;
  text-align: justify;
  hyphens: auto;
}
.welcome-body a {
  color: var(--ocean-500);
  border-bottom: 1px solid var(--ocean-500);
  transition: color 0.2s, border-color 0.2s;
}
.welcome-body a:hover { color: var(--teal-500); border-color: var(--teal-500); }
/* Full-width intro: eyebrow + heading span the container above the body. */
.welcome-intro { margin-bottom: 32px; }
.welcome-intro .section-heading { max-width: none; margin-bottom: 0; text-wrap: balance; }

/* Magazine flow: the map floats right and the body text wraps around it,
   then continues full width once the text runs past the image. */
.welcome-flow::after { content: ""; display: block; clear: both; }
.welcome-flow .welcome-media {
  float: right;
  width: 52%;
  margin: 6px 0 24px 40px;
}
.welcome-media {
  border-radius: 2px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--navy-800);
}
.welcome-media-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--navy-800);
  overflow: hidden;
}
.welcome-media-frame svg { width: 100%; height: 100%; }
.welcome-media-frame img { width: 100%; height: 100%; object-fit: contain; display: block; }
/* Caption mirrors the coszo3d figure below it (white strip, top rule). */
.welcome-media figcaption {
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-soft, #5b6573);
  padding: 12px 16px 14px;
  background: #fff;
  border-top: 1px solid #e7e2d6;
}

/* Welcome figure: full-width image with caption rendered below the
   side-by-side welcome-grid (text left, small SVG right). */
.welcome-figure {
  margin: 64px 0 0;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--navy-800);
}
.welcome-figure img {
  display: block;
  width: 100%;
  height: auto;
}
.welcome-figure figcaption {
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-soft, #5b6573);
  padding: 14px 18px 16px;
  background: #fff;
  border-top: 1px solid #e7e2d6;
}

/* ============ INTERACTIVE SITES MAP ============ */
/* Hotspots are positioned as % of the image; labels appear on hover/focus. */
.sitemap-figure { overflow: visible; }
.sitemap { position: relative; line-height: 0; }
.sitemap > img { display: block; width: 100%; border-radius: 2px 2px 0 0; }
.site-hotspot {
  position: absolute;
  width: 28px; height: 28px;
  margin: -14px 0 0 -14px;
  border-radius: 50%;
  border: 2px solid rgba(245, 166, 35, 0.95);
  background: rgba(245, 166, 35, 0.20);
  box-shadow: 0 0 0 2px rgba(255,255,255,0.45), 0 1px 4px rgba(0,0,0,0.35);
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.15s;
  z-index: 2;
}
.site-hotspot:hover, .site-hotspot:focus-visible {
  background: rgba(245, 166, 35, 0.75);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.65), 0 2px 8px rgba(0,0,0,0.4);
  outline: none;
}
.site-hotspot-label {
  position: absolute;
  left: 50%; bottom: calc(100% + 9px);
  transform: translateX(-50%);
  white-space: nowrap;
  background: #06223a; color: #fff;
  font-family: var(--font-body); font-size: 12px; font-weight: 600; line-height: 1.2;
  padding: 5px 9px; border-radius: 5px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.15s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.site-hotspot-label::after {
  content: ""; position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent; border-top-color: #06223a;
}
.site-hotspot:hover .site-hotspot-label,
.site-hotspot:focus-visible .site-hotspot-label { opacity: 1; }

/* ============ DATA PRODUCTS ============ */
.data-products { padding: 96px 0; background: #fff; }
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
  gap: 40px;
  flex-wrap: wrap;
}
.section-header-intro { max-width: 620px; }
.section-header-intro p { color: var(--ink-muted); font-size: 16px; margin-top: 14px; }
.btn-outline {
  display: inline-block;
  padding: 12px 22px;
  border: 1px solid var(--navy-800);
  color: var(--navy-800);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.2s;
}
.btn-outline:hover { background: var(--navy-800); color: #fff; }
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.product-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--rule);
  transition: transform 0.25s, border-color 0.2s, box-shadow 0.25s;
  min-height: 200px;
}
.product-card:hover {
  transform: translateY(-3px);
  border-color: var(--teal-500);
  box-shadow: var(--shadow-md);
}
.product-icon { width: 40px; height: 40px; margin-bottom: 18px; color: var(--ocean-500); }
.product-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.product-desc { font-size: 14px; color: var(--ink-muted); line-height: 1.5; flex-grow: 1; margin-bottom: 14px; }
.product-meta { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal-500); font-weight: 600; }

/* ============ INSTRUMENT MAP ============ */
.instrument-map { padding: 96px 0; background: var(--navy-900); color: #fff; position: relative; overflow: hidden; }
.instrument-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 90% 10%, rgba(23, 162, 171, 0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 10% 90%, rgba(245, 166, 35, 0.1) 0%, transparent 50%);
}
.instrument-map .container { position: relative; z-index: 2; }
.map-header { margin-bottom: 40px; }
.map-header .section-eyebrow { color: var(--teal-400); }
.map-header h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 44px;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.map-header p { color: rgba(255,255,255,0.8); font-size: 16px; max-width: 680px; }
.map-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; align-items: center; }
.map-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
}
.map-visual svg { width: 100%; height: 100%; display: block; }
.map-legend { display: flex; flex-direction: column; gap: 18px; }
.legend-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  transition: background 0.2s;
}
.legend-item:hover { background: rgba(255,255,255,0.08); }
.legend-dot { width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0; margin-top: 4px; }
.legend-dot.epicenter { background: var(--epicenter); box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.25); }
.legend-dot.cabled    { background: var(--teal-400); box-shadow: 0 0 0 3px rgba(60, 191, 197, 0.25); }
.legend-dot.coszo     { background: #ffffff; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2); }
.legend-dot.existing  { background: var(--ocean-500); box-shadow: 0 0 0 3px rgba(30, 124, 171, 0.3); }
.legend-text h4 { font-family: var(--font-body); font-weight: 700; font-size: 13px; color: #fff; margin-bottom: 4px; letter-spacing: 0.03em; }
.legend-text p { font-size: 13px; color: rgba(255,255,255,0.7); line-height: 1.5; }
.map-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.stat-item .stat-number {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 48px;
  color: var(--teal-400);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-item .stat-label { font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.7); margin-top: 10px; font-weight: 600; }

/* ============ CRUISE LOG ============ */
.cruise-log { padding: 96px 0; background: var(--paper); }
.cruise-timeline { display: flex; flex-direction: column; gap: 0; position: relative; margin-top: 16px; }
.cruise-item {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: 40px;
  padding: 28px 0;
  border-top: 1px solid var(--rule);
  align-items: center;
  transition: padding-left 0.2s;
}
.cruise-item:last-child { border-bottom: 1px solid var(--rule); }
.cruise-item:hover { padding-left: 8px; background: #fff; }
.cruise-date { font-family: var(--font-display); font-size: 14px; color: var(--ink-muted); letter-spacing: 0.02em; }
.cruise-date .year { display: block; font-size: 28px; color: var(--navy-900); font-weight: 500; line-height: 1; margin-bottom: 4px; }
.cruise-info .cruise-label { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal-500); font-weight: 700; margin-bottom: 8px; }
.cruise-info h3 { font-family: var(--font-display); font-weight: 500; font-size: 22px; color: var(--navy-900); letter-spacing: -0.01em; margin-bottom: 6px; }
.cruise-info p { font-size: 14px; color: var(--ink-muted); }
.cruise-status { font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 700; padding: 6px 12px; border: 1px solid; }
.cruise-status.completed { color: var(--teal-500); border-color: var(--teal-500); }
.cruise-status.upcoming  { color: var(--epicenter); border-color: var(--epicenter); }
.cruise-status.ongoing   { color: var(--ocean-500); border-color: var(--ocean-500); background: rgba(30, 124, 171, 0.06); }

/* ============ PEOPLE ============ */
.people-feature { padding: 96px 0; background: #fff; }
.people-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.person-card { text-align: left; transition: transform 0.25s; }
.person-card:hover { transform: translateY(-4px); }
.person-portrait { aspect-ratio: 1 / 1; background: var(--navy-700); margin-bottom: 16px; overflow: hidden; position: relative; }
.person-portrait svg { width: 100%; height: 100%; }
.person-portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.person-name { font-family: var(--font-display); font-weight: 600; font-size: 19px; color: var(--navy-900); letter-spacing: -0.01em; margin-bottom: 4px; }
.person-role { font-size: 13px; color: var(--teal-500); font-weight: 600; letter-spacing: 0.03em; margin-bottom: 6px; }
.person-affiliation { font-size: 13px; color: var(--ink-muted); }
.people-section { padding: 48px 0; }
.people-section + .people-section { border-top: 1px solid var(--rule); }
.people-section-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

/* ============ PARTNERS ============ */
.partners { padding: 80px 0; background: var(--sand-50); border-top: 1px solid var(--rule); }
.partners-header { text-align: center; margin-bottom: 48px; }
.partners-header h2 { font-family: var(--font-display); font-weight: 500; font-size: 36px; color: var(--navy-900); letter-spacing: -0.02em; }
.partner-logos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px; align-items: center; }
.partner-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  background: #fff;
  border: 1px solid var(--rule);
  text-align: center;
  aspect-ratio: 4 / 3;
  transition: transform 0.2s, box-shadow 0.2s;
}
.partner-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.partner-tile .partner-name { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--navy-900); line-height: 1.3; margin-top: 8px; }
.partner-tile .partner-sub { font-size: 11px; color: var(--ink-muted); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 6px; font-weight: 600; }
.partner-icon { width: 40px; height: 40px; color: var(--ocean-500); }

/* ============ CTA SECTION ============ */
.cta-section { padding: 96px 0; background: var(--navy-900); color: #fff; position: relative; overflow: hidden; }
.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(23, 162, 171, 0.25) 0%, transparent 55%),
    radial-gradient(ellipse at 30% 80%, rgba(245, 166, 35, 0.12) 0%, transparent 55%);
}
.cta-section .container { position: relative; z-index: 2; }
.cta-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 80px; align-items: center; }
.cta-section h2 { font-family: var(--font-display); font-weight: 500; font-size: 48px; color: #fff; line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 24px; }
.cta-section p { color: rgba(255,255,255,0.85); font-size: 17px; line-height: 1.7; margin-bottom: 32px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  background: var(--teal-500);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 2px;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--teal-400); }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 2px;
  transition: background 0.2s;
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); }
.cta-visual svg { width: 100%; height: auto; }

/* ============ ARTICLE LAYOUT (long-form pages) ============ */
.article { padding: 80px 0; background: #fff; }
.article-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 80px;
  max-width: 1180px;
  margin: 0 auto;
}
.article-grid.narrow { grid-template-columns: 1fr; max-width: 820px; }
.article-sidebar { position: sticky; top: 120px; align-self: start; }
.article-sidebar h4 {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal-500);
  font-weight: 700;
  margin-bottom: 16px;
}
.article-sidebar ul { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.article-sidebar a {
  font-size: 14px;
  color: var(--ink-muted);
  transition: color 0.2s, border-color 0.2s;
  padding: 6px 0 6px 14px;
  border-left: 2px solid var(--rule);
  display: block;
  line-height: 1.4;
}
.article-sidebar a:hover,
.article-sidebar a.active { color: var(--ocean-500); border-color: var(--ocean-500); }
.article-content h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  margin: 48px 0 20px;
  scroll-margin-top: 120px;
}
.article-content h2:first-child { margin-top: 0; }
.article-content h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--navy-900);
  letter-spacing: -0.01em;
  margin: 32px 0 12px;
}
.article-content p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  margin-bottom: 20px;
}
.article-content ul, .article-content ol { margin: 0 0 20px 20px; font-size: 17px; line-height: 1.75; }
.article-content li { margin-bottom: 8px; }
.article-content a {
  color: var(--ocean-500);
  border-bottom: 1px solid var(--ocean-500);
  transition: color 0.2s, border-color 0.2s;
}
.article-content a:hover { color: var(--teal-500); border-color: var(--teal-500); }
.article-content blockquote {
  border-left: 3px solid var(--teal-500);
  padding-left: 24px;
  margin: 32px 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  line-height: 1.5;
  color: var(--navy-900);
}
.article-content figure {
  margin: 40px 0;
  background: var(--sand-50);
  border: 1px solid var(--rule);
  padding: 24px;
}
.article-content figcaption {
  font-size: 13px;
  color: var(--ink-muted);
  margin-top: 12px;
  line-height: 1.5;
  text-align: center;
}
.article-content .lede-para {
  font-size: 20px;
  line-height: 1.6;
  color: var(--ink);
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--rule);
}
.article-content .pull-stat {
  display: flex;
  gap: 24px;
  margin: 40px 0;
  padding: 28px;
  background: var(--navy-900);
  color: #fff;
  align-items: center;
}
.article-content .pull-stat .stat-num {
  font-family: var(--font-display);
  font-size: 60px;
  font-weight: 500;
  color: var(--teal-400);
  line-height: 1;
  letter-spacing: -0.02em;
}
.article-content .pull-stat .stat-desc { font-size: 16px; line-height: 1.5; }

/* ============ SPECS TABLE ============ */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0;
  font-size: 15px;
  background: #fff;
}
.specs-table th, .specs-table td {
  text-align: left;
  padding: 14px 20px;
  border-bottom: 1px solid var(--rule);
}
.specs-table th {
  background: var(--sand-50);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-800);
}
.specs-table tr:hover td { background: var(--paper); }
.specs-table td:first-child { font-weight: 600; color: var(--navy-900); width: 35%; }

/* ============ HUB CARDS ============ */
.hub-section { padding: 80px 0; background: #fff; }
.hub-section.alt { background: var(--sand-50); }
.hub-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.hub-cards.cols-2 { grid-template-columns: repeat(2, 1fr); }
.hub-cards.cols-4 { grid-template-columns: repeat(4, 1fr); }
.hub-card {
  display: flex;
  flex-direction: column;
  padding: 32px;
  background: #fff;
  border: 1px solid var(--rule);
  transition: transform 0.25s, border-color 0.2s, box-shadow 0.25s;
}
.hub-section.alt .hub-card { background: var(--paper); }
.hub-card:hover { transform: translateY(-3px); border-color: var(--teal-500); box-shadow: var(--shadow-md); }
.hub-card-icon { width: 48px; height: 48px; margin-bottom: 20px; color: var(--ocean-500); }
.hub-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.hub-card p { font-size: 15px; color: var(--ink-muted); line-height: 1.6; flex-grow: 1; margin-bottom: 16px; }
.hub-card .card-link {
  font-size: 14px;
  color: var(--ocean-500);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hub-card .card-link::after {
  content: "→";
  transition: transform 0.2s;
}
.hub-card:hover .card-link::after { transform: translateX(4px); }

/* ============ FORM ============ */
.form-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
}
.form-sidebar-block {
  padding: 32px;
  background: var(--sand-50);
  border: 1px solid var(--rule);
  margin-bottom: 24px;
}
.form-sidebar-block h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.form-sidebar-block p, .form-sidebar-block address {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.6;
  font-style: normal;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { display: flex; flex-direction: column; margin-bottom: 20px; }
.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-800);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid var(--rule);
  background: #fff;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  border-radius: 2px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--ocean-500);
  box-shadow: 0 0 0 3px rgba(30, 124, 171, 0.12);
}
.form-group textarea { resize: vertical; min-height: 140px; }

/* ============ MEETING / EVENT LIST ============ */
.event-list { display: flex; flex-direction: column; gap: 0; }
.event-list-item {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  gap: 32px;
  padding: 24px 0;
  border-top: 1px solid var(--rule);
  align-items: center;
  transition: padding-left 0.2s;
}
.event-list-item:last-child { border-bottom: 1px solid var(--rule); }
.event-list-item:hover { padding-left: 8px; }
.event-list-date { font-family: var(--font-display); font-weight: 500; color: var(--navy-900); }
.event-list-date .big {
  display: block;
  font-size: 28px;
  line-height: 1;
  margin-bottom: 4px;
}
.event-list-date .small { font-size: 13px; color: var(--ink-muted); font-family: var(--font-body); font-weight: 500; }
.event-list-info h3 { font-family: var(--font-display); font-size: 20px; font-weight: 500; color: var(--navy-900); letter-spacing: -0.01em; margin-bottom: 6px; }
.event-list-info p { font-size: 14px; color: var(--ink-muted); }
.event-list-info .loc { font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--teal-500); font-weight: 700; margin-bottom: 6px; }
.event-list-item .tag {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 6px 10px;
  border: 1px solid var(--rule);
  color: var(--ink-muted);
}

/* ============ FOOTER ============ */
.site-footer {
  background: #04182a;
  color: rgba(255,255,255,0.75);
  padding: 72px 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand { display: flex; flex-direction: column; gap: 20px; }
.footer-logo { display: flex; align-items: center; gap: 14px; }
.footer-logo img { width: 56px; height: 56px; }
.footer-logo .wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  color: #fff;
  letter-spacing: 0.02em;
}
.footer-brand p { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.65); }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal-400);
  font-weight: 700;
  margin-bottom: 18px;
}
.footer-col h4 a { color: inherit; font-size: inherit; }
.footer-col h4 a:hover { color: #fff; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,0.75); transition: color 0.2s; }
.footer-col a:hover { color: var(--teal-400); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  flex-wrap: wrap;
  gap: 16px;
}
.funding-badges { display: flex; gap: 16px; align-items: center; }
.funding-badge {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.2);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .main-nav { gap: 0; }
  .nav-link { padding: 10px 10px; font-size: 13px; }
  .logo img { width: 52px; height: 52px; }
  .logo-text .wordmark { font-size: 28px; }
}
@media (max-width: 960px) {
  .main-nav { display: none; }
  .site-header .container { justify-content: space-between; }
  .tiles { grid-template-columns: repeat(2, 1fr); gap: 40px 16px; }
  .tile { border-right: none; border-bottom: 1px solid var(--rule); padding-bottom: 32px; }
  .tile:nth-last-child(-n+2) { border-bottom: none; padding-bottom: 0; }
  .welcome-grid,
  .map-grid,
  .cta-grid,
  .form-grid,
  .article-grid { grid-template-columns: 1fr; gap: 48px; }
  /* Narrow: stop the map from floating; stack it full width above the text. */
  .welcome-flow .welcome-media { float: none; width: 100%; margin: 0 0 28px; }
  .article-sidebar { position: static; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .people-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-logos { grid-template-columns: repeat(3, 1fr); }
  .map-stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-content { padding-top: 64px; padding-bottom: 64px; }
  .cruise-item, .event-list-item { grid-template-columns: 110px 1fr; }
  .cruise-status, .event-list-item .tag { grid-column: 1 / -1; justify-self: start; }
  .hub-cards, .hub-cards.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .utility-bar .container { flex-direction: column; align-items: flex-start; gap: 8px; }
  .utility-bar-links { gap: 18px; }
  .tiles { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .people-grid { grid-template-columns: 1fr; }
  .partner-logos { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; }
  .hub-cards, .hub-cards.cols-2, .hub-cards.cols-4 { grid-template-columns: 1fr; }
  .section-heading, .cta-section h2, .map-header h2, .page-hero h1 { font-size: 32px; }
  .logo-text .wordmark { font-size: 24px; }
  .logo-text .sublabel { display: none; }
}

/* Placeholder boxes for images / video not yet supplied. */
.image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 220px;
  padding: 2rem;
  background: repeating-linear-gradient(45deg, #eef1f5, #eef1f5 12px, #e6eaef 12px, #e6eaef 24px);
  border: 1px dashed #aeb8c4;
  border-radius: 6px;
  color: #5b6573;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.welcome-figure .image-placeholder { border-radius: 0; border: 0; }
.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
}
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-embed .image-placeholder { height: 100%; min-height: 100%; }
.instr-site { color: #5b6573; font-size: 0.92rem; }

/* COSZO instruments: description left, figure right */
.instr-row { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; margin: 0 0 52px; }
.instr-text h2 { margin-top: 0; margin-bottom: 0.6rem; }
.instr-text p { margin: 0 0 0.95rem; }
.instr-text p:last-child { margin-bottom: 0; }
.instr-text a { color: #1e7cab; text-decoration: underline; text-underline-offset: 2px; }
.instr-text a:hover { color: #0a2f4e; }
.instr-figure { margin: 0; }
.instr-figure .image-placeholder { min-height: 260px; height: 100%; }
.instr-meta { color: #5b6573; font-size: 0.92rem; }
.instr-figure img { width: 100%; height: 100%; max-height: 360px; object-fit: cover; border-radius: 6px; display: block; }
.instr-figure figcaption { font-size: 12px; color: #5b6573; margin-top: 6px; }
@media (max-width: 760px) { .instr-row { grid-template-columns: 1fr; gap: 20px; margin-bottom: 40px; } }

/* Blog from Sea — square block grid */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; margin: 24px 0; }
.blog-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #e2e7ee; border-radius: 8px; overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow .15s ease, transform .15s ease; }
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.blog-card-thumb { aspect-ratio: 1 / 1; background: var(--navy-700); overflow: hidden; }
.blog-card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card-thumb--blank { background: linear-gradient(135deg, #1e7cab, #06223a); }
.blog-card-body { padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.blog-card-meta { font-size: 12px; color: #5b6573; letter-spacing: .03em; text-transform: uppercase; }
.blog-card-title { font-size: 18px; margin: 0; line-height: 1.25; }
.blog-card-excerpt { font-size: 14px; color: #5b6573; margin: 0; }
.blog-empty { color: #5b6573; }

/* Site search */
.search-input { width: 100%; padding: 14px 16px; font-size: 16px; font-family: var(--font-body); border: 1px solid #cdd5df; border-radius: 8px; margin-bottom: 24px; }
.search-input:focus { outline: none; border-color: #1e7cab; box-shadow: 0 0 0 3px rgba(30,124,171,.15); }
.search-results { display: flex; flex-direction: column; gap: 14px; }
.search-result { display: block; padding: 16px; border: 1px solid #e2e7ee; border-radius: 8px; text-decoration: none; color: inherit; transition: box-shadow .15s ease, border-color .15s ease; }
.search-result:hover { border-color: #1e7cab; box-shadow: var(--shadow-lg); }
.search-result h3 { margin: 0 0 4px; font-size: 18px; }
.search-result p { margin: 0; font-size: 14px; color: #5b6573; }

/* ============================================================
   LIVE CRUISE HERO (cruise tracker — see CRUISE_TRACKER_ENABLED
   in build_pages.py). Static hero headline fades out; a mission-
   console panel (chart + live video, bridge nav readout) fades in.
   Scoped to .hero-live / #cruise-map / marker classes only.
   ============================================================ */
.hero-content { transition: opacity .7s ease; }
.hero-content.hero-fade-out { opacity: 0; }
.hero-live { position: relative; z-index: 2; padding: 40px 0 72px; }
.hero-live[hidden] { display: none; }
.hero-live.hero-fade-in { animation: heroLiveIn .7s ease both; }
@keyframes heroLiveIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Console header: LIVE badge, cruise designation, bridge readout */
.hero-live-head { display: flex; align-items: flex-start; gap: 18px; flex-wrap: wrap; margin-bottom: 20px; }
.hero-live-badge { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; padding: 5px 12px 5px 10px; border: 1px solid rgba(245,166,35,.45); border-radius: 999px; font-weight: 800; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: #ffd9a0; background: rgba(245,166,35,.08); }
.hero-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #f5a623; animation: heroLivePulse 1.6s ease-in-out infinite; }
@keyframes heroLivePulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(245,166,35,.55); } 50% { box-shadow: 0 0 0 7px rgba(245,166,35,0); } }
.hero-live-title-group { min-width: 0; }
.hero-live-title { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; line-height: 1.15; color: #fff; letter-spacing: .01em; }
.hero-live-sub { margin-top: 4px; font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #7f99ad; }
.hero-nav { margin-left: auto; text-align: right; font-family: "SF Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .88rem; letter-spacing: .02em; color: #9fe0e4; white-space: nowrap; }
.hero-nav-dim { margin-top: 4px; font-size: .74rem; color: #7f99ad; }

/* Instrument panels: thin luminous bezel with reticle corners */
.hero-live-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: stretch; }
.console-panel { position: relative; padding: 14px 14px 12px; background: rgba(6, 34, 58, .55); border: 1px solid rgba(60, 191, 197, .28); border-radius: 8px; }
.console-panel::before, .console-panel::after { content: ""; position: absolute; width: 18px; height: 18px; border: 2px solid #3cbfc5; pointer-events: none; }
.console-panel::before { top: -2px; left: -2px; border-right: none; border-bottom: none; border-top-left-radius: 8px; }
.console-panel::after { bottom: -2px; right: -2px; border-left: none; border-top: none; border-bottom-right-radius: 8px; }
.console-panel-label { margin-bottom: 10px; font-family: "SF Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .7rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: #6fb7bd; }
#cruise-map { aspect-ratio: 16 / 9; border-radius: 4px; overflow: hidden; background: #0a2f4e; }
.console-panel .video-embed { border-radius: 4px; }
.hero-live-note { margin-top: 12px; font-size: .84rem; line-height: 1.5; color: #a7b8c7; }
.hero-live-note a { color: #fff; text-decoration: underline; text-decoration-color: rgba(60,191,197,.6); text-underline-offset: 2px; }

/* Ship fix: hull + 1 Hz sonar ping */
.ship-marker { background: none; border: none; }
.ship-marker svg { position: relative; z-index: 2; display: block; width: 26px; height: 26px; filter: drop-shadow(0 1px 2px rgba(0,0,0,.5)); animation: shipGlow 1s ease-in-out infinite; }
.ship-ping { position: absolute; inset: -7px; border-radius: 50%; border: 2px solid #f5a623; opacity: 0; animation: shipPing 1s ease-out infinite; }
@keyframes shipPing { 0% { transform: scale(.35); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes shipGlow { 0%, 100% { opacity: 1; } 50% { opacity: .6; } }
.site-tri { background: none; border: none; }
.site-tri svg { display: block; width: 16px; height: 14px; filter: drop-shadow(0 1px 1px rgba(0,0,0,.4)); }

@media (prefers-reduced-motion: reduce) {
  .ship-marker svg, .ship-ping, .hero-live-dot, .hero-live.hero-fade-in { animation: none; }
}
@media (max-width: 960px) {
  .hero-live-grid { grid-template-columns: 1fr; }
  .hero-nav { margin-left: 0; text-align: left; width: 100%; white-space: normal; }
}

/* ============================================================
   MOBILE NAV — hamburger toggle for <=960px, where the desktop
   nav is hidden. Opens a full-width panel with every section's
   sub-links expanded (hover dropdowns don't work on touch).
   ============================================================ */
.nav-toggle { display: none; flex-direction: column; justify-content: center; align-items: stretch; gap: 5px; width: 44px; height: 44px; padding: 11px 10px; border-radius: 6px; flex-shrink: 0; }
.nav-toggle span { display: block; height: 2px; background: var(--navy-800); border-radius: 1px; transition: transform .25s ease, opacity .2s ease; }
@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-header.nav-open .main-nav {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--rule); box-shadow: var(--shadow-lg);
    padding: 6px 0 14px; max-height: calc(100vh - 96px); overflow-y: auto;
  }
  .site-header.nav-open .nav-item { width: 100%; }
  .site-header.nav-open .nav-link { display: block; padding: 12px 24px; font-size: 15px; }
  .site-header.nav-open .nav-link::after { display: none; }
  .site-header.nav-open .has-dropdown > .nav-link::before { display: none; }
  .site-header.nav-open .dropdown,
  .site-header.nav-open .nav-item:hover .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    border: none; box-shadow: none; padding: 0 0 4px; min-width: 0;
  }
  .site-header.nav-open .dropdown::before { display: none; }
  .site-header.nav-open .dropdown a { padding: 9px 42px; font-size: 14px; color: var(--ink-muted); }
  .site-header.nav-open .dropdown a:hover { padding-left: 42px; }
}

/* Smaller portrait figure on Blog from Sea author pages (intro photos) */
.blog-post-portrait { max-width: 300px; margin-top: 24px; }
.blog-post-portrait img { width: 100%; height: auto; display: block; }
