:root {
  --cream-50: #fdfbf5;
  --cream-100: #f7f1e5;
  --cream-200: #ece2d0;
  --cream-300: #ddcfb8;
  --forest-950: #132d25;
  --forest-900: #19382d;
  --forest-800: #23483a;
  --forest-700: #315b49;
  --forest-100: #dce8df;
  --moss: #758667;
  --rust: #984328;
  --gold: #c5944d;
  --ink: #20302a;
  --muted: #69746f;
  --white: #fff;
  --shadow-sm: 0 10px 30px rgb(24 53 43 / 8%);
  --shadow-md: 0 24px 70px rgb(24 53 43 / 14%);
  --radius-sm: .65rem;
  --radius-md: 1.25rem;
  --radius-lg: 2.1rem;
  --container: 1200px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, "Segoe UI", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--cream-50);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

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

a {
  color: inherit;
  text-decoration-thickness: .08em;
  text-underline-offset: .18em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--forest-950);
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.05;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.8rem, 8vw, 6.5rem);
  letter-spacing: -.055em;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.1rem, 4.5vw, 4rem);
  letter-spacing: -.04em;
}

h3 {
  margin-bottom: .65rem;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  letter-spacing: -.025em;
}

::selection {
  color: var(--white);
  background: var(--forest-700);
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: .75rem;
  left: .75rem;
  padding: .8rem 1.1rem;
  color: var(--white);
  background: var(--forest-950);
  border-radius: .4rem;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

.kicker,
.eyebrow {
  display: block;
  margin-bottom: .8rem;
  color: var(--rust);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.kicker::before {
  display: inline-block;
  width: 2.2rem;
  height: 1px;
  margin: 0 .75rem .22rem 0;
  background: currentColor;
  content: "";
}

.kicker-light {
  color: #e5bf7d;
}

.section {
  padding-block: clamp(4.5rem, 9vw, 8.5rem);
}

.section-heading {
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.section-heading h2 {
  max-width: 800px;
  margin-bottom: 0;
}

.split-heading,
.heading-with-link {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.split-heading > p {
  max-width: 480px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-lead {
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.button {
  display: inline-flex;
  min-height: 3.4rem;
  align-items: center;
  justify-content: center;
  padding: .85rem 1.45rem;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: .88rem;
  font-weight: 800;
  letter-spacing: .035em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--forest-800);
  box-shadow: 0 10px 30px rgb(22 52 42 / 16%);
}

.button-primary:hover {
  background: var(--forest-950);
  box-shadow: 0 14px 36px rgb(22 52 42 / 24%);
}

.button-secondary {
  color: var(--forest-900);
  background: transparent;
  border-color: var(--forest-800);
}

.button-secondary:hover {
  color: var(--white);
  background: var(--forest-800);
}

.button-ghost {
  color: var(--forest-900);
  background: rgb(255 255 255 / 52%);
  border-color: rgb(33 73 58 / 20%);
  backdrop-filter: blur(7px);
}

.button-light {
  color: var(--forest-950);
  background: var(--cream-100);
}

.button-outline-light {
  color: var(--cream-50);
  border-color: rgb(255 255 255 / 54%);
}

.button-outline-light:hover {
  color: var(--forest-950);
  background: var(--cream-50);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding-block: .2rem;
  color: var(--forest-800);
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-decoration: none;
}

.text-link span {
  transition: transform .2s ease;
}

.text-link:hover span {
  transform: translateX(.25rem);
}

/* Header */
.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgb(253 251 245 / 94%);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  transition: box-shadow .2s ease, border-color .2s ease;
}

.site-header.is-scrolled {
  border-color: rgb(32 65 53 / 9%);
  box-shadow: 0 8px 24px rgb(23 47 39 / 7%);
}

.header-inner {
  display: flex;
  min-height: 5.3rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: var(--forest-950);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  flex: 0 0 auto;
  place-items: center;
  color: var(--forest-800);
  background: var(--cream-200);
  border-radius: 50%;
}

.brand-mark svg {
  width: 1.8rem;
  fill: currentColor;
}

.brand-mark .brand-mark-snow {
  fill: var(--cream-100);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-copy strong {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
}

.brand-copy small {
  display: none;
  margin-top: .25rem;
  color: var(--muted);
  font-size: .62rem;
  letter-spacing: .035em;
}

.nav-toggle {
  display: grid;
  width: 3rem;
  height: 3rem;
  padding: .72rem;
  place-content: center;
  gap: .3rem;
  background: transparent;
  border: 1px solid var(--cream-300);
  border-radius: 50%;
  cursor: pointer;
}

.nav-toggle > span:not(.sr-only) {
  width: 1.25rem;
  height: 2px;
  background: var(--forest-950);
  transition: transform .2s ease, opacity .2s ease;
}

.nav-toggle[aria-expanded="true"] > span:nth-child(2) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] > span:nth-child(3) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] > span:nth-child(4) {
  transform: translateY(-7px) rotate(-45deg);
}

.primary-nav {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  display: flex;
  visibility: hidden;
  flex-direction: column;
  gap: .1rem;
  min-height: calc(100vh - 5.3rem);
  max-height: calc(100vh - 5.3rem);
  padding: 2rem;
  background: var(--cream-50);
  opacity: 0;
  overflow-y: auto;
  transform: translateY(-1rem);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}

.primary-nav.is-open {
  visibility: visible;
  opacity: 1;
  transform: none;
}

.primary-nav a {
  padding: 1rem .4rem;
  color: var(--forest-950);
  border-bottom: 1px solid var(--cream-200);
  font-family: var(--serif);
  font-size: 1.7rem;
  text-decoration: none;
}

.primary-nav a[aria-current="page"] {
  color: var(--rust);
}

.messages {
  padding-top: 1rem;
}

.message {
  padding: .9rem 1.1rem;
  background: var(--forest-100);
  border-left: 4px solid var(--forest-700);
  border-radius: .4rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - 5.3rem);
  overflow: hidden;
  background: linear-gradient(135deg, var(--cream-100), #f1eadc);
}

.hero::after {
  position: absolute;
  inset: auto -10% -7rem;
  height: 11rem;
  background: var(--cream-50);
  border-radius: 50% 50% 0 0;
  content: "";
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-sun {
  position: absolute;
  top: 7%;
  right: 5%;
  width: clamp(12rem, 28vw, 28rem);
  aspect-ratio: 1;
  background: #f2d6a9;
  border-radius: 50%;
  opacity: .55;
}

.mountain {
  position: absolute;
  right: -6%;
  bottom: 0;
  width: 80%;
  height: 55%;
  opacity: .18;
  clip-path: polygon(0 100%, 18% 54%, 27% 70%, 47% 24%, 60% 51%, 72% 12%, 100% 70%, 100% 100%);
}

.mountain-far {
  right: 20%;
  bottom: 3%;
  background: var(--moss);
}

.mountain-near {
  background: var(--forest-700);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: center;
  gap: 1rem;
  padding-block: clamp(4rem, 8vw, 7rem) 8rem;
}

.hero-copy {
  position: relative;
}

.hero-copy h1 {
  max-width: 780px;
  margin: 0 0 1.5rem;
}

.hero-copy h1 em {
  color: var(--rust);
  font-weight: inherit;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 2rem;
  color: #56625d;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: .75rem;
}

.experience-note {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-top: 2rem;
  color: var(--forest-800);
}

.experience-note strong {
  font-family: var(--serif);
  font-size: 3.6rem;
  font-weight: 500;
  line-height: 1;
}

.experience-note span {
  padding-left: .75rem;
  border-left: 1px solid var(--cream-300);
  font-size: .77rem;
  font-weight: 700;
  letter-spacing: .05em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero-visual {
  max-width: 560px;
  margin: 2rem auto 0;
}

.hero-photo {
  position: relative;
}

.hero-photo-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 4.5;
  border: .6rem solid rgb(255 255 255 / 56%);
  border-radius: 48% 48% 1.7rem 1.7rem;
  box-shadow: var(--shadow-md);
}

.hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-caption {
  position: absolute;
  right: 0;
  bottom: -1.25rem;
  padding: .75rem 1.2rem;
  color: var(--cream-50);
  background: var(--rust);
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  transform: rotate(-4deg);
}

.dog-pair-names {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  color: var(--forest-800);
  font-family: var(--serif);
  font-size: clamp(.85rem, 1.4vw, 1rem);
  line-height: 1.35;
  text-align: center;
}

.dog-pair-names small {
  display: block;
  margin-bottom: .3rem;
  color: var(--rust);
  font-family: var(--sans);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.dog-pair-names-hero {
  margin-top: 2.5rem;
}

.dog-pair-names-values {
  margin-top: 5rem;
}

/* Home sections */
.breed-section {
  position: relative;
  z-index: 3;
}

.breed-grid {
  display: grid;
  gap: 1rem;
}

.breed-card {
  position: relative;
  display: grid;
  min-height: 40rem;
  overflow: hidden;
  padding: clamp(1.6rem, 4vw, 3rem);
  color: var(--cream-50);
  background: var(--forest-800);
  border-radius: var(--radius-lg);
  isolation: isolate;
}

.breed-swiss {
  background: #704333;
}

.breed-card::before {
  position: absolute;
  z-index: -1;
  right: -29%;
  bottom: -18%;
  width: 85%;
  height: 76%;
  background: rgb(255 255 255 / 7%);
  border-radius: 50%;
  content: "";
}

.breed-card-copy {
  position: relative;
  z-index: 2;
  max-width: 100%;
}

.breed-card .eyebrow {
  color: #e6c58f;
}

.breed-card h3 {
  color: var(--cream-50);
  font-size: clamp(2rem, 3vw, 2.35rem);
}

.breed-card p {
  max-width: 14rem;
  color: rgb(255 255 255 / 72%);
}

.breed-card .text-link {
  color: var(--cream-50);
}

.breed-card-portrait {
  position: absolute;
  z-index: 1;
  top: 18rem;
  right: 5%;
  bottom: .75rem;
  left: 5%;
  display: grid;
  grid-template-rows: minmax(0, 1fr) 1.25rem;
  margin: 0;
  pointer-events: none;
}

.breed-card-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 .85rem .95rem rgb(15 22 19 / 23%));
}

.breed-card-portrait figcaption {
  color: rgb(255 255 255 / 76%);
  font-size: .65rem;
  letter-spacing: .03em;
  line-height: 1.25rem;
  text-align: center;
  white-space: nowrap;
}

@media (min-width: 520px) and (max-width: 759px) {
  .breed-card-portrait {
    top: 14.5rem;
  }
}

@media (min-width: 760px) {
  .breed-card-copy {
    max-width: 48%;
  }

  .breed-card-portrait {
    top: 3rem;
    right: 0;
    bottom: .75rem;
    left: 45%;
  }
}

@media (min-width: 1000px) {
  .breed-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.breed-number {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  color: rgb(255 255 255 / 14%);
  font-family: var(--serif);
  font-size: 5rem;
  line-height: 1;
}

.values-section {
  background: var(--cream-100);
}

.values-grid {
  display: grid;
  align-items: center;
  gap: clamp(2.5rem, 7vw, 6rem);
}

.values-photo {
  margin: 0;
}

.values-photo-media {
  position: relative;
}

.values-photo-media > img {
  width: 100%;
  min-height: 24rem;
  object-fit: cover;
  border-radius: 48% 48% var(--radius-lg) var(--radius-lg);
}

.values-photo-media > .values-photo-integrated {
  display: block;
  height: 660px;
  object-position: center 52%;
}

.photo-stamp {
  position: absolute;
  right: .5rem;
  bottom: -3.75rem;
  display: grid;
  width: 7.4rem;
  aspect-ratio: 1;
  place-items: center;
  color: var(--cream-50);
  background: var(--rust);
  border: 5px solid var(--cream-100);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.25;
  text-align: center;
  transform: rotate(6deg);
}

.value-list {
  padding: 0;
  margin: 2rem 0;
  list-style: none;
}

.value-list li {
  display: grid;
  grid-template-columns: 2.7rem 1fr;
  gap: 1rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--cream-300);
}

.value-list li:last-child {
  border-bottom: 1px solid var(--cream-300);
}

.value-icon {
  color: var(--rust);
  font-family: var(--serif);
  font-size: 1.15rem;
}

.value-list strong,
.value-list small {
  display: block;
}

.value-list strong {
  margin-bottom: .2rem;
  color: var(--forest-950);
  font-family: var(--serif);
  font-size: 1.2rem;
}

.value-list small {
  color: var(--muted);
  font-size: .9rem;
}

.featured-section {
  background: var(--cream-100);
}

.dog-grid {
  display: grid;
  gap: 1.4rem;
}

.dog-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgb(36 72 58 / 9%);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}

.dog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.dog-card-photo {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--cream-200);
}

.dog-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.dog-card:hover .dog-card-photo img {
  transform: scale(1.035);
}

.dog-card-body {
  padding: 1.35rem 1.4rem 1.5rem;
}

.dog-card-compact .dog-card-body {
  padding-block: 1.2rem 1.35rem;
}

.dog-card-compact .eyebrow-row {
  justify-content: flex-start;
  margin-bottom: .75rem;
}

.eyebrow-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .45rem;
  color: var(--rust);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.dog-card h3 {
  margin-bottom: .4rem;
}

.dog-card h3 a {
  text-decoration: none;
}

.card-meta {
  min-height: 1.6em;
  margin-bottom: .85rem;
  color: var(--muted);
  font-size: .88rem;
}

.status-badge {
  position: absolute;
  top: .9rem;
  left: .9rem;
  padding: .42rem .72rem;
  color: var(--forest-950);
  background: rgb(255 251 242 / 92%);
  border-radius: 999px;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  backdrop-filter: blur(5px);
}

.status-available {
  color: #fff;
  background: rgb(47 111 76 / 93%);
}

.status-reserved {
  color: #fff;
  background: rgb(174 94 49 / 93%);
}

.pedigree-promo {
  overflow: hidden;
  color: var(--cream-100);
  background: var(--forest-900);
}

.pedigree-promo-inner {
  display: grid;
  align-items: center;
  gap: 3rem;
}

.pedigree-promo h2 {
  color: var(--cream-50);
}

.pedigree-promo p {
  max-width: 570px;
  color: rgb(255 255 255 / 68%);
}

.pedigree-lines {
  position: relative;
  min-height: 18rem;
}

.pedigree-lines svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.pedigree-lines path {
  fill: none;
  stroke: rgb(238 211 165 / 35%);
  stroke-width: 2px;
}

.pedigree-node {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 4.5rem;
  aspect-ratio: 1;
  place-items: center;
  color: var(--forest-950);
  background: var(--cream-100);
  border: 5px solid var(--forest-700);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1.4rem;
}

.node-a { top: 50%; left: 8%; transform: translateY(-50%); }
.node-b { top: 50%; left: 38%; transform: translateY(-50%); }
.node-c { top: 5%; left: 67%; }
.node-d { right: 2%; bottom: 5%; }

.contact-cta {
  background: var(--cream-200);
}

.contact-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.contact-cta h2 {
  margin-bottom: .6rem;
}

.contact-cta p {
  margin-bottom: 0;
  color: var(--muted);
}

/* General page hero */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 7vw, 6rem);
  background: var(--cream-100);
  border-bottom: 1px solid var(--cream-200);
}

.page-hero::before {
  position: absolute;
  top: -7rem;
  right: -3rem;
  width: 25rem;
  aspect-ratio: 1;
  background: #ead6b6;
  border-radius: 50%;
  content: "";
  opacity: .38;
}

.page-hero-inner {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.page-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
}

.page-hero p {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.page-hero-inner > img {
  display: none;
  width: 32%;
  opacity: .38;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-bottom: 2.5rem;
  color: var(--muted);
  font-size: .76rem;
}

.breadcrumbs a {
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs-light {
  color: rgb(255 255 255 / 64%);
}

.listing-section {
  min-height: 35rem;
}

.filter-bar {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
  margin-bottom: 2.5rem;
  background: var(--cream-100);
  border: 1px solid var(--cream-200);
  border-radius: var(--radius-md);
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}

.filter-group label {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.filter-group select,
.pedigree-select-wrap select,
.pedigree-select-wrap input {
  width: 100%;
  min-height: 3.35rem;
  padding: .7rem 2.6rem .7rem 1rem;
  color: var(--forest-950);
  background: var(--white);
  border: 1px solid var(--cream-300);
  border-radius: .7rem;
  cursor: pointer;
}

.pedigree-select-wrap input {
  padding-right: 1rem;
  cursor: text;
}

.filter-reset {
  align-self: center;
  color: var(--muted);
  font-size: .8rem;
}

.listing-summary {
  margin-bottom: 1.5rem;
  color: var(--muted);
}

.empty-state {
  max-width: 620px;
  padding: 3rem 1.5rem;
  margin-inline: auto;
  text-align: center;
}

.empty-state img {
  width: 13rem;
  margin: 0 auto 1.5rem;
  opacity: .8;
}

.empty-state h2 {
  margin-bottom: .7rem;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
}

.empty-state p {
  max-width: 480px;
  margin: 0 auto 1.5rem;
  color: var(--muted);
}

/* Dog detail */
.dog-profile-hero,
.litter-detail-hero {
  padding-block: 2rem clamp(4rem, 8vw, 7rem);
  color: var(--cream-100);
  background: var(--forest-900);
}

.dog-profile-grid {
  display: grid;
  gap: clamp(2rem, 7vw, 6rem);
}

.dog-profile-photo {
  overflow: hidden;
  aspect-ratio: 1 / .95;
  background: var(--forest-800);
  border-radius: 48% 48% var(--radius-lg) var(--radius-lg);
}

.dog-profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dog-profile-copy {
  align-self: center;
}

.profile-labels {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-bottom: 1rem;
  color: #e6c58f;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.profile-labels > span {
  padding: .42rem .75rem;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 999px;
}

.profile-labels .status-pill {
  color: var(--forest-950);
  background: #e5bf7d;
  border-color: transparent;
}

.dog-profile-copy h1,
.litter-detail-hero h1 {
  margin-bottom: 1rem;
  color: var(--cream-50);
  font-size: clamp(3rem, 8vw, 6rem);
}

.dog-titles {
  color: #e5bf7d;
  font-family: var(--serif);
  font-size: 1.2rem;
}

.dog-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 2rem 0;
  border-top: 1px solid rgb(255 255 255 / 15%);
}

.dog-facts > div {
  padding: 1rem .5rem 1rem 0;
  border-bottom: 1px solid rgb(255 255 255 / 15%);
}

.dog-facts dt,
.litter-parents dt {
  color: rgb(255 255 255 / 72%);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.dog-facts dd,
.litter-parents dd {
  margin: .2rem 0 0;
  color: var(--cream-50);
}

.profile-description {
  max-width: 690px;
  color: rgb(255 255 255 / 72%);
}

.profile-description p:last-child {
  margin-bottom: 0;
}

.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2rem;
}

.gallery-grid {
  display: grid;
  grid-auto-rows: 15rem;
  gap: .7rem;
}

.gallery-item {
  overflow: hidden;
  padding: 0;
  background: var(--cream-200);
  border: 0;
  border-radius: var(--radius-md);
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

.lightbox {
  width: min(94vw, 1100px);
  max-width: none;
  padding: 0;
  color: var(--white);
  background: transparent;
  border: 0;
}

.lightbox::backdrop {
  background: rgb(7 19 15 / 92%);
  backdrop-filter: blur(8px);
}

.lightbox figure {
  margin: 0;
}

.lightbox img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
}

.lightbox figcaption {
  padding: .7rem;
  text-align: center;
}

.lightbox-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  display: grid;
  width: 3rem;
  aspect-ratio: 1;
  place-items: center;
  color: var(--white);
  background: rgb(255 255 255 / 12%);
  border: 1px solid rgb(255 255 255 / 25%);
  border-radius: 50%;
  cursor: pointer;
  font-size: 2rem;
}

.parents-section {
  background: var(--cream-100);
}

.parents-grid {
  display: grid;
  gap: 1rem;
}

.parent-card {
  display: flex;
  min-height: 13rem;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1.7rem;
  background: var(--white);
  border-left: 4px solid var(--rust);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.parent-card h3 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.parent-card p {
  color: var(--muted);
}

.health-card {
  display: grid;
  gap: 1.5rem;
  padding: clamp(2rem, 5vw, 4rem);
  background: var(--forest-100);
  border-radius: var(--radius-lg);
}

.health-mark {
  display: grid;
  width: 4rem;
  aspect-ratio: 1;
  place-items: center;
  color: var(--white);
  background: var(--forest-700);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 2rem;
}

.health-card h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.rich-text {
  max-width: 760px;
  color: var(--muted);
}

/* Litters */
.available-section {
  background: var(--cream-100);
}

.litter-grid {
  display: grid;
  gap: 1.2rem;
}

.litter-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--cream-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}

.litter-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.litter-card-top {
  display: flex;
  min-height: 7.5rem;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1.3rem;
  color: var(--cream-50);
  background: var(--forest-800);
}

.litter-card-top time {
  color: rgb(255 255 255 / 65%);
  font-size: .75rem;
}

.litter-icon {
  display: grid;
  width: 3.6rem;
  aspect-ratio: 1;
  place-items: center;
  background: rgb(255 255 255 / 12%);
  border-radius: 50%;
}

.litter-icon svg {
  width: 1.9rem;
  fill: #e5bf7d;
}

.litter-card-body {
  padding: 1.5rem;
}

.litter-card h3 a {
  text-decoration: none;
}

.parent-line {
  display: flex;
  min-height: 3.7rem;
  flex-direction: column;
  gap: .15rem;
  color: var(--muted);
  font-size: .86rem;
}

.litter-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  color: var(--muted);
  border-top: 1px solid var(--cream-200);
  font-size: .78rem;
}

.gentle-note {
  padding-top: 0;
}

.gentle-note-inner {
  display: grid;
  align-items: center;
  gap: 1.2rem;
  padding: clamp(1.6rem, 4vw, 3rem);
  background: var(--cream-100);
  border-radius: var(--radius-lg);
}

.gentle-note-icon {
  display: grid;
  width: 3rem;
  aspect-ratio: 1;
  place-items: center;
  color: var(--white);
  background: var(--rust);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1.3rem;
}

.gentle-note h2 {
  margin-bottom: .4rem;
  font-size: 2rem;
}

.gentle-note p {
  margin: 0;
  color: var(--muted);
}

.litter-detail-hero {
  overflow: hidden;
}

.litter-detail-grid {
  display: grid;
  align-items: end;
  gap: 2rem;
}

.litter-date {
  color: #e5bf7d;
}

.litter-parents {
  display: grid;
  gap: 1rem;
  margin: 0;
}

.litter-parents > div {
  padding: 1.3rem;
  background: rgb(255 255 255 / 7%);
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: var(--radius-md);
}

.litter-parents dd {
  font-family: var(--serif);
  font-size: 1.35rem;
}

.litter-parents .parent-titles {
  color: rgb(255 255 255 / 58%);
  font-family: var(--sans);
  font-size: .78rem;
}

/* Pedigree */
.pedigree-workspace-section {
  min-height: 40rem;
}

.pedigree-search {
  display: grid;
  gap: 1.2rem;
  padding: clamp(1.4rem, 4vw, 2.2rem);
  margin-bottom: 2rem;
  background: var(--cream-100);
  border: 1px solid var(--cream-200);
  border-radius: var(--radius-md);
}

.pedigree-search-copy label {
  display: block;
  color: var(--forest-950);
  font-family: var(--serif);
  font-size: 1.4rem;
}

.pedigree-search-copy span {
  color: var(--muted);
  font-size: .82rem;
}

.pedigree-select-wrap {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: .7rem;
}

.pedigree-summary-section {
  background: var(--cream-100);
}

.pedigree-summary-list {
  display: grid;
  gap: .75rem;
  padding: 0;
  list-style: none;
}

.pedigree-summary-list li {
  display: grid;
  grid-template-columns: 1fr;
  gap: .25rem;
  align-items: center;
  padding: 1rem 1.2rem;
  background: var(--white);
  border: 1px solid var(--cream-200);
  border-radius: var(--radius-sm);
}

.pedigree-generation,
.pedigree-relation,
.pedigree-summary-list small {
  color: var(--muted);
  font-size: .78rem;
}

.pedigree-summary-list a,
.pedigree-summary-list strong {
  color: var(--forest-900);
  font-family: var(--serif);
  font-size: 1.2rem;
}

.pedigree-summary-list small {
  grid-column: auto;
}

.pedigree-summary-note {
  margin: 1.2rem 0 0;
  color: var(--muted);
}

.pedigree-workspace {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--cream-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.pedigree-toolbar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.3rem;
  border-bottom: 1px solid var(--cream-200);
}

.pedigree-toolbar .eyebrow {
  margin-bottom: .2rem;
}

.pedigree-toolbar h2 {
  margin: 0;
  font-size: 1.75rem;
}

.pedigree-controls {
  display: flex;
  gap: .4rem;
}

.icon-button {
  min-width: 2.8rem;
  height: 2.8rem;
  padding-inline: .65rem;
  color: var(--forest-900);
  background: var(--cream-100);
  border: 1px solid var(--cream-200);
  border-radius: .65rem;
  cursor: pointer;
  font-weight: 800;
}

.pedigree-tabs {
  display: flex;
  gap: .4rem;
  padding: .8rem 1.3rem;
  background: var(--cream-50);
  border-bottom: 1px solid var(--cream-200);
}

.pedigree-tab {
  padding: .65rem 1rem;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: .8rem;
  font-weight: 800;
}

.pedigree-tab.is-active {
  color: var(--white);
  background: var(--forest-800);
}

.pedigree-stage {
  position: relative;
  min-height: 33rem;
  overflow: auto;
  background-color: #fbf8f1;
  background-image: radial-gradient(rgb(42 79 64 / 14%) 1px, transparent 1px);
  background-size: 22px 22px;
}

.pedigree-canvas {
  position: relative;
  width: max-content;
  min-width: 100%;
  min-height: 33rem;
  transform-origin: top left;
}

.pedigree-loading,
.pedigree-error {
  position: absolute;
  z-index: 4;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: rgb(251 248 241 / 90%);
  text-align: center;
}

.pedigree-error[hidden],
.pedigree-loading[hidden] {
  display: none;
}

.pedigree-error p {
  color: var(--muted);
}

.spinner {
  width: 2.5rem;
  aspect-ratio: 1;
  margin-bottom: .8rem;
  border: 3px solid var(--cream-300);
  border-top-color: var(--forest-700);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.pedigree-svg {
  position: absolute;
  inset: 0;
  overflow: visible;
  pointer-events: none;
}

.pedigree-edge {
  fill: none;
  stroke: #b8b9a8;
  stroke-width: 2px;
}

.pedigree-person {
  position: absolute;
  display: grid;
  width: 12rem;
  grid-template-columns: 3.2rem 1fr;
  align-items: center;
  gap: .7rem;
  padding: .7rem;
  background: var(--white);
  border: 1px solid var(--cream-300);
  border-radius: .9rem;
  box-shadow: 0 7px 22px rgb(35 66 55 / 10%);
  text-decoration: none;
  transform: translate(-50%, -50%);
}

.pedigree-person.is-root {
  color: var(--white);
  background: var(--forest-800);
  border-color: var(--forest-800);
}

.pedigree-person.is-external {
  border-style: dashed;
}

.pedigree-person img,
.pedigree-person-placeholder {
  width: 3.2rem;
  height: 3.2rem;
  object-fit: cover;
  background: var(--cream-200);
  border-radius: 50%;
}

.pedigree-person strong,
.pedigree-person small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pedigree-person strong {
  font-family: var(--serif);
  font-size: .92rem;
}

.pedigree-person small {
  color: var(--muted);
  font-size: .66rem;
}

.pedigree-person.is-root small {
  color: rgb(255 255 255 / 65%);
}

.pedigree-footer {
  display: flex;
  flex-direction: column;
  gap: .8rem;
  padding: 1rem 1.3rem;
  border-top: 1px solid var(--cream-200);
}

.pedigree-footer p {
  margin: 0;
  color: var(--muted);
  font-size: .72rem;
}

.legend-dot {
  display: inline-block;
  width: .65rem;
  aspect-ratio: 1;
  margin: 0 .3rem 0 .7rem;
  background: var(--forest-800);
  border-radius: 50%;
}

.legend-dot:first-child {
  margin-left: 0;
}

.legend-external {
  background: var(--cream-50);
  border: 1px dashed var(--forest-700);
}

.pedigree-intro {
  display: grid;
  align-items: center;
  gap: clamp(2rem, 7vw, 5rem);
  padding: clamp(1.5rem, 4vw, 4rem);
  background: var(--cream-100);
  border-radius: var(--radius-lg);
}

.pedigree-intro img {
  width: 100%;
}

.pedigree-intro p {
  color: var(--muted);
}

.muted-note {
  padding: 1rem;
  background: var(--cream-200);
  border-radius: .7rem;
  font-size: .9rem;
}

.pedigree-noscript {
  padding: 1.5rem;
  background: var(--cream-100);
}

/* FAQ */
.faq-section {
  min-height: 34rem;
}

.faq-layout {
  display: grid;
  align-items: start;
  gap: clamp(2.5rem, 7vw, 6rem);
}

.faq-aside {
  padding: 1.7rem;
  background: var(--cream-100);
  border-radius: var(--radius-md);
}

.faq-aside h2 {
  font-size: 2.3rem;
}

.faq-aside p {
  color: var(--muted);
}

.faq-item {
  border-top: 1px solid var(--cream-300);
}

.faq-item:last-child {
  border-bottom: 1px solid var(--cream-300);
}

.faq-item summary {
  display: grid;
  grid-template-columns: 1fr 2.7rem;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 0;
  color: var(--forest-950);
  cursor: pointer;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  line-height: 1.25;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-toggle {
  position: relative;
  width: 2.6rem;
  aspect-ratio: 1;
  background: var(--cream-100);
  border-radius: 50%;
}

.faq-toggle::before,
.faq-toggle::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: .9rem;
  height: 2px;
  background: var(--forest-800);
  content: "";
  transform: translate(-50%, -50%);
  transition: transform .2s ease;
}

.faq-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-toggle::after {
  transform: translate(-50%, -50%) rotate(0);
}

.faq-answer {
  max-width: 800px;
  padding: 0 3.7rem 1.7rem 0;
  color: var(--muted);
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* Contacts */
.contact-page {
  position: relative;
  overflow: hidden;
  padding-block: 2rem clamp(5rem, 10vw, 9rem);
  color: var(--cream-50);
  background: var(--forest-900);
}

.contact-page-backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.contact-page-backdrop::before {
  position: absolute;
  right: -10%;
  bottom: -45%;
  width: 70%;
  aspect-ratio: 1;
  background: var(--forest-700);
  border-radius: 50%;
  content: "";
  opacity: .45;
}

.contact-page > .container {
  position: relative;
}

.contact-layout {
  display: grid;
  align-items: start;
  gap: clamp(2.5rem, 8vw, 7rem);
}

.contact-intro h1 {
  color: var(--cream-50);
  font-size: clamp(3rem, 7vw, 5.8rem);
}

.contact-intro > p {
  max-width: 610px;
  color: rgb(255 255 255 / 67%);
  font-size: 1.07rem;
}

.contact-place {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-top: 2.2rem;
}

.contact-place > span {
  display: grid;
  width: 3.3rem;
  aspect-ratio: 1;
  place-items: center;
  background: rgb(255 255 255 / 10%);
  border-radius: 50%;
}

.contact-place svg {
  width: 1.4rem;
  fill: #e5bf7d;
}

.contact-place small,
.contact-place strong {
  display: block;
}

.contact-place small {
  color: rgb(255 255 255 / 72%);
  font-size: .7rem;
}

.contact-card {
  padding: clamp(1.5rem, 5vw, 3rem);
  color: var(--ink);
  background: var(--cream-50);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgb(4 20 14 / 30%);
}

.contact-person + .contact-person {
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  border-top: 1px solid var(--cream-300);
}

.contact-person h2 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  overflow-wrap: anywhere;
}

.contact-options {
  display: grid;
  gap: .7rem;
}

.contact-option {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr) auto;
  align-items: center;
  gap: .8rem;
  padding: .9rem;
  background: var(--white);
  border: 1px solid var(--cream-200);
  border-radius: .9rem;
  text-decoration: none;
  transition: border-color .2s ease, transform .2s ease;
}

.contact-option:hover {
  border-color: var(--forest-700);
  transform: translateX(.2rem);
}

.contact-option-icon {
  display: grid;
  width: 2.5rem;
  aspect-ratio: 1;
  place-items: center;
  color: var(--forest-800);
  background: var(--forest-100);
  border-radius: 50%;
}

.contact-option-icon svg {
  width: 1.35rem;
  fill: currentColor;
}

.contact-option small,
.contact-option strong {
  display: block;
}

.contact-option small {
  color: var(--muted);
  font-size: .65rem;
  line-height: 1.2;
}

.contact-option strong {
  color: var(--forest-950);
  font-family: var(--serif);
  font-size: 1.05rem;
  overflow-wrap: anywhere;
}

.contact-option[href^="mailto:"] strong {
  font-family: var(--sans);
  font-size: .85rem;
  font-weight: 600;
}

.contact-note {
  margin: 1.2rem 0 0;
  color: var(--muted);
  font-size: .75rem;
}

.contact-empty {
  text-align: center;
}

.contact-empty img {
  margin: 0 auto 1rem;
}

.contact-empty h2 {
  font-size: 2.3rem;
}

.contact-empty p {
  color: var(--muted);
}

.contact-tips {
  display: grid;
  gap: 1rem;
}

.contact-tips article {
  padding: 1.5rem;
  border-top: 2px solid var(--forest-700);
  background: var(--cream-100);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.contact-tips article > span {
  color: var(--rust);
  font-family: var(--serif);
}

.contact-tips h3 {
  margin: 1.5rem 0 .5rem;
}

.contact-tips p {
  margin: 0;
  color: var(--muted);
}

/* Error pages */
.error-page {
  display: grid;
  min-height: 68vh;
  place-items: center;
  padding-block: 4rem;
  background: var(--cream-100);
}

.error-page-inner {
  display: grid;
  align-items: center;
  gap: 2.5rem;
  text-align: center;
}

.error-page-inner img {
  max-height: 20rem;
  margin-inline: auto;
  border-radius: var(--radius-lg);
}

.error-code {
  display: block;
  margin-bottom: .5rem;
  color: var(--rust);
  font-family: var(--serif);
  font-size: 2rem;
}

.error-page h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.5rem, 6vw, 4.7rem);
}

.error-page p {
  max-width: 570px;
  margin: 0 auto 1.7rem;
  color: var(--muted);
}

/* Footer */
.site-footer {
  position: relative;
  overflow: hidden;
  padding-top: 6rem;
  color: rgb(255 255 255 / 70%);
  background: var(--forest-950);
}

.footer-mountains {
  position: absolute;
  inset: auto -5% 0;
  height: 68%;
  background: var(--forest-900);
  clip-path: polygon(0 45%, 12% 22%, 23% 50%, 39% 7%, 53% 44%, 68% 17%, 82% 52%, 100% 24%, 100% 100%, 0 100%);
  opacity: .38;
}

.footer-grid,
.footer-bottom {
  position: relative;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 4rem;
}

.brand-light {
  color: var(--cream-50);
}

.brand-light .brand-mark {
  color: var(--cream-100);
  background: rgb(255 255 255 / 10%);
}

.brand-light .brand-copy small {
  color: rgb(255 255 255 / 72%);
}

.footer-brand p {
  margin: 1.2rem 0 0;
  font-size: .85rem;
}

.footer-nav,
.footer-contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .5rem;
}

.footer-nav strong,
.footer-contacts strong {
  margin-bottom: .5rem;
  color: var(--cream-50);
  font-family: var(--serif);
  font-size: 1.1rem;
}

.footer-nav a,
.footer-contacts a {
  font-size: .84rem;
  text-decoration: none;
}

.footer-nav a:hover,
.footer-contacts a:hover {
  color: var(--white);
}

.footer-contact-person {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.footer-contact-person + .footer-contact-person {
  margin-top: .65rem;
}

.footer-contact-name {
  color: var(--cream-50);
  font-size: .84rem;
  font-weight: 700;
}

.footer-messengers {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  padding-block: 1.2rem;
  border-top: 1px solid rgb(255 255 255 / 10%);
  font-size: .68rem;
}

@media (min-width: 560px) {
  .hero-actions {
    flex-direction: row;
    align-items: center;
  }

  .dog-grid,
  .litter-grid,
  .parents-grid,
  .contact-tips {
    grid-template-columns: repeat(2, 1fr);
  }

  .filter-bar {
    grid-template-columns: repeat(2, 1fr);
    align-items: end;
  }

  .filter-submit {
    align-self: end;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item-large {
    grid-row: span 2;
  }

  .pedigree-toolbar,
  .pedigree-footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .pedigree-select-wrap {
    flex-direction: row;
  }

  .pedigree-select-wrap select {
    flex: 1 1 20rem;
  }

  .pedigree-select-wrap input {
    flex: 1 1 13rem;
  }

  .pedigree-summary-list li {
    grid-template-columns: minmax(7rem, .65fr) minmax(4.5rem, .5fr) minmax(10rem, 1.5fr);
    gap: .75rem 1.2rem;
  }

  .pedigree-summary-list small {
    grid-column: 3;
  }
}

@media (min-width: 760px) {
  .container {
    width: min(100% - 3rem, var(--container));
  }

  .brand-copy small {
    display: block;
  }

  .photo-stamp {
    right: -1rem;
  }

  .split-heading,
  .heading-with-link {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

  .breed-card {
    min-height: 34rem;
  }

  .contact-cta-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .contact-cta-inner .button {
    flex: 0 0 auto;
  }

  .page-hero-inner > img {
    display: block;
  }

  .filter-bar {
    grid-template-columns: minmax(14rem, 1fr) minmax(12rem, .8fr) auto auto;
  }

  .parents-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .litter-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gentle-note-inner {
    grid-template-columns: auto 1fr auto;
  }

  .litter-detail-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(20rem, .8fr);
  }

  .pedigree-search {
    grid-template-columns: 1fr;
    align-items: center;
  }

  .pedigree-intro {
    grid-template-columns: 1.2fr .8fr;
  }

  .faq-layout {
    grid-template-columns: minmax(15rem, .65fr) minmax(0, 1.35fr);
  }

  .faq-aside {
    position: sticky;
    top: 7rem;
  }

  .contact-tips {
    grid-template-columns: repeat(3, 1fr);
  }

  .error-page-inner {
    grid-template-columns: .8fr 1.2fr;
    text-align: left;
  }

  .error-page p,
  .error-page-inner img {
    margin-left: 0;
  }

  .footer-grid {
    grid-template-columns: 1.5fr .8fr .8fr;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 960px) {
  body.nav-open {
    overflow: auto;
  }

  .header-inner {
    min-height: 6rem;
  }

  .nav-toggle {
    display: none;
  }

  .primary-nav {
    position: static;
    visibility: visible;
    flex-direction: row;
    align-items: center;
    gap: .2rem;
    padding: 0;
    background: transparent;
    min-height: 0;
    max-height: none;
    overflow: visible;
    opacity: 1;
    transform: none;
  }

  .primary-nav a {
    position: relative;
    padding: .75rem .65rem;
    border: 0;
    font-family: var(--sans);
    font-size: .76rem;
    font-weight: 700;
  }

  .primary-nav a:not(.nav-contact)::after {
    position: absolute;
    right: .65rem;
    bottom: .5rem;
    left: .65rem;
    height: 1px;
    background: var(--rust);
    content: "";
    transform: scaleX(0);
    transition: transform .2s ease;
  }

  .primary-nav a:hover::after,
  .primary-nav a[aria-current="page"]::after {
    transform: scaleX(1);
  }

  .primary-nav .nav-contact {
    padding-inline: 1.1rem;
    color: var(--white);
    background: var(--forest-800);
    border-radius: 999px;
  }

  .hero {
    min-height: calc(100vh - 6rem);
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.07fr) minmax(23rem, .73fr);
    padding-block: 5rem 8rem;
  }

  .hero-visual {
    margin: 0;
  }

  .values-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  }

  .dog-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .pedigree-promo-inner {
    grid-template-columns: .9fr 1.1fr;
  }

  .dog-profile-grid {
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  }

  .dog-profile-photo {
    max-height: 46rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-item-large {
    grid-column: span 2;
  }

  .litter-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(22rem, .75fr);
  }
}

@media (min-width: 1180px) {
  .primary-nav {
    gap: .5rem;
  }

  .primary-nav a {
    padding-inline: .85rem;
    font-size: .8rem;
  }

  .dog-grid {
    gap: 1.7rem;
  }
}

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

  .breed-card {
    width: 100%;
    max-width: 47.5rem;
    min-height: 23.125rem;
    grid-template-columns: 52% 48%;
    margin-inline: auto;
    padding: 0;
    border-radius: 1.75rem;
  }

  .breed-card-copy {
    align-self: start;
    min-width: 0;
    max-width: none;
    padding: clamp(1.5rem, 2.4vw, 1.875rem);
  }

  .breed-card h3 {
    font-size: clamp(1.875rem, 2.2vw, 2.125rem);
  }

  .breed-card p {
    max-width: 16rem;
  }

  .breed-card-portrait {
    top: .5rem;
    right: .25rem;
    bottom: .5rem;
    left: 52%;
  }
}

@media (max-width: 519px) {
  .breed-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(18rem, 1fr);
    min-height: 32.5rem;
  }

  .breed-card-copy {
    padding: 1.5rem 1.5rem 0;
  }

  .breed-card h3 {
    font-size: 1.875rem;
  }

  .breed-card p {
    margin-bottom: .5rem;
  }

  .breed-card-portrait {
    position: relative;
    grid-row: 2;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    min-height: 18rem;
    margin-top: .5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .button,
  .pedigree-controls {
    display: none !important;
  }

  body {
    background: #fff;
  }

  main {
    color: #000;
  }
}
