:root {
  color-scheme: light;
  --bg: #f6f7fc;
  --surface: #fcfcff;
  --ink: #23263d;
  --muted: #62677e;
  --line: #d8dbea;
  --accent: #69539a;
  --accent-fill: #dfd6f1;
  --research: #edf0fc;
  --blue: #2778ac;
  --button-start: #cceaff;
  --nav-bg: rgba(246, 247, 252, .95);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0d1024;
  --surface: #15192f;
  --ink: #e6e9f5;
  --muted: #a9afcc;
  --line: #353b59;
  --accent: #c4b5e2;
  --accent-fill: #c4b5e2;
  --research: #1a203c;
  --blue: #37b4f8;
  --button-start: #8fd5fc;
  --nav-bg: rgba(13, 16, 36, .95);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-font-smoothing: antialiased; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 14px/1.8 'Space Mono', ui-monospace, monospace; }
::selection { background: var(--accent); color: var(--bg); }
a { color: inherit; text-decoration: none; text-underline-offset: 5px; }
a:hover { color: var(--accent); }
button { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { line-height: 1.3; }
p { color: var(--muted); }
[hidden] { display: none !important; }
.wrap { max-width: 1224px; padding-inline: 52px; margin-inline: auto; }
.accent { color: var(--accent); }
.eyebrow { font-size: 10px; line-height: 1.7; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 20; padding: 12px 20px; background: var(--ink); color: var(--bg); }
.skip-link:focus { top: 16px; }
.masthead { display: flex; justify-content: space-between; align-items: center; min-height: 100px; }
.wordmark { display: flex; align-items: center; font-size: 27px; font-weight: 700; letter-spacing: -.1em; }
.wordmark-dot { color: var(--accent); }
.wordmark-label { margin-left: 20px; font-size: 10px; letter-spacing: .12em; }
.header-tools { display: flex; align-items: center; gap: 28px; font-size: 11px; }
.contact-link { display: flex; gap: 15px; }
.theme-toggle { cursor: pointer; min-width: 94px; min-height: 40px; display: flex; align-items: center; justify-content: center; gap: 9px; background: transparent; border: 1px solid var(--line); border-radius: 3px; color: var(--ink); font-size: 11px; }
.theme-toggle:hover { border-color: var(--accent); }
[data-theme="light"] .sun, [data-theme="dark"] .moon { display: none; }
.hero { display: grid; grid-template-columns: 1.35fr 1fr; gap: 52px; align-items: center; padding-block: 76px 84px; }
.hero .eyebrow { display: flex; align-items: center; gap: 10px; }
.status-dot { height: 6px; width: 6px; background: var(--accent); border-radius: 50%; }
h1 { margin-top: 23px; font-size: clamp(42px, 4.5vw, 64px); letter-spacing: -.075em; white-space: nowrap; }
.hero-statement { margin-top: 24px; font-size: clamp(17px, 1.8vw, 23px); line-height: 1.6; letter-spacing: -.04em; color: var(--ink); }
.hero-intro { max-width: 550px; margin-top: 22px; font-size: 14px; line-height: 1.95; }
.hero-links { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 25px; }
.button { display: inline-flex; align-items: center; gap: 26px; padding: 13px 18px; font-size: 11px; font-weight: 700; border: 1px solid var(--accent-fill); }
.button.primary { background: linear-gradient(115deg, var(--button-start), var(--accent-fill)); color: #29233f; }
.button:hover { border-color: var(--accent); }
.text-link { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; border-bottom: 1px solid var(--line); padding-block: 4px; }
.text-link:hover { border-color: var(--accent); }
.hero-art { align-self: center; }
.hero-art svg { width: 100%; display: block; margin-block: 12px; }
.art-caption { display: flex; align-items: center; justify-content: space-between; font-size: 9px; letter-spacing: .08em; color: var(--muted); }
.grid-line { stroke: var(--line); stroke-width: .5; opacity: .5; }
.axis { stroke: var(--line); }
.orbit { stroke: var(--accent); stroke-width: 1; opacity: .65; }
.orbit:nth-of-type(1), .orbit:nth-of-type(3) { stroke: var(--blue); }
.orbit.faint { stroke: var(--line); opacity: 1; }
.core { fill: var(--bg); stroke: var(--accent); }
.core-cross { stroke: var(--accent); stroke-width: 1.5; }
.node { fill: var(--blue); stroke: var(--bg); stroke-width: 2; }
.art-label { fill: var(--muted); font-size: 8px; letter-spacing: 1px; font-family: 'Space Mono', monospace; }
.section-nav { position: sticky; top: 0; z-index: 5; background: var(--nav-bg); backdrop-filter: blur(12px); border-block: 1px solid var(--line); }
.nav-inner { display: flex; align-items: stretch; justify-content: space-between; gap: 20px; }
.section-nav a { padding: 19px 0 17px; border-bottom: 2px solid transparent; font-size: 10px; white-space: nowrap; }
.section-nav a span { margin-right: 8px; color: var(--muted); font-size: 9px; }
.section-nav a[aria-current="location"] { border-color: var(--accent); color: var(--accent); }
.work-section { padding-top: 72px; }
.section-heading { display: flex; align-items: baseline; gap: 20px; margin-bottom: 30px; }
.section-number { font-size: 11px; color: var(--accent); flex-shrink: 0; }
h2 { font-size: 23px; letter-spacing: -.055em; }
.section-heading p { font-size: 11px; margin-top: 10px; }
.safety-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.project-card { padding: 31px; border: 1px solid var(--line); background: var(--surface); }
.project-card > .eyebrow { color: var(--accent); }
h3 { font-size: 21px; letter-spacing: -.05em; }
.project-card h3 { margin-top: 17px; }
h3 a span { font-size: 18px; font-weight: 400; color: var(--accent); white-space: nowrap; }
.project-card > p:not(.eyebrow) { font-size: 14px; }
.project-card .project-deck { margin-top: 18px; margin-bottom: 17px; color: var(--ink); font-size: 15px !important; line-height: 1.7; letter-spacing: -.02em; }
.notice-diagram { display: flex; align-items: center; margin-block: 38px; padding: 27px 0; border-block: 1px solid var(--line); font-size: 9px; color: var(--accent); }
.notice-diagram span { flex-shrink: 0; }
.notice-diagram i { height: 1px; background: var(--line); flex: 1; margin: 0 12px; position: relative; }
.notice-diagram i::after { content: ''; position: absolute; right: 0; top: -2px; width: 5px; height: 5px; border-right: 1px solid var(--accent); border-top: 1px solid var(--accent); transform: rotate(45deg); }
.project-paths { margin-top: 23px; }
.project-paths a { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 5px 14px; padding-block: 12px; border-top: 1px solid var(--line); font-size: 10px; }
.project-paths a b { margin-right: 8px; color: var(--accent); font-weight: 400; }
.project-paths a > span:last-child { color: var(--muted); font-size: 9px; }
.resource-details { border-top: 1px solid var(--line); margin-top: 7px; }
.resource-details summary { cursor: pointer; display: flex; justify-content: space-between; gap: 14px; padding-top: 14px; list-style: none; font-size: 10px; color: var(--muted); }
.resource-details summary::-webkit-details-marker { display: none; }
.resource-details[open] summary span { transform: rotate(45deg); }
.resource-links { display: flex; flex-wrap: wrap; gap: 12px 20px; padding-top: 18px; font-size: 10px; }
.resource-links a { text-decoration: underline; }
.project-row { border-top: 1px solid var(--line); display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; padding-block: 30px; }
.project-row:last-child { border-bottom: 1px solid var(--line); }
.project-identity .eyebrow { color: var(--accent); }
.project-identity h3 { margin-top: 13px; }
.domain { display: block; color: var(--muted); font-size: 10px; margin-top: 10px; overflow-wrap: anywhere; }
.project-description p { font-size: 14px; }
.project-description .contribution { font-size: 12px; margin-top: 12px; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 20px 0 0; }
.tags li { font-size: 9px; padding: 3px 8px; border: 1px solid var(--line); color: var(--muted); }
.research-feature { padding: 35px; border: 1px solid var(--line); background: var(--research); }
.research-topline { display: flex; justify-content: space-between; gap: 20px; }
.research-topline .eyebrow { color: var(--accent); }
.research-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin-top: 27px; }
.research-intro h3 { font-size: 32px; letter-spacing: -.055em; }
.research-intro .text-link { margin-top: 18px; }
.research-intro p { font-size: 14px; }
.research-intro .research-question { font-size: 15px; line-height: 1.75; margin-bottom: 17px; color: var(--ink); }
.research-stages { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 36px; border-block: 1px solid var(--line); }
.research-stages > div { padding: 25px 22px; border-left: 1px solid var(--line); }
.research-stages > div:first-child { padding-left: 0; border-left: 0; }
.research-stages > div:last-child { padding-right: 0; }
.stage-label { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; }
.stage-status { font-size: 8px; text-transform: uppercase; letter-spacing: .06em; color: var(--accent); }
.stage-status::before { content: '●'; margin-right: 5px; font-size: 7px; }
.stage-status.proposed { color: var(--muted); }
.stage-status.proposed::before { content: '○'; }
h4 { font-size: 11px; margin-top: 19px; line-height: 1.7; }
.research-stages p { margin-top: 10px; font-size: 12px; }
.research-stages .text-link { margin-top: 15px; font-size: 10px; }
.research-finding { display: grid; grid-template-columns: .55fr 1.45fr; gap: 35px; padding-block: 25px; }
.research-finding .eyebrow { color: var(--accent); padding-top: 3px; }
.research-finding p { font-size: 13px; color: var(--ink); }
.research-resources { display: flex; flex-wrap: wrap; gap: 12px 26px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 10px; }
.research-resources a:hover { text-decoration: underline; }
.hatchery-feature { display: flex; align-items: center; gap: 30px; padding-block: 29px; border-block: 1px solid var(--line); }
.hatchery-mark { display: block; width: 104px; height: 104px; flex-shrink: 0; object-fit: contain; }
.hatchery-feature h3 { margin-top: 8px; }
.hatchery-feature p:not(.eyebrow) { margin-top: 9px; font-size: 13px; }
.hatchery-feature > .text-link { flex-shrink: 0; margin-left: auto; }
.about-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; margin-top: 80px; padding-block: 40px; border-top: 1px solid var(--line); }
.about-section h2 { margin-top: 17px; font-size: 28px; }
.about-section p:not(.eyebrow) { font-size: 14px; }
.about-section p + p { margin-top: 18px; }
.beyond-section { padding-block: 32px 70px; }
.beyond-list { max-width: 760px; margin-left: 45px; }
.beyond-list article { position: relative; padding-left: 23px; margin-top: 30px; }
.beyond-list article::before { content: ''; width: 5px; height: 5px; position: absolute; left: 0; top: 9px; border-radius: 50%; background: var(--accent); }
.beyond-title { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 18px; }
.beyond-title h3 { font-size: 15px; letter-spacing: -.03em; }
.beyond-title a { font-size: 10px; color: var(--muted); overflow-wrap: anywhere; }
.beyond-title a:hover { color: var(--accent); }
.beyond-list p { font-size: 14px; margin-top: 9px; }
.footer { padding-bottom: 30px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-block: 1px solid var(--line); padding-block: 25px; }
.footer-top > a:first-child { font-size: 19px; letter-spacing: -.04em; overflow-wrap: anywhere; }
.back-top { font-size: 10px; flex-shrink: 0; }
.footer-bottom { display: flex; justify-content: space-between; align-items: end; gap: 30px; padding-top: 24px; font-size: 9px; }
.footer-values { margin-top: 9px; letter-spacing: .07em; color: var(--accent); }
.land-acknowledgement { max-width: 390px; text-align: right; }
@media (min-width: 1600px) { .hero { padding-block: 100px; } }
@media (max-width: 1000px) {
  .wrap { padding-inline: 32px; }
  .hero { gap: 25px; padding-block: 55px 65px; }
  .nav-inner { gap: 16px; }
  .section-nav a { font-size: 9px; }
  .section-nav a span { margin-right: 4px; }
  .project-card { padding: 25px; }
  .project-card h3 { font-size: 19px; }
  .project-row, .about-section { gap: 35px; }
  .research-feature { padding: 28px; }
  .research-stages > div { padding-inline: 15px; }
  .research-intro { gap: 30px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 80px; }
  .wrap { padding-inline: 24px; }
  .masthead { min-height: 80px; }
  .wordmark-label { display: none; }
  .header-tools { gap: 17px; }
  .hero { grid-template-columns: 1fr; padding-block: 42px 44px; gap: 35px; }
  h1 { font-size: clamp(40px, 9vw, 60px); }
  .hero-statement { font-size: 20px; }
  .hero-intro { max-width: 540px; }
  .hero-art { width: min(100%, 380px); margin-inline: auto; }
  .hero-art svg { max-height: 240px; }
  .nav-inner { overflow-x: auto; justify-content: flex-start; scrollbar-width: thin; gap: 24px; }
  .section-nav a { font-size: 10px; padding-block: 16px; }
  .work-section { padding-top: 49px; }
  .section-heading { gap: 13px; margin-bottom: 24px; }
  h2 { font-size: 20px; }
  .section-heading p { line-height: 1.8; }
  .safety-grid { grid-template-columns: 1fr; gap: 16px; }
  .project-card { padding: 25px; }
  .project-card h3 { font-size: 23px; }
  .notice-diagram { margin-block: 26px; }
  .project-row { grid-template-columns: 1fr; gap: 20px; padding-block: 26px; }
  .research-intro { grid-template-columns: 1fr; gap: 24px; }
  .research-feature { padding: 25px; }
  .research-intro h3 { font-size: 30px; }
  .research-stages { grid-template-columns: 1fr; margin-top: 25px; }
  .research-stages > div, .research-stages > div:first-child, .research-stages > div:last-child { padding: 23px 0; border-left: 0; }
  .research-stages > div + div { border-top: 1px solid var(--line); }
  .research-stages h4 { margin-top: 12px; }
  .research-finding { grid-template-columns: 1fr; gap: 12px; }
  .hatchery-feature { display: grid; grid-template-columns: 72px 1fr; gap: 20px; }
  .hatchery-mark { width: 72px; height: 72px; }
  .hatchery-feature > .text-link { grid-column: 2; margin: 0; justify-self: start; }
  .about-section { margin-top: 50px; grid-template-columns: 1fr; gap: 25px; }
  .about-section h2 br { display: none; }
  .beyond-list { margin-left: 0; }
  .beyond-section { padding-top: 20px; }
  .footer-top { flex-wrap: wrap; }
  .footer-top > a:first-child { font-size: 15px; }
  .footer-bottom { align-items: start; flex-direction: column; gap: 20px; }
  .land-acknowledgement { text-align: left; }
}
@media (max-width: 380px) {
  .wrap { padding-inline: 18px; }
  .hero-links { gap: 18px; }
  .hero-links .button { gap: 12px; padding-inline: 12px; }
  .contact-link { font-size: 10px; gap: 6px; }
  .project-card, .research-feature { padding: 20px; }
  .project-card h3 { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  :root, :root[data-theme="dark"] { --bg: white; --surface: white; --ink: #111; --muted: #444; --line: #bbb; --accent: #69539a; --research: #f4f4f4; }
  .wrap { padding-inline: 0; }
  .theme-toggle, .section-nav, .hero-art, .back-top { display: none !important; }
  .hero { display: block; padding-block: 30px; }
  .work-section { padding-top: 30px; }
  .project-card, .project-row, .research-stages > div, .beyond-list article { break-inside: avoid; }
  .resource-details .resource-links { display: flex; }
}
