@font-face {
  font-family: "Instrument Serif";
  src: url("/fonts/instrument-serif.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("/fonts/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("/fonts/instrument-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("/fonts/instrument-sans-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("/fonts/instrument-sans-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V3 */
:root {
  --cream: #f4efe4;
  --paper: #fffdf8;
  --ink: #1c1814;
  --muted: #6d655b;
  --tomato: #d6452e;
  --acid: #e7ed9a;
  --sky: #d8ebf6;
  --purple: #d4c8ef;
  --yellow: #f0d48a;
  --green: #8ecfa6;
  --hairline: color-mix(in srgb, var(--ink) 14%, transparent);
  --rule: color-mix(in srgb, var(--ink) 22%, transparent);
  --line: 1px solid var(--rule);
  --radius: 16px;
  --shadow: 0 1px 1px rgb(28 24 20 / 4%), 0 18px 48px rgb(28 24 20 / 7%);
  --display: "Instrument Serif", "Iowan Old Style", Palatino, Georgia, serif;
  --ui: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: var(--ui);
}

.all-pets-page {
  --pet-blue: #d9efff;
  --pet-coral: #ff806e;
  overflow-x: clip;
}

.header-link--quiet {
  background: transparent;
}

.all-pets-hero {
  position: relative;
  display: grid;
  width: min(1120px, calc(100% - 48px));
  min-height: 0;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 88px) 0 clamp(72px, 8vw, 112px);
  align-items: start;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(36px, 6vw, 72px);
}

.all-pets-hero::before {
  position: absolute;
  z-index: -1;
  top: 8%;
  right: -8%;
  width: min(46vw, 520px);
  height: min(46vw, 520px);
  border: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgb(214 69 46 / 16%), rgb(216 235 246 / 0%) 68%);
  content: "";
  opacity: 1;
  transform: none;
}

.all-pets-hero__copy {
  position: sticky;
  top: 34px;
  padding-top: 25px;
}

.all-pets-hero__copy h1 {
  max-width: 11ch;
  min-width: 0;
  margin: 16px 0 22px;
  font-family: var(--display);
  font-size: clamp(3rem, 5.4vw, 5.15rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.96;
  overflow-wrap: anywhere;
}

.all-pets-hero__copy h1 em {
  display: inline;
  color: var(--tomato);
  font-style: normal;
}

.all-pets-hero__lede {
  max-width: 590px;
  margin: 0;
  font-size: clamp(1.03rem, 1.5vw, 1.25rem);
  font-weight: 500;
  line-height: 1.55;
}

.trust-list {
  display: grid;
  max-width: 460px;
  margin: 36px 0 0;
  padding: 0;
  gap: 0;
  list-style: none;
}

.trust-list li {
  display: grid;
  padding: 14px 0;
  grid-template-columns: minmax(120px, 0.42fr) minmax(0, 1fr);
  gap: 16px;
  border-top: 1px solid var(--hairline);
}

.trust-list strong {
  font-family: var(--ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.trust-list span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.4;
}

.pet-matcher-shell {
  position: relative;
  min-width: 0;
  border: var(--line);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: var(--shadow);
  overflow-x: clip;
}

.pet-matcher-shell::before {
  display: none;
}

.pet-progress {
  padding: 22px 28px 18px;
  border-bottom: var(--line);
  background: transparent;
}

.pet-progress p {
  margin: 0 0 10px;
  font-family: var(--ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pet-progress .progress-track {
  height: 3px;
  border: 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--ink) 10%, transparent);
  overflow: hidden;
}

.pet-progress .progress-track span {
  display: block;
  width: 11.111%;
  height: 100%;
  background: var(--tomato);
  transition: width 180ms ease-out;
}

#pet-conversation {
  padding: clamp(25px, 4vw, 42px);
}

.pet-step {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.pet-step legend {
  max-width: 850px;
  padding: 0;
  font-family: var(--display);
  font-size: clamp(1.85rem, 3vw, 2.55rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.pet-step .question-note {
  max-width: 720px;
  margin: 12px 0 23px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.pet-choice-grid,
.lane-choice-grid,
.care-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.pet-choice-grid--two,
.care-choice-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lane-choice-grid {
  grid-template-columns: 1fr;
  gap: 0;
}

.lane-group-title {
  margin: 18px 0 7px;
  color: var(--muted);
  font-family: var(--display);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lane-group-title:first-child {
  margin-top: 0;
}

.lane-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.care-choice-grid label {
  position: relative;
  display: flex;
  min-height: 88px;
  padding: 16px 17px 15px 50px;
  flex-direction: column;
  justify-content: center;
  border: var(--line);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: none;
  cursor: pointer;
}

.lane-choice-grid label {
  position: relative;
  display: grid;
  min-height: 58px;
  padding: 10px 12px 10px 48px;
  grid-template-columns: minmax(120px, 0.55fr) minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  border-top: 1px solid rgb(23 21 20 / 28%);
  background: transparent;
  cursor: pointer;
}

.lane-choice-grid label::before,
.care-choice-grid label::before {
  position: absolute;
  top: 50%;
  left: 16px;
  width: 21px;
  height: 21px;
  border: var(--line);
  border-radius: 6px;
  background: var(--paper);
  content: "";
  transform: translateY(-50%);
}

.lane-choice-grid label::before {
  left: 12px;
}

.lane-choice-grid label strong,
.care-choice-grid label strong {
  font-family: var(--ui);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.15;
}

.lane-choice-grid label small,
.care-choice-grid label small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.69rem;
  font-weight: 600;
  line-height: 1.25;
}

.lane-input:checked + label,
.lane-input:focus-visible + label {
  background: color-mix(in srgb, var(--tomato) 8%, var(--paper));
  box-shadow: inset 3px 0 0 var(--tomato);
  transform: none;
}

.lane-input:checked + label::before {
  background: var(--tomato);
  box-shadow: inset 0 0 0 4px var(--paper);
}

.lane-input:focus-visible + label {
  outline: 4px solid #0a66a3;
  outline-offset: 3px;
}

.form-error {
  margin: 21px 0 0;
  padding: 12px 14px;
  border: var(--line);
  border-radius: 10px;
  background: #f8e4e0;
  font-size: 0.86rem;
  font-weight: 600;
}

.pet-form-actions {
  display: flex;
  margin-top: 28px;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
}

.pet-form-actions #pet-back {
  margin-right: auto;
}

.pet-result {
  padding: clamp(72px, 9vw, 120px) max(24px, calc((100vw - 1120px) / 2));
  color: var(--cream);
  background: #161310;
}

.pet-result__heading {
  display: grid;
  margin-bottom: 36px;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  align-items: end;
  gap: 32px;
}

.pet-result__heading .section-kicker {
  grid-column: 1 / -1;
  color: var(--tomato);
}

.pet-result__heading h2 {
  max-width: 16ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.02;
}

.pet-result__heading > #pet-result-summary {
  margin: 0;
  color: #e5dfd5;
  font-weight: 600;
}

.result-primary-action {
  width: fit-content;
  justify-self: start;
}

.next-steps {
  max-width: 760px;
  margin: 0 0 36px;
  padding: 22px 24px;
  border: 1px solid rgb(255 248 232 / 18%);
  border-radius: 16px;
  background: rgb(255 248 232 / 5%);
}

.next-steps .section-kicker {
  color: var(--tomato);
}

.next-steps h3 {
  max-width: 18ch;
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: clamp(1.5rem, 3vw, 2.05rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.next-steps ol {
  margin: 0;
  padding-left: 1.2em;
}

.next-steps li {
  margin: 0.45em 0;
  color: #e5dfd5;
  font-weight: 600;
}

.lane-followup {
  margin-top: 26px;
  padding-top: 24px;
  border-top: var(--line);
}

.lane-followup h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.form-hint {
  margin: 18px 0 -12px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 600;
  text-align: right;
}

.reptile-gate {
  margin-bottom: 30px;
  padding: clamp(22px, 4vw, 34px);
  border: var(--line);
  border-color: color-mix(in srgb, var(--tomato) 40%, var(--ink));
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--paper);
  box-shadow: none;
}

.reptile-gate h3,
.prepare-first h3,
.community-guide h3 {
  margin: 6px 0 10px;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.reptile-gate p:not(.section-kicker) {
  max-width: 850px;
  margin: 0 0 12px;
  font-weight: 600;
}

.reptile-gate a {
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 400;
}

.pet-leads {
  border-top: 1px solid rgb(255 248 232 / 22%);
  border-bottom: 1px solid rgb(255 248 232 / 22%);
}

.pet-lead-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pet-lead {
  display: grid;
  min-width: 0;
  padding: 27px 0;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: clamp(22px, 4vw, 48px);
  border-bottom: 1px solid rgb(255 248 232 / 42%);
}

.pet-lead:last-child {
  border-bottom: 0;
}

.pet-lead__photo {
  margin: 0;
}

.pet-lead__photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  border-radius: 6px;
  object-fit: cover;
}

.pet-lead__photo figcaption {
  margin-top: 6px;
  color: #c8c1b6;
  font-size: 0.6rem;
  line-height: 1.35;
}

.pet-lead__main {
  min-width: 0;
}

.pet-lead__rank {
  margin: 0 0 6px;
  color: #c8c1b6;
  font-family: var(--ui);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pet-lead h3 {
  margin: 0;
  color: var(--cream);
  font-family: var(--display);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.pet-lead__summary {
  max-width: 790px;
  margin: 10px 0 15px;
  color: #ded7cc;
  font-weight: 600;
}

.pet-lead__fit,
.pet-lead__caution {
  margin: 7px 0;
  color: var(--cream);
  font-size: 0.85rem;
}

.pet-lead__fit strong,
.pet-lead__caution strong {
  display: inline-block;
  min-width: 76px;
  color: #c8c1b6;
  font-family: var(--display);
  font-size: 0.67rem;
  text-transform: uppercase;
}

.pet-lead__caution strong {
  color: #e8b4a8;
}

.pet-lead__actions {
  display: flex;
  margin-top: 14px;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 400;
}

.pet-lead__notes {
  margin-top: 15px;
  color: var(--cream);
  font-size: 0.78rem;
}

.pet-lead__notes > div {
  padding: 14px;
  border: 1px solid rgb(255 248 232 / 45%);
  border-radius: 10px;
  color: var(--cream);
  background: transparent;
}

.pet-lead--alternative {
  display: block;
  padding: 0;
}

.pet-lead--alternative > details > summary {
  display: flex;
  min-height: 86px;
  padding: 18px 4px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--cream);
  cursor: pointer;
  list-style: none;
}

.pet-lead--alternative > details > summary::-webkit-details-marker {
  display: none;
}

.pet-lead--alternative > details > summary span:first-child {
  display: grid;
  gap: 3px;
}

.pet-lead--alternative > details > summary small {
  color: #c8c1b6;
  font-size: 0.62rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.pet-lead--alternative > details > summary strong {
  font-size: clamp(1.05rem, 2vw, 1.45rem);
}

.pet-lead--alternative > details[open] > summary span:last-child {
  transform: rotate(45deg);
}

.pet-lead--alternative__inside {
  max-width: 900px;
  padding: 0 4px 24px;
  color: #ded7cc;
  font-family: var(--body);
  font-size: 0.85rem;
  font-weight: 600;
}

.pet-lead--alternative__inside > p strong {
  color: var(--cream);
}

.pet-lead__notes summary {
  cursor: pointer;
  font-family: var(--display);
  font-weight: 400;
}

.pet-lead__notes > div {
  display: grid;
  margin-top: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.pet-lead__notes h4 {
  margin: 0 0 6px;
  color: #c8c1b6;
  font-family: var(--display);
  font-size: 0.66rem;
  text-transform: uppercase;
}

.pet-lead__notes ul,
.pet-lead__notes ol {
  margin: 0;
  padding-left: 18px;
}

.blocked-profile__status {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: 0.69rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.blocked-profile h4 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 0.77rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.blocked-profile ul {
  display: grid;
  margin: 0;
  padding-left: 20px;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.4;
}

.prepare-first {
  margin-top: 42px;
  padding: 0;
  border: var(--line);
  border-color: var(--cream);
  border-radius: var(--radius);
  color: var(--cream);
  background: rgb(255 248 232 / 5%);
  box-shadow: none;
}

.prepare-first__details > summary {
  display: grid;
  padding: 22px 26px;
  gap: 5px;
  cursor: pointer;
}

.prepare-first__details > summary strong {
  font-family: var(--display);
  font-size: clamp(1.15rem, 2.3vw, 1.8rem);
  letter-spacing: -0.04em;
}

.prepare-first__inside {
  padding: 0 26px 26px;
}

.prepare-first__inside > p {
  margin-top: 0;
  font-size: 0.82rem;
  font-weight: 600;
}

.prepare-first > .section-kicker {
  color: #e8b4a8;
}

#blocked-profiles {
  margin-top: 25px;
  border-top: var(--line);
  border-bottom: var(--line);
}

.blocked-profile-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.blocked-profile {
  display: grid;
  padding: 17px 0;
  grid-template-columns: minmax(0, 0.8fr) minmax(230px, 1.2fr);
  gap: 18px 32px;
  border-bottom: 1px solid rgb(255 248 232 / 18%);
}

.blocked-profile:last-child {
  border-bottom: 0;
}

.blocked-profile__status {
  margin: 0 0 5px;
  color: #e8b4a8;
}

.blocked-profile h4 {
  margin-bottom: 6px;
  font-size: 0.94rem;
}

.blocked-profile__first {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
}

.blocked-profile details {
  align-self: center;
  overflow: hidden;
  font-size: 0.77rem;
}

.blocked-profile summary {
  cursor: pointer;
  font-family: var(--display);
  font-weight: 400;
}

.blocked-profile details ul {
  margin: 0;
  padding: 0 17px 0 37px;
}

.blocked-profile__sources {
  display: flex;
  margin: 16px 17px 17px;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.blocked-profile__sources a {
  font-family: var(--display);
  font-size: 0.68rem;
  font-weight: 400;
}

.pet-result-actions {
  display: flex;
  margin-top: 43px;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.result-tools {
  margin-top: 38px;
  border-top: 1px solid rgb(255 248 232 / 45%);
  border-bottom: 1px solid rgb(255 248 232 / 45%);
  color: var(--cream);
}

.result-tools > summary {
  padding: 17px 0;
  cursor: pointer;
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 400;
}

.result-tools .pet-result-actions {
  margin: 0;
  padding: 0 0 20px;
}

.pet-result-actions .button--text {
  color: var(--cream);
}

.all-pets-page .action-privacy,
.all-pets-page .action-status {
  color: #e5dfd5;
}

.all-pets-page .action-privacy {
  margin-top: 8px;
  font-size: 0.78rem;
  font-weight: 600;
}

.community-guide {
  display: block;
  margin-top: 55px;
  padding: 0;
  border-top: 1px solid rgb(255 248 232 / 22%);
  border-bottom: 1px solid rgb(255 248 232 / 22%);
  color: var(--cream);
  background: transparent;
}

.community-guide > summary {
  padding: 18px 0;
  cursor: pointer;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 400;
}

.community-guide__inside {
  display: grid;
  padding: 0 0 24px;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.45fr);
  gap: 16px 24px;
}

.community-guide__inside > p:first-child {
  grid-column: 1 / -1;
  max-width: 760px;
  margin: 0;
  color: #ded7cc;
  font-weight: 600;
}

.community-guide label {
  align-self: end;
  font-family: var(--display);
  font-size: 0.74rem;
  font-weight: 400;
  text-transform: uppercase;
}

.community-guide select {
  width: 100%;
  min-height: 48px;
  padding: 8px 12px;
  border: var(--line);
  border-radius: 10px;
  background: var(--cream);
  font-weight: 600;
}

#guide-turnstile {
  min-height: 65px;
}

.community-guide__status,
#community-guide-questions {
  margin: 0;
  grid-column: 1 / -1;
  font-size: 0.82rem;
  font-weight: 600;
}

#community-guide-questions {
  display: grid;
  padding: 20px 20px 20px 42px;
  gap: 10px;
  border: var(--line);
  border-radius: 12px;
  background: rgb(255 248 232 / 5%);
}

.pet-support {
  display: flex;
  margin-top: 48px;
  padding: 20px 0;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 22px;
  border-top: 1px solid rgb(255 248 232 / 22%);
  border-bottom: 1px solid rgb(255 248 232 / 22%);
  color: var(--cream);
}

.pet-support p {
  flex: 1 1 420px;
  margin: 0;
}

.pet-support .support-policy {
  max-width: 310px;
  margin: 0;
  flex: 0 1 310px;
  border-color: rgb(255 248 232 / 55%);
  color: var(--cream);
  background: transparent;
}

.support-policy {
  max-width: 720px;
  margin-top: 19px;
  font-size: 0.79rem;
}

.support-policy summary {
  cursor: pointer;
  font-family: var(--display);
  font-weight: 400;
}

.support-policy p {
  margin: 10px 0 0 !important;
  font-size: 0.76rem;
}

.pet-support .support-policy summary {
  padding: 11px 42px 11px 14px;
  color: inherit;
  font-size: 0.72rem;
}

.pet-support .support-policy summary::after {
  right: 14px;
}

.pet-support .support-policy p {
  padding: 0 14px 14px;
  color: #ded7cc;
}

.coverage {
  display: grid;
  padding: clamp(78px, 10vw, 132px) max(24px, calc((100vw - 1120px) / 2));
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(42px, 7vw, 88px);
}

.coverage > div:first-child h2,
.all-pets-sources > div:first-child h2 {
  margin: 10px 0 20px;
  font-family: var(--display);
  font-size: clamp(2.4rem, 4.4vw, 3.8rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.coverage > div:first-child > p:last-child {
  max-width: 440px;
  font-weight: 600;
}

.coverage-grid {
  margin: 0;
  padding: 0;
  list-style: none;
}

.coverage-grid li {
  display: grid;
  min-height: 46px;
  padding: 8px 0;
  grid-template-columns: minmax(130px, 0.4fr) minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid rgb(23 21 20 / 30%);
}

.coverage-grid strong {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 400;
}

.coverage-grid span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.71rem;
  font-weight: 600;
}

.coverage-suggestion {
  margin: 27px 0 0;
  padding-top: 17px;
  grid-column: 2;
  border-top: var(--line);
  font-size: 0.85rem;
  font-weight: 600;
}

.all-pets-sources {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 64px);
  border-top: var(--line);
  background: transparent;
}

.all-pets-sources > div {
  min-width: 0;
}

.all-pets-sources > div:first-child h2 {
  max-width: 7.5ch;
  font-size: clamp(2.6rem, 4vw, 4rem);
}

@media (max-width: 980px) {
  .all-pets-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .all-pets-hero__copy {
    position: static;
    min-width: 0;
  }

  .pet-matcher-shell {
    order: -1;
    min-width: 0;
  }

  .all-pets-hero__copy h1 {
    max-width: none;
  }

  .trust-list {
    display: none;
  }

  .pet-leads,
  #blocked-profiles {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .next-steps {
    padding: 18px 16px;
  }

  .all-pets-page .site-header,
  .site-header {
    width: 100%;
    padding-right: max(16px, env(safe-area-inset-right, 0px));
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    gap: 12px;
  }

  .header-actions {
    flex-shrink: 0;
    gap: 4px;
  }

  .header-link,
  .saved-trigger,
  .all-pets-page .header-link,
  .all-pets-page .saved-trigger {
    min-height: 44px;
    padding: 8px 10px;
    font-size: 0.875rem;
    white-space: nowrap;
  }

  .all-pets-page .header-link--quiet {
    display: inline-flex;
  }

  .all-pets-hero {
    width: 100%;
    min-height: 0;
    padding: 16px max(16px, env(safe-area-inset-right, 0px)) 48px max(16px, env(safe-area-inset-left, 0px));
    gap: 28px;
  }

  .all-pets-hero::before {
    display: none;
  }

  .all-pets-hero__copy h1 {
    margin: 8px 0 10px;
    font-size: clamp(1.85rem, 8vw, 2.35rem);
    line-height: 1.08;
  }

  .all-pets-hero__copy {
    padding-top: 4px;
  }

  .all-pets-hero__lede {
    font-size: 1rem;
    line-height: 1.45;
  }

  .trust-list {
    display: none;
  }

  .pet-matcher-shell {
    border-radius: 18px;
    box-shadow: var(--shadow);
  }

  .pet-progress {
    padding: 14px 16px 12px;
  }

  #pet-conversation {
    padding: 20px 15px 18px;
  }

  .pet-step legend {
    font-size: clamp(1.45rem, 6.4vw, 1.85rem);
    overflow-wrap: anywhere;
  }

  .pet-choice-grid,
  .pet-choice-grid--two,
  .care-choice-grid,
  .lane-choice-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .lane-group-title {
    grid-column: 1 / -1;
  }

  .lane-choice-grid label {
    display: flex;
    padding: 12px 10px 12px 44px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
  }

  .choice {
    min-height: 72px;
  }

  .lane-choice-grid label,
  .care-choice-grid label {
    min-height: 58px;
  }

  .pet-form-actions {
    position: sticky;
    bottom: 0;
    z-index: 4;
    margin: 18px -15px 0;
    padding: 12px 15px calc(12px + env(safe-area-inset-bottom, 0px));
    align-items: stretch;
    flex-direction: column-reverse;
    border-top: var(--line);
    background: var(--paper);
  }

  .pet-form-actions .button {
    width: 100%;
  }

  .pet-form-actions #pet-back {
    margin-right: 0;
  }

  #pet-conversation {
    padding-bottom: 0;
  }

  .offline-banner,
  .pwa-hint {
    width: min(100% - 28px, 1240px);
    flex-direction: column;
    align-items: stretch;
  }

  .pwa-hint__actions {
    justify-content: flex-end;
  }

  .pet-result {
    padding-top: 54px;
    padding-bottom: 64px;
    padding-right: 14px;
    padding-left: 14px;
  }

  .pet-result__heading {
    margin-bottom: 25px;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .pet-result__heading .section-kicker {
    grid-column: 1;
  }

  .pet-result__heading h2 {
    font-size: clamp(2.45rem, 12vw, 3.5rem);
  }

  .pet-lead {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pet-lead__photo img {
    max-height: 150px;
  }

  .pet-lead--primary {
    padding: 21px 0;
  }

  .pet-lead--alternative > details > summary {
    min-height: 72px;
  }

  .prepare-first {
    margin-top: 28px;
  }

  .prepare-first__details > summary,
  .prepare-first__inside {
    padding-right: 18px;
    padding-left: 18px;
  }

  .result-tools {
    margin-top: 28px;
  }

  .pet-lead__notes > div,
  .community-guide__inside {
    grid-template-columns: 1fr;
  }

  .community-guide__inside > p:first-child {
    grid-column: 1;
  }

  .pet-support {
    align-items: stretch;
    flex-direction: column;
  }

  .pet-support .support-policy {
    width: 100%;
    max-width: none;
    margin-left: 0;
    flex-basis: auto;
  }

  .blocked-profile {
    grid-template-columns: 1fr;
  }

  .community-guide,
  .coverage,
  .all-pets-sources {
    grid-template-columns: 1fr;
  }

  .coverage-grid,
  .coverage-suggestion {
    grid-column: 1;
  }

  .coverage {
    padding-right: 14px;
    padding-left: 14px;
  }

  #main:has(> .matcher) {
    display: flex;
    flex-direction: column;
  }

  #main:has(> .matcher) > .matcher {
    order: -1;
  }

  #main:has(> .matcher) .hero__actions,
  #main:has(> .matcher) .match-desk-dog {
    display: none;
  }
}

@media (max-width: 390px) {
  .coverage-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .pet-result-actions {
    display: grid;
  }

  .pet-result-actions .button {
    width: 100%;
  }

  .all-pets-hero__copy h1 {
    font-size: clamp(1.7rem, 8.2vw, 2.1rem);
  }

  .saved-trigger {
    gap: 0;
    padding: 6px;
  }

  .saved-trigger .saved-trigger__word {
    display: none;
  }

  .header-link {
    padding: 8px;
  }
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  min-width: 280px;
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: clip;
  touch-action: manipulation;
}

.offline-banner,
.pwa-hint {
  display: flex;
  width: min(1120px, calc(100% - 48px));
  margin: 12px auto 0;
  padding: 14px 18px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: var(--line);
  border-radius: 14px;
  box-shadow: none;
}

.offline-banner {
  background: var(--paper);
  font-weight: 500;
}

.pwa-hint {
  background: var(--paper);
}

.pwa-hint strong,
.offline-banner {
  font-family: var(--body);
}

.pwa-hint strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 400;
}

.pwa-hint p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 600;
}

.pwa-hint__actions {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
}

html.is-standalone body {
  min-height: 100dvh;
}

html.is-standalone .site-footer {
  padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px));
}

body::before {
  display: none;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

a:hover {
  text-decoration-color: var(--tomato);
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible,
[tabindex="-1"]:focus-visible {
  outline: 4px solid #0a66a3;
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  z-index: 50;
  top: 12px;
  left: 12px;
  padding: 11px 15px;
  border: var(--line);
  border-radius: 10px;
  color: var(--cream);
  background: var(--ink);
  font-family: var(--display);
  font-weight: 400;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  display: flex;
  width: min(1120px, calc(100% - 48px));
  min-height: calc(72px + env(safe-area-inset-top, 0px));
  margin: 0 auto;
  padding-top: env(safe-area-inset-top, 0px);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--hairline);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand__tag {
  display: none;
}

.brand__tag span {
  color: var(--paper);
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1;
}

.brand__words {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.brand__words::first-letter {
  color: var(--tomato);
}

.saved-trigger {
  display: inline-flex;
  min-height: 44px;
  padding: 6px 6px 6px 12px;
  align-items: center;
  gap: 8px;
  border: var(--line);
  border-radius: 999px;
  background: var(--paper);
  cursor: pointer;
  font-family: var(--ui);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.saved-trigger:hover {
  background: color-mix(in srgb, var(--ink) 4%, var(--paper));
}

.saved-trigger__word {
  font-size: inherit;
}

.saved-trigger > span:not(.saved-trigger__word) {
  display: grid;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: var(--paper);
  background: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-link {
  display: inline-flex;
  min-height: 44px;
  padding: 8px 12px;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-family: var(--ui);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.header-link:hover {
  background: color-mix(in srgb, var(--ink) 5%, transparent);
}

.header-link--quiet {
  background: transparent;
}

.hero__actions {
  display: flex;
  margin-top: 28px;
  align-items: center;
  gap: 16px 19px;
  flex-wrap: wrap;
}

.hero__catalog-link {
  font-family: var(--display);
  font-size: 0.76rem;
  font-weight: 400;
}

.hero {
  position: relative;
  display: grid;
  width: min(1120px, calc(100% - 48px));
  min-height: 0;
  margin: 0 auto;
  padding: clamp(56px, 7vw, 96px) 0 clamp(72px, 9vw, 120px);
  align-items: center;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.75fr);
  gap: clamp(36px, 6vw, 80px);
}

.hero::before,
.hero::after {
  display: none;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--tomato);
  font-family: var(--ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow span {
  color: var(--tomato);
}

h1,
h2,
h3,
h4,
p,
li {
  text-wrap: pretty;
}

h1,
h2,
h3,
h4 {
  margin-top: 0;
  font-family: var(--display);
  font-weight: 400;
}

h1 {
  max-width: 14ch;
  margin-bottom: 24px;
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
}

h1 em {
  position: relative;
  display: inline;
  color: var(--tomato);
  font-style: normal;
  transform: none;
}

h1 em::after {
  display: none;
}

.hero__lede {
  max-width: 720px;
  margin: 0;
  font-size: clamp(1.08rem, 2vw, 1.38rem);
  font-weight: 600;
  letter-spacing: -0.025em;
}

.button {
  display: inline-flex;
  min-height: 48px;
  padding: 12px 18px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  font-family: var(--ui);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease;
}

.button--primary {
  border: 0;
  color: var(--paper);
  background: var(--ink);
  box-shadow: none;
}

.button--primary:hover:not(:disabled) {
  background: color-mix(in srgb, var(--ink) 86%, white);
  box-shadow: none;
  transform: none;
}

.button--primary:active:not(:disabled),
.button--secondary:active:not(:disabled) {
  box-shadow: none;
  transform: none;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.4;
  filter: grayscale(0.5);
}

.button--secondary {
  border: var(--line);
  color: var(--ink);
  background: var(--paper);
  box-shadow: none;
}

.button--secondary:hover:not(:disabled) {
  background: color-mix(in srgb, var(--ink) 4%, var(--paper));
  transform: none;
}

.button--text {
  min-height: 46px;
  padding-right: 5px;
  padding-left: 5px;
  border-radius: 0;
  color: inherit;
  background: transparent;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--tomato) 70%, transparent);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.button--text:hover {
  text-decoration-color: currentColor;
  transform: none;
}

.match-desk-dog {
  position: relative;
  margin: 10px 7px 0 0;
  padding: 18px 18px 14px;
  border: var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
  transform: none;
}

.match-desk-dog__tape {
  display: none;
}

.match-desk-dog figcaption {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
}

.match-desk-dog figcaption span {
  padding: 4px 8px;
  border: var(--line);
  border-radius: 999px;
  background: var(--cream);
  font-family: var(--display);
  font-size: 0.61rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.match-desk-dog figcaption strong {
  max-width: 190px;
  font-family: var(--display);
  font-size: 0.75rem;
  line-height: 1.25;
  text-align: right;
}

.match-desk-dog__art {
  display: grid;
  min-height: 350px;
  place-items: end center;
}

.match-desk-dog__art .dog-art {
  width: min(100%, 390px);
}

.dog-art {
  overflow: visible;
}

.dog-art__tail {
  transform-box: fill-box;
  transform-origin: left bottom;
}

.match-desk-dog__art.is-checking .dog-art {
  animation: dog-check 340ms ease-out;
}

.match-desk-dog__art.is-checking .dog-art__tail {
  animation: tail-check 180ms ease-in-out 2 alternate;
}

@keyframes dog-check {
  0% { transform: translateY(5px) rotate(0); }
  58% { transform: translateY(-8px) rotate(-1deg); }
  100% { transform: translateY(0) rotate(0); }
}

@keyframes tail-check {
  from { transform: rotate(0); }
  to { transform: rotate(12deg); }
}

.matcher {
  padding: clamp(72px, 9vw, 120px) max(20px, calc((100vw - 1240px) / 2));
  border-top: var(--line);
  border-bottom: 0;
  color: var(--ink);
  background: transparent;
}

.matcher__heading {
  display: grid;
  margin-bottom: 38px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.6fr);
  column-gap: 48px;
}

.matcher__heading .section-kicker {
  grid-column: 1 / -1;
  color: var(--tomato);
}

.matcher__heading h2 {
  margin-bottom: 0;
  font-size: clamp(2.4rem, 4.6vw, 3.8rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.matcher__heading > p:last-child {
  align-self: end;
  margin: 0 0 3px;
  font-size: 1.05rem;
  font-weight: 600;
}

.matcher-card {
  border: var(--line);
  border-radius: 22px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.matcher-progress {
  padding: 22px clamp(23px, 4vw, 42px) 18px;
  border-bottom: var(--line);
  background: transparent;
}

.matcher-progress p {
  margin: 0 0 11px;
  font-family: var(--ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.progress-track {
  height: 3px;
  border: 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--ink) 10%, transparent);
  overflow: hidden;
}

.progress-track span {
  display: block;
  width: 11.111%;
  height: 100%;
  background: var(--tomato);
  transition: width 220ms ease;
}

#breed-form {
  padding: clamp(28px, 5vw, 52px);
}

.match-step {
  min-width: 0;
  min-height: 360px;
  margin: 0;
  padding: 0;
  border: 0;
}

.match-step:not([hidden]) {
  animation: step-in 220ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes step-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.match-step legend {
  max-width: 970px;
  margin: 0;
  padding: 0;
  scroll-margin-top: 20px;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.2vw, 2.55rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.question-note {
  max-width: 790px;
  margin: 15px 0 29px;
  color: var(--muted);
  font-size: 0.98rem;
  font-weight: 600;
}

.choice-grid {
  display: grid;
  gap: 12px;
}

.choice-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.choice-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.choice-grid--size {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

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

.choice {
  position: relative;
  display: grid;
  min-height: 96px;
  padding: 16px 36px 16px 16px;
  align-content: center;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 1px 12px;
  border: var(--line);
  border-radius: 14px;
  background: var(--paper);
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease;
}

.choice > span {
  display: grid;
  width: 28px;
  height: 28px;
  grid-row: 1 / 3;
  place-items: center;
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-family: var(--ui);
  font-size: 0.68rem;
  font-weight: 600;
}

.choice strong {
  align-self: end;
  font-family: var(--ui);
  font-size: clamp(0.92rem, 1.5vw, 1.02rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.choice small {
  align-self: start;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.25;
}

.choice:hover {
  background: color-mix(in srgb, var(--ink) 3%, var(--paper));
  transform: none;
}

.choice-input:focus-visible + .choice {
  outline: 3px solid #0a66a3;
  outline-offset: 3px;
}

.choice-input:checked + .choice {
  color: var(--ink);
  background: color-mix(in srgb, var(--tomato) 7%, var(--paper));
  border-color: var(--ink);
  box-shadow: none;
  transform: none;
}

.choice-input:checked + .choice small {
  color: var(--muted);
}

.choice-input:checked + .choice::after {
  position: absolute;
  top: 50%;
  right: 14px;
  color: var(--tomato);
  content: "✓";
  font-family: var(--ui);
  font-size: 1rem;
  font-weight: 600;
  transform: translateY(-50%);
}

.form-actions {
  display: flex;
  min-height: 64px;
  margin-top: 33px;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
  border-top: 1px solid var(--hairline);
  padding-top: 25px;
}

.form-actions #back-step {
  margin-right: auto;
}

.no-script {
  width: min(980px, calc(100% - 40px));
  margin: 70px auto;
  padding: 30px;
  border: var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.no-script h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: -0.06em;
  line-height: 1;
}

.result {
  padding: clamp(62px, 7vw, 94px) max(20px, calc((100vw - 1240px) / 2)) clamp(76px, 9vw, 118px);
  border-bottom: var(--line);
  color: var(--cream);
  background: var(--ink);
}

.result__heading {
  max-width: 900px;
  margin: 0 auto 32px;
  text-align: center;
}

#result-title {
  scroll-margin-top: 24px;
}

.result__heading .section-kicker {
  color: var(--tomato);
}

.result__heading h2 {
  margin-bottom: 15px;
  font-size: clamp(2.5rem, 5vw, 4.1rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.result__heading p:last-child {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.06rem;
  font-weight: 600;
}

.readiness {
  display: grid;
  width: min(100%, 940px);
  margin: 0 auto 30px;
  padding: 24px 27px;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 22px;
  border: 1px solid rgb(255 248 232 / 16%);
  border-radius: 18px;
  color: var(--cream);
  background: rgb(255 248 232 / 5%);
  box-shadow: none;
  transform: none;
}

.readiness[data-level="plan-first"] {
  border-color: color-mix(in srgb, var(--tomato) 50%, transparent);
  background: rgb(214 69 46 / 12%);
}

.readiness[data-level="check-plan"] {
  background: rgb(255 248 232 / 7%);
}

.readiness__stamp {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border: var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transform: none;
}

.readiness h3 {
  margin-bottom: 5px;
  font-size: clamp(1.35rem, 3vw, 2rem);
  letter-spacing: -0.055em;
  line-height: 1;
}

.readiness p {
  margin: 0 0 7px;
  font-weight: 600;
}

.readiness a {
  font-family: var(--display);
  font-size: 0.76rem;
  font-weight: 400;
}

.result-tools {
  width: min(100%, 1100px);
  margin: 0 auto 38px;
}

.result-actions {
  display: flex;
  margin: 0;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 13px;
}

.result-actions .button--primary {
  color: var(--ink);
  background: var(--cream);
  box-shadow: none;
}

.result-actions .button--secondary {
  color: var(--cream);
  background: transparent;
  border-color: rgb(255 248 232 / 28%);
}

.result-actions .button--text {
  color: var(--cream);
}

.action-status {
  min-height: 24px;
  margin: 14px 0 0;
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
}

.action-privacy {
  margin: 2px 0 0;
  color: #d2cbc0;
  font-size: 0.74rem;
  font-weight: 600;
  text-align: center;
}

.answer-recap {
  display: grid;
  margin: 0 auto 32px;
  padding: clamp(23px, 3vw, 32px);
  grid-template-columns: minmax(190px, 0.45fr) minmax(0, 1.55fr);
  gap: 25px 36px;
  border: var(--line);
  border-color: var(--cream);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.answer-recap h3,
.quick-compare h3,
.full-notes-heading h3,
.rescue-finder h3 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.65rem);
  letter-spacing: -0.065em;
  line-height: 0.95;
}

.answer-recap dl {
  display: grid;
  margin: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.answer-recap dl > div {
  min-width: 0;
  padding: 11px 12px;
  border: var(--line);
  border-radius: 11px;
  background: var(--cream);
}

.answer-recap dt {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.answer-recap dd {
  margin: 3px 0 0;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
}

.quick-compare {
  margin: 0 auto 48px;
}

.quick-compare > header {
  display: flex;
  margin-bottom: 18px;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.quick-compare > header > p {
  max-width: 420px;
  margin: 0;
  color: #d2cbc0;
  font-size: 0.86rem;
  font-weight: 600;
  text-align: right;
}

.quick-compare__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

.quick-compare__grid article {
  display: flex;
  min-width: 0;
  padding: 20px;
  flex-direction: column;
  border: var(--line);
  border-color: var(--cream);
  border-radius: 16px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: none;
}

.quick-compare__grid article:nth-child(2),
.quick-compare__grid article:nth-child(3),
.quick-compare__grid article[data-fit="near"] {
  background: var(--paper);
  box-shadow: none;
}

.quick-compare__rank {
  margin: 0 0 5px;
  font-family: var(--display);
  font-size: 0.63rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.quick-compare h4 {
  margin: 0 0 16px;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.quick-compare ul {
  display: grid;
  margin: 0 0 15px;
  padding: 0;
  gap: 8px;
  list-style: none;
}

.quick-compare li {
  position: relative;
  display: grid;
  min-height: 46px;
  padding: 8px 10px 8px 32px;
  border: var(--line);
  border-radius: 10px;
  background: var(--cream);
}

.quick-compare li::before {
  position: absolute;
  top: 11px;
  left: 10px;
  content: "✓";
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 400;
}

.quick-compare li[data-state="check"]::before {
  color: #ad2a1c;
  content: "!";
}

.quick-compare li strong {
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}

.quick-compare li span,
.quick-compare__grid article > p {
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.35;
}

.quick-compare__grid article > p {
  margin: 0 0 15px;
}

.quick-compare__grid article > a {
  margin-top: auto;
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 400;
}

.full-notes-heading {
  margin: 0 0 20px;
}

.full-notes-heading .section-kicker {
  color: var(--tomato);
}

.breed-cards {
  display: grid;
  align-items: start;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 21px;
}

.breed-card {
  border: var(--line);
  border-color: var(--cream);
  border-radius: 19px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: none;
  overflow: hidden;
}

.breed-card:nth-child(2) {
  box-shadow: none;
  transform: none;
}

.breed-card:nth-child(3) {
  box-shadow: var(--shadow);
}

.breed-card[data-fit="near"] {
  box-shadow: var(--shadow);
}

.breed-photo {
  margin: 0;
  border-bottom: var(--line);
  background: var(--cream);
}

.breed-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  background: var(--cream);
  object-fit: contain;
}

.breed-photo figcaption {
  min-height: 38px;
  padding: 7px 10px;
  border-top: var(--line);
  color: var(--muted);
  background: var(--paper);
  font-size: 0.62rem;
  font-weight: 600;
  line-height: 1.3;
}


.breed-card__head {
  display: grid;
  min-height: 132px;
  padding: 20px;
  align-items: start;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 15px;
  border-bottom: var(--line);
  background: var(--cream);
}

.breed-card:nth-child(2) .breed-card__head,
.breed-card:nth-child(3) .breed-card__head,
.breed-card[data-fit="near"] .breed-card__head {
  background: var(--cream);
}

.breed-number {
  display: grid;
  width: 55px;
  height: 55px;
  place-items: center;
  border: var(--line);
  border-radius: 50%;
  background: var(--paper);
  font-family: var(--display);
  font-size: 0.87rem;
  font-weight: 400;
  transform: none;
}

.breed-card__head p {
  margin: 1px 0 7px;
  font-family: var(--display);
  font-size: 0.61rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.3;
  text-transform: uppercase;
}

.breed-card__head h3 {
  margin-bottom: 0;
  font-size: clamp(1.45rem, 2.4vw, 2.05rem);
  letter-spacing: -0.065em;
  line-height: 0.95;
}

.breed-glance {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-bottom: var(--line);
  list-style: none;
}

.breed-glance li {
  min-height: 68px;
  padding: 10px 12px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.breed-glance li:nth-child(2n) {
  border-right: 0;
}

.breed-glance li:last-child {
  grid-column: 1 / -1;
  border-bottom: 0;
}

.breed-glance span,
.breed-glance strong {
  display: block;
}

.breed-glance span {
  color: var(--muted);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.breed-glance strong {
  margin-top: 2px;
  font-size: 0.79rem;
  line-height: 1.25;
}

.why-fit {
  padding: 22px 22px 15px;
}

.why-fit h4 {
  margin-bottom: 10px;
  font-size: 0.92rem;
  letter-spacing: -0.035em;
}

.why-fit ul,
.breed-catch ul {
  margin: 0;
  padding-left: 20px;
}

.why-fit li,
.breed-catch li {
  margin-bottom: 7px;
  font-size: 0.83rem;
  font-weight: 500;
  line-height: 1.42;
}

.breed-catch {
  margin: 0 18px 21px;
  padding: 15px 16px;
  border: var(--line);
  border-radius: 12px;
  background: var(--cream);
}

.breed-card[data-fit="near"] .breed-catch {
  background: color-mix(in srgb, var(--tomato) 8%, var(--paper));
}

.breed-catch p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.43;
}

.breed-catch ul + p {
  margin-top: 12px;
}

.breed-card__footer {
  display: grid;
  padding: 17px 21px 20px;
  gap: 6px;
  border-top: 1px dashed var(--rule);
}

.breed-card__footer a {
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 400;
}

.breed-card__footer small {
  color: var(--muted);
  font-size: 0.68rem;
}

.review-note {
  max-width: 850px;
  margin: 58px auto 0;
  padding: 13px 17px;
  border: 2px solid var(--cream);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
  text-align: center;
}

.meeting-list {
  display: grid;
  margin-top: 68px;
  padding: clamp(25px, 4vw, 43px);
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
  gap: 36px 48px;
  border: var(--line);
  border-color: var(--cream);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--paper);
  box-shadow: none;
}

.meeting-list__heading {
  grid-row: 1 / 3;
}

.meeting-list__heading h3 {
  margin-bottom: 15px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -0.075em;
  line-height: 0.93;
}

.meeting-intro {
  font-weight: 600;
}

.meeting-copy {
  margin-top: 13px;
}

.meeting-copy-status {
  min-height: 22px;
  margin: 8px 0 0;
  font-size: 0.74rem;
  font-weight: 600;
}

.meeting-list > ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: meeting-question;
}

.meeting-list > ol li {
  position: relative;
  min-height: 50px;
  margin-bottom: 12px;
  padding: 12px 13px 12px 50px;
  border: var(--line);
  border-radius: 12px;
  background: var(--cream);
  font-size: 0.88rem;
  font-weight: 600;
  counter-increment: meeting-question;
}

.meeting-list > ol li::before {
  position: absolute;
  top: 11px;
  left: 11px;
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: var(--line);
  border-radius: 50%;
  background: var(--paper);
  content: counter(meeting-question);
  font-family: var(--display);
  font-size: 0.65rem;
  font-weight: 400;
}

.health-note {
  padding: 19px 20px;
  border: var(--line);
  border-radius: 14px;
  background: var(--cream);
}

.health-note > strong {
  font-family: var(--display);
  font-size: 0.9rem;
}

.health-note p {
  margin: 6px 0 9px;
  font-size: 0.82rem;
  line-height: 1.45;
}

.health-note a {
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 400;
}

.rescue-finder {
  display: grid;
  margin: 56px auto 0;
  padding: clamp(25px, 4vw, 40px);
  grid-template-columns: minmax(230px, 0.7fr) minmax(0, 1.3fr);
  gap: 26px 42px;
  border: var(--line);
  border-color: var(--cream);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--paper);
  box-shadow: none;
}

.rescue-finder__intro > p:last-child {
  margin: 15px 0 0;
  font-weight: 600;
}

#rescue-finder-title {
  scroll-margin-top: 20px;
}

.rescue-controls {
  padding: 19px;
  border: var(--line);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.rescue-location-button {
  width: 100%;
}

.rescue-divider {
  display: flex;
  margin: 16px 0;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-size: 0.64rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rescue-divider::before,
.rescue-divider::after {
  height: 2px;
  background: var(--ink);
  content: "";
  flex: 1;
}

.rescue-search label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.rescue-search > div {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) auto;
  gap: 10px;
}

.rescue-search input {
  width: 100%;
  min-height: 54px;
  padding: 11px 14px;
  border: var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: var(--paper);
  font-weight: 600;
}

.rescue-status {
  min-height: 22px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 600;
}

.rescue-privacy {
  margin: 7px 0 0;
  color: var(--ink);
  font-size: 0.68rem;
  line-height: 1.45;
}

.rescue-place-choices,
.rescue-results {
  grid-column: 1 / -1;
}

.rescue-place-choices {
  padding: 19px;
  border: var(--line);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.rescue-place-choices > p {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 400;
}

.rescue-place-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.rescue-place-choice {
  min-height: 48px;
  padding: 10px 12px;
  border: var(--line);
  border-radius: 11px;
  color: var(--ink);
  background: var(--cream);
  cursor: pointer;
  font-weight: 600;
  line-height: 1.25;
  text-align: left;
}

.rescue-place-choice:hover {
  background: color-mix(in srgb, var(--ink) 4%, var(--cream));
}

.rescue-results {
  border: var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: var(--shadow);
  overflow: hidden;
  scroll-margin-top: 20px;
}

.rescue-results__head {
  display: flex;
  padding: 18px 20px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: var(--line);
  background: var(--cream);
}

.rescue-results__head h4 {
  max-width: 780px;
  margin: 3px 0 0;
  font-size: clamp(1.2rem, 3vw, 2rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.rescue-map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(290px, 0.85fr);
}

.rescue-map {
  z-index: 0;
  min-height: 520px;
  border-right: var(--line);
  background: #dce8dc;
}

.rescue-result-list {
  max-height: 520px;
  padding: 14px;
  overflow: auto;
  overscroll-behavior: contain;
}

.rescue-result-list ol {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 12px;
  list-style: none;
}

.rescue-result-card {
  padding: 14px;
  border: var(--line);
  border-radius: 13px;
  background: var(--cream);
  box-shadow: var(--shadow);
}

.rescue-result-card[data-active] {
  background: color-mix(in srgb, var(--tomato) 8%, var(--paper));
  box-shadow: none;
}

.rescue-result-card > div:first-child {
  display: grid;
  align-items: start;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 8px;
}

.rescue-result-card > div:first-child span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: var(--line);
  border-radius: 50%;
  background: var(--paper);
  font-family: var(--display);
  font-size: 0.66rem;
  font-weight: 400;
}

.rescue-result-card h4 {
  margin: 2px 0 0;
  font-size: 1rem;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.rescue-result-card p {
  margin: 8px 0 0;
  font-size: 0.71rem;
  line-height: 1.35;
}

.rescue-result-actions {
  display: flex;
  margin-top: 11px;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.rescue-result-actions a,
.rescue-show-map,
.dog-listing-link a {
  font-family: var(--display);
  font-size: 0.76rem;
  font-weight: 400;
}

.rescue-show-map {
  min-height: 44px;
  padding: 7px 10px;
  border: var(--line);
  border-radius: 9px;
  background: var(--paper);
  cursor: pointer;
}

.rescue-coverage {
  margin: 0;
  padding: 11px 15px;
  border-top: var(--line);
  background: var(--cream);
  font-size: 0.67rem;
  font-weight: 600;
  text-align: center;
}

.rescue-map .leaflet-control-zoom a,
.rescue-map .leaflet-popup-content-wrapper,
.rescue-map .leaflet-popup-tip {
  color: var(--ink);
  background: var(--paper);
}

.rescue-map .leaflet-control-zoom,
.rescue-map .leaflet-popup-content-wrapper {
  border: var(--line);
  border-radius: 9px;
  box-shadow: var(--shadow);
}

.rescue-map .leaflet-control-attribution {
  font-size: 0.58rem;
  font-weight: 600;
}

.dog-listing-link {
  margin: 0;
  padding-top: 19px;
  grid-column: 1 / -1;
  border-top: 1px dashed var(--rule);
  font-size: 0.86rem;
  font-weight: 600;
  text-align: center;
}

.support-card {
  display: grid;
  width: min(100%, 900px);
  margin: 62px auto 0;
  padding: clamp(25px, 4vw, 39px);
  align-items: center;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 30px;
  border: var(--line);
  border-color: var(--cream);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--paper);
  box-shadow: none;
  transform: none;
}

.support-card__coin {
  display: grid;
  width: 120px;
  height: 120px;
  place-items: center;
  border: var(--line);
  border-radius: 50%;
  background: var(--paper);
  box-shadow: var(--shadow);
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transform: none;
}

.support-card h3 {
  margin-bottom: 8px;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  letter-spacing: -0.075em;
  line-height: 0.92;
}

.support-card p:not(.section-kicker) {
  max-width: 620px;
  margin: 0 0 20px;
  font-weight: 600;
}

.support-card .sponsor-note {
  margin: 17px 0 0;
  font-size: 0.78rem;
}

.sponsor-note a {
  font-weight: 600;
}

.button--coffee {
  border: 0;
  color: var(--paper);
  background: var(--ink);
  box-shadow: none;
}

.button--coffee:hover {
  color: var(--paper);
  background: color-mix(in srgb, var(--ink) 86%, white);
  transform: none;
}

.support-card small {
  display: block;
  margin-top: 14px;
  font-size: 0.72rem;
  font-weight: 600;
}

.method {
  display: grid;
  padding: clamp(76px, 10vw, 132px) max(20px, calc((100vw - 1240px) / 2));
  grid-template-columns: minmax(270px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(45px, 7vw, 90px);
}

.method > div:first-child h2 {
  margin-bottom: 20px;
  font-size: clamp(2.6rem, 5.5vw, 5rem);
  letter-spacing: -0.08em;
  line-height: 0.9;
}

.method > div:first-child p:last-child {
  font-size: 1.02rem;
  font-weight: 600;
}

.method__cards {
  display: grid;
  gap: 14px;
}

.method__cards article {
  display: grid;
  padding: 22px 23px;
  grid-template-columns: 51px minmax(0, 0.65fr) minmax(0, 1fr);
  align-items: center;
  gap: 17px;
  border: var(--line);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.method__cards article:nth-child(2),
.method__cards article:nth-child(3) {
  background: var(--paper);
  transform: none;
}

.method__cards article > span {
  display: grid;
  width: 49px;
  height: 49px;
  place-items: center;
  border: var(--line);
  border-radius: 50%;
  background: var(--cream);
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 400;
}

.method__cards h3 {
  margin: 0;
  font-size: 1.1rem;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.method__cards p {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.45;
}

.sources {
  display: grid;
  padding: clamp(70px, 9vw, 118px) max(20px, calc((100vw - 1240px) / 2));
  grid-template-columns: minmax(260px, 0.6fr) minmax(0, 1.4fr);
  gap: clamp(38px, 7vw, 95px);
  border-top: var(--line);
  border-bottom: var(--line);
  background: transparent;
}

.sources h2 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: -0.075em;
  line-height: 0.92;
}

.sources__copy > p {
  font-weight: 600;
}

.sources__copy a {
  font-weight: 600;
}

details {
  margin-top: 12px;
  border: var(--line);
  border-radius: 13px;
  background: var(--paper);
}

summary {
  position: relative;
  padding: 16px 48px 16px 17px;
  cursor: pointer;
  font-family: var(--ui);
  font-size: 0.92rem;
  font-weight: 500;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  position: absolute;
  top: 50%;
  right: 17px;
  content: "+";
  font-size: 1.35rem;
  transform: translateY(-50%);
}

details[open] summary::after {
  content: "−";
}

details p {
  margin: 0;
  padding: 0 17px 17px;
  font-size: 0.9rem;
}

.site-footer {
  display: grid;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 40px 0 52px;
  align-items: center;
  grid-template-columns: auto minmax(150px, 0.7fr) auto minmax(260px, 0.9fr);
  gap: 22px;
  border-top: 1px solid var(--hairline);
}

.footer-contact {
  display: grid;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 600;
}

.site-footer p {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 600;
}

.site-footer p:nth-child(2) {
  font-family: var(--display);
  font-size: 0.8rem;
}

.site-footer p:last-child {
  color: var(--muted);
  text-align: right;
}

.saved-dialog__footer {
  display: flex;
  padding: 14px 24px 19px;
  justify-content: flex-end;
  border-top: 1px solid var(--hairline);
}

.saved-dialog__footer .button {
  min-height: 42px;
  color: var(--ink);
  font-size: 0.72rem;
}

.result.is-entering .result__heading,
.result.is-entering .readiness,
.result.is-entering .result-tools,
.result.is-entering .answer-recap,
.result.is-entering .quick-compare,
.result.is-entering .full-notes-heading,
.result.is-entering .breed-card {
  animation: report-in 360ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.result.is-entering .readiness { animation-delay: 45ms; }
.result.is-entering .result-tools { animation-delay: 80ms; }
.result.is-entering .answer-recap { animation-delay: 110ms; }
.result.is-entering .quick-compare { animation-delay: 140ms; }
.result.is-entering .full-notes-heading { animation-delay: 170ms; }
.result.is-entering .breed-card:nth-child(1) { animation-delay: 190ms; }
.result.is-entering .breed-card:nth-child(2) { animation-delay: 220ms; }
.result.is-entering .breed-card:nth-child(3) { animation-delay: 250ms; }

@keyframes report-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
  }
}

.saved-dialog {
  width: min(680px, calc(100% - 28px));
  max-height: min(760px, calc(100vh - 40px));
  padding: 0;
  border: var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.saved-dialog::backdrop {
  background: rgb(23 21 20 / 68%);
}

.exit-dialog {
  width: min(590px, calc(100% - 28px));
  max-height: min(720px, calc(100vh - 32px));
  padding: 0;
  border: var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--paper);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.exit-dialog[open] {
  animation: dialog-pop 180ms ease-out both;
}

.exit-dialog::backdrop {
  background: rgb(23 21 20 / 72%);
  animation: backdrop-in 160ms ease-out both;
}

.exit-dialog__accent {
  height: 3px;
  border-bottom: 0;
  background: var(--tomato);
}

.exit-dialog__body {
  padding: clamp(23px, 5vw, 38px);
}

.exit-dialog h2 {
  margin: 5px 0 14px;
  font-size: clamp(2rem, 7vw, 3.4rem);
  letter-spacing: -0.07em;
  line-height: 0.95;
}

.exit-dialog #exit-dialog-reason {
  max-width: 48ch;
  margin: 0;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.5;
}

.exit-dialog__host {
  display: inline-flex;
  max-width: 100%;
  margin: 19px 0 0;
  padding: 7px 11px;
  border: var(--line);
  border-radius: 999px;
  background: var(--cream);
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 400;
  overflow-wrap: anywhere;
}

.exit-dialog__actions {
  display: grid;
  margin-top: 27px;
  grid-template-columns: minmax(130px, 0.7fr) minmax(0, 1.3fr);
  gap: 11px;
}

.exit-dialog__actions .button {
  min-height: 52px;
  text-align: center;
}

.reset-dialog {
  width: min(540px, calc(100% - 28px));
  padding: 0;
  border: var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--paper);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.reset-dialog[open] {
  animation: dialog-pop 180ms ease-out both;
}

.reset-dialog::backdrop {
  background: rgb(23 21 20 / 72%);
  animation: backdrop-in 160ms ease-out both;
}

.reset-dialog__accent {
  height: 3px;
  border-bottom: 0;
  background: var(--tomato);
}

.reset-dialog__body {
  padding: clamp(23px, 5vw, 38px);
}

.reset-dialog h2 {
  margin: 5px 0 14px;
  font-size: clamp(2rem, 7vw, 3.4rem);
  letter-spacing: -0.07em;
  line-height: 0.95;
}

.reset-dialog #reset-dialog-copy {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.5;
}

.reset-dialog__actions {
  display: grid;
  margin-top: 27px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}

@keyframes dialog-pop {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.saved-dialog__head {
  display: flex;
  padding: 23px 25px;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  border-bottom: var(--line);
  background: var(--cream);
}

.saved-dialog__head h2 {
  margin: 0;
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  letter-spacing: -0.06em;
}

.dialog-close {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  border: var(--line);
  border-radius: 50%;
  background: var(--paper);
  cursor: pointer;
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
}

#saved-empty {
  padding: 28px;
}

#saved-empty p {
  margin: 0;
}

.saved-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.saved-list li {
  display: flex;
  padding: 20px 24px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-bottom: 2px dashed #9d948b;
}

.saved-list li:last-child {
  border-bottom: 0;
}

.saved-list li > div:first-child {
  display: grid;
  gap: 4px;
}

.saved-list strong {
  font-family: var(--display);
  font-size: 0.86rem;
  line-height: 1.3;
}

.saved-list span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
}

.saved-list li > div:last-child {
  display: flex;
  flex: 0 0 auto;
  gap: 9px;
}

.saved-list a,
.saved-list button {
  min-height: 40px;
  padding: 8px 11px;
  border: var(--line);
  border-radius: 9px;
  color: var(--ink);
  background: var(--paper);
  cursor: pointer;
  font-family: var(--display);
  font-size: 0.68rem;
  font-weight: 400;
  text-decoration: none;
}

.saved-list button {
  background: var(--paper);
}

.catalog-page main {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 110px;
}

.catalog-hero {
  display: grid;
  min-height: 480px;
  padding: 38px clamp(28px, 6vw, 76px);
  align-items: center;
  grid-template-columns: minmax(0, 1.25fr) minmax(250px, 0.55fr);
  gap: 34px;
  border: var(--line);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.catalog-hero .eyebrow,
.catalog-hero > h1,
.catalog-hero > p {
  grid-column: 1;
}

.catalog-hero h1 {
  max-width: 11ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.2rem, 7vw, 5.6rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.96;
}

.catalog-hero h1 em {
  color: var(--tomato);
  font-style: normal;
}

.catalog-hero > p {
  max-width: 720px;
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 600;
}

.catalog-proof {
  display: grid;
  padding: 28px 20px;
  grid-row: 1 / 4;
  grid-column: 2;
  place-items: center;
  border: var(--line);
  border-radius: 22px;
  background: var(--cream);
  text-align: center;
  transform: none;
}

.catalog-proof strong {
  font-family: var(--display);
  font-size: clamp(3rem, 6vw, 5.2rem);
  letter-spacing: -0.1em;
  line-height: 0.9;
}

.catalog-proof span {
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 400;
  text-transform: uppercase;
}

.catalog-proof small {
  max-width: 190px;
  margin-top: 9px;
  font-size: 0.66rem;
  font-weight: 600;
}

.catalog-controls {
  position: sticky;
  z-index: 8;
  top: 12px;
  display: grid;
  margin: 60px 0 30px;
  padding: 18px;
  align-items: end;
  grid-template-columns: 90px minmax(220px, 1fr) 58px minmax(160px, 0.3fr) auto auto;
  gap: 10px 12px;
  border: var(--line);
  border-radius: 18px;
  background: rgb(255 253 246 / 96%);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.catalog-controls label {
  align-self: center;
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 400;
  text-transform: uppercase;
}

.catalog-controls input,
.catalog-controls select {
  min-height: 48px;
  padding: 10px 13px;
  border: var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: var(--paper);
  font-weight: 600;
}

.catalog-controls p {
  margin: 0;
  align-self: center;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.catalog-controls .button {
  min-height: 44px;
  align-self: center;
}

.catalog-list {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  list-style: none;
}

.catalog-card {
  display: flex;
  min-width: 0;
  border: var(--line);
  border-radius: 17px;
  background: var(--paper);
  box-shadow: var(--shadow);
  flex-direction: column;
  overflow: hidden;
}

.catalog-card:nth-child(4n + 2) {
  box-shadow: none;
}

.catalog-card:nth-child(4n + 3) {
  box-shadow: none;
}

.catalog-card:nth-child(4n) {
  box-shadow: none;
}

.catalog-photo {
  position: relative;
  display: grid;
  height: 210px;
  margin: 0;
  place-items: center;
  border-bottom: var(--line);
  background: var(--cream);
  overflow: hidden;
}

.catalog-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.catalog-photo figcaption {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 5px 8px;
  border: var(--line);
  border-radius: 999px;
  background: rgb(255 253 246 / 92%);
  font-size: 0.57rem;
  font-weight: 600;
}


.catalog-card__top {
  display: grid;
  min-height: 112px;
  padding: 18px 19px;
  align-content: center;
  gap: 7px;
  border-bottom: var(--line);
  background: var(--cream);
}

.catalog-card__top span {
  font-family: var(--display);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.catalog-card__top strong {
  font-family: var(--display);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.catalog-facts {
  display: grid;
  margin: 0;
  grid-template-columns: 1fr 1fr;
  border-bottom: var(--line);
}

.catalog-facts div {
  min-height: 58px;
  padding: 9px 12px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.catalog-facts div:nth-child(2n) {
  border-right: 0;
}

.catalog-facts div:last-child {
  grid-column: 1 / -1;
  border-bottom: 0;
}

.catalog-facts dt {
  color: var(--muted);
  font-size: 0.59rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.catalog-facts dd {
  margin: 2px 0 0;
  font-size: 0.78rem;
  font-weight: 600;
}

.catalog-card > p {
  margin: 0;
  padding: 17px 18px;
  flex: 1;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.45;
}

.catalog-card > a {
  padding: 14px 18px 17px;
  border-top: 1px dashed var(--rule);
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 400;
}

.catalog-empty {
  margin: 32px 0;
  padding: 28px;
  border: var(--line);
  border-radius: 16px;
  background: var(--paper);
  font-family: var(--display);
  font-weight: 400;
  text-align: center;
}

.catalog-method,
.catalog-next,
.catalog-support {
  border: var(--line);
  border-radius: var(--radius);
}

.catalog-method {
  display: grid;
  margin-top: 90px;
  padding: clamp(28px, 5vw, 58px);
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
  gap: 50px;
  background: var(--paper);
  box-shadow: none;
}

.catalog-method h2,
.catalog-next h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.7rem, 5vw, 5rem);
  letter-spacing: -0.08em;
  line-height: 0.9;
}

.catalog-method p {
  margin-top: 0;
  font-weight: 600;
}

.catalog-method p:last-child {
  margin-bottom: 0;
}

.catalog-next {
  margin-top: 34px;
  padding: clamp(30px, 6vw, 70px);
  background: var(--paper);
  text-align: center;
}

.catalog-next > p:not(.section-kicker) {
  max-width: 760px;
  margin: 20px auto 28px;
  font-size: 1.05rem;
  font-weight: 600;
}

.catalog-support {
  display: grid;
  margin-top: 34px;
  padding: 25px 28px;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 26px;
  background: var(--paper);
  box-shadow: none;
}

.catalog-support p {
  margin: 0;
}

.catalog-support small {
  grid-column: 1 / -1;
  font-size: 0.7rem;
  font-weight: 600;
}

.credits-page main {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 72px 0 110px;
}

.credits-hero {
  padding: clamp(34px, 7vw, 78px);
  border: var(--line);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.credits-hero h1 {
  margin: 0 0 28px;
  font-family: var(--display);
  font-size: clamp(3.2rem, 7vw, 5.6rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.96;
}

.credits-hero h1 em {
  color: var(--tomato);
  font-style: normal;
}

.credits-hero > p {
  max-width: 780px;
  font-size: 1.03rem;
  font-weight: 600;
}

.credit-list {
  display: grid;
  margin: 62px 0 0;
  padding: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  list-style: none;
}

.credit-card {
  display: grid;
  min-width: 0;
  grid-template-columns: 210px minmax(0, 1fr);
  border: var(--line);
  border-radius: 17px;
  background: var(--paper);
  box-shadow: none;
  overflow: hidden;
}

.credit-card:nth-child(3n + 2) {
  box-shadow: none;
}

.credit-card:nth-child(3n) {
  box-shadow: none;
}

.credit-card > img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  border-right: var(--line);
  background: var(--cream);
  object-fit: contain;
}

.credit-card > div {
  min-width: 0;
  padding: 19px;
}

.credit-card h2 {
  margin: 0 0 14px;
  font-size: 1.5rem;
  letter-spacing: -0.055em;
  line-height: 1;
}

.credit-card p {
  margin: 0 0 10px;
  overflow-wrap: anywhere;
  font-size: 0.73rem;
  line-height: 1.42;
}

.credit-links {
  display: flex;
  gap: 8px 13px;
  flex-wrap: wrap;
}

.credit-links a {
  font-family: var(--display);
  font-size: 0.66rem;
  font-weight: 400;
}

.credits-policy {
  margin-top: 55px;
  padding: clamp(27px, 5vw, 54px);
  border: var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: none;
}

.credits-policy h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 5vw, 4.3rem);
  letter-spacing: -0.075em;
  line-height: 0.95;
}

.credits-policy p:last-child {
  margin-bottom: 0;
}

@media (max-width: 1040px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.65fr);
  }

  .choice-grid--size {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .breed-cards {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .catalog-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-controls {
    position: static;
    grid-template-columns: 74px minmax(180px, 1fr) 54px minmax(150px, 0.5fr);
  }

  .catalog-controls p,
  .catalog-controls .button {
    grid-column: span 2;
  }

  .credit-list {
    grid-template-columns: 1fr;
  }

  .breed-card,
  .breed-card:nth-child(2),
  .breed-card:nth-child(3) {
    display: grid;
    grid-template-columns: minmax(245px, 0.78fr) minmax(0, 1.22fr);
    transform: none;
  }

  .breed-photo {
    grid-row: 1;
    grid-column: 1;
  }

  .breed-card__head {
    min-height: 0;
    grid-row: 1;
    grid-column: 2;
  }

  .breed-glance {
    grid-row: 2;
    grid-column: 1;
  }

  .why-fit {
    grid-row: 2;
    grid-column: 2;
    padding-top: 28px;
  }

  .breed-catch {
    grid-row: 3;
    grid-column: 1 / -1;
  }

  .breed-card__footer {
    grid-row: 4;
    grid-column: 1 / -1;
  }

  .rescue-map-layout {
    grid-template-columns: 1fr;
  }

  .rescue-map {
    min-height: 420px;
    border-right: 0;
    border-bottom: var(--line);
  }

  .rescue-result-list {
    max-height: none;
  }

  .site-footer {
    grid-template-columns: auto minmax(160px, 1fr) auto;
  }

  .site-footer > p:last-child {
    grid-column: 1 / -1;
    text-align: left;
  }
}

@media (max-width: 820px) {
  .hero {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
  }

  .hero .hero__copy {
    order: 1;
  }

  .match-desk-dog {
    order: 2;
    width: min(100%, 470px);
    margin: 5px auto 0;
  }

  .matcher__heading,
  .answer-recap,
  .method,
  .sources {
    grid-template-columns: 1fr;
  }

  .matcher__heading > p:last-child {
    max-width: 590px;
    margin-top: 18px;
  }

  .choice-grid--three {
    grid-template-columns: 1fr;
  }

  .choice-grid--size {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .match-step {
    min-height: 0;
  }

  .meeting-list {
    grid-template-columns: 1fr;
  }

  .quick-compare > header {
    align-items: start;
    flex-direction: column;
  }

  .quick-compare > header > p {
    max-width: 620px;
    text-align: left;
  }

  .rescue-finder {
    grid-template-columns: 1fr;
  }

  .meeting-list__heading {
    grid-row: auto;
  }

  .method__cards article {
    grid-template-columns: 51px minmax(0, 1fr);
  }

  .method__cards article p {
    grid-column: 2;
  }

  .site-footer {
    grid-template-columns: auto 1fr;
  }

  .footer-contact {
    display: flex;
    grid-column: 1 / -1;
    flex-wrap: wrap;
    gap: 6px 18px;
  }

  .site-footer p:last-child {
    grid-column: 1 / -1;
    text-align: left;
  }

  .catalog-hero,
  .catalog-method {
    grid-template-columns: 1fr;
  }

  .catalog-proof {
    width: min(320px, 100%);
    min-height: 250px;
    grid-row: auto;
    grid-column: 1;
    justify-self: center;
  }

  .catalog-method {
    gap: 28px;
  }
}

@media (max-width: 650px) {
  .hero,
  .site-footer {
    width: min(100% - 28px, 1240px);
  }

  .site-header {
    min-height: calc(76px + env(safe-area-inset-top, 0px));
  }

  .brand__tag {
    width: 37px;
    height: 37px;
  }

  .brand__words {
    font-size: 1.22rem;
  }

  .header-link {
    padding: 8px 10px;
    font-size: 0.875rem;
  }

  .hero {
    padding-top: 28px;
    padding-bottom: 48px;
  }

  .hero h1,
  .catalog-hero h1 {
    font-size: clamp(1.9rem, 8vw, 2.6rem);
    overflow-wrap: anywhere;
  }

  .hero__button {
    width: 100%;
  }

  .match-desk-dog__art {
    min-height: 290px;
  }

  .matcher,
  .result,
  .method,
  .sources {
    padding-right: 14px;
    padding-left: 14px;
  }

  .matcher {
    padding-top: 52px;
    padding-bottom: 66px;
  }

  .matcher__heading h2 {
    font-size: clamp(2.35rem, 12vw, 3.5rem);
  }

  .matcher-card {
    box-shadow: var(--shadow);
  }

  #breed-form {
    padding: 24px 18px 26px;
  }

  .match-step legend {
    font-size: clamp(1.55rem, 8vw, 2.3rem);
  }

  .choice-grid--two,
  .choice-grid--size {
    grid-template-columns: 1fr;
  }

  .choice {
    min-height: 92px;
  }

  .form-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .form-actions .button {
    width: 100%;
  }

  .form-actions #back-step {
    margin-right: 0;
  }

  .readiness {
    padding: 20px;
    grid-template-columns: 1fr;
    gap: 0;
    box-shadow: var(--shadow);
  }

  .result {
    padding-top: 46px;
  }

  .result__heading {
    margin-bottom: 25px;
  }

  .result__heading h2 {
    font-size: clamp(2.55rem, 14vw, 3.75rem);
  }

  .result-tools {
    margin-bottom: 30px;
  }

  .answer-recap,
  .quick-compare__grid article,
  .rescue-finder {
    padding: 18px;
  }

  .answer-recap dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .answer-recap dl > div:nth-child(8) {
    grid-column: 1 / -1;
  }

  .quick-compare__grid {
    grid-template-columns: 1fr;
  }

  .full-notes-heading {
    margin-top: 42px;
  }

  .readiness__stamp {
    display: none;
  }

  .readiness h3 {
    font-size: 1.35rem;
    line-height: 1.05;
  }

  .readiness p {
    font-size: 0.9rem;
  }

  .breed-card,
  .breed-card:nth-child(2),
  .breed-card:nth-child(3) {
    display: block;
  }

  .breed-card__head {
    min-height: 0;
  }

  .review-note {
    border-radius: 14px;
  }

  .meeting-list {
    padding: 23px 17px;
    box-shadow: var(--shadow);
  }

  .meeting-list > ol li {
    padding-left: 45px;
  }

  .result-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .result-actions .button {
    width: auto;
    min-height: 58px;
    padding-right: 11px;
    padding-left: 11px;
    font-size: 0.74rem;
  }

  .result-actions #save-brief,
  .result-actions #reset-answers {
    grid-column: 1 / -1;
  }

  .action-privacy {
    margin-top: 6px;
  }

  .rescue-search > div {
    grid-template-columns: 1fr;
  }

  .rescue-search .button {
    width: 100%;
  }

  .rescue-place-options {
    grid-template-columns: 1fr;
  }

  .rescue-results__head {
    align-items: flex-start;
    flex-direction: column;
  }

  .rescue-map {
    min-height: 340px;
  }

  .rescue-result-list {
    padding: 10px;
  }

  .exit-dialog__actions,
  .reset-dialog__actions {
    grid-template-columns: 1fr;
  }

  .brand,
  .hero__catalog-link,
  .readiness a,
  .quick-compare__grid article > a,
  .breed-card__footer a,
  .dog-listing-link a,
  .footer-contact a,
  .catalog-card > a,
  .catalog-next a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
  }

  .support-card {
    grid-template-columns: 1fr;
    box-shadow: var(--shadow);
  }

  .support-card__coin {
    width: 86px;
    height: 86px;
    font-size: 2.5rem;
  }

  .button--coffee {
    width: 100%;
  }

  .method__cards article,
  .method__cards article:nth-child(2) {
    padding: 19px;
    grid-template-columns: 45px minmax(0, 1fr);
    transform: none;
  }

  .method__cards article > span {
    width: 43px;
    height: 43px;
  }

  .saved-list li {
    align-items: stretch;
    flex-direction: column;
  }

  .saved-list li > div:last-child {
    width: 100%;
  }

  .saved-list a,
  .saved-list button {
    flex: 1;
    text-align: center;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-contact {
    display: grid;
    grid-column: auto;
  }

  .site-footer p:last-child {
    grid-column: auto;
  }

  .catalog-page main {
    width: min(100% - 28px, 1240px);
    padding-top: 42px;
  }

  .catalog-hero {
    min-height: 0;
    padding: 34px 20px;
    box-shadow: var(--shadow);
  }

  .catalog-hero h1 {
    font-size: clamp(1.85rem, 8vw, 2.4rem);
    overflow-wrap: anywhere;
  }

  .catalog-proof {
    width: 100%;
    min-height: 0;
  }

  .catalog-controls {
    display: grid;
    margin-top: 42px;
    grid-template-columns: 1fr;
  }

  .catalog-controls label,
  .catalog-controls input,
  .catalog-controls select,
  .catalog-controls p,
  .catalog-controls .button {
    grid-column: 1;
  }

  .catalog-controls label:not(:first-child) {
    margin-top: 7px;
  }

  .catalog-list {
    grid-template-columns: 1fr;
  }

  .catalog-method,
  .catalog-next,
  .catalog-support {
    padding: 27px 19px;
  }

  .catalog-support {
    grid-template-columns: 1fr;
  }

  .catalog-support .button {
    width: 100%;
  }

  .catalog-support small {
    grid-column: 1;
  }

  .credits-page main {
    width: min(100% - 28px, 1120px);
    padding-top: 42px;
  }

  .credits-hero,
  .credits-policy {
    padding: 29px 20px;
    box-shadow: var(--shadow);
  }

  .credits-hero h1 {
    font-size: clamp(2.6rem, 12vw, 3.6rem);
  }

  .credit-list {
    margin-top: 42px;
  }

  .credit-card {
    grid-template-columns: 1fr;
  }

  .credit-card > img {
    height: 260px;
    min-height: 0;
    border-right: 0;
    border-bottom: var(--line);
  }
}

@media (max-width: 390px) {
  .saved-trigger .saved-trigger__word {
    display: none;
  }
}

.all-pets-page .pet-lead__notes,
.all-pets-page .pet-lead--alternative > details,
.all-pets-page .result-tools,
.all-pets-page .community-guide {
  border-color: rgb(255 248 232 / 48%);
  color: var(--cream);
  background: transparent;
}

.all-pets-page .pet-lead__notes summary,
.all-pets-page .result-tools > summary,
.all-pets-page .community-guide > summary {
  color: var(--cream);
  background: transparent;
}

.all-pets-page .pet-lead--alternative > details {
  margin: 0;
  border: 0;
  border-radius: 0;
}

.all-pets-page .pet-lead--alternative > details > summary::after {
  display: none;
}

.all-pets-page .pet-lead__notes > div {
  color: var(--cream);
  background: transparent;
}

.all-pets-page .result-tools .pet-result-actions {
  margin-top: 0;
}

@media (pointer: coarse) {
  .button,
  .choice,
  .saved-trigger,
  .header-link {
    min-height: 48px;
  }
}

@media (display-mode: standalone), (display-mode: minimal-ui) {
  .skip-link {
    top: calc(12px + env(safe-area-inset-top, 0px));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* A quieter entry: readable answer rows and secondary details on demand. */
.all-pets-hero { padding-top: 48px; gap: 64px; }
.all-pets-hero::before { display: none; }
.all-pets-hero__copy { position: static; padding-top: 32px; }
.all-pets-hero__copy h1 { max-width: 12ch; line-height: 1.03; }
.all-pets-hero__lede { max-width: 36ch; font-size: 1.05rem; font-weight: 400; }
.matcher-promise { margin: 26px 0 12px; color: var(--muted); font-size: .84rem; }
.intro-dog-link { font-size: .86rem; text-underline-offset: 4px; }
.all-pets-page .pet-choice-grid { grid-template-columns: 1fr; gap: 10px; }
.all-pets-page .pet-choice-grid .choice { min-height: 76px; }
.all-pets-page .pet-choice-grid .choice > span { font-size: 0; width: 19px; height: 19px; border: 1px solid var(--muted); align-self: center; }
.all-pets-page .choice-input:checked + .choice > span { border: 5px solid var(--tomato); }
.all-pets-page .pet-step legend { line-height: 1.12; }
.all-pets-page .question-note { font-weight: 400; }
.coverage-details { margin-top: 24px; }
.coverage-details > summary { cursor: pointer; padding: 16px 0; font-weight: 500; }
.coverage-details .coverage-grid { margin-top: 16px; }
@media (max-width: 980px) {
  .all-pets-hero { max-width: 680px; gap: 28px; padding-top: 28px; }
  .pet-matcher-shell { order: 0; }
  .all-pets-hero__copy { padding-top: 0; }
  .all-pets-hero__copy h1 { max-width: none; font-size: 3rem; }
  .all-pets-hero__copy .eyebrow, .matcher-promise, .intro-dog-link { display: none; }
  .all-pets-hero__lede { max-width: none; }
}
@media (max-width: 480px) {
  .all-pets-hero { padding-top: 20px; gap: 22px; }
  .all-pets-hero__copy h1 { font-size: 2.35rem; margin: 0 0 10px; }
  .all-pets-hero__lede { font-size: .9rem; }
  .all-pets-page .pet-step legend { font-size: 1.8rem; }
  .all-pets-page .pet-choice-grid .choice { min-height: 68px; padding-top: 12px; padding-bottom: 12px; }
}

@media print {
  @page {
    margin: 13mm;
  }

  body {
    color: #000;
    background: #fff;
    font-size: 10pt;
  }

  body::before,
  .site-header,
  .all-pets-hero,
  .hero,
  .matcher,
  .no-script,
  .offline-banner,
  .pwa-hint,
  .pet-result-actions,
  .community-guide,
  .pet-support,
  .coverage,
  .result-tools,
  .rescue-finder,
  .meeting-copy,
  .meeting-copy-status,
  .support-card,
  .method,
  .sources,
  .site-footer,
  .saved-dialog,
  .exit-dialog,
  .reset-dialog {
    display: none !important;
  }

  .result {
    display: block !important;
    padding: 0;
    color: #000;
    background: #fff;
  }

  .pet-result {
    display: block !important;
    padding: 0;
    color: #000;
    background: #fff;
  }

  .all-pets-page main > :not(.pet-result) {
    display: none !important;
  }

  .pet-result__heading {
    display: block;
    margin-bottom: 8mm;
  }

  .pet-result__heading .section-kicker,
  .pet-lead__rank,
  .pet-lead__fit strong,
  .pet-lead__caution strong,
  .pet-lead__photo figcaption,
  .pet-lead h3,
  .pet-lead__summary,
  .pet-lead__fit,
  .pet-lead__caution,
  .pet-lead__notes {
    color: #000;
  }

  .pet-result__heading h2 {
    margin-bottom: 3mm;
    font-size: 28pt;
  }

  .next-steps {
    margin-bottom: 6mm;
    border: 2px solid #000;
    color: #000;
    background: #fff;
  }

  .next-steps .section-kicker,
  .next-steps h3,
  .next-steps li {
    color: #000;
  }

  .pet-leads {
    border-color: #000;
  }

  .pet-lead {
    break-inside: avoid;
    border-color: #000;
  }

  .prepare-first {
    break-inside: avoid;
    border: 2px solid #000;
    color: #000;
    background: #fff;
    box-shadow: none;
  }

  .result__heading {
    margin-bottom: 8mm;
    text-align: left;
  }

  .result__heading .section-kicker {
    color: #000;
  }

  .result__heading h2 {
    margin-bottom: 3mm;
    font-size: 28pt;
  }

  .readiness,
  .meeting-list,
  .breed-card,
  .breed-card:nth-child(2),
  .breed-card:nth-child(3) {
    break-inside: avoid;
    border: 2px solid #000;
    color: #000;
    background: #fff;
    box-shadow: none;
    transform: none;
  }

  .readiness {
    margin-bottom: 8mm;
  }

  .breed-cards {
    display: block;
  }

  .breed-card {
    display: grid;
    margin-bottom: 7mm;
    grid-template-columns: 36% 64%;
  }

  .breed-card__head,
  .breed-card:nth-child(2) .breed-card__head,
  .breed-card:nth-child(3) .breed-card__head,
  .breed-card[data-fit="near"] .breed-card__head {
    grid-column: 1;
    color: #000;
    background: #fff;
  }

  .breed-glance {
    grid-column: 1;
  }

  .why-fit {
    grid-row: 1;
    grid-column: 2;
  }

  .breed-catch,
  .breed-card__footer {
    grid-column: 2;
  }

  .breed-catch,
  .breed-card[data-fit="near"] .breed-catch {
    background: #fff;
  }

  .review-note {
    margin-top: 5mm;
    border-color: #000;
  }

  .meeting-list {
    display: block;
    margin-top: 8mm;
  }

  .meeting-list > ol li,
  .health-note {
    background: #fff;
  }

  a {
    color: #000;
  }
}


/* editorial type: display serif stays regular */
h2, h3, h4 {
  font-weight: 400;
}

.lane-group-title {
  font-family: var(--ui);
  font-weight: 600;
}
