/* ==========================================================================
   Wildlife Rescue Finder — design system v3

   Structure:
     - The whole page sits on one calm canvas — light by default, dark via
       the toggle. There is no fixed-dark hero any more: the top of the page
       IS the tool (what have you found → first aid → where are you), and
       legibility outdoors on a phone beats atmosphere everywhere.
     - Only three colour families: the green brand ramp for actions and the
       chosen state, the status semantics on cards, and the red "urgent" pair
       for the one warning that must read as a warning.

   Contrast is checked automatically in both themes by test/ui-check.js. If you
   change a colour, run it. The --hero-* tokens are kept defined but unused,
   so nothing that once referenced them can break.
   ========================================================================== */

:root {
  /* ---- brand ramp ---- */
  --em-300: #6ee7b7;
  --em-400: #34d399;
  --em-500: #10b981;
  --em-600: #059669;
  --em-700: #047857;
  --em-800: #065f46;
  --em-900: #064e3b;
  --em-950: #022c22;

  /* ---- neutrals (light canvas) ---- */
  --bg:        #f7f9f8;
  --bg-sunk:   #eef2f0;
  --surface:   #ffffff;
  --surface-2: #f8faf9;
  --surface-3: #f1f5f3;
  --ink:       #0b1a14;
  --ink-2:     #2c3f37;
  --muted:     #5b6d64;
  --line:      #e3e9e5;
  --line-2:    #ccd6d0;

  --brand:       var(--em-700);
  --brand-hover: var(--em-800);
  --brand-tint:  #e8f6f0;
  --brand-ring:  rgba(5, 150, 105, .32);
  --on-brand:    #ffffff;
  --on-status:   #ffffff;

  /* ---- hero (theme-independent) ---- */
  --hero-bg:      #04100b;
  --hero-bg-2:    #071a12;
  --hero-ink:     #f2fbf6;
  --hero-ink-2:   #b9d6c8;
  --hero-muted:   #8fae9f;
  --hero-line:    rgba(255, 255, 255, .12);
  --hero-glass:   rgba(255, 255, 255, .07);
  --hero-glass-2: rgba(255, 255, 255, .11);
  --hero-accent:  var(--em-300);

  /* ---- status semantics ---- */
  --open:        #06694a;
  --open-bg:     #e2f5ec;
  --open-dot:    var(--em-500);
  --limited:     #8a4f04;
  --limited-bg:  #fdf0dd;
  --limited-dot: #d97706;
  --unknown:     #52625a;
  --unknown-bg:  #eceff0;
  --unknown-dot: #94a3a0;
  --full:        #9f1d17;
  --full-bg:     #fdeae8;
  --full-dot:    #dc2626;
  --closed:      #3c4844;
  --closed-bg:   #e8ebe9;
  --closed-dot:  #64748b;
  --urgent:      #9f1d17;
  --urgent-bg:   #fdece9;
  --urgent-line: #f5c7c1;

  /* ---- shape ---- */
  --r-xs: 8px;
  --r-sm: 12px;
  --r:    16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-full: 999px;

  /* ---- elevation: tighter, layered, less muddy ---- */
  --sh-1: 0 1px 2px rgba(9, 27, 20, .05), 0 1px 3px rgba(9, 27, 20, .04);
  --sh-2: 0 2px 4px rgba(9, 27, 20, .04), 0 6px 16px -4px rgba(9, 27, 20, .10);
  --sh-3: 0 4px 8px rgba(9, 27, 20, .05), 0 16px 40px -8px rgba(9, 27, 20, .16);
  --sh-4: 0 8px 16px rgba(9, 27, 20, .06), 0 32px 72px -12px rgba(9, 27, 20, .26);
  --sh-glow: 0 0 0 1px rgba(5, 150, 105, .18), 0 8px 28px -6px rgba(5, 150, 105, .28);

  /* ---- type ---- */
  --font: 'InterVar', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
          'Helvetica Neue', Arial, sans-serif;
  --display: 'JakartaVar', 'InterVar', -apple-system, BlinkMacSystemFont,
             'Segoe UI', Roboto, sans-serif;
  --mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;

  --maxw: 1180px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

[data-theme="dark"] {
  --bg:        #08110d;
  --bg-sunk:   #050b08;
  --surface:   #0f1c16;
  --surface-2: #14241d;
  --surface-3: #1a2d24;
  --ink:       #e9f4ee;
  --ink-2:     #c3d6cb;
  --muted:     #90a79a;
  --line:      #1f3229;
  --line-2:    #2c4337;

  --brand:       var(--em-500);
  --brand-hover: var(--em-400);
  --brand-tint:  #0d2b1f;
  --brand-ring:  rgba(52, 211, 153, .34);
  --on-brand:    #04150e;
  --on-status:   #05130d;

  --open:        var(--em-300);
  --open-bg:     #0d2c1f;
  --limited:     #f0be76;
  --limited-bg:  #33240d;
  --unknown:     #9db3a7;
  --unknown-bg:  #1c2a24;
  --full:        #f79c94;
  --full-bg:     #331714;
  --closed:      #a9b8b1;
  --closed-bg:   #1b2621;
  --urgent:      #f9aaa2;
  --urgent-bg:   #331714;
  --urgent-line: #5e2a24;

  --sh-1: 0 1px 2px rgba(0,0,0,.5);
  --sh-2: 0 2px 6px rgba(0,0,0,.5), 0 8px 20px -6px rgba(0,0,0,.6);
  --sh-3: 0 6px 16px rgba(0,0,0,.55), 0 20px 50px -10px rgba(0,0,0,.7);
  --sh-4: 0 10px 24px rgba(0,0,0,.6), 0 40px 80px -12px rgba(0,0,0,.8);
  --sh-glow: 0 0 0 1px rgba(52, 211, 153, .22), 0 8px 30px -6px rgba(16, 185, 129, .3);
}

/* ========================================================== base ========= */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: 'cv11', 'ss01';
  font-variation-settings: 'opsz' 16;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.022em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 1.35rem + 3.1vw, 3.6rem); letter-spacing: -.035em; font-weight: 750; }
h2 { font-size: clamp(1.4rem, 1.15rem + 1vw, 1.95rem); letter-spacing: -.028em; }
h3 { font-size: 1.09rem; letter-spacing: -.018em; }
h4 { font-size: .95rem; }
p { margin: 0 0 .85em; }
strong, b { font-weight: 640; }

a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 2.5px; }
a:hover { color: var(--brand-hover); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; width: 100%; }
.narrow { max-width: 780px; }

.tnum { font-variant-numeric: tabular-nums; }

.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; left: 14px; top: -70px; z-index: 300;
  background: var(--em-700); color: #fff; padding: 11px 18px;
  border-radius: 0 0 var(--r-sm) var(--r-sm); font-weight: 620;
  transition: top .18s var(--ease);
}
.skip-link:focus { top: 0; color: #fff; }

/* Solid, not the translucent ring: at 32% alpha on white it measured ~1.6:1,
   which the old dark hero hid. Twelve toggle buttons make it visible. */
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }

.hidden { display: none !important; }
/* Author rules beat the UA stylesheet whatever their specificity, so a grid
   or flex container with the hidden attribute would otherwise stay visible. */
[hidden] { display: none !important; }

/* ======================================================== header ========= */

.site-header {
  position: sticky; top: 0; z-index: 80;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  backdrop-filter: saturate(1.5) blur(12px);
  -webkit-backdrop-filter: saturate(1.5) blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--sh-1);
}

.header-inner {
  display: flex; align-items: center; gap: 20px;
  min-height: 66px; max-width: var(--maxw); margin: 0 auto; padding: 0 22px;
}

.brand {
  display: flex; align-items: center; gap: 11px; min-width: 0;
  font-family: var(--display); font-weight: 720; font-size: 1.05rem;
  letter-spacing: -.03em; color: var(--ink); text-decoration: none;
  transition: color .2s;
}
.brand:hover { color: var(--ink); }
.brand-mark {
  display: grid; place-items: center; flex: 0 0 34px;
  width: 34px; height: 34px; border-radius: 11px;
  background: linear-gradient(145deg, var(--em-400), var(--em-700) 70%);
  color: #04150e;
  box-shadow: 0 2px 10px -2px rgba(5, 150, 105, .5), inset 0 1px 0 rgba(255,255,255,.28);
}
.brand-mark svg { width: 20px; height: 20px; }
.brand-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.brand-sub {
  font-family: var(--font); color: var(--muted); font-weight: 500;
  font-size: .74rem; letter-spacing: -.005em;
}

.site-nav { margin-left: auto; display: flex; align-items: center; gap: 3px; }
.site-nav a {
  color: var(--ink-2); text-decoration: none; font-size: .89rem; font-weight: 560;
  padding: 9px 13px; border-radius: var(--r-sm); transition: background .15s, color .15s;
  white-space: nowrap;
}
.site-nav a:hover { background: var(--bg-sunk); color: var(--ink); }

.icon-btn {
  display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 38px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-2);
  border-radius: var(--r-sm); cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, transform .12s;
}
.icon-btn:hover { background: var(--bg-sunk); color: var(--ink); }
.icon-btn:active { transform: scale(.94); }
.icon-btn svg { width: 18px; height: 18px; }

/* ====================================================== the tool ========= */

/* The top of the page IS the tool: one calm column on the plain canvas, with
   nothing decorative above the first question. The class is still "hero"
   because scripts/build-preview.js anchors on that exact string. */
.hero { padding: 30px 0 40px; background: var(--bg); color: var(--ink); }
@media (max-width: 620px) { .hero { padding: 20px 0 30px; } }

.hero h1 {
  color: var(--ink); max-width: 24ch;
  font-size: clamp(1.75rem, 1.2rem + 2vw, 2.6rem); letter-spacing: -.03em;
}
.hero-lede {
  color: var(--ink-2); font-size: 1.06rem; max-width: 54ch;
  margin: 12px 0 0; line-height: 1.55;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .78rem; font-weight: 620; letter-spacing: .04em; text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-tint);
  border: 1px solid color-mix(in srgb, var(--em-500) 20%, transparent);
  padding: 6px 13px 6px 9px; border-radius: var(--r-full);
  margin-bottom: 20px;
}

/* ---- the two steps ---- */
.finder { display: grid; gap: 22px; margin-top: 26px; }
.step-label {
  font-size: .76rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 4px;
}
.step h2 { font-size: 1.28rem; margin-bottom: 12px; letter-spacing: -.02em; }

/* ---- animal tiles ---- */
.animal-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 720px) {
  .animal-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
}

.animal-tile {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  gap: 5px; min-height: 92px; padding: 12px 8px 10px;
  font: inherit; cursor: pointer; text-align: center;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line-2); border-radius: var(--r);
  box-shadow: var(--sh-1);
  transition: border-color .15s, background .15s, box-shadow .15s, transform .1s;
}
.animal-tile:hover { border-color: var(--brand); background: var(--surface-2); }
.animal-tile:active { transform: translateY(1px); }
/* Pressed: 2px border with padding trimmed 1px so the tile does not grow. */
.animal-tile[aria-pressed="true"] {
  background: var(--brand-tint); border: 2px solid var(--brand); padding: 11px 7px 9px;
  box-shadow: var(--sh-glow);
}
/* State is never colour-only. */
.animal-tile[aria-pressed="true"] .tile-label::after { content: ' ✓'; color: var(--brand); }
.tile-icon { display: grid; place-items: center; width: 34px; height: 34px; }
.tile-icon svg { width: 30px; height: 30px; color: var(--brand); }
.tile-label { font-weight: 640; font-size: .92rem; line-height: 1.2; letter-spacing: -.01em; }
.tile-sub, .tile-count { font-size: .74rem; color: var(--muted); line-height: 1.25; }
.tile-count:empty { display: none; }
@media (max-width: 560px) {
  .tile-sub { display: none; }
  .tile-label { font-size: .84rem; }
}
@media (max-width: 480px) {
  .tile-count { display: none; }
  .animal-tile { min-height: 76px; }
}

.mode-link {
  font: inherit; font-size: .9rem; font-weight: 580; color: var(--brand);
  background: none; border: 0; padding: 12px 2px; min-height: 44px; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px;
}
.mode-link:hover { color: var(--brand-hover); }
.companion-panel {
  margin-top: 6px; padding: 16px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r);
}
.companion-panel .mode-link { padding-bottom: 0; min-height: 36px; }

/* The first-aid panel renders into here. Uses the .guidance styles below. */
.triage-host { margin-top: 16px; }
.triage-host:empty { display: none; }
.triage-host .guidance { margin: 0; animation: fade .25s var(--ease-out); }
@media (prefers-reduced-motion: reduce) { .triage-host .guidance { animation: none; } }

/* ---- the dot map: every rescue, plotted for real (rescues panel) ---- */
.dotmap-wrap { position: relative; width: 100%; max-width: 240px; margin: 0 auto; }
.dotmap { display: block; width: 100%; height: auto; overflow: visible; }
.dotmap .dot { fill: var(--unknown-dot); transition: r .3s var(--ease), fill .4s; }
.dotmap .dot-open { fill: var(--em-500); animation: blip 3.4s ease-in-out infinite; }
.dotmap .halo-in  { stop-color: var(--em-400); stop-opacity: .45; }
.dotmap .halo-out { stop-color: var(--em-400); stop-opacity: 0; }
@keyframes blip { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .dotmap .dot-open { animation: none; opacity: .9; } }
.dotmap-caption {
  text-align: center; font-size: .76rem; color: var(--muted);
  margin-top: 8px; letter-spacing: .01em;
}

/* ---- emergency note ---- */
.emergency-bar {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--urgent-bg);
  border: 1px solid color-mix(in srgb, var(--urgent) 28%, transparent);
  border-left: 3px solid var(--urgent);
  color: var(--ink-2); border-radius: var(--r-sm);
  padding: 12px 15px; margin: 22px 0 0; font-size: .9rem; line-height: 1.5;
}
.emergency-bar svg { flex: 0 0 18px; width: 18px; height: 18px; color: var(--urgent); margin-top: 2px; }
.emergency-bar strong { color: var(--urgent); font-weight: 640; }
.emergency-bar a { color: var(--urgent); font-weight: 620; }
.emergency-bar a:hover { color: var(--ink); }

/* ==================================================== search card ======== */

.search-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 20px; box-shadow: var(--sh-2);
}
.search-row { display: grid; grid-template-columns: 1fr auto; gap: 11px; align-items: end; }
@media (max-width: 640px) { .search-row { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field > label { font-size: .86rem; font-weight: 600; color: var(--ink-2); }
.field-end { justify-content: flex-end; }

.input-affix { position: relative; display: flex; }
.input-affix > svg {
  position: absolute; left: 15px; top: 50%; transform: translateY(-50%);
  width: 19px; height: 19px; color: var(--muted); pointer-events: none;
}

.hero input[type="text"], .hero input[type="search"], .hero select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-2); border-radius: var(--r-sm);
  padding: 14px 16px; transition: border-color .16s, box-shadow .16s;
}
.hero .input-affix input { padding-left: 44px; }
.hero input::placeholder { color: var(--muted); }
.hero input:focus, .hero select:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-ring);
}
.hero select {
  appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.2 6.1 8 9.9l3.8-3.8' stroke='%235b6d64' stroke-width='1.7' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; background-size: 16px;
}
[data-theme="dark"] .hero select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.2 6.1 8 9.9l3.8-3.8' stroke='%2390a79a' stroke-width='1.7' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.search-extra {
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px;
  margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line);
}
.search-extra .field { flex: 1 1 150px; }
.search-extra .btn { flex: 1 1 200px; }

.search-hint { font-size: .82rem; color: var(--muted); margin: 13px 0 0; line-height: 1.55; }
.search-hint .try {
  font: inherit; font-weight: 600; color: var(--brand);
  background: var(--brand-tint); border: 1px solid color-mix(in srgb, var(--em-500) 22%, transparent);
  padding: 2px 9px; border-radius: var(--r-full); cursor: pointer;
  transition: background .15s, transform .12s;
}
.search-hint .try:hover { background: var(--surface-3); transform: translateY(-1px); }

/* ======================================================= buttons ========= */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font: inherit; font-weight: 640; letter-spacing: -.008em; cursor: pointer;
  white-space: nowrap; padding: 14px 24px; border-radius: var(--r-sm);
  border: 1px solid transparent; background: var(--brand); color: var(--on-brand);
  transition: background .16s, transform .1s, box-shadow .18s, filter .16s;
}
.btn:hover { background: var(--brand-hover); color: var(--on-brand); box-shadow: var(--sh-2); }
.btn:active { transform: translateY(1px) scale(.995); }
.btn svg { width: 18px; height: 18px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-lg { padding: 15px 28px; font-size: 1.01rem; }
.btn-sm { padding: 8px 14px; font-size: .85rem; border-radius: var(--r-xs); }

.btn-ghost { background: var(--surface); border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { background: var(--bg-sunk); color: var(--ink); }

.check {
  display: inline-flex; align-items: flex-start; gap: 10px;
  font-size: .89rem; font-weight: 550; color: var(--ink-2);
  padding: 12px 15px; border: 1px solid var(--line-2);
  border-radius: var(--r-sm); cursor: pointer; user-select: none;
  background: var(--surface-2); transition: background .15s, border-color .15s;
  flex: 1 1 250px; line-height: 1.4;
}
.check:hover { background: var(--surface-3); }
.check input {
  width: 18px; height: 18px; accent-color: var(--em-500); margin: 2px 0 0;
  cursor: pointer; flex: none;
}
.check:has(input:checked) {
  border-color: var(--brand); background: var(--brand-tint); color: var(--ink);
}
/* The reason a default was applied, written next to it. */
.check-auto { display: block; font-weight: 500; font-size: .8rem; color: var(--muted); margin-top: 2px; }
.check-auto:empty { display: none; }

/* ======================================================= results ========= */

.results-section { padding: 34px 0 72px; }
/* the sticky header is 66px tall; without this the results heading and any
   in-page anchor target land underneath it */
#results-region, #help, #for-rescues, [id] { scroll-margin-top: 84px; }

.results-head {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 6px;
}
.results-head h2 { margin-right: auto; }
.results-meta { color: var(--muted); font-size: .89rem; }

.view-toggle {
  display: inline-flex; padding: 3px; gap: 2px;
  background: var(--bg-sunk); border: 1px solid var(--line);
  border-radius: var(--r-sm);
}
.view-toggle button {
  font: inherit; font-size: .86rem; font-weight: 580; cursor: pointer;
  padding: 7px 15px; border: 0; border-radius: var(--r-xs);
  background: transparent; color: var(--muted); transition: background .16s, color .16s, box-shadow .16s;
}
.view-toggle button:hover { color: var(--ink); }
.view-toggle button[aria-pressed="true"] {
  background: var(--surface); color: var(--ink); box-shadow: var(--sh-1);
}

.notice {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--limited-bg);
  border: 1px solid color-mix(in srgb, var(--limited) 26%, transparent);
  border-radius: var(--r); padding: 13px 16px;
  font-size: .9rem; margin: 16px 0; color: var(--ink);
}
.notice svg { flex: 0 0 18px; width: 18px; height: 18px; color: var(--limited); margin-top: 1px; }

.result-list { display: grid; gap: 13px; margin: 20px 0 0; list-style: none; padding: 0; }

/* ---- the card ---- */
.card {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 18px 20px 18px 22px;
  box-shadow: var(--sh-1);
  transition: box-shadow .22s var(--ease), transform .22s var(--ease), border-color .22s;
}
/* coloured availability rail down the left edge */
.card::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--unknown-dot); transition: background .3s;
}
.card.st-open::before    { background: linear-gradient(180deg, var(--em-400), var(--em-600)); }
.card.st-limited::before { background: linear-gradient(180deg, #fbbf24, #d97706); }
.card.st-unknown::before { background: var(--unknown-dot); }
.card.st-full::before    { background: linear-gradient(180deg, #f87171, #dc2626); }
.card.st-closed::before  { background: var(--closed-dot); }

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-3);
  border-color: var(--line-2);
}
.card.is-best { border-color: color-mix(in srgb, var(--em-500) 42%, var(--line)); box-shadow: var(--sh-glow); }
.card.is-unavailable { background: var(--surface-2); }
.card.is-unavailable .card-title h3 { color: var(--ink-2); }

/* Kept in the directory for reference, but nobody can ring it. */
.card.is-unreachable { background: var(--surface-2); border-style: dashed; }
.card.is-unreachable::before { background: repeating-linear-gradient(
  180deg, var(--line-2) 0 6px, transparent 6px 12px); }
.card.is-unreachable .card-glyph { opacity: .55; }

.card-top { display: flex; align-items: flex-start; gap: 14px; }

/* species/category glyph tile */
.card-glyph {
  display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px;
  border-radius: 13px; background: var(--surface-3); color: var(--brand);
  border: 1px solid var(--line);
}
.card-glyph svg { width: 24px; height: 24px; }
.card.is-best .card-glyph {
  background: linear-gradient(145deg, var(--em-400), var(--em-600));
  color: #04150e; border-color: transparent;
  box-shadow: 0 3px 12px -3px rgba(5, 150, 105, .55);
}

.card-title { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1 1 auto; }
.card-title h3 { letter-spacing: -.02em; }
.card-title h3 button {
  font: inherit; color: inherit; background: none; border: 0; padding: 0;
  cursor: pointer; text-align: left; letter-spacing: inherit;
}
.card-title h3 button:hover { color: var(--brand); }
.card-place {
  color: var(--muted); font-size: .875rem; display: flex; align-items: center;
  gap: 6px; flex-wrap: wrap;
}
.rank-num {
  font-family: var(--display); font-size: .78rem; font-weight: 700;
  color: var(--muted); background: var(--surface-3);
  border-radius: var(--r-xs); padding: 1px 7px; font-variant-numeric: tabular-nums;
}
.card.is-best .rank-num { background: var(--brand-tint); color: var(--brand); }

.distance { text-align: right; flex: 0 0 auto; line-height: 1.15; }
.distance b {
  display: block; font-family: var(--display); font-size: 1.42rem; font-weight: 730;
  letter-spacing: -.04em; font-variant-numeric: tabular-nums;
}
.distance span { color: var(--muted); font-size: .74rem; }

.badges { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }

.badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .785rem; font-weight: 620; letter-spacing: .004em;
  padding: 5px 11px; border-radius: var(--r-full);
  border: 1px solid transparent; white-space: nowrap;
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: 0 0 7px; }
.badge svg { width: 13px; height: 13px; }
.badge-open    { color: var(--open);    background: var(--open-bg);    border-color: color-mix(in srgb, var(--open) 22%, transparent); }
.badge-limited { color: var(--limited); background: var(--limited-bg); border-color: color-mix(in srgb, var(--limited) 24%, transparent); }
.badge-unknown { color: var(--unknown); background: var(--unknown-bg); border-color: var(--line-2); }
.badge-full    { color: var(--full);    background: var(--full-bg);    border-color: color-mix(in srgb, var(--full) 24%, transparent); }
.badge-closed  { color: var(--closed);  background: var(--closed-bg);  border-color: var(--line-2); }
.badge-neutral { color: var(--ink-2);   background: var(--surface-3);  border-color: var(--line); font-weight: 550; }
.badge-brand   { color: var(--brand);   background: var(--brand-tint); border-color: color-mix(in srgb, var(--em-500) 26%, transparent); }
.badge-age { font-weight: 500; opacity: .78; }

.badge-open .dot { position: relative; }
.card.st-open .badge-open .dot::after {
  content: ''; position: absolute; inset: -3px; border-radius: 50%;
  border: 1.5px solid currentColor; opacity: .5;
  animation: ring 2.6s var(--ease-out) infinite;
}
@keyframes ring {
  0% { transform: scale(.6); opacity: .6; }
  70% { transform: scale(1.9); opacity: 0; }
  100% { transform: scale(1.9); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .card.st-open .badge-open .dot::after { animation: none; } }

.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 11px; }
.chip {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .775rem; color: var(--ink-2); background: var(--surface-2);
  border: 1px solid var(--line); border-radius: var(--r-xs); padding: 3px 9px;
}
.chip svg { width: 13px; height: 13px; color: var(--muted); }
.chip.is-off { opacity: .42; text-decoration: line-through; }

.why {
  display: flex; align-items: flex-start; gap: 9px;
  margin-top: 13px; font-size: .85rem; color: var(--ink-2);
  background: var(--brand-tint); border-radius: var(--r-sm);
  padding: 10px 13px; border: 1px solid color-mix(in srgb, var(--em-500) 15%, transparent);
}
.why svg { flex: 0 0 15px; width: 15px; height: 15px; color: var(--brand); margin-top: 2px; }
.why b { color: var(--brand); font-weight: 640; }

.status-note {
  margin-top: 12px; font-size: .89rem; color: var(--ink-2);
  border-left: 2.5px solid var(--line-2); padding: 3px 0 3px 12px;
}
.status-note em { color: var(--muted); font-style: normal; font-size: .82rem; }

.card-actions {
  display: flex; flex-wrap: wrap; gap: 9px; align-items: center;
  margin-top: 16px; padding-top: 15px; border-top: 1px solid var(--line);
}
.tel {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--display); font-weight: 700; font-size: 1rem; letter-spacing: -.02em;
  color: var(--on-brand); background: var(--brand); text-decoration: none;
  padding: 11px 19px; border-radius: var(--r-sm); font-variant-numeric: tabular-nums;
  transition: background .16s, box-shadow .18s, transform .1s;
}
.tel:hover { background: var(--brand-hover); color: var(--on-brand); box-shadow: var(--sh-2); }
.tel:active { transform: translateY(1px); }
.tel svg { width: 17px; height: 17px; }
.card.is-best .tel { box-shadow: 0 4px 16px -4px rgba(5, 150, 105, .5); }

.link-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .875rem; font-weight: 560; text-decoration: none;
  color: var(--ink-2); background: var(--surface); border: 1px solid var(--line-2);
  padding: 10px 14px; border-radius: var(--r-sm); cursor: pointer;
  font-family: var(--font);
  transition: background .15s, color .15s, border-color .15s;
}
.link-btn:hover { background: var(--bg-sunk); color: var(--ink); }
.link-btn svg { width: 15px; height: 15px; }
.no-phone { font-size: .875rem; color: var(--muted); }

/* staggered entry */
@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}
.card.enter { animation: rise .42s var(--ease-out) backwards; }
@media (prefers-reduced-motion: reduce) { .card.enter { animation: none; } }

/* ============================================== national helplines ====== */

.national {
  margin-top: 34px; padding: 22px; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-1);
}
.national h3 { margin-bottom: 5px; }
.national > p { color: var(--muted); font-size: .89rem; max-width: 70ch; }
.national-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(238px, 1fr));
  gap: 11px; margin-top: 14px;
}
.national-item {
  border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 13px 15px; background: var(--surface-2);
  transition: border-color .16s, background .16s;
}
.national-item:hover { border-color: var(--line-2); background: var(--surface-3); }
.national-item strong { display: block; font-size: .89rem; letter-spacing: -.01em; }
.national-item a {
  font-family: var(--display); font-variant-numeric: tabular-nums;
  font-weight: 700; font-size: 1.02rem; letter-spacing: -.02em;
}
.national-item span { display: block; color: var(--muted); font-size: .78rem; margin-top: 3px; }

/* =========================================================== map ========= */

#map { height: 580px; border-radius: var(--r-lg); border: 1px solid var(--line); margin-top: 20px; }
.leaflet-container { font: inherit; border-radius: var(--r-lg); background: var(--bg-sunk); }
.map-legend {
  display: flex; flex-wrap: wrap; gap: 14px; margin-top: 12px;
  font-size: .82rem; color: var(--muted);
}
.map-legend span { display: inline-flex; align-items: center; gap: 7px; }
.map-legend i {
  width: 11px; height: 11px; border-radius: 50%; display: inline-block;
  box-shadow: 0 0 0 1.5px rgba(255,255,255,.8);
}
.map-offline {
  margin-top: 12px; font-size: .86rem; color: var(--muted);
  background: var(--surface-2); border: 1px dashed var(--line-2);
  border-radius: var(--r-sm); padding: 12px 15px;
}
.pin-pop strong { display: block; font-size: .95rem; margin-bottom: 3px; letter-spacing: -.01em; }
.pin-pop a { font-weight: 640; }

/* ======================================================== states ========= */

.skeleton { display: grid; gap: 13px; margin-top: 20px; }
.skel-card {
  height: 148px; border-radius: var(--r-lg); border: 1px solid var(--line);
  background: linear-gradient(100deg, var(--surface) 32%, var(--surface-3) 50%, var(--surface) 68%);
  background-size: 220% 100%; animation: shimmer 1.35s linear infinite;
}
@keyframes shimmer { from { background-position: 120% 0; } to { background-position: -20% 0; } }
@media (prefers-reduced-motion: reduce) { .skel-card { animation: none; } }

.empty, .error-box {
  text-align: center; padding: 52px 24px; border-radius: var(--r-lg);
  border: 1px dashed var(--line-2); background: var(--surface); margin-top: 20px;
}
.empty svg { width: 46px; height: 46px; color: var(--line-2); margin-bottom: 12px; }
.empty h3 { margin-bottom: 7px; }
.empty p { color: var(--muted); max-width: 48ch; margin: 0 auto .6em; }
.error-box {
  border-color: color-mix(in srgb, var(--full) 38%, transparent);
  background: var(--full-bg); border-style: solid;
}

/* ========================================================= modal ========= */

.modal-backdrop {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(4, 16, 11, .62); backdrop-filter: blur(5px);
  display: grid; place-items: end center;
  animation: fade .22s var(--ease-out);
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@media (min-width: 720px) { .modal-backdrop { place-items: center; padding: 26px; } }
.modal {
  background: var(--surface); width: 100%; max-width: 660px;
  max-height: 92vh; overflow-y: auto;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  box-shadow: var(--sh-4); padding: 26px;
  animation: sheet .3s var(--ease-out);
}
@keyframes sheet { from { transform: translateY(22px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .modal, .modal-backdrop { animation: none; }
}
@media (min-width: 720px) { .modal { border-radius: var(--r-xl); } }
.modal-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 6px; }
.modal-head h2 { flex: 1; }
.modal dl {
  display: grid; grid-template-columns: minmax(102px, auto) 1fr;
  gap: 9px 18px; margin: 20px 0 0; font-size: .92rem;
}
.modal dt { color: var(--muted); font-weight: 560; }
.modal dd { margin: 0; }
.modal h4 {
  margin: 22px 0 7px; font-size: .78rem; text-transform: uppercase;
  letter-spacing: .07em; color: var(--muted); font-family: var(--font); font-weight: 650;
}
.provenance {
  font-size: .83rem; color: var(--muted); margin-top: 20px;
  padding-top: 16px; border-top: 1px solid var(--line);
}
.provenance div { margin-bottom: 4px; }
.history { list-style: none; padding: 0; margin: 7px 0 0; font-size: .87rem; }
.history li { display: flex; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.history time { color: var(--muted); flex: 0 0 132px; font-variant-numeric: tabular-nums; }

/* ====================================================== sections ========= */

.panel {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 26px; margin-top: 20px; box-shadow: var(--sh-1);
}
.panel h2 { margin-bottom: 9px; }
.panel > p { color: var(--ink-2); }

.section-head { margin: 56px 0 0; }

.stat-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px; margin-top: 18px;
}
.stat {
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--r); padding: 15px 17px;
}
.stat b {
  display: block; font-family: var(--display); font-size: 1.6rem; font-weight: 730;
  letter-spacing: -.035em; font-variant-numeric: tabular-nums;
}
.stat span { color: var(--muted); font-size: .8rem; }

details.faq {
  border: 1px solid var(--line); border-radius: var(--r);
  margin-top: 9px; background: var(--surface-2); overflow: hidden;
}
details.faq > summary {
  cursor: pointer; padding: 14px 17px; font-weight: 610; font-size: .95rem;
  list-style: none; display: flex; align-items: center; gap: 11px;
  letter-spacing: -.012em;
}
details.faq > summary::-webkit-details-marker { display: none; }
details.faq > summary::after {
  content: ''; margin-left: auto; flex: 0 0 8px; width: 8px; height: 8px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg); transition: transform .2s var(--ease);
}
details.faq[open] > summary::after { transform: rotate(-135deg); }
details.faq > div { padding: 0 17px 16px; font-size: .92rem; color: var(--ink-2); }

.triage-steps { counter-reset: s; list-style: none; padding: 0; margin: 16px 0 0; }
.triage-steps li {
  counter-increment: s; position: relative; padding: 0 0 18px 44px;
  border-left: 2px solid var(--line); margin-left: 15px;
}
.triage-steps li:last-child { border-left-color: transparent; padding-bottom: 0; }
.triage-steps li::before {
  content: counter(s); position: absolute; left: -16px; top: -2px;
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--em-400), var(--em-600));
  color: #04150e; font-family: var(--display); font-size: .84rem; font-weight: 720;
  box-shadow: 0 2px 8px -2px rgba(5, 150, 105, .5);
}
.triage-steps strong { display: block; letter-spacing: -.015em; }
.triage-steps p { color: var(--ink-2); font-size: .92rem; margin: 3px 0 0; }

/* ======================================================== footer ========= */

.site-footer {
  border-top: 1px solid var(--line); background: var(--surface);
  padding: 40px 0 34px; margin-top: 52px; font-size: .875rem; color: var(--muted);
}
.footer-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 26px;
}
.footer-grid h4 {
  font-size: .76rem; text-transform: uppercase; letter-spacing: .08em;
  color: var(--ink-2); margin-bottom: 10px; font-family: var(--font); font-weight: 650;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 6px; }
.footer-bottom { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); }

/* Support strip, below the tool. Deliberately quieter than the emergency note
   above it — it must never be the loudest thing on a page someone opens in a
   hurry, and it never sits above the first question. */
.support-strip {
  display: flex; align-items: flex-start; gap: 11px;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--r-sm); padding: 11px 13px; margin: 14px 0 0;
  color: var(--ink-2); font-size: .875rem; line-height: 1.5;
}
.support-strip p { margin: 0; flex: 1; }
.support-strip-mark { font-size: 1.1rem; line-height: 1.35; flex: none; }
/* The link is the Buy Me a Coffee pill in miniature, so it reads as the same
   offer as the footer button. Yellow TEXT on a pale canvas would be ~1.2:1;
   black on the yellow pill is 15.6:1, and identical in both themes. */
.support-strip a {
  display: inline-block; background: #FFDD00; color: #000; border: 1px solid #000;
  padding: 0 9px; border-radius: var(--r-full); font-weight: 640;
  text-decoration: none; line-height: 1.5; white-space: nowrap;
}
.support-strip a:hover { filter: brightness(1.06); }
.support-strip-close {
  flex: none; background: none; border: 0; cursor: pointer; padding: 3px;
  margin: -2px -3px 0 0; border-radius: var(--r-xs);
  color: var(--muted); transition: color .16s, background .16s;
}
.support-strip-close:hover { color: var(--ink); background: var(--bg-sunk); }
.support-strip-close svg { width: 16px; height: 16px; display: block; }
@media (max-width: 560px) {
  .support-strip { font-size: .84rem; padding: 10px 11px; }
}

/* Support link, in Buy Me a Coffee's own yellow/black so it's recognisable.
   These two colours are literals, not tokens, and identical in both themes —
   they're another brand's, like the OSM attribution, so they must not drift
   when ours changes. #000 on #FFDD00 is 15.6:1, so the fixed pair is safe on
   either canvas. Footer only: never louder than the rescue numbers above it. */
.coffee-link {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 17px; border-radius: var(--r-full);
  background: #FFDD00; border: 1px solid #000;
  color: #000; font-weight: 680; font-size: .88rem; text-decoration: none;
  transition: filter .16s, box-shadow .18s;
}
.coffee-link:hover { filter: brightness(1.06); box-shadow: var(--sh-2); }
.coffee-link:active { transform: translateY(1px) scale(.995); }
.coffee-link:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
/* Sized in em so it tracks the label, and kept off the text baseline nudge that
   emoji fonts apply inconsistently across platforms. */
.coffee-emoji { font-size: 1.15em; line-height: 1; flex: none; }
.disclaimer {
  background: var(--surface-2); border: 1px solid var(--line);
  border-left: 3px solid var(--limited-dot);
  border-radius: var(--r-sm); padding: 14px 16px; margin-bottom: 20px;
  color: var(--ink-2); line-height: 1.6;
}

/* ========================================================= toast ========= */

.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%);
  z-index: 400; background: var(--ink); color: var(--bg);
  padding: 13px 22px; border-radius: var(--r-full); box-shadow: var(--sh-4);
  font-size: .92rem; font-weight: 560; max-width: 90vw;
  animation: sheet .26s var(--ease-out);
}
[data-theme="dark"] .toast {
  background: var(--surface-3); color: var(--ink); border: 1px solid var(--line-2);
}

/* ==================================================== responsive ========= */

/* Nav links carry a full and a short label so the header can stay useful on a
   phone instead of hiding the links people actually need in an emergency. */
.nav-short { display: none; }

@media (max-width: 860px) {
  .site-nav a { padding: 9px 10px; font-size: .85rem; }
}
@media (max-width: 700px) {
  .site-nav .nav-find { display: none; }   /* this page already */
  .nav-full { display: none; }
  .nav-short { display: inline; }
  .site-nav a { padding: 9px 9px; }
}
@media (max-width: 620px) {
  .header-inner { gap: 10px; padding: 0 16px; }
  .wrap { padding: 0 16px; }
  .brand-sub { display: none; }
  .brand-txt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .brand { gap: 9px; }
  .card { padding: 16px 17px 16px 19px; }
  .distance b { font-size: 1.28rem; }
  #map { height: 440px; }
}
@media (max-width: 420px) {
  .brand-mark { flex-basis: 30px; width: 30px; height: 30px; }
  .brand { font-size: .95rem; }
  .site-nav a { font-size: .82rem; padding: 8px 7px; }
}

@media print {
  /* Keep the first-aid text; drop the controls around it. */
  .site-header, .site-footer, .card-actions, .view-toggle, #map,
  .animal-tiles, .search-card, .support-strip, .mode-link, .companion-panel,
  .emergency-bar { display: none; }
  .card { break-inside: avoid; box-shadow: none; border-color: #999; }
  .card::before { display: none; }
}

/* ---- record confirmation ------------------------------------------------
   Deliberately quiet. Right now every record in the directory is "Not
   confirmed", so an alarming badge on all 885 would be pure noise and would
   be tuned out within a day. It states the fact and gets out of the way; the
   positive case is the one allowed to look like good news. */
.badge-conf { font-weight: 550; }
.conf-good  { color: var(--open);    background: var(--open-bg);
              border-color: color-mix(in srgb, var(--open) 22%, transparent); }
.conf-muted { color: var(--ink-2);   background: var(--surface-3); border-color: var(--line); }
.conf-warn  { color: var(--ink-2);   background: var(--surface-3); border-color: var(--line);
              border-style: dashed; }

/* ---- species first aid ---------------------------------------------------
   Sits above the results, never in front of them. The panel is allowed to be
   loud — someone is holding an injured animal — but it must never push the
   phone numbers below the fold, so everything except the headline and the
   hard don'ts is collapsed. */
.guidance {
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  background: var(--surface-2);
  border-radius: var(--r);
  padding: 16px 18px;
  margin: 0 0 18px;
}
.guidance-head { display: flex; align-items: center; gap: 9px; color: var(--brand); }
.guidance-head svg { width: 18px; height: 18px; flex: 0 0 18px; }
.guidance-head h3 { margin: 0; font-size: 1.02rem; letter-spacing: -.01em; }
.guidance-lead { margin: 9px 0 0; font-weight: 600; font-size: 1.02rem; line-height: 1.45; }

.guidance-never {
  display: flex; gap: 9px; align-items: flex-start;
  margin: 11px 0 0; padding: 10px 12px;
  font-size: .93rem; line-height: 1.5;
  color: var(--full); background: var(--full-bg);
  border: 1px solid color-mix(in srgb, var(--full) 22%, transparent);
  border-radius: var(--r-sm);
}
.guidance-never svg { width: 16px; height: 16px; flex: 0 0 16px; margin-top: 2px; }
.guidance-never span { color: var(--ink); }

.guidance-helpline {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  justify-content: space-between;
  margin: 13px 0 0; padding: 12px 14px;
  background: var(--brand-tint); border-radius: var(--r-sm);
  border: 1px solid color-mix(in srgb, var(--em-500) 24%, transparent);
}
.guidance-helpline .gh-text { flex: 1 1 240px; }
.guidance-helpline .gh-org { color: var(--ink-2); font-size: .88rem; }
.guidance-helpline p { margin: 4px 0 0; font-size: .89rem; color: var(--ink-2); line-height: 1.5; }
.guidance-helpline .tel { flex: 0 0 auto; }

.guidance-more { margin-top: 11px; }
.guidance-more ul { margin: 0; padding-left: 20px; }
.guidance-more li { margin: 7px 0; line-height: 1.55; font-size: .93rem; }
.guidance-foot { margin: 13px 0 0; font-size: .82rem; color: var(--muted); }

/* ---- "Can't reach anyone?" — slotted into the results list ---------------
   Not a card, and must not look like one: dashed, tinted, no status rail. */
.helpline-inline {
  list-style: none; padding: 16px 18px; border-radius: var(--r-lg);
  background: var(--surface-2); border: 1px dashed var(--line-2);
}
.helpline-inline h3 { font-size: 1rem; margin-bottom: 6px; }
.helpline-inline p { font-size: .9rem; color: var(--ink-2); margin: 0 0 8px; line-height: 1.55; }
.helpline-inline .national-grid { margin-top: 8px; }
.helpline-more { display: inline-block; margin-top: 10px; font-size: .875rem; font-weight: 600; }

/* ---- rescues panel: the copy beside the dot map ---- */
.panel-rescues { display: grid; grid-template-columns: 1fr; gap: 22px; align-items: center; }
@media (min-width: 720px) { .panel-rescues { grid-template-columns: minmax(0, 1fr) 240px; } }
.panel-copy > p { color: var(--ink-2); }
.panel-copy h2 { margin-bottom: 9px; }
