:root {
  color-scheme: light;
  --ink: #1f2724;
  --muted: #65716b;
  --paper: #fbfaf7;
  --panel: #ffffff;
  --line: #dde0d9;
  --forest: #284a3b;
  --leaf: #357255;
  --rosewood: #a65f49;
  --gold: #f0c66d;
  --sky: #dae7ea;
  --shadow: 0 18px 46px rgba(31, 39, 36, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 64px);
  color: #fff;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(251, 250, 247, 0.95);
  color: var(--ink);
  box-shadow: 0 8px 30px rgba(31, 39, 36, 0.08);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.site-nav {
  display: flex;
  gap: clamp(18px, 3vw, 34px);
  font-size: 0.94rem;
  font-weight: 760;
}

.site-nav a {
  text-decoration: none;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  place-items: center;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  margin: 2px 0;
}

.hero {
  min-height: 94vh;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
  background: var(--forest);
  color: #fff;
}

.hero-content {
  align-self: end;
  padding: 118px clamp(18px, 5vw, 64px) 72px;
}

.hero-media {
  position: relative;
  min-height: 560px;
  order: 2;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(40, 74, 59, 0.32), rgba(40, 74, 59, 0));
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--rosewood);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--gold);
}

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

h1 {
  margin-bottom: 20px;
  font-size: clamp(4rem, 12vw, 8.8rem);
  line-height: 0.88;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.1rem, 5vw, 4.8rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.22rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 600px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.08rem, 2vw, 1.36rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 12px 18px;
  font-weight: 820;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  background: var(--leaf);
  color: #fff;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.58);
  color: #fff;
}

.availability-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.availability-bar div {
  padding: 28px clamp(18px, 5vw, 64px);
  border-right: 1px solid var(--line);
}

.availability-bar div:last-child {
  border-right: 0;
}

.availability-bar strong,
.availability-bar span {
  display: block;
}

.availability-bar strong {
  margin-bottom: 6px;
}

.availability-bar span {
  color: var(--muted);
}

.section {
  padding: clamp(64px, 10vw, 128px) clamp(18px, 5vw, 64px);
}

.section-heading {
  max-width: 850px;
  margin-bottom: 34px;
}

.section-heading p,
.contact-section > div > p {
  color: var(--muted);
  font-size: 1.08rem;
}

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

.puppy-card {
  display: grid;
  grid-template-rows: 360px 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(31, 39, 36, 0.08);
}

.puppy-card.featured {
  border-color: rgba(53, 114, 85, 0.45);
  box-shadow: var(--shadow);
}

.puppy-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.puppy-card div {
  padding: 24px;
}

.status {
  display: inline-flex;
  margin-bottom: 14px;
  border-radius: 999px;
  background: #e9f1ec;
  color: var(--leaf);
  padding: 6px 10px;
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

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

.puppy-card a {
  font-weight: 850;
  color: var(--leaf);
}

.story-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr);
  gap: clamp(28px, 6vw, 88px);
  background: #26342f;
  color: #fff;
}

.story-section .eyebrow {
  color: var(--gold);
}

.breed-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.95fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: center;
  background: #fff;
}

.breed-section > div:first-child p:last-child {
  margin-top: 22px;
  color: var(--muted);
  font-size: 1.08rem;
}

.breed-panel {
  display: grid;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #eef4f1);
  padding: 24px;
  box-shadow: var(--shadow);
}

.breed-stat {
  display: grid;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
}

.breed-stat strong {
  color: var(--forest);
  font-size: clamp(3rem, 7vw, 5.4rem);
  line-height: 0.9;
}

.breed-stat span {
  color: var(--muted);
  font-weight: 760;
}

.breed-mix {
  display: grid;
  gap: 14px;
}

.breed-mix div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 68px minmax(128px, 0.8fr);
  gap: 14px;
  align-items: center;
}

.breed-mix span {
  position: relative;
  display: block;
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #dbe5df;
}

.breed-mix span::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--value);
  background: var(--leaf);
}

.breed-mix strong {
  color: var(--forest);
  font-size: 1.3rem;
}

.breed-mix p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.parent-section {
  background: #eef4f1;
}

.parent-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 18px;
}

.parent-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(31, 39, 36, 0.08);
}

.parent-card img {
  width: 100%;
  height: 430px;
  object-fit: cover;
}

.parent-card.large img {
  height: 520px;
}

.parent-card div {
  padding: 24px;
}

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

.standard-list {
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.standard-list article {
  padding: 28px;
  background: #26342f;
}

.standard-list span {
  display: block;
  margin-bottom: 24px;
  color: var(--gold);
  font-weight: 900;
}

.standard-list p {
  color: rgba(255, 255, 255, 0.76);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  grid-auto-rows: 260px;
  gap: 14px;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.gallery-grid img:first-child {
  grid-row: span 2;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.78fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: start;
  background: linear-gradient(180deg, var(--paper), #eef4f1);
}

.contact-note {
  display: grid;
  gap: 4px;
  margin-top: 24px;
  border-left: 4px solid var(--leaf);
  background: #fff;
  padding: 18px;
  box-shadow: 0 10px 28px rgba(31, 39, 36, 0.07);
}

.contact-note span {
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 24px;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfaf7;
  color: var(--ink);
  font: inherit;
  padding: 13px 14px;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(53, 114, 85, 0.18);
  border-color: var(--leaf);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
  padding: 28px clamp(18px, 5vw, 64px);
  color: var(--muted);
}

.site-footer span:first-child {
  color: var(--ink);
  font-weight: 900;
}

@media (max-width: 920px) {
  .hero,
  .breed-section,
  .story-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-media {
    order: 0;
    min-height: 52vh;
  }

  .hero-content {
    padding-top: 34px;
  }

  .availability-bar,
  .parent-grid,
  .puppy-grid {
    grid-template-columns: 1fr;
  }

  .parent-card img,
  .parent-card.large img {
    height: 360px;
  }

  .availability-bar div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .availability-bar div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 780px) {
  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: fixed;
    top: 74px;
    left: 16px;
    right: 16px;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    overflow: hidden;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 320px;
  }

  .gallery-grid img:first-child {
    grid-row: span 1;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .hero-actions,
  .button {
    width: 100%;
  }

  .puppy-card {
    grid-template-rows: 310px 1fr;
  }

  .breed-mix div {
    grid-template-columns: 1fr 56px;
  }

  .breed-mix p {
    grid-column: 1 / -1;
  }
}
