@font-face {
  font-family: DM Sans;
  src: url("/assets/fonts/dm-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: Fraunces;
  src: url("/assets/fonts/fraunces-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #0d1914;
  --panel: #14241c;
  --raised: #1c3024;
  --ink: #f3f1e5;
  --muted: #b5c2b5;
  --accent: #d1ed91;
  --line: #344b3d;
  --orange: #ffc89e;
  --serif: Fraunces, Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
body.dialog-open {
  overflow: hidden;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}
button,
summary {
  cursor: pointer;
}
a {
  color: inherit;
  text-underline-offset: 0.2em;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
p,
figure,
dl {
  margin: 0;
}
h1,
h2 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
h3 {
  font-size: 1.25rem;
  line-height: 1.3;
  letter-spacing: -0.025em;
}
h1 {
  font-size: clamp(2.5rem, 5.2vw, 5.5rem);
}
h2 {
  font-size: clamp(2rem, 3.1vw, 3.4rem);
}
em {
  font-style: normal;
  color: var(--accent);
}
p {
  overflow-wrap: anywhere;
}
p + p {
  margin-top: 1em;
}
::selection {
  background: var(--accent);
  color: var(--bg);
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
main:focus {
  outline: none;
}
a,
button,
input,
select,
summary {
  touch-action: manipulation;
}
button {
  border: 0;
}
input,
select {
  min-width: 0;
  width: 100%;
  font-size: 1rem;
  min-height: 50px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  padding: 12px 15px;
  border-radius: 10px;
}
select {
  padding-right: 30px;
}
input::placeholder {
  color: #a8b7aa;
}
label {
  display: grid;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 500;
}
input[type="search"] {
  appearance: none;
}
a:hover {
  color: var(--accent);
}
.shell {
  width: min(calc(100% - 96px), 1360px);
  margin-inline: auto;
}
.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;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 16px;
  background: var(--accent);
  color: var(--bg);
  padding: 14px 20px;
  transform: translateY(-160%);
  border-radius: 8px;
}
.skip-link:focus {
  transform: none;
}
.eyebrow {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 18px;
}
.lead {
  font-size: clamp(1.04rem, 1.25vw, 1.2rem);
  color: var(--muted);
  max-width: 640px;
  line-height: 1.75;
}
.latin {
  font-style: italic;
  color: var(--muted);
  font-size: 0.9rem;
}
.fine-print {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.65;
}
.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
  color: var(--accent);
  gap: 16px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 50px;
  max-width: 100%;
  padding: 13px 22px;
  border-radius: 9px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid transparent;
  line-height: 1.4;
  transition:
    background 0.18s,
    transform 0.18s;
}
.button.primary {
  color: var(--bg);
  background: var(--accent);
}
.button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.button:hover {
  transform: translateY(-2px);
  filter: brightness(1.07);
}
.button.secondary:hover {
  background: var(--raised);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(13, 25, 20, 0.95);
  backdrop-filter: blur(18px);
}
.site-nav {
  display: flex;
  gap: 24px;
  align-items: center;
  min-height: 88px;
  position: relative;
}
.site-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex-shrink: 0;
}
.site-brand img {
  width: 37px;
  height: 37px;
  object-fit: contain;
}
.site-brand span {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.2;
}
.site-brand small {
  display: block;
  font-size: 0.61rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  margin-top: 5px;
  font-weight: 500;
}
.site-nav nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}
.site-nav nav a {
  display: flex;
  align-items: center;
  min-height: 48px;
  font-size: 0.84rem;
  text-decoration: none;
  position: relative;
  color: var(--muted);
}
.site-nav nav a[aria-current] {
  color: var(--accent);
}
.site-nav nav a[aria-current]:after {
  content: "";
  position: absolute;
  bottom: 1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
}
.header-explore {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 17px;
  border: 1px solid #597044;
  border-radius: 8px;
  min-height: 44px;
  font-size: 0.78rem;
  text-decoration: none;
  color: var(--accent);
}
.menu-toggle {
  display: none;
  padding: 10px 14px;
  min-height: 44px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
  border-radius: 8px;
  font-size: 0.85rem;
}
.home-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  padding-block: 62px 64px;
}
.hero-copy {
  padding-block: 25px;
}
.hero-copy h1 {
  font-size: clamp(3.1rem, 5.3vw, 5.7rem);
  margin-bottom: 26px;
}
.hero-copy .lead {
  margin-bottom: 30px;
}
.live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 7px;
}
.hero-search {
  display: flex;
  gap: 6px;
  padding: 6px;
  border: 1px solid #64745b;
  background: var(--panel);
  border-radius: 12px;
  max-width: 510px;
}
.hero-search input {
  background: transparent;
  border: 0;
  padding-left: 12px;
}
.hero-search button {
  background: var(--accent);
  color: var(--bg);
  border-radius: 7px;
  padding: 10px 18px;
  font-weight: 700;
  font-size: 0.88rem;
  white-space: nowrap;
  display: flex;
  gap: 14px;
  align-items: center;
}
.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 16px;
}
.hero-links a {
  font-size: 0.88rem;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.hero-links a:first-child {
  color: var(--accent);
}
.safety-note {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 24px;
  max-width: 620px;
}
.safety-note a {
  white-space: nowrap;
}
.safety-note > span {
  color: var(--accent);
  margin-right: 6px;
}
.hero-figure {
  position: relative;
  min-width: 0;
  aspect-ratio: 1.05;
  border-radius: 20px;
  overflow: hidden;
  background: var(--panel);
  isolation: isolate;
}
.hero-figure > a {
  display: block;
  position: absolute;
  inset: 0;
}
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-figure:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.28),
    transparent 35%,
    rgba(0, 0, 0, 0.75)
  );
  pointer-events: none;
  z-index: 1;
}
.hero-topline {
  position: absolute;
  top: 24px;
  left: 26px;
  right: 26px;
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fff;
  pointer-events: none;
  z-index: 2;
}
.hero-topline > span:first-child {
  border: 1px solid #ffffff70;
  padding: 5px 10px;
  border-radius: 999px;
  background: #0003;
}
.hero-figure figcaption {
  position: absolute;
  bottom: 24px;
  left: 26px;
  right: 26px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  z-index: 3;
}
.hero-figure figcaption small {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #e1e5d9;
}
.hero-figure figcaption a {
  color: #fff;
  text-decoration: none;
}
.hero-figure figcaption #hero-name {
  display: block;
  line-height: 1.3;
  font-size: 1.15rem;
  margin-top: 5px;
}
.hero-figure .credit {
  display: block;
  font-size: 0.65rem;
  margin-top: 8px;
}
.hero-figure button {
  background: #0d1914c9;
  color: white;
  border: 1px solid #fff8;
  border-radius: 999px;
  padding: 10px 14px;
  min-height: 44px;
  font-size: 0.75rem;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr) 1.2fr;
  border-block: 1px solid var(--line);
}
.stats > div,
.stats > a {
  padding: 28px 32px;
  border-right: 1px solid var(--line);
}
.stats > div:first-child {
  padding-left: 0;
}
.stats > a:last-child {
  border: 0;
  text-decoration: none;
  font-size: 0.88rem;
  color: var(--muted);
  padding-right: 0;
}
.stats a b {
  color: var(--accent);
}
.stats strong {
  font-family: var(--serif);
  font-size: 2.6rem;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-right: 10px;
}
.stats span {
  font-size: 0.8rem;
  color: var(--muted);
  display: block;
  margin-top: 10px;
}
.section {
  padding-block: 82px;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 32px;
}
.section-heading > p {
  max-width: 400px;
  color: var(--muted);
  font-size: 0.9rem;
}
.section-heading .eyebrow {
  margin-bottom: 12px;
}
.species-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.species-card {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    border-color 0.2s,
    transform 0.2s;
  min-width: 0;
}
.species-card:hover {
  border-color: #71835d;
  transform: translateY(-3px);
}
.card-image {
  display: block;
  position: relative;
  aspect-ratio: 1.52;
  overflow: hidden;
  background: #1f3025;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.species-card:hover .card-image img {
  transform: scale(1.03);
}
.image-label {
  position: absolute;
  bottom: 10px;
  left: 10px;
  padding: 4px 9px;
  background: #0d1914d9;
  color: var(--ink);
  font-size: 0.72rem;
  border-radius: 5px;
}
.card-body {
  padding: 23px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}
.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  flex-wrap: wrap;
}
.card-meta > span:first-child {
  font-size: 0.64rem;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.08em;
}
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  max-width: 100%;
  padding: 3px 9px;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--accent);
  border: 1px solid #668044;
  border-radius: 999px;
  line-height: 1.4;
}
.badge.venom {
  color: var(--orange);
  border-color: #826347;
}
.badge.caution {
  color: #f4d985;
  border-color: #807648;
}
.card-body h3 {
  font-size: 1.28rem;
}
.card-body h3 a {
  text-decoration: none;
}
.card-body .latin {
  font-size: 0.77rem;
}
.card-summary {
  font-size: 0.85rem;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.6;
  margin-top: 3px;
}
.card-bottom {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 14px;
  margin-top: auto;
  border-top: 1px solid var(--line);
}
.card-bottom > span {
  font-size: 0.71rem;
  color: var(--muted);
  margin-right: auto;
}
.round-link {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 1.2rem;
  text-decoration: none;
  color: var(--accent);
}
.save-button {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
  min-height: 44px;
  min-width: 55px;
  border-radius: 8px;
  font-size: 0.76rem;
}
.save-button[aria-pressed="true"],
#saved-filter[aria-pressed="true"] {
  color: var(--accent);
  border-color: var(--accent);
  background: #283c23;
}
.habitat-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  background: var(--accent);
  color: var(--bg);
  border-radius: 18px;
  padding: 52px;
}
.habitat-section .eyebrow {
  color: #40542d;
}
.habitat-section h2 {
  margin-bottom: 20px;
}
.habitat-section p {
  max-width: 390px;
}
.habitat-links a {
  display: flex;
  align-items: center;
  min-height: 75px;
  gap: 23px;
  border-top: 1px solid #718944;
  text-decoration: none;
}
.habitat-links a:hover {
  color: var(--bg);
  background: #fff3;
}
.habitat-links a > span {
  font-size: 0.75rem;
}
.habitat-links a > span:last-child {
  margin-left: auto;
  font-size: 1.4rem;
}
.habitat-links a:last-child {
  border-bottom: 1px solid #718944;
}
.feature-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 40px;
}
.feature-band h2 {
  margin-bottom: 22px;
}
.feature-band p:not(.eyebrow) {
  color: var(--muted);
  max-width: 440px;
  margin-bottom: 25px;
}
.feature-band-image {
  display: block;
  position: relative;
  aspect-ratio: 1.28;
  border-radius: 12px;
  overflow: hidden;
}
.feature-band-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.play-emblem {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid #fff9;
  color: white;
  border-radius: 50%;
  background: #0d1914aa;
  font-size: 1rem;
  padding-left: 3px;
}
.page-main {
  padding-block: 64px 100px;
}
.page-intro {
  margin-bottom: 44px;
  max-width: 900px;
}
.page-intro .lead {
  margin-top: 24px;
  max-width: 710px;
}
.page-intro h1 {
  font-size: clamp(2.5rem, 4.7vw, 5rem);
}
.guide-controls {
  border: 1px solid var(--line);
  padding: 22px;
  border-radius: 14px;
  background: var(--panel);
}
.search-row {
  display: flex;
  gap: 12px;
}
.search-box {
  flex: 1;
  min-width: 0;
}
.search-box input {
  background: var(--bg);
  min-width: 0;
}
.filter-toggle {
  display: none;
}
.filter-fields {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}
.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.active-filters:not(:empty) {
  margin-top: 14px;
}
.filter-chip,
.clear-filters {
  min-height: 44px;
  background: var(--raised);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.8rem;
}
.clear-filters {
  color: var(--accent);
  background: transparent;
  border-color: transparent;
  text-decoration: underline;
}
.results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 25px;
}
.results-bar > p {
  color: var(--muted);
  font-size: 0.83rem;
}
.results-bar label {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-size: 0.8rem;
}
.results-bar select {
  width: auto;
  font-size: 0.8rem;
  min-height: 44px;
  padding-block: 8px;
}
.load-more {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding-top: 36px;
}
.load-more p {
  font-size: 0.8rem;
  color: var(--muted);
}
.empty-state {
  grid-column: 1/-1;
  text-align: center;
  padding: 56px 24px;
  border: 1px dashed var(--line);
  border-radius: 14px;
}
.empty-state p {
  margin: 20px auto;
  max-width: 540px;
  color: var(--muted);
}
.species-page {
  padding-block: 34px 80px;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 0.77rem;
  margin-bottom: 30px;
}
.breadcrumb a {
  color: var(--accent);
  min-height: 24px;
}
.species-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: 34px;
}
.species-heading h1 {
  font-size: clamp(2.4rem, 4vw, 4.6rem);
  max-width: 800px;
}
.species-heading .latin {
  margin-top: 15px;
}
.species-heading .eyebrow {
  margin-bottom: 12px;
}
.species-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: end;
}
.species-actions .button {
  min-width: 100px;
  font-size: 0.8rem;
}
.species-identity {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 52px;
  align-items: start;
}
.species-photo {
  border-radius: 14px;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
}
.species-photo > img {
  width: 100%;
  max-height: 690px;
  object-fit: contain;
  min-height: 200px;
  background: #0a1410;
}
.species-photo figcaption {
  font-size: 0.72rem;
  color: var(--muted);
  padding: 16px 20px;
  overflow-wrap: anywhere;
}
.species-photo figcaption small {
  display: block;
  margin-top: 6px;
}
.species-overview {
  display: grid;
  gap: 23px;
  align-content: start;
}
.species-overview .eyebrow {
  margin: 0;
}
.species-summary {
  font-size: 1.08rem;
  line-height: 1.8;
}
.facts {
  display: grid;
  gap: 17px;
}
.facts > div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
}
dt {
  font-size: 0.74rem;
  color: var(--muted);
}
dd {
  margin: 0;
  font-size: 0.89rem;
}
.risk-note {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  font-size: 0.85rem;
}
.risk-note p {
  margin-top: 8px;
  color: var(--muted);
}
.risk-note a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--accent);
}
.risk-note.high-risk {
  border-color: #826347;
  background: #392b1c;
}
.risk-note.high-risk > b {
  color: var(--orange);
}
.species-range {
  margin-top: 64px;
}
.range-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
}
.map-panel {
  padding: 22px;
  background: var(--panel);
  border-radius: 14px;
  border: 1px solid var(--line);
  align-self: start;
}
.map-wrap svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.map-water {
  fill: #10251b;
}
.map-insets rect {
  fill: #192e22;
  stroke: #49604d;
}
.map-insets text,
.map-label {
  font-family: var(--sans);
  font-size: 10px;
  fill: #dae8ca;
}
.map-wrap .jurisdiction {
  stroke: #10251b;
  stroke-width: 1;
  fill: #405347;
}
.map-wrap [data-presence="native"] {
  fill: var(--accent);
}
.map-wrap [data-presence="provisional"] {
  fill: var(--orange);
}
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-block: 18px;
  font-size: 0.7rem;
  color: var(--muted);
}
.legend > span {
  display: flex;
  gap: 6px;
  align-items: center;
}
.legend i {
  width: 10px;
  height: 10px;
  background: #405347;
  border: 1px solid #94a08d;
  border-radius: 3px;
}
.legend .native {
  background: var(--accent);
}
.legend .provisional {
  background: var(--orange);
}
.jurisdiction-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.jurisdiction-links a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 9px;
  text-decoration: none;
  font-size: 0.82rem;
}
.jurisdiction-links small {
  color: var(--orange);
}
details {
  border-block: 1px solid var(--line);
  margin-top: 26px;
  padding: 0 2px 0;
}
summary {
  font-size: 0.88rem;
  font-weight: 600;
  min-height: 58px;
  padding: 17px 4px;
}
details[open] {
  padding-bottom: 20px;
}
details p {
  color: var(--muted);
  font-size: 0.87rem;
  padding: 0 4px;
}
details p + p {
  margin-top: 14px;
}
details a {
  color: var(--accent);
}
.account-notes {
  margin-top: 34px;
}
.account-notes details {
  margin: 0;
  border-bottom: 0;
}
.account-notes details:last-child {
  border-bottom: 1px solid var(--line);
}
.species-end {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.video-heading {
  margin-top: 56px;
  margin-bottom: 14px;
}
.video-heading h2 {
  font-size: 2.2rem;
}
.video-heading label {
  flex: 0 1 370px;
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin-top: 26px;
}
.video-card {
  border: 1px solid var(--line);
  border-radius: 13px;
  overflow: hidden;
  background: var(--panel);
  min-width: 0;
}
.video-thumb {
  display: block;
  position: relative;
  aspect-ratio: 16/10;
  background: #182c20;
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-thumb:hover .play-emblem {
  background: #0d1914ee;
  color: var(--accent);
}
.duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-size: 0.73rem;
  color: white;
  background: #0d1914e8;
  padding: 2px 8px;
  border-radius: 5px;
}
.video-card > div {
  padding: 19px;
}
.video-card h3 {
  font-size: 1.15rem;
}
.video-card p {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 7px;
}
.video-dialog {
  width: min(calc(100% - 28px), 1000px);
  max-height: 90dvh;
  background: var(--panel);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 24px;
}
.video-dialog::backdrop {
  background: #000c;
  backdrop-filter: blur(6px);
}
.video-dialog header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}
.video-dialog h2 {
  font-family: var(--sans);
  font-size: 1.25rem;
  letter-spacing: -0.025em;
}
.video-dialog iframe {
  width: 100%;
  aspect-ratio: 16/9;
  display: block;
  border: 0;
}
.video-dialog > p {
  font-size: 0.83rem;
  margin-top: 16px;
}
.spoken-player {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 36px;
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 15px;
}
.spoken-photo {
  align-self: start;
  aspect-ratio: 1.1;
  border-radius: 10px;
  overflow: hidden;
}
.spoken-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0c1711;
}
.spoken-copy {
  display: grid;
  align-content: start;
  gap: 17px;
  min-width: 0;
}
.spoken-copy h3 {
  font-family: var(--serif);
  font-size: 2rem;
}
.spoken-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}
.video-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.video-controls .button {
  padding: 11px 18px;
}
.spoken-copy .status {
  font-size: 0.8rem;
}
.spoken-copy audio {
  width: 100%;
}
.narration-timeline {
  display: grid;
  gap: 2px;
}
.narration-timeline input[type="range"] {
  width: 100%;
  min-width: 0;
  height: 44px;
  margin: 0;
  padding: 0;
  accent-color: var(--accent);
  cursor: pointer;
}
.narration-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--muted);
}
.narration-options label {
  display: flex;
  align-items: center;
  gap: 8px;
}
.narration-options select {
  width: auto;
  min-height: 44px;
  padding: 8px 25px 8px 10px;
}
.audio-time {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.spoken-copy .narrator-credit {
  font-size: 0.75rem;
}
.narration-transcript {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}
.narration-transcript summary {
  padding: 14px 0;
  min-height: 48px;
  cursor: pointer;
}
.narration-transcript p {
  color: var(--muted);
  margin: 0 0 16px;
}
.book-feature {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 80px;
  align-items: center;
  padding: 48px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.book-art {
  background: #213728;
  border-radius: 12px;
  padding: 32px;
}
.book-art img {
  width: 100%;
  max-height: 510px;
  object-fit: contain;
  filter: drop-shadow(0 18px 16px #0006);
}
.book-feature h2 {
  font-size: clamp(2rem, 3.5vw, 3.5rem);
}
.book-feature > div:last-child {
  display: grid;
  gap: 24px;
}
.book-feature .eyebrow {
  margin: 0;
}
.book-feature p:not(.eyebrow) {
  color: var(--muted);
}
.book-author {
  font-size: 1.05rem;
}
.book-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding-block: 20px;
  border-block: 1px solid var(--line);
}
.book-facts dd {
  font-size: 1rem;
  color: var(--ink);
}
.book-feature .button {
  justify-self: start;
}
.emergency {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 35px;
  background: #32291d;
  border: 1px solid #9b7552;
  padding: 32px;
  border-radius: 14px;
}
.emergency .eyebrow {
  color: var(--orange);
}
.emergency h2 {
  color: var(--orange);
  margin-bottom: 18px;
}
.emergency p:not(.eyebrow) {
  max-width: 650px;
}
.emergency-actions {
  display: grid;
  gap: 12px;
  align-content: center;
  min-width: 210px;
}
.emergency .primary {
  background: var(--orange);
}
.emergency .secondary {
  border-color: #bb9678;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
}
.steps-grid article {
  border-top: 1px solid var(--line);
  padding-top: 25px;
}
.step-number {
  font-family: var(--serif);
  font-size: 2.1rem;
  color: var(--accent);
}
.steps-grid h3 {
  margin-block: 20px 12px;
}
.steps-grid p {
  color: var(--muted);
  font-size: 0.93rem;
}
.first-aid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  padding: 40px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 15px;
}
.first-aid > div:last-child {
  color: var(--muted);
}
.source-details {
  margin-top: 30px;
}
.method-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.method-grid article {
  padding: 35px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.method-grid h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
.method-grid article > p:not(.eyebrow) {
  color: var(--muted);
}
.coverage-note {
  padding: 25px 30px;
  border-left: 3px solid var(--accent);
  margin-top: 36px;
  background: var(--panel);
  border-radius: 0 10px 10px 0;
}
.coverage-note h3 {
  margin-bottom: 14px;
}
.coverage-note p {
  color: var(--muted);
  font-size: 0.9rem;
}
.source-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 36px;
}
.source-list article {
  padding-block: 20px;
  border-top: 1px solid var(--line);
}
.source-list article > a {
  font-weight: 600;
  text-decoration: none;
}
.source-list p {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 8px;
}
.attribution-list {
  display: grid;
}
.attribution-row {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 25px;
  border-top: 1px solid var(--line);
  padding-block: 20px;
}
.attribution-row h3 {
  font-size: 1rem;
}
.attribution-row h3 a {
  text-decoration: none;
}
.attribution-row p {
  font-size: 0.83rem;
  color: var(--muted);
}
.species-index {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px 25px;
}
.species-index a {
  font-size: 0.85rem;
  padding-block: 9px;
}
.site-footer {
  background: #09110d;
  border-top: 1px solid var(--line);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-block: 54px;
}
.footer-brand {
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1.2;
  text-decoration: none;
  letter-spacing: -0.035em;
}
.footer-brand span {
  color: var(--accent);
}
.footer-top p {
  margin-top: 15px;
  color: var(--muted);
  font-size: 0.85rem;
}
.footer-top nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px 42px;
  align-content: start;
}
.footer-top nav a {
  min-height: 44px;
  display: flex;
  align-items: center;
  text-decoration: none;
  font-size: 0.85rem;
}
.footer-bottom {
  border-top: 1px solid var(--line);
  display: flex;
  gap: 20px 32px;
  align-items: center;
  padding-block: 23px;
  color: var(--muted);
  font-size: 0.73rem;
}
.footer-bottom a {
  min-height: 44px;
  display: flex;
  align-items: center;
}
.footer-bottom a:last-child {
  margin-left: auto;
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 15px);
  z-index: 100;
  max-width: calc(100% - 32px);
  padding: 13px 20px;
  background: var(--accent);
  color: var(--bg);
  border-radius: 10px;
  box-shadow: 0 8px 35px #0004;
  font-size: 0.85rem;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.load-error {
  border: 1px solid var(--orange);
  padding: 20px;
  margin-top: 20px;
  border-radius: 12px;
}
.load-error p {
  margin-bottom: 14px;
}
@media (min-width: 1800px) {
  .shell {
    width: min(calc(100% - 160px), 1560px);
  }
  .home-hero h1 {
    font-size: 6.2rem;
  }
  .species-grid {
    gap: 28px;
  }
  .hero-figure {
    max-height: 680px;
  }
}
@media (max-width: 1200px) {
  .header-explore {
    display: none;
  }
  .home-hero {
    gap: 32px;
  }
  .hero-copy h1 {
    font-size: clamp(3rem, 5.2vw, 4.8rem);
  }
  .hero-figure {
    aspect-ratio: 0.9;
  }
  .habitat-section {
    gap: 45px;
  }
  .feature-band {
    gap: 35px;
  }
  .book-feature {
    gap: 40px;
  }
  .species-identity {
    gap: 30px;
  }
  .species-actions {
    max-width: 260px;
  }
  .steps-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 1000px) {
  .shell {
    width: calc(100% - 56px);
  }
  .site-nav nav {
    gap: 18px;
  }
  .species-grid,
  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .species-grid > .species-card:last-child:nth-child(3) {
    display: flex;
  }
  .stats strong {
    font-size: 2.3rem;
  }
  .stats > div,
  .stats > a {
    padding: 22px;
  }
  .species-identity {
    grid-template-columns: 1fr 1fr;
  }
  .species-heading {
    align-items: start;
    flex-direction: column;
  }
  .species-actions {
    max-width: none;
    justify-content: start;
  }
  .range-layout {
    grid-template-columns: 1fr;
  }
  .map-panel {
    max-width: 900px;
  }
  .spoken-player {
    gap: 25px;
  }
  .book-feature {
    padding: 28px;
    gap: 32px;
  }
  .book-art {
    padding: 15px;
  }
  .feature-band {
    padding: 30px;
  }
}
@media (max-width: 900px) {
  .site-nav {
    min-height: 74px;
    flex-wrap: wrap;
    padding-block: 10px;
  }
  .site-brand small {
    font-size: 0.58rem;
  }
  .js .menu-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
  }
  .site-nav nav {
    flex-basis: 100%;
    flex-wrap: wrap;
    justify-content: start;
    margin: 0;
    gap: 4px 22px;
    padding-bottom: 8px;
  }
  .js .site-nav nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--panel);
    padding: 15px 22px;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 0 0 12px 12px;
    box-shadow: 0 16px 35px #0005;
    max-height: calc(100dvh - 92px);
    overflow: auto;
  }
  .js .site-nav nav.open {
    display: flex;
  }
  .site-nav nav a {
    font-size: 0.95rem;
  }
  .site-nav nav a[aria-current]:after {
    bottom: 0;
    width: 28px;
  }
  .home-hero {
    padding-block: 38px 42px;
    grid-template-columns: 1fr 1fr;
  }
  .hero-copy h1 {
    font-size: 3rem;
  }
  .hero-search input {
    font-size: 0.9rem;
  }
  .hero-search button {
    padding: 8px 12px;
  }
  .hero-search button span {
    display: none;
  }
  .hero-links {
    gap: 4px 18px;
  }
  .hero-figure {
    aspect-ratio: 0.78;
  }
  .hero-figure figcaption {
    left: 18px;
    right: 18px;
    bottom: 18px;
    gap: 12px;
  }
  .hero-figure figcaption #hero-name {
    font-size: 1rem;
  }
  .hero-topline {
    left: 18px;
    right: 18px;
  }
  .hero-topline #hero-counter {
    display: none;
  }
  .hero-copy .lead {
    font-size: 1rem;
  }
  .stats {
    grid-template-columns: repeat(3, 1fr);
  }
  .stats > a {
    display: none;
  }
  .stats > div:last-of-type {
    border: 0;
  }
  .habitat-section {
    grid-template-columns: 1fr 1fr;
    padding: 32px;
    gap: 30px;
  }
  .page-main {
    padding-top: 42px;
  }
  .filter-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .species-identity,
  .spoken-player {
    grid-template-columns: 1fr;
  }
  .species-photo > img {
    max-height: 650px;
  }
  .spoken-photo {
    aspect-ratio: 1.7;
  }
  .book-feature {
    grid-template-columns: 1fr 1.1fr;
  }
  .first-aid {
    gap: 35px;
  }
  .source-list {
    gap: 0 25px;
  }
  .species-index {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .shell {
    width: calc(100% - 36px);
  }
  .home-hero {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-top: 25px;
  }
  .hero-copy {
    padding-block: 10px 0;
  }
  .hero-copy h1 {
    font-size: clamp(2.7rem, 8.5vw, 4rem);
    margin-bottom: 20px;
  }
  .hero-copy .lead {
    margin-bottom: 24px;
  }
  .hero-copy .eyebrow {
    margin-bottom: 16px;
  }
  .hero-links {
    margin-top: 10px;
  }
  .hero-copy .safety-note {
    display: none;
  }
  .hero-figure {
    aspect-ratio: 1.1;
    min-height: 300px;
  }
  .hero-topline #hero-counter {
    display: block;
  }
  .hero-figure figcaption #hero-name {
    font-size: 1.05rem;
  }
  .stats > div {
    padding: 21px 15px;
  }
  .stats strong {
    font-size: 2rem;
  }
  .stats span {
    font-size: 0.72rem;
    line-height: 1.4;
  }
  .section {
    padding-block: 52px;
  }
  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
  }
  .section-heading > p {
    max-width: none;
  }
  .habitat-section {
    grid-template-columns: 1fr;
    padding: 28px;
    gap: 25px;
  }
  .habitat-section p {
    max-width: none;
  }
  .feature-band {
    grid-template-columns: 1fr;
    padding: 25px;
    gap: 28px;
  }
  .feature-band-image {
    aspect-ratio: 1.65;
  }
  .species-grid,
  .video-grid {
    gap: 15px;
  }
  .card-body {
    padding: 17px;
    gap: 8px;
  }
  .card-body h3 {
    font-size: 1.15rem;
  }
  .card-meta > span:first-child {
    display: none;
  }
  .card-summary {
    font-size: 0.82rem;
    -webkit-line-clamp: 2;
  }
  .card-bottom {
    flex-wrap: wrap;
    gap: 6px;
  }
  .card-bottom > span {
    flex-basis: 100%;
  }
  .card-bottom .round-link {
    margin-left: auto;
  }
  .card-image {
    aspect-ratio: 1.12;
  }
  .page-intro {
    margin-bottom: 28px;
  }
  .page-intro .lead {
    font-size: 1rem;
    margin-top: 20px;
  }
  .page-intro h1 {
    font-size: clamp(2.4rem, 7.4vw, 3.5rem);
  }
  .page-main {
    padding-block: 32px 60px;
  }
  .guide-controls {
    padding: 13px;
  }
  .search-row {
    flex-wrap: wrap;
    gap: 10px;
  }
  .search-row .search-box {
    flex-basis: 100%;
  }
  .js .filter-toggle {
    display: inline-flex;
    flex: 1;
  }
  .search-row > #saved-filter {
    flex: 1;
  }
  .js .filter-fields {
    display: none;
  }
  .js .filter-fields.expanded {
    display: grid;
  }
  .results-bar {
    padding-block: 20px;
    gap: 10px;
    align-items: start;
  }
  .results-bar label {
    font-size: 0;
    gap: 0;
  }
  .results-bar select {
    max-width: 145px;
    font-size: 0.8rem;
  }
  .results-bar > p {
    max-width: 160px;
    font-size: 0.77rem;
    align-self: center;
  }
  .species-page {
    padding-block: 24px 55px;
  }
  .breadcrumb {
    font-size: 0.73rem;
    margin-bottom: 23px;
  }
  .species-heading {
    gap: 20px;
    margin-bottom: 25px;
  }
  .species-heading h1 {
    font-size: clamp(2.4rem, 7.3vw, 3.5rem);
  }
  .species-heading .latin {
    margin-top: 10px;
  }
  .species-actions .button {
    min-height: 44px;
    min-width: 85px;
    padding: 10px 13px;
  }
  .species-summary {
    font-size: 1.02rem;
  }
  .species-range {
    margin-top: 42px;
  }
  .species-photo figcaption {
    padding: 13px 16px;
  }
  .map-panel {
    padding: 15px;
  }
  .facts > div {
    grid-template-columns: 85px 1fr;
    gap: 18px;
  }
  .species-actions {
    gap: 8px;
  }
  .video-heading {
    margin-top: 35px;
  }
  .video-heading label {
    flex: auto;
    width: 100%;
  }
  .video-card > div {
    padding: 15px;
  }
  .video-card h3 {
    font-size: 1rem;
  }
  .video-card p {
    font-size: 0.75rem;
  }
  .video-thumb {
    aspect-ratio: 1.3;
  }
  .play-emblem {
    width: 46px;
    height: 46px;
  }
  .spoken-player {
    padding: 17px;
    gap: 22px;
  }
  .spoken-copy h3 {
    font-size: 1.8rem;
  }
  .spoken-photo {
    aspect-ratio: 1.25;
  }
  .video-dialog {
    padding: 16px;
  }
  .video-dialog header {
    align-items: start;
    gap: 12px;
  }
  .video-dialog h2 {
    font-size: 1rem;
  }
  .video-dialog header .button {
    min-height: 44px;
    padding: 10px 14px;
  }
  .book-feature {
    grid-template-columns: 1fr;
    padding: 25px;
    gap: 30px;
  }
  .book-art {
    padding: 26px;
  }
  .book-art img {
    max-height: 380px;
  }
  .book-feature h2 {
    font-size: 2.3rem;
  }
  .emergency {
    grid-template-columns: 1fr;
    padding: 25px;
    gap: 24px;
  }
  .emergency-actions {
    grid-template-columns: 1fr 1fr;
    min-width: 0;
  }
  .emergency-actions .button {
    padding: 12px 13px;
  }
  .emergency-actions .secondary {
    font-size: 0.76rem;
  }
  .steps-grid {
    gap: 30px 24px;
  }
  .first-aid {
    grid-template-columns: 1fr;
    padding: 25px;
    gap: 25px;
  }
  .method-grid {
    grid-template-columns: 1fr;
  }
  .method-grid article {
    padding: 27px;
  }
  .method-grid h2 {
    font-size: 2.1rem;
  }
  .coverage-note {
    padding: 22px;
  }
  .source-list {
    grid-template-columns: 1fr;
  }
  .attribution-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .footer-top {
    flex-direction: column;
    padding-block: 35px;
    gap: 30px;
  }
  .footer-top nav {
    grid-template-columns: 1fr 1fr;
    gap: 3px 20px;
  }
  .footer-bottom {
    flex-wrap: wrap;
    gap: 2px 20px;
  }
  .footer-bottom > span:nth-child(2) {
    display: none;
  }
  .footer-bottom a:last-child {
    margin-left: 0;
  }
}
@media (max-width: 420px) {
  .shell {
    width: calc(100% - 32px);
  }
  .site-brand span {
    font-size: 1.05rem;
  }
  .site-brand img {
    width: 30px;
    height: 30px;
  }
  .site-brand {
    gap: 8px;
  }
  .site-brand small {
    font-size: 0.52rem;
  }
  .site-nav {
    gap: 10px;
  }
  .menu-toggle {
    font-size: 0.8rem;
    padding-inline: 11px;
  }
  .hero-copy h1 {
    font-size: 2.75rem;
  }
  .hero-figure {
    aspect-ratio: 1;
    min-height: 290px;
  }
  .hero-figure figcaption {
    gap: 10px;
  }
  .hero-figure figcaption #hero-name {
    font-size: 0.93rem;
  }
  .hero-figure .credit {
    font-size: 0.58rem;
  }
  .stats > div {
    padding: 20px 10px;
  }
  .stats strong {
    font-size: 1.9rem;
  }
  .species-grid,
  .video-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .card-image {
    aspect-ratio: 1.6;
  }
  .card-body {
    padding: 22px;
  }
  .card-meta > span:first-child {
    display: block;
  }
  .card-body h3 {
    font-size: 1.3rem;
  }
  .card-bottom {
    flex-wrap: nowrap;
  }
  .card-bottom > span {
    flex-basis: auto;
  }
  .card-summary {
    -webkit-line-clamp: 3;
  }
  .video-thumb {
    aspect-ratio: 16/10;
  }
  .video-card > div {
    padding: 20px;
  }
  .video-card h3 {
    font-size: 1.2rem;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .filter-fields {
    grid-template-columns: 1fr;
  }
  .species-index {
    grid-template-columns: 1fr;
  }
  .species-actions .badge {
    min-height: 32px;
  }
  .species-actions {
    row-gap: 12px;
  }
  .hero-search input {
    font-size: 0.85rem;
  }
  .hero-search button {
    font-size: 0.8rem;
  }
  .book-feature {
    padding: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
  .species-card:hover,
  .button:hover {
    transform: none;
  }
  .species-card:hover .card-image img {
    transform: none;
  }
}
@media (forced-colors: active) {
  .badge,
  .button,
  .save-button,
  .hero-search,
  .filter-chip {
    border: 1px solid ButtonText;
  }
  .map-wrap .jurisdiction {
    stroke: CanvasText;
  }
  .map-wrap [data-presence="native"] {
    fill: Highlight;
  }
}
@media (max-width: 700px) {
  input[type="search"],
  .hero-search input,
  .results-bar select,
  select {
    font-size: 16px;
  }
  .hero-figure .credit {
    min-height: 24px;
    display: flex;
    align-items: center;
  }
}
@media print {
  .site-header,
  .site-footer,
  .species-actions,
  .hero-pause,
  .toast,
  .video-controls {
    display: none;
  }
  body {
    background: white;
    color: black;
  }
  .shell {
    width: 100%;
  }
  a {
    color: black;
  }
  h1,
  h2,
  em {
    color: black;
  }
  .species-identity,
  .range-layout {
    display: block;
  }
  .species-photo {
    max-width: 600px;
  }
  .species-photo img {
    max-height: 400px;
  }
  .species-overview,
  .species-range {
    margin-top: 25px;
  }
  .fine-print,
  .latin,
  p,
  dt,
  dd {
    color: #333;
  }
  details {
    display: block;
  }
  details > * {
    display: block;
  }
  .page-main {
    padding: 0;
  }
  .species-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
