/* Wombud landing page. Palette and type from the DORSKY branding bible (BRANDING.md). */

:root {
  --gold: #ffc740;
  --gold-deep: #f2a93b;
  --euca: #7cb342;
  --euca-deep: #4f8a30;
  --sky: #8fd9f2;
  --ochre: #e0865b;
  --coral: #ff6f91;
  --green: #4b7a44;
  --green-deep: #3d6538;
  --star: #e9a53f;
  --cream: #ffffff;
  --tan: #f7f1e6;
  --card: #ffffff;
  --ink: #4b2e15;
  --ink-soft: #7b6f5f;
  --white: #ffffff;
  --radius: 22px;
  --shadow: 0 10px 30px rgba(62, 44, 30, 0.10);
  --shadow-soft: 0 4px 14px rgba(62, 44, 30, 0.07);
  --font-head: "Baloo 2", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
  --font-plain: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  /* Organic blob shapes from the package art, used as section background accents */
  --blob-gold: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath fill='%23efb95c' fill-opacity='0.33' d='M44.9,-65.3C57.4,-56.5,66.3,-42.9,71.6,-28.2C76.9,-13.4,78.6,2.6,74.3,16.7C70,30.8,59.8,43.1,47.4,53.3C35,63.5,20.4,71.7,4.3,66.9C-11.8,62.2,-23.5,44.6,-36.5,34.2C-49.4,23.9,-63.5,20,-70.9,10.3C-78.3,0.7,-79,-14.6,-71.9,-25.4C-64.8,-36.2,-49.9,-42.4,-36.7,-51C-23.4,-59.5,-11.7,-70.3,2.1,-73.2C15.9,-76.1,31.8,-71.1,44.9,-65.3Z' transform='translate(100 100)'/%3E%3C/svg%3E");
  --blob-sage: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath fill='%238fae6f' fill-opacity='0.3' d='M38.1,-64.2C48.8,-55.5,56.5,-43.9,63.2,-31.4C69.9,-18.9,75.6,-5.6,74.4,7.1C73.2,19.7,65.2,31.7,55.6,41.6C46,51.5,34.8,59.3,22.1,64.6C9.4,69.9,-4.8,72.7,-18.6,70C-32.4,67.3,-45.8,59.1,-55.4,47.8C-65,36.4,-70.8,21.9,-72.5,6.8C-74.2,-8.3,-71.9,-24,-64.2,-36.2C-56.5,-48.4,-43.4,-57.1,-30.1,-64.6C-16.8,-72.1,-3.3,-78.4,9.3,-77.3C21.9,-76.1,33.4,-72.9,38.1,-64.2Z' transform='translate(100 100)'/%3E%3C/svg%3E");
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 18px;
}

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

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--font-head); line-height: 1.12; }

h1 { font-size: clamp(2rem, 3.1vw, 3.2rem); font-weight: 800; line-height: 1.12; }

/* ---------- Colorful headline accents (Eiliko-style) ---------- */
.rainbow span:nth-child(3n + 1) { color: #f2a93b; }
.rainbow span:nth-child(3n + 2) { color: #7cb342; }
.rainbow span:nth-child(3n + 3) { color: #ff6f91; }
.hl-gold { color: #f2a93b; }
.hl-green { color: #7cb342; }
.hl-sky { color: #5aa7d6; }
.hl-coral { color: #ff6f91; }
.hl-purple { color: #8e5bd4; }
.hl-ochre { color: #e0865b; }
.product-name { font-size: clamp(2.2rem, 3.6vw, 3rem); }
.hero-desc { font-size: 1.15rem; font-weight: 700; color: var(--ink-soft); margin: 4px 0 10px; }
.hero-lines { margin: 0 0 20px; }
.hero-lines p {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 0;
}
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; margin-bottom: 16px; }
h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 6px; }

.section { padding: 88px 0; }

.kicker {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 10px;
}

.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 720px; margin-bottom: 14px; }
.lede-vow { font-weight: 700; color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary {
  background: var(--green);
  color: var(--white);
  padding: 14px 30px;
  font-size: 1.05rem;
  box-shadow: 0 6px 18px rgba(75, 122, 68, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); background: var(--green-deep); box-shadow: 0 10px 24px rgba(75, 122, 68, 0.45); }
.btn-lg { padding: 17px 38px; font-size: 1.15rem; }
.btn-secondary {
  background: var(--card);
  color: var(--green);
  padding: 13px 28px;
  border: 2px solid var(--green);
}
.btn-secondary:hover { background: var(--green); color: var(--white); }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(75, 46, 21, 0.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.nav-logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.9rem;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.nav-logo-by {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-deep);
}
.nav-logo-img { height: 42px; width: auto; display: block; }
.nav-links { display: flex; gap: 26px; }
.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
}
.nav-links a:hover { color: var(--ink); }
.nav-links .nav-current { color: var(--green-deep); }
.nav-burger {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: none;
  font-size: 1.5rem;
  color: var(--ink);
  cursor: pointer;
  padding: 0;
}
.btn-nav { padding: 10px 22px; font-size: 0.95rem; }

/* ---------- Hero ---------- */
.hero {
  padding: 52px 0 60px;
  background:
    var(--blob-gold) no-repeat right -150px top -110px / 520px auto,
    var(--blob-sage) no-repeat left -170px bottom -150px / 470px auto,
    linear-gradient(180deg, #ffffff 0%, #f7f5ea 55%, #e9f0d9 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 76px;
  align-items: center;
}
.hero-media { order: 1; }
.hero-copy { order: 2; }
.eyebrow-chips {
  list-style: none;
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin-bottom: 20px;
}
.eyebrow-chips li {
  background: var(--card);
  border: 1.5px solid rgba(75, 122, 68, 0.25);
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 800;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--green);
  box-shadow: var(--shadow-soft);
}
.hero-sub { font-size: 1.18rem; color: var(--ink-soft); margin: 18px 0 24px; max-width: 540px; line-height: 1.65; }
.rating {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 16px;
}
.rating strong { color: var(--ink); font-weight: 800; }
.stars { display: inline-flex; gap: 2px; align-items: center; margin-bottom: 4px; }
.stars svg { width: 18px; height: 18px; display: block; }
.rating .stars { margin: 0; }
.review .stars { margin-bottom: 6px; }

.hero-media { position: relative; }

/* ---------- Amazon-style gallery ---------- */
.gallery .gallery-main {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: var(--shadow);
}
.gallery-stage { position: relative; }
.gallery-viewport {
  overflow: hidden;
  border-radius: 30px;
  box-shadow: var(--shadow);
}
.gallery-track { display: flex; transition: transform 0.35s ease; }
.gallery-track img {
  width: 100%;
  flex: 0 0 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 252, 245, 0.92);
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 1.7rem;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: background 0.12s ease, transform 0.12s ease;
  z-index: 2;
}
.gallery-nav:hover { background: var(--white); transform: translateY(-50%) scale(1.08); }
.gallery-nav.prev { left: 14px; }
.gallery-nav.next { right: 14px; }
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 12px;
}
.thumb {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 12px;
  background: var(--card);
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.12s ease;
}
.gallery .thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: none;
}
.thumb:hover { border-color: rgba(75, 122, 68, 0.45); }
.thumb.selected { border-color: var(--green); }
.gallery-dots { display: none; justify-content: center; gap: 9px; margin-top: 14px; }
.gallery-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(75, 46, 21, 0.2);
  cursor: pointer;
}
.gallery-dots button.active { background: var(--green); }

/* ---------- Why cards ---------- */
.why { position: relative; }
.peek-wombat {
  position: absolute;
  right: 0;
  top: 44px;
  width: clamp(140px, 16vw, 230px);
  pointer-events: none;
  filter: drop-shadow(-6px 8px 14px rgba(75, 46, 21, 0.18));
}
@media (max-width: 960px) {
  .peek-wombat { display: none; }
}
.cards-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow-soft);
}
.card h3 { color: var(--green); }
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin-bottom: 14px;
}
.card-icon-img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  margin: 0 auto 14px;
  display: block;
}
.card p { font-size: 0.95rem; color: var(--ink-soft); }

/* ---------- Split sections ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split-reverse { direction: rtl; }
.split-reverse > * { direction: ltr; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.split-media img.illust { border-radius: 0; box-shadow: none; }
.split-media .media-secondary { margin-top: 20px; }
.split-copy p { margin-bottom: 14px; color: var(--ink-soft); }
.split-copy p strong { color: var(--ink); }
.split-copy .btn { margin-top: 8px; }

/* ---------- Company home ---------- */
.home-hero-img { width: min(380px, 80%); margin: 0 auto; display: block; }
.home-hero-video {
  width: min(420px, 86%);
  margin: 0 auto;
  display: block;
  border-radius: 30px;
  box-shadow: var(--shadow);
}
.home-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-top: 8px; }
.home-card-btn { margin-top: 12px; }
.soon .card { position: relative; }
.soon-pill {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--gold-deep);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 5px 12px;
  z-index: 1;
}
/* "What we make" cards: centered content, hand-placed tilt */
#products .cards-3 { text-align: center; }
/* hover-in snaps fast; hover-out settles back slowly with a springy ease,
   and each card gets its own settle time so neighbors never move in sync */
#products .card { transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1); }
#products .card:nth-child(1) { transform: rotate(-2deg) translate(4px, 6px); }
#products .card:nth-child(2) { transform: rotate(1.6deg) translate(-3px, -6px); transition-duration: 0.7s; }
#products .card:nth-child(3) { transform: rotate(-1.2deg) translate(2px, 10px); transition-duration: 0.45s; }
#products .card:hover { transform: rotate(0) translate(0, 0); transition: transform 0.15s ease-out; }

.home-mission { text-align: center; }
.home-mission .lede { margin-inline: auto; margin-bottom: 22px; }

/* ---------- Belief bar ---------- */
.belief { background: var(--green); text-align: center; padding: 36px 0; }
.belief-line {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  color: var(--cream);
}

/* ---------- Coming soon ---------- */
.soon { background: #e9f0d9; text-align: center; }
.soon .cards-3 { text-align: left; }
.soon .card img,
.soon .card video {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border-radius: 14px;
  margin-bottom: 14px;
}

.nostalgia {
  background:
    var(--blob-gold) no-repeat right -130px bottom -160px / 430px auto,
    var(--tan);
  padding: 60px 0;
}
.nostalgia .split-media img { max-height: 360px; object-fit: cover; width: 100%; }
.app { background: var(--tan); }

/* ---------- Built-in habits (slot-machine reel) ---------- */
.habits { text-align: center; }
.habits .lede { margin-inline: auto; }
.habit-card {
  max-width: 520px;
  margin: 34px auto 0;
}
.habit-reel-window {
  height: 58px;
  overflow: hidden;
  border: 1.5px solid rgba(75, 122, 68, 0.25);
  border-radius: 999px;
  background: var(--tan);
  box-shadow: 0 16px 38px rgba(75, 46, 21, 0.24);
}
.habit-reel { will-change: transform; }
.habit-item {
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1rem, 2.4vw, 1.3rem);
  color: var(--ink);
  white-space: nowrap;
  padding: 0 20px;
}
.habit-note { margin-top: 26px; font-weight: 600; color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Science ---------- */
.science {
  background:
    var(--blob-sage) no-repeat left -160px top -140px / 440px auto,
    var(--blob-gold) no-repeat right -140px bottom -170px / 480px auto,
    #e9f0d9;
  text-align: center;
}
.science .lede { margin-inline: auto; }
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
  text-align: left;
}
.badge-row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}
.badge-row li {
  background: var(--card);
  border: 1.5px solid rgba(75, 122, 68, 0.3);
  border-radius: 999px;
  padding: 10px 20px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--green-deep);
  box-shadow: var(--shadow-soft);
}

/* ---------- Pet strip ---------- */
.pet { text-align: center; }
.pet .lede { margin-inline: auto; }
.pet-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.pet-strip figure {
  background: var(--card);
  border-radius: var(--radius);
  padding: 16px 10px 12px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.15s ease;
}
.pet-strip figure:hover { transform: translateY(-4px) rotate(-1deg); }
.pet-strip img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.pet-strip figcaption { font-family: var(--font-head); font-weight: 700; font-size: 0.9rem; margin-top: 8px; }

/* ---------- Steps ---------- */
.how { background: var(--tan); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.step {
  background: var(--card);
  border-radius: var(--radius);
  padding: 22px;
  position: relative;
}
.step img { border-radius: 16px; margin-bottom: 18px; width: 100%; aspect-ratio: 1 / 1; object-fit: contain; }
.step-num {
  position: absolute;
  top: 34px;
  left: 34px;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 800;
  border-radius: 12px;
  padding: 4px 12px;
  box-shadow: var(--shadow-soft);
}
.step p { font-size: 0.95rem; color: var(--ink-soft); }

/* ---------- Product ---------- */
.checklist { list-style: none; margin: 18px 0 24px; }
.checklist li {
  padding-left: 32px;
  position: relative;
  margin-bottom: 10px;
  font-weight: 600;
}
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  width: 22px;
  height: 22px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 800;
}
.price-box {
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}
.price-row { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-family: var(--font-plain); }
.price-now { font-family: var(--font-plain); font-weight: 700; font-size: 2rem; line-height: 1; letter-spacing: -0.01em; }
.price-was { align-self: flex-start; font-size: 1.05rem; color: var(--ink-soft); text-decoration: line-through; margin-top: 1px; }
.price-save {
  background: var(--coral);
  color: var(--white);
  font-family: var(--font-plain);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 999px;
}
.swatch-row { margin-bottom: 18px; font-family: var(--font-plain); }
.swatch-label { font-family: var(--font-plain); font-weight: 600; font-size: 0.9rem; margin-bottom: 8px; }
.swatches { display: flex; gap: 10px; }
.swatch {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px rgba(62, 44, 30, 0.15);
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.swatch:hover { transform: scale(1.1); }
.swatch.selected { box-shadow: 0 0 0 3px var(--ink); }
.btn-block { display: block; width: 100%; text-align: center; }
.qty-row { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.qty-label { font-weight: 800; font-size: 0.9rem; }
.qty {
  display: flex;
  align-items: center;
  border: 2px solid rgba(75, 46, 21, 0.15);
  border-radius: 999px;
  overflow: hidden;
  background: var(--card);
}
.qty-btn {
  width: 38px;
  height: 40px;
  border: none;
  background: none;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ink);
  cursor: pointer;
}
.qty-btn:hover { background: rgba(75, 122, 68, 0.1); }
.qty input {
  width: 44px;
  border: none;
  text-align: center;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1rem;
  color: var(--ink);
  background: none;
  -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty input:focus { outline: none; }

/* ---------- Safety ---------- */
.safety { background: var(--tan); text-align: center; }
.safety .lede { margin-inline: auto; }
.safety-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
  text-align: left;
}
.safety-item {
  background: var(--card);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
}
.safety-item span { font-size: 1.6rem; display: block; margin-bottom: 8px; }
.safety-item h3 { margin-bottom: 0; }

/* ---------- Reviews ---------- */
.reviews { text-align: center; }
.review-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
  text-align: left;
}
.review {
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}
.review p { flex: 1; font-size: 0.96rem; margin: 8px 0 16px; }
.review footer { font-size: 0.85rem; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 800;
}

/* ---------- FAQ ---------- */
.faq { background: var(--tan); }
.faq-sleeper { width: 190px; margin: 36px auto 0; display: block; }
.faq-inner { max-width: 760px; }
.faq details {
  background: var(--card);
  border-radius: 16px;
  padding: 18px 22px;
  margin-top: 12px;
}
.faq summary {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 30px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: -2px;
  font-size: 1.4rem;
  color: var(--gold-deep);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 10px; color: var(--ink-soft); font-size: 0.97rem; }

.hidden-field { display: none; }

/* ---------- Out-of-stock modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(62, 44, 30, 0.55); backdrop-filter: blur(3px); }
.modal-card {
  position: relative;
  background: var(--cream);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(62, 44, 30, 0.35);
  padding: 36px 32px 30px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  animation: modal-pop 0.25s ease;
}
@keyframes modal-pop {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to { opacity: 1; transform: none; }
}
.modal-x {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.1rem;
  color: var(--ink-soft);
  cursor: pointer;
  padding: 6px;
}
.modal-x:hover { color: var(--ink); }
.modal-img { width: 120px; margin: 0 auto 14px; }
.modal-card h3 { font-size: 1.6rem; margin-bottom: 8px; }
.modal-card p { color: var(--ink-soft); font-size: 0.97rem; margin-bottom: 18px; }
.modal-form { display: flex; flex-direction: column; gap: 10px; }
.modal-form input[type="email"] {
  padding: 14px 20px;
  border-radius: 999px;
  border: 2px solid rgba(62, 44, 30, 0.15);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--white);
  color: var(--ink);
  text-align: center;
}
.modal-form input[type="email"]:focus { outline: none; border-color: var(--gold-deep); }
.modal-fine { font-size: 0.78rem; margin-top: 12px; margin-bottom: 0; }
body.modal-open { overflow: hidden; }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: rgba(255, 246, 230, 0.85);
  padding: 44px 0;
  text-align: center;
  font-size: 0.9rem;
}
.footer-brand { font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; color: var(--cream); margin-bottom: 6px; }
.footer-fine { font-size: 0.75rem; color: rgba(255, 246, 230, 0.55); margin-top: 10px; }
.footer-link { color: rgba(255, 246, 230, 0.8); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .gallery-track { transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .cards-4, .review-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-3 { grid-template-columns: 1fr; }
  .pet-strip { grid-template-columns: repeat(3, 1fr); }
  .hero-grid, .split { grid-template-columns: 1fr; gap: 36px; }
  .gallery-thumbs { display: none; }
  .gallery-dots { display: flex; }
  .nav-burger { display: grid; place-items: center; }
  .nav.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--card);
    padding: 20px 24px;
    box-shadow: var(--shadow);
    border-bottom: 1px solid rgba(75, 46, 21, 0.08);
  }
  .nav.nav-open .nav-links a { font-size: 1.05rem; }
  .split-reverse { direction: ltr; }
  .nav-links { display: none; }
  .steps { grid-template-columns: 1fr; }
  .safety-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .cards-4, .review-grid, .safety-grid { grid-template-columns: 1fr; }
  .pet-strip { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 48px 0 60px; }
  .eyebrow-chips { flex-wrap: nowrap; gap: 6px; }
  .eyebrow-chips li {
    font-size: 0.62rem;
    padding: 6px 10px;
    letter-spacing: 0.05em;
    white-space: nowrap;
  }
  .btn-nav { display: none; }
}
