/* Portrait-inspired field atlas: light surfaces, concise navigation, and image-led reading. */
@font-face {
  font-family: "Switzer";
  src: url("/assets/fonts/switzer-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Open Runde";
  src: url("/assets/fonts/open-runde-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Open Runde";
  src: url("/assets/fonts/open-runde-semibold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #15323b;
  --ink-soft: #3c5960;
  --muted: #5b7378;
  --paper: #f5f8f6;
  --surface: #fff;
  --surface-soft: #eaf3ef;
  --accent: #147767;
  --accent-dark: #0f5c51;
  --coral: #c9684d;
  --line: #d9e4df;
  --line-strong: #c4d3cd;
  --sans: "Switzer", Arial, sans-serif;
  --rounded: "Open Runde", "Switzer", Arial, sans-serif;
  --shell: 1200px;
  --reading-measure: 68ch;
}

* { box-sizing: border-box; }
html { max-width: 100%; overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  position: relative;
  isolation: isolate;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
/* A fixed, pointer-free SVG atmosphere keeps its light shafts and particles behind reading content. */
.ocean-atmosphere { position: fixed; z-index: 0; inset: 0; display: block; width: 100vw; height: 100vh; overflow: hidden; pointer-events: none; opacity: .82; }
.home-page .home-page-water-canvas {
  position: fixed;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100vw;
  height: 100vh;
  opacity: 0;
  mix-blend-mode: multiply;
  pointer-events: none;
  transition: opacity 900ms ease;
}
.home-page .home-page-water-canvas.is-active { opacity: .76; }
.home-page .ocean-atmosphere { opacity: .62; }
/* Slow the shared glow and particle art only on the homepage; inner routes keep their current ambience. */
.home-page .ocean-light-ray { animation-duration: 46s; }
.home-page .ocean-biolume { animation-duration: 30s; }
.home-page .ocean-particle-wrap { animation-duration: 24s; }
#main-content, .site-footer { position: relative; z-index: 1; }
body.article-page > .ocean-atmosphere { opacity: .46; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: .07em; text-underline-offset: .2em; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible, .nav-more summary:focus-visible { outline: 3px solid #2a9d88; outline-offset: 4px; }
:focus:not(:focus-visible) { outline: none; }
::selection { background: #c9e7dc; color: #102c33; }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: #edf2ef; }
::-webkit-scrollbar-thumb { border: 3px solid #edf2ef; border-radius: 99px; background: #a7c4b9; }
.shell { width: min(calc(100% - 48px), var(--shell)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 12px; transform: translateY(-160%); padding: 10px 15px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); }
.skip-link:focus { transform: translateY(0); }

/* Floating navigation and footer are shared by every generated route. */
.site-header { position: sticky; z-index: 30; top: 10px; padding-top: 10px; }
/* Frosted glass keeps the floating navigation readable while adding a soft aquatic glow. */
.header-inner { position: relative; min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 9px 13px 9px 19px; border: 1px solid rgba(255, 255, 255, .82); border-radius: 999px; background: rgba(248, 252, 250, .78); box-shadow: 0 10px 30px rgba(22, 54, 57, .09), 0 0 30px rgba(90, 190, 181, .13), inset 0 1px 0 rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%); }
/* Widen only the desktop navigation capsule; shared page content keeps its 1200px measure. */
@media (min-width: 901px) {
  .header-inner { width: min(calc(100% - 48px), 1280px); }
}
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; text-decoration: none; }
.brand img { width: 213px; height: auto; }
.site-nav { display: flex; align-items: center; justify-content: flex-end; gap: 20px; }
.nav-links { display: flex; align-items: center; justify-content: flex-end; gap: clamp(12px, 1.65vw, 23px); }
.site-nav a { display: inline-flex; align-items: center; padding: 8px 10px; border-radius: 999px; color: #39565d; font-size: 12px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: color .18s ease, background-color .18s ease, box-shadow .18s ease; }
.site-nav a:hover, .footer-links a:hover { color: var(--accent); }
.site-nav a:hover { background: rgba(230, 243, 238, .66); }
.site-nav a[aria-current="page"], .nav-more.is-current > summary { background: #e6f3ee; color: var(--accent-dark); box-shadow: inset 0 0 0 1px rgba(20, 119, 103, .1); }
.nav-more { position: relative; }
.nav-more summary { display: inline-flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 999px; color: #39565d; font-size: 12px; font-weight: 600; white-space: nowrap; cursor: pointer; list-style: none; transition: color .18s ease, background-color .18s ease, box-shadow .18s ease; }
.nav-more summary::-webkit-details-marker { display: none; }
.nav-more summary::after { width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; content: ""; transform: translateY(-2px) rotate(45deg); transition: transform .18s ease; }
.nav-more[open] summary::after { transform: translateY(1px) rotate(225deg); }
.nav-more:hover summary, .nav-more[open] summary { color: var(--accent); background: rgba(230, 243, 238, .66); }
.nav-more.is-current:hover summary, .nav-more.is-current[open] summary { color: var(--accent-dark); background: #e6f3ee; }
.nav-more-menu { position: absolute; top: calc(100% + 12px); right: 0; z-index: 40; display: grid; min-width: 176px; padding: 7px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .98); box-shadow: 0 12px 28px rgba(22, 54, 57, .12); }
.nav-more:not([open]) .nav-more-menu { display: none; }
.nav-more-menu a { display: block; padding: 10px 11px; border-radius: 9px; }
.nav-more-menu a:hover, .nav-more-menu a:focus-visible { background: #f5f8f6; }
.nav-search { display: inline-flex; align-items: center; gap: 7px; padding: 10px 14px; border: 1px solid #e1eae6; border-radius: 999px; background: #f5f8f6; }
.nav-search svg, .search-input-wrap svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.8; }
.menu-toggle { display: none; align-items: center; gap: 9px; padding: 10px 13px; border: 1px solid var(--line); border-radius: 999px; background: #f5f8f6; color: var(--ink); cursor: pointer; font-family: var(--rounded); font-size: 13px; font-weight: 600; }
.menu-icon { position: relative; width: 17px; height: 12px; border-top: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; }
.menu-icon::after { position: absolute; top: 4px; left: 0; width: 100%; border-top: 1.5px solid currentColor; content: ""; }
.site-footer { z-index: 1; margin-top: 66px; background: #15343b; color: #f1f7f4; }
.footer-main { display: grid; grid-template-columns: minmax(230px, 1.1fr) minmax(220px, .9fr) minmax(180px, .7fr); gap: 42px; padding-block: 47px 28px; }
.footer-brand img { width: 218px; opacity: .96; }
.footer-about p { max-width: 370px; margin: 14px 0 0; color: #c3d4d0; font-size: 13px; line-height: 1.55; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; align-content: start; padding-top: 4px; }
.footer-links a { color: #e0ebe7; font-size: 12px; text-decoration: none; transition: color .18s ease; }
.footer-note { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding-top: 4px; color: #c3d4d0; font-size: 11px; }
.footer-note-title { color: #f7fbf9; font-family: var(--rounded); font-size: 14px; font-weight: 600; }

/* Shared type hierarchy and actions. */
.eyebrow, .hero-kicker, .feature-meta, .article-category, .story-category, .rail-label { color: var(--accent-dark); font-family: var(--rounded); font-size: 11px; font-weight: 600; letter-spacing: .025em; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: 12px; font-weight: 650; text-decoration: none; }
.text-link > span, .source-note-link > span { color: var(--accent); font-size: 17px; transition: transform .18s ease; }
.text-link:hover > span, .source-note-link:hover > span { transform: translateX(3px); }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 11px 17px; border-radius: 999px; font-family: var(--rounded); font-size: 13px; font-weight: 600; text-decoration: none; transition: background .18s ease, color .18s ease, transform .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { border: 1px solid var(--accent); background: var(--accent); color: #fff; }
.button-primary:hover { border-color: var(--accent-dark); background: var(--accent-dark); }

/* The home hero keeps the first screen short and lets its real photograph lead. */
.hero-section { overflow: visible; padding-block: 21px 26px; background: transparent; color: var(--ink); }
.hero-section::before, .hero-visual::before { display: none; content: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); align-items: center; gap: clamp(32px, 5vw, 72px); padding: clamp(28px, 3.6vw, 42px); border: 1px solid #dce9e3; border-radius: 28px; background: radial-gradient(ellipse at 86% 12%, rgba(213, 236, 224, .72), transparent 42%), linear-gradient(135deg, #f1f8f5, #f2f6fa); }
.hero-copy { max-width: 560px; }
.hero-kicker { margin: 0 0 17px; }
.hero-kicker span { padding-inline: 5px; color: var(--coral); }
.hero-copy h1 { max-width: 620px; margin: 0; color: var(--ink); font-size: clamp(52px, 6.3vw, 76px); font-weight: 570; letter-spacing: -.045em; line-height: .99; }
.hero-copy h1 em { color: var(--accent); font-style: normal; font-weight: 480; }
.hero-intro { max-width: 500px; margin: 22px 0 0; color: #435f65; font-family: var(--sans); font-size: clamp(17px, 1.45vw, 19px); line-height: 1.52; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 25px; }
.hero-secondary-link { color: #395b5f; font-size: 13px; font-weight: 600; text-decoration: none; }
.hero-secondary-link span { padding-left: 5px; color: var(--accent); }
.hero-note { margin: 19px 0 0; color: #567076; font-size: 11px; }
.hero-visual { min-width: 0; margin: 0; }
.hero-image-link { display: block; width: 100%; max-width: 100%; overflow: hidden; aspect-ratio: 1.52 / 1; border-radius: 18px; background: #dcebe5; }
.hero-image-link img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.hero-image-link:hover img { transform: scale(1.025); }
.hero-visual figcaption { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px 3px 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.hero-visual figcaption strong { color: var(--ink); font-family: var(--rounded); font-size: 13px; font-weight: 600; }

/* Topic paths are short entry points rather than tall promotional cards. */
.atlas-paths { padding-block: 54px 62px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 24px; }
.section-heading h2, .directory-section-heading h2 { margin: 0; font-size: clamp(30px, 3.7vw, 46px); font-weight: 550; letter-spacing: -.035em; line-height: 1.08; }
.section-heading p { max-width: 530px; margin: 10px 0 0; color: var(--muted); font-size: 16px; line-height: 1.55; }
.section-heading-wide > div { max-width: 680px; }
.section-heading .text-link { flex: 0 0 auto; margin-bottom: 4px; }
.atlas-path-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.atlas-path-card { position: relative; min-width: 0; min-height: 142px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-content: start; gap: 9px 12px; padding: 20px; overflow: hidden; border: 1px solid transparent; border-radius: 16px; background: var(--path-bg, #eaf3ef); color: var(--ink); text-decoration: none; transition: border-color .18s ease, transform .18s ease; }
.atlas-path-card:nth-child(6n + 1) { --path-bg: #e7f3ee; }
.atlas-path-card:nth-child(6n + 2) { --path-bg: #edf3f7; }
.atlas-path-card:nth-child(6n + 3) { --path-bg: #f2eef8; }
.atlas-path-card:nth-child(6n + 4) { --path-bg: #f8f0e9; }
.atlas-path-card:nth-child(6n + 5) { --path-bg: #edf4e9; }
.atlas-path-card:nth-child(6n + 6) { --path-bg: #eaf1f4; }
.atlas-path-card:hover { transform: translateY(-2px); border-color: #bfd8cd; }
.path-title { min-width: 0; font-family: var(--rounded); font-size: 18px; font-weight: 600; line-height: 1.2; }
.path-count { align-self: center; color: #49696d; font-size: 10px; white-space: nowrap; }
.path-desc { grid-column: 1 / -1; max-width: 49ch; display: -webkit-box; overflow: hidden; margin: 0; color: #496168; font-size: 12px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.path-arrow { position: absolute; right: 16px; bottom: 13px; color: var(--accent-dark); font-size: 15px; }

/* One featured record separates browsing from the compact article grid. */
.story-feature-band { margin-block: 7px; padding-block: 25px; background: var(--surface-soft); }
.feature-band-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: clamp(28px, 5vw, 66px); }
.feature-band-image { display: block; overflow: hidden; aspect-ratio: 1.52 / 1; border-radius: 18px; background: #d4e4de; }
.feature-band-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.feature-band-image:hover img { transform: scale(1.025); }
.feature-band-copy { max-width: 520px; }
.feature-meta { margin: 0 0 12px; }
.feature-band-copy h2 { margin: 0; font-size: clamp(29px, 3.8vw, 45px); font-weight: 550; letter-spacing: -.035em; line-height: 1.08; }
.feature-band-copy > p:not(.feature-meta) { margin: 15px 0 0; color: #496168; font-size: 15px; line-height: 1.6; }
.feature-location { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 19px 0; color: #4d696d; font-size: 11px; }
.feature-location strong { color: var(--ink); font-weight: 650; }

/* Grid rows stretch cards evenly; the flexible copy area keeps each footer on the row baseline. */
.latest-notes { padding-block: 65px 70px; }
.story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.story-card { position: relative; z-index: 0; display: flex; flex-direction: column; height: 100%; min-width: 0; overflow: hidden; border: 1px solid #dfe8e3; border-radius: 17px; background: var(--surface); transition: border-color .24s ease, translate .34s cubic-bezier(.22,.8,.2,1), box-shadow .34s ease; }
.story-card:focus-within { z-index: 1; translate: 0 -5px; border-color: #bfd7cd; box-shadow: 0 16px 30px -20px rgba(15, 57, 51, .34), 0 5px 14px rgba(23, 67, 60, .08); }
.story-image-link { position: relative; display: block; overflow: hidden; margin: 9px 9px 0; aspect-ratio: 16 / 9; border-radius: 11px; background: #d9e7e1; }
.story-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.story-image-badge { position: absolute; right: 9px; bottom: 9px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .94); color: var(--accent-dark); box-shadow: 0 3px 8px rgba(13, 52, 47, .12); transition: transform .34s cubic-bezier(.22,.8,.2,1), box-shadow .34s ease; }
.story-image-icon { display: block; width: 17px; height: 17px; }
.story-card-copy { display: flex; flex: 1; flex-direction: column; padding: 13px 15px 15px; transition: translate .34s cubic-bezier(.22,.8,.2,1); }
.story-card:focus-within .story-image { transform: scale(1.04) translateY(-2px); }
.story-card:focus-within .story-image-badge { transform: translateY(-5px) scale(1.04); box-shadow: 0 7px 14px rgba(13, 52, 47, .2); }
.story-card:focus-within .story-card-copy { translate: 0 -1px; }
/* Layered lift adds depth without the pointer tracking or rotation used by tilt cards. */
@media (hover: hover) and (pointer: fine) {
  .story-card:hover { z-index: 1; translate: 0 -5px; border-color: #bfd7cd; box-shadow: 0 16px 30px -20px rgba(15, 57, 51, .34), 0 5px 14px rgba(23, 67, 60, .08); }
  .story-card:hover .story-image { transform: scale(1.04) translateY(-2px); }
  .story-card:hover .story-image-badge { transform: translateY(-5px) scale(1.04); box-shadow: 0 7px 14px rgba(13, 52, 47, .2); }
  .story-card:hover .story-card-copy { translate: 0 -1px; }
}
.story-card-topline, .story-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.story-card-topline { color: #60777c; font-size: 10px; }
.story-category { text-decoration: none; }
.story-card h3 { margin: 9px 0 7px; font-size: clamp(18px, 1.75vw, 21px); font-weight: 570; letter-spacing: -.025em; line-height: 1.18; }
.story-card h3 a { text-decoration: none; }
.story-card h3 a:hover { color: var(--accent-dark); }
.story-excerpt { margin: 0; color: #536c72; font-size: 12px; line-height: 1.5; }
.story-card-footer { margin-top: auto; padding-top: 10px; border-top: 1px solid #edf1ef; color: #61797d; font-size: 10px; }
.story-read { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-dark); font-family: var(--rounded); font-size: 11px; font-weight: 600; text-decoration: none; }
.story-read span { font-size: 14px; }
.source-note-section { padding-block: 34px; background: #e7eff1; }
.source-note-grid { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.source-note-grid > div { max-width: 700px; }
.source-note-grid h2 { margin: 0; font-size: clamp(24px, 3vw, 34px); font-weight: 550; letter-spacing: -.03em; }
.source-note-grid p { margin: 8px 0 0; color: #496168; font-size: 14px; line-height: 1.55; }
.source-note-link { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 8px; color: var(--ink); font-size: 12px; font-weight: 650; text-decoration: none; }

/* Directory, category, and search pages share a common browsing rhythm. */
.breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; color: #62797e; font-size: 11px; }
.breadcrumbs a { color: #3b6868; text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent-dark); text-decoration: underline; }
.directory-main, .legal-main { padding-top: 24px; }
.directory-header { display: flex; align-items: end; justify-content: space-between; gap: 28px; padding-block: 34px 22px; border-bottom: 1px solid var(--line); }
.directory-header h1, .section-hero h1, .search-header h1, .legal-header h1 { margin: 0; font-size: clamp(43px, 6.5vw, 72px); font-weight: 570; letter-spacing: -.045em; line-height: 1; }
.directory-header p { max-width: 640px; margin: 10px 0 0; color: var(--muted); font-size: 16px; line-height: 1.55; }
.directory-count { flex: 0 0 auto; margin-bottom: 4px; padding: 9px 13px; border: 1px solid #cfdfd7; border-radius: 999px; background: #eaf3ef; color: #295b53; font-family: var(--rounded); font-size: 12px; font-weight: 600; }
.topic-index { display: flex; flex-wrap: wrap; gap: 8px; padding-block: 17px 5px; }
.topic-index a { display: inline-flex; align-items: center; gap: 9px; padding: 8px 12px; border: 1px solid #dce7e2; border-radius: 999px; background: var(--surface); color: #315b60; font-size: 11px; font-weight: 550; text-decoration: none; }
.topic-index a:hover { border-color: #aacdbd; background: #eef7f2; }
.topic-index a span { color: #678082; font-size: 10px; }
.directory-sections { padding-top: 20px; }
.directory-section { padding-top: 27px; scroll-margin-top: 105px; }
.directory-section + .directory-section { margin-top: 30px; padding-top: 36px; border-top: 1px solid var(--line); }
.directory-section-heading { display: flex; align-items: center; gap: 16px; margin-bottom: 17px; }
.directory-section-heading h2 { font-size: clamp(25px, 3vw, 34px); }
.directory-section-heading > span { color: #60797c; font-size: 11px; white-space: nowrap; }
.directory-section-heading > .text-link { margin-left: auto; }
.section-hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr); align-items: center; gap: clamp(24px, 4vw, 48px); padding-block: 22px 26px; border-bottom: 1px solid var(--line); }
.section-hero-copy { max-width: 640px; }
.section-hero-copy > p { max-width: 56ch; margin: 13px 0 0; color: #496168; font-size: 16px; line-height: 1.55; }
.section-hero-meta { display: flex; align-items: center; gap: 10px; margin-top: 15px; color: #4a686c; font-size: 11px; }
.section-hero-meta a { color: var(--accent-dark); font-weight: 600; text-decoration: none; }
.section-feature { position: relative; z-index: 0; display: block; overflow: hidden; border: 1px solid #dce7e2; border-radius: 17px; background: var(--surface); text-decoration: none; transition: border-color .24s ease, translate .34s cubic-bezier(.22,.8,.2,1), box-shadow .34s ease; }
.section-feature-wrap { min-width: 0; }
.section-feature img { width: 100%; height: clamp(280px, 31vw, 380px); object-fit: cover; object-position: center; transition: transform .5s cubic-bezier(.22,.8,.2,1), filter .5s ease; }
.section-feature > span { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; font-family: var(--rounded); font-size: 11px; font-weight: 600; transition: translate .34s cubic-bezier(.22,.8,.2,1); }
.section-feature > span span { display: inline-block; color: var(--accent); transition: transform .34s cubic-bezier(.22,.8,.2,1); }
.section-feature:focus-visible { z-index: 1; translate: 0 -5px; border-color: #bfd7cd; box-shadow: 0 16px 30px -20px rgba(15, 57, 51, .34), 0 5px 14px rgba(23, 67, 60, .08); }
.section-feature:focus-visible img { filter: saturate(1.04); transform: scale(1.035) translateY(-2px); }
.section-feature:focus-visible > span { translate: 0 -1px; }
.section-feature:focus-visible > span span { transform: translate(2px, -2px); }
@media (hover: hover) and (pointer: fine) {
  .section-feature:hover { z-index: 1; translate: 0 -5px; border-color: #bfd7cd; box-shadow: 0 16px 30px -20px rgba(15, 57, 51, .34), 0 5px 14px rgba(23, 67, 60, .08); }
  .section-feature:hover img { filter: saturate(1.04); transform: scale(1.035) translateY(-2px); }
  .section-feature:hover > span { translate: 0 -1px; }
  .section-feature:hover > span span { transform: translate(2px, -2px); }
}
.section-feature-source { display: flex; justify-content: flex-end; align-items: center; gap: 5px; margin: 7px 3px 0; color: #60797c; font-size: 10px; text-decoration: none; }
.section-feature-source:hover { color: var(--accent-dark); text-decoration: underline; }
.section-story-list { padding-top: 31px; }
.search-header { display: grid; grid-template-columns: minmax(250px, .85fr) minmax(360px, 1.15fr); align-items: end; gap: 24px 40px; padding-block: 35px 25px; border-bottom: 1px solid var(--line); }
.search-header > div > p { margin: 11px 0 0; color: var(--muted); font-size: 15px; }
.search-header h1 { font-size: clamp(39px, 5vw, 58px); }
.search-form { min-width: 0; }
.search-form label { display: block; margin-bottom: 7px; color: #3e5d62; font-size: 11px; font-weight: 600; }
.search-input-wrap { min-height: 52px; display: flex; align-items: center; gap: 11px; padding: 4px 5px 4px 14px; border: 1px solid #cbd9d4; border-radius: 999px; background: var(--surface); }
.search-input-wrap svg { flex: 0 0 auto; color: #507473; }
.search-input-wrap input { flex: 1; min-width: 0; height: 42px; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 13px; }
.search-input-wrap input:focus-visible { outline: 0; }
.search-input-wrap:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(20, 119, 103, .13); }
.search-input-wrap button { min-height: 42px; padding-inline: 18px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font-family: var(--rounded); font-size: 12px; font-weight: 600; cursor: pointer; }
.search-input-wrap button:hover { background: var(--accent-dark); }
.search-status { grid-column: 1 / -1; margin: -11px 0 0; color: #60777c; font-size: 11px; }
.search-results-grid { padding-top: 22px; }
.search-result-card { display: contents; }
.search-result-card[hidden] { display: none; }
.no-results { margin: 28px 0; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: #4b666d; font-size: 15px; }

/* Article pages put the recorded image beside its facts, then give prose a 68ch measure. */
.article-main { padding-top: 24px; }
.article-shell > article { padding-bottom: 36px; }
.article-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); align-items: center; gap: clamp(32px, 5vw, 68px); padding-block: 27px 37px; border-bottom: 1px solid var(--line); }
.article-copy { max-width: 600px; }
.article-category { display: inline-flex; padding: 7px 11px; border-radius: 999px; background: #e5f1ec; text-decoration: none; }
.article-copy h1 { margin: 15px 0 14px; font-size: clamp(39px, 5vw, 61px); font-weight: 560; letter-spacing: -.045em; line-height: 1.02; }
.article-deck { max-width: 570px; margin: 0; color: #4c666d; font-family: var(--sans); font-size: clamp(16px, 1.5vw, 18px); line-height: 1.55; }
.article-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 9px; margin-top: 19px; color: #5b7478; font-size: 10px; }
.article-byline time { width: 100%; color: #647d80; }
.article-figure { min-width: 0; margin: 0; padding: 9px; border: 1px solid #dce7e2; border-radius: 20px; background: var(--surface); }
.article-image-frame { overflow: hidden; aspect-ratio: 16 / 9; border-radius: 13px; background: #d6e5df; }
.article-image-frame img { width: 100%; height: 100%; object-fit: cover; }
.article-figure figcaption { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; padding: 11px 4px 2px; color: #60767b; font-size: 10px; line-height: 1.45; }
.article-figure figcaption strong { color: var(--ink); font-family: var(--rounded); font-size: 12px; font-weight: 600; }
.article-figure figcaption a { flex: 0 0 auto; color: var(--accent-dark); font-weight: 600; text-decoration: none; }
.article-layout { display: grid; grid-template-columns: 178px minmax(0, 700px); justify-content: center; gap: clamp(36px, 6vw, 76px); margin: 45px auto 0; }
.article-rail { position: sticky; top: 98px; align-self: start; display: grid; gap: 14px; padding: 16px; border: 1px solid #dfe8e3; border-radius: 15px; background: var(--surface); }
.article-rail > div { padding-top: 9px; border-top: 1px solid #edf1ef; }
.rail-label { display: block; margin-bottom: 3px; color: #627c7f; font-size: 9px; }
.article-rail strong { color: #264b53; font-size: 11px; font-weight: 600; line-height: 1.45; }
.rail-source-link { display: inline-flex; align-items: center; gap: 7px; color: var(--accent-dark); font-size: 11px; font-weight: 600; text-decoration: none; }
.article-body { min-width: 0; max-width: var(--reading-measure); }
.article-body-label { margin: 0 0 18px; padding-bottom: 11px; border-bottom: 1px solid var(--line); color: #587378; font-family: var(--rounded); font-size: 10px; font-weight: 600; }
.article-body > p { margin: 0 0 21px; color: #263f46; font-size: 17px; line-height: 1.78; }
.article-body > h2 { margin: 39px 0 13px; color: #183940; font-size: clamp(25px, 3vw, 33px); font-weight: 560; letter-spacing: -.028em; line-height: 1.13; }
.article-body > h3 { margin: 28px 0 10px; color: #31585e; font-size: 22px; font-weight: 560; }
.article-body a { color: #126f60; text-decoration-color: rgba(18, 111, 96, .42); }
.article-body a:hover { color: #9e4e39; }
.article-body em { color: #315d57; }
.article-body blockquote { margin: 25px 0; padding: 3px 0 3px 18px; border-left: 2px solid #a7cfc0; color: #49656a; font-size: 18px; }
.article-body ul { padding-left: 21px; color: #344f55; font-size: 16px; line-height: 1.7; }
.article-body li { margin-bottom: 6px; }
.article-sources { display: grid; grid-template-columns: minmax(190px, .75fr) minmax(0, 1.25fr); gap: 24px 56px; max-width: 1000px; margin: 52px auto 0; padding-top: 26px; border-top: 1px solid var(--line); }
.sources-heading h2 { margin: 0; font-size: 27px; font-weight: 560; letter-spacing: -.025em; }
.sources-heading > p { max-width: 320px; margin: 8px 0 0; color: #5b7478; font-size: 12px; line-height: 1.55; }
.article-sources ol { margin: 0; padding: 0; list-style: none; counter-reset: source; }
.article-sources li { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 0 0 12px 27px; counter-increment: source; }
.article-sources li::before { position: absolute; top: 1px; left: 0; color: var(--accent-dark); content: counter(source, decimal-leading-zero); font-size: 10px; }
.article-sources li a { color: #285c5b; font-size: 13px; line-height: 1.4; text-decoration: none; }
.article-sources li a:hover { text-decoration: underline; }
.article-sources li a span { color: var(--accent); font-size: 11px; }
.source-domain { color: #61797e; font-size: 10px; }
.image-rights-note { grid-column: 2; margin: -4px 0 0 27px; color: #5d7478; font-size: 10px; line-height: 1.6; }
.image-rights-note a { color: var(--accent-dark); }
.related-section { padding-top: 36px; border-top: 1px solid var(--line); }

/* Use the same measured sans voice for headings, long-form copy, and interface text. */
.hero-copy h1, .section-heading h2, .section-heading-wide h2, .feature-band-copy h2,
.story-card h3, .source-note-grid h2, .directory-header h1, .section-hero h1,
.search-header h1, .legal-header h1, .directory-header p, .section-hero-copy > p,
.search-header > div > p, .no-results, .footer-about p, .article-body > p,
.article-body > h2, .article-body > h3, .article-body blockquote, .article-body ul,
.sources-heading h2, .article-sources li a, .legal-body h2, .legal-body p, .legal-body li {
  font-family: var(--sans);
}
.hero-visual { position: static; width: auto; max-width: none; justify-self: stretch; padding: 0; }

/* Legal pages keep their text measure readable and their hierarchy direct. */
.legal-header { padding-block: 34px 24px; border-bottom: 1px solid var(--line); }
.legal-header > p:last-child { max-width: 690px; margin: 14px 0 0; color: #4d686e; font-size: 17px; line-height: 1.55; }
.legal-body { max-width: 760px; margin: 0 auto; padding-top: 22px; }
.legal-body h2 { margin: 30px 0 9px; font-size: 25px; font-weight: 560; letter-spacing: -.025em; }
.legal-body p, .legal-body li { color: #3f5b61; font-size: 15px; line-height: 1.72; }
.legal-body p { margin: 0 0 15px; }
.legal-body ul { padding-left: 21px; }
.legal-body a { color: #126f60; }
.contact-email-text { color: #126f60; font-weight: 700; user-select: text; overflow-wrap: anywhere; }
.legal-updated { margin-top: 38px !important; padding-top: 13px; border-top: 1px solid var(--line); color: #5f787c !important; font-size: 10px !important; letter-spacing: .025em; }
.contact-email { display: inline-flex; align-items: center; gap: 10px; margin-block: 3px 14px; color: var(--accent-dark) !important; font-family: var(--rounded) !important; font-size: 15px; font-weight: 600; text-decoration: none; }
.contact-email span { color: var(--coral); font-size: 18px; }
.contact-note { color: #61797e !important; font-size: 11px !important; }

@media (max-width: 1120px) {
  .brand img { width: 190px; }
  .site-nav { gap: 12px; }
  .nav-links { gap: 12px; }
  .site-nav a { font-size: 11px; }
  .article-layout { grid-template-columns: 155px minmax(0, 680px); gap: 36px; }
  .footer-main { gap: 28px; }
}
@media (max-width: 900px) {
  .shell { width: min(calc(100% - 38px), var(--shell)); }
  .header-inner { min-height: 63px; padding-left: 14px; }
  .brand img { width: 184px; }
  .menu-toggle { display: inline-flex; }
  /* Bound the expanded panel to the visible screen. Keep navigation groups
     unshrunk so overflow scrolls instead of compressing touch targets. */
  .site-nav { max-height: var(--menu-available-height, calc(100dvh - 110px)); overflow-y: auto; overscroll-behavior-y: contain; scroll-padding-block: 14px; }
  .site-nav > *, .site-nav .nav-links > * { flex-shrink: 0; }
  .site-nav { position: absolute; top: calc(100% + 8px); right: 0; left: 0; display: flex; align-items: stretch; flex-direction: column; gap: 10px; padding: 14px; border: 1px solid rgba(255, 255, 255, .78); border-radius: 18px; background: rgba(248, 252, 250, .84); box-shadow: 0 12px 28px rgba(22, 54, 57, .1), 0 0 28px rgba(90, 190, 181, .12), inset 0 1px 0 rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%); opacity: 0; translate: 0 -8px; visibility: hidden; pointer-events: none; transition: opacity 220ms ease, translate 220ms cubic-bezier(.22, .8, .2, 1), visibility 0s linear 500ms; }
  .js-ready .site-nav:not(.is-open):not(.is-opening):not(.is-closing) { display: none; }
  .site-nav.is-opening, .site-nav.is-open { opacity: 1; translate: 0 0; visibility: visible; pointer-events: auto; transition-delay: 0s, 0s, 0s; }
  .site-nav.is-closing { opacity: 0; translate: 0 -8px; visibility: hidden; pointer-events: none; }
  .site-nav .nav-links > a, .site-nav .nav-more > summary, .site-nav .nav-more-menu a, .site-nav .nav-search { opacity: 0; translate: 0 -6px; transition: opacity 180ms ease, translate 220ms cubic-bezier(.22, .8, .2, 1); }
  .site-nav.is-open .nav-links > a, .site-nav.is-open .nav-more > summary, .site-nav.is-open .nav-more-menu a, .site-nav.is-open .nav-search { opacity: 1; translate: 0 0; transition-delay: calc(var(--nav-stagger-index, 0) * 30ms); }
  .site-nav.is-closing .nav-links > a, .site-nav.is-closing .nav-more > summary, .site-nav.is-closing .nav-more-menu a, .site-nav.is-closing .nav-search { opacity: 0; translate: 0 -6px; transition-delay: calc(var(--nav-reverse-index, 0) * 30ms); }
  /* Stack every destination in the compact menu so narrow screens keep one clear reading path. */
  .nav-links { display: flex; align-items: stretch; flex-direction: column; gap: 0; }
  .nav-more summary { display: flex; width: 100%; padding: 10px 7px; border-bottom: 1px solid #edf1ef; font-size: 12px; }
  .nav-more.is-current > summary { border-bottom-color: transparent; border-radius: 10px; }
  .nav-more-menu { position: static; min-width: 0; padding: 0 7px 4px; border: 0; border-radius: 0; background: transparent; box-shadow: none; grid-template-columns: 1fr; gap: 0; }
  .nav-more-menu a { padding: 10px 7px; border-bottom: 1px solid #edf1ef; border-radius: 0; }
  .site-nav a { padding: 10px 7px; border-bottom: 1px solid #edf1ef; border-radius: 10px; font-size: 12px; }
  .site-nav a[aria-current="page"] { border-bottom-color: transparent; }
  .site-nav .nav-search { align-self: start; padding: 9px 12px; border: 1px solid var(--line); border-radius: 999px; }
  /* Keep the shared header glassy, but shield menu labels from content below. */
  .site-nav { background: #f8fcfa; }
  .site-nav a, .site-nav .nav-more > summary, .menu-toggle { min-height: 44px; }
  .hero-grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 27px; padding: 34px; }
  .hero-copy h1 { font-size: clamp(46px, 6vw, 58px); }
  .hero-intro { font-size: 16px; }
  .atlas-paths { padding-block: 44px 50px; }
  .atlas-path-card { min-height: 150px; padding: 17px; }
  .path-title { font-size: 16px; }
  .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
  .feature-band-grid { gap: 30px; }
  .directory-section + .directory-section { margin-top: 22px; }
  .article-intro { gap: 28px; }
  .article-copy h1 { font-size: clamp(36px, 5vw, 49px); }
  .article-layout { grid-template-columns: 130px minmax(0, 1fr); gap: 28px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-note { grid-column: 2; }
}
@media (max-width: 680px) {
  body { font-size: 15px; }
  .shell, .header-inner { width: min(calc(100vw - 30px), var(--shell)); }
  .header-inner, .hero-grid, .hero-copy, .hero-visual, .hero-image-link { min-width: 0; max-width: 100%; }
  .site-header { top: 5px; padding-top: 5px; }
  .header-inner { min-height: 59px; gap: 10px; padding: 7px 8px 7px 13px; }
  .brand img { width: 173px; }
  .menu-toggle { padding: 8px 11px; font-size: 12px; }
  .hero-section { padding-block: 13px 20px; }
  .hero-grid { width: min(calc(100vw - 30px), var(--shell)); grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 25px 20px 17px; border-radius: 21px; }
  .hero-copy, .hero-visual { width: min(100%, calc(100vw - 70px)); }
  .hero-kicker { margin-bottom: 12px; font-size: 10px; }
  .hero-copy h1 { max-width: 540px; font-size: clamp(44px, 11vw, 62px); }
  .hero-intro { margin-top: 15px; font-size: 16px; }
  .hero-actions { gap: 15px; margin-top: 18px; }
  .hero-note { margin-top: 12px; }
  .hero-image-link { aspect-ratio: 1.5 / 1; border-radius: 14px; }
  .hero-visual figcaption { padding-top: 9px; font-size: 10px; }
  .atlas-paths { padding-block: 36px 42px; }
  .section-heading { display: block; margin-bottom: 17px; }
  .section-heading h2 { font-size: 31px; }
  .section-heading p { font-size: 14px; }
  .section-heading .text-link { margin-top: 13px; }
  .atlas-path-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .atlas-path-card { min-height: 150px; gap: 9px; padding: 14px 12px; border-radius: 13px; }
  .path-title { font-size: 15px; }
  .path-count { font-size: 9px; }
  .path-desc { font-size: 10px; }
  .path-arrow { right: 11px; bottom: 9px; }
  .story-feature-band { padding-block: 18px; }
  .feature-band-grid { grid-template-columns: 1fr; gap: 18px; }
  .feature-band-image { aspect-ratio: 1.55 / 1; border-radius: 14px; }
  .feature-band-copy h2 { font-size: 31px; }
  .feature-band-copy > p:not(.feature-meta) { font-size: 14px; }
  .latest-notes { padding-block: 41px 48px; }
  .story-grid { gap: 12px; }
  .story-card { border-radius: 13px; }
  .story-image-link { margin: 7px 7px 0; border-radius: 9px; }
  .story-card-copy { padding: 10px 11px 12px; }
  .story-card-topline { font-size: 9px; }
  .story-card h3 { margin: 7px 0 6px; font-size: 17px; }
  .story-excerpt { min-height: 0; font-size: 10px; }
  .story-card-footer { margin-top: auto; padding-top: 8px; font-size: 9px; }
  .story-read { font-size: 10px; }
  .story-image-badge { right: 6px; bottom: 6px; width: 26px; height: 26px; }
  .story-image-icon { width: 15px; height: 15px; }
  .source-note-section { padding-block: 25px; }
  .source-note-grid { align-items: start; flex-direction: column; gap: 12px; }
  .source-note-grid h2 { font-size: 25px; }
  .source-note-grid p { font-size: 12px; }
  .site-footer { margin-top: 43px; }
  .footer-main { grid-template-columns: 1fr; gap: 24px; padding-block: 34px 22px; }
  .footer-brand img { width: 194px; }
  .footer-note { grid-column: auto; gap: 10px; padding-top: 13px; border-top: 1px solid rgba(226, 239, 233, .2); }
  .directory-main, .legal-main, .article-main { padding-top: 16px; }
  .directory-header { align-items: start; flex-direction: column; gap: 14px; padding-block: 26px 18px; }
  .directory-header h1, .section-hero h1, .search-header h1, .legal-header h1 { font-size: clamp(42px, 10vw, 56px); }
  .directory-header p { font-size: 14px; }
  .directory-count { font-size: 11px; }
  .topic-index { gap: 6px; padding-top: 12px; }
  .topic-index a { padding: 7px 10px; font-size: 10px; }
  .directory-sections { padding-top: 12px; }
  .directory-section { padding-top: 22px; }
  .directory-section + .directory-section { margin-top: 20px; padding-top: 25px; }
  .directory-section-heading { gap: 9px; margin-bottom: 13px; }
  .directory-section-heading h2 { font-size: 23px; }
  .directory-section-heading > span { font-size: 10px; }
  .directory-section-heading .text-link { gap: 5px; font-size: 10px; }
  .section-hero { grid-template-columns: 1fr; gap: 15px; padding-block: 21px 22px; }
  .section-hero-copy > p { margin-top: 11px; font-size: 15px; }
  .section-feature-wrap { width: min(100%, 520px); }
  .section-feature { width: 100%; }
  .section-feature img { height: clamp(210px, 58vw, 320px); }
  .section-feature > span { font-size: 11px; }
  .search-header { grid-template-columns: 1fr; gap: 18px; padding-block: 25px 17px; }
  .search-header > div > p { font-size: 13px; }
  .search-header h1 { font-size: 39px; }
  .search-status { margin-top: -9px; }
  .search-input-wrap { min-height: 48px; padding-left: 12px; }
  .search-input-wrap input { height: 38px; font-size: 12px; }
  .search-input-wrap button { min-height: 38px; padding-inline: 14px; font-size: 11px; }
  .article-intro { grid-template-columns: 1fr; gap: 20px; padding-block: 20px 25px; }
  .article-copy h1 { margin-block: 12px; font-size: clamp(37px, 9vw, 52px); }
  .article-deck { font-size: 16px; }
  .article-byline { margin-top: 13px; font-size: 9px; }
  .article-figure { padding: 6px; border-radius: 15px; }
  .article-image-frame { border-radius: 10px; }
  .article-figure figcaption { align-items: start; flex-direction: column; padding: 9px 4px 3px; font-size: 9px; }
  .article-layout { grid-template-columns: 1fr; gap: 22px; margin-top: 27px; }
  .article-rail { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; padding: 12px; }
  .article-rail > div { padding-top: 7px; }
  .rail-source-link { align-self: center; grid-column: 1 / -1; }
  .article-body-label { margin-bottom: 15px; font-size: 9px; }
  .article-body > p { font-size: 16px; line-height: 1.74; }
  .article-body > h2 { margin-top: 31px; font-size: 27px; }
  .article-body > h3 { font-size: 20px; }
  .article-sources { grid-template-columns: 1fr; gap: 16px; margin-top: 35px; padding-top: 21px; }
  .sources-heading h2 { font-size: 24px; }
  .sources-heading > p { max-width: none; }
  .image-rights-note { grid-column: 1; margin: -1px 0 0 27px; }
  .related-section { padding-top: 26px; }
  .legal-header { padding-block: 26px 18px; }
  .legal-header > p:last-child { font-size: 15px; }
  .legal-body h2 { font-size: 22px; }
  .legal-body p, .legal-body li { font-size: 14px; }
}
@media (max-width: 480px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-image-link { aspect-ratio: 1.68 / 1; }
  .directory-section-heading { flex-wrap: wrap; }
  .directory-section-heading > .text-link { margin-left: auto; }
}
/* WAAPI reads these values so reveal motion stays separate from card hover transforms. */
.viewport-reveal {
  --viewport-reveal-x: 0px;
  --viewport-reveal-y: 28px;
  --viewport-reveal-tilt: 1.4deg;
  --viewport-reveal-scale: 0.988;
  --viewport-reveal-origin: 50% 78%;
  transform-origin: var(--viewport-reveal-origin);
}
.viewport-reveal--content {
  --viewport-reveal-y: 18px;
  --viewport-reveal-tilt: 0.7deg;
  --viewport-reveal-scale: 0.996;
  --viewport-reveal-origin: 50% 84%;
}
.viewport-reveal--from-left {
  --viewport-reveal-x: -24px;
  --viewport-reveal-y: 18px;
  --viewport-reveal-origin: 72% 78%;
}
.viewport-reveal--from-right {
  --viewport-reveal-x: 24px;
  --viewport-reveal-y: 18px;
  --viewport-reveal-origin: 28% 78%;
}
/* Keep staggered cards inside the narrow-screen content gutter. */
@media (max-width: 680px) {
  .viewport-reveal--from-left,
  .viewport-reveal--from-right {
    --viewport-reveal-x: 0px;
    --viewport-reveal-origin: 50% 78%;
  }
}
/* Slow, low-contrast rays, glow, and rising particles give the light layout a submerged depth cue. */
.ocean-light-field { filter: blur(18px); opacity: .76; }
.ocean-light-ray { transform-box: fill-box; transform-origin: top center; animation: ocean-ray-drift 38s ease-in-out infinite alternate; }
.ocean-light-ray--middle { opacity: .55; animation-delay: -13s; }
.ocean-light-ray--right { opacity: .72; animation-delay: -21s; }
.ocean-biolume-field { opacity: .7; }
.ocean-biolume { transform-box: fill-box; transform-origin: center; animation: ocean-biolume-breathe 24s ease-in-out infinite alternate; }
.ocean-biolume--two { animation-delay: -9s; }
.ocean-biolume--three { animation-delay: -16s; }
.ocean-particle-wrap { transform-box: fill-box; transform-origin: center; animation: ocean-particle-rise 19s ease-in-out infinite; }
.ocean-particle-wrap--one { --particle-drift-x: 8px; animation-delay: -2.3s; }
.ocean-particle-wrap--two { --particle-drift-x: -6px; animation-delay: -8.1s; }
.ocean-particle-wrap--three { --particle-drift-x: 5px; animation-delay: -13.6s; }
.ocean-particle-wrap--four { --particle-drift-x: -8px; animation-delay: -5.4s; }
.ocean-particle-wrap--five { --particle-drift-x: 7px; animation-delay: -16.2s; }
.ocean-particle-wrap--six { --particle-drift-x: -5px; animation-delay: -10.4s; }
.ocean-particle-wrap--seven { --particle-drift-x: 6px; animation-delay: -4s; }
.ocean-particle-wrap--eight { --particle-drift-x: -7px; animation-delay: -14.1s; }
.ocean-particle-halo { fill: url(#ocean-particle-gradient); }
.ocean-particle-dot { fill: #347f9a; opacity: .78; }
@keyframes ocean-ray-drift {
  from { transform: translate3d(-4px, 0, 0) scaleX(.98); }
  to { transform: translate3d(5px, 0, 0) scaleX(1.02); }
}
@keyframes ocean-biolume-breathe {
  from { opacity: .58; transform: scale(.96); }
  to { opacity: .94; transform: scale(1.04); }
}
@keyframes ocean-particle-rise {
  0%, 100% { opacity: 0; transform: translate3d(0, 20px, 0) scale(.78); }
  16% { opacity: .68; }
  78% { opacity: .4; transform: translate3d(var(--particle-drift-x, 5px), -72px, 0) scale(1); }
  90% { opacity: .18; }
}
@media (max-width: 680px) {
  .ocean-light-ray--middle { display: none; }
  .ocean-biolume--three, .ocean-particle-wrap--seven, .ocean-particle-wrap--eight { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ocean-light-ray, .ocean-biolume, .ocean-particle-wrap { animation: none !important; }
  html { scroll-behavior: auto; }
  .story-card:hover, .story-card:focus-within { translate: none !important; }
  .story-card:hover .story-image, .story-card:focus-within .story-image,
  .story-card:hover .story-image-badge, .story-card:focus-within .story-image-badge { transform: none !important; }
  .story-card:hover .story-card-copy, .story-card:focus-within .story-card-copy { translate: none !important; }
  .section-feature:hover, .section-feature:focus-visible { translate: none !important; }
  .section-feature:hover img, .section-feature:focus-visible img { filter: none !important; transform: none !important; }
  .section-feature:hover > span, .section-feature:focus-visible > span { translate: none !important; }
  .section-feature:hover > span span, .section-feature:focus-visible > span span { transform: none !important; }
  .viewport-reveal,
  .viewport-reveal.is-visible {
    opacity: 1 !important;
    translate: none !important;
    rotate: none !important;
    scale: none !important;
    filter: none !important;
  }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Turn only the homepage arrival into an immersive scene; inner routes keep the light reading canvas. */
.home-page .hero-section {
  position: relative;
  isolation: isolate;
  min-height: clamp(420px, 52vh, 500px);
  min-height: clamp(420px, 52svh, 500px);
  width: min(calc(100% - 48px), 1160px);
  /* The sticky header sits 10px below its flow position on desktop. */
  margin: 34px auto 28px;
  overflow: hidden;
  padding: 0;
  border-radius: 26px;
  background: #031927;
  color: #f3fbfc;
}
.home-page .hero-section::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, #031927 0%, rgba(3, 25, 39, .98) 25%, rgba(3, 25, 39, .84) 43%, rgba(3, 25, 39, .38) 64%, rgba(3, 25, 39, .08) 100%),
    linear-gradient(180deg, rgba(1, 15, 27, .18), rgba(1, 15, 27, .12));
}
.home-page .hero-visual {
  position: absolute;
  z-index: 0;
  inset: 0 0 0 43%;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
  pointer-events: none;
}
.home-page .hero-image-link {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  max-width: none;
  aspect-ratio: auto;
  overflow: hidden;
  border-radius: 0;
  background: #031927;
  pointer-events: auto;
}
.home-page .hero-image-link img {
  position: absolute;
  inset: 0 auto 0 0;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center 8%;
  filter: saturate(.88) brightness(.84);
  transition: transform 1.4s cubic-bezier(.2, .7, .2, 1), filter 1.4s ease;
}
.home-page .hero-image-link:hover img { transform: scale(1.025); filter: saturate(1) brightness(.9); }
.home-page .hero-water-canvas {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  mix-blend-mode: screen;
  pointer-events: none;
  transition: opacity 900ms ease;
}
.home-page .hero-water-canvas.is-active { opacity: .72; }
.home-page .hero-figure-caption {
  position: absolute;
  z-index: 4;
  right: 24px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 8px 12px;
  border: 1px solid rgba(180, 226, 229, .16);
  border-radius: 10px;
  background: rgba(2, 22, 34, .38);
  color: rgba(229, 245, 246, .8);
  font-size: 10px;
  line-height: 1.45;
  text-shadow: 0 1px 8px rgba(0, 9, 18, .4);
  backdrop-filter: blur(8px);
}
.home-page .hero-figure-caption strong { color: #f5feff; font-size: 12px; }
.home-page .hero-depth-atmosphere {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}
.home-page .hero-grid {
  position: relative;
  z-index: 4;
  display: grid;
  min-height: inherit;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  padding: 34px 0;
  border: 0;
  border-radius: 0;
  background: none;
}
.home-page .hero-copy { max-width: 560px; }
.home-page .hero-kicker { color: #b6e6e4; font-size: 12px; letter-spacing: .035em; }
.home-page .hero-kicker span { color: #63d7cf; }
.home-page .hero-copy h1 { color: #f4fbfc; font-size: clamp(50px, 5vw, 68px); }
.home-page .hero-copy h1 em { color: #6ed7c7; }
.home-page .hero-intro { max-width: 460px; color: rgba(226, 241, 244, .86); font-size: clamp(15px, 1.3vw, 17px); }
.home-page .hero-actions { margin-top: 20px; }
.home-page .button-primary { border-color: #2eb9a9; background: #168d80; box-shadow: 0 8px 30px rgba(16, 153, 142, .2); }
.home-page .button-primary:hover { border-color: #54d4c4; background: #11776f; }
.home-page .hero-secondary-link { color: #e2f0f1; }
.home-page .hero-secondary-link span { color: #68d9ca; }
.home-page .hero-note { color: rgba(195, 220, 223, .74); }

/* Let the beams travel far enough to register while particles rise through moving water. */
.hero-depth-shaft { transform-box: fill-box; transform-origin: top center; opacity: .9; animation: hero-depth-ray-drift 14s ease-in-out infinite alternate; }
.hero-depth-shaft--two { opacity: .68; animation-delay: -5s; }
.hero-depth-shaft--three { opacity: .78; animation-delay: -9s; }
.hero-depth-bioglow { transform-box: fill-box; transform-origin: center; opacity: .7; animation: hero-depth-biolume 8s ease-in-out infinite alternate; }
.hero-depth-bioglow--two { animation-delay: -11s; }
.hero-depth-particle { transform-box: fill-box; transform-origin: center; opacity: .54; animation: hero-depth-rise 10s ease-in-out infinite; }
.hero-depth-particle--one { --hero-particle-x: 20px; animation-delay: -2s; }
.hero-depth-particle--two { --hero-particle-x: -14px; animation-delay: -15s; }
.hero-depth-particle--three { --hero-particle-x: 11px; animation-delay: -8s; }
.hero-depth-particle--four { --hero-particle-x: -18px; animation-delay: -19s; }
.hero-depth-particle--five { --hero-particle-x: 15px; animation-delay: -11s; }
.hero-depth-particle--six { --hero-particle-x: -10px; animation-delay: -5s; }
.hero-depth-particle--seven { --hero-particle-x: 17px; animation-delay: -17s; }
.hero-depth-particle--eight { --hero-particle-x: -12px; animation-delay: -13s; }
@keyframes hero-depth-ray-drift {
  from { transform: translate3d(-56px, 0, 0) scaleX(.88); }
  to { transform: translate3d(64px, 0, 0) scaleX(1.12); }
}
@keyframes hero-depth-biolume {
  from { opacity: .32; transform: scale(.82); }
  to { opacity: 1; transform: scale(1.22); }
}
@keyframes hero-depth-rise {
  0%, 100% { opacity: 0; transform: translate3d(0, 90px, 0) scale(.65); }
  18% { opacity: .95; }
  82% { opacity: .72; transform: translate3d(var(--hero-particle-x, 8px), -220px, 0) scale(1.14); }
}

@media (max-width: 900px) {
  .home-page .hero-section { min-height: clamp(420px, 56vh, 500px); min-height: clamp(420px, 56svh, 500px); }
  .home-page .hero-visual { left: 40%; }
  .home-page .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .62fr); gap: 22px; }
  .home-page .hero-copy h1 { font-size: clamp(48px, 6vw, 62px); }
  .home-page .hero-figure-caption { right: 20px; bottom: 18px; }
}
@media (max-width: 680px) {
  .home-page .hero-section {
    min-height: clamp(460px, 58vh, 500px);
    min-height: clamp(460px, 58svh, 500px);
    width: min(calc(100% - 30px), 1160px);
    /* Mobile header offset is 5px, leaving a consistent 24px visual gap. */
    margin: 29px auto 20px;
    border-radius: 19px;
  }
  .home-page .hero-section::before {
    background:
      linear-gradient(180deg, rgba(1, 15, 27, .1) 0%, rgba(1, 15, 27, .3) 24%, rgba(1, 14, 26, .8) 55%, #031927 100%),
      linear-gradient(90deg, rgba(1, 13, 25, .35), rgba(1, 19, 33, .05));
  }
  .home-page .hero-visual { inset: 0; }
  .home-page .hero-grid {
    width: min(calc(100% - 34px), var(--shell));
    display: flex;
    align-items: flex-end;
    padding: 0 0 34px;
  }
  .home-page .hero-copy { width: 100%; max-width: 530px; }
  .home-page .hero-kicker { margin-bottom: 10px; font-size: 10px; }
  .home-page .hero-copy h1 { max-width: 460px; font-size: clamp(42px, 10.8vw, 51px); }
  .home-page .hero-intro { max-width: 43ch; margin-top: 12px; font-size: 14px; }
  .home-page .hero-actions { gap: 14px; margin-top: 16px; }
  .home-page .hero-actions .button { min-height: 42px; padding: 8px 13px; font-size: 11px; }
  .home-page .hero-secondary-link { font-size: 11px; }
  .home-page .hero-note { margin-top: 10px; font-size: 9px; }
  /* Keep the sponge on the right side of the compact phone crop. */
  .home-page .hero-image-link img { width: 100%; object-position: 20% center; }
  /* Keep the compact phone hero free of caption/CTA collisions; the featured article carries these details. */
  .home-page .hero-figure-caption { display: none; }
  .home-page .hero-water-canvas.is-active { opacity: .54; }
  .home-page .home-page-water-canvas.is-active { opacity: .70; }
  .hero-depth-shaft--three, .hero-depth-particle--seven, .hero-depth-particle--eight { display: none; }
  .hero-depth-bioglow { opacity: .5; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-water-canvas, .hero-depth-shaft, .hero-depth-bioglow, .hero-depth-particle { animation: none !important; transition: none !important; }
}
/* Keep the menu's fade feedback while removing movement and stagger for reduced-motion users. */
@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
  .site-nav { translate: none !important; transition-duration: 180ms, 0s, 0s !important; transition-delay: 0ms, 0ms, 180ms !important; }
  .site-nav.is-opening, .site-nav.is-open { transition-delay: 0ms, 0ms, 0ms !important; }
  .site-nav .nav-links > a, .site-nav .nav-more > summary, .site-nav .nav-more-menu a, .site-nav .nav-search {
    translate: none !important;
    transition-duration: 180ms !important;
    transition-delay: 0ms !important;
  }
}
