/*
 * IDUM Website — styles.css
 * All styles for index.html. No build step — served directly.
 *
 * DEPENDENCIES:
 *   - Google Fonts: Public Sans (loaded in index.html <head>)
 *   - Lucide Icons: icon sizing/stroke rules reference i[data-lucide] elements
 *
 * DESIGN SYSTEM:
 *   Palette: navy + one ocean-blue accent + slate gray, no red/danger colors.
 *   Layout: max-width 1200px container, 48px side padding (24px on mobile).
 *   Backgrounds alternate: white (.content-section) / off-white (.content-section.alt).
 *   Dark sections: hero, mission strip, CTA, footer.
 *
 * KEY PATTERNS:
 *   - Glassmorphism: backdrop-filter + semi-transparent bg (stats card, hero eyebrow)
 *   - <em> accent: section-title em and hero-title em render as sea-green, not italic
 *   - RTL flip: .project-row.reverse uses direction:rtl to swap column order
 *     without changing DOM structure; children reset to direction:ltr
 *   - Logo white-out: .hero-partners-logos img uses brightness(0) invert(1) to
 *     make any colored logo appear white on the dark hero background.
 *     Exception: .partner-nato has filter:none (its SVG is already light)
 *   - Nav state: .scrolled class (toggled by script.js) switches nav from
 *     dark-transparent to white-solid with updated text/link colors
 *
 * RESPONSIVE BREAKPOINTS:
 *   900px — tablet: grids collapse to 1-2 columns, nav links hidden, padding reduces
 *   600px — mobile: remaining multi-column grids go single-column
 *
 * TABLE OF CONTENTS:
 *   :root variables .............. line ~30
 *   Reset & base ................. line ~40
 *   Navigation ................... line ~50
 *   Hero ......................... line ~100
 *   Hero Partners ................ line ~230
 *   Stats Card ................... line ~270
 *   Mission Strip ................ line ~320
 *   Content Sections (shared) .... line ~350
 *   Threat Section ............... line ~390
 *   Founder Section .............. line ~475
 *   Scientific Projects .......... line ~540
 *   Documentaries ................ line ~590
 *   Ocean Action ................. line ~610
 *   Accreditations ............... line ~660
 *   Expert Network ............... line ~690
 *   Professional Services ........ line ~710
 *   Contact Form ................. line ~760
 *   Responsive (content) ......... line ~850
 *   CTA Section .................. line ~875
 *   Footer ....................... line ~920
 *   Responsive (layout) .......... line ~950
 */

/* ══════════════════════════════════════════════════════════════════
   COLOR SYSTEM & CSS VARIABLES
   Two-color brand palette. All component colors derive from these.
   ══════════════════════════════════════════════════════════════════ */

:root {
  /* Brand System Colors — navy + one ocean-blue accent + slate gray
     (Oct 4 2026: green retired; it didn't read as Ocean Action). */
  --deep-ocean: #0B2A3C;      /* headings, dark sections */
  --ocean-blue: #1F5E7A;
  --accent: #1F5E7A;          /* buttons, links, icons, bullets (7:1 on white) */
  --accent-hover: #174A61;    /* hover/pressed state for --accent fills and links */
  --accent-light: #7FB8D4;    /* accent on dark backgrounds (hero, CTA, footer) */
  --light-ocean: #E8F3F8;
  --charcoal: #1E1E1E;
  --slate: #5F6B73;
  --light-gray: #F3F4F6;
  --white: #FFFFFF;
  --off-white: #FAFBFC;

  /* ── Label typography (see "TYPOGRAPHIC LABEL SYSTEM" section) ──
     Two roles, deliberately distinct:
       • Micro-header — sentence case, readable; labels a group/section or form field.
       • Overline tag — small-caps, orienting; dates, pills, eyebrows (scanned, not read). */
  --label-micro-size: 14px;          /* micro-headers + form field labels */
  --label-micro-weight: 600;
  --label-overline-size: 12px;       /* small-caps orienting tags */
  --label-overline-tracking: 1.4px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
/* <img> tags carry width/height attributes (reserves space, no layout shift);
   height:auto keeps the aspect ratio wherever CSS only sets a width. */
img { height: auto; }

html { scroll-behavior: smooth; }

body {
  background: var(--off-white);
  color: var(--charcoal);
  font-family: 'Public Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════════════
   NAVIGATION
   Fixed header with two visual states:
   - Default: dark semi-transparent over the hero image
   - .scrolled: white solid background (class toggled by script.js at 100px scroll)
   Nav links are hidden on mobile (<900px breakpoint below).
   ══════════════════════════════════════════════════════════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 48px;
  background: rgba(11, 42, 60, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
nav.scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(11, 42, 60, 0.1);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none;
}
.nav-logo-text {
  font-weight: 600; font-size: 13px;
  color: var(--white);
  letter-spacing: 0.3px;
  line-height: 1.3;
  text-transform: uppercase;
}
nav.scrolled .nav-logo-text { color: var(--deep-ocean); }
.nav-logo-text span { color: var(--white); }
nav.scrolled .nav-logo-text span { color: var(--deep-ocean); }
.nav-links { display: flex; gap: 32px; list-style: none; align-items: center; }
.nav-links a {
  color: rgba(255, 255, 255, 0.7); text-decoration: none;
  font-size: 13px; font-weight: 500;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--white); }
nav.scrolled .nav-links a { color: var(--slate); }
nav.scrolled .nav-links a:hover { color: var(--deep-ocean); }

.btn-nav {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent);
  color: var(--white);
  padding: 10px 20px; border-radius: 6px;
  font-size: 13px; font-weight: 600;
  text-decoration: none; border: none; cursor: pointer;
  transition: all 0.2s ease;
}
.btn-nav:hover { background: var(--accent-hover); }

/* ── Mobile / narrow menu (WIL-19) ──
   Below 1180px the links don't fit on one line, so they move into a
   drop-down panel opened by .nav-toggle (script.js toggles nav.menu-open). */
.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0;
  border: 0; border-radius: 8px; background: transparent;
  color: var(--white); cursor: pointer;
}
nav.scrolled .nav-toggle { color: var(--deep-ocean); }
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
nav.menu-open .nav-toggle .icon-open { display: none; }
nav.menu-open .nav-toggle .icon-close { display: block; }
.nav-toggle:focus-visible,
.nav-links a:focus-visible,
.btn-nav:focus-visible { outline: 2px solid var(--accent-light); outline-offset: 2px; }

@media (max-width: 1360px) {
  .nav-links { gap: 20px; }
}
@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 24px 24px;
    background: var(--deep-ocean);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
    max-height: calc(100vh - 76px); overflow-y: auto;
  }
  nav.menu-open .nav-links { display: flex; }
  .nav-links li a {
    display: block; padding: 14px 0;
    font-size: 16px; color: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  nav.scrolled .nav-links { background: var(--white); border-bottom-color: rgba(11, 42, 60, 0.1); }
  nav.scrolled .nav-links li a { color: var(--charcoal); border-bottom-color: var(--light-gray); }
  .nav-links .btn-nav {
    margin-top: 16px; width: 100%; justify-content: center;
    padding: 14px 20px; font-size: 15px;
  }
}
@media (max-width: 1180px) and (prefers-reduced-motion: no-preference) {
  nav.menu-open .nav-links { animation: nav-drop 0.18s ease-out; }
}
@keyframes nav-drop {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

/* ══════════════════════════════════════════════════════════════════
   HERO — DARK WITH IMAGE
   3-layer background stack for the full-viewport hero:
     1. .hero-bg: background image with color-grading filters
     2. .hero-bg::before: vertical gradient (pseudo-element, blue tint)
     3. .hero-overlay: horizontal left-to-right gradient (text legibility)
   Content sits above via z-index:1 in a 2-column grid (text | stats card).
   ══════════════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 140px 48px 96px;
  position: relative;
  overflow: hidden;
}
/* Background image with color grading */
.hero-bg {
  position: absolute; inset: 0;
  background: url('images/oceanhero.webp') center 40% / cover no-repeat;
  filter: saturate(0.7) brightness(0.8) contrast(1.05);
}
/* Blue tint overlay */
.hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 42, 60, 0.5) 0%,
    rgba(11, 42, 60, 0.3) 50%,
    rgba(11, 42, 60, 0.6) 100%
  );
}
/* Left gradient for text legibility */
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    90deg,
    rgba(11, 42, 60, 0.88) 0%,
    rgba(11, 42, 60, 0.7) 30%,
    rgba(11, 42, 60, 0.3) 55%,
    transparent 100%
  );
}
.hero-content {
  max-width: 1200px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 64px; align-items: start;
  position: relative; z-index: 1;
}
.hero-visual {
  display: flex; flex-direction: column; gap: 24px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  margin-bottom: 24px;
  font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--white);
}
.eyebrow-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-light);
  box-shadow: 0 0 8px var(--accent-light);
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}
.hero-title {
  font-size: clamp(34px, 4.2vw, 56px);
  font-weight: 700; line-height: 1.08;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}
.hero-title em {
  font-style: normal;
  color: inherit;
}
.hero-subtitle {
  font-size: 17px; font-weight: 400; line-height: 1.75;
  color: rgba(255, 255, 255, 0.85);
  max-width: 520px;
  margin-bottom: 24px;
}
.hero-quote {
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 8px;
  font-size: 15px; line-height: 1.6;
  color: var(--white);
  font-style: italic;
  margin-bottom: 32px;
  max-width: 520px;
}
.hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap;
}
.hero-quote p { margin: 0; }
.hero-quote cite { display: block; margin-top: 8px; font-style: normal; font-weight: 600; font-size: 14px; }
/* Hero partner row: three UN Ocean Action marks in official colour, one row,
   aligned to the stats card's left edge, equal optical height. */
.hero-partners-logos.hero-partners-logos--color {
  flex-direction: column; align-items: flex-start; gap: 20px; flex-wrap: nowrap;
}
.hero-partners-logos.hero-partners-logos--color img { filter: none; opacity: 1; }
/* Line 1: Communities of Ocean Action leads; capped at 380px so the 331px
   source stays sharp and it doesn't outweigh the headline. */
.hero-partners-logos--color .partner-coa { width: 100%; max-width: 380px; height: auto; }
/* Line 2: SDG 14 square sized to the UN emblem, both on one baseline */
.partner-row-2 { display: flex; align-items: center; gap: 28px; }
.hero-partners-logos--color .partner-square { height: 64px; width: auto; border-radius: 6px; }
.hero-partners-logos--color .partner-un-lockup { height: 64px; width: auto; }
.hero-partners { margin-bottom: 16px; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent);
  color: var(--white);
  padding: 14px 28px; border-radius: 6px;
  font-size: 14px; font-weight: 600;
  text-decoration: none; border: none; cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(31, 94, 122, 0.3);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(31, 94, 122, 0.4);
}
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  padding: 14px 28px; border-radius: 6px;
  font-size: 14px; font-weight: 600;
  text-decoration: none; cursor: pointer;
  transition: all 0.2s ease;
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

/* ── HERO PARTNERS ──
   Partner logos displayed below the stats card on the hero.
   brightness(0) invert(1) converts any logo to white for dark backgrounds.
   .partner-nato overrides with filter:none because its SVG is already light.
   Per-logo height overrides ensure visual balance across different aspect ratios. */
.hero-partners {
  margin-top: 8px;
}
.hero-partners-label {
  font-size: 10px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 16px;
  text-align: left;
}
.hero-partners-logos {
  display: flex; align-items: center; gap: 20px 32px; flex-wrap: wrap;
  justify-content: flex-start;
}
.hero-partners-logos img {
  height: 44px; width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.7;
  transition: opacity 0.2s ease;
}
.hero-partners-logos img:hover {
  opacity: 1;
}
.hero-partners-logos img.partner-un {
  height: 46px;
}
.hero-partners-logos img.partner-opcw {
  height: 46px;
}
.hero-partners-logos img.partner-isa {
  height: 50px;
}
.hero-partners-logos img.partner-nato {
  height: 50px;
  filter: none;
}
/* White knockouts of the HELCOM and SDG 13/14 icons, and the transparent
   Ocean Action wordmark: same white filter + opacity as the other marks. */
.hero-partners-logos img.partner-knockout { height: 48px; }
.hero-partners-logos img.partner-ocean-action { height: 36px; }

/* ── STATS CARD — visionOS-style Glassmorphism ──
   Frosted glass effect via backdrop-filter: blur(40px) saturate(1.8).
   Semi-transparent white gradient background + inset highlight for depth.
   2x2 grid of stat items with hover lift. */
.stats-card {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.18) 0%,
    rgba(255, 255, 255, 0.08) 50%,
    rgba(255, 255, 255, 0.12) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 24px;
  padding: 36px;
  backdrop-filter: blur(40px) saturate(1.8);
  -webkit-backdrop-filter: blur(40px) saturate(1.8);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.2),
    inset 0 1px 1px rgba(255, 255, 255, 0.3);
}
.stats-label {
  font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--white);
  margin-bottom: 24px;
  text-align: left;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.stats-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.stat-item {
  text-align: center; padding: 24px 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  transition: all 0.25s ease;
}
.stat-item:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}
.stat-num {
  font-size: 40px; font-weight: 700;
  color: var(--white);
  line-height: 1;
  letter-spacing: -1px;
}
.stat-label {
  font-size: 10px; font-weight: 600; letter-spacing: 0.8px;
  text-transform: uppercase; color: rgba(255, 255, 255, 0.7);
  margin-top: 8px;
}
/* Text-headline tiles (WIL-23): a short phrase as the headline and a
   caption beneath it, left-aligned on a shared top edge so the four
   headlines line up across each row. Equal-height tiles. */
.stats-grid--text { grid-auto-rows: 1fr; }
.stats-grid--text .stat-item {
  display: flex; flex-direction: column; justify-content: flex-start;
  text-align: left; padding: 22px 20px 24px; min-width: 0;
}
.stats-grid--text .stat-num {
  font-size: clamp(18px, 1.55vw, 22px); line-height: 1.2;
  letter-spacing: -0.3px; text-wrap: balance;
}
.stats-grid--text .stat-label {
  font-size: 13px; font-weight: 400; line-height: 1.5;
  letter-spacing: 0; text-transform: none;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 8px;
}

/* ══════════════════════════════════════════════════════════════════
   MISSION STRIP — TRANSITIONAL
   ══════════════════════════════════════════════════════════════════ */
.mission-strip {
  background: var(--deep-ocean);
  padding: 80px 48px;
  border-bottom: 1px solid rgba(31, 94, 122, 0.2);
}
/* Text column (label, lead, secondary) on the left; photo on the right,
   top-aligned. Grid areas let phones reorder to label/lead/photo/secondary. */
.mission-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  grid-template-areas:
    "label     photo"
    "lead      photo"
    "secondary photo"
    ".         photo";
  grid-template-rows: auto auto auto 1fr;
  column-gap: 64px; align-items: start;
}
.mission-label {
  grid-area: label; margin-bottom: 16px;
  font-size: var(--label-overline-size); font-weight: 700;
  letter-spacing: var(--label-overline-tracking); text-transform: uppercase;
  color: var(--accent-light);
}
.mission-text { color: rgba(255, 255, 255, 0.9); }
.mission-text--lead {
  grid-area: lead;
  font-size: 22px; font-weight: 400; line-height: 1.55; color: var(--white);
}
.mission-text--secondary {
  grid-area: secondary; margin-top: 24px;
  font-size: 16px; line-height: 1.7; color: rgba(255, 255, 255, 0.72);
}
.mission-text--secondary a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.mission-text--secondary a:hover { color: var(--white); }
.mission-photo { grid-area: photo; margin: 0; }
.mission-photo img {
  display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
  object-position: center 28%; border-radius: 12px;
}
.mission-photo figcaption {
  margin-top: 12px; font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, 0.7);
}
.mission-text strong {
  color: var(--white);
  font-weight: 600;
}
.mission-badges { display: flex; gap: 12px; flex-wrap: wrap; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(31, 94, 122, 0.15);
  border: 1px solid rgba(31, 94, 122, 0.3);
  padding: 10px 16px; border-radius: 6px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.5px;
  color: var(--accent-light);
}
.badge i { width: 16px; height: 16px; }

/* ══════════════════════════════════════════════════════════════════
   CONTENT SECTIONS — SHARED LAYOUT
   Base styles reused by all content sections. .content-section.alt
   toggles off-white background for visual rhythm between sections.
   .section-title em renders accent-colored text (not italic).
   ══════════════════════════════════════════════════════════════════ */
.content-section {
  background: var(--white);
  padding: 96px 48px;
}
.content-section.alt {
  background: var(--off-white);
}
.container { max-width: 1200px; margin: 0 auto; }

/* ──────────────────────────────────────────────────────────────────
   TYPOGRAPHIC LABEL SYSTEM
   Small text comes in two deliberately distinct roles. Pick by intent:

   1. MICRO-HEADER  — sentence case, readable; labels a group/section or
      form field the reader actually reads. Tokens: --label-micro-*.
      Style: var(--label-micro-size)/600, letter-spacing 0, --deep-ocean.
      Used by: .accred-col-header, .project-achievements-title,
               .contact-affil-title, .action-box-title, .form-label
   2. OVERLINE TAG  — small-caps, orienting; dates, pills, eyebrows that
      are scanned, not read. Tokens: --label-overline-*.
      Style: var(--label-overline-size)/700, tracked caps, --slate.
      Used by: .project-meta, .honor-label, .founder-tag, .service-eyebrow

   NOT part of this system (intentional caps): buttons & tabs (.btn-*,
   .service-btn, .form-submit, .contact-tab) and dark-surface labels
   (.hero-eyebrow, .stats-label, .footer-logo).
   ────────────────────────────────────────────────────────────────── */

.section-header {
  margin-bottom: 56px;
}
.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700; line-height: 1.15;
  color: var(--deep-ocean);
  letter-spacing: -0.3px;
}
.section-title em {
  font-style: normal;
  color: inherit;
}

/* ── THREAT SECTION ── */
.threat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.threat-text p {
  font-size: 16px; line-height: 1.85;
  color: var(--slate);
  margin-bottom: 20px;
}
.threat-text p:last-of-type { margin-bottom: 0; }

/* Threat stats row — 1px gap trick: parent has light-gray bg, children have
   white bg, creating the appearance of 1px borders between cells */
.threat-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--light-gray);
  border: 1px solid var(--light-gray);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 40px;
}
.threat-stat {
  padding: 28px 20px;
  background: var(--white);
  text-align: center;
  transition: background 0.2s ease;
}
.threat-stat:hover {
  background: var(--light-ocean);
}
.threat-stat-num {
  font-size: 32px; font-weight: 700;
  color: var(--deep-ocean);
  line-height: 1;
  letter-spacing: -1px;
}
.threat-stat-text {
  font-size: 12px; line-height: 1.5;
  color: var(--slate);
  margin-top: 10px;
}

/* Pillar cards */
.threat-pillars {
  display: flex; flex-direction: column; gap: 16px;
}
.pillar {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 10px;
  transition: all 0.25s ease;
}
.pillar:hover {
  border-color: var(--accent);
  box-shadow: 0 6px 24px rgba(11, 42, 60, 0.08);
  transform: translateY(-2px);
}
.pillar-icon {
  flex: 0 0 48px; height: 48px;
  background: var(--light-ocean);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  transition: all 0.25s ease;
}
.pillar:hover .pillar-icon {
  background: var(--accent);
  color: var(--white);
}
.pillar-icon i { width: 22px; height: 22px; stroke-width: 1.5; }
.pillar-title {
  font-size: 16px; font-weight: 600;
  color: var(--deep-ocean);
  margin-bottom: 6px;
}
.pillar-body {
  font-size: 14px; line-height: 1.65;
  color: var(--slate);
}

/* ══════════════════════════════════════════════════════════════════
   FOUNDER SECTION
   ══════════════════════════════════════════════════════════════════ */
.founder-grid {
  display: grid; grid-template-columns: 360px 1fr; gap: 64px;
  align-items: start; margin-top: 48px;
}
.founder-img-wrap { position: sticky; top: 100px; }
.founder-img-frame {
  border-radius: 12px; overflow: hidden;
  border: 1px solid var(--light-gray);
  background: var(--light-gray);
  aspect-ratio: 3/4;
}
.founder-img-frame img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.founder-tag {  /* overline tag */
  margin-top: 16px; text-align: center;
  font-size: var(--label-overline-size); font-weight: 700;
  letter-spacing: var(--label-overline-tracking); text-transform: uppercase;
  color: var(--slate);
}
.founder-name {
  font-size: 28px; font-weight: 700; color: var(--deep-ocean); margin-bottom: 4px;
}
.founder-role {
  font-size: 16px; font-weight: 500; color: var(--slate); margin-bottom: 20px;
}
.founder-bio strong { font-weight: 600; color: var(--deep-ocean); }
.founder-bio {
  font-size: 15px; line-height: 1.8; color: var(--slate); margin-bottom: 16px;
}
.roles-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px;
}
.role-item {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 14px 16px;
  background: var(--light-ocean); border: 1px solid rgba(31, 94, 122, 0.15);
  border-radius: 8px; font-size: 13px; line-height: 1.5; color: var(--slate);
}
.role-item i { flex-shrink: 0; color: var(--accent); width: 16px; height: 16px; margin-top: 2px; }
.achievements-list { margin-top: 28px; display: flex; flex-direction: column; gap: 10px; }
.achievement {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 14px; line-height: 1.6; color: var(--slate);
}
.achievement-dot {
  flex-shrink: 0; margin-top: 8px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}
/* Inline "learn more" / source link inside body copy */
.text-link {
  color: var(--accent); font-weight: 600;
  text-decoration: underline; text-underline-offset: 2px;
}
.text-link:hover { color: var(--accent-hover); }
.contact-strip {
  margin-top: 20px; padding: 16px;
  background: var(--light-ocean); border: 1px solid rgba(31, 94, 122, 0.15);
  border-radius: 10px;
  display: flex; gap: 20px; flex-wrap: wrap; align-items: center;
}
.contact-strip a {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; color: var(--accent);
  text-decoration: none; transition: color 0.2s;
}
.contact-strip a:hover { color: var(--deep-ocean); }
.contact-strip i { width: 16px; height: 16px; }

/* Founder photo row — 3 images with captions at bottom of founder section */
.founder-photos {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin-top: 56px;
}
.founder-photo { margin: 0; }
.founder-photo-frame {
  aspect-ratio: 3 / 2; overflow: hidden;
  border-radius: 12px; border: 1px solid var(--light-gray);
}
.founder-photo-frame img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.3s;
}
.founder-photo:hover .founder-photo-frame img { transform: scale(1.03); }
.founder-photo figcaption {
  margin-top: 10px; font-size: 13px; line-height: 1.5;
  color: var(--slate); text-align: left;
}

/* ══════════════════════════════════════════════════════════════════
   SCIENTIFIC PROJECTS
   Also reused by the Operations section (same .project-row markup).
   ══════════════════════════════════════════════════════════════════ */
.projects-list { display: flex; flex-direction: column; gap: 64px; margin-top: 48px; }
.project-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
/* RTL trick: swaps grid column order so image appears on the right.
   Children reset to ltr so text reads normally. On mobile, direction
   resets to ltr and grid goes single-column (see responsive section). */
.project-row.reverse { direction: rtl; }
.project-row.reverse > * { direction: ltr; }
.project-img-wrap {
  border-radius: 12px; overflow: hidden;
  border: 1px solid var(--light-gray);
  aspect-ratio: 4/3; position: relative;
}
.project-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Programme logo above each project's meta line (WIL-12). multiply drops
   the opaque white boxes in the JPEG/PNG sources on the off-white section. */
.project-logo {
  display: block; height: 48px; width: auto; max-width: 180px;
  object-fit: contain; object-position: left center;
  margin-bottom: 16px; mix-blend-mode: multiply;
}
.project-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(11, 42, 60, 0.5) 100%);
}
/* Added per Terry's Sep 14 2026 feedback — photo credit captions, using the
   existing bottom gradient in .project-img-overlay for legibility. */
.project-img-caption {
  position: absolute; left: 16px; right: 16px; bottom: 14px;
  color: #fff; font-size: 13px; line-height: 1.4; font-weight: 600;
}
.project-content { display: flex; flex-direction: column; gap: 12px; }
.project-meta {  /* overline tag */
  display: flex; gap: 12px; flex-wrap: wrap;
  font-size: var(--label-overline-size); font-weight: 700;
  letter-spacing: var(--label-overline-tracking); text-transform: uppercase;
}
.project-meta-year { color: var(--deep-ocean); }
.project-meta-sep { color: var(--slate); opacity: 0.4; }
.project-meta-loc { color: var(--slate); }
.project-title { font-size: 22px; font-weight: 700; color: var(--deep-ocean); line-height: 1.25; }
.project-desc { font-size: 15px; line-height: 1.75; color: var(--slate); }
.project-achievements {
  margin-top: 8px; padding: 18px 20px;
  background: var(--light-ocean); border: 1px solid rgba(31, 94, 122, 0.15);
  border-radius: 10px;
}
.project-achievements-title {  /* micro-header */
  font-size: var(--label-micro-size); font-weight: var(--label-micro-weight);
  letter-spacing: 0; color: var(--deep-ocean); margin-bottom: 12px;
}
.project-achievement {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13px; line-height: 1.5; color: var(--slate); margin-bottom: 6px;
}
.project-achievement:last-child { margin-bottom: 0; }
.project-achievement i { flex-shrink: 0; color: var(--accent); width: 14px; height: 14px; margin-top: 2px; }
.project-partners {
  font-size: 12px; font-weight: 500; color: var(--slate); letter-spacing: 0.3px; margin-top: 4px;
}
.project-partners strong { color: var(--deep-ocean); }

/* ══════════════════════════════════════════════════════════════════
   DOCUMENTARIES
   ══════════════════════════════════════════════════════════════════ */
/* Flex (not grid) so a final row with fewer than 4 posters centers under the
   top row instead of left-aligning with an empty trailing slot. 7 posters →
   4 on top, 3 centered below. flex-basis math: (100% - 3*16px gap) / 4 = 25% - 12px. */
.docs-grid {
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 48px;
}
.docs-img-cell {
  flex: 0 1 calc(25% - 12px);
  background: var(--light-gray); border: 1px solid var(--light-gray);
  border-radius: 10px; overflow: hidden;
  aspect-ratio: 3/4; transition: all 0.25s ease;
}
.docs-img-cell--linked { aspect-ratio: auto; }
.docs-img-cell:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(11, 42, 60, 0.1); }
.docs-img-cell > a { display: block; width: 100%; height: 100%; }
.docs-poster-wrap { position: relative; width: 100%; }
.docs-thumb { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity 0.2s; }
.docs-img-cell--linked .docs-thumb { height: auto; aspect-ratio: 3/4; }
.docs-poster-actions {
  position: absolute; inset: auto 0 0; display: flex; justify-content: center; gap: 10px;
  padding: 25px 12px 12px; background: linear-gradient(transparent, rgba(0, 0, 0, 0.58));
}
.docs-poster-actions a {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  color: var(--accent); background: rgba(255, 255, 255, 0.94); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.docs-poster-actions a:hover { transform: translateY(-2px); background: #fff; }
.docs-poster-actions a:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.docs-poster-actions svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.docs-img-cell:hover .docs-thumb { opacity: 0.9; }

/* ══════════════════════════════════════════════════════════════════
   OCEAN ACTION
   ══════════════════════════════════════════════════════════════════ */
.action-header-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  align-items: center; margin-bottom: 48px;
}
.action-header-text { min-width: 0; }
.action-header-text .section-header { margin-bottom: 24px; }
/* Right column stacks the UN logo above the Communities of Ocean Action lockup,
   reinforcing that #21356 is a UN initiative and filling the space above COA.
   Column layout means it stacks vertically on mobile automatically. */
.action-header-logo {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 28px;
}
.action-header-logo img {
  max-width: 100%; height: auto; display: block;
}
/* UN lockup is a secondary endorsement mark — kept small so the focus stays on
   the heading and the COA image below it (extra class specificity beats the rule
   above). UN blue #009EDB shows natively — no white-out filter here. */
.action-header-logo .action-un-logo { max-width: 40%; }
/* CTA row under the intro — prominent primary action, elevated here (instead of
   buried in the old right-hand card) so the ask is visible immediately under the
   section's opening paragraph. */
.action-cta-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

/* The five pillars — 2-column grid of numbered cards (was the left column of
   the old 2-up grid; now full width since the dark card is gone). */
.action-items {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
}
.action-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px 20px;
  background: var(--white); border: 1px solid var(--light-gray);
  border-radius: 10px; transition: all 0.25s ease;
}
.action-item:hover { border-color: var(--accent); box-shadow: 0 4px 16px rgba(11, 42, 60, 0.06); }
/* Quiet, descriptive icon marker — soft tinted (NOT filled) so the pillars
   read as a calm feature list, visually distinct from and quieter than the bold
   filled-circle numbered journey stepper below. */
.action-icon {
  flex-shrink: 0; width: 36px; height: 36px;
  background: var(--light-ocean); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.action-icon i { width: 18px; height: 18px; stroke-width: 2; }
.action-title { font-size: 15px; font-weight: 600; color: var(--deep-ocean); margin-bottom: 4px; }
.action-body { font-size: 13px; line-height: 1.6; color: var(--slate); }

/* The Path to a Solution — full-width horizontal stepper.
   A left-to-right "journey" reads as a sequence, so it no longer competes with
   the vertical numbered pillars above (the original "two numbered lists" problem).
   The connecting line is drawn by each step's ::before; markers sit above it with
   a white "halo" (box-shadow) so the line appears to pass behind them. */
.solution-journey { margin-top: 64px; }
.solution-journey-head { margin-bottom: 32px; }
.journey-steps { display: grid; grid-template-columns: repeat(5, 1fr); }
.journey-step { position: relative; padding: 0 12px; text-align: center; }
.journey-step::before {
  content: ''; position: absolute; top: 22px; left: -50%;
  width: 100%; height: 2px; background: var(--light-gray); z-index: 0;
}
.journey-step:first-child::before { display: none; }
.journey-marker {
  position: relative; z-index: 1;
  width: 44px; height: 44px; margin: 0 auto 16px;
  border-radius: 50%; background: var(--accent); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700;
  box-shadow: 0 0 0 5px var(--white);
}
.journey-label { font-size: 15px; font-weight: 700; color: var(--deep-ocean); margin-bottom: 6px; }
.journey-desc { font-size: 13px; line-height: 1.5; color: var(--slate); }

/* ══════════════════════════════════════════════════════════════════
   ACCREDITATIONS TABLE
   ══════════════════════════════════════════════════════════════════ */
.accred-table {
  margin-top: 48px;
  border: 1px solid var(--light-gray);
  border-radius: 12px; overflow: hidden;
}
/* Two stacked sections, divided by a horizontal rule (was a 2-col table). */
.accred-section + .accred-section { border-top: 1px solid var(--light-gray); }
.accred-col-header {  /* micro-header */
  font-size: var(--label-micro-size); font-weight: var(--label-micro-weight);
  letter-spacing: 0; color: var(--deep-ocean);
  background: var(--light-ocean); border-bottom: 1px solid var(--light-gray);
  text-align: center; padding: 16px 16px;
}
/* Logos laid out as a centered flex grid. Flex (not CSS grid) is deliberate:
   it centers a partial final row, so Accreditations' 7 logos read as a
   balanced 4 + centered-3 instead of leaving an empty trailing cell.
   Item widths set the columns-per-row: default 4-up; --coop section 3-up. */
.accred-logos {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 40px 32px; padding: 48px 32px;
}
.accred-logo-item {
  display: flex; align-items: center; justify-content: center;
  flex: 0 0 calc(25% - 24px);   /* 4 per row */
}
.accred-section--coop .accred-logos { gap: 36px 24px; }
.accred-section--coop .accred-logo-item {
  flex-basis: calc(16.666% - 20px);   /* 6 per row — 26 partner logos */
  height: 64px;
}
.accred-logo {
  max-height: 100px; max-width: 100%; width: auto; object-fit: contain;
  opacity: 0.85; transition: all 0.2s;
  /* Subtle rounding so solid-background emblems (UN, NATO, SDGs, HELCOM, OSPAR,
     Woods Hole, Tetiaroa) match the site's rounded aesthetic. Transparent-bg
     wordmarks are unaffected. Logos render at natural aspect ratio, so this
     rounds the visible image corners (not an empty letterbox). */
  border-radius: 8px;
}
/* Cooperators are wide wordmarks — let them grow taller in their wider cells. */
.accred-section--coop .accred-logo {
  max-height: 64px; max-width: 100%; border-radius: 0;
}
/* Partners with no usable logo, named in one line under the grid */
.accred-also {
  margin: 0; padding: 0 32px 32px; text-align: center;
  font-size: 14px; line-height: 1.6; color: var(--slate);
}
/* Square emblems (SDGs) read larger at a given height, so cap them tighter. */
.accred-logo-square { max-height: 92px; max-width: 92px; }
.accred-logo:hover { opacity: 1; transform: scale(1.05); }

/* ══════════════════════════════════════════════════════════════════
   LEADERSHIP & RECOGNITION (honors subsection inside #accreditations)
   3-col responsive card grid. Each card has a media area (photo or
   Lucide icon placeholder) and a body (label pill, title, description).
   ══════════════════════════════════════════════════════════════════ */
.honors-subsection { margin-top: 72px; }
.honors-header { margin-bottom: 32px; }
.honors-title {
  font-size: 32px; font-weight: 700; line-height: 1.2;
  color: var(--deep-ocean); letter-spacing: -0.01em;
}
.honors-title em { color: inherit; font-style: normal; font-weight: 700; }
.honors-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.honor-card {
  background: var(--white); border: 1px solid var(--light-gray);
  border-radius: 12px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.honor-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(11, 42, 60, 0.08);
  border-color: rgba(31, 94, 122, 0.35);
}
.honor-media {
  aspect-ratio: 16 / 10; width: 100%; overflow: hidden;
  background: var(--light-ocean);
}
.honor-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.honor-media-icon, .honor-media-logo {
  display: flex; align-items: center; justify-content: center;
}
/* Icon placeholders keep a subtle tinted backdrop so the lone icon has presence. */
.honor-media-icon {
  background: linear-gradient(135deg, var(--light-ocean) 0%, rgba(31, 94, 122, 0.08) 100%);
}
/* Contained logos sit on white so the media area blends into the white card body —
   the logo reads as integrated, not boxed on a tint. */
.honor-media-logo {
  background: var(--white);
}
.honor-media-logo img {
  width: auto; height: auto; max-width: 70%; max-height: 70%; object-fit: contain;
}
.honor-media-icon i[data-lucide] {
  width: 56px; height: 56px; color: var(--accent); stroke-width: 1.5;
}
.honor-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; }
.honor-label {  /* overline tag (pill) */
  display: inline-block; align-self: flex-start;
  font-size: var(--label-overline-size); font-weight: 700;
  letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--slate);
  background: rgba(31, 94, 122, 0.1);
  padding: 5px 12px; border-radius: 999px;
  line-height: 1.4;
}
.honor-name {
  font-size: 17px; font-weight: 700; line-height: 1.35;
  color: var(--deep-ocean); letter-spacing: -0.005em;
  margin: 0;
}
.honor-desc {
  font-size: 14px; line-height: 1.6; color: var(--slate); margin: 0;
}

/* ══════════════════════════════════════════════════════════════════
   EXPERT NETWORK
   ══════════════════════════════════════════════════════════════════ */
.experts-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px;
}
.expert-card {
  background: var(--white); border: 1px solid var(--light-gray);
  border-radius: 12px; padding: 28px;
  transition: all 0.25s ease;
}
.expert-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 12px 32px rgba(11, 42, 60, 0.08); }
.expert-avatar {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--light-ocean);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; overflow: hidden;
}
.expert-avatar img { width: 100%; height: 100%; object-fit: cover; }
.expert-name { font-size: 16px; font-weight: 600; color: var(--deep-ocean); }
.expert-title { font-size: 12px; color: var(--slate); margin-top: 2px; font-weight: 500; }
.expert-relevance { font-size: 13px; line-height: 1.6; color: var(--slate); margin-top: 12px; }

/* ══════════════════════════════════════════════════════════════════
   ADVISORY BOARD (ISTAB) — intro + name/affiliation cards (WIL-9)
   ══════════════════════════════════════════════════════════════════ */
.istab-intro {
  max-width: 760px; margin-bottom: 16px;
  font-size: 16px; line-height: 1.8; color: var(--slate);
}
.istab-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  margin-top: 40px;
}
.istab-member {
  background: var(--white); border: 1px solid var(--light-gray);
  border-radius: 10px; padding: 16px 18px;
  display: flex; align-items: center; gap: 14px;
}
/* 64px round headshot (sources 137-240px, so sharp at 2x) */
.istab-avatar {
  flex-shrink: 0; width: 64px; height: 64px; border-radius: 50%;
  object-fit: cover; background: var(--light-ocean);
}
.istab-avatar--initials {
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 600; color: var(--accent);
}
/* Field photos from the old advisory-board page: 300px originals, so small thumbnails */
.istab-field-label {
  margin: 48px 0 14px;
  font-size: var(--label-micro-size); font-weight: var(--label-micro-weight); color: var(--deep-ocean);
}
/* In-the-field carousel: 3 x 300px slides max (sources are 300px wide) */
.field-carousel {
  position: relative; max-width: calc(3 * 300px + 2 * 14px);
}
.field-track {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; border-radius: 10px;
}
.field-track::-webkit-scrollbar { display: none; }
.field-track:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.field-slide {
  flex: 0 0 calc((100% - 28px) / 3); max-width: 300px;
  scroll-snap-align: start;
}
.field-slide img {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 3;
  object-fit: cover; border-radius: 10px;
}
.field-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 1;
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--white); color: var(--deep-ocean);
  border: 1px solid var(--light-gray); box-shadow: 0 4px 14px rgba(11, 42, 60, 0.15);
  cursor: pointer; transition: background 0.2s;
}
.field-nav:hover { background: var(--light-ocean); }
.field-nav:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.field-nav svg { width: 20px; height: 20px; }
.field-nav--prev { left: -22px; }
.field-nav--next { right: -22px; }
@media (prefers-reduced-motion: reduce) { .field-track { scroll-behavior: auto; } }
.istab-name { font-size: 15px; font-weight: 600; color: var(--deep-ocean); }
.istab-affil { font-size: 13px; line-height: 1.55; color: var(--slate); margin-top: 4px; }
@media (max-width: 900px) { .istab-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .istab-grid { grid-template-columns: 1fr; } .field-slide { flex-basis: 78%; } .field-nav--prev { left: 6px; } .field-nav--next { right: 6px; } }

/* ══════════════════════════════════════════════════════════════════
   PROFESSIONAL SERVICES
   ══════════════════════════════════════════════════════════════════ */
.services-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px;
}
.service-card {
  background: var(--white); border: 1px solid var(--light-gray);
  border-radius: 12px; padding: 28px 24px;
  display: flex; flex-direction: column;
  transition: all 0.25s ease; position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--accent); opacity: 0; transition: opacity 0.25s;
}
.service-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: 0 12px 32px rgba(11, 42, 60, 0.08); }
.service-card:hover::before { opacity: 1; }
.service-eyebrow {  /* overline tag */
  font-size: var(--label-overline-size); font-weight: 700;
  letter-spacing: var(--label-overline-tracking); text-transform: uppercase;
  color: var(--slate); margin-bottom: 14px;
}
.service-icon { margin-bottom: 14px; color: var(--deep-ocean); }
.service-icon i { width: 32px; height: 32px; stroke-width: 1.5; }
.service-title { font-size: 17px; font-weight: 700; color: var(--deep-ocean); line-height: 1.25; margin-bottom: 6px; }
.service-subtitle { font-size: 12px; font-weight: 600; color: var(--slate); margin-bottom: 16px; letter-spacing: 0.3px; }
.service-list {
  list-style: none; margin: 0; padding: 0; flex: 1;
  display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px;
}
.service-list li {
  font-size: 13px; line-height: 1.5; color: var(--slate);
  padding-left: 18px; position: relative;
}
.service-list li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}
.service-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--accent); color: var(--white); text-decoration: none;
  padding: 12px 18px; border-radius: 6px; border: none; cursor: pointer;
  font-size: 12px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase;
  transition: all 0.2s; width: 100%; margin-top: auto;
}
.service-btn:hover { background: var(--accent-hover); transform: translateY(-1px); }

/* ══════════════════════════════════════════════════════════════════
   CONTACT FORM
   Two-column layout: form (left) + sticky info sidebar (right, 380px).
   Tab buttons (.contact-tab) are styled here; behavior is in script.js.
   #field-location and #field-timeframe visibility is toggled by switchTab().
   .form-success is hidden by default; shown on submit, auto-hides after 4s.
   ══════════════════════════════════════════════════════════════════ */
.contact-grid {
  display: grid; grid-template-columns: 1fr 380px; gap: 56px; margin-top: 48px; align-items: start;
}
.contact-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.contact-tab {
  padding: 8px 16px; border-radius: 6px;
  border: 1px solid var(--light-gray); background: var(--white); cursor: pointer;
  font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: var(--slate); transition: all 0.2s;
}
.contact-tab.active, .contact-tab:hover {
  background: var(--light-ocean); border-color: var(--accent); color: var(--accent);
}
.contact-form-wrap {
  background: var(--white); border: 1px solid var(--light-gray);
  border-radius: 12px; padding: 32px;
}
.form-title { font-size: 20px; font-weight: 700; color: var(--deep-ocean); margin-bottom: 6px; }
.form-subtitle { font-size: 14px; color: var(--slate); margin-bottom: 28px; line-height: 1.5; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-label {  /* field label — sentence case for readability */
  display: block; font-size: var(--label-micro-size); font-weight: var(--label-micro-weight);
  letter-spacing: 0; color: var(--deep-ocean); margin-bottom: 6px;
}
.form-input, .form-select, .form-textarea {
  width: 100%; background: var(--off-white);
  border: 1px solid var(--light-gray); border-radius: 6px;
  padding: 12px 14px; color: var(--charcoal);
  font-family: 'Public Sans', sans-serif; font-size: 14px;
  transition: border-color 0.2s, background 0.2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--accent); background: var(--white);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--slate); opacity: 0.5; }
.form-select { cursor: pointer; }
.form-textarea { resize: vertical; min-height: 100px; }
.form-submit {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 14px;
  background: var(--accent); border: none; border-radius: 6px;
  cursor: pointer; color: var(--white);
  font-size: 14px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase;
  transition: all 0.2s; margin-top: 8px;
}
.form-submit:hover { background: var(--accent-hover); transform: translateY(-1px); }
.form-submit:disabled { opacity: 0.6; cursor: progress; transform: none; }
/* Honeypot: off-screen, never shown to humans (bots fill it → rejected) */
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error {
  display: none; margin-top: 12px; text-align: center;
  font-size: 14px; color: #B4232A;
}
.form-error.visible { display: block; }
.form-privacy {
  margin-top: 14px; text-align: center;
  font-size: 12px; line-height: 1.5; color: var(--slate);
}
.contact-info-block { position: sticky; top: 100px; }
.contact-info-card {
  background: var(--white); border: 1px solid var(--light-gray);
  border-radius: 12px; padding: 28px; margin-bottom: 20px;
}
.contact-info-name { font-size: 20px; font-weight: 700; color: var(--deep-ocean); margin-bottom: 4px; }
.contact-info-role { font-size: 13px; color: var(--slate); margin-bottom: 20px; font-weight: 500; }
.contact-detail {
  display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px;
  font-size: 14px; line-height: 1.5; color: var(--slate); text-decoration: none;
}
.contact-detail:hover { color: var(--accent); }
.contact-detail i { flex-shrink: 0; width: 18px; height: 18px; color: var(--accent); margin-top: 2px; }
.contact-affiliations {
  background: var(--off-white); border: 1px solid var(--light-gray);
  border-radius: 10px; padding: 20px;
}
.contact-affil-title {  /* micro-header */
  font-size: var(--label-micro-size); font-weight: var(--label-micro-weight);
  letter-spacing: 0; color: var(--deep-ocean); margin-bottom: 14px;
}
.contact-affil-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.contact-affil-chip {
  padding: 6px 12px; border-radius: 6px;
  background: var(--light-ocean); border: 1px solid rgba(31, 94, 122, 0.15);
  font-size: 11px; font-weight: 600; letter-spacing: 0.5px; color: var(--accent);
}
.form-success {
  display: none; text-align: center; padding: 32px;
  color: var(--accent); font-size: 16px; font-weight: 500;
}
.form-success i { width: 48px; height: 48px; margin-bottom: 16px; }
.action-box {
  margin-top: 20px; padding: 20px;
  background: var(--light-ocean); border: 1px solid rgba(31, 94, 122, 0.15);
  border-radius: 10px;
}
.action-box-title {  /* micro-header */
  font-size: var(--label-micro-size); font-weight: var(--label-micro-weight);
  letter-spacing: 0; color: var(--deep-ocean); margin-bottom: 10px;
}
.action-box p { font-size: 13px; line-height: 1.6; color: var(--slate); }

/* ══════════════════════════════════════════════════════════════════
   RESPONSIVE — CONTENT GRIDS (900px + 600px)
   Collapses multi-column grids. Separate from the layout responsive
   block at the bottom of this file which handles nav, hero, and spacing.
   ══════════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .founder-grid { grid-template-columns: 1fr; gap: 40px; }
  .founder-img-wrap { position: static; max-width: 300px; margin: 0 auto; }
  .founder-photos { grid-template-columns: 1fr 1fr; }
  .roles-grid { grid-template-columns: 1fr; }
  .project-row, .project-row.reverse { grid-template-columns: 1fr; direction: ltr; }
  .project-row.reverse > * { direction: ltr; }
  .docs-img-cell { flex-basis: calc(50% - 8px); }
  .action-items { grid-template-columns: 1fr; }
  .journey-steps { grid-template-columns: 1fr; gap: 18px; }
  .journey-step { display: grid; grid-template-columns: 44px 1fr; gap: 14px; text-align: left; padding: 0; align-items: start; }
  .journey-step::before { display: none; }
  .journey-marker { margin: 0; }
  .experts-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-info-block { position: static; }
  .form-row { grid-template-columns: 1fr; }
  .accred-logos { gap: 28px 24px; padding: 32px 20px; }
  .accred-logo-item,
  .accred-section--coop .accred-logo-item { flex-basis: calc(25% - 18px); height: 56px; }  /* 4 per row */
  .accred-logo { max-height: 80px; }
  .accred-section--coop .accred-logo { max-height: 56px; }
  .accred-logo-square { max-height: 72px; max-width: 72px; }
  .honors-grid { grid-template-columns: repeat(2, 1fr); }
  .honors-title { font-size: 28px; }
  .action-header-row { grid-template-columns: 1fr; gap: 32px; }
  .action-header-logo img { max-width: 360px; }
}
@media (max-width: 600px) {
  .docs-img-cell { flex-basis: 100%; }
  .accred-section--coop .accred-logo-item { flex-basis: calc(33.333% - 16px); height: 48px; }  /* 3 per row */
  .accred-section--coop .accred-logo { max-height: 48px; }
  .experts-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .honors-grid { grid-template-columns: 1fr; }
  .honors-title { font-size: 24px; }
  .founder-photos { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════════
   FOOTER CTA — DARK (URGENCY CLOSE)
   ══════════════════════════════════════════════════════════════════ */
.cta-section {
  background: linear-gradient(180deg, var(--deep-ocean) 0%, #081E2B 100%);
  padding: 96px 48px;
  text-align: center;
}
.cta-section .section-title {
  color: var(--white);
  max-width: 700px;
  margin: 0 auto 24px;
}
.cta-section .section-title em {
  color: inherit;
}
.cta-body {
  font-size: 17px; line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  max-width: 600px;
  margin: 0 auto 36px;
}
.cta-actions {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}
.cta-section .btn-primary {
  padding: 16px 32px;
  font-size: 15px;
}
.cta-section .btn-outline {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
  padding: 16px 32px;
  font-size: 15px;
}

/* ══════════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════════ */
footer {
  background: #030B12;
  padding: 48px;
  border-top: 1px solid rgba(31, 94, 122, 0.15);
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 24px;
}
.footer-logo {
  font-size: 13px; font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-logo span { color: var(--white); }
.footer-links {
  display: flex; gap: 32px;
}
.footer-links a {
  font-size: 13px; color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
.footer-copy {
  font-size: 12px; color: rgba(255, 255, 255, 0.35);
}

/* Hero: stack text above the stats card below 1180px, so the four
   headline tiles keep enough width (they were ~150px wide at 1024px). */
@media (max-width: 1180px) {
  .hero-content { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 760px; }
}

/* ══════════════════════════════════════════════════════════════════
   RESPONSIVE — LAYOUT, NAV, HERO, SPACING (900px)
   Handles nav, hero, section padding, mission strip, footer.
   Note: there are TWO @media (max-width: 900px) blocks — this one for
   layout/spacing, and the one above for content grid collapses. Both
   are needed; they target different concerns.
   ══════════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  nav { padding: 16px 24px; }
  .hero { padding: 120px 24px 80px; overflow-x: hidden; }
  .hero-content { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { gap: 20px; }
  .hero-partners-logos {
    flex-wrap: wrap;
    gap: 16px;
    justify-content: flex-start;
  }
  .hero-partners-logos img { height: 32px; }
  .hero-partners-logos img.partner-un { height: 34px; }
  .hero-partners-logos img.partner-opcw { height: 34px; }
  .hero-partners-logos img.partner-isa { height: 36px; }
  .hero-partners-logos img.partner-nato { height: 36px; }
  .hero-partners-logos img.partner-knockout { height: 36px; }
  .hero-partners-logos--color .partner-coa { max-width: 300px; }
  .hero-partners-logos--color .partner-square,
  .hero-partners-logos--color .partner-un-lockup { height: 52px; }
  .hero-partners-logos img.partner-ocean-action { height: 28px; }
  .stats-card { padding: 24px; }
  .stat-num { font-size: 32px; }
  .stats-grid--text .stat-num { font-size: 18px; }
  .stats-grid--text .stat-item { padding: 18px 16px 20px; }
  .content-section { padding: 72px 24px; }
  .threat-grid { grid-template-columns: 1fr; gap: 48px; }
  .threat-stats { grid-template-columns: 1fr; }
  .mission-strip { padding: 56px 24px; }
  .mission-inner {
    grid-template-columns: 1fr;
    grid-template-areas: "label" "lead" "photo" "secondary";
    grid-template-rows: none; row-gap: 0;
  }
  .mission-photo { margin-top: 28px; }
  .mission-text--lead { font-size: 19px; }
  .cta-section { padding: 72px 24px; }
  footer { padding: 32px 24px; }
  .footer-inner { flex-direction: column; text-align: center; }
}
