@font-face { font-family: "Fraunces"; src: url("fonts/fraunces-600-latin.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces Fallback"; src: local("Georgia"); size-adjust: 106%; ascent-override: 92%; descent-override: 24%; }
:root {
  --bg: #f4efe6; --surface: #fbf8f2; --ink: #231f1a; --muted: #635748; --line: #e3dacb;
  --green: #386330; --green-dark: #284830; --green-soft: #e6efe1; --card: #3f9d5a; --ochre: #904c0c;
  --dusk: #1c2a20; --dusk-ink: #f4efe6; --on-green: #fff; --phone: #1d1a16; --hero: #3a2a18;
  --phone-shadow: 0 30px 60px -28px rgba(35, 31, 26, 0.5); --phone-shadow-dusk: 0 30px 60px -24px rgba(0, 0, 0, 0.6);
  --plate-shadow: 0 18px 40px -30px rgba(35, 31, 26, 0.45); --play-veil: rgba(29, 26, 22, 0.72);
  --shadow-dock: 0 -4px 16px rgba(0, 0, 0, 0.25);
  --status-fill: rgba(251, 248, 242, 0.14); --status-edge: rgba(251, 248, 242, 0.4);
  /* The shade over the hero photo, from below and from the left, so the words on it stand out; on a narrow screen
     from below alone. */
  --hero-shade: linear-gradient(0deg, rgba(14, 11, 6, 0.84) 0%, rgba(14, 11, 6, 0.5) 40%, rgba(14, 11, 6, 0) 70%), linear-gradient(90deg, rgba(14, 11, 6, 0.6) 0%, rgba(14, 11, 6, 0.35) 40%, rgba(14, 11, 6, 0) 60%);
  --hero-shade-narrow: linear-gradient(0deg, rgba(14, 11, 6, 0.8) 0%, rgba(14, 11, 6, 0.45) 30%, rgba(14, 11, 6, 0) 60%);
  --serif: "Fraunces", "Fraunces Fallback", Georgia, serif;
  --sans: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 19px; line-height: 1.6; }
img, video { max-width: 100%; display: block; height: auto; }
a { color: var(--green); }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: clamp(44px, 6.2vw, 80px); line-height: 1.02; margin: 0 0 22px; }
h2 { font-size: clamp(32px, 3.8vw, 48px); line-height: 1.08; margin: 0 0 20px; }
p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }
.lede { font-size: clamp(19px, 1.7vw, 22px); line-height: 1.5; }
.text { max-width: 34em; }
.nowrap { white-space: nowrap; }
.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; }
/* The room above and below each part of the page, named once for every width: the night's stars keep within it. */
:root { --section-pad: 136px; }
section { padding: var(--section-pad) 0; }

/* Header and footer, shared by every page (site/page-parts.html). The links stand beside the name, or on a line of
   their own under it where the screen is too narrow for both. */
header.top { padding: 16px 0; background: var(--bg); }
header.top .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--serif); font-weight: 600; font-size: 25px; }
.brand img { width: 44px; height: 44px; }
header nav { display: flex; gap: 22px; font-size: 16px; }
header nav a { color: var(--muted); text-decoration: none; }
header nav a:hover { color: var(--ink); text-decoration: underline; }
footer { border-top: 1px solid var(--line); padding: 28px 0 48px; color: var(--muted); font-size: 15px; }
.foot { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.foot a { color: var(--muted); }

/* Phone frames: one frame everywhere, upright */
.phone { border-radius: 36px; padding: 9px; background: var(--phone); box-shadow: var(--phone-shadow); max-width: 300px; margin: 0 auto; }
.phone img, .phone video { width: 100%; border-radius: 28px; background: var(--surface); }
.phone video { aspect-ratio: 720 / 1600; object-fit: cover; cursor: pointer; }
.phone:has(video) { position: relative; }
.phone.held::after { content: ""; position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: var(--play-veil) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6.5v11l9-5.5z' fill='%23fbf8f2'/%3E%3C/svg%3E") center / 40px no-repeat; pointer-events: none; }
.framed figcaption, .caption { text-align: center; font-size: 14px; color: var(--muted); margin-top: 14px; }
.pause { font: inherit; font-size: 15px; font-weight: 600; min-width: 44px; min-height: 44px; padding: 8px 18px; color: var(--green); background: transparent; border: 1.5px solid var(--green); border-radius: 999px; cursor: pointer; }
.button { display: inline-block; padding: 12px 22px; border-radius: 999px; background: var(--green); color: var(--on-green); text-decoration: none; font-weight: 600; font-size: 17px; }
.button:hover { background: var(--green-dark); }

/* 1. First light */
.hero { padding: 0; position: relative; }
.hero-media { position: relative; height: min(78vh, 760px); min-height: 540px; overflow: hidden; background: var(--hero); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: var(--hero-shade); }
.hero-copy { position: absolute; inset: 0; display: flex; align-items: flex-end; padding-bottom: 72px; z-index: 1; }
.hero-copy .wrap { width: 100%; }
.hero-copy .text { max-width: 30em; color: var(--surface); }
.hero h1 { color: var(--surface); max-width: 9em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 26px; }
.status { display: inline-block; margin: 0; padding: 6px 14px; border-radius: 8px; font-weight: 600; font-size: 15px; color: var(--surface); background: var(--status-fill); border: 1px solid var(--status-edge); }
.hear-link { color: var(--surface); font-weight: 600; font-size: 17px; }
.hero-phone { position: absolute; z-index: 2; right: max(24px, calc((100% - 1200px) / 2 + 48px)); bottom: -150px; width: 250px; }
.hero-phone .phone { max-width: none; }
.after-hero { padding-top: 200px; }

/* 2. A bird calls */
.moment-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 72px; align-items: center; }
.moment-grid.flip > :first-child { order: 2; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 30px 0 14px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px; min-height: 196px; display: flex; flex-direction: column; justify-content: flex-start; gap: 16px; transition: border-color 200ms ease-out; }
.tile .play { position: relative; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--green); color: var(--on-green); cursor: pointer; display: grid; place-items: center; }
.tile .play svg { width: 18px; height: 18px; }
.tile .play .i-stop { display: none; }
.tile.playing .play .i-play { display: none; }
.tile.playing .play .i-stop { display: block; }
.tile .play .i-done { display: none; }
.tile.heard .play .i-play, .tile.heard .play .i-stop { display: none; }
.tile.heard .play .i-done { display: block; }
.tile.heard .play { background: var(--green-soft); color: var(--green); cursor: default; }
.tile.waiting { opacity: 0.45; }
.tile.waiting .play { cursor: default; }
.tile .play:focus-visible, .pause:focus-visible, .plate-play:focus-visible { outline: 3px solid var(--ochre); outline-offset: 3px; }
.tile .label { font-weight: 600; font-size: 16px; margin: 0; }
.tile .desc { font-size: 14px; color: var(--muted); margin: 2px 0 0; line-height: 1.45; }
.tile .result { display: none; flex-direction: column; align-items: flex-start; gap: 8px; }
.tile .result img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.tile .result .name { font-family: var(--serif); font-weight: 600; font-size: 18px; line-height: 1.15; margin: 0; hyphens: manual; overflow-wrap: normal; }
.tile .result .heard { display: inline-block; margin-top: 4px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--green); background: var(--green-soft); border-radius: 6px; padding: 2px 8px; }
.tile.heard { border: 2px solid var(--card); padding: 15px; }
.tile.heard .result { display: flex; animation: reveal 200ms ease-out; }
.tile.heard .prompt { display: none; }
.tile.playing .play::before, .tile.playing .play::after, .plate-play.playing::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--green); animation: ring 1.6s ease-out infinite; pointer-events: none; }
.tile.playing .play::after { animation-delay: 0.8s; }
@keyframes ring { from { transform: scale(1); opacity: 0.55; } to { transform: scale(1.8); opacity: 0; } }
@keyframes reveal { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.tiles-note { font-size: 15px; color: var(--muted); }

.moment-grid.even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.listen-demo { display: grid; grid-template-columns: minmax(0, 230px) minmax(0, 1fr); gap: 22px; align-items: center; }
.demo-phone { max-width: none; margin: 0; }
.demo-screens { position: relative; }
.demo-screens img { width: 100%; border-radius: 28px; }
.demo-screens .overlay { position: absolute; inset: 0; height: 100%; opacity: 0; transition: opacity 350ms ease-out; }
.demo-screens .overlay.on { opacity: 1; }
.listen-demo .tiles { grid-template-columns: 1fr; margin: 0; gap: 12px; }
.listen-demo .tile { min-height: 0; flex-direction: row; align-items: center; gap: 14px; padding: 14px; }
.listen-demo .tile.heard { padding: 13px; }
.listen-demo .tile .play { flex: none; }
.listen-demo .tile .result { flex-direction: row; align-items: center; gap: 10px; }
.listen-demo .tile .result img { width: 44px; height: 44px; }
.demo .tiles-note { margin-top: 16px; }

/* 3. Check it yourself */
.plate { background: var(--surface); border: 1px solid var(--line); border-radius: 4px; padding: 16px 16px 20px; box-shadow: var(--plate-shadow); max-width: 420px; }
.plate img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 2px; }
.plate .names { border-top: 1px solid var(--ink); margin-top: 14px; padding-top: 12px; display: grid; gap: 2px; }
.plate .en { font-family: var(--serif); font-weight: 600; font-size: 26px; line-height: 1.15; margin: 0; }
.plate .af { color: var(--ochre); font-weight: 600; margin: 0; }
.plate .sci { font-style: italic; color: var(--muted); margin: 0; font-size: 16px; }
.plate-play { justify-self: start; margin-top: 12px; position: relative; font: inherit; font-size: 15px; font-weight: 600; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--green); color: var(--green); background: transparent; cursor: pointer; }
.plate .plate-note { margin: 12px 0 0; font-size: 15px; line-height: 1.45; color: var(--muted); }
.check-media { display: flex; gap: 28px; align-items: center; justify-content: center; }
.check-media .phone { max-width: 250px; margin: 0; }
.duo { display: flex; gap: 18px; justify-content: center; }
.duo .phone { width: 230px; max-width: none; margin: 0; }
.day-afternoon .wrap + .wrap { margin-top: 72px; }

/* 4. Where you heard them */
.map-text h2 { max-width: 16em; }
.map-text .cols { columns: 2; column-gap: 56px; }
.map-text .cols p { break-inside: avoid; }
.map-band { position: relative; margin-top: 48px; }
.map-band .wide { width: 100%; height: 520px; object-fit: cover; border-radius: 20px; }
.map-band .phones { position: absolute; right: 48px; bottom: -110px; display: flex; gap: 18px; align-items: flex-end; }
.map-band .phones .phone { width: 230px; max-width: none; margin: 0; }
.map-foot { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; margin-top: 136px; }
#map { padding-bottom: 88px; }
.map-foot .caption { text-align: left; margin: 0; }
.map-foot .pause { order: 1; margin-right: 48px; }

/* 5. Back at camp (dusk) */
.dusk { background: var(--dusk); color: var(--dusk-ink); }
.dusk h2 { color: var(--dusk-ink); }
.dusk .duo .phone { box-shadow: var(--phone-shadow-dusk); }

/* 6 and 7. The practical part */
.linen { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.practical .moment-grid { align-items: start; }
.park-outline { height: 520px; width: auto; margin: 0 auto; }
.coverage { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 18px; }
.coverage p { margin: 0; font-size: 18px; line-height: 1.45; color: var(--ink); }
.coverage .label { display: block; font-weight: 700; font-size: 12px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--green); margin-bottom: 6px; }

/* 8. Questions and the close */
.faq { margin: 8px 0 0; }
.faq dt { font-family: var(--serif); font-weight: 600; font-size: 22px; margin: 30px 0 6px; }
.faq dt:first-child { margin-top: 0; }
.faq dd { margin: 0; }
.close { text-align: center; padding-top: 96px; }
.close img { width: 72px; height: 72px; margin: 0 auto 18px; }
.close h2 { margin-bottom: 10px; }
.close p { margin: 0 0 22px; }

/* Text pages (support, map data, privacy) */
.prose { padding-top: 16px; padding-bottom: 72px; }
.prose h1 { font-size: clamp(34px, 5vw, 52px); margin: 0 0 20px; }
.prose h2 { font-size: clamp(24px, 3vw, 30px); margin: 40px 0 10px; }
.prose p, .prose ul { margin: 0 0 16px; }
.prose li { margin: 0 0 6px; }
.prose .updated { color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  .demo-screens .overlay { transition: none; }
  .tile.playing .play::before, .tile.playing .play::after, .plate-play.playing::before { animation: none; display: none; }
  .tile.heard .result { animation: none; }
}
@media (max-width: 900px) {
  :root { --section-pad: 88px; }
  .moment-grid, .moment-grid.flip, .moment-grid.even { grid-template-columns: 1fr; gap: 48px; }
  .moment-grid.flip > :first-child { order: 0; }
  .map-band .wide { height: 340px; }
  .map-text .cols { columns: 1; }
  .map-band .phones { position: static; justify-content: center; margin-top: -90px; }
  .map-band .phones .phone { width: 60%; max-width: 250px; }
  .map-foot { margin-top: 24px; justify-content: center; }
  .map-foot .caption { text-align: center; }
  .map-foot .pause { order: 0; margin-right: 0; }
}
@media (max-width: 760px) {
  body { font-size: 17px; }
  .wrap { padding: 0 18px; }
  header nav .wide { display: none; }
  .hero { display: grid; grid-template-columns: 100%; }
  .hero-media { grid-area: 1 / 1; height: 42vh; min-height: 260px; }
  .hero-media::after { background: var(--hero-shade-narrow); }
  .hero-copy, .hero-copy .wrap, .hero-copy .text { display: contents; }
  .hero h1 { grid-area: 1 / 1; align-self: end; z-index: 1; margin: 0; padding: 0 18px 22px; max-width: none; }
  .hero .lede { margin: 22px 0 0; padding: 0 18px; color: var(--ink); }
  .hero-actions { padding: 0 18px; }
  .status { color: var(--green); background: var(--green-soft); border: 0; }
  .hear-link { color: var(--green); }
  .hero-phone { display: none; }
  /* Sections stand closer than on a computer: 88 px above and below each was a screen and a half of empty scrolling. */
  :root { --section-pad: 56px; }
  .after-hero { padding-top: 56px; }
  .moment-grid, .moment-grid.flip, .moment-grid.even { gap: 32px; }
  .tiles { grid-template-columns: 1fr; }
  .listen-demo { grid-template-columns: 150px minmax(0, 1fr); gap: 12px; }
  /* A phone's frame is thin on a phone, so that its picture keeps the width. */
  .demo-phone, .duo .phone, .moment-grid > .phone, .map-band .phones .phone { border-radius: 24px; padding: 6px; }
  .demo-screens img, .duo .phone img, .moment-grid > .phone img, .map-band .phones .phone video { border-radius: 19px; }
  .listen-demo .tile { padding: 10px; gap: 10px; }
  .listen-demo .tile.heard { padding: 9px; }
  .listen-demo .tile .play { width: 44px; height: 44px; }
  .listen-demo .tile .desc { font-size: 13px; }
  .listen-demo .tile .result .name { font-size: 16px; }
  .listen-demo .tile .result img { display: none; }
  .tile { min-height: 0; flex-direction: row; align-items: center; justify-content: flex-start; gap: 14px; }
  .check-media { flex-direction: column; }
  /* The plate keeps near the size of the pictures of the app, so that the bird does not outweigh the screens below it. */
  .plate { width: 280px; padding: 12px 12px 16px; }
  .plate .en { font-size: 22px; }
  /* The plate stands for the bird's page: the page's picture shows the same bird. */
  .check-media .phone { display: none; }
  /* Every picture of the app is 216 px wide in its 228 px frame, one under another: two fifths of its own 540 px, so it
     scales cleanly, and small enough that the page is a short scroll; a pinch shows its words larger. */
  .duo, .map-band .phones { flex-direction: column; align-items: center; gap: 24px; }
  .duo .phone, .moment-grid > .phone, .map-band .phones .phone { width: 228px; max-width: 228px; }
  .park-outline { height: auto; width: 100%; max-width: 360px; }
}
@media (max-width: 380px) {
  .listen-demo { grid-template-columns: 1fr; justify-items: center; gap: 16px; }
  .demo-phone { width: 190px; }
  .listen-demo .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; gap: 8px; }
  .listen-demo .tile, .listen-demo .tile.heard { flex-direction: column; align-items: center; text-align: center; padding: 10px 6px; gap: 8px; }
  .listen-demo .tile .desc { display: none; }
  .listen-demo .tile .label { font-size: 14px; }
  .listen-demo .tile .result { flex-direction: column; align-items: center; gap: 4px; }
  .listen-demo .tile .result .name { font-size: 14px; }
  .listen-demo .tile .nowrap { white-space: normal; }
}
