:root {
  --ink: oklch(16% 0.006 70);
  --charcoal: oklch(24% 0.006 70);
  --soft-ink: oklch(45% 0.006 70);
  --muted: oklch(59% 0.006 70);
  --paper: oklch(98% 0.004 70);
  --milk: oklch(94% 0.004 70);
  --line: oklch(78% 0.004 70);
  --barn: oklch(43% 0.075 39);
  --maple: oklch(55% 0.18 30);
  --display: "Fredoka", "Trebuchet MS", sans-serif;
  --body: "Quicksand", "Segoe UI", sans-serif;
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--soft-ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: clamp(1.02rem, 0.98rem + 0.18vw, 1.16rem);
  line-height: 1.65;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: oklch(13% 0.005 70);
  color: var(--paper);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  min-height: 118px;
}

.brand {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.25rem);
  text-decoration: none;
}

.brand-logo {
  width: clamp(150px, 16vw, 210px);
}

.canadian {
  width: clamp(105px, 11vw, 160px);
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  color: var(--paper);
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 34px;
  height: 5px;
  border-radius: 99px;
  background: currentColor;
}

.main-nav {
  position: fixed;
  inset: 0;
  display: grid;
  place-content: center;
  gap: var(--space-lg);
  padding: var(--space-3xl) var(--space-xl);
  background: oklch(12% 0.005 70 / 0.98);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.main-nav.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.main-nav a {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  text-align: center;
  text-decoration: none;
}

.main-nav a:last-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.55rem 1.1rem;
  border: 2px solid currentColor;
  border-radius: 0;
}

.nav-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  border: 1px solid oklch(80% 0.004 70 / 0.35);
  border-radius: 50%;
  color: var(--paper);
  background: transparent;
  font: 2rem/1 var(--body);
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: min(700px, 70vh);
  display: grid;
  place-items: start center;
  overflow: hidden;
  background: var(--ink);
}

.hero img {
  width: 100%;
  height: 100%;
  min-height: min(700px, 70vh);
  object-fit: cover;
}

.hero h1 {
  position: absolute;
  top: clamp(9.5rem, 17vw, 13rem);
  margin: 0;
  padding: 0 1rem;
  color: oklch(99% 0.002 70);
  font-family: var(--display);
  font-size: clamp(2.4rem, 5.5vw, 4.25rem);
  line-height: 0.95;
  text-align: center;
  text-shadow: 0 2px 18px oklch(10% 0.004 70 / 0.52);
}

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

.section {
  padding: clamp(3.25rem, 7vw, 5.75rem) 0;
}

.section.dark {
  color: var(--paper);
  background: var(--charcoal);
}

.section.soft {
  background: var(--milk);
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.narrow {
  width: min(900px, calc(100% - 2rem));
}

.center {
  text-align: center;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 var(--space-md);
  color: var(--soft-ink);
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.15;
  border-bottom: 5px solid currentColor;
}

.dark .eyebrow {
  color: var(--paper);
  border-bottom-color: oklch(60% 0.004 70);
}

h1,
h2,
h3 {
  color: var(--ink);
  font-family: var(--display);
  font-weight: 650;
  line-height: 1.04;
  letter-spacing: 0;
}

.dark h1,
.dark h2,
.dark h3 {
  color: var(--paper);
}

h2 {
  margin: 0 0 var(--space-xl);
  font-size: clamp(2.35rem, 4.5vw, 3.75rem);
}

h3 {
  margin: 0 0 var(--space-md);
  font-size: clamp(1.65rem, 3vw, 2.45rem);
}

p {
  margin: 0;
}

p + p {
  margin-top: var(--space-xl);
}

.lead {
  font-size: clamp(1.2rem, 1.1rem + 0.7vw, 1.68rem);
  line-height: 1.6;
}

.about-intro {
  padding-block: clamp(3.5rem, 7vw, 5rem);
}

.about-layout {
  display: grid;
  gap: clamp(2.25rem, 5vw, 3.5rem);
  align-items: center;
}

.about-copy-panel {
  text-align: center;
}

.about-intro .eyebrow {
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  text-transform: none;
  border-bottom-width: 3px;
}

.about-intro h2 {
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: var(--space-lg);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
}

.about-copy {
  max-width: 760px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1rem, 0.95rem + 0.22vw, 1.12rem);
  line-height: 1.72;
}

.about-copy p + p {
  margin-top: 1.15rem;
}

.about-intro .media-block {
  max-width: 980px;
  margin: 0 auto;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 0.9rem 2.3rem;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.button.light {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--ink);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-2xl);
}

.media-block {
  margin-top: var(--space-3xl);
  overflow: hidden;
  border-radius: var(--radius);
}

.media-block img {
  width: 100%;
  max-height: 720px;
  object-fit: cover;
}

.split {
  display: grid;
  gap: var(--space-2xl);
  align-items: center;
}

.home-about-copy {
  display: grid;
  gap: 1rem;
}

.home-about-copy p + p {
  margin-top: 0;
}

.home-about .cta-row {
  margin-top: 1.5rem;
}

.home-about .media-block {
  margin-top: 2.5rem;
}

.stats {
  display: grid;
  gap: var(--space-2xl);
  margin: var(--space-2xl) auto 0;
  text-align: center;
}

.stat {
  display: grid;
  justify-items: center;
  gap: var(--space-sm);
}

.stat strong {
  order: 1;
  display: block;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(4rem, 10vw, 6.4rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.stat span {
  order: 3;
  display: block;
  color: var(--ink);
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  font-weight: 700;
  line-height: 1.18;
}

.stat img {
  order: 2;
  width: clamp(58px, 12vw, 96px);
  margin: var(--space-xs) auto 0;
  opacity: 0.9;
  filter: grayscale(1);
}

.process {
  --process-icon-size: clamp(132px, 34vw, 172px);
  --process-line: oklch(55% 0.004 70);
  --process-circle: oklch(93% 0.004 70);
  --process-bg: var(--paper);
  display: grid;
  gap: clamp(1.85rem, 5vw, 3rem);
  margin-top: clamp(2.25rem, 5vw, 3.75rem);
}

.process-section .container {
  width: min(1320px, calc(100% - 2rem));
}

.process-step {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: clamp(1.35rem, 3vw, 2rem);
  text-align: center;
}

.process-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: var(--process-icon-size);
  aspect-ratio: 1;
  padding: clamp(1.85rem, 5vw, 2.65rem);
  background: var(--process-circle);
  border-radius: 50%;
}

.process-icon::before,
.process-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  width: clamp(18px, 4vw, 28px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--process-bg);
  transform: translateY(-50%);
}

.process-icon::before {
  left: 0;
  transform: translate(-50%, -50%);
}

.process-icon::after {
  right: 0;
  transform: translate(50%, -50%);
}

.process-step img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}

.process-step p {
  max-width: 18ch;
  color: oklch(45% 0.006 70);
  font-family: var(--body);
  font-size: clamp(1.08rem, 1.85vw, 1.35rem);
  font-weight: 400;
  line-height: 1.48;
}

.herd-section-title.process-title {
  gap: clamp(1.65rem, 3vw, 2.75rem);
  margin-bottom: 0;
}

.herd-section-title.process-title h2 {
  font-size: clamp(2.25rem, 4vw, 3.25rem);
}

.herd-section-title.process-title img {
  width: clamp(44px, 5vw, 58px);
  opacity: 0.68;
  filter: brightness(0) invert(0.5);
}

.icon-disc {
  display: grid;
  place-items: center;
  width: 180px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: oklch(92% 0.004 70);
  color: var(--soft-ink);
  font-family: var(--display);
  font-size: 3rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-lg);
}

.service-card,
.review-card,
.policy-card {
  border: 1px solid var(--line);
  padding: var(--space-2xl) var(--space-lg);
  text-align: center;
  background: var(--paper);
}

.review-list {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2rem);
  max-width: 1080px;
}

.reviews-page {
  padding-block: clamp(4rem, 8vw, 6.25rem);
}

.testimonial {
  display: grid;
  align-content: start;
  gap: var(--space-lg);
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: 5px;
  background: oklch(94% 0.004 70);
  text-align: left;
}

.testimonial p {
  max-width: 58ch;
  margin: 0;
  color: var(--soft-ink);
  font-size: clamp(1rem, 0.94rem + 0.24vw, 1.16rem);
  line-height: 1.62;
}

.testimonial h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(1.08rem, 1rem + 0.22vw, 1.22rem);
  font-weight: 700;
  line-height: 1.25;
}

.service-card svg {
  width: 78px;
  height: 78px;
  margin: 0 auto var(--space-xl);
  stroke: var(--soft-ink);
}

.service-card > img {
  width: 116px;
  aspect-ratio: 1;
  margin: 0 auto var(--space-lg);
  object-fit: contain;
}

.service-card h3 {
  font-size: clamp(1.42rem, 2.2vw, 2rem);
  line-height: 1.12;
}

.service-card ul {
  display: grid;
  gap: var(--space-sm);
  margin: var(--space-lg) 0 0;
  padding: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(1.28rem, 2.2vw, 1.8rem);
  font-weight: 700;
  line-height: 1.25;
  list-style: none;
}

.family-section .media-block {
  max-width: 780px;
  margin: var(--space-2xl) auto 0;
  border: 1px solid oklch(61% 0.004 70 / 0.55);
  background: oklch(18% 0.005 70);
}

.family-section .media-block img {
  width: 100%;
  max-height: 680px;
  object-fit: cover;
}

.family-section .media-block h3 {
  margin: 0;
  padding: 1.15rem var(--space-lg) 1.25rem;
  color: var(--paper);
  background: oklch(16% 0.005 70);
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  text-align: left;
}

.family-faq-layout {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.family-panel,
.faq-panel {
  min-width: 0;
}

.family-panel h2,
.faq-panel h2 {
  margin: 0 0 var(--space-xl);
  color: var(--paper);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 600;
  line-height: 1.15;
  text-align: left;
}

.family-panel h2::after,
.faq-panel h2::after {
  content: "";
  display: block;
  width: 72px;
  height: 2px;
  margin-top: 0.55rem;
  background: oklch(70% 0.004 70);
}

.family-carousel {
  width: min(100%, 360px);
}

.family-slider {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 5.55;
}

.family-slide {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid oklch(61% 0.004 70 / 0.55);
  border-radius: var(--radius);
  background: oklch(18% 0.005 70);
  opacity: 0;
  transform: translateX(14px);
  transition: opacity 420ms ease, transform 420ms ease;
  pointer-events: none;
}

.family-slide.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.family-slide img {
  width: 100%;
  height: calc(100% - 3.8rem);
  object-fit: cover;
}

.family-slide h3 {
  display: grid;
  align-items: center;
  height: 3.8rem;
  margin: 0;
  padding: 0 1.05rem;
  color: var(--paper);
  background: oklch(16% 0.005 70);
  font-size: clamp(1.2rem, 1.6vw, 1.45rem);
  line-height: 1.15;
  text-align: left;
}

.family-pagination {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: var(--space-lg);
}

.family-pagination button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: oklch(88% 0.004 70 / 0.48);
  cursor: pointer;
}

.family-pagination button.is-active {
  background: var(--paper);
}

.family-grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  margin-top: var(--space-xl);
}

.family-card {
  display: grid;
  gap: var(--space-md);
  padding: var(--space-lg);
}

.family-card img,
.family-card .placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
}

.family-card img {
  object-fit: cover;
}

.family-card .placeholder {
  display: grid;
  place-items: center;
  min-height: 0;
  padding: var(--space-lg);
  background: oklch(94% 0.004 70);
  font-size: 0.98rem;
  line-height: 1.45;
}

.family-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.45rem, 2vw, 1.85rem);
}

.why-layout {
  display: grid;
  gap: var(--space-2xl);
  align-items: start;
  margin-top: var(--space-xl);
}

.why-layout img {
  width: min(620px, 100%);
  margin: 0 auto;
  border-radius: var(--radius);
}

.why-layout div {
  max-width: 68ch;
}

.herd-page {
  padding-top: clamp(3rem, 7vw, 5rem);
}

.herd-section-title {
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  text-align: center;
}

.herd-section-title img {
  width: 34px;
  opacity: 0.55;
  filter: grayscale(1);
}

.herd-section-title span {
  color: var(--muted);
  font-size: 0.9rem;
}

.herd-section-title h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
}

.herd-section-title-boys {
  margin-top: clamp(4rem, 9vw, 7rem);
}

.herd-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(2.25rem, 5vw, 4rem) clamp(1.5rem, 3vw, 2.5rem);
}

.herd-card {
  display: grid;
  align-content: start;
  gap: var(--space-md);
}

.herd-card figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--milk);
}

.herd-card figure::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background: linear-gradient(to top, oklch(10% 0.005 70 / 0.72), transparent);
}

.herd-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.herd-card figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  padding: 0.85rem 1rem;
  color: var(--paper);
  font-family: var(--display);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 2px 12px oklch(8% 0.005 70 / 0.55);
}

.herd-card p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.92rem, 0.86rem + 0.22vw, 1.02rem);
  line-height: 1.62;
}

.herd-list {
  display: grid;
  gap: clamp(3rem, 6vw, 5.5rem);
}

.animal {
  display: grid;
  gap: var(--space-xl);
  align-items: center;
}

.animal-photo {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--milk);
  box-shadow: 0 18px 45px oklch(18% 0.006 70 / 0.1);
}

.animal-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.animal-photo .placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 0;
  border: 1px dashed oklch(62% 0.004 70);
  border-radius: var(--radius);
  background: oklch(94% 0.004 70);
  color: var(--muted);
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
}

.animal-copy {
  text-align: center;
}

.animal-copy h3 {
  margin-bottom: var(--space-md);
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.animal-copy p {
  max-width: 58ch;
  margin-inline: auto;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  line-height: 1.7;
}

.sale-copy {
  display: grid;
  gap: var(--space-xl);
}

.calves-page {
  padding-top: clamp(3rem, 7vw, 5rem);
}

.coming-soon-stamp {
  width: min(393px, 74vw);
  margin: clamp(1.25rem, 3vw, 2rem) auto clamp(2.75rem, 6vw, 4.5rem);
}

.calves-intro {
  max-width: 86ch;
  margin: 0 auto clamp(2rem, 5vw, 3.5rem);
  color: var(--muted);
  font-size: clamp(0.88rem, 0.82rem + 0.2vw, 0.98rem);
  line-height: 1.55;
  text-align: center;
}

.calves-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 3vw, 2rem);
}

.calves-history-title {
  margin-top: clamp(3.5rem, 7vw, 5.5rem);
}

.calf-card {
  display: grid;
  align-content: start;
  gap: 1rem;
}

.calf-card figure {
  position: relative;
  min-height: 0;
  aspect-ratio: 4 / 5.35;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: transparent;
}

.calf-card-wide-photo figure {
  aspect-ratio: 4 / 3;
}

.calf-card figure::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 42%;
  background: linear-gradient(to top, oklch(10% 0.005 70 / 0.68), transparent);
}

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

.calf-card figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  padding: 0.8rem 1rem;
  color: var(--paper);
  font-family: var(--display);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 700;
  line-height: 1.05;
  text-shadow: 0 2px 12px oklch(8% 0.005 70 / 0.55);
}

.calf-card h3 {
  margin: 0 0 -0.35rem;
  font-family: var(--body);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
}

.calf-card p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.9rem, 0.86rem + 0.16vw, 0.98rem);
  line-height: 1.6;
}

.calf-card p + p {
  margin-top: -0.25rem;
}

.calf-card.status-sold img {
  filter: brightness(0.62);
}

.calf-card.status-sold figure::after,
.calf-card.status-not-for-sale figure::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 62%;
  margin: auto;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}

.calf-card.status-sold figure::after {
  background-image: url("../img/stamp-sold.png");
}

.calf-card.status-not-for-sale figure::after {
  background-image: url("../img/stamp-not-for-sale.png");
}

.calf-card.no-image figure::before {
  display: none;
}

.faq {
  display: grid;
  gap: var(--space-lg);
}

.faq-item {
  border: 1px solid oklch(62% 0.004 70);
}

.faq-question {
  width: 100%;
  padding: var(--space-xl) var(--space-md);
  border: 0;
  color: var(--paper);
  background: transparent;
  font-family: var(--display);
  font-size: clamp(1.45rem, 4.4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  cursor: pointer;
}

.faq-item[open] .faq-question {
  background: oklch(62% 0.004 70);
}

.faq-answer {
  padding: var(--space-xl);
  color: oklch(84% 0.004 70);
  font-size: clamp(1.35rem, 3vw, 2rem);
  text-align: center;
}

.contact-grid {
  display: grid;
  gap: var(--space-2xl);
  align-items: start;
}

.contact-list {
  display: grid;
  gap: var(--space-md);
  margin: var(--space-xl) 0 0;
  padding: 0;
  list-style: none;
}

.contact-list a {
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-form {
  display: grid;
  gap: var(--space-md);
}

label {
  display: grid;
  gap: var(--space-xs);
  color: var(--ink);
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.95rem 1rem;
  color: var(--ink);
  background: var(--paper);
  font: inherit;
}

textarea {
  min-height: 180px;
  resize: vertical;
}

.form-note {
  color: var(--muted);
  font-size: 0.95rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: var(--space-lg);
}

.gallery-item {
  position: relative;
  min-height: 0;
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--milk);
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-wide {
  aspect-ratio: 16 / 9;
}

.gallery-item figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 0.75rem 0.9rem;
  color: var(--paper);
  background: linear-gradient(to top, oklch(12% 0.005 70 / 0.78), transparent);
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
}

.gallery-page {
  padding-block: clamp(3rem, 6vw, 5rem) clamp(4rem, 7vw, 6rem);
}

.legacy-gallery-grid {
  column-count: 1;
  column-gap: 10px;
}

.legacy-gallery-item {
  display: block;
  margin: 0 0 10px;
  overflow: hidden;
  break-inside: avoid;
  border-radius: 2px;
  background: var(--milk);
  text-decoration: none;
}

.legacy-gallery-item img {
  width: 100%;
  transition: transform 220ms ease, filter 220ms ease;
}

.legacy-gallery-item:is(:hover, :focus-visible) img {
  filter: brightness(0.92);
  transform: scale(1.025);
}

.gallery-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 14px;
  margin-top: clamp(2rem, 5vw, 3rem);
}

.gallery-video-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 2px;
  background: oklch(12% 0.005 70);
  color: var(--paper);
  text-decoration: none;
}

.gallery-video-card video {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  opacity: 0.92;
}

.gallery-video-card span {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  background: oklch(10% 0.005 70 / 0.78);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
}

.media-lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 2rem);
  background: oklch(6% 0.004 70 / 0.9);
}

.media-lightbox[hidden] {
  display: none;
}

.media-lightbox-content {
  display: grid;
  place-items: center;
  width: min(100%, 1180px);
}

.media-lightbox-content img,
.media-lightbox-content video {
  max-width: 100%;
  max-height: 86vh;
  border-radius: 3px;
  box-shadow: 0 20px 70px oklch(0% 0 0 / 0.45);
}

.media-lightbox-content video {
  width: min(100%, 860px);
  aspect-ratio: 1;
  object-fit: contain;
  background: oklch(0% 0 0);
}

.media-lightbox-close {
  position: fixed;
  top: clamp(0.75rem, 3vw, 1.5rem);
  right: clamp(0.75rem, 3vw, 1.5rem);
  z-index: 1;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid oklch(100% 0 0 / 0.34);
  border-radius: 50%;
  color: var(--paper);
  background: oklch(10% 0.005 70 / 0.72);
  font: 2rem/1 var(--body);
  cursor: pointer;
}

.site-footer {
  color: var(--paper);
  background:
    radial-gradient(circle at center, oklch(22% 0.006 70 / 0.72), transparent 68%),
    oklch(10% 0.005 70);
}

.footer-inner {
  display: grid;
  gap: var(--space-3xl);
  width: min(1050px, calc(100% - 2rem));
  margin: 0 auto;
  padding: var(--space-4xl) 0 var(--space-2xl);
  text-align: center;
}

.footer-logo {
  width: 170px;
  margin: 0 auto;
}

.footer-links,
.legal-links {
  display: grid;
  gap: var(--space-md);
}

.footer-links a,
.legal-links a {
  text-decoration: none;
}

.footer-title {
  display: inline-block;
  margin-bottom: var(--space-md);
  color: var(--paper);
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 700;
  border-bottom: 5px solid oklch(62% 0.004 70);
}

.socials {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
}

.socials a {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-family: var(--display);
  font-weight: 700;
  text-decoration: none;
}

.socials img {
  width: 24px;
  height: 24px;
}

.copyright {
  padding-top: var(--space-xl);
  border-top: 1px solid oklch(50% 0.004 70 / 0.35);
  color: oklch(86% 0.004 70);
  font-size: 0.95rem;
}

.site-credit {
  display: block;
  margin-top: 0.35rem;
}

.site-credit a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.page-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(300px, 48vw, 520px);
  padding: clamp(4rem, 9vw, 6.5rem) 0;
  overflow: hidden;
  text-align: center;
  background:
    linear-gradient(
      oklch(10% 0.005 70 / 0.36),
      oklch(10% 0.005 70 / 0.46)
    ),
    url("../img/home-hero-live.jpg") center 42% / cover no-repeat;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 42%;
  background: linear-gradient(to top, oklch(10% 0.005 70 / 0.28), transparent);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero .eyebrow {
  display: none;
}

.page-hero h1 {
  margin: 0;
  color: var(--paper);
  font-size: clamp(2.75rem, 5.5vw, 4.5rem);
  text-shadow: 0 3px 22px oklch(8% 0.005 70 / 0.55);
}

.placeholder {
  border: 1px dashed var(--line);
  padding: var(--space-xl);
  color: var(--muted);
}

@media (min-width: 760px) {
  .site-header {
    position: absolute;
    right: 0;
    left: 0;
    padding-top: clamp(1.25rem, 3vw, 2rem);
    background: transparent;
  }

  .header-inner {
    min-height: 88px;
    padding: 0 clamp(1.1rem, 2.5vw, 1.75rem);
    border: 1px solid oklch(100% 0 0 / 0.08);
    background: oklch(10% 0.005 70 / 0.96);
    box-shadow: 0 18px 45px oklch(8% 0.005 70 / 0.3);
  }

  .brand-logo {
    width: clamp(126px, 10vw, 156px);
  }

  .canadian {
    width: clamp(118px, 11vw, 152px);
  }

  .main-nav {
    position: static;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0;
    background: transparent;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .main-nav a {
    font-size: 0.98rem;
    white-space: nowrap;
  }

  .main-nav a:last-child {
    min-height: 42px;
    padding: 0.45rem 0.9rem;
  }

  .nav-toggle,
  .nav-close {
    display: none;
  }

  .split,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  }

  .stats {
    grid-template-columns: repeat(5, 1fr);
  }

  .process {
    grid-template-columns: repeat(4, 1fr);
    align-items: start;
  }

  .process-step:not(:first-child)::before {
    content: "";
    position: absolute;
    top: calc(var(--process-icon-size) / 2);
    right: calc(50% + (var(--process-icon-size) / 2));
    left: calc(-50% + (var(--process-icon-size) / 2));
    height: 1px;
    background: var(--process-line);
    transform: translateY(-50%);
  }

  .animal {
    grid-template-columns: minmax(340px, 0.95fr) minmax(0, 1fr);
  }

  .animal:nth-child(even) .animal-photo {
    order: 2;
  }

  .animal-copy {
    text-align: left;
  }

  .animal-copy p {
    margin-inline: 0;
  }

  .gallery-wide {
    grid-column: span 2;
  }

  .legacy-gallery-grid {
    column-count: 3;
  }

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

  .page-hero {
    min-height: clamp(390px, 42vw, 560px);
    padding-top: clamp(9.5rem, 15vw, 11.25rem);
  }
}

@media (min-width: 1120px) {
  .herd-card-centered {
    grid-column: 2;
  }
}

@media (min-width: 760px) and (max-width: 1119px) {
  .canadian {
    display: none;
  }

  .header-inner {
    width: min(1040px, calc(100% - 2rem));
  }

  .main-nav {
    gap: 0.85rem;
  }

  .main-nav a {
    font-size: 0.92rem;
  }
}

@media (min-width: 760px) and (max-width: 979px) {
  .brand-logo {
    width: clamp(145px, 18vw, 175px);
  }
}

@media (min-width: 980px) {
  .hero,
  .hero img {
    min-height: 690px;
  }

  .intro-section {
    padding: 5rem 0;
  }

  .intro-section .narrow {
    width: min(1080px, calc(100% - 3rem));
  }

  .intro-section .lead {
    font-size: 1.28rem;
    line-height: 1.58;
  }

  .home-about .narrow {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.78fr);
    align-items: center;
    gap: clamp(2.5rem, 5vw, 4.5rem);
    width: min(1180px, calc(100% - 2rem));
    text-align: left;
  }

  .home-about {
    padding: 4.35rem 0;
  }

  .home-about-copy {
    grid-column: 1;
    display: grid;
    align-content: center;
    gap: 1.15rem;
  }

  .home-about .media-block {
    grid-column: 2;
    margin-top: 0;
  }

  .home-about .media-block img {
    height: 540px;
    object-fit: cover;
  }

  .home-about h2 {
    margin-bottom: 0.55rem;
  }

  .home-about p {
    font-size: 1.15rem;
    line-height: 1.58;
  }

  .home-about p + p {
    margin-top: 0;
  }

  .home-about .cta-row {
    justify-content: flex-start;
    margin-top: 1.1rem;
  }

  .page-hero {
    padding-bottom: 5rem;
  }

  .about-intro h2 {
    font-size: clamp(2.45rem, 4vw, 3.45rem);
  }

  .about-copy {
    max-width: 760px;
  }

  .animal {
    gap: clamp(2.5rem, 5vw, 4.5rem);
  }

  .animal-photo img {
    max-height: 560px;
  }

  .animal-copy {
    max-width: 60ch;
  }

  .contact-grid {
    gap: clamp(3rem, 7vw, 6rem);
  }

  .legacy-gallery-grid {
    column-count: 4;
  }

  .contact-grid h2 {
    max-width: 8ch;
  }

  .faq {
    gap: var(--space-md);
  }

  .faq-question {
    padding: 1.35rem 2rem;
    font-size: 1.45rem;
    text-align: left;
  }

  .faq-answer {
    padding: 1.4rem 2rem 1.75rem;
    font-size: 1.08rem;
    line-height: 1.65;
    text-align: left;
  }

  .section.dark .narrow h2 {
    max-width: 760px;
    margin-inline: auto;
    font-size: 2.85rem;
  }

  .stats {
    gap: clamp(1.5rem, 2.5vw, 2.25rem);
  }

  .stat strong {
    font-size: clamp(4.6rem, 6vw, 5.65rem);
  }

  .stat span {
    max-width: 12ch;
    font-size: 1.18rem;
  }

  .stat img {
    width: 74px;
  }

  .process {
    --process-icon-size: clamp(158px, 12vw, 184px);
    column-gap: 0;
    row-gap: 2rem;
    margin-top: clamp(3.35rem, 5.4vw, 4.8rem);
  }

  .process-step {
    gap: clamp(1.35rem, 2.2vw, 1.8rem);
    padding-inline: clamp(0.75rem, 2vw, 1.25rem);
  }

  .process-icon {
    padding: clamp(2.15rem, 3vw, 2.65rem);
  }

  .process-step p {
    font-size: clamp(1.15rem, 1.35vw, 1.32rem);
  }

  .family-section {
    padding: 5.25rem 0;
  }

  .family-faq-layout {
    grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.35fr);
  }

  .family-carousel {
    width: min(100%, 340px);
  }

  .family-section .media-block {
    max-width: 820px;
    margin-top: var(--space-xl);
  }

  .family-section .media-block img {
    height: 560px;
  }

  .family-section .media-block h3 {
    padding: 1.2rem var(--space-xl) 1.35rem;
    font-size: 2rem;
  }

  .family-section .cta-row {
    margin-top: var(--space-xl);
  }

  .service-card {
    padding: var(--space-xl) var(--space-lg) var(--space-2xl);
  }

  .service-card > img {
    width: 108px;
  }

  .service-card h3 {
    min-height: 4.5rem;
    font-size: 1.48rem;
  }

  .service-card ul {
    font-size: 1.28rem;
  }

  .why-section h2 {
    max-width: 700px;
    margin-inline: auto;
    font-size: 3rem;
  }

  .why-layout {
    grid-template-columns: minmax(340px, 0.82fr) minmax(0, 1fr);
    gap: clamp(3rem, 6vw, 5rem);
    margin-top: var(--space-2xl);
  }

  .why-layout img {
    width: 100%;
  }

  .why-layout div {
    max-width: 64ch;
    font-size: 1.08rem;
    line-height: 1.62;
  }

  .site-footer {
    background:
      radial-gradient(circle at 18% 24%, oklch(22% 0.006 70 / 0.62), transparent 32%),
      oklch(10% 0.005 70);
  }

  .footer-inner {
    grid-template-columns: minmax(180px, 0.9fr) repeat(3, minmax(150px, 1fr));
    align-items: start;
    gap: clamp(2rem, 4vw, 4rem);
    width: min(1180px, calc(100% - 3rem));
    padding: 4.5rem 0 2rem;
    text-align: left;
  }

  .footer-logo {
    width: 210px;
    margin: 0;
  }

  .footer-title {
    margin-bottom: var(--space-md);
    font-size: 1.25rem;
  }

  .footer-links,
  .legal-links,
  .site-footer .contact-list {
    gap: 0.55rem;
    font-size: 1rem;
    line-height: 1.45;
  }

  .site-footer .contact-list {
    margin-top: 0;
  }

  .socials {
    grid-column: 1;
    justify-content: flex-start;
  }

  .socials a {
    width: 44px;
    height: 44px;
  }

  .copyright {
    grid-column: 1 / -1;
    padding-top: 1.25rem;
    font-size: 0.9rem;
    text-align: center;
  }
}

@media (max-width: 759px) {
  .header-inner {
    min-height: 120px;
  }

  .canadian {
    display: none;
  }

  .hero h1 {
    top: 3.5rem;
  }

  .page-hero {
    min-height: 320px;
    background-position: center 44%;
  }

  .hero {
    display: block;
    min-height: 0;
    background: var(--ink);
  }

  .hero img {
    display: block;
    height: auto;
    min-height: 0;
    object-fit: contain;
    object-position: center top;
    background: var(--ink);
  }

  .lead {
    text-align: center;
  }
}

@media (min-width: 1280px) {
  .legacy-gallery-grid {
    column-count: 5;
  }
}
