/* Bear Trap Trail Cam: mountain-cabin palette (pine, bark, ember, parchment) */
:root {
  --navy: #203a2e;        /* pine (headings, dark buttons) */
  --navy-deep: #16271f;   /* night forest */
  --slate: #4f6f5a;       /* moss */
  --pale-blue: #c9d3bf;   /* sage */
  --copper: #c8642a;      /* campfire ember */
  --copper-hover: #de7a3d;
  --copper-dark: #a24f1e;
  --heart: #c8423a;
  --leaf: #8fae5d;
  --bark: #5a3e2b;
  --gold: #e8a35b;
  --text: #33302b;
  --muted: #6d675d;
  --cream: #f3ead8;       /* parchment */
  --cream-soft: #faf5ea;
  --grey: #efeadf;
  --panel: #ece4d3;
  --line: #e2d8c4;
  --white: #fffdf8;
  --radius: 14px;
  --shadow: 0 10px 28px -14px rgba(22, 39, 31, .38);
  --shadow-lg: 0 22px 48px -20px rgba(22, 39, 31, .5);
  --wrap: 1200px;
  --header-h: 92px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}
img, video { max-width: 100%; display: block; }
a { color: var(--slate); }
h1, h2, h3, h4 { color: var(--navy); font-weight: 500; line-height: 1.15; margin: 0; }
p { margin: 0; }
[hidden] { display: none !important; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 999; background: #fff; padding: 8px 12px; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
svg.fill { fill: currentColor; stroke: none; }
:focus-visible { outline: 3px solid var(--copper-hover); outline-offset: 3px; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

/* ---------- buttons ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .6em 1.35em; border-radius: 100px; border: 0; cursor: pointer;
  font: inherit; font-weight: 500; font-size: .95rem; letter-spacing: .02em; line-height: 1.3;
  text-decoration: none; transition: background .2s, transform .2s, box-shadow .2s;
}
.pill:hover { transform: translateY(-1px); }
.pill:disabled { opacity: .6; cursor: default; transform: none; }
.pill-copper { background: var(--copper); color: #fff; }
.pill-copper:hover { background: var(--copper-hover); }
.pill-navy { background: var(--navy); color: #fff; }
.pill-navy:hover { background: var(--slate); }
.pill-ghost { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--pale-blue); }
.pill.big { font-size: 1.1rem; padding: .85em 1.8em; }
.text-btn {
  font: inherit; font-size: .95rem; color: var(--slate); background: none; border: 0; padding: 4px 2px;
  cursor: pointer; text-decoration: underline; text-underline-offset: 3px;
}
.text-btn:hover { color: var(--navy); }
.round-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff;
  color: var(--navy); display: grid; place-items: center; cursor: pointer; font-size: 20px;
}
.round-btn:hover { border-color: var(--navy); }

/* heart (shared favorites) */
.heart {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  font: inherit; font-size: .95rem; font-weight: 500; line-height: 1;
  padding: .55em 1em; border-radius: 100px; border: 1.5px solid #ecd5d8; background: #fff; color: var(--navy);
  transition: border-color .2s, background .2s, color .2s;
}
.heart:hover { border-color: var(--heart); color: var(--heart); }
.heart .heart-icon { font-size: 1.15em; transition: transform .2s; }
.heart[aria-pressed="true"] { background: #fdf0f2; border-color: #f2b9c2; color: var(--heart); }
.heart[aria-pressed="true"] .heart-icon { fill: var(--heart); stroke: var(--heart); }
.heart-n:empty { display: none; }
.heart.sm { padding: 5px 9px; font-size: .82rem; gap: 4px; border-width: 1px; }
.heart.on-dark { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.heart.on-dark:hover { border-color: #ff8fa0; color: #ff8fa0; }
.heart.on-dark[aria-pressed="true"] { background: rgba(214, 69, 90, .18); border-color: #ff8fa0; color: #ffc2cb; }
.heart.pop .heart-icon { animation: pop .45s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.45); } 100% { transform: scale(1); } }

/* play badges */
.play-badge {
  /* lower-left corner: covers are cropped with the animal in the middle, so keep it clear */
  position: absolute; left: 14px; bottom: 14px; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; font-size: 24px; pointer-events: none;
  background: rgba(17, 35, 55, .55); border: 2px solid rgba(255, 255, 255, .9);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: transform .2s, background .2s;
}
.play-badge svg { margin-left: 4px; }
.play-badge.big { width: 72px; height: 72px; font-size: 28px; left: 18px; bottom: 18px; }
@media (max-width: 720px) { .play-badge.big { width: 60px; height: 60px; font-size: 24px; left: 12px; bottom: 12px; } }

/* ---------- top bar + header ---------- */
.topbar { background: var(--navy-deep); color: #dfe7ee; font-size: .9rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 52px; }
.topbar .pill { padding: .45em 1.1em; font-size: .9rem; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 12px; }
.brand img { height: 72px; width: auto; }
.header-nav { display: flex; align-items: center; gap: 28px; }
.header-nav a:not(.pill) { color: var(--navy); text-decoration: none; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; font-size: .85rem; }
.header-nav a:not(.pill):hover { color: var(--copper); }

/* ---------- type helpers ---------- */
.script, .script-sm { font-family: "Caveat Brush", cursive; color: var(--copper); font-weight: 400; line-height: 1; }
.script { font-size: 3.4rem; margin-bottom: 4px; }
.script-sm { display: block; font-size: 2.1rem; margin-bottom: 2px; }
.section-title { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; margin-bottom: 24px; }
.section-note { margin-top: 8px; font-size: .98rem; color: var(--muted); }
.section-note a { color: var(--copper-dark); font-weight: 500; }
.sci { font-style: italic; color: var(--slate); }
.eyebrow { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--copper-dark); font-weight: 500; margin-bottom: 6px; }
.n {
  display: inline-grid; place-items: center; min-width: 1.9em; padding: 0 .55em; height: 1.6em;
  border-radius: 100px; font-size: .78rem; font-weight: 500; background: var(--grey); color: var(--slate);
}
.empty { text-align: center; padding: 48px 0; font-size: 1.1rem; }

/* ---------- hero ---------- */
.hero {
  background:
    radial-gradient(1200px 400px at 80% -10%, rgba(152, 195, 88, .18), transparent 60%),
    linear-gradient(180deg, var(--cream), var(--cream-soft));
  padding: 56px 0 48px;
}
.hero-inner { text-align: center; max-width: 820px; }
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
.lede { font-size: 1.15rem; max-width: 620px; margin: 14px auto 0; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 32px auto 0; max-width: 720px; }
.stats div { background: #fff; border-radius: var(--radius); padding: 18px 12px; box-shadow: var(--shadow); }
.stats dt { font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); }
.stats dd { margin: 4px 0 0; font-size: 1.6rem; color: var(--navy); font-weight: 500; }

/* ---------- residents' favorites ---------- */
.favorites { padding: 52px 0 44px; background: #fff; }
.fav-row {
  display: grid; grid-auto-flow: column; grid-auto-columns: 290px; gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 18px; margin: -6px -4px 0;
  scrollbar-width: thin;
}
.fav-row.is-empty { display: block; overflow: visible; padding-bottom: 0; }
.fav-card {
  scroll-snap-align: start; background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid #f0e3e5; display: flex; flex-direction: column;
}
.fav-media { position: relative; aspect-ratio: 16 / 9; border: 0; padding: 0; cursor: pointer; background: #000; display: block; }
.fav-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.fav-media .play-badge { width: 44px; height: 44px; font-size: 17px; left: 10px; bottom: 10px; }
.fav-media:hover img { transform: scale(1.04); }
.fav-media:hover .play-badge { background: var(--copper); }
.fav-body { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px 14px; }
.fav-body h3 { font-size: 1.05rem; }
.fav-body p { font-size: .85rem; color: var(--muted); margin-top: 2px; }
.fav-empty {
  grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; padding: 22px 26px;
  border: 2px dashed #ecd5d8; border-radius: 16px; background: #fffafa; max-width: 760px; font-size: 1.02rem;
}
.fav-empty-heart { font-size: 34px; color: var(--heart); }
.fav-empty strong { color: var(--navy); font-weight: 500; }
.row-controls { display: flex; gap: 10px; }

/* ---------- our visitors (one section per animal) ---------- */
.visitors-section {
  padding: 56px 0 72px;
  background: var(--panel); box-shadow: 0 0 0 100vmax var(--panel); clip-path: inset(0 -100vmax);
}
.animals { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.animal { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; }
.animal-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 24px; margin-bottom: 18px; }
.animal-name { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.animal-head .sci { margin-top: 2px; }
.animal-stats { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; }
.animal-stats li { display: flex; flex-direction: column; align-items: flex-end; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.animal-stats strong { font-size: 1.6rem; font-weight: 500; color: var(--navy); letter-spacing: 0; line-height: 1.1; }
.animal-hero { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 26px; align-items: center; }
.player {
  position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; cursor: pointer;
}
.player img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.player:hover img { transform: scale(1.02); }
.player:hover .play-badge { background: var(--copper); transform: scale(1.06); }
.player.playing { cursor: default; }
.player video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.animal-copy { display: flex; flex-direction: column; gap: 16px; }
.clip-desc { font-size: 1.05rem; }
.chips-meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips-meta li {
  display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--navy);
  background: var(--grey); padding: 4px 12px; border-radius: 100px;
}
.chips-meta svg { color: var(--slate); }
.animal-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.animal-links {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 20px;
  margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line);
}
.more-toggle {
  display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font: inherit; font-size: 1rem; font-weight: 500;
  color: var(--navy); background: #fff; border: 1.5px solid var(--pale-blue); border-radius: 100px; padding: .5em 1.1em;
}
.more-toggle:hover { border-color: var(--navy); }
.more-toggle svg { transition: transform .3s; }
.more-toggle[aria-expanded="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.more-toggle[aria-expanded="true"] .n { background: rgba(255, 255, 255, .18); color: #fff; }
.more-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.more-none { font-size: .92rem; color: var(--muted); }
.guide-link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--copper-dark); text-decoration: none;
}
.guide-link span { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.guide-link:hover { color: var(--copper); }
.guide-link svg:last-child { transition: transform .2s; }
.guide-link:hover svg:last-child { transform: translateX(3px); }
.more-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.more-panel.open { grid-template-rows: 1fr; }
.more-inner { overflow: hidden; }
.more-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 16px; padding-top: 18px; }

/* thumbnail tiles (more videos, archive) */
.tile { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tile-open {
  position: relative; display: block; aspect-ratio: 16 / 9; border: 0; padding: 0; cursor: pointer;
  border-radius: 12px; overflow: hidden; background: var(--grey);
}
.tile-open img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.tile-open:hover img { transform: scale(1.05); }
.tile-badge {
  position: absolute; left: 8px; bottom: 8px; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; font-size: 12px; color: #fff; background: rgba(17, 35, 55, .78);
}
.tile.is-video .tile-badge svg { margin-left: 2px; }
.tile-badge.wait { background: rgba(198, 125, 36, .92); }
.tile-badge.photo { background: rgba(255, 255, 255, .88); color: var(--slate); }
.tile-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 30px; }
.tile-cap { font-size: .85rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* side column (desktop) */
.side { display: none; }
.side-card { background: #fff; border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); }
.side-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.jump-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.jump-list a {
  display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 12px; padding: 8px;
  border-radius: 12px; text-decoration: none; color: var(--navy);
}
.jump-list a:hover { background: var(--grey); }
.jump-list img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.jump-name { font-weight: 500; line-height: 1.25; font-size: .98rem; }
.jump-name small { display: block; font-weight: 400; font-size: .78rem; color: var(--muted); }
.side-rules { margin: 0; padding-left: 1.1em; font-size: .92rem; display: grid; gap: 6px; }
.side-link { display: inline-block; margin-top: 10px; color: var(--copper-dark); font-weight: 500; font-size: .95rem; }
.side-portal { width: 100%; font-size: 1.02rem; padding: .85em 1.4em; }

/* ---------- about ---------- */
.about { background: var(--cream); padding: 64px 0; }
.about-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.about h2 { font-size: 2rem; margin-bottom: 12px; }
.about p + p { margin-top: 12px; }
.about .fine { font-size: .92rem; color: var(--slate); }
.about-inner > .pill { justify-self: center; }
.rules { margin-top: 28px; background: #fff; border-radius: var(--radius); padding: 22px 26px; box-shadow: var(--shadow); }
.rules h3 { font-size: 1.3rem; margin-bottom: 8px; }
.rules p, .rules li { font-size: 1rem; }
.rules ul { padding-left: 1.2em; margin: 8px 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-deep); color: #c9d4de; padding: 48px 0 40px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.site-footer img { width: 200px; height: auto; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: #fff; text-decoration: none; font-weight: 500; }
.footer-links a:hover { color: var(--copper-hover); }
.footer-note { flex-basis: 100%; font-size: .85rem; margin-top: 8px; color: #8fa3b6; }

/* ---------- animal field-guide page ---------- */
.crumbs { padding-top: 26px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; color: var(--slate); font-weight: 500; text-decoration: none; }
.back-link:hover { color: var(--navy); }
.guide-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; padding: 22px 0 40px; }
.guide-photo { margin: 0; }
.guide-photo-frame { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; background: var(--grey); }
.guide-photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.guide-photo.camera .guide-photo-frame { aspect-ratio: 16 / 9; }
.guide-photo figcaption { font-size: .8rem; color: var(--muted); margin-top: 10px; }
.guide-photo figcaption a { color: var(--muted); }
.guide-intro h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.sci.big { font-size: 1.25rem; margin-top: 4px; }
.tagline { font-size: 1.2rem; margin-top: 14px; color: var(--navy); }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 26px 0 0; }
.facts div { background: var(--cream-soft); border: 1px solid #efe8da; border-radius: 14px; padding: 12px 16px; }
.facts dt { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--slate); }
.facts dd { margin: 2px 0 0; color: var(--navy); font-size: 1rem; line-height: 1.35; }
.guide-body {
  display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start;
  padding: 44px 0 56px; border-top: 1px solid var(--line);
}
.guide-text { max-width: 70ch; }
.about-h { font-size: 1.8rem; margin-bottom: 16px; }
.guide-text p { font-size: 1.12rem; line-height: 1.78; }
.guide-text p + p { margin-top: 18px; }
.spot-tip { margin-top: 26px !important; padding: 16px 20px; background: var(--cream); border-left: 4px solid var(--copper); border-radius: 0 12px 12px 0; }
.spot-tip strong { color: var(--navy); font-weight: 500; }
.guide-source { margin-top: 18px !important; font-size: .88rem !important; color: var(--muted); }
.guide-source a { color: var(--slate); }
.record-card { background: var(--navy-deep); color: #d6dfe7; border-radius: var(--radius); padding: 26px 28px; position: sticky; top: calc(var(--header-h) + 20px); box-shadow: var(--shadow-lg); }
.record-card h2 { color: #fff; font-size: 1.35rem; margin-bottom: 14px; }
.record { margin: 0; display: grid; gap: 14px; }
.record div { border-bottom: 1px solid rgba(255, 255, 255, .1); padding-bottom: 12px; }
.record dt { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #8fa3b6; }
.record dd { margin: 2px 0 0; color: #fff; font-size: 1.2rem; display: flex; align-items: center; gap: 8px; }
.heart-mini { color: #ff8fa0; display: inline-flex; }
.heart-mini svg { fill: currentColor; stroke: currentColor; }
.record-cta { width: 100%; margin-top: 20px; }
.archive { padding: 12px 0 72px; }
.seg { display: inline-flex; background: var(--grey); border-radius: 100px; padding: 4px; gap: 2px; }
.seg button {
  font: inherit; font-size: .95rem; border: 0; background: transparent; color: var(--navy); cursor: pointer;
  border-radius: 100px; padding: .45em 1em; display: inline-flex; align-items: center; gap: 6px;
}
.seg button[aria-selected="true"] { background: var(--navy); color: #fff; }
.seg button[aria-selected="true"] .n { background: rgba(255, 255, 255, .18); color: #fff; }
.archive-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 20px 18px; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 30px); opacity: 0; z-index: 300;
  background: var(--navy-deep); color: #fff; padding: 12px 20px; border-radius: 12px; box-shadow: var(--shadow-lg);
  transition: opacity .25s, transform .25s; pointer-events: none; max-width: calc(100% - 32px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- full-size viewer ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: #08101a;
  display: flex; align-items: center; justify-content: center; padding: 24px;
  animation: fade .2s ease;
}
@keyframes fade { from { opacity: 0; } }
.lb-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; width: min(1400px, 100%); max-height: 100%; align-items: center; }
.lb-stage { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
/* photo and video share one box sized from the photo's real proportions; it is
   also the zoom frame (pinch / double-tap zoom happens inside it) */
.lb-media {
  --ar: 1.7778; position: relative; overflow: hidden; border-radius: 12px; background: #000;
  aspect-ratio: var(--ar); margin-inline: auto; min-height: 0; touch-action: pan-y;
  width: min(100%, calc((100vh - 140px) * var(--ar)));
  width: min(100%, calc((100dvh - 140px) * var(--ar)));
}
.lb-media img, .lb-media video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }
.lb-media img, .lb-media video, .player video { transform-origin: 0 0; will-change: transform; }
.player video { display: block; }
.player.playing { touch-action: pan-y; }
.zoomed { touch-action: none; }
.zoomed img, .zoomed video { cursor: grab; }
.zoom-reset {
  position: absolute; top: 10px; right: 10px; z-index: 3; display: none;
  border: 0; border-radius: 100px; padding: 7px 14px; font: inherit; font-size: .9rem; cursor: pointer;
  background: rgba(8, 16, 26, .78); color: #fff; box-shadow: 0 4px 12px -4px rgba(0, 0, 0, .6);
}
.zoomed .zoom-reset { display: block; }
.lb-media:fullscreen, .player:fullscreen { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; }

/* our own video controls (Safari's native ones hijack pinch into full screen) */
.v-touch { position: absolute; inset: 0; z-index: 1; cursor: pointer; display: grid; place-items: center; -webkit-tap-highlight-color: transparent; }
.vc-big {
  width: 76px; height: 76px; border-radius: 50%; display: none; place-items: center; font-size: 30px; color: #fff;
  background: rgba(17, 35, 55, .55); border: 2px solid rgba(255, 255, 255, .9); pointer-events: none;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.vc-big svg { margin-left: 5px; }
.v-paused:not(.zoomed) .vc-big { display: grid; }
.vc {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; align-items: center; gap: 10px;
  padding: 26px 12px 10px; color: #fff; font-size: .9rem; font-variant-numeric: tabular-nums;
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, .7));
}
.vc-btn {
  flex: none; width: 40px; height: 40px; border: 0; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .16); color: #fff; font-size: 18px; cursor: pointer; padding: 0;
}
@media (hover: hover) { .vc-btn:hover { background: var(--copper); } }
.vc-seek { flex: 1; min-width: 0; accent-color: var(--copper); height: 28px; cursor: pointer; }
@media (max-width: 480px) { .vc { gap: 8px; padding-inline: 8px; } .vc-dur { display: none; } .vc-btn { width: 36px; height: 36px; } }
.lb-playover {
  position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%; cursor: pointer;
  background: rgba(17, 35, 55, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border: 2px solid rgba(255, 255, 255, .9); color: #fff; display: grid; place-items: center; font-size: 34px;
  transition: transform .2s, background .2s;
}
.lb-playover svg { margin-left: 5px; }
.lb-playover:hover { background: var(--copper); transform: scale(1.06); }
.lb-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; justify-content: center; }
.lb-actions .pill-ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.lb-actions .note { display: inline-flex; align-items: center; gap: 10px; color: var(--pale-blue); font-size: .92rem; }
.lb-actions .note.warn { color: #f3c58a; }
.spinner {
  flex: none; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .25); border-top-color: var(--copper-hover); animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.lb-info { color: #d6dfe7; overflow-y: auto; max-height: calc(100vh - 64px); }
.lb-kicker { text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; color: var(--copper-hover); margin-bottom: 6px; }
.lb-info h2 { color: #fff; font-size: 2rem; }
.lb-sci { font-style: italic; color: var(--pale-blue); margin-top: 2px; }
.lb-sci:empty, .lb-desc:empty, .lb-guide:empty { display: none; }
.lb-desc { margin: 14px 0 18px; }
.meta { display: grid; gap: 14px; margin: 0; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 18px; }
.meta div { display: grid; grid-template-columns: 28px 1fr; align-items: start; column-gap: 10px; }
.meta svg { font-size: 22px; color: var(--pale-blue); grid-row: span 2; margin-top: 2px; }
.meta dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: #8fa3b6; }
.meta dd { margin: 0; color: #fff; font-size: 1.05rem; }
.lb-guide { margin-top: 18px; }
.lb-guide a { display: inline-flex; align-items: center; gap: 8px; color: var(--copper-hover); font-weight: 500; }
.lb-count { font-size: .85rem; color: #8fa3b6; margin-top: 16px; }
.lb-keys { display: none; }
kbd {
  font-family: inherit; font-size: .8em; padding: 1px 6px; border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .06);
}
.lb-close, .lb-nav {
  position: absolute; z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .1); color: #fff; display: grid; place-items: center; font-size: 22px;
}
.lb-close:hover, .lb-nav:hover { background: var(--copper); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb-nav:disabled { opacity: .25; cursor: default; background: rgba(255, 255, 255, .1); }
.lb-mbar { display: none; }

/* ---------- tablets & phones ---------- */
@media (max-width: 960px) {
  .animal-hero { grid-template-columns: 1fr; gap: 18px; }
  .guide-hero, .guide-body { grid-template-columns: 1fr; gap: 28px; }
  .record-card { position: static; }
  .about-inner { grid-template-columns: 1fr; }
  .about-inner > .pill { justify-self: start; }

  .lightbox { display: block; padding: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
  .lb-body {
    grid-template-columns: 1fr; gap: 16px; max-height: none;
    padding: calc(68px + env(safe-area-inset-top)) 16px calc(88px + env(safe-area-inset-bottom));
  }
  .lb-media {
    border-radius: 10px;
    width: min(100%, calc(62vh * var(--ar)));
    width: min(100%, calc(62dvh * var(--ar)));
  }
  .lb-info { max-height: none; overflow: visible; }
  .lb-count, .lb-nav { display: none; }
  .lb-close {
    position: fixed; z-index: 5; width: 44px; height: 44px;
    top: calc(12px + env(safe-area-inset-top)); right: 12px; background: rgba(255, 255, 255, .16);
  }
  .lightbox::before {
    content: ""; position: fixed; z-index: 4; left: 0; right: 0; top: 0; pointer-events: none;
    height: calc(68px + env(safe-area-inset-top)); background: linear-gradient(#08101a 70%, rgba(8, 16, 26, 0));
  }
  .lb-mbar {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    position: fixed; z-index: 5; left: 0; right: 0; bottom: 0;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(8, 16, 26, .96); border-top: 1px solid rgba(255, 255, 255, .1); color: #8fa3b6; font-size: .9rem;
  }
  .lb-mbtn {
    display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px;
    border: 0; border-radius: 100px; background: rgba(255, 255, 255, .12); color: #fff; font: inherit; font-size: 1rem; cursor: pointer;
  }
  .lb-mbtn:disabled { opacity: .3; }
}
@media (max-width: 720px) {
  :root { --header-h: 78px; }
  body { font-size: 17px; }
  .header-nav a:not(.pill) { display: none; }
  .brand img { height: 54px; }
  .topbar-note { display: none; }
  .topbar-inner { justify-content: center; }
  .topbar .pill { width: 100%; }
  .hero { padding: 36px 0; }
  .script { font-size: 2.8rem; }
  .stats { gap: 8px; }
  .stats div { padding: 12px 6px; }
  .stats dt { font-size: .62rem; }
  .stats dd { font-size: 1.15rem; }
  .favorites { padding: 40px 0 32px; }
  .fav-row { grid-auto-columns: 78%; gap: 14px; }
  .fav-empty { padding: 18px; gap: 14px; font-size: .95rem; }
  .visitors-section { padding: 40px 0 56px; }
  .animal { padding: 16px; border-radius: 16px; }
  .animal-stats { gap: 16px; }
  .animal-stats strong { font-size: 1.3rem; }
  .animal-links { flex-direction: column; align-items: stretch; }
  .more-toggle { justify-content: center; }
  .guide-link { justify-content: center; text-align: center; }
  .more-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .guide-text p { font-size: 1.05rem; }
  .archive-grid { grid-template-columns: 1fr 1fr; gap: 14px 12px; }
  .seg { width: 100%; }
  .seg button { flex: 1; justify-content: center; padding: .45em .5em; }
}

/* ---------- laptops & desktops: use the room ---------- */
@media (min-width: 961px) {
  .lb-keys { display: block; font-size: .82rem; color: #8fa3b6; margin-top: 6px; }
  .lightbox { padding: 24px 76px; }
  .lb-body { grid-template-columns: minmax(0, 1fr) clamp(270px, 27vw, 380px); gap: clamp(20px, 2.5vw, 36px); }
  .lb-info h2 { font-size: 2.3rem; }
  .lb-desc { font-size: 1.1rem; }
}
@media (min-width: 1100px) {
  :root { --wrap: 1440px; }
  body { font-size: 19px; }
  .wrap { width: min(var(--wrap), 100% - 80px); }
  .hero { padding: 44px 0 40px; }
  .hero-inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; text-align: left; max-width: none; }
  .hero .lede { margin-left: 0; }
  .hero .stats { margin: 0; max-width: none; }
  .stats dd { font-size: 1.8rem; }
  .visitors-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
  .side { display: flex; flex-direction: column; gap: 18px; position: sticky; top: calc(var(--header-h) + 20px); }
  .animal { padding: 30px; }
  .fav-row { grid-auto-columns: 300px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* =====================================================================
   v12: animals-spotted index, simplified home cards, sub-pages
   ===================================================================== */

/* "Animals spotted" index under the hero */
.spotted { background: #fff; border-bottom: 1px solid var(--line); padding: 22px 0; }
.spotted-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.spotted-h { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); font-weight: 500; }
.spotted-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.spotted-list a {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy);
  font-weight: 500; font-size: 1.02rem; padding: .5em .6em .5em 1.1em; border-radius: 100px;
  background: var(--cream-soft); border: 1.5px solid #ece4d3; transition: border-color .2s, background .2s;
}
.spotted-list a:hover { border-color: var(--navy); background: #fff; }
.sp-count {
  min-width: 2em; height: 1.75em; padding: 0 .55em; border-radius: 100px; display: inline-grid; place-items: center;
  background: var(--navy); color: #fff; font-size: .82rem;
}
.sp-fav a { background: #fdf0f2; border-color: #f2c9cf; color: var(--heart); }
.sp-fav a:hover { border-color: var(--heart); }
.sp-fav .heart-icon { fill: var(--heart); stroke: var(--heart); font-size: 1.1em; }
.sp-fav .sp-count { background: var(--heart); }

/* home animal cards */
.animal-name a { color: inherit; text-decoration: none; }
.animal-name a:hover { color: var(--copper-dark); }
.card-actions { display: flex; flex-direction: column; gap: 12px; }
.card-actions-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.card-actions-row .pill, .card-actions-row .heart { justify-content: center; padding-block: .75em; font-size: 1rem; }
.wide-btn { width: 100%; padding: .85em 1.4em; font-size: 1.05rem; }
.wide-btn svg { transition: transform .2s; }
.wide-btn:hover svg { transform: translateX(3px); }

/* sub-page scaffolding */
.page-main { min-height: 50vh; }
.page-loading { padding: 80px 0; text-align: center; color: var(--muted); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding-top: 26px; font-size: .98rem; }
.crumbs a { color: var(--slate); text-decoration: none; font-weight: 500; }
.crumbs a:hover { color: var(--navy); text-decoration: underline; }
.crumbs [aria-current] { color: var(--muted); }
.crumb-sep { color: #b9c2cc; }
.back-link { display: inline-flex; align-items: center; gap: 8px; }
.page-head { padding: 22px 0 30px; }
.page-head.split { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 18px 32px; }
.page-head h1 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); }
.page-head .script { font-size: 2.6rem; }
.page-lede { font-size: 1.15rem; margin-top: 10px; max-width: 60ch; }
.head-stats { list-style: none; margin: 0; padding: 0; display: flex; gap: 12px; }
.head-stats li {
  display: flex; flex-direction: column; align-items: center; min-width: 96px; padding: 12px 16px;
  background: var(--cream-soft); border: 1px solid #efe8da; border-radius: 16px;
  font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--slate);
}
.head-stats strong { font-size: 1.7rem; color: var(--navy); font-weight: 500; letter-spacing: 0; line-height: 1.15; }
.section-title.sm { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.notice { background: var(--cream-soft); border: 1px solid #efe8da; border-radius: 16px; padding: 18px 22px; }
.on-dark.pill-ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.record-cta + .record-cta { margin-top: 10px; }

/* More <animal>: best sighting */
.best-section { padding-bottom: 36px; }
.best-card {
  display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 32px; align-items: center;
  background: #fff; border-radius: 22px; padding: 22px; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.best-card .player { border-radius: 16px; }
.best-badge {
  position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 6px;
  background: var(--copper); color: #fff; font-weight: 500; font-size: .9rem; letter-spacing: .03em;
  padding: 6px 14px 6px 10px; border-radius: 100px; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .5); pointer-events: none;
}
.player.playing .best-badge { display: none; }
.best-copy { display: flex; flex-direction: column; gap: 14px; padding-right: 8px; }
.best-copy h2 { font-size: 1.6rem; }

/* tile grids */
.recent-section { padding-bottom: 40px; }
.recent-section .section-title { margin-bottom: 16px; }
.tile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px 18px; }
.tile-grid.lg { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px 20px; }
.tile-grid.sm { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px 12px; }
.tile-grid.sm .tile-open { border-radius: 10px; }

/* keep-exploring cards */
.explore { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 8px 0 72px; }
.explore.single { grid-template-columns: minmax(0, 640px); }
.explore-card {
  display: grid; grid-template-columns: 42% 1fr; min-height: 210px; border-radius: 20px; overflow: hidden;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); text-decoration: none; color: var(--text);
  transition: transform .25s, box-shadow .25s;
}
.explore-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.explore-media { background: var(--grey); position: relative; overflow: hidden; }
.explore-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.explore-media.mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 3px; }
.explore-media.mosaic img { position: static; width: 100%; height: 100%; object-fit: cover; min-height: 0; }
.explore-media.mosaic img:first-child { grid-row: span 2; }
.explore-body { padding: 22px 24px; display: flex; flex-direction: column; gap: 6px; justify-content: center; }
.explore-body h3 { font-size: 1.45rem; }
.explore-body p:not(.eyebrow) { font-size: .98rem; }
.explore-cta { margin-top: 8px; display: inline-flex; align-items: center; gap: 8px; color: var(--copper-dark); font-weight: 500; }
.explore-card:hover .explore-cta svg { transform: translateX(3px); }
.explore-cta svg { transition: transform .2s; }

/* archive gallery */
.jump-pills { display: flex; gap: 10px; flex-wrap: wrap; }
.jump-pills a {
  display: inline-flex; align-items: center; gap: 8px; padding: .55em 1em; border-radius: 100px; text-decoration: none;
  color: var(--navy); font-weight: 500; border: 1.5px solid var(--pale-blue); background: #fff;
}
.jump-pills a:hover { border-color: var(--navy); }
.gallery-block { padding: 28px 0 36px; border-top: 1px solid var(--line); }
.gallery-block:last-child { padding-bottom: 72px; }
.block-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-bottom: 20px; }
.block-note { color: var(--muted); font-size: .95rem; }
.day-group + .day-group { margin-top: 26px; }
.day-h {
  display: flex; align-items: center; gap: 10px; font-size: .9rem; text-transform: uppercase; letter-spacing: .1em;
  color: var(--slate); margin-bottom: 12px;
}
.day-h::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* favorites gallery */
.fav-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.fav-body h3 a { color: inherit; text-decoration: none; }
.fav-body h3 a:hover { color: var(--copper-dark); }

@media (max-width: 960px) {
  .best-card { grid-template-columns: 1fr; gap: 18px; padding: 14px; }
  .best-copy { padding: 0 6px 8px; }
  .explore { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .spotted { padding: 16px 0; }
  .spotted-inner { gap: 10px; }
  .spotted-list a { font-size: .95rem; }
  .head-stats { width: 100%; }
  .head-stats li { flex: 1; min-width: 0; padding: 10px 6px; font-size: .64rem; }
  .head-stats strong { font-size: 1.35rem; }
  .explore-card { grid-template-columns: 1fr; }
  .explore-media { aspect-ratio: 16 / 9; }
  .tile-grid, .tile-grid.lg { grid-template-columns: 1fr 1fr; gap: 14px 12px; }
  .tile-grid.sm { grid-template-columns: 1fr 1fr 1fr; gap: 10px 8px; }
  .tile-grid.sm .tile-cap { font-size: .76rem; }
  .best-badge { font-size: .8rem; top: 10px; left: 10px; }
  .card-actions-row .pill, .card-actions-row .heart { font-size: .95rem; }
}


/* ================= Bear Trap theme ================= */
h1, h2, h3, h4, .stats dd, .animal-stats strong, .head-stats strong {
  font-family: "Zilla Slab", Georgia, serif; font-weight: 600; letter-spacing: .005em;
}
h1 { font-weight: 700; }
body { background: var(--white); }

/* top bar + header: dark timber with a carved-sign brand */
.topbar { background: var(--navy-deep); color: #d9cfb8; }
.topbar-note { display: inline-flex; align-items: center; gap: 8px; letter-spacing: .03em; }
.topbar-right { opacity: .75; }
.site-header {
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 2px, transparent 2px 9px),
    linear-gradient(180deg, #6a4a33, var(--bark));
  border-bottom: 3px solid var(--navy-deep);
}
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { height: 64px; width: 64px; filter: drop-shadow(0 3px 6px rgba(0,0,0,.35)); }
.brand-words { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: "Zilla Slab", Georgia, serif; font-weight: 700; font-size: 2rem; letter-spacing: .06em;
  text-transform: uppercase; color: var(--cream); text-shadow: 0 2px 0 rgba(0,0,0,.35);
}
.brand-sub { font-family: "Caveat Brush", cursive; font-size: 1.35rem; color: var(--gold); margin-top: 2px; }
.header-nav a:not(.pill) { color: var(--cream); font-weight: 700; letter-spacing: .1em; }
.header-nav a:not(.pill):hover { color: var(--gold); }

/* hero: dusk over Cascade ridgelines */
.hero {
  position: relative; overflow: hidden; color: #e9e1cf;
  background:
    radial-gradient(900px 340px at 78% 8%, rgba(232, 163, 91, .35), transparent 62%),
    linear-gradient(180deg, #1b2f26 0%, #2c4a3a 55%, #a85a2c 100%);
  padding-bottom: 150px !important;
}
.hero-ridges { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 190px; stroke: none; }
.hero-inner { position: relative; z-index: 1; }
.hero h1 { color: var(--cream); text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.hero .lede { color: #e2d9c4; }
.hero .script { color: var(--gold); }
.hero .stats div { background: rgba(250, 245, 234, .96); }
.paw-trail { position: absolute; left: 4%; bottom: 46px; z-index: 1; display: flex; gap: 30px; opacity: .4; }
.paw-trail i {
  width: 26px; height: 26px; display: block;
  background: url("/assets/brand/paw-print.svg") center / contain no-repeat;
  transform: rotate(-14deg);
}
.paw-trail i:nth-child(even) { transform: rotate(-14deg) translateY(-14px); }

/* "tracks in the log" index */
.spotted { background: var(--cream); border-bottom: 1px dashed #cbbd9f; }

/* animal cards: field-notebook feel */
.animal { border: 1px solid var(--line); border-top: 5px solid var(--navy); }
.animal-name a { color: var(--navy); }
.player.is-photo { cursor: zoom-in; }
.photo-tag {
  position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px;
  background: rgba(22, 39, 31, .82); color: var(--cream); font-size: .85rem; font-weight: 700;
  padding: 6px 12px; border-radius: 100px; letter-spacing: .03em;
}
.chips-meta li { background: var(--grey); }
.side-card { border: 1px solid var(--line); }
.side-cams p { font-size: .95rem; margin-top: 8px; }

/* about + footer */
.about { background: var(--cream); }
.about-badge { justify-self: center; width: min(220px, 60%); height: auto; filter: drop-shadow(0 12px 22px rgba(22,39,31,.35)); }
.site-footer { background: var(--navy-deep); color: #cfc5ad; }
.footer-name { font-family: "Zilla Slab", Georgia, serif; font-size: 1.3rem; font-weight: 700; color: var(--cream); letter-spacing: .05em; text-transform: uppercase; }
.footer-links a { color: #e2d9c4; }

@media (max-width: 720px) {
  .topbar-right { display: none; }
  .topbar-inner { justify-content: center; min-height: 40px; }
  .brand img { height: 48px; width: 48px; }
  .brand-name { font-size: 1.45rem; }
  .brand-sub { font-size: 1.1rem; }
  .hero { padding-bottom: 120px !important; }
  .hero-ridges { height: 130px; }
  .paw-trail { gap: 18px; bottom: 30px; }
  .paw-trail i { width: 18px; height: 18px; }
  .about-badge { display: none; }
}

/* ---------- animal silhouettes ---------- */
svg.sil { fill: currentColor; stroke: currentColor; stroke-width: 0; width: auto; }
.hero-animals { position: absolute; inset: auto 0 0 0; height: 190px; pointer-events: none; color: #16271f; }
.hero-animals .sil { position: absolute; }
svg.h-coyote { left: 6.5%; bottom: 114px; height: 52px; color: #203a2e; }
svg.h-elk { left: 56%; bottom: 74px; height: 92px; color: #1b3127; }
svg.h-owl { right: 6.6%; bottom: 120px; height: 30px; }
svg.h-bear { right: 17%; bottom: 14px; height: 54px; }
svg.h-deer { left: 9%; bottom: 20px; height: 62px; }
.paw-trail { left: 30%; bottom: 18px; }
svg.card-sil { height: .9em; margin-right: .35em; vertical-align: -.05em; color: var(--copper); }
.parade {
  display: flex; align-items: flex-end; justify-content: center; gap: clamp(10px, 3vw, 42px);
  padding: 28px 16px 0; color: var(--navy-deep); background: var(--cream); overflow: hidden;
}
.parade svg.sil { height: 58px; flex: none; }
.parade svg.p-pine { height: 86px; color: #203a2e; }
.parade svg.p-owl { height: 46px; }
.parade svg.p-turkey { height: 50px; }
.parade svg.p-elk { height: 78px; }
.about .about-badge { width: min(240px, 70%); }
@media (max-width: 720px) {
  .hero-animals { height: 130px; }
  svg.h-coyote { left: 5%; bottom: 74px; height: 34px; }
  svg.h-elk { left: 58%; bottom: 52px; height: 58px; }
  svg.h-owl { display: none; }
  svg.h-bear { right: 6%; bottom: 8px; height: 34px; }
  svg.h-deer { left: 4%; bottom: 10px; height: 40px; }
  .paw-trail { left: 34%; }
  .parade { gap: 10px; }
  .parade svg.sil { height: 38px; }
  .parade svg.p-pine { height: 56px; }
  .parade svg.p-elk { height: 52px; }
  .parade svg.p-owl, .parade svg.p-turkey { height: 30px; }
  .parade svg.sil:nth-child(n+8) { display: none; }
}
