:root {
  --bg: #f5efe3;
  --surface: #fbf8f1;
  --text: #2a2620;
  --muted: #6d655a;
  --rule: #e1d7c4;
  --green: #3f5e3a;
  --barn: #9a3b2c;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1b1a16;
    --surface: #24221d;
    --text: #ece6da;
    --muted: #a89f90;
    --rule: #37332b;
    --green: #93b38a;
    --barn: #d98a73;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 18px/1.7 Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--green); text-underline-offset: 3px; }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 24px; }

.hero { padding: 96px 0 72px; text-align: center; }
.mark { width: 72px; height: 72px; color: var(--green); margin: 0 auto 28px; display: block; }
.eyebrow {
  font: 600 13px/1 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--barn);
  margin: 0 0 18px;
}
h1 {
  font-weight: 400;
  font-size: clamp(40px, 8vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0 0 22px;
}
.hero p.lede { font-size: 21px; color: var(--muted); margin: 0 auto; max-width: 30em; font-style: italic; }

section { padding: 56px 0; border-top: 1px solid var(--rule); }
h2 { font-weight: 400; font-size: 32px; line-height: 1.2; margin: 0 0 18px; color: var(--green); }
h3 {
  font: 600 13px/1 var(--sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--barn);
  margin: 36px 0 16px;
}
section p { margin: 0 0 18px; }
section p:last-child { margin-bottom: 0; }

.details { list-style: none; margin: 0 0 32px; padding: 0; }
.details li { padding: 12px 0 12px 22px; border-bottom: 1px solid var(--rule); position: relative; }
.details li:last-child { border-bottom: 0; }
.details li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 24px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}
.details strong { font-weight: 700; }

.callout {
  background: var(--surface);
  border-left: 3px solid var(--barn);
  border-radius: 0 12px 12px 0;
  padding: 20px 24px;
  margin: 0 0 24px;
}
.sources { font-size: 14px; color: var(--muted); }
.sources a { color: var(--muted); }

.note {
  background: var(--surface);
  border: 1px dashed var(--rule);
  border-radius: 12px;
  padding: 22px 24px;
  color: var(--muted);
  font-style: italic;
}

/* Animals */
.animals {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 8px;
}
.animal {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 14px;
  overflow: hidden;
}
.animal img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--rule); }
.animal div { padding: 14px 18px 18px; }
.animal h4 { margin: 0 0 2px; font-size: 22px; font-weight: 400; }
.animal .kind { font: 600 12px/1.4 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--barn); margin: 0 0 8px; }
.animal p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--muted); }

footer { padding: 40px 0 64px; text-align: center; color: var(--muted); font-size: 15px; border-top: 1px solid var(--rule); }
footer a { color: var(--muted); }

@media (max-width: 560px) {
  body { font-size: 17px; }
  .hero { padding: 64px 0 48px; }
  .hero p.lede { font-size: 19px; }
  section { padding: 44px 0; }
  h2 { font-size: 28px; }
}
