:root {
  --ink: #151c15;
  --orange: #ff5924;
  --paper: #ffffff;
  --mist: #f9f9fa;
  --line: rgba(175, 175, 175, 0.5);
  --muted: rgba(21, 28, 21, 0.72);
  --white-soft: rgba(255, 255, 255, 0.86);
  --header: 86px;
  --max: 1200px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

button, a, input { font-family: inherit; }

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  background: #fff;
  color: var(--ink);
  padding: 8px 12px;
  z-index: 100;
}

.skip:focus { top: 12px; }

.wrap {
  width: min(var(--max), calc(100% - 30px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  height: var(--header);
  display: flex;
  align-items: center;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header.is-solid {
  background: var(--ink);
  box-shadow: inset 0 -3px 0 var(--orange);
}

.header-bar {
  width: min(var(--max), calc(100% - 30px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  color: #fff;
  min-width: 0;
}

.brand img { height: 52px; width: auto; display: block; }
.footer .brand img { height: 72px; }

.brand-name {
  display: flex;
  flex-direction: column;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.05;
  font-size: 13px;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px;
  height: 1.5px;
  background: #fff;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav a:hover { color: var(--orange); }

.nav a.btn {
  min-height: 0;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--ink);
}

.nav a.btn:hover { color: #fff; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 24px;
  border-radius: 50px;
  border: 1px solid transparent;
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}

.btn-light {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.btn-light:hover { background: var(--orange); border-color: var(--orange); color: #fff; }

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.btn-ghost:hover { background: #fff; color: var(--ink); }

.btn-dark {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.btn-dark:hover { background: var(--orange); border-color: var(--orange); }

.hero {
  position: relative;
  min-height: 700px;
  display: grid;
  place-items: center;
  color: #fff;
  text-align: center;
  overflow: hidden;
  padding: 120px 16px 80px;
}

.hero-media,
.page-hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: drift 22s var(--ease) infinite alternate;
}

.hero-shade,
.page-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(21, 28, 21, 0.35), rgba(21, 28, 21, 0.45) 50%, rgba(21, 28, 21, 0.55));
}

.hero-copy, .page-hero-copy { position: relative; z-index: 1; max-width: 900px; }

.sun {
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
}

.hero h1 {
  margin: 0 0 20px;
  font-size: 64px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero p {
  margin: 0 auto 28px;
  max-width: 640px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--white-soft);
}

.alert {
  background: var(--orange);
  color: #fff;
  padding: 40px 0;
}

.alert-row {
  display: grid;
  grid-template-columns: 4px 1fr auto;
  gap: 18px;
  align-items: start;
}

.alert-bar { background: rgba(255, 255, 255, 0.85); min-height: 48px; }

.alert strong {
  display: block;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.alert p { margin: 0; }
.alert a { text-decoration: underline; font-weight: 700; }

.alert-x {
  background: none;
  border: 0;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
}

.section { padding: 80px 0; }

.section-tight-bottom { padding-bottom: 0; }

.split-head {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 36px;
}

h2 {
  margin: 0;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
}

.lede { margin: 0; color: var(--muted); font-size: 17px; }

.duo {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  align-items: start;
}

.photo-tall { min-height: 640px; }

.photo-frame {
  position: relative;
  overflow: hidden;
  background: var(--mist);
}

.photo-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.photo-frame:hover img { transform: scale(1.06); }

.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.card {
  background: var(--mist);
  padding: 35px 25px;
  min-height: 280px;
}

.card h3 {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.card h3::after {
  content: "";
  display: block;
  width: 42px;
  height: 1px;
  background: var(--ink);
  margin-top: 12px;
}

.slot { margin: 0 0 18px; }
.slot span { display: block; font-size: 14px; color: var(--muted); margin-bottom: 4px; }
.slot strong { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; }

.rule { height: 1px; background: var(--line); margin: 8px 0 16px; }

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  margin: 0 0 12px;
}

.stat-rule { width: 72px; height: 1px; background: #798c4f; margin: 22px 0; }

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 32px;
}

.stats b {
  display: block;
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 6px;
}

.stats span { color: var(--muted); font-size: 15px; }

.overlay-card {
  position: relative;
  min-height: 460px;
  color: #fff;
  display: flex;
  align-items: flex-end;
}

.overlay-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.overlay-card .shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(21, 28, 21, 0.05), rgba(21, 28, 21, 0.72));
}
.overlay-card .copy { position: relative; z-index: 1; padding: 36px; max-width: 460px; }
.overlay-card h2 { font-size: 40px; }

.quote {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  min-height: 600px;
  background: var(--mist);
}

.quote img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }

.quote-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 56px;
}

.quote blockquote {
  margin: 0;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.3;
}

.quote figcaption { margin-top: 22px; color: var(--muted); }

.habitat-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 16px;
}

.habitat-grid .photo-frame { min-height: 320px; }
.habitat-grid .photo-frame:first-child { min-height: 460px; grid-row: span 1; }

.cap {
  margin-top: 10px;
  font-size: 14px;
  letter-spacing: 0.04em;
}

.trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 28px;
}

.trio a {
  display: block;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.trio h3 { margin: 0 0 8px; font-size: 20px; font-weight: 600; }
.trio p { margin: 0; color: var(--muted); }
.trio a:hover h3 { color: var(--orange); }

.notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.note img { aspect-ratio: 16/11; object-fit: cover; width: 100%; }
.note time { display: block; margin: 14px 0 6px; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.note h3 { margin: 0 0 10px; font-size: 22px; font-weight: 600; line-height: 1.3; }
.note:hover h3 { color: var(--orange); }

.cta {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
}

.cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta .copy { position: relative; z-index: 1; max-width: 720px; padding: 40px 16px; }
.cta h2 { font-size: 48px; margin-bottom: 16px; }
.cta p { color: var(--muted); margin: 0 0 24px; }

.footer {
  background: var(--ink);
  color: #fff;
  padding: 60px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1.2fr;
  gap: 32px;
  align-items: start;
}

.footer p { color: rgba(255, 255, 255, 0.7); max-width: 280px; }

.footer h2 {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 18px;
}

.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a:hover { color: var(--orange); }

.contact-list { display: grid; gap: 12px; }
.contact-list span { color: var(--orange); margin-right: 8px; }

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.footer-bottom nav { display: flex; gap: 18px; }

.page-hero {
  position: relative;
  min-height: 460px;
  display: grid;
  align-items: end;
  color: #fff;
  padding: 140px 0 56px;
  overflow: hidden;
}

.page-hero h1 {
  margin: 0 0 10px;
  font-size: 56px;
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
}

.crumbs { font-size: 14px; color: rgba(255, 255, 255, 0.8); }
.crumbs a:hover { color: var(--orange); }

.prose { max-width: none; }
.prose p { font-size: 18px; color: var(--muted); }
.prose h2 { font-size: 32px; margin: 36px 0 12px; }

.chapter { max-width: none; }
.chapter .lede { font-size: 20px; color: var(--ink); margin-bottom: 22px; }
.chapter h2 { font-size: 32px; margin: 42px 0 14px; }
.chapter p { font-size: 18px; color: var(--muted); }
.chapter a { text-decoration: underline; text-underline-offset: 3px; }
.chapter-photo { margin: 28px 0; }
.chapter-photo img { width: 100%; height: 460px; object-fit: cover; display: block; }
.chapter-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 28px 0; }
.chapter-pair img { width: 100%; height: 320px; object-fit: cover; display: block; }
.entry-photo { display: grid; grid-template-columns: 220px 1fr; gap: 22px; align-items: start; max-width: none; }
.entry-photo img { width: 100%; height: 160px; object-fit: cover; display: block; }
.note-photo { width: 100%; height: 360px; object-fit: cover; display: block; margin: 8px 0 16px; }

.route, .months { width: 100%; border-collapse: collapse; margin: 8px 0 8px; }
.route th, .route td, .months th, .months td {
  text-align: left;
  vertical-align: top;
  padding: 16px 14px 16px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 300;
  color: var(--muted);
}
.route th, .months th { width: 28%; color: var(--ink); font-weight: 600; }

.stand {
  margin: 28px 0;
  padding: 8px 0 8px 18px;
  border-left: 3px solid #798c4f;
  font-size: 22px;
  line-height: 1.4;
  color: var(--ink);
}

.tide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 8px;
}
.tide h3 { margin: 0 0 8px; font-size: 20px; }
.tide p { margin: 0; }

.band {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
  align-items: center;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.band img { width: 100%; height: 200px; object-fit: cover; }
.band h2 { margin: 0 0 8px; font-size: 28px; }
.band p { margin: 0 0 12px; color: var(--muted); }
.group-label { margin: 48px 0 0; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; }

.entry { padding: 26px 0; border-top: 1px solid var(--line); max-width: none; }
.entry h2 { margin: 0 0 4px; font-size: 28px; }
.entry .latin { margin: 0 0 10px; }
.entry p { margin: 0 0 10px; color: var(--muted); }

.note-full { max-width: none; padding: 36px 0; border-top: 1px solid var(--line); }
.note-full h2 { margin: 8px 0 12px; font-size: 32px; }
.note-full h3 { margin: 22px 0 8px; font-size: 20px; font-weight: 600; }
.note-full p { color: var(--muted); }

.related { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.related a {
  border: 1px solid var(--line);
  border-radius: 50px;
  padding: 8px 14px;
  font-size: 14px;
}
.related a:hover { border-color: var(--orange); color: var(--orange); }

.catalog {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 18px;
}

.catalog article:first-child { grid-row: span 2; }
.catalog .photo-frame { min-height: 240px; }
.catalog article:first-child .photo-frame { min-height: 520px; }
.catalog h2 { font-size: 28px; margin: 14px 0 8px; }
.catalog p { margin: 0; color: var(--muted); }

.animal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.animal-grid article {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.project-grid .overlay-card { min-height: 420px; }
.project-grid .overlay-card:first-child {
  grid-column: 1 / -1;
  min-height: 520px;
}

.detail {
  display: grid;
  grid-template-columns: 1.45fr 0.7fr;
  gap: 48px;
  align-items: start;
}

.meta-card {
  background: var(--mist);
  padding: 28px 24px;
  position: sticky;
  top: 110px;
}

.meta-card h2 {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.steps {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 12px;
  color: var(--muted);
}

.steps strong { color: var(--ink); font-weight: 600; }

.pager {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-top: 8px;
}

.pager a { max-width: 46%; }
.pager a span { display: block; color: var(--muted); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 6px; }
.pager a:hover { color: var(--orange); }
.pager .next { margin-left: auto; text-align: right; }

.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 20px; }
.faq details p { color: var(--muted); margin: 12px 0 0; }

.mini-places {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.mini-places a { display: block; }
.mini-places .photo-frame { min-height: 180px; }
.mini-places h3 { margin: 12px 0 6px; font-size: 20px; }
.mini-places p { margin: 0; color: var(--muted); }
.mini-places a:hover h3 { color: var(--orange); }

.article-body { max-width: none; }
.article-body h2 { font-size: 32px; margin: 36px 0 12px; }
.article-body p { font-size: 18px; color: var(--muted); }

.animal-grid h2 { font-size: 24px; }
.latin { font-style: italic; color: var(--muted); margin: 0 0 8px; }

.legal { padding: 140px 0 80px; }
.legal h1 { font-size: 48px; margin: 0 0 8px; }
.legal h2 { font-size: 26px; margin: 32px 0 10px; }
.legal table { width: 100%; border-collapse: collapse; font-size: 14px; }
.legal th, .legal td { border: 1px solid var(--line); padding: 8px; text-align: left; vertical-align: top; }

.cookie {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: var(--ink);
  color: #fff;
  padding: 16px 0;
}

.cookie-row {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}

.cookie p { margin: 0; max-width: 640px; color: rgba(255, 255, 255, 0.86); }
.cookie a { text-decoration: underline; }
.cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie .btn { min-height: 42px; padding: 10px 16px; font-size: 14px; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(21, 28, 21, 0.55);
  display: grid;
  place-items: end center;
  padding: 16px;
}

.modal[hidden] { display: none; }

.modal-card {
  background: #fff;
  color: var(--ink);
  width: min(520px, 100%);
  padding: 24px;
  margin-bottom: 24px;
}

.pref { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(21, 28, 21, 0.92);
  display: grid;
  place-items: center;
  padding: 24px;
}

.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1100px, 100%); max-height: 86vh; object-fit: contain; }
.lightbox button {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #fff;
  border: 0;
  border-radius: 50px;
  padding: 8px 14px;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  animation: rise 0.8s var(--ease) forwards;
  animation-play-state: paused;
}

.reveal.in { animation-play-state: running; }

.d1 { animation-delay: 0.08s; }
.d2 { animation-delay: 0.16s; }
.d3 { animation-delay: 0.24s; }

@keyframes drift {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to { transform: scale(1.12) translate3d(0, -1.5%, 0); }
}

@keyframes rise {
  to { opacity: 1; transform: none; }
}

@media (max-width: 1023px) {
  .hero h1 { font-size: 46px; }
  .split-head, .duo, .feature, .quote, .footer-grid, .catalog, .detail, .project-grid, .mini-places, .band, .tide, .chapter-pair, .entry-photo { grid-template-columns: 1fr; }
  .project-grid .overlay-card:first-child { grid-column: auto; min-height: 420px; }
  .meta-card { position: static; }
  .habitat-grid, .notes, .animal-grid, .trio { grid-template-columns: 1fr 1fr; }
  .photo-tall { min-height: 420px; }
  .quote-copy { padding: 36px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav {
    position: fixed;
    inset: var(--header) 0 auto 0;
    background: var(--ink);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 20px 24px;
    gap: 16px;
  }
  .nav.is-open { display: flex; }
  .hero { min-height: 560px; }
  .hero h1, .page-hero h1 { font-size: 34px; }
  h2, .cta h2 { font-size: 32px; }
  .cards, .stats, .habitat-grid, .notes, .animal-grid, .trio, .footer-grid, .cookie-row, .footer-bottom, .mini-places, .project-grid {
    grid-template-columns: 1fr;
    display: grid;
  }
  .cookie-row, .footer-bottom { display: flex; flex-direction: column; align-items: flex-start; }
  .section { padding: 56px 0; }
  .photo-tall, .overlay-card { min-height: 280px; }
  .catalog article:first-child .photo-frame { min-height: 240px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
}
