:root {
  --shell: min(1180px, calc(100vw - 56px));
  --bg: #071822;
  --bg-2: #0a202c;
  --bg-3: #0e2b39;
  --panel: rgba(9, 28, 38, 0.72);
  --panel-strong: rgba(7, 25, 36, 0.9);
  --text: #ecfbff;
  --muted: rgba(236, 251, 255, 0.76);
  --muted-soft: rgba(236, 251, 255, 0.56);
  --line: rgba(153, 226, 245, 0.16);
  --line-strong: rgba(153, 226, 245, 0.28);
  --aqua: #84edff;
  --aqua-2: #4dd8f0;
  --coral: #ff9d7b;
  --gold: #ffd38d;
  --shadow: 0 22px 80px rgba(0, 0, 0, 0.32);
  --blur: blur(18px);
  --radius: 32px;
  --radius-sm: 22px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
  scroll-behavior: smooth;
}
html[data-theme="surface"] {
  --bg: #eef9fc;
  --bg-2: #e4f3f8;
  --bg-3: #d6ebf1;
  --panel: rgba(255,255,255,.72);
  --panel-strong: rgba(255,255,255,.88);
  --text: #072533;
  --muted: rgba(7, 37, 51, 0.76);
  --muted-soft: rgba(7, 37, 51, 0.56);
  --line: rgba(7, 48, 64, 0.1);
  --line-strong: rgba(7, 48, 64, 0.18);
  --aqua: #1087a1;
  --aqua-2: #0a6d83;
  --coral: #d96d54;
  --gold: #b77e17;
  --shadow: 0 24px 70px rgba(17, 44, 56, 0.12);
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 10% 0%, rgba(132,237,255,.12), transparent 28%),
    radial-gradient(circle at 90% 10%, rgba(255,157,123,.10), transparent 22%),
    linear-gradient(180deg, var(--bg), var(--bg-2) 36%, var(--bg));
  color: var(--text);
  min-height: 100vh;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
p { line-height: 1.7; }
button { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link {
  position: absolute; left: -999px; top: 12px; z-index: 999;
  padding: 12px 16px; border-radius: 12px; background: var(--panel-strong); border: 1px solid var(--line);
}
.skip-link:focus { left: 12px; }
.scroll-progress {
  position: fixed; inset: 0 0 auto; height: 4px; z-index: 1000; background: transparent;
}
.scroll-progress i {
  display: block; width: 0%; height: 100%;
  background: linear-gradient(90deg, var(--coral), var(--aqua));
  box-shadow: 0 0 14px rgba(132,237,255,.3);
}
.ambient, .noise {
  position: fixed; inset: -10%; pointer-events: none; z-index: -2;
}
.ambient {
  filter: blur(70px);
  opacity: .7;
}
.ambient-a { background: radial-gradient(circle at 22% 18%, rgba(132,237,255,.17), transparent 24%); }
.ambient-b { background: radial-gradient(circle at 78% 18%, rgba(255,157,123,.11), transparent 16%); }
.ambient-c { background: radial-gradient(circle at 50% 80%, rgba(77,216,240,.08), transparent 25%); }
.noise {
  z-index: -1; opacity: .08;
  background-image: radial-gradient(circle, rgba(255,255,255,.5) 1px, transparent 1px);
  background-size: 12px 12px;
  mask-image: radial-gradient(circle at center, rgba(0,0,0,.6), transparent 85%);
}
.site-header {
  position: sticky; top: 0; z-index: 200;
  transition: background .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.site-header.scrolled {
  backdrop-filter: var(--blur);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
}
.nav {
  height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand, .footer-brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 700; letter-spacing: -.02em; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(132,237,255,.18), rgba(255,157,123,.16));
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.brand-mark svg { width: 23px; height: 23px; fill: var(--text); }
.nav-links { display: inline-flex; align-items: center; gap: 26px; }
.nav-links a {
  position: relative; color: var(--muted); font-size: .95rem;
  transition: color .2s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 2px;
  background: linear-gradient(90deg, var(--coral), var(--aqua)); border-radius: 99px;
  transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn, .menu-btn, .nav-cta, .btn, .timeline-tag, .tool-badges span, .window-tags span, .volunteer-chips span, .live-pill, .date-chip, .mini-label {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: var(--blur);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.icon-btn, .menu-btn {
  width: 44px; height: 44px; border-radius: 14px; color: var(--text); cursor: pointer; padding: 0;
}
.icon-btn { display: grid; place-items: center; }
.theme-icon { width: 21px; height: 21px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.nav-cta, .btn {
  padding: 12px 16px; border-radius: 999px; font-weight: 650; transition: transform .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.nav-cta:hover, .btn:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.menu-btn { display: none; position: relative; }
.menu-btn span {
  display: block; position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; border-radius: 99px;
}
.menu-btn span:nth-child(1){ top: 14px; }
.menu-btn span:nth-child(2){ top: 21px; }
.menu-btn span:nth-child(3){ top: 28px; }
main { position: relative; z-index: 1; }
.hero {
  min-height: calc(100vh - 82px);
  display: grid; grid-template-columns: .95fr 1.05fr; gap: 54px; align-items: center;
  padding-top: 42px; padding-bottom: 90px;
}
.eyebrow, .section-kicker {
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--aqua); font-weight: 800;
}
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 0 8px rgba(132,237,255,.12); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 14px rgba(132,237,255,.03); transform: scale(.95); } }
.hero h1, .section-title, .conservation-copy h2, .contact-card h2 {
  margin: 0; letter-spacing: -.07em; line-height: .94;
}
.hero h1 { font-size: clamp(3.9rem, 7vw, 7rem); }
.hero h1 span, .section-title em, .conservation-copy em, .contact-card em { font-style: normal; color: var(--aqua); }
.hero-lede {
  max-width: 690px; color: var(--muted); font-size: 1.08rem; margin: 24px 0 0;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.btn-primary { background: linear-gradient(135deg, rgba(132,237,255,.18), rgba(132,237,255,.08)); }
.btn-ghost { color: var(--text); }
.quick-facts {
  margin-top: 34px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px;
}
.quick-facts div {
  padding: 18px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.02);
}
.quick-facts strong {
  display: block; font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: -.04em;
}
.quick-facts span { color: var(--muted-soft); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }
.hero-visual {
  position: relative; min-height: 720px; isolation: isolate;
}
.tilt-card { transform-style: preserve-3d; will-change: transform; }
.hero-card, .showcase-card, .ocean-window, .station-panel, .skill-card, .edu-card {
  position: relative; overflow: hidden; border-radius: var(--radius); background: var(--panel);
  border: 1px solid var(--line); backdrop-filter: var(--blur); box-shadow: var(--shadow);
}
.scene-card {
  min-height: 700px; padding: 22px; display: flex; flex-direction: column; justify-content: space-between;
}
.scene-top {
  display: flex; justify-content: space-between; gap: 14px; align-items: center; color: var(--muted-soft); font-size: .74rem; text-transform: uppercase; letter-spacing: .12em;
}
.live-pill, .date-chip, .mini-label { color: var(--aqua); font-size: .68rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.live-pill, .mini-label, .date-chip { padding: 9px 12px; border-radius: 999px; }
.ecosystem-stage {
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(circle at 50% 0%, rgba(132,237,255,.10), transparent 35%);
}
.ecosystem-stage svg { width: 100%; height: 100%; }
.light-rays path, .window-rays path { fill: rgba(255,255,255,.08); animation: driftRay 11s ease-in-out infinite; }
.light-rays path:nth-child(2), .window-rays path:nth-child(2) { animation-delay: 1.4s; }
.light-rays path:nth-child(3), .window-rays path:nth-child(3) { animation-delay: 2.4s; }
.light-rays path:nth-child(4) { animation-delay: 3.2s; }
@keyframes driftRay { 50% { transform: translateY(12px) scaleX(.98); opacity: .66; } }
.algae path, .seaweed path { fill: none; stroke: rgba(123, 241, 208, 0.55); stroke-width: 8; stroke-linecap: round; animation: sway 6s ease-in-out infinite; transform-origin: bottom center; }
.algae-b path, .seaweed path:nth-child(2), .seaweed path:nth-child(4) { animation-delay: 1s; }
@keyframes sway { 50% { transform: rotate(4deg); } }
.reef-base path { fill: rgba(7,18,24,.98); }
.rock-group ellipse { fill: rgba(17, 47, 60, .85); }
.coral path { fill: url(#reefGlow); opacity: .95; }
.fish-school path { fill: rgba(132,237,255,.85); }
.school-a, .school-b { animation: fishSwim 14s linear infinite; }
.school-b { animation-duration: 18s; animation-direction: reverse; }
@keyframes fishSwim { from { transform: translateX(-8px); } 50% { transform: translateX(12px) translateY(-4px); } to { transform: translateX(-8px); } }
.turtle { animation: turtleGlide 9s ease-in-out infinite; transform-origin: center; }
@keyframes turtleGlide { 50% { transform: translate(8px, -10px) rotate(-2deg); } }
.turtle .shell { fill: rgba(132,237,255,.32); stroke: rgba(236,251,255,.5); stroke-width: 4; }
.turtle .shell-mark { fill: rgba(236,251,255,.12); }
.turtle .head, .turtle .flipper, .turtle .tail { fill: rgba(132,237,255,.78); }
.hero-inset {
  margin-top: auto; width: min(90%, 520px); padding: 18px; border-radius: 26px;
  background: rgba(6, 19, 28, .72); border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(0,0,0,.24);
}
.instrument-head, .instrument-legend, .station-top, .window-top, .map-caption, .edu-footer, .contact-actions a, .footer {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.instrument-head, .window-top, .station-top { color: var(--muted-soft); text-transform: uppercase; letter-spacing: .12em; font-size: .7rem; }
.instrument-title { font-size: 1.25rem; letter-spacing: -.03em; margin: 10px 0 14px; font-weight: 760; }
.profile-chart { color: var(--aqua); }
.gridlines path { stroke: rgba(236,251,255,.13); stroke-width: 1; }
.chart-line { fill: none; stroke: currentColor; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 18px rgba(132,237,255,.2)); }
.chart-point { fill: var(--coral); }
.instrument-legend { margin-top: 10px; color: var(--muted-soft); font-size: .77rem; }
.instrument-legend i, .dot {
  display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--aqua); box-shadow: 0 0 0 6px rgba(132,237,255,.1);
}
.float-card {
  position: absolute; padding: 14px 16px; min-width: 200px;
}
.float-card strong { display: block; margin-top: 6px; font-size: .95rem; }
.float-a { left: -24px; bottom: 92px; }
.float-b { right: -8px; top: 88px; }
.float-c { right: 32px; bottom: 22px; max-width: 250px; }
.bubble-field { position: absolute; inset: 0; overflow: hidden; z-index: -1; }
.bubble-field span {
  position: absolute; bottom: -40px; width: var(--size); height: var(--size); left: var(--left);
  border-radius: 50%; border: 1px solid rgba(255,255,255,.22); background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.24), transparent 60%);
  animation: bubbleRise var(--dur) linear infinite; animation-delay: var(--delay);
}
@keyframes bubbleRise { from { transform: translateY(0) scale(.9); opacity: 0; } 12% { opacity: .8; } to { transform: translateY(-760px) scale(1.08); opacity: 0; } }
.signal-strip {
  position: relative; overflow: hidden; border-block: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(132,237,255,.05), rgba(255,157,123,.04), rgba(132,237,255,.05));
}
.marquee-track {
  display: inline-flex; white-space: nowrap; gap: 20px; padding: 14px 0; min-width: max-content;
  color: var(--muted); font-weight: 780; font-size: .79rem; letter-spacing: .22em; text-transform: uppercase;
  animation: marquee 34s linear infinite;
}
.marquee-track i { color: var(--coral); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.section { padding-block: 112px; position: relative; }
.section-title { font-size: clamp(3.2rem, 6vw, 5.75rem); }
.section-heading-row {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 42px; align-items: end; margin-top: 22px;
}
.section-heading-row p { margin: 0; color: var(--muted); max-width: 560px; }
.showcase-grid {
  margin-top: 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.showcase-card { padding: 18px 18px 20px; min-height: 360px; }
.showcase-art {
  height: 220px; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); margin-bottom: 18px;
  background: linear-gradient(180deg, rgba(132,237,255,.08), rgba(8,24,34,.95));
}
.showcase-card h3 { margin: 0 0 10px; font-size: 1.36rem; }
.showcase-card p { margin: 0; color: var(--muted); font-size: .96rem; }
.about-grid {
  margin-top: 18px; display: grid; grid-template-columns: .95fr 1.05fr; gap: 48px; align-items: center;
}
.about-copy .lead { font-size: 1.12rem; color: var(--text); }
.about-copy p { color: var(--muted); }
.language-row, .tool-badges, .window-tags, .volunteer-chips {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px;
}
.language-row span, .window-tags span, .volunteer-chips span, .tool-badges span {
  padding: 11px 14px; border-radius: 999px; color: var(--text); font-size: .79rem;
}
.language-row span { border: 1px solid var(--line); background: rgba(255,255,255,.03); }
.language-row b { color: var(--aqua); font-weight: 700; }
.ocean-window { padding: 18px; }
.window-scene {
  margin-top: 12px; min-height: 510px; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(132,237,255,.08), rgba(8,24,34,.94));
}
.window-coral path { fill: rgba(255,157,123,.75); }
.window-turtle { fill: rgba(132,237,255,.78); }
.window-bubbles circle { fill: rgba(236,251,255,.35); animation: smallBubble 5s ease-in-out infinite; }
.window-bubbles circle:nth-child(2){ animation-delay: .6s; }
.window-bubbles circle:nth-child(3){ animation-delay: 1.2s; }
.window-bubbles circle:nth-child(4){ animation-delay: .3s; }
@keyframes smallBubble { 50% { transform: translateY(-14px); opacity: .7; } }
.fieldwork-section { background: linear-gradient(180deg, transparent, rgba(132,237,255,.04), transparent); }
.fieldwork-grid {
  margin-top: 22px; display: grid; grid-template-columns: .96fr 1.04fr; gap: 32px; align-items: start;
}
.fieldwork-story p { color: var(--muted); max-width: 640px; }
.method-list {
  margin-top: 30px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px;
}
.method-list div {
  border: 1px solid var(--line); border-radius: 22px; padding: 18px; background: rgba(255,255,255,.025);
}
.method-list span {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  color: var(--coral); border: 1px solid var(--line); font: 800 .74rem ui-monospace, monospace;
}
.method-list p { margin: 14px 0 0; font-size: .92rem; }
.station-panel { padding: 18px; }
.map-abstract {
  margin-top: 14px; border-radius: 28px; padding: 18px; min-height: 530px; border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(132,237,255,.08), rgba(6,19,28,.9));
}
.map-abstract svg { width: 100%; height: auto; }
.coast { fill: none; stroke: rgba(255,255,255,.26); stroke-width: 16; stroke-linecap: round; stroke-linejoin: round; }
.transect { fill: none; stroke: var(--aqua); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 10 10; }
.stations circle { fill: var(--coral); stroke: rgba(255,255,255,.8); stroke-width: 3; }
.station-labels text { fill: var(--muted); font-size: 24px; font-family: Inter, sans-serif; }
.map-caption { margin-top: 10px; font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted-soft); }
.data-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px;
}
.data-cards div {
  padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.03);
}
.data-cards span { display: block; font-size: .68rem; color: var(--aqua); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; }
.data-cards strong { font-size: .94rem; }
.timeline { margin-top: 38px; border-top: 1px solid var(--line); }
.timeline-item {
  display: grid; grid-template-columns: .32fr 1fr auto; gap: 26px; align-items: start;
  padding: 28px 0; border-bottom: 1px solid var(--line);
}
.timeline-meta {
  flex-direction: column; align-items: flex-start; justify-content: flex-start; color: var(--muted-soft); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase;
}
.timeline-body h3 { margin: 0; font-size: 1.18rem; }
.timeline-body span { color: var(--muted); font-weight: 500; }
.timeline-body p { margin: 8px 0 0; color: var(--muted); max-width: 760px; }
.timeline-tag { padding: 9px 12px; border-radius: 999px; color: var(--aqua); font-size: .72rem; font-weight: 750; white-space: nowrap; }
.education-section {
  background: linear-gradient(180deg, rgba(132,237,255,.04), transparent 18%, transparent 82%, rgba(255,157,123,.03));
  border-block: 1px solid var(--line);
}
.education-grid {
  display: grid; grid-template-columns: .86fr 1.14fr; gap: 54px; align-items: center;
}
.education-cards { display: grid; gap: 16px; }
.edu-card { padding: 26px; }
.edu-card.featured { background: linear-gradient(135deg, rgba(132,237,255,.12), rgba(255,255,255,.04)); }
.edu-year { color: var(--coral); font: 760 .76rem ui-monospace, monospace; letter-spacing: .11em; text-transform: uppercase; }
.edu-card h3 { margin: 26px 0 4px; font-size: 1.5rem; }
.edu-card p { margin: 0; color: var(--muted); }
.edu-footer { margin-top: 36px; padding-top: 16px; border-top: 1px solid var(--line); align-items: end; }
.edu-footer strong { color: var(--aqua); }
.edu-footer span { color: var(--muted-soft); font-size: .76rem; text-align: right; }
.skills-grid {
  margin-top: 22px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: start;
}
.skills-title p { color: var(--muted); max-width: 430px; }
.skill-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.skill-card { padding: 22px; }
.skill-no {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line); color: var(--coral); font: 800 .74rem ui-monospace, monospace;
}
.skill-card h3 { margin: 22px 0 8px; font-size: 1.1rem; }
.skill-card p { margin: 0; color: var(--muted); min-height: 88px; font-size: .93rem; }
.skill-meter {
  height: 3px; margin-top: 20px; background: rgba(255,255,255,.08); border-radius: 99px; overflow: hidden;
}
.skill-meter i {
  display: block; width: var(--level); height: 100%; background: linear-gradient(90deg, var(--coral), var(--aqua));
  transform: scaleX(0); transform-origin: left; animation: grow 1.25s var(--ease) forwards;
}
@keyframes grow { to { transform: scaleX(1); } }
.conservation-section { padding-top: 40px; }
.conservation-card {
  min-height: 520px; padding: 54px; display: grid; grid-template-columns: 1fr .95fr; gap: 36px; align-items: center;
  background: linear-gradient(135deg, rgba(132,237,255,.08), rgba(255,157,123,.05), rgba(255,255,255,.02));
}
.conservation-copy p { color: var(--muted); max-width: 620px; }
.reef-portal { position: relative; width: min(100%, 460px); margin: auto; }
.reef-portal svg { width: 100%; height: auto; filter: drop-shadow(0 24px 50px rgba(0,0,0,.24)); }
.portal-core {
  position: absolute; inset: 0; display: grid; place-items: center; font-size: .92rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 850; color: var(--aqua);
}
.contact-section { padding-top: 58px; }
.contact-card {
  padding: 56px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: 1.02fr .98fr; gap: 66px;
}
.contact-card p { color: var(--muted); max-width: 560px; }
.contact-actions {
  border-top: 1px solid var(--line); align-self: center;
}
.contact-actions a {
  padding: 19px 0; border-bottom: 1px solid var(--line); transition: padding .25s var(--ease), color .25s var(--ease);
}
.contact-actions a:hover { padding-left: 8px; color: var(--aqua); }
.contact-actions span { color: var(--muted-soft); font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; width: 86px; }
.contact-actions strong { flex: 1; font-size: .94rem; overflow-wrap: anywhere; }
.contact-actions b { color: var(--aqua); }
.footer {
  min-height: 120px; display: grid; grid-template-columns: 1fr 1fr auto; gap: 20px; color: var(--muted-soft); font-size: .8rem;
}
.footer a { color: var(--aqua); }
.reveal {
  opacity: 0; transform: translateY(24px); transition: opacity .85s var(--ease), transform .85s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; gap: 34px; min-height: auto; }
  .hero-copy { text-align: center; }
  .hero-lede { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { max-width: 820px; width: 100%; margin: 0 auto; }
  .showcase-grid, .education-grid, .skills-grid, .contact-card, .conservation-card, .fieldwork-grid, .about-grid, .section-heading-row { grid-template-columns: 1fr; }
  .education-grid, .skills-grid, .fieldwork-grid, .about-grid, .section-heading-row, .contact-card, .conservation-card { gap: 42px; }
}
@media (max-width: 980px) {
  :root { --shell: min(100vw - 36px, 780px); }
  .nav-links {
    position: fixed; inset: 78px 18px auto; display: grid; gap: 0; padding: 10px;
    background: var(--panel-strong); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
    opacity: 0; transform: translateY(-12px); pointer-events: none; transition: .25s var(--ease);
  }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 14px 12px; border-bottom: 1px solid var(--line); }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-links a::after { display: none; }
  .menu-btn { display: grid; }
  .nav-cta { display: none; }
  .timeline-item { grid-template-columns: .34fr 1fr; }
  .timeline-tag { display: none; }
}
@media (max-width: 760px) {
  :root { --shell: calc(100vw - 28px); --radius: 26px; }
  .site-header .nav { height: 70px; }
  .nav-links { inset: 70px 14px auto; }
  .hero { padding-top: 30px; padding-bottom: 78px; }
  .hero h1 { font-size: clamp(3.25rem, 16vw, 5rem); }
  .quick-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .quick-facts div { padding: 14px; }
  .hero-visual { min-height: 540px; }
  .scene-card { min-height: 540px; padding: 16px; }
  .hero-inset { width: 100%; padding: 14px; }
  .float-card { position: static; margin-top: 12px; min-width: auto; }
  .hero-visual { display: grid; gap: 12px; }
  .bubble-field { display: none; }
  .showcase-grid, .skill-cards, .method-list, .data-cards { grid-template-columns: 1fr; }
  .window-scene { min-height: 360px; }
  .map-abstract { min-height: auto; }
  .timeline-item { grid-template-columns: 1fr; gap: 10px; padding: 24px 0; }
  .timeline-meta { flex-direction: row; justify-content: space-between; }
  .contact-card { padding: 34px 0; gap: 36px; }
  .contact-actions a { gap: 10px; }
  .conservation-card { padding: 34px 24px; min-height: auto; }
  .section { padding-block: 92px; }
  .section-title, .conservation-copy h2, .contact-card h2 { font-size: clamp(2.8rem, 14vw, 4.3rem); }
  .footer { grid-template-columns: 1fr auto; padding: 26px 0 36px; }
  .footer p { grid-column: 1 / -1; margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
