:root {
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #18211c;
  background: #f4f7f5;
  line-height: 1.5;
  --ink: #18211c;
  --muted: #58665f;
  --surface: #fff;
  --line: #d7e0da;
  --accent: #245c45;
  --accent-dark: #174331;
  --soft: #e9f3ed;
  --warn: #7a4f00;
  --error: #8a1f1f;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body[data-workspace-mode="rescue"] [data-rescue-screen].advanced-panel:not([hidden]) {
  display: block;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-width: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
input,
select,
textarea {
  min-height: 44px;
}
button {
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: white;
  padding: 0.7rem 1rem;
  font-weight: 700;
  cursor: pointer;
}
button:hover {
  background: var(--accent-dark);
}
button.secondary {
  background: #eef3f0;
  color: var(--ink);
  border: 1px solid var(--line);
}
button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
a {
  color: var(--accent-dark);
}
a.is-disabled,
a[aria-disabled="true"] {
  opacity: 0.52;
  cursor: not-allowed;
  text-decoration: none;
}
:focus-visible {
  outline: 3px solid #e0a100;
  outline-offset: 3px;
}
.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -5rem;
  background: #fff;
  padding: 0.7rem 1rem;
  z-index: 10;
}
.skip-link:focus {
  top: 0.75rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 800;
  margin: 0 0 0.25rem;
}
.subtle,
.help {
  color: var(--muted);
}

.pill,
.state-label {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  border-radius: 999px;
  background: var(--soft);
  padding: 0.2rem 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
}
.state-label.warning {
  background: #fff1cf;
  color: var(--warn);
}
.section-nav {
  position: sticky;
  width: 100%;
  max-width: 100vw;
  min-width: 0;
  top: 0;
  z-index: 5;
  display: flex;
  gap: 0.35rem;
  overflow-x: auto;
  contain: inline-size;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 0.65rem clamp(0.75rem, 4vw, 3rem);
}
.section-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  white-space: nowrap;
  padding: 0.45rem 0.65rem;
  text-decoration: none;
  border-radius: 7px;
}
.section-nav a:focus-visible,
.section-nav a:hover {
  background: var(--soft);
}
.status,
.errors {
  margin: 1rem clamp(1rem, 4vw, 3rem);
  padding: 0.75rem 1rem;
  border-radius: 8px;
}
.status {
  background: #e8f4ec;
  border: 1px solid #bbd9c5;
}
.errors {
  background: #fff0f0;
  border: 1px solid #e4b2b2;
  color: var(--error);
}
.layout {
  display: grid;
  grid-template-columns: minmax(250px, 340px) minmax(0, 1fr);
  gap: 1rem;
  padding: 0 clamp(1rem, 4vw, 3rem) 3rem;
  align-items: start;
}
.queue-panel {
  position: sticky;
  top: 4.4rem;
}
.workspace {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}
.panel {
  min-width: 0;
  max-width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(1rem, 2vw, 1.35rem);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}
.panel-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}
.panel h2 {
  margin: 0.05rem 0 0.4rem;
  font-size: 1.25rem;
}
.panel-heading > button {
  flex-shrink: 0;
  white-space: nowrap;
}
form + form {
  margin-top: 1.3rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}
legend {
  font-weight: 800;
  margin-bottom: 0.65rem;
}
.form-grid {
  display: grid;
  gap: 0.8rem;
}
.form-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.form-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.span-two {
  grid-column: 1 / -1;
}
label {
  display: grid;
  gap: 0.25rem;
  font-weight: 650;
  min-width: 0;
}
label small,
.help {
  font-weight: 400;
  font-size: 0.86rem;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid #aebbb3;
  border-radius: 7px;
  padding: 0.55rem 0.65rem;
  background: #fff;
  color: var(--ink);
}
textarea {
  resize: vertical;
}
[data-dictation-ready="true"] {
  padding-right: 3rem;
}
.field-dictation {
  justify-self: end;
  width: 2.35rem;
  min-width: 2.35rem;
  min-height: 2.35rem;
  padding: 0.35rem;
  margin-top: -2.7rem;
  margin-right: 0.35rem;
  z-index: 1;
  border-radius: 999px;
  line-height: 1;
}
textarea + .field-dictation {
  align-self: start;
}
.field-dictation[aria-pressed="true"] {
  transform: scale(1.04);
}
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-weight: 600;
  margin: 0.45rem 0;
}
.checkbox input {
  width: 1.2rem;
  min-height: 1.2rem;
  height: 1.2rem;
  margin-top: 0.15rem;
}
.sensitive-choice {
  padding: 0.6rem;
  border: 1px solid #e5d09d;
  border-radius: 8px;
  background: #fffaf0;
}
.actions,
.action-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.85rem;
}
.form-state {
  font-size: 0.86rem;
  color: var(--muted);
}
.story-intake {
  background: linear-gradient(135deg, #fffdf7, #edf5ef);
  border-color: #c9d9ce;
}
.story-lead {
  max-width: 72ch;
  font-size: 1.03rem;
  line-height: 1.55;
}
.voice-actions button:first-child {
  min-width: 10rem;
}
#voice-playback {
  width: 100%;
  margin-top: 0.9rem;
}
.transcript-review {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.current-data,
.result-box {
  margin-top: 0.8rem;
  padding: 0.75rem;
  border-radius: 8px;
  background: #f7faf8;
  border: 1px solid var(--line);
  overflow-wrap: anywhere;
}
.proposal-card + .proposal-card {
  border-top: 1px solid var(--line);
  margin-top: 0.8rem;
  padding-top: 0.8rem;
}
.proposal-card p {
  margin: 0.35rem 0;
}
.current-data:empty {
  display: none;
}
.animal-list {
  list-style: none;
  margin: 0.75rem 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}
.animal-list button {
  width: 100%;
  text-align: left;
  background: #f4f8f5;
  color: var(--ink);
  border: 1px solid var(--line);
}
.animal-list button[aria-current="true"] {
  border-color: var(--accent);
  background: var(--soft);
}
.animal-list small {
  display: block;
  color: var(--muted);
  font-weight: 400;
}
.empty {
  color: var(--muted);
  font-style: italic;
}
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.tag {
  font-size: 0.8rem;
  background: #eef3f0;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
}
footer {
  border-top: 1px solid var(--line);
  padding: 1.2rem clamp(1rem, 4vw, 3rem);
  color: var(--muted);
  font-size: 0.85rem;
}
@media (max-width: 900px) {
  .layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .queue-panel {
    position: static;
  }
}
@media (max-width: 600px) {
  .form-grid.two,
  .form-grid.three {
    grid-template-columns: 1fr;
  }
  .span-two {
    grid-column: auto;
  }
  .panel-heading {
    flex-direction: column;
  }
  .section-nav {
    padding-inline: 0.5rem;
  }
  .layout {
    padding-inline: 0.65rem;
  }
  .status,
  .errors {
    margin-inline: 0.65rem;
  }

  .actions > button,
  .action-grid > button {
    flex: 1 1 100%;
  }
}
@media (max-width: 320px) {
  .panel {
    padding: 0.8rem;
  }
  .section-nav a {
    padding: 0.4rem 0.5rem;
  }
}

/* Shared public and workspace brand: approved artwork, cream and forest. */
.site-header {
  width: min(100%, 1320px);
  margin: 0 auto;
  padding: 1rem clamp(1rem, 3vw, 2rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  background: var(--cream);
  color: var(--forest);
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
}
.front-door-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 1 220px;
  min-height: 44px;
  max-width: 100%;
  text-decoration: none;
}
.front-door-brand-art {
  display: block;
  width: 220px;
  max-width: 100%;
  height: auto;
}
.site-navigation {
  flex: 1 1 15rem;
  min-width: 0;
}
.site-navigation summary {
  min-height: 44px;
  width: fit-content;
  margin-left: auto;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-weight: 700;
}
.front-door-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
  padding-top: 0.75rem;
}
.front-door-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  color: var(--forest);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.4;
  text-decoration: none;
}
.front-door-nav a:hover:not(.nav-create) {
  background: var(--cream-deep);
}
.front-door-nav .nav-sign-in {
  border: 1px solid var(--line);
  background: #fff;
}
.front-door-nav .nav-create {
  background: var(--forest);
  color: #fff;
}
.front-door-nav .nav-create:hover {
  background: var(--forest-2);
  color: #fff;
}
.site-header :is(a, button, summary):focus-visible {
  outline: 3px solid var(--forest);
  outline-offset: 3px;
}
.context-card {
  flex: 1 1 32rem;
  min-width: 0;
  max-width: 100%;
  display: grid;
  gap: 0.35rem;
  color: var(--forest);
}
.workspace-label {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--muted);
}
#context-static-name,
#org-name,
#context-kind {
  overflow-wrap: anywhere;
}
#context-static-name {
  font-size: 1.125rem;
}
#context-kind {
  font-size: 0.875rem;
}
.header-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.35rem;
}
.header-actions button {
  min-height: 44px;
  max-width: 100%;
  font-size: 1rem;
  line-height: 1.4;
  padding: 0.6rem 0.8rem;
}
body[data-visibility="sunlight"] .site-header {
  background: #fff;
  color: #000;
  border-color: #000;
}
body[data-visibility="sunlight"]
  .site-header
  :is(a, summary, .workspace-label, #context-kind, small) {
  color: #000;
}
body[data-visibility="sunlight"] .site-header .nav-create {
  background: #000;
  color: #fff;
}
@media (max-width: 600px) {
  .site-header {
    gap: 0.75rem;
  }
  .site-navigation summary {
    margin-left: 0;
  }
  .front-door-nav {
    justify-content: flex-start;
  }
  .header-actions button {
    flex: 1 1 12rem;
  }
}
@media print {
  .site-navigation,
  .header-actions {
    display: none !important;
  }
}

/* Critterfolio application visual system */
:root {
  --cream: #f6f1e7;
  --cream-deep: #eadfc9;
  --forest: #173f33;
  --forest-2: #245c45;
  --gold: #d5a447;
  --ink-soft: #384a41;
}
body {
  background: radial-gradient(circle at 85% -10%, #efe0b9 0, transparent 28rem), var(--cream);
}

.quiet-button {
  background: #eef4ef !important;
  color: var(--forest) !important;
  border: 1px solid #b8cabf !important;
}
.trust-ribbon {
  margin: 1rem clamp(1rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.8rem;
  align-items: center;
  padding: 0.9rem 1rem;
  background: #fffaf0;
  border: 1px solid #dfcca1;
  border-radius: 12px;
  color: var(--forest);
}
.trust-ribbon a {
  font-weight: 800;
}
.supporter-invite {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  background: linear-gradient(135deg, #fffaf0, #edf4ee);
}
.button-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
}
.button-link.secondary {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--forest);
}
.emergency-panel {
  border-color: #c8b273;
  background: linear-gradient(180deg, #fff, #fffaf0 160%);
}
.animal-check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.45rem;
  margin: 0.75rem 0;
}
.animal-pick {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 0.55rem;
  background: #fff;
}
.qr-result {
  text-align: center;
}
.qr-art {
  max-width: 420px;
  margin: 0.8rem auto;
}
.qr-art svg {
  width: 100%;
  height: auto;
  display: block;
}
.qr-url {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem;
  overflow-wrap: anywhere;
  color: var(--muted);
}
.danger-button {
  background: #7d2727;
}
.qr-trademark-note {
  font-size: 0.7rem;
  color: var(--muted);
}
.app-footer,
.public-footer {
  border-top: 1px solid var(--line);
  padding: 1.4rem clamp(1rem, 4vw, 3rem);
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  color: var(--muted);
}
.app-footer nav a,
.public-footer a {
  margin-right: 0.7rem;
}
.release-note {
  font-size: 0.78rem;
}

.story-shell {
  width: min(920px, calc(100% - 2rem));
  margin: 2rem auto 4rem;
  display: grid;
  gap: 1.2rem;
}
.story-hero,
.privacy-hero,
.supporter-hero,
.story-card,
.dedication-card,
.trust-card,
.privacy-boundary,
.legal-note {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(1.2rem, 4vw, 2.4rem);
  box-shadow: 0 10px 30px rgba(23, 63, 51, 0.06);
}
.story-hero,
.privacy-hero,
.supporter-hero {
  background: linear-gradient(135deg, #fffaf0, #edf4ee);
}
.story-hero h1,
.privacy-hero h1,
.supporter-hero h1 {
  font-size: clamp(2rem, 7vw, 4rem);
  line-height: 1.02;
  margin: 0.2rem 0 1rem;
  letter-spacing: -0.035em;
}
.lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
}
.dedication-card {
  border-color: #d7bd7a;
  background: linear-gradient(180deg, #fff, #fffaf0);
}
.signature {
  font-family: Georgia, serif;
  font-size: 1.25rem;
}
.legal-note {
  background: #fff7df;
}
.privacy-boundary {
  border-left: 5px solid var(--gold);
}
.supporter-placeholder {
  padding: 1rem;
  border: 1px dashed #b9c5bd;
  border-radius: 10px;
  color: var(--muted);
}
body[data-visibility="sunlight"] {
  --ink: #000;
  --muted: #202020;
  --surface: #fff;
  --line: #111;
  background: #fff;
  color: #000;
}
body[data-visibility="sunlight"] .panel,
body[data-visibility="sunlight"] .status,
body[data-visibility="sunlight"] .current-data,
body[data-visibility="sunlight"] .result-box {
  box-shadow: none;
  border-width: 2px;
  background: #fff;
}

body[data-visibility="sunlight"] button {
  border: 2px solid #000;
  font-weight: 900;
}
body[data-visibility="sunlight"] .subtle,
body[data-visibility="sunlight"] .help,
body[data-visibility="sunlight"] .form-state {
  color: #111;
}
body[data-visibility="sunlight"] input,
body[data-visibility="sunlight"] select,
body[data-visibility="sunlight"] textarea {
  border: 2px solid #000;
  background: #fff;
}
@media (max-width: 760px) {
  .trust-ribbon {
    grid-template-columns: 1fr;
  }
  .supporter-invite {
    align-items: stretch;
    flex-direction: column;
  }

  .story-shell {
    width: min(100% - 1.2rem, 920px);
  }
}
@media print {
  .section-nav,
  .trust-ribbon,
  .supporter-invite,
  .app-footer,
  #status,
  #errors {
    display: none !important;
  }
  .panel {
    box-shadow: none;
  }
}

/* Handheld intrinsic-width containment */
.layout,
.queue-panel,
.workspace,
.panel,
.panel > *,
form,
fieldset {
  min-width: 0;
  max-width: 100%;
}
.panel,
.current-data,
.result-box,
.help,
.subtle {
  overflow-wrap: anywhere;
}
.section-nav {
  width: 100%;
  max-width: 100vw;
  overscroll-behavior-inline: contain;
}
@media (max-width: 600px) {
  .layout {
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
  }
  .workspace,
  .panel {
    width: 100%;
  }
  .section-nav {
    position: static;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
    gap: 0.3rem;
    overflow-x: visible;
    padding: 0.5rem 0.65rem;
  }
  .section-nav a {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 0.45rem;
    text-align: center;
    white-space: normal;
    line-height: 1.15;
  }
}

/* Animal-photo identity surface */
.animal-summary-grid {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
}
.profile-photo-shell {
  width: 112px;
  aspect-ratio: 1;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--soft);
}
.profile-photo-shell img,
.photo-card img,
.photo-preview-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.profile-photo-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 2.4rem;
}
.photo-panel {
  background: linear-gradient(135deg, #fffdf7, #eef6f0);
}
.photo-picker-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-bottom: 0.9rem;
}
.photo-picker {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem;
  background: #fff;
}
.photo-picker input {
  margin-top: 0.25rem;
}
.photo-preview-wrap {
  width: min(100%, 360px);
  aspect-ratio: 4 / 3;
  margin: 1rem 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--soft);
}
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(180px, 100%), 1fr));
  gap: 0.9rem;
  margin-top: 1rem;
}
.photo-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}
.photo-card img {
  aspect-ratio: 4 / 3;
}
.photo-card-meta {
  display: grid;
  gap: 0.55rem;
  padding: 0.75rem;
}
.photo-card-meta strong {
  overflow-wrap: anywhere;
}
@media (max-width: 600px) {
  .animal-summary-grid {
    grid-template-columns: 84px minmax(0, 1fr);
  }
  .profile-photo-shell {
    width: 84px;
    border-radius: 18px;
  }
  .photo-picker-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Humane, progressive animal profile */
.profile-home {
  border-color: #c9d9ce;
  background: linear-gradient(145deg, #fffdf7, #f3f8f4);
  padding: clamp(1.1rem, 3vw, 2rem);
}
.profile-home .animal-summary-grid {
  grid-template-columns: clamp(96px, 18vw, 160px) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 1.6rem);
}
.profile-home .profile-photo-shell {
  width: clamp(96px, 18vw, 160px);
  border-radius: 24px;
}
.profile-home #animal-heading {
  font-size: clamp(1.8rem, 5vw, 3.25rem);
  line-height: 1;
  letter-spacing: -0.035em;
}
.profile-story {
  max-width: 62ch;
  color: var(--ink-soft);
  font-size: 1.02rem;
}
.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.9rem;
}
.profile-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.62rem 0.85rem;
  border: 1px solid #bfd0c5;
  border-radius: 999px;
  background: #fff;
  color: var(--forest);
  font-weight: 800;
  text-decoration: none;
}
.profile-actions a:hover,
.profile-actions a:focus-visible {
  background: var(--soft);
}
.profile-glance {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.2rem;
}
.glance-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.95rem;
  background: rgba(255, 255, 255, 0.82);
}
.glance-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1rem;
}
.glance-card p,
.glance-card ul {
  margin: 0.25rem 0 0.7rem;
  color: var(--ink-soft);
}
.glance-card ul {
  padding-left: 1.1rem;
}
.glance-card a {
  font-weight: 800;
}
.advanced-details {
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8faf8;
  padding: 0.8rem;
}
.advanced-details > summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--forest);
}
.advanced-details[open] > summary {
  margin-bottom: 0.8rem;
}
.more-tools {
  background: #f7faf8;
}
.more-tool-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.8rem;
}
.more-tool-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  font-weight: 750;
  text-decoration: none;
}
.advanced-panel {
  display: none;
  scroll-margin-top: 4.8rem;
}
.advanced-panel:target {
  display: block;
}
.quick-uncertainty {
  align-self: end;
}
@media (max-width: 700px) {
  .profile-glance {
    grid-template-columns: minmax(0, 1fr);
  }
  .profile-actions a {
    flex: 1 1 auto;
    justify-content: center;
  }
}
@media (max-width: 480px) {
  .profile-home .animal-summary-grid {
    grid-template-columns: 84px minmax(0, 1fr);
  }
  .profile-home .profile-photo-shell {
    width: 84px;
    border-radius: 18px;
  }
  .profile-home #animal-heading {
    font-size: clamp(1.6rem, 9vw, 2.3rem);
  }
  .profile-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
}

.front-door-trust a {
  color: inherit;
  font-weight: 700;
}
.front-door {
  max-width: 1180px;
  margin: 0 auto 2.5rem;
  padding: clamp(1rem, 3vw, 2.5rem);
}
.front-door-hero {
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(1.35rem, 4vw, 3rem);
  background:
    radial-gradient(circle at 85% 10%, rgba(89, 137, 105, 0.16), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(241, 247, 242, 0.9));
  box-shadow: 0 18px 50px rgba(33, 53, 43, 0.09);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.front-door-copy h2 {
  max-width: 12ch;
  margin: 0.3rem 0 1rem;
  font-size: clamp(2.65rem, 7vw, 5.8rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
}
.front-door-lede {
  max-width: 62ch;
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.6;
}
.front-door-promises {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.3rem;
}
.front-door-promises li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  font-weight: 800;
}
.front-door-access {
  display: grid;
  gap: 1rem;
}
.auth-form,
.auth-existing {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.15rem;
  background: rgba(255, 255, 255, 0.9);
}
.auth-form h3,
.auth-existing h3 {
  margin: 0.2rem 0 0.45rem;
  font-size: 1.35rem;
}
.auth-form > p,
.auth-existing > p {
  margin-top: 0.35rem;
}
.auth-existing {
  background: rgba(247, 250, 247, 0.92);
}
.auth-existing button,
.auth-form button {
  width: 100%;
  justify-content: center;
}
.front-door-why {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.front-door-why article {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.7);
}
.front-door-why strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1rem;
}
.front-door-why p {
  margin: 0;
  line-height: 1.5;
}
.front-door-trust {
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem 1.2rem;
  background: rgba(255, 249, 228, 0.72);
}
.front-door-trust p {
  margin: 0;
}
.front-door-trust .auth-links {
  margin-top: 0.55rem;
}
@media (max-width: 820px) {
  .front-door-hero {
    grid-template-columns: 1fr;
  }
  .front-door-copy h2 {
    max-width: 14ch;
  }
}
@media (max-width: 700px) {
  .front-door-why {
    grid-template-columns: 1fr;
  }
}

.public-home .front-door-status,
.public-home .front-door-errors {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}
.public-front-door {
  padding-top: 0.5rem;
}
.front-door-copy h1 {
  max-width: 11ch;
  margin: 0.3rem 0 1rem;
  font-size: clamp(2.8rem, 7.5vw, 6.2rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
}
.front-door-promises {
  padding: 0;
  list-style: none;
}
.front-door-section {
  margin-top: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: clamp(1.2rem, 3vw, 2.25rem);
  background: rgba(255, 255, 255, 0.76);
}
.front-door-section-heading {
  max-width: 760px;
}
.front-door-section-heading h2,
.front-door-final-cta h2 {
  margin: 0.2rem 0 0.7rem;
  font-size: clamp(2rem, 4.5vw, 3.7rem);
  line-height: 1;
  letter-spacing: -0.035em;
}
.front-door-section-heading p:last-child {
  font-size: 1.05rem;
  line-height: 1.55;
}
.front-door-feature-grid,
.field-tool-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}
.front-door-feature-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.field-tool-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.front-door-feature-grid article,
.field-tool-card,
.explainer-callout {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.15rem;
  background: rgba(248, 251, 248, 0.9);
}
.front-door-feature-grid h3,
.field-tool-card h3 {
  margin: 0.45rem 0;
  font-size: 1.2rem;
}
.front-door-feature-grid p,
.field-tool-card p,
.explainer-callout p {
  margin: 0.35rem 0 0;
  line-height: 1.55;
}
.feature-icon {
  display: inline-flex;
  font-size: 1.7rem;
}
.rescue-welcome {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: start;
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 215, 98, 0.16), transparent 30%),
    linear-gradient(135deg, rgba(238, 247, 240, 0.98), rgba(255, 252, 242, 0.96));
  border-color: rgba(68, 115, 86, 0.38);
}
.rescue-welcome h2 {
  max-width: 13ch;
  margin: 0.2rem 0 0.85rem;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}
.rescue-welcome-copy > p {
  max-width: 67ch;
  line-height: 1.58;
}
.rescue-lede {
  font-size: 1.08rem;
}
.rescue-heart {
  margin-top: 1.15rem;
  font-weight: 800;
  color: var(--forest);
}
.rescue-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}
.rescue-actions .button-link {
  margin-top: 0;
  background: var(--forest);
  color: white;
}
.rescue-actions .secondary-link {
  border: 1px solid var(--forest);
  background: rgba(255, 255, 255, 0.8);
  color: var(--forest);
}
.rescue-playbook {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(1rem, 2.5vw, 1.4rem);
  background: rgba(255, 255, 255, 0.86);
}
.rescue-playbook h3 {
  margin: 0.35rem 0 0.75rem;
  font-size: 1.35rem;
}
.rescue-playbook ul {
  margin: 0;
  padding-left: 1.25rem;
}
.rescue-playbook li {
  line-height: 1.5;
}
.rescue-playbook li + li {
  margin-top: 0.45rem;
}
.rescue-support-note {
  margin-top: 1rem;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}
.rescue-support-note p {
  margin: 0.35rem 0 0;
  line-height: 1.5;
}
.rescue-support-note a {
  color: inherit;
  font-weight: 800;
}
.emergency-explainer {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 1.25rem;
  align-items: center;
}
.explainer-callout {
  background: rgba(255, 249, 228, 0.8);
}
.field-ready {
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 215, 98, 0.16), transparent 32%),
    rgba(255, 255, 255, 0.82);
}
.field-tool-card button {
  margin-top: 1rem;
}
.install-help {
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.9);
}
.install-help ol {
  margin: 0.7rem 0 0.4rem 1.2rem;
  padding: 0;
}
.install-help li + li {
  margin-top: 0.35rem;
}
.supporter-invitation {
  background:
    radial-gradient(circle at 88% 16%, rgba(255, 215, 98, 0.2), transparent 34%),
    linear-gradient(135deg, rgba(255, 250, 240, 0.95), rgba(237, 244, 238, 0.94));
  border-color: #c7b984;
}
.supporter-invitation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0 0;
  padding: 0;
  border: 0;
}
.supporter-invitation-actions legend {
  width: 100%;
  margin-bottom: 0.15rem;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--muted);
}
.supporter-invitation .button-link {
  margin-top: 0;
}
.supporter-invitation .secondary-link {
  border: 1px solid var(--forest);
  background: transparent;
  color: var(--forest);
}
.supporter-invitation-note {
  max-width: 760px;
  margin: 1rem 0 0;
  font-size: 0.95rem;
  line-height: 1.5;
}
.trust-section {
  background: rgba(246, 251, 247, 0.86);
}
.front-door-final-cta {
  margin: clamp(1.5rem, 4vw, 3rem) 0 1rem;
  border-radius: 26px;
  padding: clamp(1.5rem, 4vw, 3rem);
  text-align: center;
  background: var(--forest);
  color: white;
}
.front-door-final-cta p {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.button-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  margin-top: 0.8rem;
  border-radius: 10px;
  padding: 0.7rem 1rem;
  background: white;
  color: var(--forest);
  font-weight: 800;
  text-decoration: none;
}
.public-home[data-visibility="sunlight"] {
  background: #ffffff;
  color: #000000;
}
.public-home[data-visibility="sunlight"] .front-door-hero,
.public-home[data-visibility="sunlight"] .front-door-section,
.public-home[data-visibility="sunlight"] .auth-form,
.public-home[data-visibility="sunlight"] .auth-existing,
.public-home[data-visibility="sunlight"] .front-door-feature-grid article,
.public-home[data-visibility="sunlight"] .field-tool-card,
.public-home[data-visibility="sunlight"] .rescue-playbook,
.public-home[data-visibility="sunlight"] .explainer-callout,
.public-home[data-visibility="sunlight"] .front-door-trust {
  background: #ffffff;
  border-color: #000000;
  box-shadow: none;
}
.public-home[data-visibility="sunlight"] a,
.public-home[data-visibility="sunlight"] .help,
.public-home[data-visibility="sunlight"] .subtle {
  color: #000000;
}
.public-home[data-visibility="sunlight"] button {
  border: 2px solid #000000;
}
@media (max-width: 820px) {
  .front-door-copy h1 {
    max-width: 14ch;
  }
  .front-door-feature-grid,
  .field-tool-grid,
  .rescue-welcome,
  .emergency-explainer {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .front-door-copy h1 {
    font-size: clamp(2.6rem, 15vw, 4.3rem);
  }
}

.context-switcher {
  position: relative;
}
.context-switcher summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  cursor: pointer;
  list-style: none;
  font-weight: 800;
  border-radius: 7px;
  padding: 0.5rem 0.65rem;
  min-height: 44px;
  border: 1px solid var(--line);
  background: #fff;
}
.context-switcher-copy {
  display: grid;
  gap: 0.08rem;
  min-width: 0;
}
.context-switcher-copy small {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.4;
}
.context-switcher-arrow {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  font-size: 1.5rem;
  line-height: 0.65;
  transform-origin: center;
  transition: transform 140ms ease;
}
.context-switcher[open] .context-switcher-arrow {
  transform: rotate(180deg);
}
.context-switcher summary::-webkit-details-marker {
  display: none;
}
.context-switcher summary:focus-visible {
  outline: 3px solid #e0a100;
  outline-offset: 3px;
}
.context-menu {
  margin: 0;
  position: absolute;
  right: 0;
  top: calc(100% + 0.45rem);
  z-index: 20;
  width: min(26rem, calc(100vw - 2rem));
  max-width: 100%;
  max-height: 65vh;
  overflow: auto;
  overflow-wrap: anywhere;
  display: grid;
  gap: 0.25rem;
  padding: 0.55rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
}
.context-option {
  min-height: 44px;
  overflow-wrap: anywhere;
  width: 100%;
  display: grid;
  gap: 0.12rem;
  text-align: left;
  background: transparent;
  color: var(--ink);
  border: 0;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
}
.context-option:hover,
.context-option:focus-visible,
.context-option[aria-current="true"] {
  background: var(--soft);
}
.context-option small {
  font-weight: 500;
  color: var(--muted);
}
.context-menu-heading {
  padding: 0.55rem 0.75rem 0.2rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.quick-add-critter {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.animal-group-heading {
  margin: 0.8rem 0.25rem 0.25rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
@media (max-width: 600px) {
  .context-menu {
    position: static;
    width: 100%;
    max-height: 60vh;
    margin-top: 0.5rem;
  }
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Post-launch identity guidance and founding-supporter showcase */
.auth-warning {
  margin: 0.75rem 0;
  padding: 0.75rem 0.85rem;
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  background: #fff8e6;
  color: var(--ink);
}
.supporter-shell {
  width: min(1080px, calc(100% - 2rem));
}
.founding-supporters {
  display: grid;
  gap: 1.25rem;
}
.section-intro {
  max-width: 760px;
  padding: 0.5rem 0.25rem;
}
.section-intro h2 {
  margin: 0.2rem 0 0.7rem;
  font-size: clamp(1.8rem, 5vw, 3rem);
  line-height: 1.04;
}
.founding-supporter-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(240px, 0.7fr);
  gap: clamp(1.2rem, 4vw, 2.4rem);
  padding: clamp(1.3rem, 4vw, 2.5rem);
  border: 1px solid #c8d5cd;
  border-radius: 24px;
  background:
    radial-gradient(circle at 94% 8%, rgba(214, 177, 80, 0.18), transparent 30%),
    linear-gradient(145deg, #fffdf7, #f0f6f2);
  box-shadow: 0 18px 45px rgba(23, 63, 51, 0.1);
}
.founding-supporter-card h3 {
  margin: 0.25rem 0 0.65rem;
  font-size: clamp(2rem, 5vw, 3.35rem);
  line-height: 1;
  letter-spacing: -0.035em;
}
.supporter-role {
  margin: -0.1rem 0 0.5rem;
  color: var(--forest);
  font-weight: 850;
}
.supporter-lead {
  font-size: 1.08rem;
  line-height: 1.55;
}
.supporter-feature-copy > p {
  max-width: 68ch;
}
.supporter-proof-panel {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.7rem;
  padding: 1.2rem;
  border: 1px solid rgba(23, 63, 51, 0.15);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
}
.supporter-proof-panel strong {
  font-size: 1.25rem;
  line-height: 1.25;
}
.supporter-proof-kicker,
.song-label {
  color: var(--forest);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.supporter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}
.supporter-primary {
  background: var(--forest);
  color: #fff;
}
.vvm-feature {
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
}
.vvm-song-grid {
  display: grid;
  gap: 0.85rem;
  align-content: center;
}
.vvm-song-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 40px;
  gap: 0.9rem;
  align-items: center;
  min-height: 118px;
  padding: 0.9rem;
  border: 1px solid #cbd8d0;
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(23, 63, 51, 0.07);
}
.vvm-song-card:hover,
.vvm-song-card:focus-visible {
  transform: translateY(-2px);
  border-color: var(--forest);
  box-shadow: 0 14px 28px rgba(23, 63, 51, 0.12);
}
.song-art {
  display: grid;
  place-items: center;
  width: 64px;
  aspect-ratio: 1;
  border-radius: 16px;
  background: linear-gradient(145deg, #173f33, #2a6a55);
  color: #fff;
  font-size: 1.75rem;
}
.song-copy {
  display: grid;
  gap: 0.28rem;
}
.song-copy strong {
  font-size: 1.1rem;
}
.song-copy > span:last-child {
  color: var(--ink-soft);
  line-height: 1.4;
}
.song-play {
  display: grid;
  place-items: center;
  width: 38px;
  aspect-ratio: 1;
  border-radius: 999px;
  background: var(--forest);
  color: #fff;
  font-size: 0.9rem;
}
.supporter-directory-future {
  background: #f7faf8;
}
.become-supporter-card {
  border-color: #d7bd7a;
  background: linear-gradient(150deg, #fff, #fffaf0);
}
@media (max-width: 760px) {
  .founding-supporter-card,
  .vvm-feature {
    grid-template-columns: minmax(0, 1fr);
  }
  .vvm-song-card {
    grid-template-columns: 52px minmax(0, 1fr) 36px;
  }
  .song-art {
    width: 52px;
    border-radius: 14px;
  }
}

/* National supporter growth + free public rescue network */
.supporter-hero-growth {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: clamp(1.2rem, 4vw, 2.6rem);
  align-items: center;
}
.supporter-hero-copy h1 {
  max-width: 15ch;
}
.supporter-hero-free {
  font-size: 1.08rem;
  color: var(--forest);
}
.supporter-hero-actions,
.network-map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}
.supporter-hero-actions {
  margin: 1.2rem 0 0.9rem;
}
.supporter-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  padding: 0;
  margin: 1rem 0 0;
  list-style: none;
}
.supporter-trust-strip li {
  padding: 0.45rem 0.72rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  font-weight: 800;
}
.supporter-hero-aside {
  padding: 1.25rem;
  border: 1px solid rgba(23, 63, 51, 0.16);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
}
.supporter-hero-aside strong {
  display: block;
  font-size: clamp(1.55rem, 4vw, 2.25rem);
  line-height: 1.05;
}
.text-link {
  color: var(--forest);
  font-weight: 850;
}
.supporter-story-grid,
.supporter-scope-grid,
.supporter-impact-grid {
  display: grid;
  gap: 1rem;
}
.supporter-story-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.supporter-highlight {
  padding: 0.8rem 0.95rem;
  border-left: 4px solid var(--gold);
  border-radius: 9px;
  background: #fff8e6;
}
.supporter-detail-list {
  padding-left: 1.2rem;
}
.supporter-principle-band,
.supporter-recognition-section,
.supporter-final-cta {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 1.4rem;
  padding: clamp(1.2rem, 4vw, 2.2rem);
  border-radius: 22px;
}
.supporter-principle-band {
  background: var(--forest);
  color: #fff;
}
.supporter-principle-band .eyebrow {
  color: #fff2bd;
}
.supporter-principle-band h2,
.supporter-principle-band p {
  margin-top: 0.25rem;
}
.supporter-growth-section,
.supporter-impact-section {
  padding: clamp(1rem, 3vw, 1.5rem) 0.25rem;
}
.supporter-scope-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.supporter-scope-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}
.supporter-scope-card h3 {
  margin: 0.15rem 0;
}
.supporter-scope-card .text-link {
  margin-top: auto;
  padding-top: 0.65rem;
}
.supporter-scope-icon {
  display: grid;
  place-items: center;
  width: 46px;
  aspect-ratio: 1;
  border-radius: 14px;
  background: #edf4ee;
  color: var(--forest);
  font-weight: 900;
}
.supporter-map-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(1.2rem, 4vw, 2.4rem);
  padding: clamp(1.2rem, 4vw, 2.4rem);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(145deg, #fffdf7, #eef5f0);
  box-shadow: 0 16px 40px rgba(23, 63, 51, 0.08);
}
.network-map-legend {
  margin: 1rem 0;
  font-size: 0.86rem;
  font-weight: 750;
}
.network-map-legend span {
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
}
.legend-dot {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 999px;
}
.rescue-dot {
  background: #2f765d;
}
.supporter-dot {
  background: #c89525;
}
.state-opportunity-panel {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid #c8d5cd;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
}
.state-opportunity-panel > strong {
  display: block;
  margin: 0.25rem 0;
  font-size: 1.35rem;
}
.state-opportunity-kicker {
  color: var(--forest);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.state-rescue-results {
  display: grid;
  gap: 0.65rem;
  margin: 0.9rem 0;
}
.public-rescue-card {
  display: grid;
  gap: 0.2rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.public-rescue-card span,
.public-rescue-card p {
  color: var(--ink-soft);
  font-size: 0.9rem;
}
.public-rescue-card p {
  margin: 0.2rem 0;
}
.public-rescue-card a {
  font-weight: 800;
}
.state-map-wrap {
  min-width: 0;
  overflow-x: auto;
  padding-bottom: 0.3rem;
}
.state-tile-map {
  display: grid;
  grid-template-columns: repeat(12, minmax(44px, 1fr));
  grid-template-rows: repeat(6, 48px);
  gap: 5px;
  min-width: 660px;
  align-items: stretch;
}
.state-tile {
  grid-column: var(--col);
  grid-row: var(--row);
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid #aebdb4;
  border-radius: 9px;
  background: #fff;
  color: var(--forest);
  font-weight: 900;
  cursor: pointer;
}
.state-tile.has-rescues {
  border-color: #2f765d;
  background: #e6f2eb;
  box-shadow: inset 0 -4px 0 #2f765d;
}
.state-tile.is-selected {
  outline: 3px solid #c89525;
  outline-offset: 2px;
  background: #fff7df;
}
.state-tile:focus-visible {
  outline: 3px solid var(--forest);
  outline-offset: 2px;
}
.state-map-note {
  margin: 0.75rem 0 0;
  color: var(--ink-soft);
  font-size: 0.84rem;
}
.supporter-impact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.supporter-impact-grid article {
  display: grid;
  gap: 0.3rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.supporter-impact-grid span {
  color: var(--ink-soft);
}
.supporter-proof-line {
  font-weight: 700;
  color: var(--forest);
}
.supporter-recognition-section {
  border: 1px solid #d7bd7a;
  background: #fffaf0;
}
.supporter-recognition-grid {
  display: grid;
  gap: 0.8rem;
}
.supporter-recognition-grid ul {
  margin: 0;
  padding-left: 1.2rem;
}
.supporter-inquiry-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(1.2rem, 4vw, 2.4rem);
  padding: clamp(1.2rem, 4vw, 2.4rem);
  border-radius: 24px;
  background: var(--forest);
  color: #fff;
}
.supporter-inquiry-section .eyebrow {
  color: #fff2bd;
}
.supporter-inquiry-note {
  color: #e8f0eb;
}
.supporter-inquiry-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  padding: 1rem;
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
}
.supporter-inquiry-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 750;
}
.supporter-inquiry-form input,
.supporter-inquiry-form select,
.supporter-inquiry-form textarea {
  width: 100%;
  min-width: 0;
}
.supporter-inquiry-wide {
  grid-column: 1 / -1;
}
.supporter-form-actions {
  display: grid;
  gap: 0.55rem;
}
.supporter-final-cta {
  grid-template-columns: 1fr;
  text-align: center;
  justify-items: center;
  background: linear-gradient(135deg, #fffaf0, #edf4ee);
  border: 1px solid var(--line);
}
.supporter-final-cta h2 {
  max-width: 20ch;
  font-size: clamp(2rem, 5vw, 3.4rem);
}
.directory-opt-in {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid #bcd0c3;
  border-radius: 14px;
  background: #f1f8f3;
}
.directory-opt-in input {
  width: 20px;
  height: 20px;
  margin-top: 0.1rem;
}
.rescue-directory-onboarding {
  border-color: #9fc2ad;
}
@media (max-width: 900px) {
  .supporter-scope-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .supporter-map-section,
  .supporter-inquiry-section {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .supporter-hero-growth,
  .supporter-story-grid,
  .supporter-principle-band,
  .supporter-recognition-section {
    grid-template-columns: 1fr;
  }
  .supporter-impact-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 520px) {
  .supporter-scope-grid,
  .supporter-inquiry-form {
    grid-template-columns: 1fr;
  }
  .supporter-inquiry-wide {
    grid-column: auto;
  }
}
.rescue-onboarding-card {
  border-color: #9fc2ad;
  background: linear-gradient(145deg, #fff, #eef7f1);
}
.rescue-onboarding-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1rem;
}
.rescue-onboarding-action {
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
  border: 1px solid #bfd0c5;
  border-radius: 14px;
  background: #fff;
  color: inherit;
  text-decoration: none;
}
.rescue-onboarding-action strong {
  color: var(--forest);
}
.rescue-onboarding-action span {
  color: var(--ink-soft);
}
@media (max-width: 700px) {
  .rescue-onboarding-actions {
    grid-template-columns: 1fr;
  }
}
.network-map-legend,
.state-map-wrap {
  min-inline-size: 0;
  padding: 0;
  border: 0;
}
.network-map-legend > legend,
.state-map-wrap > legend {
  margin-bottom: 0.55rem;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 850;
}
.supporter-anchor-alias {
  display: block;
  position: relative;
  top: -1rem;
  visibility: hidden;
}

/* Animal-first voice positioning */
.animal-voice-section {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(1rem, 4vw, 2rem);
  align-items: stretch;
  background:
    radial-gradient(circle at 10% 10%, rgba(47, 118, 93, 0.1), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 250, 238, 0.96));
}
.animal-voice-copy h2 {
  max-width: 14ch;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1;
}
.animal-voice-copy > p:not(.eyebrow) {
  max-width: 760px;
  font-size: 1.05rem;
  line-height: 1.65;
}
.animal-voice-callout {
  align-self: stretch;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.9);
}
.animal-voice-callout h3 {
  margin: 0.3rem 0 0.7rem;
  font-size: clamp(1.35rem, 3vw, 2rem);
}
.rescue-core-line {
  margin: 1rem 0;
  border-left: 5px solid var(--gold);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  background: rgba(255, 249, 228, 0.88);
  font-size: 1.15rem;
}
.rescue-paths {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 1rem 0;
}
.rescue-paths article {
  border: 1px solid rgba(23, 63, 51, 0.14);
  border-radius: 14px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.78);
}
.rescue-paths h3 {
  margin: 0.2rem 0 0.55rem;
}
.rescue-companion-principle {
  display: grid;
  gap: 0.25rem;
  margin: 1rem 0;
  border-radius: 14px;
  padding: 1rem;
  background: var(--forest);
  color: #fff;
}
.rescue-companion-principle .eyebrow {
  color: #fff2bd;
}
.origin-story-card,
.story-principle-card {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(1rem, 4vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: clamp(1.2rem, 4vw, 2.2rem);
  background: #fff;
}
.origin-story-card {
  background: radial-gradient(circle at 90% 10%, rgba(255, 215, 98, 0.16), transparent 35%), #fff;
}
.origin-story-card h2,
.story-principle-card h2 {
  margin: 0.3rem 0 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.08;
}
.origin-story-copy {
  display: grid;
  gap: 0.65rem;
}
.origin-story-copy p {
  margin: 0;
  line-height: 1.65;
}
.story-principle-card {
  margin-top: 1rem;
  background: #eef6f1;
}
@media (max-width: 820px) {
  .animal-voice-section,
  .origin-story-card,
  .story-principle-card {
    grid-template-columns: 1fr;
  }
  .rescue-paths {
    grid-template-columns: 1fr;
  }
}

/* Approved visual homepage redesign */
.visual-home {
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 255, 255, 0.9), transparent 28%),
    linear-gradient(180deg, #f7f4e9 0%, #f5f1e5 100%);
}

.visual-front-door {
  max-width: 1280px;
  padding: 0 clamp(1rem, 3vw, 2rem) 3rem;
}
.visual-front-door > section {
  margin-top: 1rem;
}
.visual-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr) minmax(300px, 0.7fr);
  gap: clamp(1rem, 2.5vw, 2rem);
  align-items: stretch;
  padding: clamp(1rem, 3vw, 1.6rem);
  border: 1px solid rgba(23, 63, 51, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 18px 50px rgba(35, 45, 37, 0.06);
  overflow: hidden;
}
.visual-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.visual-hero-copy h1 {
  max-width: 9ch;
  margin: 0.15rem 0 0.75rem;
  font-size: clamp(3rem, 6.4vw, 5.8rem);
  line-height: 0.88;
  letter-spacing: -0.055em;
}
.visual-hero-lede {
  max-width: 42rem;
  font-size: 1.06rem;
  line-height: 1.58;
}
.visual-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
  align-items: center;
  margin-top: 1rem;
}
.visual-hero-art {
  min-height: 520px;
  border-radius: 20px;
  overflow: hidden;
}
.visual-hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.visual-auth-card {
  align-self: center;
  padding: 1rem;
  border: 1px solid #cad6ce;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 16px 36px rgba(30, 50, 42, 0.12);
}
.visual-auth-card h2 {
  margin: 0.1rem 0 0.45rem;
  font-size: 1.45rem;
}
.visual-create-form {
  display: grid;
  gap: 0.65rem;
}
.visual-create-form button,
.visual-returning button {
  width: 100%;
}
.auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.65rem;
  align-items: center;
  margin: 0.75rem 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 800;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  background: var(--line);
}
.visual-returning {
  padding-top: 0.2rem;
}
.species-strip,
.visual-voice-section,
.visual-feature-section,
.visual-rescue-section,
.visual-qr-section,
.network-teaser,
.visual-field-section,
.visual-privacy-section {
  border: 1px solid rgba(23, 63, 51, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.83);
  box-shadow: 0 12px 34px rgba(35, 45, 37, 0.045);
}
.species-strip {
  padding: clamp(1rem, 2.5vw, 1.5rem);
}
.species-strip-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.1rem);
  letter-spacing: -0.035em;
}
.species-strip-heading p {
  margin: 0.2rem 0 0.9rem;
  color: var(--ink-soft);
}
.species-grid {
  display: grid;
  grid-template-columns: repeat(10, minmax(68px, 1fr));
  gap: 0.55rem;
}
.species-grid > div {
  display: grid;
  justify-items: center;
  gap: 0.3rem;
  padding: 0.55rem 0.35rem 0.35rem;
  border-radius: 14px;
  background: linear-gradient(180deg, #fff, #f8f6ef);
}
.species-grid span {
  font-size: clamp(2rem, 4vw, 3.4rem);
  filter: saturate(0.88);
}
.species-grid strong {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.visual-voice-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.15fr);
  gap: 1rem;
  padding: clamp(1rem, 2.5vw, 1.5rem);
}
.visual-voice-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.visual-voice-copy h2,
.visual-feature-intro h2,
.visual-rescue-copy h2,
.visual-qr-copy h2,
.network-copy h2,
.visual-field-copy h2,
.visual-privacy-copy h2 {
  margin: 0.1rem 0 0.55rem;
  font-size: clamp(2.15rem, 4.5vw, 3.9rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.visual-voice-copy .button-link,
.visual-feature-intro .button-link,
.network-copy .button-link {
  align-self: flex-start;
  margin-top: 0.7rem;
}
.voice-story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}
.voice-story-grid article {
  display: grid;
  align-content: end;
  min-height: 285px;
  padding: 0.85rem;
  border-radius: 16px;
  background: linear-gradient(180deg, #e7efe7, #fff7e8);
}
.voice-animal {
  align-self: center;
  justify-self: center;
  font-size: clamp(4rem, 8vw, 7rem);
}
.voice-story-grid strong {
  margin-top: auto;
  font-size: 1.03rem;
}
.voice-story-grid small {
  color: var(--ink-soft);
  line-height: 1.35;
}
.visual-feature-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: 1rem;
  padding: clamp(1rem, 2.5vw, 1.5rem);
}
.visual-feature-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.visual-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}
.visual-feature-grid article {
  min-height: 170px;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: linear-gradient(180deg, #fff, #faf9f4);
}
.visual-feature-grid h3 {
  margin: 0.5rem 0 0.35rem;
  font-size: 1.05rem;
}
.visual-feature-grid p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}
.feature-symbol {
  display: inline-grid;
  place-items: center;
  width: 38px;
  aspect-ratio: 1;
  border-radius: 10px;
  font-size: 1.45rem;
  font-weight: 900;
}
.feature-symbol.medical {
  background: #e6f4ea;
  color: #126149;
}
.feature-symbol.care {
  background: #fff0f0;
  color: #cc4e55;
}
.feature-symbol.people {
  background: #eef7ec;
  color: #3f8b43;
}
.feature-symbol.location {
  background: #eef3ea;
  color: #466c48;
}
.feature-symbol.future {
  background: #fff4d9;
  color: #d18a06;
}
.mixed-tracks {
  display: inline-flex;
  gap: 0.25rem;
  align-items: center;
  font-size: 1.3rem;
  color: var(--forest);
}
.visual-rescue-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.86fr) minmax(0, 1.14fr);
  gap: 1rem;
  padding: clamp(1rem, 2.5vw, 1.5rem);
  background:
    radial-gradient(circle at 85% 12%, rgba(240, 219, 151, 0.22), transparent 24%),
    rgba(255, 255, 255, 0.88);
}
.rescue-mini-card {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin: 0.9rem 0;
  padding: 0.85rem;
  border-radius: 14px;
  background: #fff7df;
}
.rescue-mini-card span {
  font-size: 1.7rem;
}
.visual-rescue-paths {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.rescue-outcome-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}
.rescue-outcome-grid article {
  display: flex;
  flex-direction: column;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
}
.outcome-visual {
  display: grid;
  place-items: center;
  min-height: 155px;
  border-radius: 12px;
  background: linear-gradient(145deg, #e5efe6, #f7e7c5);
  font-size: 3.7rem;
}
.rescue-outcome-grid h3 {
  margin: 0.6rem 0 0.4rem;
  font-size: 1rem;
}
.rescue-outcome-grid ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--ink-soft);
  font-size: 0.86rem;
  line-height: 1.45;
}
.visual-qr-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 1.08fr);
  gap: 1rem;
  padding: clamp(1rem, 2.5vw, 1.5rem);
}
.qr-travel-art {
  width: 100%;
  height: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: 17px;
}
.qr-use-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 0.55rem;
}
.qr-use-grid div {
  display: grid;
  justify-items: center;
  gap: 0.25rem;
  padding: 0.65rem 0.25rem;
  border-radius: 12px;
  background: #faf8f0;
}
.qr-use-grid span {
  font-size: 1.7rem;
}
.qr-use-grid strong {
  text-align: center;
  font-size: 0.72rem;
  text-transform: uppercase;
}
.network-teaser {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  gap: 1rem;
  padding: clamp(1rem, 2.5vw, 1.5rem);
}
.network-map {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 0.7rem;
  align-items: center;
}
.network-map svg {
  width: 100%;
  max-height: 260px;
}
.network-facts {
  display: grid;
  gap: 0.5rem;
  padding: 0.85rem;
  border-left: 1px solid var(--line);
}
.network-facts strong {
  font-size: 1.7rem;
}
.network-facts span {
  color: var(--ink-soft);
  font-size: 0.9rem;
}
.visual-field-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 1rem;
  padding: 0;
  overflow: hidden;
}
.visual-field-section > img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
}
.visual-field-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2rem);
}
.field-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin: 0.8rem 0 1rem;
}
.field-benefits div {
  display: grid;
  gap: 0.35rem;
}
.field-benefits span {
  font-size: 1.7rem;
}
.field-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.visual-privacy-section {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  gap: 1rem;
  align-items: center;
  padding: 0 0 0 clamp(1rem, 3vw, 2rem);
  overflow: hidden;
}
.visual-privacy-section img {
  width: 100%;
  min-height: 260px;
  object-fit: cover;
}
.visual-final-cta {
  display: grid;
  justify-items: center;
  gap: 0.55rem;
  padding: clamp(2rem, 5vw, 3.4rem);
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 120%, rgba(90, 130, 92, 0.55), transparent 36%),
    linear-gradient(180deg, #155441, #0e3e32);
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.visual-final-cta .eyebrow {
  color: #dcecdf;
}
.visual-final-cta h2 {
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 4.1rem);
  letter-spacing: -0.04em;
}
.visual-final-cta p {
  max-width: 42rem;
}
.visual-final-cta .button-link {
  background: #fff;
  color: var(--forest);
}
.final-track-marks {
  display: flex;
  gap: 1.4rem;
  margin-top: 1rem;
  font-size: 1.8rem;
  opacity: 0.75;
}
@media (max-width: 1080px) {
  .visual-hero {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 1fr);
  }
  .visual-auth-card {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr auto 0.8fr;
    gap: 1rem;
    align-items: center;
  }
  .auth-divider {
    grid-template-columns: 1px auto 1px;
    height: 100%;
  }
  .auth-divider::before,
  .auth-divider::after {
    width: 1px;
    height: 100%;
  }
  .species-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  .visual-feature-section,
  .visual-rescue-section {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 820px) {
  .visual-hero,
  .visual-voice-section,
  .visual-qr-section,
  .network-teaser,
  .visual-field-section,
  .visual-privacy-section {
    grid-template-columns: 1fr;
  }
  .visual-hero-art {
    min-height: 360px;
  }
  .visual-auth-card {
    grid-column: auto;
    grid-template-columns: 1fr;
  }
  .auth-divider {
    grid-template-columns: 1fr auto 1fr;
    height: auto;
  }
  .auth-divider::before,
  .auth-divider::after {
    width: auto;
    height: 1px;
  }
  .voice-story-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .visual-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .rescue-outcome-grid {
    grid-template-columns: 1fr;
  }
  .qr-use-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .network-map {
    grid-template-columns: 1fr;
  }
  .network-facts {
    border-left: 0;
    border-top: 1px solid var(--line);
    grid-template-columns: repeat(3, 1fr);
  }
  .visual-privacy-section {
    padding: 1rem;
  }
}
@media (max-width: 560px) {
  .visual-hero {
    padding: 0.8rem;
  }
  .visual-hero-copy h1 {
    font-size: clamp(3rem, 15vw, 4.7rem);
  }
  .visual-hero-art {
    min-height: 300px;
  }
  .species-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .voice-story-grid,
  .visual-feature-grid,
  .visual-rescue-paths,
  .field-benefits {
    grid-template-columns: 1fr;
  }
  .voice-story-grid article {
    min-height: 210px;
  }
  .qr-use-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .network-facts {
    grid-template-columns: 1fr;
  }
  .visual-field-section > img {
    min-height: 320px;
  }
}
.species-grid,
.qr-use-grid {
  margin: 0;
  padding: 0;
  list-style: none;
}
.species-grid > li,
.qr-use-grid > li {
  min-width: 0;
}
.network-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  margin-top: 0.8rem;
}
.supporter-invitation-note {
  margin-top: 0.8rem;
}
.visual-hero > .front-door-access {
  align-self: center;
}
@media (max-width: 1080px) {
  .visual-hero > .front-door-access {
    grid-column: 1 / -1;
  }
}

/* P0 visual-parity correction: approved photo-led homepage mockup */
.visual-home {
  --cf-display: Georgia, "Times New Roman", serif;
  --cf-ui:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --cf-hand: "Snell Roundhand", "Apple Chancery", Georgia, serif;
  --cf-green: #0f3f33;
  --cf-green-deep: #0b342b;
  --cf-cream: #f7f3e8;
  --cf-card: #fffdf8;
  --cf-line: #dfe4dc;
  --cf-mint: #edf5ef;
  background: var(--cf-cream);
  color: #10281f;
  font-family: var(--cf-ui);
}

.visual-home .front-door-status {
  max-width: 1256px;
  margin: 0 auto 0.7rem;
  padding: 0.48rem 0.8rem;
  border: 0;
  border-radius: 8px;
  background: var(--cf-mint);
  color: #29503f;
  font-size: 0.78rem;
}
.visual-home .front-door-status[hidden] {
  display: none;
}
.visual-home .visual-front-door {
  width: min(100%, 1320px);
  max-width: 1320px;
  padding: 0 1.35rem 3rem;
}
.visual-home .visual-front-door > section {
  margin-top: 0.72rem;
  border-radius: 14px;
  border-color: rgba(22, 74, 55, 0.09);
  background-color: var(--cf-card);
  box-shadow: 0 5px 18px rgba(45, 59, 51, 0.045);
}
.visual-home .visual-front-door h1,
.visual-home .visual-front-door h2 {
  font-family: var(--cf-display);
  color: var(--cf-green-deep);
  font-weight: 700;
  letter-spacing: -0.035em;
}
.visual-home .visual-front-door h3 {
  letter-spacing: -0.02em;
}
.visual-home .eyebrow {
  color: #294c40;
  letter-spacing: 0.11em;
  font-size: 0.68rem;
}
.visual-home .button-link {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  padding: 0.68rem 1rem;
  font-family: var(--cf-ui);
  font-weight: 750;
}

.visual-home .visual-hero {
  grid-template-columns: minmax(300px, 0.9fr) minmax(420px, 1.1fr) minmax(310px, 0.85fr);
  gap: 0;
  padding: 0;
  min-height: 490px;
  background: var(--cf-card);
  overflow: hidden;
}
.visual-home .visual-hero-copy {
  padding: 2rem 1.8rem 1.7rem;
  position: relative;
  z-index: 2;
  justify-content: flex-start;
}
.visual-home .visual-hero-copy h1 {
  width: 100%;
  max-width: none;
  margin: 0.12rem 0 0.72rem;
  font-size: clamp(3.45rem, 4vw, 4.15rem);
  line-height: 0.88;
  letter-spacing: -0.052em;
}
.visual-home .visual-hero-copy h1 span {
  display: block;
  white-space: nowrap;
}
.visual-home .visual-hero-lede {
  max-width: 34ch;
  margin: 0;
  color: #33473f;
  font-size: 0.94rem;
  line-height: 1.48;
}
.visual-home .visual-hero-actions {
  margin-top: 0.9rem;
  gap: 0.65rem 1rem;
}
.visual-home .visual-hero-actions .button-link {
  margin-top: 0;
  background: var(--cf-green);
  color: #fff;
  box-shadow: 0 3px 8px rgba(15, 63, 51, 0.14);
}
.visual-home .visual-hero-actions .text-link {
  font-size: 0.86rem;
  font-weight: 750;
}
.visual-home .visual-hero-art {
  min-height: 490px;
  border-radius: 0;
  position: relative;
  overflow: hidden;
  background: #e9e7de;
}
.visual-home .visual-hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 253, 248, 0.08), transparent 28%);
  pointer-events: none;
}
.visual-home .visual-hero-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 50%;
  image-rendering: auto;
}
.visual-home .hero-hand-note {
  position: absolute;
  z-index: 2;
  top: 1rem;
  left: 1.15rem;
  color: #315a4c;
  font-family: var(--cf-display);
  font-size: clamp(1.05rem, 1.35vw, 1.35rem);
  font-style: italic;
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: 0.01em;
  transform: rotate(-5deg);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
  pointer-events: none;
}
.visual-home .hero-hand-note span {
  display: inline-block;
  margin-left: 0.3rem;
  font-size: 1.15em;
}
.visual-home .visual-hero > .front-door-access {
  align-self: stretch;
  display: flex;
  align-items: center;
  padding: 0.8rem 0.85rem 0.8rem 0.7rem;
}
.visual-home .visual-auth-card {
  width: 100%;
  border-radius: 14px;
  padding: 0.95rem;
  border: 1px solid #d9dfd9;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 22px rgba(36, 55, 46, 0.11);
}
.visual-home .visual-auth-card .auth-form,
.visual-home .visual-auth-card .auth-existing {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
}
.visual-home .visual-auth-card h2 {
  margin: 0.08rem 0 0.35rem;
  font-family: var(--cf-ui);
  color: #173f34;
  font-size: 1.22rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.visual-home .visual-create-form,
.visual-home .visual-returning {
  font-size: 0.78rem;
}
.visual-home .visual-create-form {
  gap: 0.52rem;
}
.visual-home .visual-create-form > p,
.visual-home .visual-returning > p {
  margin-block: 0.28rem;
  line-height: 1.38;
}
.visual-home .visual-create-form label {
  line-height: 1.3;
}
.visual-home .visual-create-form input:not([type="checkbox"]) {
  min-height: 38px;
  padding-block: 0.5rem;
}
.visual-home .visual-create-form input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-height: 0;
}
.visual-home .visual-create-form .checkbox {
  min-height: 28px;
  gap: 0.45rem;
  align-items: center;
}
.visual-home .visual-create-form button,
.visual-home .visual-returning button {
  min-height: 40px;
  padding: 0.55rem 0.65rem;
  border-radius: 7px;
  font-size: 0.78rem;
}
.visual-home .visual-create-form .help {
  margin-bottom: 0;
  color: #53665e;
  font-size: 0.72rem;
  line-height: 1.35;
}
.visual-home .auth-divider {
  margin: 0.62rem 0;
  font-size: 0.7rem;
}
.visual-home .visual-returning {
  padding-top: 0.1rem;
}

.visual-home .species-strip {
  padding: 1.2rem 1.45rem 1.3rem;
  background: #fffefa;
}
.visual-home .species-strip-heading h2 {
  font-size: clamp(2.6rem, 3.7vw, 3.7rem);
  line-height: 0.98;
}
.visual-home .species-strip-heading p {
  margin: 0.15rem 0 0.65rem;
  font-size: 0.95rem;
}
.visual-home .species-photo-strip {
  display: grid;
  list-style: none;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 0.06rem;
  width: 100%;
  margin-top: 0.4rem;
  padding: 0.15rem;
  overflow: hidden;
  border-radius: 12px;
  background: #f3ead2;
}
.visual-home .species-photo-strip li {
  min-width: 0;
  margin: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  background: transparent;
}
.visual-home .species-photo-strip img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}
.visual-home .species-photo-strip .species-caption {
  min-height: 2.05rem;
  display: grid;
  place-items: center;
  padding: 0.42rem 0.16rem 0.48rem;
  color: #21483c;
  background: #fffefa;
  text-align: center;
  font-family: var(--cf-ui);
  font-size: 0.58rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.visual-home .visual-voice-section {
  grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.15fr);
  padding: 1.15rem 1.35rem;
  gap: 1rem;
  background: #fffefa;
}
.visual-home .visual-voice-copy h2,
.visual-home .visual-feature-intro h2,
.visual-home .visual-rescue-copy h2,
.visual-home .visual-qr-copy h2,
.visual-home .network-copy h2,
.visual-home .visual-field-copy h2,
.visual-home .visual-privacy-copy h2 {
  font-size: clamp(2.45rem, 4vw, 4rem);
  line-height: 0.94;
}
.visual-home .visual-voice-copy p {
  max-width: 37rem;
}
.visual-home .voice-story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  align-items: start;
}
.visual-home .voice-story-grid article {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: auto auto;
  align-content: start;
  overflow: hidden;
  border: 1px solid #eee7d8;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(50, 60, 53, 0.04);
}
.visual-home .voice-story-grid picture {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: #f0eadc;
}
.visual-home .voice-story-grid picture img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: cover;
}
.visual-home .voice-story-grid strong {
  display: block;
  padding: 0.72rem 0.68rem 0.82rem;
  color: #21483c;
  background: #fff;
  text-align: center;
  font-family: var(--cf-display);
  font-size: clamp(0.84rem, 1vw, 1rem);
  font-style: italic;
  font-weight: 600;
  line-height: 1.15;
}
.visual-home .voice-story-grid small {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.visual-home .visual-feature-section {
  padding: 1.15rem 1.35rem;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  background: #fffefa;
}
.visual-home .visual-feature-grid {
  gap: 0.68rem;
}
.visual-home .visual-feature-grid article {
  min-height: 150px;
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-content: start;
  gap: 0.48rem;
  border-radius: 13px;
  background: #fffefb;
  box-shadow: 0 2px 8px rgba(46, 58, 50, 0.025);
}
.visual-home .visual-feature-grid h3,
.visual-home .visual-feature-grid p {
  margin: 0;
}
.visual-home .visual-feature-grid h3 {
  line-height: 1.18;
}
.visual-home .visual-feature-grid p {
  line-height: 1.45;
}
.visual-home .feature-symbol {
  width: 36px;
  height: 36px;
  aspect-ratio: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}
.visual-home .feature-symbol svg {
  width: 19px;
  height: 19px;
  display: block;
}
.visual-home .feature-symbol.animals {
  width: 72px;
  padding: 0 0.1rem;
  gap: 0.16rem;
  justify-content: flex-start;
  background: transparent;
  color: #204f42;
}
.visual-home .feature-symbol.animals .animal-mark {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.visual-home .visual-rescue-section {
  grid-template-columns: minmax(310px, 0.82fr) minmax(0, 1.18fr);
  padding: 1.2rem 1.35rem;
  gap: 0.9rem;
  background: #fffefa;
}
.visual-home .rescue-core-line,
.visual-home .rescue-mini-card,
.visual-home .rescue-paths,
.visual-home .rescue-companion-principle,
.visual-home .rescue-heart,
.visual-home .visual-rescue-copy > .help,
.visual-home .rescue-actions {
  font-size: 0.88rem;
}
.visual-home .rescue-outcome-grid {
  gap: 0.55rem;
}
.visual-home .rescue-outcome-grid article {
  padding: 0 0 0.85rem;
  overflow: hidden;
  border-radius: 12px;
  background: #fffefb;
}
.visual-home .outcome-photo {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}
.visual-home .rescue-outcome-grid h3,
.visual-home .rescue-outcome-grid ul {
  margin-left: 0.8rem;
  margin-right: 0.8rem;
}
.visual-home .rescue-outcome-grid h3 {
  margin-top: 0.65rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
  line-height: 1.05;
}

.visual-home .visual-qr-section {
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1.08fr);
  padding: 1rem 1.25rem 1.1rem;
  gap: 0.75rem;
  background: #fffefa;
}
.visual-home .qr-travel-art {
  max-height: 310px;
  border-radius: 12px;
  object-fit: cover;
  object-position: center;
}
.visual-home .qr-use-photo-strip {
  grid-column: 1 / -1;
  width: 100%;
  height: clamp(95px, 10vw, 130px);
  object-fit: cover;
  border-radius: 9px;
  margin-top: 0.15rem;
}
.visual-home .qr-use-grid {
  grid-column: 1 / -1;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 0;
  margin-top: -0.2rem;
}
.visual-home .qr-use-grid span {
  display: none;
}
.visual-home .qr-use-grid li {
  display: grid;
  place-items: center;
}
.visual-home .qr-use-grid strong {
  font-size: 0.62rem;
}

.visual-home .network-teaser {
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  padding: 1.1rem 1.35rem;
  background: #fffefa;
}
.visual-home .network-map {
  grid-template-columns: minmax(0, 1fr) 150px;
}
.visual-home .network-map svg {
  max-height: 230px;
}
.visual-home .network-facts strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.85rem;
}

.visual-home .visual-field-section {
  grid-template-columns: minmax(350px, 0.9fr) minmax(0, 1.1fr);
  background: #fffefa;
}
.visual-home .visual-field-section > img {
  min-height: 410px;
  object-fit: cover;
  object-position: center;
}
.visual-home .visual-field-copy {
  padding: 1.55rem 1.75rem;
}
.visual-home .field-benefits {
  margin: 0.8rem 0;
}
.visual-home .field-benefits span {
  font-size: 1.9rem;
}

.visual-home .visual-privacy-section {
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.55fr);
  padding-left: 1.4rem;
  background: #fffefa;
}
.visual-home .visual-privacy-section img {
  min-height: 210px;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.visual-home .visual-privacy-copy h2 {
  font-size: clamp(2.2rem, 3.6vw, 3.5rem);
}

.visual-home .visual-final-cta {
  min-height: 260px;
  border-radius: 16px;
  padding: 2.2rem 2rem;
  background:
    radial-gradient(circle at 50% 120%, rgba(85, 123, 91, 0.5), transparent 34%),
    linear-gradient(180deg, #0f5a46 0%, #0a4337 100%);
}
.visual-home .visual-final-cta h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.65rem, 4vw, 4rem);
}

@media (max-width: 1080px) {
  .visual-home .visual-hero {
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  }
  .visual-home .visual-hero > .front-door-access {
    grid-column: 1 / -1;
    padding: 0.75rem 1rem 1rem;
  }
  .visual-home .visual-auth-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(220px, 0.72fr);
    gap: 0.85rem;
    align-items: center;
  }
}
@media (max-width: 820px) {
  .visual-home .visual-front-door {
    padding-inline: 0.8rem;
  }
  .visual-home .visual-hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .visual-home .visual-voice-section,
  .visual-home .visual-qr-section,
  .visual-home .network-teaser,
  .visual-home .visual-field-section,
  .visual-home .visual-privacy-section {
    grid-template-columns: 1fr;
  }
  .visual-home .visual-hero-copy {
    padding: 1.35rem 1.1rem 0.9rem;
  }
  .visual-home .visual-hero-copy h1 {
    max-width: 9ch;
    font-size: clamp(3.25rem, 12.5vw, 4.7rem);
  }
  .visual-home .visual-hero-art {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
  .visual-home .hero-hand-note {
    top: 0.9rem;
    left: 1rem;
    font-size: clamp(1.05rem, 4vw, 1.35rem);
  }
  .visual-home .visual-hero > .front-door-access {
    padding: 0.8rem;
  }
  .visual-home .visual-auth-card {
    grid-template-columns: 1fr;
  }
  .visual-home .species-photo-strip {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.3rem;
  }
  .visual-home .species-photo-strip .species-caption {
    font-size: 0.62rem;
  }
  .visual-home .voice-story-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .visual-home .visual-feature-section,
  .visual-home .visual-rescue-section {
    grid-template-columns: 1fr;
  }
  .visual-home .rescue-outcome-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .visual-home .outcome-photo {
    height: 180px;
  }
  .visual-home .visual-field-section > img {
    min-height: 340px;
  }
  .visual-home .visual-privacy-section {
    padding-left: 1rem;
  }
}
@media (max-width: 560px) {
  .visual-home .front-door-status {
    margin-inline: 0.75rem;
  }
  .visual-home .visual-hero {
    min-height: 0;
  }
  .visual-home .visual-hero-copy h1 {
    font-size: clamp(2.85rem, 12vw, 3.55rem);
    max-width: 100%;
  }
  .visual-home .visual-hero-lede {
    max-width: 36ch;
    font-size: 0.92rem;
  }
  .visual-home .visual-hero-art {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
  .visual-home .species-photo-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.32rem;
    padding: 0.32rem;
  }
  .visual-home .species-photo-strip .species-caption {
    min-height: 2rem;
    padding: 0.34rem 0.08rem 0.4rem;
    font-size: 0.56rem;
  }
  .visual-home .qr-use-grid strong {
    font-size: 0.56rem;
  }
  .visual-home .voice-story-grid,
  .visual-home .rescue-outcome-grid {
    grid-template-columns: 1fr;
  }
  .visual-home .voice-story-grid article,
  .visual-home .rescue-outcome-grid article {
    min-height: 0;
  }
  .visual-home .voice-story-grid picture {
    aspect-ratio: 4 / 3;
  }
  .visual-home .voice-story-grid strong {
    padding: 0.65rem 0.65rem 0.75rem;
    font-size: 0.96rem;
  }
  .visual-home .outcome-photo {
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }
  .visual-home .rescue-outcome-grid article {
    height: auto;
    padding-bottom: 0.9rem;
  }
  .visual-home .rescue-outcome-grid h3 {
    margin-top: 0.7rem;
    margin-bottom: 0.35rem;
    font-size: 1.08rem;
  }
  .visual-home .rescue-outcome-grid ul {
    line-height: 1.5;
  }
  .visual-home .visual-feature-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
  }
  .visual-home .visual-feature-grid article {
    min-height: 0;
    padding: 0.92rem;
    gap: 0.48rem;
  }
  .visual-home .feature-symbol {
    width: 36px;
    height: 36px;
  }
  .visual-home .feature-symbol.animals {
    width: 70px;
  }
  .visual-home .qr-use-photo-strip {
    height: 82px;
  }
  .visual-home .qr-use-grid {
    grid-template-columns: repeat(4, 1fr);
    row-gap: 0.2rem;
  }
  .visual-home .network-map,
  .visual-home .network-facts {
    grid-template-columns: 1fr;
  }
  .visual-home .visual-field-section > img {
    min-height: 310px;
  }
  .visual-home .field-benefits {
    grid-template-columns: 1fr 1fr;
  }
  .visual-home .visual-privacy-section {
    padding: 1rem 0 0 1rem;
  }
  .visual-home .visual-privacy-section img {
    min-height: 180px;
  }
}

/* Keep the QR semantic label grid available to assistive technology without duplicating its visual strip. */
.visual-home .qr-use-grid {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.visual-home .visual-final-cta h2,
.visual-home .visual-final-cta p {
  color: #fff;
}
.visual-home .visual-final-cta .eyebrow {
  color: #d7ece2;
}

/* Final approved-mockup parity refinement */

.visual-home .visual-voice-section {
  grid-template-columns: minmax(340px, 0.9fr) minmax(0, 1.1fr);
  padding: 1.3rem 1.45rem;
  gap: 1.1rem;
}
.visual-home .visual-voice-copy h2 {
  max-width: 12ch;
}
.visual-home .visual-feature-section {
  grid-template-columns: minmax(330px, 0.82fr) minmax(0, 1.18fr);
  gap: 1.1rem;
  padding: 1.3rem 1.45rem;
}
.visual-home .visual-feature-grid {
  gap: 0.72rem;
}
.visual-home .visual-feature-grid article {
  min-height: 158px;
  padding: 1.05rem;
  border-color: #e3e8e2;
  box-shadow: 0 4px 14px rgba(46, 58, 50, 0.035);
}

.visual-home .visual-rescue-section {
  grid-template-columns: minmax(400px, 0.96fr) minmax(0, 1.04fr);
  gap: 1rem;
  padding: 1.35rem 1.45rem;
}
.visual-home .visual-rescue-copy {
  align-self: start;
}
.visual-home .visual-rescue-copy h2 {
  max-width: 13ch;
  font-size: clamp(2.55rem, 3.55vw, 3.55rem);
}
.visual-home .rescue-core-line,
.visual-home .rescue-mini-card,
.visual-home .rescue-companion-principle {
  margin-block: 0.75rem;
}
.visual-home .visual-rescue-paths {
  gap: 0.6rem;
}
.visual-home .visual-rescue-paths article {
  padding: 0.75rem;
}
.visual-home .rescue-outcome-grid {
  align-self: start;
  align-items: stretch;
  gap: 0.7rem;
}
.visual-home .rescue-outcome-grid article {
  align-self: stretch;
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-content: start;
  padding-bottom: 0.9rem;
  border-radius: 13px;
  box-shadow: 0 4px 16px rgba(50, 60, 53, 0.045);
}
.visual-home .outcome-photo {
  height: 205px;
  object-position: 50% 50%;
}
.visual-home .rescue-outcome-grid h3 {
  margin-top: 0.72rem;
  margin-bottom: 0.34rem;
  font-size: 1.12rem;
  line-height: 1.08;
}
.visual-home .rescue-outcome-grid ul {
  margin-top: 0;
  padding-bottom: 0.05rem;
  line-height: 1.48;
}

.visual-home .visual-qr-section {
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  padding: 1.2rem 1.4rem 1.25rem;
  gap: 0.95rem;
}
.visual-home .visual-qr-copy h2 {
  max-width: 16.5ch;
}
.visual-home .visual-qr-copy p {
  max-width: 62ch;
}
.visual-home .qr-travel-art {
  max-height: 330px;
}

.visual-home .network-teaser {
  grid-template-columns: minmax(360px, 0.95fr) minmax(0, 1.05fr);
  gap: 1.2rem;
  padding: 1.3rem 1.45rem;
}
.visual-home .network-copy h2 {
  max-width: 12.5ch;
}
.visual-home .network-map {
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 0.42fr);
  gap: 1rem;
  align-items: center;
}
.visual-home .network-us-map {
  width: 100%;
  max-height: none;
  aspect-ratio: 640 / 360;
  overflow: visible;
}
.visual-home .network-us-shape {
  fill: #dcece2;
  stroke: #a9cbb9;
  stroke-width: 3;
  stroke-linejoin: round;
}
.visual-home .network-markers {
  fill: #17624f;
}
.visual-home .network-facts {
  min-width: 0;
  align-self: stretch;
  align-content: center;
  gap: 0.72rem;
  padding: 0.85rem 0 0.85rem 1rem;
  overflow-wrap: normal;
}
.visual-home .network-facts strong {
  max-width: 7ch;
  font-size: 2.05rem;
  line-height: 0.98;
  overflow-wrap: normal;
  word-break: normal;
}
.visual-home .network-facts span {
  max-width: 15ch;
  line-height: 1.35;
  overflow-wrap: break-word;
  word-break: normal;
}

.visual-home .visual-field-section {
  grid-template-columns: minmax(390px, 0.94fr) minmax(0, 1.06fr);
  align-items: stretch;
}
.visual-home .visual-field-copy {
  padding: 1.7rem 1.9rem;
}
.visual-home .visual-field-copy h2 {
  max-width: 13.5ch;
}
.visual-home .field-benefits {
  gap: 0.85rem;
  margin-block: 1rem;
}
.visual-home .field-benefit-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #17624f;
  border-radius: 10px;
  background: #eef5ef;
}
.visual-home .field-benefit-icon.sun {
  color: #d68a00;
  background: #fff6dd;
}
.visual-home .field-benefit-icon svg {
  width: 21px;
  height: 21px;
  display: block;
}

.visual-home .visual-privacy-section {
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.45fr);
  min-height: 220px;
  gap: 0;
  padding-left: 1.5rem;
  overflow: hidden;
}
.visual-home .visual-privacy-copy {
  align-self: center;
  padding: 1.15rem 1.25rem 1.15rem 0;
}
.visual-home .privacy-parrot-art {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  align-self: stretch;
  overflow: hidden;
}
.visual-home .privacy-parrot-art img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  display: block;
  object-fit: cover;
  object-position: 58% 38%;
}
.visual-home .visual-privacy-copy h2 {
  max-width: 30ch;
  margin-bottom: 0.62rem;
  font-size: clamp(2.1rem, 2.5vw, 2.55rem);
  line-height: 0.98;
}
.visual-home .visual-privacy-copy > p:not(.eyebrow) {
  max-width: 70ch;
}
.visual-home .visual-privacy-copy .auth-links {
  margin-top: 0.72rem;
}

.visual-home .visual-final-cta {
  position: relative;
  isolation: isolate;
  min-height: 285px;
  padding: 2.55rem 2rem 3rem;
  gap: 0.62rem;
  background:
    radial-gradient(circle at 20% 115%, rgba(82, 119, 88, 0.58), transparent 30%),
    radial-gradient(circle at 80% 115%, rgba(63, 100, 78, 0.48), transparent 32%),
    linear-gradient(180deg, #0f5d48 0%, #083d33 100%);
}
.visual-home .visual-final-cta > :not(.final-forest) {
  position: relative;
  z-index: 1;
}
.visual-home .visual-final-cta h2 {
  max-width: 24ch;
  font-size: clamp(2.8rem, 4.15vw, 4rem);
  line-height: 0.98;
}
.visual-home .visual-final-cta > p:not(.eyebrow) {
  max-width: 48rem;
}
.visual-home .visual-final-cta .button-link {
  min-height: 44px;
  margin-top: 0.18rem;
}
.visual-home .final-track-marks {
  margin-top: 0.72rem;
  gap: 1.55rem;
  color: rgba(231, 244, 235, 0.72);
}
.visual-home .final-track-marks svg {
  width: 26px;
  height: 26px;
  display: block;
  fill: currentColor;
}
.visual-home .final-forest {
  position: absolute;
  inset: auto 0 0;
  z-index: 0;
  width: 100%;
  height: 38%;
  display: block;
  fill: #062f29;
  opacity: 0.56;
  pointer-events: none;
}

@media (max-width: 1080px) {
  .visual-home .visual-rescue-section,
  .visual-home .visual-feature-section {
    grid-template-columns: 1fr;
  }
  .visual-home .rescue-outcome-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Rescue/network density tuning against approved mockup */
.visual-home .visual-rescue-copy > p {
  margin-block: 0.45rem;
  line-height: 1.38;
}
.visual-home .rescue-core-line {
  margin: 0.65rem 0;
  padding: 0.62rem 0.75rem;
  border-left-width: 4px;
  font-size: 0.84rem;
  line-height: 1.3;
}
.visual-home .rescue-mini-card {
  margin: 0.65rem 0;
  padding: 0.62rem 0.7rem;
  gap: 0.5rem;
}
.visual-home .rescue-mini-card span {
  font-size: 1.35rem;
}
.visual-home .rescue-mini-card p {
  margin: 0;
  line-height: 1.3;
}
.visual-home .visual-rescue-paths {
  margin: 0.65rem 0;
  gap: 0.5rem;
}
.visual-home .visual-rescue-paths article {
  padding: 0.62rem;
}
.visual-home .visual-rescue-paths article .eyebrow {
  font-size: 0.58rem;
}
.visual-home .visual-rescue-paths h3 {
  margin: 0.15rem 0 0.3rem;
  font-size: 0.86rem;
}
.visual-home .visual-rescue-paths article p:last-child {
  margin: 0;
  font-size: 0.74rem;
  line-height: 1.3;
}
.visual-home .rescue-companion-principle {
  margin: 0.65rem 0;
  padding: 0.7rem;
  gap: 0.2rem;
  border-radius: 10px;
  font-size: 0.78rem;
  line-height: 1.3;
}
.visual-home .rescue-heart {
  margin: 0.55rem 0 0.3rem;
  font-size: 0.8rem;
}
.visual-home .visual-rescue-copy > .help {
  margin: 0.35rem 0;
  font-size: 0.72rem;
  line-height: 1.3;
}
.visual-home .rescue-actions {
  gap: 0.45rem;
  margin-top: 0.55rem;
}
.visual-home .rescue-actions .button-link {
  padding: 0.52rem 0.68rem;
  font-size: 0.72rem;
}
.visual-home .network-copy h2 {
  max-width: 16ch;
  font-size: clamp(2.5rem, 3.35vw, 3.35rem);
}
.visual-home .network-copy > p:not(.eyebrow):not(.help) {
  max-width: 48ch;
}
.visual-home .visual-field-copy h2 {
  max-width: 15ch;
  font-size: clamp(2.5rem, 3.45vw, 3.45rem);
}

/* Production asset fidelity + mobile-first art direction */
.visual-home img {
  max-width: 100%;
}
.visual-home .outcome-photo,
.visual-home .qr-travel-art,
.visual-home .field-device-visual > picture > img,
.visual-home .visual-privacy-section img {
  display: block;
  width: 100%;
}
.visual-home .outcome-photo {
  object-position: 50% 42%;
}
.visual-home .qr-travel-visual {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: 14px;
}
.visual-home .qr-travel-visual picture {
  display: block;
  width: 100%;
  height: 100%;
}
.visual-home .qr-travel-art {
  height: 100%;
  max-height: 325px;
  object-fit: cover;
  object-position: 50% 50%;
}
.visual-home .qr-tag-overlay {
  position: absolute;
  left: 55.1%;
  top: 51.3%;
  width: 16.8%;
  height: 39.5%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  justify-items: center;
  gap: 3%;
  padding: 4% 9% 6%;
  color: #123f35;
  background: transparent;
  pointer-events: none;
}
.visual-home .qr-tag-overlay strong {
  font:
    700 clamp(0.38rem, 0.65vw, 0.68rem) / 1 system-ui,
    sans-serif;
  letter-spacing: -0.02em;
}
.visual-home .qr-tag-overlay small {
  font:
    600 clamp(0.28rem, 0.48vw, 0.48rem) / 1 system-ui,
    sans-serif;
  white-space: nowrap;
}
.visual-home .qr-tag-code {
  width: 72%;
  aspect-ratio: 1;
  align-self: center;
  display: block;
  background: #fff;
}
.visual-home .qr-use-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 0.38rem;
  margin: 0.08rem 0 0;
  padding: 0;
  list-style: none;
}
.visual-home .qr-use-strip li {
  min-width: 0;
  display: grid;
  grid-template-rows: minmax(82px, 1fr) auto;
  overflow: hidden;
  border: 1px solid #e1e5df;
  border-radius: 10px;
  background: #fffefa;
}
.visual-home .qr-use-strip img,
.visual-home .qr-emergency-use > span {
  width: 100%;
  height: 100%;
  min-width: 0;
  object-fit: cover;
}
.visual-home .qr-use-strip img {
  object-position: 50% 44%;
}
.visual-home .qr-use-strip .qr-rabbit-care-photo {
  object-position: 50% 50%;
}
.visual-home .qr-use-strip strong {
  display: block;
  padding: 0.38rem 0.2rem 0.42rem;
  color: #21483d;
  font-size: 0.62rem;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  white-space: nowrap;
}
.visual-home .qr-emergency-use > span {
  display: grid;
  place-items: center;
  min-height: 82px;
  color: #fff;
  background: linear-gradient(145deg, #b8272e, #d83a42);
  font:
    800 2rem / 1 system-ui,
    sans-serif;
}
.visual-home .field-device-visual {
  position: relative;
  min-width: 0;
  min-height: 430px;
  overflow: hidden;
}
.visual-home .field-device-visual > picture {
  display: block;
  width: 100%;
  height: 100%;
}
.visual-home .field-device-visual > picture > img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  object-position: 50% 48%;
}
@media (max-width: 820px) {
  .visual-home .privacy-parrot-art {
    aspect-ratio: 21 / 8;
  }
  .visual-home .privacy-parrot-art img {
    min-height: 0;
    object-position: 58% 34%;
  }
  .visual-home .network-map {
    grid-template-columns: minmax(0, 1fr) minmax(145px, 0.42fr);
    gap: 0.8rem;
  }
  .visual-home .network-facts {
    min-width: 0;
    grid-template-columns: minmax(0, 1fr);
    padding-left: 0.8rem;
  }
  .visual-home .network-facts span {
    max-width: 15ch;
    overflow-wrap: break-word;
    word-break: normal;
  }
  .visual-home .field-device-visual,
  .visual-home .field-device-visual > picture > img {
    min-height: 340px;
  }
  .visual-home .qr-travel-art {
    max-height: none;
    aspect-ratio: 4 / 3;
  }
}
@media (max-width: 560px) {
  .visual-home .visual-front-door {
    padding-inline: 0.55rem;
  }
  .visual-home .visual-front-door > section {
    border-radius: 14px;
  }
  .visual-home .outcome-photo {
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }
  .visual-home .visual-qr-copy h2 {
    font-size: clamp(2.55rem, 11.8vw, 3.15rem);
    line-height: 0.92;
  }
  .visual-home .qr-use-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.34rem;
  }
  .visual-home .qr-use-strip li {
    grid-template-rows: 66px auto;
    border-radius: 8px;
  }
  .visual-home .qr-use-strip strong {
    padding: 0.32rem 0.08rem 0.36rem;
    font-size: 0.5rem;
    letter-spacing: 0;
  }
  .visual-home .qr-emergency-use > span {
    min-height: 66px;
    font-size: 1.6rem;
  }
  .visual-home .qr-travel-visual {
    border-radius: 12px;
  }
  .visual-home .qr-travel-art {
    aspect-ratio: 1;
    object-fit: cover;
  }
  .visual-home .qr-tag-overlay {
    left: 33.8%;
    top: 50.4%;
    width: 27.5%;
    height: 48.2%;
    padding: 4.5% 8% 5%;
  }
  .visual-home .network-map {
    grid-template-columns: minmax(0, 1.45fr) minmax(112px, 0.75fr);
    gap: 0.5rem;
    align-items: center;
  }
  .visual-home .network-facts {
    min-width: 0;
    gap: 0.52rem;
    padding: 0.55rem 0 0.55rem 0.65rem;
  }
  .visual-home .network-facts strong {
    max-width: 6.5ch;
    font-size: clamp(1.85rem, 8.5vw, 2.35rem);
  }
  .visual-home .network-facts span {
    max-width: 12ch;
    font-size: 0.72rem;
  }
  .visual-home .field-device-visual,
  .visual-home .field-device-visual > picture > img {
    min-height: 0;
  }
  .visual-home .field-device-visual {
    aspect-ratio: 4 / 3;
  }
  .visual-home .field-device-visual > picture,
  .visual-home .field-device-visual > picture > img {
    width: 100%;
    height: 100%;
  }
  .visual-home .field-device-visual > picture > img {
    object-fit: cover;
    object-position: 50% 50%;
  }
  .visual-home .field-benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
  }
  .visual-home .field-benefit-icon {
    width: 32px;
    height: 32px;
  }
  .visual-home .visual-privacy-section img {
    min-height: 0;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: 50% 45%;
  }
}
@media (max-width: 430px) {
  .visual-home .species-photo-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.28rem;
  }
  .visual-home .species-photo-strip .species-caption {
    min-height: 2.1rem;
    font-size: 0.62rem;
    letter-spacing: 0.035em;
  }
}
@media (max-width: 360px) {
  .visual-home .network-map {
    grid-template-columns: minmax(0, 1.4fr) minmax(102px, 0.75fr);
    gap: 0.4rem;
  }
  .visual-home .network-facts {
    padding-left: 0.5rem;
  }
  .visual-home .network-facts span {
    font-size: 0.68rem;
  }
  .visual-home .field-benefits {
    grid-template-columns: 1fr;
  }

  .visual-home .visual-feature-grid,
  .visual-home .field-benefits {
    grid-template-columns: 1fr;
  }
  .visual-home .qr-use-strip li {
    grid-template-rows: 58px auto;
  }
  .visual-home .qr-use-strip strong {
    font-size: 0.43rem;
  }
  .visual-home .qr-emergency-use > span {
    min-height: 58px;
  }
}

/* Final cascade guard: mobile wins over all desktop parity rules above. */
@media (max-width: 820px) {
  .visual-home .visual-voice-section,
  .visual-home .visual-qr-section,
  .visual-home .network-teaser,
  .visual-home .visual-field-section,
  .visual-home .visual-privacy-section {
    grid-template-columns: minmax(0, 1fr);
  }
  .visual-home .visual-field-section,
  .visual-home .visual-privacy-section {
    min-width: 0;
  }
}
@media (max-width: 560px) {
  .visual-home .visual-front-door > section {
    width: 100%;
    min-width: 0;
  }
  .visual-home .visual-hero,
  .visual-home .visual-voice-section,
  .visual-home .visual-feature-section,
  .visual-home .visual-rescue-section,
  .visual-home .visual-qr-section,
  .visual-home .network-teaser,
  .visual-home .visual-field-section,
  .visual-home .visual-privacy-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
  .visual-home .voice-story-grid,
  .visual-home .rescue-outcome-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .visual-home .visual-feature-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .visual-home .visual-field-copy {
    padding: 1.3rem 1rem 1.45rem;
  }
  .visual-home .visual-privacy-section {
    padding: 0;
  }
  .visual-home .visual-privacy-copy {
    padding: 1.15rem 1rem 0.85rem;
  }
  .visual-home .visual-privacy-copy h2 {
    max-width: 15ch;
    font-size: clamp(2.2rem, 10.5vw, 2.85rem);
    line-height: 0.96;
  }
  .visual-home .privacy-parrot-art {
    width: 100%;
    aspect-ratio: 16 / 9;
  }
  .visual-home .privacy-parrot-art img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: 58% 34%;
  }
  .visual-home .visual-final-cta {
    min-height: 320px;
    padding: 2rem 1.1rem 2.45rem;
    gap: 0.62rem;
  }
  .visual-home .visual-final-cta h2 {
    max-width: 12ch;
    font-size: clamp(2.35rem, 11.5vw, 3.05rem);
    line-height: 0.98;
  }
  .visual-home .visual-final-cta > p:not(.eyebrow) {
    max-width: 30rem;
  }
  .visual-home .visual-final-cta .button-link {
    max-width: 100%;
    min-height: 44px;
    padding: 0.78rem 1rem;
  }
  .visual-home .final-track-marks {
    gap: 1.05rem;
    margin-top: 0.6rem;
  }
  .visual-home .final-track-marks svg {
    width: 23px;
    height: 23px;
  }
  .visual-home .final-forest {
    height: 32%;
  }
}
@media (max-width: 360px) {
  .visual-home .visual-feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.visual-home .qr-emergency-tile {
  display: grid;
  place-items: center;
  min-width: 0;
  height: 100%;
  color: #fff;
  background: linear-gradient(145deg, #b8272e, #d83a42);
  border-radius: 9px;
  font:
    800 clamp(1.4rem, 3vw, 2.4rem) / 1 system-ui,
    sans-serif;
  box-shadow: inset 0 0 0 1px rgba(109, 0, 7, 0.16);
}

/* Run 9: final fidelity repair for story horse, QR, network map, and field device. */
.visual-home .voice-story-grid article:nth-child(3) picture img {
  object-position: 50% 38%;
}
.visual-home .rescue-outcome-grid article:nth-child(3) .outcome-photo {
  object-position: 58% 38%;
}
.visual-home .network-map-art {
  position: relative;
  min-width: 0;
  width: 100%;
  aspect-ratio: 959 / 593;
}
.visual-home .network-map-art .network-us-map {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: auto;
}
.visual-home .network-marker {
  position: absolute;
  width: clamp(7px, 0.72vw, 10px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #17624f;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.82);
  transform: translate(-50%, -50%);
}
.visual-home .network-marker.m1 {
  left: 14%;
  top: 34%;
}
.visual-home .network-marker.m2 {
  left: 27%;
  top: 25%;
}
.visual-home .network-marker.m3 {
  left: 39%;
  top: 34%;
}
.visual-home .network-marker.m4 {
  left: 52%;
  top: 27%;
}
.visual-home .network-marker.m5 {
  left: 66%;
  top: 35%;
}
.visual-home .network-marker.m6 {
  left: 78%;
  top: 31%;
}
.visual-home .network-marker.m7 {
  left: 23%;
  top: 55%;
}
.visual-home .network-marker.m8 {
  left: 43%;
  top: 55%;
}
.visual-home .network-marker.m9 {
  left: 62%;
  top: 56%;
}
.visual-home .network-marker.m10 {
  left: 80%;
  top: 61%;
}

.visual-home .qr-tag-overlay {
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 2%;
  padding: 3.5% 4.5% 4.5%;
}
.visual-home .qr-tag-overlay strong {
  font-weight: 800;
  letter-spacing: -0.025em;
}
.visual-home .qr-tag-overlay small {
  font-weight: 800;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}
.visual-home .qr-tag-code {
  width: 90%;
  max-width: 96px;
  background: #fff;
}

@media (max-width: 560px) {
  .visual-home .voice-story-grid article:nth-child(3) picture {
    aspect-ratio: 3 / 4;
  }
  .visual-home .voice-story-grid article:nth-child(3) picture img {
    object-position: 50% 50%;
  }
  .visual-home .qr-tag-overlay {
    left: 32.8%;
    top: 49.8%;
    width: 29.6%;
    height: 49.8%;
    padding: 3.2% 4.5% 4%;
  }
  .visual-home .qr-tag-code {
    width: 92%;
  }
  .visual-home .network-marker {
    width: 7px;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.84);
  }
}

/* Rescue workspace operating surface */
.rescue-home {
  display: grid;
  gap: 1rem;
  padding: clamp(1.15rem, 2.5vw, 2rem);
  border-radius: 22px;
  background:
    radial-gradient(circle at 95% 0%, rgba(213, 164, 71, 0.12), transparent 22rem),
    linear-gradient(180deg, #fffdf8, #f6faf7);
  border-color: #cbd9d0;
  box-shadow: 0 16px 38px rgba(23, 63, 51, 0.08);
}
.rescue-home-hero,
.rescue-section-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}
.rescue-home-hero h2 {
  margin: 0.12rem 0 0.5rem;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.rescue-primary-action {
  background: var(--forest);
  color: #fff;
  border: 1px solid var(--forest);
  box-shadow: 0 8px 18px rgba(23, 63, 51, 0.16);
}
.rescue-home-section {
  padding-top: 1.15rem;
  border-top: 1px solid #dbe5df;
}
.rescue-home-section h3,
.critters-onboard-home h2 {
  margin: 0.1rem 0 0.35rem;
}
.rescue-attention-grid,
.rescue-fast-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 0.75rem;
}
.rescue-attention-card,
.rescue-recent-row {
  width: 100%;
  display: grid;
  gap: 0.25rem;
  text-align: left;
  color: var(--ink);
  background: #fff;
  border: 1px solid #d5dfd8;
  border-radius: 14px;
  padding: 0.9rem 1rem;
  min-height: 54px;
}
.rescue-attention-card:hover,
.rescue-attention-card:focus-visible,
.rescue-recent-row:hover,
.rescue-recent-row:focus-visible {
  border-color: var(--forest-2);
  background: #f4f8f5;
}
.rescue-attention-card span,
.rescue-recent-row span {
  color: var(--muted);
  font-size: 0.86rem;
}
.rescue-calm-empty {
  margin: 0;
  padding: 1rem;
  border: 1px dashed #c8d5cd;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.65);
  color: var(--muted);
}
.rescue-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}
.rescue-stat {
  display: grid;
  gap: 0.2rem;
  padding: 0.85rem;
  border-radius: 14px;
  border: 1px solid #d7e0da;
  background: #fff;
}
.rescue-stat strong {
  font-size: clamp(1.45rem, 4vw, 2.1rem);
  line-height: 1;
  color: var(--forest);
}
.rescue-stat span {
  font-size: 0.8rem;
  color: var(--muted);
}
.rescue-action-card {
  display: grid;
  gap: 0.35rem;
  min-height: 118px;
  padding: 1rem;
  border: 1px solid #d3ddd6;
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
}
.rescue-action-card.primary {
  background: linear-gradient(145deg, #173f33, #245c45);
  color: #fff;
  border-color: #173f33;
}
.rescue-action-card span {
  color: inherit;
  opacity: 0.8;
  font-size: 0.9rem;
  line-height: 1.4;
}
.rescue-recent-list {
  display: grid;
  gap: 0.55rem;
}
.rescue-setup-nudge {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid #ddc98d;
  border-radius: 16px;
  background: #fff9e9;
}
.rescue-setup-nudge p {
  margin: 0.3rem 0 0;
  color: var(--muted);
}
.rescue-roster-controls {
  margin: 0.75rem 0;
}
.rescue-roster-controls select {
  min-height: 44px;
}
.rescue-roster-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.45rem;
}
.rescue-roster-tags .tag {
  font-size: 0.72rem;
}
.critters-onboard-home {
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #f5f9f6);
}
.rescue-empty-actions {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px dashed #bfcfc5;
  border-radius: 14px;
  background: #fbfdfb;
}
.rescue-nav a {
  font-weight: 750;
}

@media (max-width: 760px) {
  .rescue-home-hero,
  .rescue-section-heading,
  .rescue-setup-nudge {
    flex-direction: column;
    align-items: stretch;
  }
  .rescue-home-hero .button-link,
  .critters-onboard-home .button-link,
  .rescue-setup-nudge .button-link {
    width: 100%;
    justify-content: center;
  }
  .rescue-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 360px) {
  .rescue-stat-grid {
    grid-template-columns: 1fr 1fr;
  }
  .rescue-home {
    border-radius: 16px;
  }
}
