:root {
  --ink: #102435;
  --deep: #0f2d45;
  --deep-2: #173d57;
  --river: #1f6680;
  --gold: #b98634;
  --amber: #d7a44a;
  --leaf: #596f3a;
  --moss: #243d2d;
  --clay: #8c5134;
  --paper: #f4efe4;
  --sand: #e3d5bd;
  --white: #fffaf0;
  --line: rgba(16, 36, 53, 0.18);
  --shadow: 0 22px 60px rgba(10, 24, 35, 0.26);
  --display: "Cooper Black", "Cooper Std Black", "Cooper Std", "Bookman Old Style", "Georgia", serif;
  --body: "Bookman Old Style", "Cooper Std", "Georgia", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(25, 54, 66, 0.055) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(0deg, rgba(25, 54, 66, 0.04) 1px, transparent 1px) 0 0 / 44px 44px,
    var(--paper);
  font-family: var(--body);
  font-weight: 500;
  overflow-x: hidden;
}

p,
li,
small,
dd {
  font-weight: 500;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.14;
  background-image:
    linear-gradient(115deg, transparent 0 42%, rgba(95, 70, 39, 0.12) 43%, transparent 45%),
    radial-gradient(circle at 20% 30%, rgba(255, 250, 240, 0.28), transparent 22%);
  mix-blend-mode: multiply;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

.nav-links,
.nav-cta,
.btn,
.eyebrow,
.brand-card a,
.filter-chip,
.product-actions button,
.product-actions a,
label,
.where-grid a,
.site-footer div,
summary,
.dialog-close {
  font-family: var(--display);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--white);
  padding: 0.65rem 1rem;
  border: 2px solid var(--gold);
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(15, 45, 69, 0.94);
  border-bottom: 4px solid var(--gold);
  backdrop-filter: blur(12px);
}

.nav-shell {
  min-height: 82px;
  display: grid;
  grid-template-columns: 230px 1fr auto;
  align-items: center;
  gap: 2rem;
  width: min(1420px, calc(100% - 32px));
  margin: 0 auto;
}

.brand-mark img {
  width: min(210px, 42vw);
  height: auto;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(0.65rem, 1.35vw, 1.75rem);
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.nav-links a {
  position: relative;
  padding: 1.8rem 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.25rem;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  background: var(--amber);
  transition: transform 180ms ease;
}

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

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 2px solid transparent;
  border-radius: 4px;
  padding: 0.82rem 1.15rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.nav-cta,
.btn.primary {
  background: var(--gold);
  color: #081a26;
}

.nav-cta:hover,
.btn:hover {
  transform: translateY(-2px);
}

.btn.ghost {
  border-color: rgba(255, 250, 240, 0.75);
  color: var(--white);
  background: rgba(15, 45, 69, 0.22);
}

.btn.compact {
  min-height: 40px;
  color: var(--white);
  border-color: rgba(255, 250, 240, 0.4);
  background: rgba(255, 250, 240, 0.12);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 42px;
  border: 1px solid rgba(255, 250, 240, 0.4);
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 23px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: calc(100svh - 82px);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(24px, 1fr) minmax(0, 650px) minmax(360px, 620px) minmax(24px, 1fr);
  align-items: center;
  padding: clamp(4rem, 7vw, 7rem) 0 2rem;
  color: var(--white);
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(9, 28, 42, 0.92), rgba(11, 37, 54, 0.62) 48%, rgba(11, 37, 54, 0.1)),
    linear-gradient(0deg, rgba(10, 24, 35, 0.25), rgba(10, 24, 35, 0.25)),
    url("assets/img/home-hero.jpg") center / cover no-repeat;
  transform: scale(1.02);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 28vh;
  z-index: -1;
  background: linear-gradient(0deg, var(--paper), rgba(244, 239, 228, 0));
}

.hero-content {
  grid-column: 2;
  width: min(100%, 620px);
  animation: rise-in 800ms ease both;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--amber);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--clay);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: 0;
}

h1 {
  max-width: 13ch;
  font-size: clamp(2.275rem, 4.9vw, 4.9rem);
}

h2 {
  font-size: clamp(2.25rem, 4.7vw, 5rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 2rem);
}

.hero-copy {
  max-width: 58ch;
  margin: 1.3rem 0 0;
  color: rgba(255, 250, 240, 0.88);
  font-size: clamp(0.94rem, 1.25vw, 1.05rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.2rem;
}

.hero-products {
  grid-column: 3;
  align-self: end;
  width: min(620px, 45vw);
  filter: drop-shadow(0 34px 26px rgba(2, 12, 18, 0.35));
  animation: product-float 5.4s ease-in-out infinite;
}

.hero-ridge {
  position: absolute;
  right: -7vw;
  bottom: -5rem;
  z-index: -2;
  width: 72vw;
  height: 22rem;
  background: url("assets/img/prairie-bg.jpg") bottom / cover no-repeat;
  clip-path: polygon(0 58%, 18% 30%, 35% 48%, 52% 18%, 68% 40%, 82% 22%, 100% 42%, 100% 100%, 0 100%);
  opacity: 0.78;
}

.intro-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.4fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  width: min(1380px, calc(100% - 32px));
  margin: -1.5rem auto 0;
  padding: clamp(3rem, 7vw, 6rem) 0;
}

.intro-copy {
  align-self: center;
}

.intro-copy p:not(.eyebrow) {
  max-width: 48ch;
  line-height: 1.55;
  color: rgba(16, 36, 53, 0.76);
}

.brand-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.brand-card {
  min-height: 520px;
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(16, 36, 53, 0.16);
  color: var(--white);
  background:
    linear-gradient(160deg, rgba(15, 45, 69, 0.86), rgba(36, 61, 45, 0.88)),
    url("assets/img/painted-wild.jpg") center / cover no-repeat;
  box-shadow: var(--shadow);
}

.brand-card.prey {
  background:
    linear-gradient(160deg, rgba(71, 43, 28, 0.86), rgba(21, 49, 58, 0.88)),
    url("assets/img/painted-wild.jpg") center / cover no-repeat;
}

.brand-card img {
  align-self: end;
  justify-self: center;
  width: min(88%, 420px);
  max-height: 310px;
  object-fit: contain;
  padding: 2rem 1rem 0;
  filter: drop-shadow(0 20px 18px rgba(0, 0, 0, 0.25));
}

.brand-card div {
  padding: 1.5rem;
  background: rgba(7, 22, 32, 0.48);
  border-top: 1px solid rgba(255, 250, 240, 0.16);
}

.brand-card p {
  min-height: 4.6rem;
  margin: 0.8rem 0 1rem;
  color: rgba(255, 250, 240, 0.86);
  line-height: 1.45;
  font-size: 0.94rem;
}

.brand-card a {
  color: var(--amber);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.home-links {
  width: min(1380px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 clamp(4rem, 8vw, 7rem);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.home-links a {
  position: relative;
  min-height: 230px;
  display: grid;
  align-content: start;
  gap: 0.8rem;
  padding: 1.2rem;
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(150deg, rgba(15, 45, 69, 0.9), rgba(36, 61, 45, 0.88)),
    url("assets/img/prairie-bg.jpg") center / cover no-repeat;
  box-shadow: 0 16px 36px rgba(16, 36, 53, 0.16);
  overflow: hidden;
}

.home-links a::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 44%;
  background: linear-gradient(0deg, rgba(6, 22, 32, 0.42), transparent);
  pointer-events: none;
}

.link-illustration {
  position: absolute;
  right: 1.1rem;
  bottom: 1rem;
  width: min(34%, 132px);
  aspect-ratio: 4 / 3;
  color: rgba(255, 250, 240, 0.72);
  opacity: 0.82;
  transform: rotate(-2deg);
  pointer-events: none;
  z-index: 1;
}

.home-links a:nth-child(even) .link-illustration {
  color: rgba(198, 139, 45, 0.78);
  transform: rotate(2deg);
}

.link-illustration svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 4.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-links strong,
.home-links small {
  position: relative;
  z-index: 2;
}

.home-links strong {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.3vw, 2.1rem);
  line-height: 0.95;
}

.home-links small {
  font-size: 0.9rem;
  line-height: 1.42;
  color: rgba(255, 250, 240, 0.82);
}

.page-hero {
  min-height: calc(100svh - 82px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.75fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(4rem, 8vw, 7rem) max(1rem, calc((100vw - 1380px) / 2));
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(8, 28, 41, 0.92), rgba(15, 45, 69, 0.68)),
    url("assets/img/home-hero.jpg") center / cover no-repeat;
  border-bottom: 4px solid var(--gold);
}

.page-hero h1,
.page-catalog h1,
.page-guide h1,
.page-where h1,
.page-contact h1,
.page-ingredients h1 {
  max-width: 17ch;
  font-size: clamp(2.15rem, 4.4vw, 4.6rem);
}

.page-hero p:not(.eyebrow) {
  max-width: 58ch;
  line-height: 1.55;
  color: rgba(255, 250, 240, 0.86);
  font-size: 1rem;
}

.page-hero img {
  justify-self: center;
  max-height: 440px;
  object-fit: contain;
  filter: drop-shadow(0 28px 22px rgba(0, 0, 0, 0.28));
}

.page-hero.cat-page img {
  width: min(92%, 640px);
  max-height: 390px;
}

.page-hero.dog-page {
  background:
    linear-gradient(115deg, rgba(8, 28, 41, 0.92), rgba(15, 45, 69, 0.7)),
    url("assets/img/painted-wild.jpg") center / cover no-repeat;
}

.page-hero.cat-page {
  background:
    linear-gradient(115deg, rgba(8, 28, 41, 0.92), rgba(89, 62, 43, 0.72)),
    url("assets/img/prairie-bg.jpg") center / cover no-repeat;
}

.detail-grid {
  width: min(1380px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6rem) 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.detail-grid article {
  position: relative;
  min-height: 260px;
  display: grid;
  align-content: start;
  gap: 1rem;
  padding: 1.4rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 16px 36px rgba(16, 36, 53, 0.1);
  overflow: hidden;
  transform: translateY(0);
  animation: card-rise 620ms ease both;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.detail-grid article:nth-child(2) {
  animation-delay: 90ms;
}

.detail-grid article:nth-child(3) {
  animation-delay: 180ms;
}

.detail-grid article::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -36px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(198, 139, 45, 0.1);
  transform: scale(0.86);
  opacity: 0;
  transition: transform 220ms ease, opacity 220ms ease;
}

.detail-grid article:hover {
  transform: translateY(-8px);
  border-color: rgba(198, 139, 45, 0.5);
  box-shadow: 0 22px 46px rgba(16, 36, 53, 0.16);
}

.detail-grid article:hover::after {
  transform: scale(1);
  opacity: 1;
}

.detail-icon {
  position: relative;
  z-index: 1;
  width: 4rem;
  height: 4rem;
  display: grid;
  place-items: center;
  color: var(--gold);
  background: rgba(198, 139, 45, 0.08);
  border: 1px solid rgba(198, 139, 45, 0.24);
  border-radius: 999px;
  animation: icon-breathe 3.8s ease-in-out infinite;
}

.detail-icon svg {
  width: 2.45rem;
  height: 2.45rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 3.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.detail-grid article:hover .detail-icon {
  animation-duration: 2.2s;
}

.detail-grid h2 {
  position: relative;
  z-index: 1;
  font-size: clamp(1.6rem, 3vw, 2.8rem);
}

.detail-grid p {
  position: relative;
  z-index: 1;
  margin: 0;
  line-height: 1.5;
  font-size: 0.94rem;
  color: rgba(16, 36, 53, 0.76);
}

.page-ingredients {
  min-height: calc(100svh - 82px);
}

.page-catalog {
  padding-top: clamp(4rem, 8vw, 7rem);
}

.page-guide {
  min-height: calc(100svh - 82px);
}

.page-where {
  min-height: calc(100svh - 82px);
}

.page-contact {
  min-height: calc(100svh - 82px);
}

.split-feature {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 640px;
  color: var(--white);
  background: var(--deep);
}

.split-feature.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.split-feature.reverse .feature-image {
  order: 2;
}

.feature-image {
  min-height: 580px;
  background-size: cover;
  background-position: center;
}

.feature-image.dog {
  background-image: linear-gradient(90deg, rgba(12, 38, 57, 0.08), rgba(12, 38, 57, 0.64)), url("assets/img/painted-wild.jpg");
}

.feature-image.cat {
  background-image: linear-gradient(270deg, rgba(12, 38, 57, 0.08), rgba(12, 38, 57, 0.64)), url("assets/img/cat-family-stacked.png"), url("assets/img/prairie-bg.jpg");
  background-size: contain, cover;
  background-repeat: no-repeat;
  background-position: center, center;
}

.feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(2rem, 6vw, 6rem);
  background:
    linear-gradient(135deg, rgba(15, 45, 69, 0.96), rgba(21, 70, 80, 0.92)),
    repeating-linear-gradient(90deg, rgba(255, 250, 240, 0.055) 0 1px, transparent 1px 28px);
}

.feature-copy p:not(.eyebrow) {
  max-width: 54ch;
  color: rgba(255, 250, 240, 0.84);
  line-height: 1.55;
  font-size: 1rem;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0.8rem 0 1.7rem;
}

.feature-tags span {
  border: 1px solid rgba(255, 250, 240, 0.28);
  padding: 0.45rem 0.72rem;
  color: var(--white);
  background: rgba(255, 250, 240, 0.08);
  font-size: 0.86rem;
  font-weight: 800;
}

.ingredients {
  min-height: 760px;
  display: grid;
  place-items: center;
  padding: clamp(3rem, 8vw, 7rem) 1rem;
  color: var(--white);
  background:
    linear-gradient(0deg, rgba(11, 28, 36, 0.72), rgba(11, 28, 36, 0.5)),
    url("assets/img/ingredients-bg.jpg") center / cover no-repeat;
}

.ingredients-overlay {
  width: min(1120px, 100%);
  padding: clamp(2rem, 5vw, 5rem);
  border: 1px solid rgba(255, 250, 240, 0.22);
  background: rgba(11, 28, 36, 0.72);
  box-shadow: var(--shadow);
}

.ingredients-overlay > p:not(.eyebrow),
.section-head p,
.where .section-head p,
.contact p,
.site-footer p {
  line-height: 1.65;
}

.ingredients-overlay > p:not(.eyebrow) {
  max-width: 70ch;
  color: rgba(255, 250, 240, 0.86);
  font-size: 1rem;
}

.ingredient-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 2rem 0;
}

.ingredient {
  min-height: 190px;
  border: 1px solid rgba(255, 250, 240, 0.28);
  border-radius: 8px;
  color: var(--white);
  background: rgba(255, 250, 240, 0.08);
  cursor: pointer;
}

.ingredient.active,
.ingredient:hover {
  background: rgba(215, 164, 74, 0.22);
  border-color: var(--amber);
}

.ingredient img {
  height: 128px;
  width: 100%;
  object-fit: contain;
  padding: 0.6rem;
}

.ingredient span {
  display: block;
  padding: 0 0.7rem 0.8rem;
  font-weight: 900;
  text-align: center;
}

.ingredient-note {
  min-height: 3.2rem;
  margin: 0;
  color: var(--amber);
  font-weight: 800;
}

.catalog,
.faq,
.contact {
  width: min(1380px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.catalog {
  padding-bottom: clamp(7rem, 12vw, 10rem);
  scroll-margin-top: 96px;
}

.section-head {
  display: grid;
  gap: 0.6rem;
  max-width: 860px;
  margin-bottom: 2rem;
}

.section-head p {
  max-width: 66ch;
  margin: 0;
  color: rgba(16, 36, 53, 0.78);
  font-size: 0.98rem;
}

.filter-bar {
  position: sticky;
  top: 86px;
  z-index: 12;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
  padding: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(244, 239, 228, 0.9);
  backdrop-filter: blur(10px);
}

.filter-chip {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  color: var(--ink);
  background: var(--white);
  font-weight: 900;
  cursor: pointer;
}

.filter-chip.active,
.filter-chip:hover {
  color: var(--white);
  background: var(--deep);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.product-card {
  position: relative;
  min-height: 520px;
  display: grid;
  grid-template-rows: 260px auto;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(16, 36, 53, 0.16);
  background: var(--white);
  box-shadow: 0 16px 36px rgba(16, 36, 53, 0.12);
  scroll-margin-bottom: 130px;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 220px;
  background:
    linear-gradient(155deg, rgba(31, 102, 128, 0.82), rgba(89, 111, 58, 0.76)),
    url("assets/img/prairie-bg.jpg") center / cover no-repeat;
}

.product-card img {
  position: relative;
  align-self: end;
  justify-self: center;
  width: min(78%, 245px);
  max-height: 248px;
  object-fit: contain;
  padding-top: 1.2rem;
  filter: drop-shadow(0 18px 14px rgba(0, 0, 0, 0.24));
  transition: transform 220ms ease;
}

.product-card:hover img {
  transform: translateY(-7px) rotate(-1deg);
}

.product-body {
  display: grid;
  align-content: start;
  gap: 0.75rem;
  padding: 1.2rem;
}

.product-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
}

.product-kicker span {
  padding: 0.25rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--deep);
  background: #f8f2e6;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.product-body h3 {
  min-height: 4.4rem;
  font-size: 1.45rem;
  line-height: 1.02;
}

.product-body p {
  min-height: 4.6rem;
  margin: 0;
  line-height: 1.42;
  font-size: 0.88rem;
  color: rgba(16, 36, 53, 0.74);
}

.product-actions {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.product-actions button,
.product-actions a {
  width: min(100%, 180px);
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  border: 1px solid var(--line);
  padding: 0.55rem 0.65rem;
  background: #f9f1e3;
  color: var(--deep);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
}

.product-actions button.active {
  color: var(--white);
  background: var(--leaf);
}

.product-detail-hero {
  min-height: calc(100svh - 82px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(4rem, 8vw, 7rem) max(1rem, calc((100vw - 1380px) / 2));
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(8, 28, 41, 0.94), rgba(15, 45, 69, 0.74)),
    url("assets/img/prairie-bg.jpg") center / cover no-repeat;
  border-bottom: 4px solid var(--gold);
}

.product-detail-copy h1 {
  max-width: 16ch;
  font-size: clamp(2.15rem, 4.4vw, 4.6rem);
}

.product-detail-copy > p:not(.eyebrow) {
  max-width: 62ch;
  color: rgba(255, 250, 240, 0.86);
  line-height: 1.55;
  font-size: 1rem;
}

.product-detail-copy .product-kicker {
  margin-top: 1.3rem;
}

.product-detail-image {
  min-height: 480px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  border: 1px solid rgba(255, 250, 240, 0.22);
  background:
    linear-gradient(150deg, rgba(255, 250, 240, 0.15), rgba(255, 250, 240, 0.04)),
    url("assets/img/home-hero.jpg") center / cover no-repeat;
  box-shadow: var(--shadow);
}

.product-detail-image img {
  max-height: 420px;
  width: min(78%, 390px);
  object-fit: contain;
  filter: drop-shadow(0 26px 22px rgba(0, 0, 0, 0.28));
}

.product-subnav {
  position: sticky;
  top: 86px;
  z-index: 15;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.75rem max(1rem, calc((100vw - 1380px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(244, 239, 228, 0.94);
  backdrop-filter: blur(10px);
}

.product-subnav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 0.45rem 0.85rem;
  color: var(--deep);
  background: var(--white);
  font-family: var(--display);
  font-weight: 900;
}

.product-detail-sections {
  width: min(1380px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6rem) 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.product-detail-sections article {
  min-height: 220px;
  display: grid;
  align-content: start;
  gap: 0.85rem;
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 36px rgba(16, 36, 53, 0.1);
  scroll-margin-top: 150px;
}

.product-detail-sections h2 {
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(16, 36, 53, 0.14);
  font-size: clamp(1.35rem, 2.25vw, 2.15rem);
  line-height: 1;
}

.product-detail-sections p,
.product-detail-sections li {
  color: rgba(16, 36, 53, 0.78);
  line-height: 1.42;
  font-size: 0.9rem;
}

.product-detail-sections ul {
  margin: 0;
  padding-left: 1.1rem;
}

.related-products {
  width: min(1380px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 clamp(4rem, 8vw, 7rem);
}

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

.related-card {
  min-height: 310px;
  display: grid;
  align-content: start;
  gap: 0.8rem;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 16px 36px rgba(16, 36, 53, 0.1);
}

.related-card img {
  height: 190px;
  width: 100%;
  object-fit: contain;
  border-radius: 6px;
  background:
    linear-gradient(155deg, rgba(31, 102, 128, 0.72), rgba(89, 111, 58, 0.64)),
    url("assets/img/prairie-bg.jpg") center / cover no-repeat;
}

.related-card strong {
  font-family: var(--display);
  font-size: 1.15rem;
  line-height: 1.05;
}

.related-card span {
  color: var(--clay);
  font-weight: 900;
}

.compare-bar {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 25;
  bottom: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem max(1rem, calc((100vw - 1380px) / 2));
  color: var(--white);
  background: rgba(15, 45, 69, 0.96);
  border-top: 3px solid var(--gold);
  transform: translateY(calc(100% - 7px));
  transition: transform 220ms ease;
}

.compare-bar.has-items {
  transform: translateY(0);
}

.compare-bar p {
  margin: 0.25rem 0 0;
  color: rgba(255, 250, 240, 0.74);
}

.guide {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  align-items: center;
  gap: clamp(1rem, 4vw, 4rem);
  padding: clamp(4rem, 8vw, 7rem) max(1rem, calc((100vw - 1380px) / 2));
  color: var(--white);
  background:
    linear-gradient(130deg, rgba(37, 61, 45, 0.92), rgba(15, 45, 69, 0.92)),
    url("assets/img/painted-wild.jpg") center / cover no-repeat;
}

.guide-panel {
  padding: clamp(1.5rem, 4vw, 4rem);
  border: 1px solid rgba(255, 250, 240, 0.22);
  background: rgba(9, 28, 42, 0.6);
}

.guide-form,
.contact-form {
  display: grid;
  gap: 0.9rem;
}

.guide-form {
  grid-template-columns: 1fr 1fr auto;
  align-items: end;
  margin: 1.6rem 0 1rem;
}

label {
  display: grid;
  gap: 0.38rem;
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

select,
input,
textarea {
  width: 100%;
  border: 1px solid rgba(16, 36, 53, 0.24);
  border-radius: 4px;
  padding: 0.85rem 0.9rem;
  color: var(--ink);
  background: var(--white);
}

.guide-result {
  min-height: 74px;
  padding: 1rem;
  border-left: 4px solid var(--amber);
  color: var(--white);
  background: rgba(255, 250, 240, 0.1);
  line-height: 1.45;
  font-size: 0.94rem;
}

.guide > img {
  justify-self: center;
  max-height: 440px;
  object-fit: contain;
  filter: drop-shadow(0 28px 22px rgba(0, 0, 0, 0.24));
}

.where {
  padding: clamp(4rem, 8vw, 7rem) max(1rem, calc((100vw - 1380px) / 2));
  color: var(--white);
  background:
    linear-gradient(0deg, rgba(12, 37, 51, 0.84), rgba(12, 37, 51, 0.7)),
    url("assets/img/prairie-bg.jpg") center / cover no-repeat;
}

.section-head.light p {
  color: rgba(255, 250, 240, 0.82);
}

.where-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.where-grid article {
  min-height: 260px;
  display: grid;
  align-content: start;
  gap: 1rem;
  padding: 1.4rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 250, 240, 0.24);
  background: rgba(9, 28, 42, 0.58);
}

.where-grid h2,
.where-grid h3 {
  font-size: clamp(1.55rem, 2.45vw, 3rem);
  line-height: 1;
  max-width: 11ch;
  min-height: 2em;
}

.where-grid p {
  margin: 0;
  color: rgba(255, 250, 240, 0.82);
  line-height: 1.42;
  font-size: 0.9rem;
  min-height: 2.56rem;
}

.where-grid a {
  align-self: end;
  color: var(--amber);
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0;
}

.distributor-locator {
  padding: clamp(4rem, 7vw, 6rem) max(1rem, calc((100vw - 1380px) / 2));
  background: var(--paper);
}

.locator-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
  gap: 1rem;
  margin-top: 2rem;
}

.distributor-map {
  min-height: 560px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(15, 45, 69, 0.9), rgba(37, 70, 57, 0.82)),
    url("assets/img/prairie-bg.jpg") center / cover no-repeat;
  box-shadow: 0 16px 36px rgba(16, 36, 53, 0.1);
}

.distributor-map > p {
  display: grid;
  min-height: 560px;
  place-items: center;
  margin: 0;
  color: rgba(255, 250, 240, 0.78);
}

.leaflet-container {
  font-family: var(--body);
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  color: var(--ink);
  background: var(--white);
}

.leaflet-popup-content {
  margin: 0.9rem 1rem;
  min-width: 220px;
}

.leaflet-popup-content strong {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--display);
  color: var(--deep);
  font-size: 1.05rem;
}

.leaflet-popup-content p {
  margin: 0.2rem 0 0.7rem;
  color: rgba(16, 36, 53, 0.72);
  font-size: 0.86rem;
  line-height: 1.35;
}

.leaflet-popup-content a {
  color: var(--clay);
  font-family: var(--display);
  font-weight: 950;
  text-transform: uppercase;
}

.distributor-marker {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 2px solid var(--white);
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 8px 16px rgba(4, 14, 21, 0.34);
}

.distributor-marker::after {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: inherit;
  background: var(--deep);
}

.locator-panel {
  display: grid;
  align-content: start;
  gap: 1rem;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 16px 36px rgba(16, 36, 53, 0.1);
}

.locator-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
}

.locator-tabs button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--deep);
  background: #f9f1e3;
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
  cursor: pointer;
}

.locator-tabs button.active {
  color: var(--white);
  border-color: var(--deep);
  background: var(--deep);
}

.distributor-list {
  display: grid;
  gap: 0.75rem;
  max-height: 490px;
  overflow: auto;
  padding-right: 0.25rem;
}

.distributor-card {
  display: grid;
  gap: 0.55rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(244, 239, 228, 0.55);
}

.distributor-card h3 {
  font-size: 1.25rem;
  line-height: 1;
}

.distributor-card p {
  margin: 0;
  color: rgba(16, 36, 53, 0.74);
  font-size: 0.9rem;
  line-height: 1.42;
}

.distributor-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.distributor-meta span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.22rem 0.55rem;
  color: var(--deep);
  background: var(--white);
  font-family: var(--display);
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.distributor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.distributor-actions a {
  color: var(--clay);
  font-family: var(--display);
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.accordion {
  display: grid;
  gap: 0.8rem;
}

details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(16, 36, 53, 0.08);
}

summary {
  cursor: pointer;
  padding: 1.2rem;
  font-weight: 950;
  color: var(--deep);
}

details p {
  margin: 0;
  padding: 0 1.2rem 1.2rem;
  color: rgba(16, 36, 53, 0.78);
  line-height: 1.5;
  font-size: 0.94rem;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.contact > div {
  position: sticky;
  top: 120px;
}

.contact p {
  color: rgba(16, 36, 53, 0.76);
}

.contact-form {
  padding: clamp(1.2rem, 3vw, 2rem);
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.form-status {
  min-height: 1.4rem;
  margin: 0;
  color: rgba(16, 36, 53, 0.76);
  font-size: 0.88rem;
  font-weight: 800;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.contact-form button:disabled {
  cursor: progress;
  opacity: 0.76;
}

.whatsapp-float {
  position: fixed;
  right: clamp(1rem, 2vw, 1.6rem);
  bottom: clamp(1rem, 2vw, 1.6rem);
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 3.25rem;
  padding: 0.72rem 1rem 0.72rem 0.82rem;
  border-radius: 999px;
  color: var(--white);
  background: #1f8f55;
  border: 1px solid rgba(255, 250, 240, 0.22);
  box-shadow: 0 16px 34px rgba(7, 22, 32, 0.24);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  background: #22a461;
  box-shadow: 0 20px 42px rgba(7, 22, 32, 0.3);
}

.whatsapp-float svg {
  width: 1.55rem;
  height: 1.55rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-footer {
  display: grid;
  place-items: center;
  gap: 1.4rem;
  padding: 3.2rem 1rem;
  text-align: center;
  color: var(--white);
  background: var(--deep);
  border-top: 4px solid var(--gold);
}

.site-footer img {
  width: min(320px, 78vw);
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.compare-dialog {
  width: min(920px, calc(100% - 32px));
  border: 0;
  border-radius: 8px;
  padding: 1.4rem;
  color: var(--ink);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.compare-dialog::backdrop {
  background: rgba(8, 21, 29, 0.72);
}

.dialog-close {
  float: right;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.5rem 0.8rem;
  background: var(--white);
  cursor: pointer;
  font-weight: 900;
}

.compare-table {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.9rem;
  margin-top: 1.3rem;
}

.compare-item {
  display: grid;
  gap: 0.5rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.compare-item img {
  height: 150px;
  width: 100%;
  object-fit: contain;
}

.compare-item h3 {
  font-size: 1.1rem;
  line-height: 1.08;
}

.compare-item dl {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  font-size: 0.9rem;
}

.compare-item div {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 0.4rem;
}

.compare-item dt {
  color: var(--clay);
  font-weight: 900;
}

.compare-item dd {
  margin: 0;
}

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

@keyframes product-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes card-rise {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes icon-breathe {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-5px) rotate(-2deg);
  }
}

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

@media (max-width: 1120px) {
  .nav-shell {
    grid-template-columns: minmax(170px, 1fr) auto 46px;
  }

  .brand-mark img {
    width: min(190px, 48vw);
  }

  .nav-toggle {
    display: block;
    grid-column: 3;
  }

  .nav-cta {
    display: none;
  }

  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 82px;
    z-index: 40;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.8rem 1rem 1.2rem;
    background: var(--deep);
    box-shadow: 0 22px 38px rgba(4, 14, 21, 0.36);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(255, 250, 240, 0.14);
  }

  .nav-links a::after {
    display: none;
  }

  .hero {
    grid-template-columns: 1rem 1fr 1rem;
    align-items: end;
    padding-top: 6rem;
  }

  .hero-content,
  .hero-products {
    grid-column: 2;
  }

  .hero-products {
    width: min(620px, 86vw);
    margin: 2rem auto 0;
  }

  .intro-band,
  .page-hero,
  .product-detail-hero,
  .split-feature,
  .split-feature.reverse,
  .guide,
  .contact,
  .locator-shell {
    grid-template-columns: 1fr;
  }

  .split-feature.reverse .feature-image {
    order: 0;
  }

  .feature-image {
    min-height: 420px;
  }

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

  .home-links,
  .detail-grid,
  .product-detail-sections,
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-form {
    grid-template-columns: 1fr;
  }

  .contact > div {
    position: static;
  }

  .distributor-list {
    max-height: none;
  }
}

@media (max-width: 760px) {
  .nav-shell {
    width: calc(100% - 22px);
  }

  .brand-mark img {
    width: min(172px, 52vw);
  }

  .whatsapp-float {
    width: 3.35rem;
    min-height: 3.35rem;
    justify-content: center;
    padding: 0;
  }

  .whatsapp-float span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .hero {
    min-height: auto;
    padding-bottom: 3rem;
  }

  h1 {
    font-size: clamp(3.1rem, 15vw, 4.6rem);
  }

  h2 {
    font-size: clamp(2.15rem, 12vw, 3.25rem);
  }

  .hero-actions,
  .product-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .intro-band {
    padding-top: 3rem;
  }

  .brand-cards,
  .home-links,
  .detail-grid,
  .product-detail-sections,
  .related-grid,
  .ingredient-grid,
  .product-grid,
  .where-grid,
  .locator-tabs {
    grid-template-columns: 1fr;
  }

  .distributor-map,
  .distributor-map > p {
    min-height: 380px;
  }

  .page-hero {
    min-height: auto;
    padding-top: 4rem;
  }

  .product-detail-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 4rem;
  }

  .product-detail-image {
    min-height: 330px;
  }

  .product-detail-image img {
    max-height: 290px;
  }

  .page-hero h1,
  .page-catalog h1,
  .page-guide h1,
  .page-where h1,
  .page-contact h1,
  .page-ingredients h1 {
    font-size: clamp(2rem, 12vw, 3.2rem);
  }

  .brand-card {
    min-height: 440px;
  }

  .ingredients-overlay {
    padding: 1.2rem;
  }

  .filter-bar {
    top: 82px;
    max-height: 178px;
    overflow: auto;
  }

  .compare-bar {
    grid-template-columns: 1fr;
  }
}
