:root {
  --ink: #17333a;
  --paper: #f7f1df;
  --paper-2: #ece3cc;
  --sky: #bfe4ee;
  --sky-deep: #4aa2bd;
  --reed: #3d6b4f;
  --reed-dark: #244b39;
  --coral: #e5674d;
  --yellow: #edca66;
  --white: #fffcf3;
  --muted: #607276;
  --line: rgba(23,51,58,.24);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  --mono: "SFMono-Regular", Consolas, monospace;
  --max: 1180px;
  --ease: cubic-bezier(.2,.72,.22,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.7 var(--sans); }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; }
a:hover { color: var(--coral); }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }
.skip-link { position: fixed; z-index: 100; top: 1rem; left: 1rem; padding: .7rem 1rem; color: white; background: var(--reed-dark); transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.wrap { width: min(calc(100% - 2.5rem),var(--max)); margin-inline: auto; }
.narrow { width: min(calc(100% - 2rem),780px); margin-inline: auto; }

.site-header { position: relative; z-index: 20; border-bottom: 1px solid var(--line); background: rgba(247,241,223,.96); }
.nav-row { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; color: var(--ink); font-weight: 850; letter-spacing: -.03em; text-decoration: none; }
.brand-mark { position: relative; width: 48px; aspect-ratio: 1; border: 1px solid var(--reed); border-radius: 50%; background: var(--sky); overflow: hidden; }
.brand-mark::before { position: absolute; left: 9px; top: 21px; width: 28px; height: 9px; border-top: 3px solid var(--reed-dark); border-radius: 50%; content: ""; transform: rotate(-20deg); }
.brand-mark::after { position: absolute; left: 27px; top: 14px; width: 7px; aspect-ratio: 1; border-radius: 50%; background: var(--coral); content: ""; }
.brand small { display: block; margin-top: .25rem; color: var(--muted); font: .6rem var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.site-nav { display: flex; gap: .2rem; }
.site-nav a { padding: .65rem .75rem; border-radius: 999px; font: 800 .7rem var(--mono); text-decoration: none; text-transform: uppercase; }
.site-nav a:hover,.site-nav a[aria-current="page"] { color: white; background: var(--reed-dark); }
.menu-button { display: none; padding: .6rem .8rem; border: 1px solid var(--reed-dark); border-radius: 999px; color: var(--ink); background: transparent; font-weight: 850; }

.kicker { display: flex; align-items: center; gap: .7rem; margin: 0 0 1rem; color: var(--reed); font: 800 .72rem var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.kicker::before { width: 30px; height: 2px; background: currentColor; content: ""; }
h1,h2,h3 { margin: 0; font-family: var(--serif); font-weight: 500; line-height: 1.04; letter-spacing: -.035em; }
h1 { font-size: clamp(3.2rem,7.5vw,7.2rem); }
h2 { font-size: clamp(2.3rem,4.6vw,4.3rem); }
h3 { font-size: clamp(1.45rem,2.2vw,2rem); }
p { margin: 0 0 1.15rem; }
.lead { max-width: 720px; color: var(--muted); font: 1.25rem/1.58 var(--serif); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 49px; padding: .75rem 1.05rem; border: 1px solid var(--reed-dark); border-radius: 999px; color: white; background: var(--reed-dark); font-weight: 850; text-decoration: none; transition: transform .2s var(--ease),background .2s var(--ease); }
.button:hover { color: white; background: var(--coral); transform: translateY(-2px); }
.button.light { color: var(--reed-dark); background: transparent; }
.button.light:hover { color: white; background: var(--sky-deep); }

.hero { position: relative; overflow: hidden; padding: clamp(3.5rem,8vw,7.5rem) 0 4rem; background: linear-gradient(180deg,var(--sky),var(--paper)); }
.hero::before { position: absolute; right: -12vw; top: -28%; width: min(68vw,840px); aspect-ratio: 1; border: 1px solid rgba(23,51,58,.17); border-radius: 50%; content: ""; box-shadow: 0 0 0 80px rgba(255,255,255,.14),0 0 0 160px rgba(255,255,255,.09); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem,6vw,6rem); align-items: center; }
.hero-copy h1 em { color: var(--coral); font-style: italic; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.hero-photo { position: relative; }
.hero-photo picture img { width: 100%; aspect-ratio: 1; object-fit: cover; border: 10px solid var(--white); border-radius: 50%; box-shadow: 0 25px 60px rgba(23,51,58,.18); }
.sighting-label { position: absolute; right: -1rem; bottom: 8%; width: 220px; padding: .8rem; border: 1px solid var(--ink); background: var(--yellow); font: .68rem/1.5 var(--mono); transform: rotate(-3deg); }
.flight-line { position: absolute; left: 2%; top: 18%; width: 31%; height: 80px; border-top: 1px dashed var(--reed); border-radius: 50%; transform: rotate(-12deg); }

.ledger { border-block: 1px solid var(--line); background: var(--white); }
.ledger-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.ledger-cell { padding: 1.1rem; border-right: 1px solid var(--line); }
.ledger-cell:last-child { border-right: 0; }
.ledger-cell b { display: block; margin-bottom: .45rem; color: var(--coral); font: 1.7rem/1 var(--serif); }
.ledger-cell span { color: var(--muted); font: .68rem/1.5 var(--mono); text-transform: uppercase; }

.section { padding: clamp(4.5rem,9vw,8rem) 0; }
.sky-field { background: var(--sky); border-block: 1px solid var(--line); }
.reed-field { color: white; background: var(--reed-dark); }
.reed-field .kicker { color: var(--yellow); }
.reed-field p { color: #cadbd1; }
.section-head { display: grid; grid-template-columns: 1fr .55fr; gap: 3rem; align-items: end; margin-bottom: 2.5rem; }
.section-head p { margin: 0; color: var(--muted); }
.note-grid { display: grid; grid-template-columns: repeat(12,1fr); gap: 1rem; }
.bird-card { grid-column: span 6; overflow: hidden; border: 1px solid var(--line); border-radius: 100px 10px 10px 10px; background: var(--white); }
.bird-card:nth-child(2n) { border-radius: 10px 100px 10px 10px; }
.bird-card picture img { width: 100%; height: 315px; object-fit: cover; filter: saturate(.82); transition: transform .55s var(--ease),filter .55s var(--ease); }
.bird-card:hover picture img { transform: scale(1.025); filter: saturate(1); }
.card-copy { padding: 1.35rem; }
.card-meta { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .75rem; color: var(--muted); font: 700 .66rem var(--mono); text-transform: uppercase; }
.bird-card h2,.bird-card h3 { font-size: clamp(1.75rem,2.7vw,2.55rem); }
.bird-card h2 a,.bird-card h3 a { text-decoration: none; }
.bird-card p { margin-top: .7rem; color: var(--muted); }

.habitat-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem,7vw,7rem); align-items: start; }
.river-diagram { position: sticky; top: 2rem; min-height: 500px; border: 1px solid rgba(255,255,255,.4); overflow: hidden; background: linear-gradient(180deg,transparent 0 58%,rgba(74,162,189,.55) 58% 72%,rgba(237,202,102,.22) 72%); }
.river-diagram::before,.river-diagram::after { position: absolute; left: -10%; bottom: 24%; width: 120%; height: 90px; border-top: 2px solid var(--sky); border-radius: 50%; content: ""; transform: rotate(-4deg); }
.river-diagram::after { bottom: 15%; transform: rotate(3deg); }
.river-diagram span { position: absolute; left: 1rem; top: 1rem; max-width: 190px; color: var(--yellow); font: .7rem/1.5 var(--mono); text-transform: uppercase; }
.practice-list { counter-reset: practice; }
.practice-step { display: grid; grid-template-columns: 58px 1fr; gap: 1rem; padding: 1.7rem 0; border-top: 1px solid rgba(255,255,255,.28); }
.practice-step::before { counter-increment: practice; content: "0" counter(practice); color: var(--yellow); font: 1.7rem/1 var(--serif); }
.practice-step p { margin: .7rem 0 0; }

.page-hero { padding: clamp(4.5rem,9vw,8rem) 0 4rem; border-bottom: 1px solid var(--line); background: linear-gradient(135deg,var(--sky),var(--paper) 68%); }
.page-hero .lead { margin-top: 1.4rem; }
.breadcrumbs { margin-bottom: 2rem; color: var(--muted); font: .68rem var(--mono); text-transform: uppercase; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li + li::before { margin-right: .5rem; color: var(--coral); content: "›"; }
.article-shell { display: grid; grid-template-columns: minmax(0,1fr) 280px; gap: clamp(2rem,7vw,6rem); align-items: start; }
.article-main { min-width: 0; }
.article-main .lead { margin: 1.2rem 0 1.5rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: .65rem 1.4rem; margin: 1.5rem 0; color: var(--muted); font: .68rem var(--mono); text-transform: uppercase; }
.article-image { margin: 2rem 0 2.5rem; }
.article-image img { width: 100%; max-height: 700px; object-fit: cover; border-radius: 100px 10px 10px 10px; }
.image-credit { margin-top: .6rem; color: var(--muted); font: .68rem/1.5 var(--mono); }
.prose { font: 1.08rem/1.86 var(--serif); }
.prose h2 { margin: 3.25rem 0 1rem; font-size: clamp(2rem,3.5vw,3rem); }
.prose h3 { margin: 2rem 0 .8rem; font-size: 1.5rem; }
.prose a { color: var(--reed); font-weight: 700; }
.prose blockquote { margin: 2rem 0; padding: 1.35rem; border-left: 5px solid var(--coral); background: var(--white); font-size: 1.3rem; font-style: italic; }
.prose ul,.prose ol { padding-left: 1.4rem; }
.field-box { margin: 2rem 0; padding: 1.4rem; border: 1px solid var(--line); border-radius: 6px 60px 6px 6px; background: var(--sky); font-family: var(--sans); font-size: .94rem; }
.field-box h3 { margin: 0 0 .8rem; color: var(--reed-dark); font: 800 .72rem var(--mono); text-transform: uppercase; }
.article-aside { position: sticky; top: 2rem; padding: 1.2rem; border: 1px solid var(--line); border-radius: 50px 8px 8px 8px; background: var(--white); }
.article-aside h2 { margin-bottom: .8rem; color: var(--coral); font: 800 .72rem var(--mono); text-transform: uppercase; }
.article-aside ul { margin: 0; padding: 0; list-style: none; }
.article-aside li { padding: .75rem 0; border-top: 1px solid var(--line); font-size: .87rem; }
.article-aside p { margin-top: 1rem; color: var(--muted); font-size: .78rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 120px 10px 10px 10px; overflow: hidden; background: var(--white); }
.split picture img { width: 100%; height: 100%; min-height: 450px; object-fit: cover; }
.split-copy { padding: clamp(2rem,5vw,4.5rem); }
.split-copy h2 { margin-bottom: 1rem; }
.split-copy p { color: var(--muted); }
.check-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; }
.check-card { min-height: 260px; padding: 1.35rem; border: 1px solid var(--line); background: var(--white); }
.check-card b { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 2rem; border: 1px solid var(--reed); color: var(--reed); font: .75rem var(--mono); }
.check-card p { color: var(--muted); }
.callout { padding: clamp(2rem,5vw,4rem); border: 1px solid var(--line); border-radius: 100px 8px 100px 8px; background: var(--yellow); }
.callout h2 { max-width: 850px; margin-bottom: 1rem; }
.callout p { max-width: 680px; }
.source-list { margin: 2rem 0; padding: 0; list-style: none; }
.source-list li { padding: 1.1rem 0; border-top: 1px solid var(--line); }
.source-list strong { display: block; font: 1.25rem var(--serif); }
.source-list span { color: var(--muted); font-size: .86rem; }
.legal h2 { margin: 2.8rem 0 .8rem; font-size: 2rem; }
.legal h3 { margin: 1.8rem 0 .6rem; font-size: 1.35rem; }
.legal p,.legal li { color: var(--muted); }
.lost { min-height: 65vh; display: grid; place-items: center; text-align: center; }
.lost .lead { margin: 1.5rem auto 2rem; }
.center { justify-content: center; }

.site-footer { padding: 4rem 0 1.5rem; color: white; background: var(--reed-dark); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .6fr .6fr; gap: 2rem; }
.site-footer .brand { color: white; }
.site-footer .brand-mark { border-color: var(--sky); background: transparent; }
.site-footer .brand small { color: #b7d1c0; }
.footer-intro { max-width: 420px; margin-top: 1rem; color: #b7d1c0; }
.footer-title { margin-bottom: .8rem; color: var(--yellow); font: .68rem var(--mono); text-transform: uppercase; }
.footer-links { margin: 0; padding: 0; list-style: none; }
.footer-links li { margin: .5rem 0; }
.footer-links a { color: white; font-size: .88rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.25); color: #9fb8a8; font: .66rem var(--mono); text-transform: uppercase; }
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease),transform .6s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width:880px) {
  .menu-button { display: inline-flex; }
  .site-nav { position: absolute; left: 1.25rem; right: 1.25rem; top: calc(100% + 1px); display: none; padding: .75rem; border: 1px solid var(--line); background: var(--paper); box-shadow: 0 20px 45px rgba(23,51,58,.18); }
  .site-nav.is-open { display: grid; }
  .site-nav a { border-radius: 4px; }
  .hero-grid,.section-head,.habitat-grid,.article-shell,.split { grid-template-columns: 1fr; }
  .hero-copy { max-width: 700px; }
  .hero-photo { max-width: 680px; }
  .river-diagram,.article-aside { position: relative; top: auto; }
  .river-diagram { min-height: 340px; }
  .check-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; }
}
@media (max-width:600px) {
  .wrap,.narrow { width: min(calc(100% - 1.25rem),var(--max)); }
  .nav-row { min-height: 72px; }
  .brand { font-size: .9rem; }
  .brand small { font-size: .53rem; }
  .brand-mark { width: 40px; }
  .hero { padding-top: 3rem; }
  .hero-photo picture img { border-width: 6px; }
  .sighting-label { right: 0; width: 190px; }
  .ledger-grid { grid-template-columns: 1fr 1fr; }
  .ledger-cell:nth-child(2) { border-right: 0; }
  .ledger-cell:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .bird-card { grid-column: 1/-1; border-radius: 60px 8px 8px 8px; }
  .bird-card:nth-child(2n) { border-radius: 8px 60px 8px 8px; }
  .bird-card picture img { height: 250px; }
  .check-grid,.footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin-top: .5rem; }
}
@media (prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } *,*::before,*::after { animation-duration:.01ms!important; transition-duration:.01ms!important; } }

