:root {
  --ink: #07110f;
  --ink-soft: #0d1c18;
  --paper: #e9ebdd;
  --paper-deep: #cbd0b7;
  --moon: #d8f09b;
  --moss: #8aa868;
  --mist: #abb6aa;
  --line: rgba(232, 239, 218, 0.18);
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", Georgia, serif;
  --sans: Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
  --side: clamp(1.25rem, 5vw, 5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--paper);
  background: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.7rem 1rem;
  color: var(--ink);
  background: var(--moon);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  height: 5rem;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--side);
  border-bottom: 1px solid transparent;
  transition: background 300ms ease, border-color 300ms ease;
}
.site-header.scrolled {
  background: rgba(7, 17, 15, 0.82);
  border-color: var(--line);
  backdrop-filter: blur(16px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.24em;
}
.brand-mark {
  width: 1rem;
  height: 1rem;
  border: 1px solid var(--moon);
  border-radius: 70% 30% 70% 30%;
  transform: rotate(45deg);
}
.site-nav { display: flex; gap: clamp(1.5rem, 3vw, 3rem); }
.site-nav a {
  position: relative;
  color: rgba(233, 235, 221, 0.72);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}
.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.5rem;
  left: 0;
  height: 1px;
  background: var(--moon);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 250ms ease;
}
.site-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.menu-button { display: none; }

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  padding: 9rem var(--side) 5rem;
  background:
    radial-gradient(circle at 71% 42%, rgba(137, 169, 105, 0.12), transparent 28%),
    linear-gradient(155deg, #0c1a18 0%, #07110f 55%, #030807 100%);
}
.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 28%;
  background: linear-gradient(to top, #07110f, transparent);
  content: "";
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}
.eyebrow {
  margin: 0 0 1.5rem;
  color: var(--moon);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.24em;
}
.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(4.3rem, 11vw, 9.2rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.94;
}
.hero h1 em { color: var(--moon); font-style: normal; }
.hero-intro {
  margin: 2.6rem 0 4rem;
  color: rgba(233, 235, 221, 0.7);
  font-family: var(--serif);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  letter-spacing: 0.12em;
}
.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  color: rgba(233, 235, 221, 0.6);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
}
.scroll-line { position: relative; width: 4rem; height: 1px; overflow: hidden; background: var(--line); }
.scroll-line::after {
  position: absolute;
  inset: 0;
  background: var(--moon);
  content: "";
  animation: scan 2.4s ease-in-out infinite;
}
@keyframes scan { 0% { transform: translateX(-110%); } 60%, 100% { transform: translateX(110%); } }
.hero-moon {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: clamp(-10rem, 5vw, 4rem);
  width: clamp(24rem, 48vw, 43rem);
  aspect-ratio: 1;
  border: 1px solid rgba(216, 240, 155, 0.24);
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 32%, rgba(240, 250, 204, 0.96), rgba(191, 218, 133, 0.72) 42%, rgba(104, 137, 77, 0.16) 71%, transparent 72%);
  filter: drop-shadow(0 0 80px rgba(178, 215, 118, 0.12));
  transform: translateY(-50%);
}
.moth-glyph { position: absolute; inset: 25%; opacity: 0.64; }
.wing {
  position: absolute;
  top: 14%;
  width: 49%;
  height: 62%;
  border: 1px solid rgba(7, 17, 15, 0.45);
  background: radial-gradient(circle at 55% 63%, rgba(7, 17, 15, 0.15) 0 5%, transparent 6%), rgba(39, 71, 44, 0.08);
}
.wing-left { left: 2%; border-radius: 90% 12% 70% 25%; transform: rotate(11deg); }
.wing-right { right: 2%; border-radius: 12% 90% 25% 70%; transform: rotate(-11deg); }
.wing::after {
  position: absolute;
  top: 70%;
  width: 25%;
  height: 60%;
  border-left: 1px solid rgba(7, 17, 15, 0.4);
  content: "";
}
.wing-left::after { right: 5%; transform: rotate(-22deg); }
.wing-right::after { left: 5%; transform: rotate(22deg) scaleX(-1); }
.moth-body { position: absolute; top: 15%; left: calc(50% - 2px); width: 4px; height: 57%; border-radius: 50%; background: rgba(7, 17, 15, 0.65); }
.hero-sky { position: absolute; inset: 0; }
.orbit { position: absolute; border: 1px solid rgba(216, 240, 155, 0.1); border-radius: 50%; }
.orbit-one { top: 8%; right: 6%; width: 56vw; height: 56vw; }
.orbit-two { top: 24%; right: 16%; width: 34vw; height: 34vw; }
.star { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: var(--moon); box-shadow: 0 0 12px var(--moon); }
.star-one { top: 21%; left: 43%; }
.star-two { top: 72%; left: 52%; }
.star-three { top: 14%; right: 11%; }
.hero-coordinate {
  position: absolute;
  z-index: 3;
  right: var(--side);
  bottom: 2.2rem;
  margin: 0;
  color: rgba(233, 235, 221, 0.35);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
}

.section-shell { padding-right: var(--side); padding-left: var(--side); }
.intro {
  display: grid;
  grid-template-columns: 0.7fr 2.5fr 1fr;
  gap: clamp(2rem, 6vw, 7rem);
  align-items: start;
  padding-top: clamp(7rem, 14vw, 13rem);
  padding-bottom: clamp(7rem, 14vw, 13rem);
}
.section-index { color: var(--moss); font-size: 0.66rem; letter-spacing: 0.16em; }
.intro-copy h2,
.section-heading h2,
.observations h2,
.rhythm h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.2;
}
.intro-copy > p:last-child {
  max-width: 46rem;
  margin: 3rem 0 0;
  color: var(--mist);
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 2;
}
.intro-note { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.note-symbol { color: var(--moon); }
.intro-note p { margin: 1.2rem 0 0.6rem; font-family: var(--serif); }
.intro-note small { color: rgba(233, 235, 221, 0.42); font-size: 0.65rem; line-height: 1.7; letter-spacing: 0.08em; }

.species-section { padding: 8rem 0; overflow: hidden; background: var(--paper); color: var(--ink); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 3rem; margin-bottom: 4rem; }
.section-heading .eyebrow { color: #64744f; }
.section-heading > p { max-width: 24rem; margin: 0; color: #5e665f; font-family: var(--serif); line-height: 1.8; }
.species-track {
  display: grid;
  grid-auto-columns: minmax(280px, 32vw);
  grid-auto-flow: column;
  gap: 1px;
  overflow-x: auto;
  padding: 0 var(--side) 1.5rem;
  scrollbar-color: #85916e transparent;
  scroll-snap-type: x proximity;
}
.species-card {
  position: relative;
  min-height: 34rem;
  overflow: hidden;
  border: 0;
  background: #18241e;
  cursor: pointer;
  scroll-snap-align: start;
  text-align: left;
}
.species-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 700ms cubic-bezier(.2,.8,.2,1); }
.species-placeholder {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 47%, transparent 0 9%, rgba(195, 217, 147, 0.15) 10% 11%, transparent 12%),
    radial-gradient(ellipse at 35% 45%, rgba(185, 213, 135, 0.5) 0 7%, transparent 8%),
    radial-gradient(ellipse at 65% 45%, rgba(185, 213, 135, 0.5) 0 7%, transparent 8%),
    linear-gradient(145deg, #23372d, #0b1512 67%);
  transition: transform 700ms cubic-bezier(.2,.8,.2,1);
}
.species-placeholder::before,
.species-placeholder::after {
  position: absolute;
  top: 31%;
  width: 40%;
  height: 36%;
  border: 1px solid rgba(214, 236, 166, 0.4);
  background: rgba(160, 192, 116, 0.12);
  content: "";
}
.species-placeholder::before { left: 10%; border-radius: 85% 12% 70% 25%; transform: rotate(8deg); }
.species-placeholder::after { right: 10%; border-radius: 12% 85% 25% 70%; transform: rotate(-8deg); }
.species-card::after { position: absolute; inset: 0; background: linear-gradient(transparent 42%, rgba(3, 8, 7, 0.92)); content: ""; }
.species-card:hover .species-image,
.species-card:hover .species-placeholder { transform: scale(1.035); }
.species-number { position: absolute; z-index: 2; top: 1.5rem; left: 1.5rem; color: rgba(233, 235, 221, 0.5); font-size: 0.65rem; letter-spacing: 0.14em; }
.species-card-copy { position: absolute; z-index: 2; right: 1.5rem; bottom: 1.7rem; left: 1.5rem; color: var(--paper); }
.species-card-copy h3 { margin: 0 0 0.35rem; font-family: var(--serif); font-size: 2rem; font-weight: 400; }
.species-card-copy em { color: rgba(233, 235, 221, 0.6); font-family: Georgia, serif; font-size: 0.85rem; }
.species-card-copy p { display: flex; justify-content: space-between; margin: 1.6rem 0 0; padding-top: 1rem; border-top: 1px solid rgba(233, 235, 221, 0.2); color: rgba(233, 235, 221, 0.64); font-size: 0.7rem; letter-spacing: 0.08em; }

.observations { padding-top: clamp(7rem, 12vw, 11rem); padding-bottom: clamp(7rem, 12vw, 11rem); }
.observations-heading { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 2rem; align-items: end; margin-bottom: 5rem; }
.observations-heading .eyebrow { align-self: start; }
.observations-heading > p:last-child { max-width: 16rem; margin: 0; color: var(--mist); font-family: var(--serif); line-height: 1.7; }
.journal { border-top: 1px solid var(--line); }
.journal-entry {
  display: grid;
  grid-template-columns: 0.7fr 2fr 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
  transition: padding 250ms ease, background 250ms ease;
}
.journal-entry:hover { padding-right: 1rem; padding-left: 1rem; background: rgba(216, 240, 155, 0.025); }
.journal-date { color: var(--moss); font-size: 0.67rem; letter-spacing: 0.12em; }
.journal-entry h3 { margin: 0 0 0.45rem; font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.65rem); font-weight: 400; }
.journal-entry p { margin: 0; color: rgba(233, 235, 221, 0.52); font-size: 0.8rem; line-height: 1.7; }
.journal-place { color: rgba(233, 235, 221, 0.52); font-size: 0.72rem; }
.journal-arrow { color: var(--moon); font-size: 1.3rem; }
.text-link { display: inline-flex; gap: 1rem; margin-top: 3rem; color: var(--moon); font-family: var(--serif); font-size: 0.9rem; }

.rhythm { position: relative; min-height: 80vh; overflow: hidden; display: flex; align-items: center; background: #111d18; }
.rhythm::before { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,17,15,.86), rgba(7,17,15,.25)); content: ""; }
.rhythm-orb {
  position: absolute;
  top: 50%;
  right: -8vw;
  width: min(65vw, 750px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle at 38% 34%, transparent 0 38px, rgba(7,17,15,.06) 39px 40px),
    radial-gradient(circle at 38% 34%, #e7edc2, #94ab6d 48%, #536549 71%, #1b2922 72%);
  box-shadow: 0 0 120px rgba(174, 207, 119, 0.12);
  transform: translateY(-50%);
}
.rhythm-content { position: relative; z-index: 2; width: 100%; }
.rhythm h2 { max-width: 700px; font-size: clamp(3.4rem, 7vw, 7.2rem); line-height: 1.08; }
.rhythm-meta { display: flex; gap: clamp(2rem, 6vw, 6rem); margin-top: 5rem; }
.rhythm-meta div { min-width: 7rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.rhythm-meta span { display: block; margin-bottom: 0.6rem; color: rgba(233,235,221,.45); font-size: .65rem; }
.rhythm-meta strong { font-family: var(--serif); font-size: 1rem; font-weight: 400; }

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: end;
  padding: 6rem var(--side) 2.5rem;
  background: #030807;
}
.footer-wordmark { margin: 0 0 0.7rem; font-family: var(--serif); font-size: clamp(3rem, 7vw, 7rem); letter-spacing: .08em; }
.footer-wordmark + p { margin: 0; color: rgba(233,235,221,.45); font-size: .75rem; letter-spacing: .12em; }
.footer-links { display: flex; gap: 2rem; font-size: .75rem; }
.footer-links a:hover { color: var(--moon); }
.copyright { grid-column: 1 / -1; margin: 5rem 0 0; padding-top: 1.4rem; border-top: 1px solid var(--line); color: rgba(233,235,221,.32); font-size: .62rem; letter-spacing: .12em; }

.species-dialog {
  width: min(680px, calc(100% - 2rem));
  border: 1px solid rgba(216, 240, 155, 0.25);
  color: var(--paper);
  background: #101d18;
  padding: clamp(2rem, 6vw, 5rem);
}
.species-dialog::backdrop { background: rgba(1, 6, 5, 0.8); backdrop-filter: blur(7px); }
.dialog-close { position: absolute; top: 1rem; right: 1.2rem; border: 0; background: none; cursor: pointer; font-size: 1.8rem; font-weight: 200; }
.dialog-kicker { color: var(--moon); font-size: .65rem; letter-spacing: .18em; }
.species-dialog h2 { margin: 1rem 0 .35rem; font-family: var(--serif); font-size: clamp(2.4rem, 7vw, 4.5rem); font-weight: 400; }
.species-dialog em { color: var(--mist); font-family: Georgia, serif; }
.dialog-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 3rem 0; }
.dialog-facts div { padding-top: .8rem; border-top: 1px solid var(--line); }
.dialog-facts span { display: block; margin-bottom: .5rem; color: rgba(233,235,221,.45); font-size: .64rem; }
.dialog-facts strong { font-family: var(--serif); font-size: .9rem; font-weight: 400; }
.dialog-description { color: var(--mist); font-family: var(--serif); line-height: 1.9; }

.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms ease, transform 700ms ease; }
.js [data-reveal].visible { opacity: 1; transform: translateY(0); }

@media (max-width: 800px) {
  .site-header { height: 4.5rem; }
  .menu-button { position: relative; z-index: 2; display: grid; width: 2.6rem; height: 2.6rem; place-content: center; gap: .45rem; border: 0; background: transparent; }
  .menu-button span:not(.sr-only) { display: block; width: 1.35rem; height: 1px; background: var(--paper); transition: transform 250ms ease; }
  .menu-open .menu-button span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-open .menu-button span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
  .site-nav { position: fixed; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2.5rem; background: rgba(7,17,15,.97); opacity: 0; pointer-events: none; transition: opacity 250ms ease; }
  .site-nav a { font-family: var(--serif); font-size: 1.6rem; }
  .menu-open .site-nav { opacity: 1; pointer-events: auto; }
  .hero { padding-top: 8rem; }
  .hero-moon { top: 66%; right: -12rem; width: 32rem; opacity: .55; }
  .intro { grid-template-columns: 1fr; }
  .intro-copy { grid-row: 2; }
  .intro-note { max-width: 15rem; }
  .section-heading { align-items: start; flex-direction: column; }
  .species-track { grid-auto-columns: min(82vw, 350px); }
  .species-card { min-height: 30rem; }
  .observations-heading { grid-template-columns: 1fr; }
  .journal-entry { grid-template-columns: 1fr auto; gap: .8rem 1rem; }
  .journal-date { grid-column: 1; }
  .journal-main { grid-column: 1; }
  .journal-place { grid-column: 1; }
  .journal-arrow { grid-column: 2; grid-row: 1 / 4; align-self: center; }
  .rhythm { min-height: 92vh; }
  .rhythm-orb { top: 40%; right: -60%; width: 130vw; opacity: .65; }
  .rhythm-content { align-self: end; padding-bottom: 5rem; }
  .rhythm-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; }
  .dialog-facts { grid-template-columns: 1fr; }
}

/* Editorial finish: local vector artwork, warm paper, restrained motion. */
:root { --paper: #e8e7d9; --moon: #d4dfb1; --side: clamp(1.5rem, 6vw, 7rem); }
section[id] { scroll-margin-top: 5rem; }
:focus-visible { outline: 2px solid #a9bd80; outline-offset: 6px; }
.hero { display: flex; align-items: center; min-height: max(760px, 100svh); background: radial-gradient(ellipse at 75% 45%, #223d32 0%, #10231e 35%, #091511 72%); }
.hero::before { content: ""; position: absolute; inset: 1.2rem; top: 6rem; border: 1px solid rgba(216,240,155,.09); pointer-events: none; }
.hero-content { width: 58%; padding-bottom: 2rem; }
.hero h1 { font-size: clamp(4rem, 7.7vw, 8rem); line-height: 1.16; letter-spacing: .025em; }
.hero h1 em { padding-left: .7em; }
.hero .eyebrow { margin-bottom: 2.5rem; }
.hero-intro { font-size: .95rem; letter-spacing: .15em; margin-top: 2rem; }
.hero-moon { right: -2%; top: 48%; width: min(58vw, 850px); border: 0; border-radius: 0; background: url("assets/moth-study.svg") center / contain no-repeat; filter: drop-shadow(0 20px 40px #0005); animation: moth-float 12s ease-in-out infinite; }
.moth-glyph { display: none; }
.orbit-one { width: 80vw; height: 80vw; top: -25%; right: -23%; opacity: .4; }
.orbit-two { display: none; }
.hero-coordinate { bottom: 3rem; font-family: monospace; letter-spacing: .18em; }
@keyframes moth-float { 0%,100% { transform: translateY(-50%) rotate(-3deg); } 50% { transform: translateY(-52%) rotate(-1deg); } }
.intro { grid-template-columns: .45fr 2.8fr 1fr; gap: 4vw; }
.intro-copy h2 { font-size: clamp(2rem, 3.4vw, 3.6rem); line-height: 1.55; }
.intro-copy > p:last-child { font-size: .95rem; }
.intro-note { border-top-color: #87926b66; }
.species-section { background: linear-gradient(120deg, #efeee3, #dedfcd); }
.section-heading h2, .observations h2 { font-size: clamp(2.6rem, 4.7vw, 4.6rem); }
.species-track { grid-auto-columns: calc((100% - 2 * var(--side) - 3rem) / 3); gap: 1.5rem; }
.species-card { min-height: 31rem; background: #d5d9c4; border: 1px solid #67745333; transition: transform 350ms ease, box-shadow 350ms ease; }
.species-card:hover { transform: translateY(-5px); box-shadow: 0 14px 28px #27332318; }
.species-placeholder { inset: 0 0 6rem; background: url("assets/moth-study.svg") center / 112% no-repeat, radial-gradient(ellipse at 50% 40%, #344e40, #12251f); }
.species-placeholder::before, .species-placeholder::after { display: none; }
.species-card:nth-child(2) .species-placeholder { filter: sepia(.45); }
.species-card:nth-child(3) .species-placeholder { filter: hue-rotate(25deg) saturate(.55); }
.species-card::after { background: linear-gradient(transparent 45%, #081712cc 75%); }
.species-number { font-family: monospace; color: #d4dfb199; border-bottom: 1px solid #d4dfb155; padding-bottom: .5rem; }
.art-label { position: absolute; z-index: 2; right: 1.25rem; top: 1.5rem; color: #d5ddc199; font-size: .6rem; letter-spacing: .08em; }
.species-card-copy h3 { font-size: clamp(1.4rem, 2.2vw, 2rem); }
.species-card-copy em { font-size: .9rem; }
.species-card-copy p { font-size: .65rem; }
.observations-heading { grid-template-columns: .7fr 2fr 1fr; }
.journal-entry { padding: 2.4rem 0; }
.journal-date { font-family: monospace; }
.journal-arrow { font-weight: 200; opacity: .5; }
.rhythm { min-height: 680px; border-top: 1px solid var(--line); }
.rhythm-orb { right: -2vw; width: min(54vw, 720px); background: radial-gradient(circle at 32% 30%, #e5e7c0 0%, #a6b389 32%, #4e6650 61%, #162a22 73%); box-shadow: inset -65px -30px 70px #06150ee6, 0 0 100px #8fa56812; }
.rhythm-orb::after { content: ""; position: absolute; inset: -10%; border: 1px solid #d4dfb133; border-radius: 50%; transform: rotate(-28deg) scaleY(.38); }
.rhythm h2 { font-size: clamp(3.1rem, 6vw, 6rem); line-height: 1.3; }
.footer-wordmark { color: #c5d0ad; font-weight: 400; letter-spacing: .18em; }
.species-dialog { border-radius: 4px; box-shadow: 0 30px 100px #0008; }
@media (min-width: 1600px) { .hero-content { padding-left: 3vw; } }
@media (max-width: 1000px) { .species-track { grid-auto-columns: min(72vw, 360px); } .intro { grid-template-columns: 1fr; gap: 2rem; } .intro-note { max-width: 16rem; } }
@media (max-width: 800px) {
 .hero { align-items: start; min-height: 850px; padding-top: 8rem; }
 .hero-content { width: 100%; }
 .hero h1 { font-size: clamp(3.7rem, 12vw, 6rem); }
 .hero-intro { font-size: .8rem; max-width: 20rem; line-height: 1.9; margin-bottom: 2rem; }
 .hero-moon { width: 430px; right: -80px; top: 72%; opacity: .78; }
 .hero-coordinate { font-size: .55rem; bottom: 2.5rem; }
 .observations-heading { grid-template-columns: 1fr; }
 .rhythm { min-height: 720px; }
 .rhythm-orb { top: 36%; right: -40%; width: 110vw; opacity: .55; }
 .rhythm-meta div { min-width: 0; }
 .rhythm-meta { margin-top: 3rem; }
 .species-card { min-height: 30rem; }
}
/* Each navigation destination is a separate view; long content can still scroll. */
.view-navigation { scroll-behavior: auto; }
.view-navigation main > section[hidden] { display: none !important; }
.view-navigation body { min-height: 100svh; display: flex; flex-direction: column; }
.view-navigation main { flex: 1; }
.view-navigation .site-header { background: #091511f5; border-bottom-color: var(--line); }
.site-nav a[aria-current="page"] { color: var(--moon); }
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.view-navigation main > section { min-height: calc(100svh - 84px); padding-top: 9rem; padding-bottom: 4rem; animation: view-enter 350ms ease both; }
.view-navigation .hero { padding-top: 8rem; padding-bottom: 5rem; }
.view-navigation .intro { align-content: center; }
.view-navigation .species-section .section-heading { margin-bottom: 2.5rem; }
.view-navigation .species-track { display: grid; grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-columns: auto; overflow: visible; }
.view-navigation .species-card { min-height: clamp(24rem, 51vh, 34rem); }
.view-navigation .observations-heading { margin-bottom: 3rem; }
.view-navigation .rhythm-content { padding-bottom: 0; }
.view-navigation .site-footer { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.5rem var(--side); border-top: 1px solid var(--line); }
.view-navigation .footer-wordmark { font-family: var(--sans); font-size: .8rem; margin: 0; }
.view-navigation .footer-wordmark + p { display: none; }
.view-navigation .copyright { margin: 0; padding: 0; border: 0; }
.view-navigation .footer-links { gap: 1.5rem; font-size: .65rem; }
@keyframes view-enter { from { opacity: .4; translate: 14px 0; } to { opacity: 1; translate: 0 0; } }
@media (max-width: 800px) {
 .view-navigation .site-header { height: 7rem; flex-direction: column; justify-content: center; gap: 1.4rem; }
 .view-navigation .menu-button { display: none; }
 .view-navigation .site-nav { position: static; flex-direction: row; justify-content: center; gap: clamp(.8rem, 4vw, 2rem); opacity: 1; pointer-events: auto; background: none; width: 100%; }
 .view-navigation .site-nav a { font-family: var(--sans); font-size: .72rem; white-space: nowrap; letter-spacing: 0; }
 .view-navigation main > section { padding-top: 10rem; min-height: calc(100svh - 84px); }
 .view-navigation .hero { min-height: max(740px, calc(100svh - 84px)); }
 .view-navigation .species-track { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
 .view-navigation .species-card { min-height: 26rem; }
 .view-navigation .site-footer { flex-wrap: wrap; gap: 1rem; }
 .view-navigation .copyright { font-size: .55rem; }
}
@media (max-width: 540px) {
 .view-navigation .species-track { grid-template-columns: 1fr; }
 .view-navigation .species-card { min-height: 29rem; }
 .view-navigation .site-footer .footer-links { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
