/* Shared ocean palette for the homepage, reading pages and catalogue. */
:root {
  --ocean: #08181d; --ocean-panel: #0f272d; --mint: #9de6ce;
  --page-text: #edf4f1; --green: #9de6ce; --line: #3b5b61; --muted: #bdcecc;
  --nav: 4.4rem; --radius: 1rem; --wide: 76rem;
  color-scheme: dark;
  font-family: "Aptos", "Segoe UI", system-ui, sans-serif;
  scroll-padding-top: calc(var(--nav) + 1.75rem);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--ocean); color: var(--page-text); }
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible, summary:focus-visible { outline: .16rem solid #e98949; outline-offset: .25rem; }
h1, h2, h3 { margin: 0; line-height: 1.07; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
img { display: block; max-width: 100%; height: auto; }
.shell { width: min(var(--wide), calc(100% - 2 * clamp(1.15rem, 5vw, 4.5rem))); margin-inline: auto; }
.skip { z-index: 20; position: fixed; inset: 1rem auto auto 1rem; padding: .6rem 1rem; background: var(--mint); color: var(--ocean); transform: translateY(-200%); }
.skip:focus { transform: none; }
.site-header { position: sticky; inset-block-start: 0; z-index: 10; background: #0a2026; color: #eef7f4; border-bottom: 1px solid #24434a; }
.header-inner { min-height: var(--nav); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-weight: 720; text-decoration: none; white-space: nowrap; font-size: 1.08rem; }
.primary, .mobile nav { display: flex; gap: clamp(1rem, 2.7vw, 2rem); }
.primary a, .mobile nav a { display: flex; align-items: center; min-height: 2.75rem; padding: .55rem .2rem; font-size: .94rem; text-decoration: none; }
.primary a:hover, .mobile a:hover { color: var(--mint); }
.primary [aria-current], .mobile [aria-current] { color: var(--mint); text-decoration: underline; text-decoration-thickness: .1em; }
.mobile { display: none; }
.mobile summary { display: flex; align-items: center; gap: .55rem; min-height: 2.75rem; list-style: none; cursor: pointer; border: 1px solid #64878b; border-radius: .5rem; padding: .45rem .75rem; }
.mobile summary::-webkit-details-marker { display: none; }
.menu-icon { position: relative; width: .95rem; height: .75rem; border-block: 2px solid currentColor; }
.menu-icon::before { content: ''; position: absolute; inset: calc(50% - 1px) 0 auto; height: 2px; background: currentColor; }
.mobile[open] .menu-icon { border-color: transparent; }
.mobile[open] .menu-icon::before { transform: rotate(45deg); }
.mobile[open] .menu-icon::after { content: ''; position: absolute; inset: calc(50% - 1px) 0 auto; height: 2px; background: currentColor; transform: rotate(-45deg); }
.mobile nav { position: absolute; inset: 100% 0 auto; flex-direction: column; gap: 0; max-height: calc(100vh - var(--nav) - 1px); max-height: calc(100dvh - var(--nav) - 1px); overflow-y: auto; overscroll-behavior: contain; padding: .55rem max(1.15rem, 5vw); background: #0a2026; border-bottom: 1px solid #4b6f72; }
.mobile nav a { flex-shrink: 0; padding-inline: .4rem; }
/* Show only the active navigation variant to both keyboard users and assistive technology. */
@media (max-width: 68rem), (max-width: 85rem) and (hover: none) and (pointer: coarse) {
  :root { --nav: 3.9rem; }
  .primary { display: none; }
  .mobile { display: block; }
}
.hero {
  background: url('/assets/images/hero-depth-contours.webp') right center / auto 118% no-repeat,
    linear-gradient(112deg, #0c2834, #091c27 57%, #0b2532);
  border-bottom: 1px solid #254450;
}
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 6vw, 5.75rem); padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.eyebrow { font-size: .78rem; font-weight: 750; text-transform: uppercase; letter-spacing: .115em; color: var(--green); }
.hero h1 { margin-block: .65rem 1.15rem; font: 400 clamp(3.1rem, 7vw, 6.7rem)/.95 Georgia, serif; letter-spacing: -.06em; text-wrap: initial; }
.hero h1 span { display: block; color: #9de6ce; }
.hero-deck { max-width: 29rem; line-height: 1.65; font-size: clamp(1rem, 2vw, 1.13rem); color: #c0d5da; }
.hero-search-panel { min-width: 0; padding: clamp(1.1rem, 3vw, 2rem); border: 1px solid #47717a; border-radius: .7rem; background: #102a35; }
.hero-search-panel h2 { font: 400 clamp(1.5rem, 3vw, 2.1rem)/1.13 Georgia, serif; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.article-search { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem; width: min(100%, 38rem); margin-top: 1.5rem; }
.article-search input { min-width: 0; min-height: 2.85rem; padding: .7rem .9rem; border: 1px solid #608580; border-radius: .55rem; background: #0c2c3d; color: var(--page-text); font: inherit; }
.article-search input::placeholder { color: var(--muted); }
.article-search button { border: 1px solid transparent; font: inherit; font-weight: 700; cursor: pointer; }
.article-search :is(input, button):focus-visible { outline: .16rem solid #e98949; outline-offset: .18rem; }
.hero .article-search input { border-color: #3d7887; background: #0c2c3d; color: #edf7f7; color-scheme: dark; }
.hero .article-search { margin-top: 1rem; }
.hero .article-search input::placeholder { color: #adc6cf; }
.hero .article-search button { background: #9de6ce; }
.article-search button:hover { filter: brightness(1.08); }
.hero-suggestions { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin-top: 1rem; color: #c1d5da; font-size: .86rem; }
.hero-suggestions a { border: 1px solid #4c6d75; border-radius: .3rem; padding: .37rem .62rem; text-decoration: none; }
.hero-suggestions a:hover { border-color: #72d8db; color: #d9ffff; }
.hero-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-block: 0; padding: clamp(1.3rem, 4vw, 3rem) 0 .2rem; list-style: none; }
.hero-facts a { display: grid; align-content: start; gap: .5rem; height: 100%; padding: 1rem; background: #0b2431; border: 1px solid #2f5969; border-top-color: #60938c; border-radius: .5rem; text-decoration: none; }
.hero-facts a:hover { border-color: #72d8db; }
.hero-facts strong { color: #75e3e0; font-size: clamp(1.3rem, 2.55vw, 2rem); font-variant-numeric: tabular-nums; line-height: 1.15; }
.hero-facts span { color: #c3d7da; font-size: .87rem; line-height: 1.4; }
.catalogue-search { margin-top: 1.1rem; }
.search-status:not(:empty), .catalogue-search noscript p { margin-top: .75rem; color: var(--muted); }
.search-status a { color: var(--green); font-weight: 680; }
.button { display: inline-block; padding: .8rem 1.05rem; border-radius: .55rem; background: var(--mint); color: var(--ocean); font-weight: 700; text-decoration: none; transition: transform 150ms ease; }
.button:active { transform: scale(.98); }
.text-link { font-size: .94rem; font-weight: 680; }
/* The homepage alternates compact reading lists with wide photo-led features. */
.home-section { padding-block: clamp(2.2rem, 5vw, 4.15rem); }
.home-section + .home-section { border-top: 1px solid #36555a; }
.home-section h2 { font: 400 clamp(2rem, 3.8vw, 3.15rem)/1.08 Georgia, serif; }
.pathways-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.45rem; }
.reading-path { display: grid; grid-template-rows: auto 1fr; border: 1px solid #3b5b61; border-radius: var(--radius); background: var(--ocean-panel); }
.reading-path-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0; background: #08181d; }
.reading-path-copy { display: grid; grid-template-rows: auto 1fr auto; grid-row: 2; padding: clamp(1rem, 2.7vw, 1.65rem); }
.reading-path h3, .home-category h3 { font-size: 1.13rem; line-height: 1.25; }
.reading-path p, .home-category p, .feature-heading > p:last-child, .card p { color: #c3d4d2; line-height: 1.55; }
.reading-path p, .home-category p { font-size: .94rem; margin-top: .55rem; }
.reading-path ol { margin: 1.05rem 0 0; padding-left: 1.3rem; }
.reading-path li { padding-left: .25rem; }
.reading-path li::marker { color: var(--mint); font-weight: 700; }
.reading-path li + li { border-top: 1px solid #36555a; }
.reading-path li a { display: block; padding-block: .65rem; line-height: 1.4; }
.reading-path li a:hover, .home-section .text-link:hover { color: var(--mint); }

/* Schematic bands show the order of the zones. The labels carry the actual ranges. */
.home-depth-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 1rem; margin-top: 1.45rem; }
.home-depth-figure { margin: 0; }
.home-depth-figure ol { margin: 0; padding: 0; border: 1px solid #517779; border-radius: var(--radius); overflow: hidden; list-style: none; }
.home-depth-figure li { display: grid; grid-template-columns: minmax(7.5rem, .34fr) minmax(0, 1fr); gap: .85rem; padding: .85rem 1rem; background: #1b535c; }
.home-depth-figure li + li { border-top: 1px solid #517779; }
.home-depth-figure li:nth-child(2) { background: #153f50; }
.home-depth-figure li:nth-child(3) { background: #112e43; }
.home-depth-figure li:nth-child(4) { background: #102638; }
.home-depth-figure li:nth-child(5) { background: #0b1e2d; }
.home-depth-figure h3 { margin-top: .3rem; font-size: 1.08rem; }
.layer-range, .home-dive-timeline time { color: var(--mint); font-variant-numeric: tabular-nums; font-size: .94rem; font-weight: 700; line-height: 1.35; }
.layer-properties, .timeline-evidence { margin: 0; color: #d0dfde; font-size: .94rem; line-height: 1.55; }
.layer-properties > div { display: grid; grid-template-columns: 4.2rem minmax(0, 1fr); gap: .45rem; }
.layer-properties dt, .timeline-evidence dt { color: var(--page-text); font-weight: 700; }
.layer-properties dd, .timeline-evidence dd { margin: 0; }
.layer-properties > div + div, .timeline-evidence > div + div { margin-top: .4rem; }
.layer-link { display: inline-block; margin-top: .55rem; color: var(--mint); font-size: .9rem; font-weight: 680; }
.home-depth-example p { color: #d0dfde; font-size: .94rem; line-height: 1.55; }
.home-depth-figure figcaption { color: var(--muted); }
.home-depth-example { border: 1px solid #3b5b61; border-radius: var(--radius); padding: clamp(1rem, 3vw, 1.6rem); background: var(--ocean-panel); }
.home-depth-example h3, .home-dive-timeline h3 { font: 400 clamp(1.2rem, 2.4vw, 1.6rem)/1.15 Georgia, serif; }
.home-depth-example p { margin-top: .75rem; }
.home-depth-example .text-link { display: inline-block; margin-top: .9rem; }
.home-depth-side { display: grid; grid-template-rows: auto 1fr; gap: .75rem; }
.depth-distance { display: grid; grid-template-rows: minmax(7.6rem, 1fr) auto; margin: 0; padding: .8rem 1.1rem .65rem; background: #102638; border: 1px solid var(--line); border-radius: var(--radius); }
/* The axis places the sighting one quarter of the distance from surface to seabed. */
.depth-distance-scale { display: grid; grid-template-rows: 1fr 3fr; min-height: 7.6rem; margin: .3rem 0 .65rem .4rem; }
.depth-distance-upper, .depth-distance-lower { position: relative; border-left: 1px solid #78adae; }
.depth-distance-lower { display: grid; align-items: center; }
.depth-point { position: absolute; left: .85rem; font-size: .85rem; line-height: 1.25; }
.depth-point::before { content: ''; position: absolute; left: -1.06rem; top: 50%; width: .36rem; height: .36rem; border-radius: 50%; background: var(--mint); transform: translateY(-50%); }
.depth-point strong { color: var(--mint); margin-right: .3rem; }
.depth-point.surface { top: 0; transform: translateY(-50%); }
.depth-point.jelly, .depth-point.seabed { bottom: 0; transform: translateY(50%); }
.depth-gap { padding-left: .85rem; color: var(--muted); font-size: .84rem; }
.depth-distance figcaption { font-size: .78rem; }
.home-dive-timeline { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; margin: 1.8rem 0 0; padding: 0; }
.home-dive-timeline li { position: relative; border-top: 1px solid #517779; padding: 1.15rem 1rem 0 0; }
.home-dive-timeline li::before { content: ''; position: absolute; top: -.3rem; left: 0; width: .6rem; height: .6rem; border-radius: 50%; background: var(--mint); }
.home-dive-timeline h3 { margin-block: .55rem .5rem; }
.timeline-evidence dt { font-size: .85rem; }
.timeline-evidence > div + div { margin-top: .75rem; }
.timeline-links { display: grid; justify-items: start; gap: .45rem; margin-top: .95rem; font-size: .88rem; }
.timeline-source { color: var(--mint); font-weight: 680; }
.home-features { display: grid; gap: clamp(1.6rem, 4vw, 3.4rem); margin-top: 1.5rem; }
.home-feature { display: grid; gap: 1rem; }
.home-feature + .home-feature { border-top: 1px solid #36555a; padding-top: clamp(1.6rem, 4vw, 3rem); }
.feature-heading h3 { font: 400 clamp(1.65rem, 3vw, 2.4rem)/1.1 Georgia, serif; margin-block: .35rem .45rem; }
.feature-heading > p:last-child { max-width: 48rem; }
.feature-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: .85rem; }
.feature-grid .card { max-width: none; min-width: 0; }
.feature-grid h4 { font: 400 clamp(1.15rem, 2.5vw, 1.6rem)/1.2 Georgia, serif; margin: 0; text-wrap: balance; }
.feature-lead .card-image { aspect-ratio: 2.25 / 1; }
.feature-lead .card-copy { position: relative; padding-right: 2.65rem; }
.feature-lead .card-copy > p { margin-top: .5rem; }
.feature-lead .card-copy > span { position: absolute; top: 1rem; right: 1rem; color: var(--mint); }
.feature-related { display: grid; grid-auto-rows: 1fr; gap: .85rem; }
.feature-grid .feature-article { display: grid; grid-template-columns: minmax(5.4rem, .8fr) minmax(0, 1fr); }
.feature-article .card-image { aspect-ratio: auto; min-height: 6rem; position: relative; border-radius: calc(var(--radius) - 1px) 0 0 calc(var(--radius) - 1px); }
.feature-article img { position: absolute; inset: 0; }
.feature-article .card-copy { align-self: center; }
.feature-article .card-copy > span { display: inline-block; margin-top: .35rem; color: var(--mint); }
.home-catalogue .section-heading { align-items: center; }
.home-categories { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: .8rem; margin-top: 1.4rem; }
.home-category { display: grid; grid-template-rows: auto 1fr auto; padding: 1rem; border: 1px solid #3b5b61; border-radius: .75rem; background: var(--ocean-panel); text-decoration: none; }
.home-category:hover { border-color: #64b29c; }
.home-category h3 { display: flex; justify-content: space-between; gap: .45rem; }
.home-category h3 > span, .home-category small { color: var(--mint); }
.home-category small { margin-top: .9rem; }
.shelf { padding-block: 2.5rem; }
.section-heading { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .6rem 1rem; margin-bottom: 1rem; }
.section-heading h2, .catalogue h2 { font: 400 clamp(1.8rem, 3.5vw, 2.5rem)/1.1 Georgia, serif; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: 1rem; }
.card { background: var(--ocean-panel); border: 1px solid var(--line); border-radius: var(--radius); display: block; text-decoration: none; transition: transform 170ms ease, border-color 170ms ease; max-width: 25rem; }
.card-image { aspect-ratio: 8/5; border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0; overflow: hidden; background: #0e2629; }
.card-image img { width: 100%; height: 100%; object-fit: cover; }
.card-image-contained img { object-fit: contain; }
.card-copy { padding: 1rem; }
.card h3 { font: 400 1.38rem/1.14 Georgia, serif; margin-block: .4rem .5rem; }
.card p { color: var(--muted); font-size: .9rem; line-height: 1.55; }
.card p.search-excerpt { margin-top: .8rem; padding: .55rem 0 0 .7rem; border-left: 2px solid #62978d; overflow-wrap: anywhere; }
.search-excerpt mark { color: var(--ocean); background: var(--mint); border-radius: .15rem; padding-inline: .08rem; }
.card-arrow { display: inline-block; margin-top: .65rem; font-weight: 750; }
@media (hover: hover) and (pointer: fine) { .card:hover { transform: translateY(-.18rem); border-color: #64b29c; } }
.catalogue, .information, .article-heading { padding-block: 2rem 2.4rem; }
.breadcrumb { color: var(--muted); margin-bottom: clamp(1.2rem, 3vw, 3rem); font-size: .88rem; line-height: 1.6; }
.intro { font-size: clamp(1.03rem, 2.2vw, 1.3rem); line-height: 1.55; max-width: 42rem; margin-top: .85rem; color: var(--muted); }
.catalogue h1, .information h1, .article h1 { font: 400 clamp(2.55rem, 6.9vw, 5.2rem)/.99 Georgia, serif; letter-spacing: -.043em; max-width: 54rem; margin-block: .4rem .25rem; }
.topic-links { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.5rem; }
.topic-links a { display: inline-block; color: var(--green); border: 1px solid var(--line); border-radius: .5rem; padding: .55rem .8rem; text-decoration: none; }
.topic-links a:hover { border-color: var(--green); }
.catalogue .shelf h2 { margin-bottom: 1rem; }
.article-heading .eyebrow span { color: var(--muted); }
.article-cover { margin: 0 0 2.6rem; }
.article-cover img { width: 100%; max-height: 34rem; object-fit: cover; border-radius: var(--radius); }
figcaption { color: var(--muted); line-height: 1.45; font-size: .88rem; margin-top: .55rem; }
.reading-grid { display: grid; grid-template-columns: minmax(10rem, 14rem) minmax(0, 46rem); gap: clamp(1.25rem, 4vw, 4rem); }
.reading-aside nav { position: sticky; top: calc(var(--nav) + 1.5rem); display: grid; gap: .7rem; padding: .9rem 1rem; border-left: 1px solid var(--line); max-height: calc(100vh - var(--nav) - 2rem); overflow: auto; }
.reading-aside nav a { color: var(--muted); font-size: .9rem; overflow-wrap: anywhere; }
.reading-column { max-width: 46rem; min-width: 0; }
.reading-column p { font: 400 clamp(1.08rem, 2vw, 1.21rem)/1.73 Georgia, serif; margin-block: 0 1.15rem; }
.reading-column h2 { font: 400 clamp(1.6rem, 3.2vw, 2.18rem)/1.13 Georgia, serif; margin-block: 2rem .8rem; }
.reading-column li { line-height: 1.55; margin-bottom: .45rem; }
.reading-column a { color: var(--green); overflow-wrap: anywhere; }
.sources { margin-top: 2rem; border-top: 1px solid var(--line); }
.sources ul { padding-left: 1.3rem; }
.sources li p { font: inherit; margin-block: .18rem .7rem; color: var(--muted); }
.explainer { margin: 2rem 0; border-radius: var(--radius); background: var(--ocean-panel); border: 1px solid var(--line); padding: clamp(1rem, 3vw, 1.65rem); }
.explainer h2 { margin-block: 0 .9rem; }
.explainer ol { padding: 0; margin: 0; list-style: none; counter-reset: steps; }
.explainer li { counter-increment: steps; position: relative; margin: 0; display: grid; grid-template-columns: minmax(7.5rem, 1fr) 2fr; gap: .6rem; padding: .68rem .85rem .68rem 1.15rem; border-left: .24rem solid #408371; border-bottom: 1px solid var(--line); }
.explainer li:last-child { border-bottom: 0; }
.explainer:not(.depth-figure) ol { display: grid; gap: .4rem; }
.explainer:not(.depth-figure) li {
  background: #102e38;
  border: 1px solid var(--line);
  border-radius: .45rem;
  padding-left: 2.75rem;
}
.explainer:not(.depth-figure) li::before {
  content: counter(steps);
  font-variant-numeric: tabular-nums;
  position: absolute;
  inset: .63rem auto auto .65rem;
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  background: #cce3d8;
  color: #14463d;
  border-radius: 50%;
  font-size: .8rem;
  font-weight: 700;
}
.depth-figure li { color: #fff; background: #1d5a61; border: 0; }
.depth-figure li:nth-child(2) { background: #174752; }
.depth-figure li:nth-child(3) { background: #123844; }
.depth-figure li:nth-child(4) { background: #0f2933; }
.depth-figure li:nth-child(5) { background: #091f28; }
.reading-column .article-reading-path { margin-top: 2rem; padding: 1.1rem 1.35rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ocean-panel); }
.reading-column .article-reading-path h2 { margin-top: 0; }
.reading-column .article-reading-path p { margin-bottom: .65rem; color: var(--muted); font: inherit; }
.article-reading-path ol { padding-left: 1.4rem; margin-bottom: 0; }
.reading-column .article-reading-path .path-return { margin: .85rem 0 0; }
.article-reading-path [aria-current="step"] { color: var(--page-text); }
.path-step-label { display: inline-block; margin-left: .35rem; color: var(--mint); font-size: .82em; white-space: nowrap; }
.reading-column .diagram-check { margin: -1rem 0 2rem; padding: 1rem 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ocean-panel); }
.reading-column .diagram-check h2 { margin: 0 0 .6rem; font-size: clamp(1.3rem, 2.3vw, 1.7rem); }
.reading-column .diagram-check p { margin: 0; }
.diagram-check summary { width: fit-content; min-height: 2.75rem; padding: .55rem .35rem .55rem 0; color: var(--mint); font-weight: 700; cursor: pointer; }
.diagram-check details:not([open]) .hide-answer, .diagram-check details[open] .show-answer { display: none; }
.reading-column .diagram-check details[open] p { padding: .55rem 0 .25rem .75rem; border-left: 2px solid #62978d; }
.term-note { color: var(--muted); }
.home-lab { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding: clamp(1.05rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--ocean-panel); }
.home-lab h2 { font-size: clamp(1.65rem, 3vw, 2.45rem); }
.home-lab p { max-width: 42rem; margin-top: .6rem; color: var(--muted); line-height: 1.6; }
.dive-lab { padding-top: clamp(1.75rem, 5vw, 3.6rem); }
.lab-header h1 { margin-block: .6rem; font: 400 clamp(2.55rem, 6.9vw, 5.2rem)/1 Georgia, serif; letter-spacing: -.04em; }
.lab-header .text-link { display: inline-block; margin-top: 1rem; color: var(--mint); }
.lab-evidence { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.7rem; align-items: start; }
.lab-panel { min-width: 0; padding: clamp(1rem, 2.6vw, 1.6rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--ocean-panel); }
.lab-panel h2 { font: 400 clamp(1.45rem, 2.7vw, 2.05rem)/1.13 Georgia, serif; }
.lab-panel p, .lab-panel dd { line-height: 1.55; overflow-wrap: anywhere; }
.lab-panel > p { margin-top: .65rem; color: var(--muted); }
.lab-panel a, .lab-disclosure summary { color: var(--mint); }
.lab-clip video, .lab-track img { display: block; width: 100%; height: auto; border-radius: .55rem; background: #07141c; }
.lab-clip video { aspect-ratio: 16 / 9; margin-top: 1rem; }
.lab-track { margin: 1rem 0 0; }
.lab-track a { display: inline-block; }
.lab-mark:not([hidden]) { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem 1rem; margin-top: .8rem; }
.lab-mark button { font: inherit; font-weight: 700; cursor: pointer; border: 0; }
.lab-mark button:focus-visible, .lab-worksheet :is(input, textarea):focus-visible { outline: .16rem solid #e98949; outline-offset: .2rem; }
.lab-credit, .lab-hint, .lab-mark p { font-size: .87rem; }
.lab-record { grid-column: 1 / -1; }
.lab-record dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: .7rem; margin: 1rem 0; }
.lab-record dl > div { padding: .7rem; border-top: 1px solid var(--line); }
.lab-record dt { color: var(--muted); font-size: .85rem; }
.lab-record dd { margin: .3rem 0 0; font-weight: 650; }
.lab-workspace { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 1rem; margin-top: 1rem; }
.lab-review ul { margin: .75rem 0 0; padding-left: 1.3rem; color: var(--muted); line-height: 1.55; }
.lab-review li + li { margin-top: .45rem; }
.lab-review li::marker { color: var(--mint); }
.lab-advanced { margin-top: 1rem; }
.lab-advanced ol { margin: 1rem 0 0; padding-left: 1.5rem; }
.lab-advanced li { border-top: 1px solid var(--line); padding: .75rem .2rem; }
.lab-advanced li > div { display: grid; grid-template-columns: minmax(10rem, 1fr) minmax(0, 2fr); gap: .35rem 1.2rem; align-items: baseline; }
.lab-advanced li a { font-weight: 680; }
.lab-advanced li::marker { color: var(--mint); font-weight: 700; }
.lab-advanced li p { color: var(--muted); font-size: .94rem; }
.lab-worksheet label { display: block; margin: 1rem 0 .35rem; font-weight: 700; }
.lab-worksheet :is(input, textarea) { width: 100%; padding: .65rem .75rem; border: 1px solid #608580; border-radius: .45rem; background: #091c24; color: inherit; font: inherit; }
.lab-worksheet input { max-width: 9rem; }
.lab-worksheet textarea { resize: vertical; }
.lab-disclosure { margin-top: .9rem; padding-top: .65rem; border-top: 1px solid var(--line); }
.lab-disclosure summary { width: fit-content; padding-block: .35rem; cursor: pointer; font-weight: 680; }
.lab-disclosure p { margin-top: .65rem; }
@media (max-width: 47rem) { .lab-evidence, .lab-workspace { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 34rem) { .lab-advanced li > div { grid-template-columns: minmax(0, 1fr); } }
.information { min-height: 60vh; }
.information .reading-column { margin-top: 1.4rem; }
.contact-form { display: grid; gap: .85rem; max-width: 35rem; }
.contact-form label { display: grid; gap: .35rem; font-weight: 650; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: .62rem .75rem; background: #0c2c3d; border: 1px solid #608580;
  border-radius: .45rem; font: inherit; font-weight: 400; color: var(--page-text);
}
.contact-form input:focus-visible, .contact-form textarea:focus-visible, .contact-form button:focus-visible {
  outline: .16rem solid var(--green); outline-offset: .19rem;
}
.contact-form textarea { resize: vertical; }
.contact-form button { width: fit-content; font: inherit; font-weight: 700; border: 1px solid #5da28c; cursor: pointer; }
.contact-form button:disabled { opacity: .55; cursor: default; }
.contact-form [role=status] { min-height: 1.5rem; font: inherit; color: var(--green); }
.site-footer { margin-top: 3rem; border-top: 1px solid #36555a; background: #0a2026; color: #e7f0ed; }
.footer-inner { display: grid; gap: 1rem 2rem; grid-template-columns: 1fr auto; padding-block: 2rem; }
.footer-inner p { color: #c2d1cf; margin-top: .55rem; font-size: .9rem; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-content: start; font-size: .9rem; }
.copyright { grid-column: 1 / -1; }
@media (max-width: 47rem) {
  .hero { background-position: right top; background-size: auto 74%; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 1.65rem; padding-block: 2.65rem; }
  .hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
  .hero-facts strong { font-size: clamp(1.05rem, 4.65vw, 1.25rem); }
  .pathways-grid, .feature-grid { grid-template-columns: minmax(0, 1fr); }
  .feature-lead .card-image { aspect-ratio: 16 / 9; }
  .feature-grid .feature-article { grid-template-columns: minmax(5.4rem, 1fr) minmax(0, 2.1fr); }
  .home-depth-grid, .home-dive-timeline { grid-template-columns: minmax(0, 1fr); }
  .home-depth-figure li { grid-template-columns: minmax(0, 1fr); gap: .4rem; }
  .home-depth-side { grid-template-rows: auto auto; }
  .home-dive-timeline { margin-left: .3rem; }
  .home-dive-timeline li { border-top: 0; border-left: 1px solid #517779; padding: 0 0 1.6rem 1.15rem; }
  .home-dive-timeline li:last-child { padding-bottom: 0; }
  .home-dive-timeline li::before { top: .32rem; left: -.3rem; }
  .reading-grid, .footer-inner { grid-template-columns: minmax(0, 1fr); }
  .reading-aside nav { position: static; max-height: none; border-left: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .article-cover { margin-bottom: 1.3rem; }
}
@media (max-width: 24rem) {
  .explainer li { grid-template-columns: 1fr; gap: .15rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
