@font-face {
  font-family: "Newsreader";
  src: url("assets/fonts/newsreader-variable.woff2") format("woff2-variations");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-variable.woff2") format("woff2-variations");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --forest: oklch(29% 0.065 164);
  --forest-deep: oklch(21% 0.045 166);
  --forest-soft: oklch(38% 0.075 163);
  --lichen: oklch(94% 0.018 150);
  --living: oklch(80% 0.14 132);
  --warm: oklch(78% 0.10 76);
  --ink-dark: oklch(96% 0.012 145);
  --ink-light: oklch(23% 0.035 164);
  --muted-dark: oklch(82% 0.018 150 / .72);
  --muted-light: oklch(33% 0.028 164 / .88);
  --gutter: clamp(18px, 2.1vw, 36px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-cinematic: cubic-bezier(.77, 0, .175, 1);
}

* { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  color: var(--ink-dark);
  background: var(--forest-deep);
  font-family: "Manrope", sans-serif;
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; }
img { max-width: 100%; display: block; }
::selection { color: var(--forest-deep); background: var(--living); }
:focus-visible { outline: 2px solid var(--living); outline-offset: 5px; }
.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; }
#evidence, #planner, #resolution { scroll-margin-top: 94px; }

.skip-link {
  position: fixed;
  z-index: 9999;
  left: var(--gutter);
  top: 12px;
  padding: 10px 15px;
  color: var(--forest-deep);
  background: var(--living);
  transform: translateY(-160%);
  transition: transform 160ms var(--ease-out);
}
.skip-link:focus { transform: translateY(0); }

.world {
  position: fixed;
  z-index: -3;
  inset: 0;
  overflow: hidden;
  background: var(--forest-deep);
}

.world-fallback {
  position: absolute;
  inset: -18%;
  background:
    radial-gradient(circle at 67% 42%, oklch(58% .09 150 / .26), transparent 20%),
    radial-gradient(circle at 30% 68%, oklch(43% .085 173 / .28), transparent 26%),
    radial-gradient(circle at 50% 46%, var(--forest), var(--forest-deep) 62%);
  transform: scale(1.05);
}

#ecosystem-canvas { width: 100%; height: 100%; display: block; opacity: .92; }
.world-vignette { position: absolute; inset: 0; box-shadow: inset 0 0 18vw rgba(3, 17, 12, .62); pointer-events: none; }
.world-grain {
  position: absolute;
  inset: -25%;
  opacity: .035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
  transform: rotate(8deg);
}

.letterbox { position: fixed; z-index: 90; left: 0; width: 100%; height: 7.5vh; min-height: 34px; background: #07120e; pointer-events: none; }
.letterbox--top { top: 0; transform: translateY(-105%); }
.letterbox--bottom { bottom: 0; transform: translateY(105%); }

.site-header {
  --header-ink: var(--ink-dark);
  position: fixed;
  z-index: 100;
  top: 14px;
  left: var(--gutter);
  right: var(--gutter);
  min-height: 58px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 8px 12px;
  color: var(--header-ink);
  background: oklch(30% .05 164 / .46);
  border: 1px solid oklch(96% .01 150 / .13);
  backdrop-filter: blur(18px) saturate(125%);
  transition: color 220ms ease, background-color 220ms ease, border-color 220ms ease;
}
.site-header.on-light {
  --header-ink: var(--ink-light);
  color: var(--ink-light);
  background: oklch(97% .01 150 / .74);
  border-color: oklch(22% .03 164 / .12);
}
.site-header.on-light :focus-visible, #evidence :focus-visible, #planner :focus-visible { outline-color: var(--forest); }

.wordmark { display: inline-flex; width: max-content; align-items: center; gap: 10px; text-decoration: none; font-weight: 680; letter-spacing: -.02em; }
.wordmark svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.site-header nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 44px); }
.site-header nav a, .live-place { font-size: 12px; font-weight: 650; letter-spacing: .01em; text-decoration: none; }
.site-header nav a { position: relative; padding: 10px 0; }
.site-header nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 7px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 240ms var(--ease-out); }
.site-header nav a:hover::after, .site-header nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.live-place { justify-self: end; display: flex; align-items: center; gap: 9px; opacity: .82; }
.live-place i { width: 7px; height: 7px; border-radius: 50%; background: var(--living); box-shadow: 0 0 0 5px oklch(80% .14 132 / .13); }

.scene { position: relative; }
.scene-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.margin-label {
  margin: 0 0 clamp(22px, 4vw, 56px);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.scene--arrival { height: 185svh; }
.arrival-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 1fr auto;
  column-gap: 16px;
  padding: clamp(112px, 14vh, 160px) var(--gutter) clamp(30px, 5vh, 54px);
}
.arrival-copy { grid-column: 2 / span 8; align-self: center; position: relative; z-index: 2; }
.arrival-copy h1 {
  margin: 0;
  font-family: "Newsreader", serif;
  font-size: clamp(4.7rem, 10.4vw, 10rem);
  font-weight: 420;
  line-height: .82;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.title-mask { display: block; overflow: hidden; padding-bottom: .11em; }
.title-mask > span { display: block; transform-origin: left center; }
.title-mask:nth-child(2) { padding-left: 8vw; }
.title-mask--accent { color: var(--living); padding-left: 2.6vw; font-style: italic; }
.arrival-intro { max-width: 540px; margin: clamp(30px, 5vh, 58px) 0 26px 8vw; color: var(--muted-dark); text-wrap: pretty; }

.text-link { position: relative; display: inline-flex; align-items: center; gap: 28px; padding: 11px 0; text-decoration: none; font-size: 14px; font-weight: 680; }
.text-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px; background: currentColor; transform-origin: right; transition: transform 260ms var(--ease-out); }
.text-link:hover::after { transform: scaleX(.3); }
.text-link i { font-style: normal; transition: transform 180ms var(--ease-out); }
.text-link:hover i { transform: translate(4px, 3px); }
.arrival-copy .text-link { margin-left: 8vw; }

.field-note { margin: 0; color: var(--muted-dark); font-size: 10px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }
.field-note--vertical { position: absolute; left: var(--gutter); top: 50%; writing-mode: vertical-rl; transform: translateY(-50%) rotate(180deg); }
.arrival-caption { grid-column: 2 / span 5; margin: 0; color: var(--muted-dark); font-size: 12px; }
.observation-float {
  grid-column: 10 / span 3;
  grid-row: 1;
  align-self: center;
  justify-self: end;
  width: min(100%, 280px);
  padding: 22px;
  background: oklch(26% .05 164 / .42);
  border: 1px solid oklch(94% .01 150 / .13);
  backdrop-filter: blur(18px) saturate(120%);
  transform-style: preserve-3d;
  box-shadow: 0 28px 65px rgba(3, 18, 13, .16);
}
.observation-float__label { display: block; color: var(--muted-dark); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.observation-float strong { display: block; margin: 34px 0 10px; font-family: "Newsreader", serif; font-size: clamp(2rem, 3.4vw, 3.2rem); font-weight: 420; line-height: 1; }
.observation-float p { margin: 0; color: var(--muted-dark); font-size: 12px; }
.pulse-line { height: 1px; margin-top: 28px; background: oklch(96% .01 150 / .13); overflow: hidden; }
.pulse-line i { display: block; width: 32%; height: 100%; background: var(--living); transform-origin: left; }

.scene--signal { min-height: 150svh; padding: 22vh var(--gutter) 18vh; background: linear-gradient(180deg, transparent, oklch(27% .06 164 / .35), transparent); }
.signal-layout { min-height: 112svh; display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; align-items: center; }
.signal-copy { grid-column: 2 / span 5; position: relative; z-index: 2; }
.signal-copy h2, .evidence-heading h2, .planner-heading h2, .resolution-copy h2 {
  margin: 0;
  font-family: "Newsreader", serif;
  font-size: clamp(3.7rem, 7.3vw, 7.2rem);
  font-weight: 420;
  line-height: .92;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.signal-copy > p:last-child { max-width: 48ch; margin: 42px 0 0 7vw; color: var(--muted-dark); text-wrap: pretty; }
.species-stage { grid-column: 7 / -1; min-height: 90svh; position: relative; perspective: 1200px; }
.specimen { position: absolute; margin: 0; overflow: hidden; background: var(--forest-soft); transform-style: preserve-3d; box-shadow: 0 35px 90px rgba(1, 14, 10, .32); }
.specimen img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.7) contrast(1.04); transition: transform 900ms var(--ease-out), filter 300ms ease; }
.specimen::after, .observed-item::after { content: ""; position: absolute; z-index: 0; inset: auto 0 0; height: 38%; background: linear-gradient(180deg, transparent, rgba(1, 14, 10, .72)); pointer-events: none; }
.specimen figcaption { position: absolute; z-index: 1; left: 14px; bottom: 12px; right: 14px; color: white; font-size: 12px; text-shadow: 0 1px 16px rgba(0,0,0,.6); }
.specimen-placeholder { width: 100%; height: 100%; background: radial-gradient(circle at 30% 30%, var(--forest-soft), var(--forest-deep)); }
.specimen--a { z-index: 3; left: 3%; top: 20%; width: 48%; aspect-ratio: 4 / 5; }
.specimen--b { z-index: 2; right: 3%; top: 4%; width: 42%; aspect-ratio: 3 / 4; }
.specimen--c { z-index: 1; right: 12%; bottom: 3%; width: 52%; aspect-ratio: 16 / 10; }

.scene--connection { height: 100svh; }
.scene--connection .scene-sticky { position: relative; }
.connection-stage { display: grid; place-items: center; padding: 10vh var(--gutter); text-align: center; }
.connection-kicker { position: absolute; top: 18%; margin: 0; color: var(--muted-dark); font-size: 13px; }
.connection-stage h2 { width: 100%; margin: 0; font-family: "Newsreader", serif; font-size: clamp(3.7rem, 9.5vw, 9rem); font-weight: 380; line-height: .88; letter-spacing: -.035em; }
.connection-line { display: block; will-change: transform, opacity; }
.connection-line--one { transform: translateX(-16vw) translateZ(0); }
.connection-line--two { color: var(--living); font-style: italic; transform: translateX(12vw) translateZ(0); }
.connection-line--three { transform: translateX(-4vw) translateZ(0); }
.connection-thesis { position: absolute; left: 50%; bottom: 13%; width: min(90vw, 760px); margin: 0; transform: translateX(-50%); font-family: "Newsreader", serif; font-size: clamp(1.65rem, 3.3vw, 3.2rem); line-height: 1.06; }
.connection-thesis span, .connection-thesis strong { display: block; font-weight: 400; }
.connection-thesis strong { margin-top: 8px; color: var(--living); font-style: italic; }
.connection-orbit { position: absolute; width: min(44vw, 570px); aspect-ratio: 1; border: 1px solid oklch(80% .14 132 / .15); border-radius: 50%; transform-style: preserve-3d; }
.connection-orbit span { position: absolute; inset: 12%; border: 1px solid oklch(96% .01 150 / .1); border-radius: 50%; }
.connection-orbit span:nth-child(2) { inset: 25%; transform: rotateX(70deg); }
.connection-orbit span:nth-child(3) { inset: 38%; background: oklch(80% .14 132 / .08); border-color: oklch(80% .14 132 / .25); }

.scene--evidence { position: relative; z-index: 5; color: var(--ink-light); background: var(--lichen); color-scheme: light; }
.evidence-surface { padding: clamp(120px, 16vh, 190px) var(--gutter) clamp(110px, 15vh, 180px); }
.evidence-heading { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; align-items: end; }
.evidence-heading > div { grid-column: 1 / span 8; }
.evidence-heading > p { grid-column: 9 / span 3; max-width: 38ch; margin: 0 0 8px; color: var(--muted-light); font-size: 15px; text-wrap: pretty; }
.evidence-heading h2, .planner-heading h2 { font-size: clamp(3.5rem, 6.5vw, 6.6rem); }

.place-search { width: min(820px, 72vw); margin: clamp(90px, 14vh, 160px) 0 clamp(60px, 9vh, 110px) 16.666%; }
.place-search > label { display: block; margin-bottom: 13px; color: var(--muted-light); font-size: 11px; font-weight: 720; letter-spacing: .1em; text-transform: uppercase; }
.place-search__line { display: flex; align-items: center; gap: 24px; border-bottom: 1px solid oklch(23% .035 164 / .35); }
.place-search__line:focus-within { border-bottom-color: var(--forest); box-shadow: 0 2px 0 var(--forest); }
.place-search input { min-width: 0; flex: 1; padding: 8px 0 15px; color: var(--ink-light); background: transparent; border: 0; outline: 0; font-family: "Newsreader", serif; font-size: clamp(2rem, 4.2vw, 4.4rem); font-weight: 400; letter-spacing: -.025em; }
.place-search input::placeholder { color: oklch(38% .025 164 / .62); }
.place-search__line button { flex: 0 0 auto; padding: 14px 0; color: var(--ink-light); background: transparent; border: 0; font-weight: 720; }
.place-search__line button span { display: inline-block; margin-left: 12px; transition: transform 160ms var(--ease-out); }
.place-search__line button:hover span { transform: translate(4px, -4px); }
.place-search__meta { display: flex; justify-content: space-between; gap: 20px; padding-top: 15px; }
.place-search__meta button, .radius-control span { color: var(--muted-light); background: transparent; border: 0; font-size: 12px; }
.place-search__meta button, .radius-control button { min-width: 44px; min-height: 44px; }
.place-search__meta button { padding: 7px 0; transition: color 160ms ease, transform 140ms var(--ease-out); }
.place-search__meta button:active { transform: scale(.97); }
.place-search__meta button:hover, .place-search__meta button.active { color: var(--ink-light); }
.radius-control { display: flex; align-items: center; gap: 16px; }
.api-message { min-height: 1.4em; margin: 8px 0 0; color: oklch(36% .075 56); font-size: 12px; }

.map-composition { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; align-items: center; perspective: 1500px; }
.map-plane { grid-column: 1 / span 9; min-height: min(72vw, 760px); position: relative; overflow: hidden; background: var(--forest-deep); transform-origin: 50% 20%; box-shadow: 0 45px 110px oklch(20% .025 164 / .18); }
#map { width: 100%; height: min(72vw, 760px); min-height: 560px; background: var(--forest-deep); }
#map .leaflet-tile-pane { filter: grayscale(.92) sepia(.16) hue-rotate(88deg) brightness(.72) contrast(1.12); }
.leaflet-control-zoom a { color: var(--ink-dark) !important; background: oklch(27% .06 164 / .9) !important; border: 0 !important; }
.leaflet-control-zoom a { width: 44px !important; height: 44px !important; line-height: 44px !important; }
.leaflet-control-attribution { color: oklch(94% .01 150 / .7) !important; background: oklch(20% .04 164 / .7) !important; }
.leaflet-popup-content-wrapper, .leaflet-popup-tip { color: var(--ink-light); background: var(--lichen); border-radius: 0; }
.map-popup { width: 190px; }
.map-popup img { width: 100%; height: 105px; margin-bottom: 10px; object-fit: cover; }
.map-popup strong { display: block; font-family: "Newsreader", serif; font-size: 18px; }
.map-popup span { color: var(--muted-light); font-size: 11px; }
.map-loading { position: absolute; z-index: 600; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; color: var(--ink-dark); background: oklch(25% .05 164 / .76); backdrop-filter: blur(8px); opacity: 0; pointer-events: none; transition: opacity 180ms ease; }
.map-loading.active { opacity: 1; }
.map-loading span { width: 34px; height: 34px; border: 1px solid oklch(94% .01 150 / .2); border-top-color: var(--living); border-radius: 50%; animation: map-spin .7s linear infinite; }
.map-loading p { margin: 0; font-size: 12px; }
@keyframes map-spin { to { transform: rotate(360deg); } }

.field-reading { grid-column: 10 / -1; padding-left: clamp(12px, 2vw, 34px); }
.field-reading__place { margin: 0 0 34px; color: var(--muted-light); font-size: 12px; font-weight: 700; }
.field-reading__statement { margin-bottom: 58px; }
.field-reading__statement strong { display: block; font-family: "Newsreader", serif; font-size: clamp(4.5rem, 7vw, 7rem); font-weight: 420; line-height: .82; letter-spacing: -.04em; }
.field-reading__statement span { display: block; max-width: 21ch; margin-top: 18px; color: var(--muted-light); font-size: 13px; }
.field-reading dl { margin: 0; }
.field-reading dl div { display: flex; justify-content: space-between; gap: 15px; padding: 13px 0; border-top: 1px solid oklch(23% .035 164 / .14); }
.field-reading dt { color: var(--muted-light); font-size: 12px; }
.field-reading dd { margin: 0; font-family: "Newsreader", serif; font-size: 18px; }

.observed-strip { display: grid; grid-template-columns: 1.15fr .75fr .9fr 1.1fr; gap: 16px; margin-top: 16px; align-items: start; }
.observed-empty { grid-column: 1 / -1; min-height: 190px; display: grid; place-items: center; margin: 0; color: var(--muted-light); font-family: "Newsreader", serif; font-size: clamp(1.4rem, 3vw, 2.7rem); text-align: center; }
.observed-item { position: relative; min-height: 330px; overflow: hidden; background: var(--forest-soft); }
.observed-item:nth-child(2) { min-height: 250px; margin-top: 70px; }
.observed-item:nth-child(3) { min-height: 410px; }
.observed-item:nth-child(4) { min-height: 285px; margin-top: 32px; }
.observed-item img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; filter: saturate(.72); transition: transform 750ms var(--ease-out), filter 240ms ease; }
.observed-item figcaption { position: absolute; z-index: 1; left: 14px; right: 14px; bottom: 12px; display: flex; justify-content: space-between; align-items: end; gap: 12px; color: white; font-size: 12px; text-shadow: 0 2px 16px rgba(0,0,0,.66); }
.observed-item figcaption strong { font-family: "Newsreader", serif; font-size: 19px; font-weight: 500; }

.scene--planner { z-index: 5; padding: clamp(120px, 17vh, 210px) var(--gutter) clamp(140px, 20vh, 240px); color: var(--ink-light); background: var(--lichen); color-scheme: light; }
.planner-heading { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; align-items: end; }
.planner-heading h2 { grid-column: 1 / span 8; }
.planner-heading .margin-label { grid-column: 1 / -1; }
.planner-heading > p:last-child { grid-column: 9 / span 3; margin: 0 0 8px; color: var(--muted-light); font-size: 15px; text-wrap: pretty; }
.planner-layout { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; margin-top: clamp(100px, 15vh, 180px); align-items: start; }
.patch-form { grid-column: 1 / span 5; }
.patch-form fieldset { padding: 0; margin: 0 0 60px; border: 0; }
.patch-form legend, .patch-conditions label, .area-range > span { margin-bottom: 17px; color: var(--muted-light); font-size: 11px; font-weight: 720; letter-spacing: .09em; text-transform: uppercase; }
.choice-lines { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 28px; }
.choice-lines input { position: absolute; opacity: 0; pointer-events: none; }
.choice-lines label { position: relative; min-height: 66px; display: flex; flex-direction: column; justify-content: center; padding: 10px 34px 10px 0; cursor: pointer; }
.choice-lines label::before { content: ""; position: absolute; top: 50%; right: 2px; width: 13px; height: 13px; border: 1px solid oklch(23% .035 164 / .35); border-radius: 50%; transform: translateY(-50%); transition: background-color 160ms ease, border-color 160ms ease, transform 160ms var(--ease-out); }
.choice-lines label::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: oklch(23% .035 164 / .15); transform-origin: left; transition: transform 220ms var(--ease-out), background-color 180ms ease; }
.choice-lines label:hover::after { background: oklch(23% .035 164 / .5); transform: scaleX(.65); }
.choice-lines label span { font-family: "Newsreader", serif; font-size: 22px; }
.choice-lines label small { color: var(--muted-light); font-size: 11px; }
.choice-lines input:checked + label::before { background: var(--forest); border-color: var(--forest); transform: translateY(-50%) scale(1.1); box-shadow: inset 0 0 0 3px var(--lichen); }
.choice-lines input:focus-visible + label { outline: 2px solid var(--forest); outline-offset: 3px; }
.choice-lines--compact label { min-height: 54px; }
.choice-lines--compact label span { font-family: "Manrope", sans-serif; font-size: 14px; font-weight: 650; }
.patch-conditions { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 48px; }
.patch-conditions label { display: grid; gap: 8px; }
.patch-conditions select { width: 100%; padding: 13px 0; color: var(--ink-light); background: transparent; border: 0; border-bottom: 1px solid oklch(23% .035 164 / .2); border-radius: 0; outline: 0; text-transform: none; }
.patch-conditions select:focus-visible { border-bottom-color: var(--forest); box-shadow: 0 2px 0 var(--forest); }
.area-range { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px; }
.area-range > span { margin: 0; }
.area-range strong { font-family: "Newsreader", serif; font-size: 24px; font-weight: 450; }
.area-range input { grid-column: 1 / -1; width: 100%; margin-top: 12px; accent-color: var(--forest); }
.shape-button { width: 100%; display: flex; justify-content: space-between; align-items: center; margin-top: 48px; padding: 18px 0; color: var(--ink-light); background: transparent; border: 0; border-bottom: 1px solid var(--ink-light); font-weight: 720; }
.shape-button i { font-style: normal; transition: transform 160ms var(--ease-out); }
.shape-button:hover i { transform: translate(4px, -4px); }
.shape-button:active { transform: scale(.99); }
.shape-button:disabled { cursor: wait; opacity: .62; }
.species-marker { width: 15px; height: 15px; display: block; border: 1px solid rgba(241,246,236,.9); border-radius: 50%; background: var(--marker-color); box-shadow: 0 0 0 7px rgba(184,219,117,.12), 0 8px 22px rgba(4,22,16,.35); transition: transform 180ms var(--ease-out); }
.species-marker:hover { transform: scale(1.35); }

.patch-result { grid-column: 7 / -1; position: sticky; top: 110px; min-height: 780px; display: grid; grid-template-columns: .42fr .58fr; grid-template-rows: auto auto 1fr auto auto; gap: 36px 42px; padding: clamp(34px, 5vw, 70px); color: var(--ink-dark); background: var(--forest); overflow: hidden; }
.patch-result::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; right: -25%; top: -22%; border-radius: 50%; background: radial-gradient(circle, oklch(80% .14 132 / .16), transparent 68%); pointer-events: none; }
.readiness-vessel { position: relative; width: min(14vw, 168px); aspect-ratio: 1; display: grid; place-items: center; align-content: center; border-radius: 50%; background: radial-gradient(circle at 32% 24%, oklch(90% .10 132 / .22), transparent 28%), conic-gradient(var(--living) calc(var(--score) * 1%), oklch(96% .01 150 / .12) 0); box-shadow: inset -18px -20px 38px rgba(3,17,12,.22), 0 26px 60px rgba(3,17,12,.16); }
.readiness-vessel::after { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: var(--forest); box-shadow: inset 12px 12px 30px rgba(255,255,255,.035); }
.readiness-vessel span, .readiness-vessel strong { position: relative; z-index: 1; text-align: center; }
.readiness-vessel span { color: var(--muted-dark); font-size: 9px; font-weight: 720; letter-spacing: .1em; text-transform: uppercase; }
.readiness-vessel strong { font-family: "Newsreader", serif; font-size: clamp(2.2rem, 4vw, 4rem); font-weight: 420; line-height: .9; }
.patch-result__copy { align-self: center; }
.patch-result__copy h3 { margin: 0; font-family: "Newsreader", serif; font-size: clamp(2.1rem, 4.5vw, 4.6rem); font-weight: 420; line-height: .94; letter-spacing: -.03em; text-wrap: balance; }
.patch-result__copy p { max-width: 47ch; margin: 22px 0 0; color: var(--muted-dark); font-size: 14px; }
.action-list { grid-column: 1 / -1; display: grid; align-content: start; gap: 1px; background: oklch(96% .01 150 / .11); }
.action-item { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 15px 0; background: var(--forest); cursor: pointer; }
.action-item input { width: 18px; height: 18px; accent-color: var(--living); }
.action-item span strong { display: block; font-size: 13px; }
.action-item span small { color: var(--muted-dark); font-size: 10px; }
.action-points { color: var(--living); font-size: 11px; font-weight: 720; }
.impact-sentence { grid-column: 1 / -1; max-width: 36ch; font-family: "Newsreader", serif; font-size: clamp(1.5rem, 2.7vw, 2.6rem); line-height: 1.12; }
.impact-sentence strong { color: var(--living); font-weight: 480; }
.method-note { grid-column: 1 / -1; margin: 0; color: var(--muted-dark); font-size: 10px; }

.scene--resolution { min-height: 112svh; display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: 1fr auto; gap: 16px; align-items: center; padding: 15vh var(--gutter) 42px; color: var(--ink-dark); background: linear-gradient(180deg, var(--forest-deep), oklch(17% .035 166 / .94)); }
.resolution-copy { grid-column: 2 / span 9; }
.resolution-copy > p { margin: 0 0 35px; color: var(--muted-dark); }
.resolution-copy h2 { font-size: clamp(4rem, 9.4vw, 9rem); }
.resolution-copy .text-link { margin-top: 55px; }
.resolution-note { grid-column: 2 / span 5; grid-row: 2; margin: 0; color: var(--muted-dark); font-size: 11px; }
footer { position: relative; z-index: 6; display: flex; justify-content: space-between; gap: 20px; padding: 24px var(--gutter); color: var(--muted-dark); background: oklch(17% .035 166); font-size: 11px; }

@media (hover: hover) and (pointer: fine) {
  .depth-plate { transition: transform 180ms var(--ease-out); }
  .specimen:hover img, .observed-item:hover img { transform: scale(1.035); filter: saturate(.94) contrast(1.02); }
}

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto auto; }
  .site-header nav { display: flex; }
  .site-header nav a:first-child { display: none; }
  .arrival-copy { grid-column: 1 / span 9; }
  .observation-float { grid-column: 9 / -1; }
  .signal-copy { grid-column: 1 / span 6; }
  .species-stage { grid-column: 7 / -1; }
  .evidence-heading > div, .planner-heading h2 { grid-column: 1 / span 9; }
  .evidence-heading > p, .planner-heading > p:last-child { grid-column: 9 / -1; }
  .map-plane { grid-column: 1 / span 8; }
  .field-reading { grid-column: 9 / -1; }
  .planner-layout { display: block; }
  .patch-form { width: min(91.667%, 680px); margin-left: 8.333%; }
  .patch-result { position: relative; top: auto; min-height: auto; margin-top: 100px; padding: 48px; }
  .readiness-vessel { width: 130px; }
}

@media (max-width: 767px) {
  :root { --gutter: 18px; }
  html { scroll-behavior: auto; }
  .site-header { top: 8px; min-height: 52px; grid-template-columns: 1fr auto; }
  .site-header nav { display: flex; }
  .live-place { display: none; }
  .wordmark span { font-size: 13px; }
  .live-place { font-size: 10px; }
  .world-vignette { box-shadow: inset 0 0 28vw rgba(3,17,12,.55); }
  .letterbox { display: none; }
  .scene-sticky { position: relative; height: auto; min-height: 100svh; }
  .scene--arrival { height: auto; min-height: 112svh; }
  .arrival-grid { min-height: 112svh; display: flex; flex-direction: column; justify-content: center; padding-top: 114px; }
  .arrival-copy h1 { font-size: clamp(4rem, 19vw, 6.2rem); line-height: .86; }
  .title-mask:nth-child(2) { padding-left: 7vw; }
  .arrival-intro, .arrival-copy .text-link { margin-left: 0; }
  .arrival-caption { position: absolute; left: var(--gutter); bottom: 24px; max-width: 220px; }
  .field-note--vertical { display: none; }
  .observation-float { width: 190px; margin: 44px 0 0 auto; padding: 16px; }
  .observation-float strong { margin: 20px 0 8px; font-size: 28px; }
  .scene--signal { min-height: auto; padding-top: 130px; padding-bottom: 130px; }
  .signal-layout { min-height: auto; display: block; }
  .signal-copy > p:last-child { margin-left: 0; }
  .species-stage { min-height: 720px; margin-top: 80px; }
  .specimen--a { left: 0; top: 12%; width: 57%; }
  .specimen--b { right: 0; width: 46%; }
  .specimen--c { right: 4%; width: 66%; }
  .scene--connection { height: auto; min-height: 120svh; }
  .connection-stage { min-height: 120svh; }
  .connection-stage h2 { font-size: clamp(3.6rem, 17vw, 6rem); }
  .connection-line--one, .connection-line--two, .connection-line--three { transform: none; }
  .connection-kicker { top: 14%; }
  .connection-thesis { bottom: 10%; padding-inline: 18px; }
  .connection-orbit { width: 78vw; }
  .evidence-surface, .scene--planner { padding-top: 110px; padding-bottom: 120px; }
  .evidence-heading, .planner-heading { display: block; }
  .evidence-heading h2, .planner-heading h2 { font-size: clamp(3.4rem, 15vw, 5.4rem); }
  .evidence-heading > p, .planner-heading > p:last-child { max-width: 50ch; margin-top: 34px; }
  .place-search { width: 100%; margin: 90px 0 60px; }
  .place-search input { font-size: 34px; }
  .place-search__meta { align-items: flex-start; flex-direction: column; }
  .radius-control { width: 100%; justify-content: space-between; }
  .map-composition { display: block; }
  .map-plane { min-height: 520px; transform: none !important; }
  #map { min-height: 520px; height: 65svh; }
  .field-reading { padding: 45px 0 0; }
  .field-reading__statement { display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 20px; margin-bottom: 36px; }
  .field-reading__statement strong { font-size: 72px; }
  .field-reading__statement span { margin: 0 0 7px; }
  .observed-strip { grid-template-columns: 1fr 1fr; }
  .observed-item, .observed-item:nth-child(n) { min-height: 260px; margin-top: 0; }
  .observed-item:nth-child(3) { min-height: 330px; }
  .planner-layout { display: block; margin-top: 90px; }
  .patch-form { width: 100%; margin-left: 0; }
  .patch-result { position: relative; top: auto; min-height: auto; margin-top: 90px; grid-template-columns: 1fr; padding: 26px 22px 34px; }
  .readiness-vessel { width: 124px; }
  .patch-result__copy, .action-list, .impact-sentence, .method-note { grid-column: 1; }
  .patch-result__copy h3 { font-size: 42px; }
  .choice-lines { gap: 6px 18px; }
  .choice-lines label span { font-size: 20px; }
  .scene--resolution { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
  .resolution-copy h2 { font-size: clamp(4rem, 17vw, 6rem); }
  .resolution-note { position: absolute; left: var(--gutter); bottom: 26px; }
  footer { flex-direction: column; }
}

@media (max-width: 470px) {
  .site-header { right: 8px; left: 8px; }
  .live-place span { max-width: 90px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .choice-lines, .patch-conditions { grid-template-columns: 1fr; }
  .observed-strip { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
  .observed-item, .observed-item:nth-child(n) { flex: 0 0 82vw; min-height: 320px; scroll-snap-align: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .letterbox { display: none; }
  .scene--arrival, .scene--connection { height: auto; min-height: 100svh; }
  .scene-sticky { position: relative; height: auto; min-height: 100svh; }
  .connection-line { transform: none; }
  .specimen img { transform: none !important; }
}
.species-marker {
  width: 15px;
  height: 15px;
  display: block;
  border: 1px solid rgba(241, 246, 236, 0.9);
  border-radius: 50%;
  background: var(--marker-color);
  box-shadow:
    0 0 0 7px rgba(184, 219, 117, 0.12),
    0 8px 22px rgba(4, 22, 16, 0.35);
  transition: transform 180ms var(--ease-out);
}

.species-marker:hover {
  transform: scale(1.35);
}

.shape-button:disabled {
  cursor: wait;
  opacity: 0.62;
}
