/* ============================================================
   Pawsitivet — Design System
   Lickable care, premium wellness aesthetic
   ============================================================ */

:root {
  /* Brand palette — derived from Comfort & Nurture packaging */
  --ink:        #14165f;            /* primary text */
  --ink-soft:   #2b2e80;            /* secondary text */
  --ink-bright: #1e22ac;            /* primary accent (from Comfort dieline) */
  --teal:       #0D5257;            /* alt anchor (from Nurture dieline) */
  --teal-soft:  #1f7479;

  --cream:      #FAF6EE;            /* canvas */
  --cream-deep: #F2EBDC;            /* surface alt */
  --paper:      #FFFCF5;            /* card surface */

  --lavender:   #c0aee7;
  --lavender-l: #e6dcfa;
  --mint:       #afeadc;
  --mint-l:     #d8f5ec;
  --peach:      #FFBBA4;
  --peach-l:    #ffe2d6;
  --leaf:       #B9EFA3;
  --leaf-l:     #def8d0;
  --butter:     #F2F0A1;
  --rose:       #f1c9df;

  --mole:       #2a2436;
  --mole-nose:  #ff8da1;

  /* Type */
  --display: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
  --body: 'Manrope', 'Nunito', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;

  /* Rhythm */
  --r-1: 0.25rem;  --r-2: 0.5rem;   --r-3: 0.75rem;
  --r-4: 1rem;     --r-5: 1.5rem;   --r-6: 2rem;
  --r-7: 3rem;     --r-8: 4rem;     --r-9: 6rem;
  --r-10: 8rem;

  /* Other */
  --shadow-sm: 0 2px 8px rgba(20,22,95,.06);
  --shadow-md: 0 12px 32px -8px rgba(20,22,95,.12);
  --shadow-lg: 0 32px 64px -16px rgba(20,22,95,.18);
  --radius: 18px;
  --radius-lg: 28px;
  --container: 1240px;
  --ease: cubic-bezier(.22,1,.36,1);
}

/* ============================================================
   Reset
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--body);
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  font-feature-settings: "ss01", "ss02", "kern";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  font-variation-settings: "opsz" 144, "SOFT" 80, "WONK" 0;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
}
h1 { font-size: clamp(2.5rem, 6vw, 5.25rem); font-weight: 450; letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); letter-spacing: -0.025em; }
h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
h4 { font-size: clamp(1.15rem, 1.5vw, 1.35rem); font-weight: 600; }
p { font-size: 1.0625rem; }
.lede { font-size: clamp(1.125rem, 1.6vw, 1.35rem); line-height: 1.5; color: var(--ink-soft); max-width: 60ch; }
.eyebrow {
  font-family: var(--body);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-bright);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: ""; width: 28px; height: 1px; background: currentColor;
}
em.acc { font-style: normal; font-family: var(--display); font-style: italic; color: var(--ink-bright); font-weight: 500; }

/* ============================================================
   Layout
   ============================================================ */
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.narrow { max-width: 900px; margin: 0 auto; padding: 0 1.5rem; }
section { padding: var(--r-9) 0; }
@media (max-width: 720px) { section { padding: var(--r-7) 0; } }

/* ============================================================
   Mole Cursor — desktop only, hover-capable devices
   ============================================================ */
@media (hover: hover) and (pointer: fine) {
  body { cursor: none; }
  a, button, input, textarea, select, [data-cursor] { cursor: none; }

  .mole-cursor {
    position: fixed;
    top: 0; left: 0;
    width: 42px; height: 42px;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform .35s var(--ease);
    will-change: transform;
  }
  .mole-cursor svg { width: 100%; height: 100%; overflow: visible; }
  .mole-cursor .mole-body { transition: transform .25s var(--ease); }
  .mole-cursor.peek .mole-body { transform: translateY(-2px) scale(1.08); }
  .mole-cursor.click .mole-body { transform: scale(0.86); }
  .mole-cursor.peek .mole-eyes { transform: translateY(-1px); }
  .mole-cursor .mole-eyes { transition: transform .2s var(--ease); }
}
@media (hover: none) {
  .mole-cursor { display: none; }
}

/* ============================================================
   Page-load mole — digging animation
   ============================================================ */
.loader {
  position: fixed; inset: 0;
  background: var(--cream);
  z-index: 10000;
  display: grid; place-items: center;
  transition: opacity .6s var(--ease), visibility .6s var(--ease);
}
.loader.done { opacity: 0; visibility: hidden; }
.loader-inner {
  display: flex; flex-direction: column; align-items: center;
  gap: 1.5rem;
}
.loader-stage {
  position: relative;
  width: 220px; height: 140px;
}
.loader-dirt-pile {
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 200px; height: 60px;
  background: linear-gradient(180deg, #7a5a3a 0%, #5a3f25 100%);
  border-radius: 100px 100px 0 0;
}
.loader-dirt-pile::before {
  content: ""; position: absolute;
  top: -8px; left: 30%;
  width: 35px; height: 35px;
  background: #5a3f25;
  border-radius: 50%;
}
.loader-dirt-pile::after {
  content: ""; position: absolute;
  top: -14px; left: 55%;
  width: 28px; height: 28px;
  background: #7a5a3a;
  border-radius: 50%;
}
.loader-mole {
  position: absolute;
  bottom: 12px; left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 80px;
  animation: dig 1.6s var(--ease) infinite;
}
.loader-clump {
  position: absolute;
  width: 8px; height: 8px;
  background: #5a3f25;
  border-radius: 50%;
  opacity: 0;
}
.loader-clump.c1 { top: 40%; left: 25%; animation: clump 1.6s var(--ease) infinite; }
.loader-clump.c2 { top: 30%; left: 65%; animation: clump 1.6s var(--ease) .2s infinite; }
.loader-clump.c3 { top: 50%; left: 80%; animation: clump 1.6s var(--ease) .4s infinite; }
.loader-text {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}
.loader-text::after {
  content: "...";
  display: inline-block;
  width: 1.5em; text-align: left;
  animation: dots 1.4s steps(4) infinite;
}
@keyframes dig {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(35px); }
}
@keyframes clump {
  0%   { transform: translateY(0) scale(1); opacity: 1; }
  100% { transform: translateY(-60px) scale(0); opacity: 0; }
}
@keyframes dots {
  0%   { content: ""; }
  25%  { content: "."; }
  50%  { content: ".."; }
  75%  { content: "..."; }
}

/* ============================================================
   Header / Nav
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 246, 238, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(20,22,95,.06);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 1.5rem;
  max-width: var(--container);
  margin: 0 auto;
  gap: 2rem;
}
.brand {
  display: flex; align-items: center; gap: 0.55rem;
  font-family: var(--body); font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.brand-mark {
  width: 30px; height: 30px;
  display: inline-grid; place-items: center;
}
.brand sup { font-size: 0.9em; color: var(--ink-bright); margin-left: -0.05em; }
.brand-logo {
  height: 34px; width: auto; display: block;
}
.brand-logo-footer {
  height: 34px; width: auto; display: block;
}
.nav-links {
  display: flex; gap: 2rem; align-items: center;
}
.nav-links a {
  font-size: 0.94rem; font-weight: 500; color: var(--ink-soft);
  transition: color .2s var(--ease);
  position: relative;
}
.nav-links a::after {
  content: ""; position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 1.5px;
  background: var(--ink-bright);
  transition: width .3s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.6rem 1.1rem;
  background: #14165f;
  color: #ffffff !important;
  border-radius: 100px;
  font-size: 0.88rem; font-weight: 600;
  transition: transform .2s var(--ease), background .2s var(--ease);
}
.nav-cta:hover { background: var(--ink-bright); color: #ffffff !important; transform: translateY(-1px); }
.nav-cta:hover::after { display: none; }
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--ink);
  position: relative;
  transition: all .25s var(--ease);
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: ""; position: absolute;
  width: 22px; height: 2px; background: var(--ink);
  left: 0;
  transition: all .25s var(--ease);
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; top: 68px; right: 0; bottom: 0; left: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 2rem 2rem 4rem;
    gap: 1.5rem;
    align-items: flex-start;
    transform: translateX(100%);
    transition: transform .35s var(--ease);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.4rem; font-family: var(--display); }
  .nav-links .nav-cta { font-size: 1rem; font-family: var(--body); margin-top: 1rem; }
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.95rem 1.6rem;
  font-size: 0.95rem; font-weight: 600;
  border-radius: 100px;
  transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease), box-shadow .3s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--ink); color: var(--cream); }
.btn-primary:hover { background: var(--ink-bright); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-secondary { background: transparent; color: var(--ink); border: 1.5px solid rgba(20,22,95,.2); }
.btn-secondary:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink-bright); padding: 0.5rem 0; }
.btn-ghost:hover { gap: 0.85rem; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  padding: clamp(3rem, 8vh, 6rem) 0 clamp(4rem, 10vh, 7rem);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.6;
}
.hero-blob.b1 { top: -120px; right: -100px; width: 480px; height: 480px;
  background: radial-gradient(circle, var(--lavender) 0%, transparent 70%); }
.hero-blob.b2 { bottom: -180px; left: -120px; width: 540px; height: 540px;
  background: radial-gradient(circle, var(--mint) 0%, transparent 70%); }
.hero-blob.b3 { top: 30%; left: 45%; width: 320px; height: 320px;
  background: radial-gradient(circle, var(--peach-l) 0%, transparent 70%); }
.hero-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}
.hero-title {
  font-size: clamp(2.75rem, 7vw, 6rem);
  font-weight: 350;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 0;
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.hero-title em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  color: var(--ink-bright);
}
.hero-sub {
  margin-top: 1.5rem;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 38ch;
}
.hero-actions {
  margin-top: 2.5rem;
  display: flex; gap: 1rem; flex-wrap: wrap;
}
.hero-trust {
  margin-top: 3rem;
  display: flex; gap: 2rem; flex-wrap: wrap;
}
.hero-trust-item {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.85rem; color: var(--ink-soft);
}
.hero-trust-item svg { width: 18px; height: 18px; color: var(--ink-bright); }

.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  background: linear-gradient(150deg, var(--lavender-l) 0%, var(--mint-l) 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 30%, rgba(255,255,255,.6) 0%, transparent 50%),
    radial-gradient(circle at 75% 80%, var(--peach-l) 0%, transparent 55%);
}
.hero-pack {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(-2deg);
  width: 92%;
  max-width: 540px;
  height: auto;
  border-radius: 10px;
  filter: drop-shadow(0 22px 44px rgba(20,22,95,0.20));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translate(-50%, -50%) rotate(-2deg) translateY(0); }
  50%      { transform: translate(-50%, -50%) rotate(-2deg) translateY(-12px); }
}
.hero-badge {
  position: absolute;
  top: 5%; right: 5%;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--display);
  font-style: italic;
  font-size: 0.9rem;
  padding: 0.7rem 1.1rem;
  border-radius: 100px;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 0.4rem;
}
.hero-badge span { color: var(--ink-bright); font-weight: 600; }

@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { max-width: 480px; margin: 0 auto; }
}

/* ============================================================
   Marquee
   ============================================================ */
.marquee {
  background: var(--ink);
  color: var(--cream);
  padding: 1rem 0;
  overflow: hidden;
  position: relative;
}
.marquee-track {
  display: flex; gap: 3rem;
  animation: scroll 30s linear infinite;
  white-space: nowrap;
}
.marquee-item {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.15rem;
  display: inline-flex; align-items: center; gap: 1.5rem;
}
.marquee-item::after {
  content: "✦";
  font-style: normal;
  color: var(--peach);
}
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   Products section / cards
   ============================================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}
.product-card {
  position: relative;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  display: flex; flex-direction: column;
  min-height: 480px;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-card.comfort {
  background: linear-gradient(160deg, #2d2eb3 0%, #1e22ac 60%, #14165f 100%);
  color: var(--cream);
}
.product-card.nurture {
  background: linear-gradient(160deg, #1f7479 0%, #0D5257 60%, #073537 100%);
  color: var(--cream);
}
.product-card .pc-eyebrow {
  font-family: var(--body);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  opacity: 0.7;
  font-weight: 600;
}
.product-card h3 {
  color: var(--cream);
  font-size: clamp(2.25rem, 3.5vw, 3rem);
  font-weight: 400;
  margin-top: 0.75rem;
  font-style: italic;
}
.product-card .pc-promise {
  margin-top: 1rem;
  font-size: 1.05rem;
  line-height: 1.5;
  max-width: 32ch;
  opacity: 0.92;
}
.product-card .pc-ingredients {
  margin-top: 2rem;
  display: flex; flex-wrap: wrap; gap: 0.5rem;
}
.product-card .pc-ingredients span {
  font-size: 0.78rem;
  padding: 0.35rem 0.8rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 100px;
  letter-spacing: 0.02em;
}
.product-card .pc-link {
  margin-top: auto;
  padding-top: 2rem;
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
}
.product-card .pc-decoration {
  position: absolute;
  pointer-events: none;
  opacity: 0.18;
}
.product-card.comfort .pc-decoration {
  top: -40px; right: -40px;
  width: 240px; height: 240px;
}
.product-card.nurture .pc-decoration {
  bottom: -60px; right: -30px;
  width: 280px; height: 280px;
}

@media (max-width: 720px) {
  .product-grid { grid-template-columns: 1fr; }
  .product-card { min-height: auto; padding: 2rem; }
}

/* ============================================================
   Feature cards (3-up)
   ============================================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.feature-card {
  padding: 2rem;
  background: var(--paper);
  border: 1px solid rgba(20,22,95,.08);
  border-radius: var(--radius);
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.feature-card:hover { transform: translateY(-4px); border-color: var(--ink-bright); }
.feature-card .f-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: grid; place-items: center;
  margin-bottom: 1.25rem;
}
.feature-card.lav .f-icon { background: var(--lavender-l); color: var(--ink-bright); }
.feature-card.mint .f-icon { background: var(--mint-l); color: var(--teal); }
.feature-card.peach .f-icon { background: var(--peach-l); color: #b85c3c; }
.feature-card.leaf .f-icon { background: var(--leaf-l); color: #4a7733; }
.feature-card.butter .f-icon { background: #fffaca; color: #8a7a14; }
.feature-card.rose .f-icon { background: #fde2ee; color: #b94d7c; }
.feature-card h4 { font-family: var(--display); font-style: italic; font-weight: 500; font-size: 1.4rem; }
.feature-card p { margin-top: 0.75rem; color: var(--ink-soft); font-size: 0.98rem; }

@media (max-width: 880px) { .feature-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Comparison / vs table
   ============================================================ */
.compare {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(20,22,95,.06);
}
.compare-table {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 0;
  margin-top: 2rem;
  border-radius: var(--radius);
  overflow: hidden;
}
.compare-table > div {
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid rgba(20,22,95,.07);
  display: flex; align-items: center;
  font-size: 0.96rem;
}
.compare-table .col-head {
  background: var(--cream-deep);
  font-family: var(--display);
  font-style: italic;
  font-size: 1.05rem;
  font-weight: 500;
  justify-content: center;
  border-bottom: 2px solid var(--ink);
}
.compare-table .col-head.us { background: var(--ink); color: var(--cream); }
.compare-table .col-head.them { background: var(--cream-deep); color: var(--ink-soft); }
.compare-table .row-label { font-weight: 500; color: var(--ink); }
.compare-table .cell-good { color: var(--teal); font-weight: 600; }
.compare-table .cell-meh { color: #b85c3c; }
.compare-table .row-us { background: rgba(192, 174, 231, 0.08); }

@media (max-width: 720px) {
  .compare { padding: 1.75rem 1.25rem; }
  .compare-table { font-size: 0.85rem; grid-template-columns: 1.4fr 0.8fr 0.8fr; }
  .compare-table > div { padding: 0.75rem 0.6rem; }
}

/* ============================================================
   Use-case strip
   ============================================================ */
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}
.usecase-card {
  padding: 1.75rem 1.25rem;
  background: var(--cream-deep);
  border-radius: var(--radius);
  text-align: center;
}
.usecase-card .uc-icon {
  width: 64px; height: 64px;
  margin: 0 auto 1rem;
  background: var(--paper);
  border-radius: 50%;
  display: grid; place-items: center;
}
.usecase-card h4 { font-size: 1.05rem; font-weight: 600; font-family: var(--body); }
.usecase-card p { font-size: 0.88rem; color: var(--ink-soft); margin-top: 0.4rem; }
@media (max-width: 720px) { .usecase-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   FAQ accordion
   ============================================================ */
.faq-list { margin-top: 2.5rem; max-width: 820px; margin-left: auto; margin-right: auto; }
.faq-item {
  border-bottom: 1px solid rgba(20,22,95,.1);
}
.faq-q {
  display: flex; width: 100%; justify-content: space-between; align-items: center;
  padding: 1.5rem 0;
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--ink);
  text-align: left;
  letter-spacing: -0.01em;
}
.faq-q .faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  display: grid; place-items: center;
  transition: transform .3s var(--ease), background .3s var(--ease);
  flex-shrink: 0;
  margin-left: 1rem;
}
.faq-q .faq-icon::before {
  content: "+";
  font-family: var(--body);
  font-weight: 500;
  line-height: 1;
}
.faq-item.open .faq-q .faq-icon { transform: rotate(45deg); background: var(--ink); color: var(--cream); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease);
}
.faq-a-inner {
  padding-bottom: 1.5rem;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.6;
  max-width: 70ch;
}
.faq-item.open .faq-a { max-height: 500px; }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band {
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before, .cta-band::after {
  content: "";
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}
.cta-band::before { background: var(--lavender); top: -100px; left: -50px; }
.cta-band::after { background: var(--mint); bottom: -120px; right: -80px; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: var(--cream); }
.cta-band .lede { color: rgba(250, 246, 238, 0.85); margin: 1rem auto 0; }
.cta-band .hero-actions { justify-content: center; margin-top: 2rem; }
.cta-band .btn-primary { background: var(--cream); color: var(--ink); }
.cta-band .btn-primary:hover { background: var(--peach); color: var(--ink); }
.cta-band .btn-secondary { color: var(--cream); border-color: rgba(250,246,238,0.3); }
.cta-band .btn-secondary:hover { background: var(--cream); color: var(--ink); }

@media (max-width: 720px) { .cta-band { padding: 2.5rem 1.5rem; } }

/* ============================================================
   Product detail pages
   ============================================================ */
.product-hero {
  position: relative;
  padding: 4rem 0 5rem;
  overflow: hidden;
}
.product-hero.comfort {
  background: linear-gradient(180deg, var(--lavender-l) 0%, var(--cream) 100%);
}
.product-hero.nurture {
  background: linear-gradient(180deg, var(--leaf-l) 0%, var(--cream) 100%);
}
.product-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.product-hero h1 { font-style: italic; font-weight: 400; }
.product-hero .lede { margin-top: 1.25rem; }
.product-stage {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  position: relative;
  display: grid; place-items: center;
  overflow: hidden;
}
.product-hero.comfort .product-stage {
  background: linear-gradient(160deg, #2d2eb3 0%, #1e22ac 100%);
}
.product-hero.nurture .product-stage {
  background: linear-gradient(160deg, #1f7479 0%, #0D5257 100%);
}
.product-stage::before {
  content: "";
  position: absolute;
  width: 60%; height: 60%;
  background: radial-gradient(circle, rgba(255,255,255,.25) 0%, transparent 70%);
  top: 20%; left: 20%;
}
.product-stage svg { width: 75%; height: 75%; position: relative; z-index: 1; }

@media (max-width: 880px) { .product-hero-inner { grid-template-columns: 1fr; gap: 2rem; } }

/* Ingredient table */
.ingredient-stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.ingredient-card {
  padding: 1.75rem;
  background: var(--paper);
  border: 1px solid rgba(20,22,95,.08);
  border-radius: var(--radius);
  transition: border-color .25s var(--ease);
}
.ingredient-card:hover { border-color: var(--ink-bright); }
.ingredient-card .i-meta {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 0.5rem;
}
.ingredient-card .i-meta strong {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink);
}
.ingredient-card .i-dose {
  font-size: 0.82rem;
  font-family: var(--mono);
  background: var(--cream-deep);
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  color: var(--ink-soft);
}
.ingredient-card p {
  font-size: 0.95rem; line-height: 1.55;
  color: var(--ink-soft);
}
@media (max-width: 720px) { .ingredient-stack { grid-template-columns: 1fr; } }

/* Feeding table */
.feeding-table {
  margin-top: 2rem;
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(20,22,95,.08);
}
.feeding-table-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  border-bottom: 1px solid rgba(20,22,95,.06);
}
.feeding-table-row:last-child { border-bottom: none; }
.feeding-table-row > div {
  padding: 1rem 0.9rem;
  text-align: center;
  font-size: 0.92rem;
}
.feeding-table-row.head {
  background: var(--cream-deep);
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
}
.feeding-table.cols-2 .feeding-table-row { grid-template-columns: 1fr 1fr; }

/* ============================================================
   About / story
   ============================================================ */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.story-grid.reverse { direction: rtl; }
.story-grid.reverse > * { direction: ltr; }
.story-image {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--peach-l) 0%, var(--lavender-l) 100%);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  display: grid; place-items: center;
}
.story-image.alt {
  background: linear-gradient(160deg, var(--mint-l) 0%, var(--leaf-l) 100%);
}
.story-image svg { width: 45%; opacity: 0.6; }
.story-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.5) 0%, transparent 50%);
}
.story-content h2 { margin-bottom: 1.5rem; }
.story-content p + p { margin-top: 1rem; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.value-card {
  padding: 1.75rem 1.25rem;
  border-top: 2px solid var(--ink);
}
.value-card .v-num {
  font-family: var(--display); font-style: italic;
  font-size: 0.95rem;
  color: var(--ink-bright);
  margin-bottom: 0.5rem;
}
.value-card h4 { font-family: var(--display); font-style: italic; font-weight: 500; }
.value-card p { font-size: 0.92rem; color: var(--ink-soft); margin-top: 0.6rem; }
@media (max-width: 880px) {
  .story-grid { grid-template-columns: 1fr; gap: 2rem; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   Legal pages (long-form text)
   ============================================================ */
.legal {
  padding: 5rem 0;
  background: var(--paper);
}
.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.legal-content h1 { font-size: clamp(2.25rem, 4vw, 3.5rem); margin-bottom: 0.5rem; }
.legal-content .legal-date { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 2.5rem; }
.legal-content h2 { font-size: 1.45rem; margin: 2.5rem 0 0.75rem; font-family: var(--body); font-weight: 700; letter-spacing: 0; }
.legal-content h3 { font-size: 1.15rem; margin: 1.5rem 0 0.5rem; font-family: var(--body); font-weight: 600; letter-spacing: 0; }
.legal-content p, .legal-content li { font-size: 1rem; line-height: 1.7; color: var(--ink-soft); margin-bottom: 0.85rem; }
.legal-content ul, .legal-content ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.legal-content ul li { list-style: disc; }
.legal-content ol li { list-style: decimal; }
.legal-content strong { color: var(--ink); }

/* ============================================================
   Contact form
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.contact-form {
  display: flex; flex-direction: column; gap: 1rem;
}
.field {
  display: flex; flex-direction: column; gap: 0.4rem;
}
.field label {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
}
.field input, .field textarea, .field select {
  padding: 0.95rem 1.1rem;
  background: var(--paper);
  border: 1.5px solid rgba(20,22,95,.12);
  border-radius: 12px;
  font: inherit;
  color: var(--ink);
  transition: border-color .2s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--ink-bright);
}
.field textarea { min-height: 140px; resize: vertical; }
.contact-info-block + .contact-info-block { margin-top: 2rem; }
.contact-info-block h4 { font-family: var(--display); font-style: italic; font-weight: 500; font-size: 1.25rem; margin-bottom: 0.4rem; }
.contact-info-block p, .contact-info-block a { color: var(--ink-soft); font-size: 1rem; line-height: 1.6; }
.contact-info-block a:hover { color: var(--ink-bright); }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; } }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: rgba(250,246,238,0.7);
  padding: 5rem 0 2.5rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}
.footer-brand {
  display: flex; flex-direction: column; gap: 1rem;
}
.footer-brand .brand { color: var(--cream); }
.footer-brand p { color: rgba(250,246,238,0.6); font-size: 0.92rem; line-height: 1.55; max-width: 32ch; }
.footer-col h5 {
  font-family: var(--body);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--cream);
  margin-bottom: 1.25rem;
  font-weight: 700;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col a { font-size: 0.92rem; color: rgba(250,246,238,0.7); transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--cream); }
.footer-bottom {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(250,246,238,0.1);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  font-size: 0.84rem;
  color: rgba(250,246,238,0.5);
}
@media (max-width: 880px) { .footer-inner { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
@media (max-width: 560px) { .footer-inner { grid-template-columns: 1fr; } }

/* ============================================================
   Page hero (interior pages)
   ============================================================ */
.page-hero {
  padding: 5rem 0 3rem;
  background: linear-gradient(180deg, var(--cream-deep) 0%, var(--cream) 100%);
  text-align: center;
}
.page-hero .eyebrow { justify-content: center; margin-bottom: 1rem; }
.page-hero h1 { font-style: italic; font-weight: 400; }
.page-hero .lede { margin: 1.25rem auto 0; }
.breadcrumb {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 2rem;
}
.breadcrumb a:hover { color: var(--ink-bright); }
.breadcrumb span { margin: 0 0.5rem; opacity: 0.5; }

/* ============================================================
   Section heading utility
   ============================================================ */
.section-head { text-align: center; margin-bottom: 1rem; }
.section-head .eyebrow { justify-content: center; margin-bottom: 1.25rem; }
.section-head h2 { font-style: italic; font-weight: 400; }
.section-head .lede { margin: 1rem auto 0; }

/* ============================================================
   Stats strip
   ============================================================ */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(20,22,95,.08);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 4rem;
}
.stat {
  background: var(--paper);
  padding: 2rem 1.5rem;
  text-align: center;
}
.stat-num {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  color: var(--ink-bright);
  line-height: 1;
}
.stat-label {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  font-weight: 600;
}
@media (max-width: 720px) { .stats-strip { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   Reveal on scroll
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   Skip link
   ============================================================ */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--cream);
  padding: 0.75rem 1.25rem;
  z-index: 10001;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .mole-cursor { display: none; }
  body { cursor: auto; }
  a, button { cursor: pointer; }
}

/* ========================================
   PRODUCT RANGE CARDS (products.html)
   ======================================== */
.prod-card {
  background: var(--cream);
  border: 1px solid var(--cream-deep);
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0;
  margin-bottom: 2.5rem;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.prod-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.prod-stage {
  background: linear-gradient(135deg, var(--lavender-l) 0%, var(--lavender) 60%, var(--ink-bright) 100%);
  display: flex; align-items: center; justify-content: center;
  padding: 3rem 1.5rem; position: relative; min-height: 380px;
}
.prod-stage::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center bottom, rgba(0,0,0,0.18), transparent 60%);
  pointer-events: none;
}
.prod-stage.alt {
  background: linear-gradient(135deg, var(--mint-l) 0%, var(--mint) 50%, var(--teal) 100%);
}
.prod-pack {
  width: 60%; max-width: 220px; height: auto;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.25));
  transform: rotate(-4deg);
  transition: transform 0.5s ease;
  position: relative; z-index: 1;
}
.prod-card:hover .prod-pack { transform: rotate(0deg) scale(1.04); }
.prod-body { padding: 2.5rem 2.5rem 2.5rem 2.25rem; }
.prod-tag {
  display: inline-block; padding: 0.35rem 0.8rem;
  background: var(--lavender-l); color: var(--ink-bright);
  border-radius: 100px; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.5px; text-transform: uppercase;
  margin-bottom: 1rem;
}
.prod-tag.teal { background: var(--mint-l); color: var(--teal); }
.prod-card h3 {
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: clamp(2rem, 3vw, 2.75rem); line-height: 1.05;
  color: var(--ink); margin-bottom: 0.5rem;
}
.prod-tagline {
  font-family: var(--display); font-size: 1.1rem; font-weight: 400;
  color: var(--ink-soft); margin-bottom: 1.5rem; line-height: 1.4;
}
.prod-ings {
  list-style: none; padding: 0; margin-bottom: 1.25rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 1rem;
}
.prod-ings li {
  font-size: 0.92rem; color: var(--ink-soft);
  padding: 0.4rem 0; border-bottom: 1px solid var(--cream-deep);
}
.prod-ings li strong { color: var(--ink); font-weight: 600; }
.prod-base {
  font-size: 0.88rem; color: var(--ink-soft);
  margin-bottom: 1.5rem; font-style: italic;
}
@media (max-width: 820px) {
  .prod-card { grid-template-columns: 1fr; }
  .prod-stage { min-height: 320px; padding: 2rem 1.5rem; }
  .prod-body { padding: 2rem 1.75rem; }
  .prod-ings { grid-template-columns: 1fr; }
}

/* ========================================
   SCIENCE PAGE
   ======================================== */
.science-intro {
  background: var(--cream-deep);
  border-radius: 24px; padding: 3rem;
  margin-bottom: 3rem;
}
.science-intro h2 {
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: 1rem;
}
.science-intro p { color: var(--ink-soft); font-size: 1.05rem; line-height: 1.7; }
.science-section {
  margin-bottom: 4rem; padding-bottom: 3rem;
  border-bottom: 1px solid var(--cream-deep);
}
.science-section:last-child { border-bottom: none; }
.science-section h2 {
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: 0.5rem;
}
.science-section .sci-eyebrow {
  display: inline-block; font-size: 0.8rem; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--ink-bright); font-weight: 600;
  margin-bottom: 0.75rem;
}
.science-section > p {
  color: var(--ink-soft); font-size: 1.05rem; line-height: 1.7;
  margin-bottom: 1.5rem; max-width: 70ch;
}
.croc-banner {
  background: linear-gradient(135deg, #2d3a1a 0%, #4a6b2a 100%);
  border-radius: 24px; padding: 3rem; color: var(--cream);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem;
  align-items: center; margin: 3rem 0;
  position: relative; overflow: hidden;
}
.croc-banner::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(185, 239, 163, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(242, 240, 161, 0.1) 0%, transparent 50%);
  pointer-events: none;
}
.croc-banner > * { position: relative; z-index: 1; }
.croc-banner .eyebrow { color: var(--leaf); }
.croc-banner h2 { color: var(--cream); margin: 0.5rem 0 1rem; }
.croc-banner p { color: rgba(250, 246, 238, 0.85); margin-bottom: 0.85rem; }
.croc-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.croc-stat {
  background: rgba(250, 246, 238, 0.08); border-radius: 12px;
  padding: 1rem; border: 1px solid rgba(250, 246, 238, 0.15);
}
.croc-stat .num {
  font-family: var(--display); font-style: italic; font-size: 1.75rem;
  color: var(--leaf); font-weight: 500; display: block;
}
.croc-stat .lbl { font-size: 0.82rem; color: rgba(250, 246, 238, 0.7); }
.croc-illustration {
  display: flex; align-items: center; justify-content: center;
}
@media (max-width: 820px) {
  .science-intro, .croc-banner { padding: 2rem 1.5rem; }
  .croc-banner { grid-template-columns: 1fr; }
}

/* ========================================
   404 PAGE
   ======================================== */
.notfound {
  min-height: 60vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 4rem 1.5rem;
}
.notfound h1 {
  font-family: var(--display); font-style: italic; font-weight: 300;
  font-size: clamp(4rem, 12vw, 9rem); line-height: 1; color: var(--ink-bright);
}
.notfound h2 {
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.25rem); margin: 0.5rem 0 1rem;
}
.notfound p {
  color: var(--ink-soft); max-width: 50ch; margin: 0 auto 2rem;
  font-size: 1.05rem; line-height: 1.6;
}
.notfound-mole {
  width: 140px; height: 140px; margin: 0 auto 1.5rem;
  animation: digg 2.5s ease-in-out infinite;
}
@keyframes digg {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-10px) rotate(3deg); }
}

/* ========================================
   COMPARISON TABLE EXTENDED
   ======================================== */
.vs-summary {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  margin-bottom: 3rem;
}
.vs-summary .vs-stat {
  background: var(--cream); border: 1px solid var(--cream-deep);
  border-radius: 16px; padding: 2rem 1.5rem; text-align: center;
}
.vs-summary .vs-stat strong {
  font-family: var(--display); font-style: italic; font-weight: 500;
  font-size: 2.5rem; color: var(--ink-bright); display: block;
  line-height: 1; margin-bottom: 0.5rem;
}
.vs-summary .vs-stat span { color: var(--ink-soft); font-size: 0.95rem; }
@media (max-width: 720px) {
  .vs-summary { grid-template-columns: 1fr; }
}

/* ========================================
   ABOUT VALUES & STORY (extend existing)
   ======================================== */
.value-card {
  background: var(--cream); border: 1px solid var(--cream-deep);
  border-radius: 20px; padding: 2rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.value-card:hover { transform: translateY(-4px); border-color: var(--ink-bright); }
.value-card .v-num {
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: 2rem; color: var(--ink-bright); line-height: 1;
  margin-bottom: 0.75rem; display: block;
}
.value-card h4 {
  font-family: var(--display); font-style: italic; font-weight: 500;
  font-size: 1.35rem; margin-bottom: 0.5rem;
}
.value-card p { color: var(--ink-soft); font-size: 0.98rem; line-height: 1.6; }

/* ========================================
   CONTACT FORM EXTRAS
   ======================================== */
.form-row {
  display: flex; flex-direction: column; gap: 0.4rem;
  margin-bottom: 1rem;
}
.form-row label {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
}
.form-row label .req { color: #b85c3c; text-transform: none; }
.form-row input, .form-row textarea, .form-row select {
  padding: 0.95rem 1.1rem;
  background: var(--paper);
  border: 1.5px solid rgba(20, 22, 95, 0.12);
  border-radius: 12px;
  font: inherit;
  color: var(--ink);
  transition: border-color 0.2s var(--ease);
  font-family: var(--body);
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  outline: none;
  border-color: var(--ink-bright);
  box-shadow: 0 0 0 3px rgba(30, 34, 172, 0.1);
}
.form-row textarea { min-height: 140px; resize: vertical; }
.form-consent label.consent {
  display: flex; align-items: flex-start; gap: 0.6rem;
  text-transform: none; letter-spacing: 0; font-weight: 400;
  font-size: 0.9rem; color: var(--ink-soft); line-height: 1.5;
  cursor: pointer;
}
.form-consent input[type="checkbox"] {
  width: 18px; height: 18px; margin-top: 2px; cursor: pointer;
  accent-color: var(--ink-bright);
}
.form-success, .form-error {
  padding: 1rem 1.25rem; border-radius: 12px;
  margin-top: 1rem; font-size: 0.95rem;
}
.form-success {
  background: var(--mint-l); color: var(--teal);
  border: 1px solid var(--mint);
}
.form-error {
  background: #ffe6dc; color: #b85c3c;
  border: 1px solid #FFBBA4;
}

/* ========================================
   CONSENT BANNER (tracking.js)
   ======================================== */
#pw-consent-banner {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 9999;
  max-width: 720px;
  margin: 0 auto;
  background: var(--ink-deep, #14165f);
  color: var(--cream, #FAF6EE);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  padding: 1.25rem 1.5rem;
  font-family: var(--body, system-ui, sans-serif);
  font-size: 0.92rem;
  line-height: 1.5;
  animation: pw-consent-rise 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.pw-consent-inner {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  flex-wrap: wrap;
}
#pw-consent-banner p {
  margin: 0;
  flex: 1 1 280px;
  color: var(--cream, #FAF6EE);
}
#pw-consent-banner a {
  color: var(--peach, #FFBBA4);
  text-decoration: underline;
}
.pw-consent-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.pw-consent-btn {
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.pw-consent-btn:hover { transform: translateY(-1px); }
.pw-consent-accept {
  background: var(--peach, #FFBBA4);
  color: var(--ink-deep, #14165f);
}
.pw-consent-decline {
  background: transparent;
  color: var(--cream, #FAF6EE);
  border-color: rgba(250, 246, 238, 0.4);
}
.pw-consent-decline:hover {
  background: rgba(250, 246, 238, 0.08);
}
@keyframes pw-consent-rise {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (max-width: 540px) {
  #pw-consent-banner { padding: 1rem 1.1rem; font-size: 0.88rem; }
  .pw-consent-actions { width: 100%; justify-content: stretch; }
  .pw-consent-btn { flex: 1; }
}

/* ========================================
   EARLY-ACCESS RIBBON (forms.js)
   ======================================== */
#pw-ribbon {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  background: linear-gradient(90deg, var(--ink-deep, #14165f) 0%, var(--ink-bright, #1e22ac) 100%);
  color: var(--cream, #FAF6EE);
  font-family: var(--body, system-ui, sans-serif);
  font-size: 0.92rem;
  box-shadow: 0 2px 12px rgba(20, 22, 95, 0.18);
  animation: pw-ribbon-down 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.pw-ribbon-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.7rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.pw-ribbon-text {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: none;
  border: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  padding: 0.25rem 0;
  transition: opacity 0.15s ease;
}
.pw-ribbon-text:hover { opacity: 0.85; }
.pw-ribbon-emoji { font-size: 1.1rem; flex-shrink: 0; }
.pw-ribbon-cta {
  color: var(--peach, #FFBBA4);
  font-weight: 600;
  white-space: nowrap;
  margin-left: auto;
  padding-left: 1rem;
}
.pw-ribbon-close {
  background: none;
  border: 0;
  color: var(--cream, #FAF6EE);
  font-size: 1.5rem;
  line-height: 1;
  padding: 0.25rem 0.6rem;
  cursor: pointer;
  border-radius: 50%;
  opacity: 0.6;
  transition: opacity 0.15s ease, background 0.15s ease;
  flex-shrink: 0;
}
.pw-ribbon-close:hover {
  opacity: 1;
  background: rgba(250, 246, 238, 0.1);
}
@keyframes pw-ribbon-down {
  from { transform: translateY(-100%); }
  to   { transform: translateY(0); }
}
/* Push the site down so ribbon doesn't cover the nav */
html.has-pw-ribbon body { padding-top: 44px; }
html.has-pw-ribbon .site-header { top: 44px; }
@media (max-width: 640px) {
  html.has-pw-ribbon body { padding-top: 60px; }
  html.has-pw-ribbon .site-header { top: 60px; }
  .pw-ribbon-inner { padding: 0.6rem 0.9rem; font-size: 0.84rem; }
  .pw-ribbon-cta { display: none; }
  .pw-ribbon-text span:not(.pw-ribbon-emoji) { line-height: 1.3; }
}

/* ========================================
   EARLY-ACCESS MODAL (forms.js)
   ======================================== */
.pw-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.pw-modal[hidden] { display: none; }
body.pw-modal-open { overflow: hidden; }
.pw-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 22, 95, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: pw-fade-in 0.3s ease;
}
.pw-modal-card {
  position: relative;
  max-width: 560px;
  width: 100%;
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  background: var(--cream, #FAF6EE);
  border-radius: 24px;
  padding: 2.5rem 2.25rem 2rem;
  box-shadow: 0 30px 80px rgba(20, 22, 95, 0.35);
  font-family: var(--body, system-ui, sans-serif);
  animation: pw-modal-rise 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.pw-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: var(--cream-deep, #EFE7D6);
  color: var(--ink-deep, #14165f);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}
.pw-modal-close:hover {
  background: var(--lavender, #c0aee7);
  transform: scale(1.05);
}
.pw-modal-header { text-align: center; margin-bottom: 1.75rem; }
.pw-modal-mole {
  width: 64px;
  height: 64px;
  margin: 0 auto 0.75rem;
  display: block;
}
.pw-modal-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-bright, #1e22ac);
  margin-bottom: 0.5rem;
}
.pw-modal-card h2 {
  font-family: var(--display, "Fraunces", serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.6rem, 4vw, 2rem);
  line-height: 1.1;
  color: var(--ink-deep, #14165f);
  margin: 0 0 0.75rem;
}
.pw-modal-lede {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--ink-soft, #4a4a6a);
  margin: 0;
}

/* Form */
.pw-form { display: flex; flex-direction: column; gap: 1rem; }
.pw-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.pw-field { display: flex; flex-direction: column; gap: 0.35rem; }
.pw-field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-deep, #14165f);
  letter-spacing: 0.02em;
}
.pw-field input,
.pw-field select {
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink-deep, #14165f);
  background: #fff;
  border: 1.5px solid var(--cream-deep, #EFE7D6);
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}
.pw-field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%2314165f' d='M6 8L0 0h12z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.25rem;
}
.pw-field input:focus,
.pw-field select:focus {
  outline: 0;
  border-color: var(--ink-bright, #1e22ac);
  box-shadow: 0 0 0 4px rgba(30, 34, 172, 0.12);
}
.pw-form-submit {
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--cream, #FAF6EE);
  background: var(--ink-deep, #14165f);
  border: 0;
  border-radius: 999px;
  padding: 0.95rem 1.5rem;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: transform 0.15s ease, background 0.15s ease;
}
.pw-form-submit:hover:not(:disabled) {
  background: var(--ink-bright, #1e22ac);
  transform: translateY(-1px);
}
.pw-form-submit:disabled { opacity: 0.7; cursor: wait; }
.pw-form-error {
  background: #ffe8e2;
  color: #b3361f;
  padding: 0.7rem 0.9rem;
  border-radius: 10px;
  font-size: 0.88rem;
  margin: 0;
}
.pw-form-fineprint {
  font-size: 0.78rem;
  color: var(--ink-soft, #4a4a6a);
  text-align: center;
  margin: 0.5rem 0 0;
  line-height: 1.4;
}
.pw-form-fineprint a { color: var(--ink-bright, #1e22ac); }

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

@media (max-width: 540px) {
  .pw-modal-card { padding: 2rem 1.4rem 1.5rem; border-radius: 18px; }
  .pw-form-row { grid-template-columns: 1fr; }
}

/* ========================================
   THANK-YOU PAGE (animated mole)
   ======================================== */
.pw-thanks {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
  text-align: center;
}
.pw-thanks-inner { max-width: 520px; }
.pw-thanks-stage {
  position: relative;
  width: 220px;
  height: 200px;
  margin: 0 auto 1.5rem;
}
.pw-thanks-mole {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: pw-thanks-bob 1.8s ease-in-out infinite;
}
.pw-thanks-mole .pw-mole-arm {
  transform-origin: 32px 50px;
  animation: pw-thanks-wave 1.5s ease-in-out infinite;
}
.pw-thanks-confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.pw-thanks-confetti span {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  opacity: 0;
  animation: pw-thanks-confetti 2s ease-out infinite;
}
.pw-thanks-confetti span:nth-child(1) { left: 15%; top: 30%; background: var(--lavender, #c0aee7); animation-delay: 0.1s; }
.pw-thanks-confetti span:nth-child(2) { left: 85%; top: 25%; background: var(--peach, #FFBBA4); animation-delay: 0.4s; }
.pw-thanks-confetti span:nth-child(3) { left: 25%; top: 55%; background: var(--mint, #afeadc); animation-delay: 0.7s; }
.pw-thanks-confetti span:nth-child(4) { left: 75%; top: 60%; background: var(--leaf, #B9EFA3); animation-delay: 1.0s; }
.pw-thanks-confetti span:nth-child(5) { left: 50%; top: 15%; background: var(--pink-nose, #ff8da1); animation-delay: 1.3s; }
.pw-thanks h1 {
  font-family: var(--display, "Fraunces", serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.05;
  color: var(--ink-deep, #14165f);
  margin: 0 0 1rem;
}
.pw-thanks-lede {
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink-soft, #4a4a6a);
  margin: 0 0 2rem;
}
.pw-thanks-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}
@keyframes pw-thanks-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
@keyframes pw-thanks-wave {
  0%, 100% { transform: rotate(-15deg); }
  50%      { transform: rotate(20deg); }
}
@keyframes pw-thanks-confetti {
  0%   { opacity: 0; transform: translate(0, 0) scale(0); }
  20%  { opacity: 1; transform: translate(0, -20px) scale(1); }
  100% { opacity: 0; transform: translate(var(--cx, 30px), 80px) scale(0.4); }
}

/* ---- LINE contact block ---- */
.contact-line-block {
  background: #ffffff;
  border: 1px solid var(--cream-deep, #EFE7D6);
  border-radius: 14px;
  padding: 1.4rem 1.5rem 1.5rem;
}
.line-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #06C755;            /* official LINE green */
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.7rem 1.4rem;
  border-radius: 100px;
  margin: 0.6rem 0 1.1rem;
  transition: transform .15s ease, background .15s ease;
}
.line-btn::before {
  content: "LINE";
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.5px;
  background: #ffffff;
  color: #06C755;
  padding: 0.12rem 0.4rem;
  border-radius: 5px;
}
.line-btn:hover { background: #05b34d; transform: translateY(-1px); color: #ffffff !important; }
.line-qr {
  display: block;
  width: 160px; height: 160px;
  border-radius: 12px;
  border: 1px solid var(--cream-deep, #EFE7D6);
  background: #fff;
  padding: 6px;
}

/* ============================================
   MOMENTS PAGE
   ============================================ */
.moments-hero {
  background: linear-gradient(160deg, #14165f 0%, #1e22ac 100%);
  color: #fff;
  padding: 5rem 0 4.5rem;
}
.moments-hero .eyebrow { color: var(--peach); }
.moments-hero h1 {
  color: #fff;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.08;
  margin: 0.5rem 0 1.2rem;
}
.moments-hero .lede { color: rgba(255,255,255,0.82); max-width: 40rem; }
.moments-hero .btn-secondary { border-color: rgba(255,255,255,0.4); color: #fff; }
.moments-hero .btn-secondary:hover { background: rgba(255,255,255,0.1); }

/* Gallery grid */
.moments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.moment-card {
  background: #fff;
  border: 1px solid var(--cream-deep);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(20,22,95,0.06);
  display: flex; flex-direction: column;
}
.moment-card img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block;
  background: var(--cream-deep);
}
.moment-card .moment-body { padding: 1rem 1.1rem 1.2rem; }
.moment-card .moment-pet {
  font-family: var(--display); font-style: italic; font-weight: 600;
  font-size: 1.15rem; color: var(--ink); margin-bottom: 0.25rem;
}
.moment-card .moment-caption { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.5; }
.moment-card .moment-meta {
  margin-top: 0.6rem; font-size: 0.78rem; color: var(--ink-soft);
  text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.7;
}

/* Empty / coming-soon state */
.moments-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3.5rem 1.5rem;
  background: #fff;
  border: 1px dashed var(--cream-deep);
  border-radius: 20px;
}
.moments-empty svg { margin: 0 auto 1rem; display: block; }
.moments-empty h3 { font-family: var(--display); font-style: italic; font-size: 1.6rem; color: var(--ink); margin-bottom: 0.6rem; }
.moments-empty p { color: var(--ink-soft); max-width: 30rem; margin: 0 auto 1.5rem; line-height: 1.6; }

/* Submission form */
.moments-form { margin-top: 2rem; }
.moments-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-bottom: 1.25rem; }
.moments-form .form-field { display: flex; flex-direction: column; margin-bottom: 1.25rem; }
.moments-form .form-field label { font-weight: 600; font-size: 0.9rem; color: var(--ink); margin-bottom: 0.45rem; }
.moments-form input[type="text"],
.moments-form input[type="email"],
.moments-form select,
.moments-form textarea {
  font-family: var(--body); font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--cream-deep);
  border-radius: 10px;
  background: #fff; color: var(--ink);
  transition: border-color .15s ease;
}
.moments-form input:focus,
.moments-form select:focus,
.moments-form textarea:focus { outline: none; border-color: var(--ink-bright); }
.moments-form textarea { resize: vertical; }
.field-hint { font-size: 0.8rem; color: var(--ink-soft); margin-top: 0.35rem; opacity: 0.85; }

/* File drop */
.file-drop {
  position: relative;
  border: 2px dashed var(--lavender);
  border-radius: 14px;
  background: var(--cream);
  padding: 1.5rem;
  text-align: center;
  transition: border-color .15s ease, background .15s ease;
}
.file-drop:hover { border-color: var(--ink-bright); background: #fff; }
.file-drop input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.file-drop-label { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; color: var(--ink-bright); pointer-events: none; }
.file-drop-text { font-weight: 600; }
.file-preview { max-width: 220px; max-height: 220px; border-radius: 12px; margin: 0 auto; display: block; }

.moments-submit { margin-top: 0.5rem; }
.moments-fineprint { font-size: 0.82rem; color: var(--ink-soft); margin-top: 1rem; line-height: 1.5; opacity: 0.9; }
.moments-form .consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9rem; color: var(--ink-soft); line-height: 1.5; margin-bottom: 1.25rem; }
.moments-form .consent input { margin-top: 0.2rem; flex-shrink: 0; }

/* Social grid */
.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.social-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 0.5rem;
  padding: 1.5rem 1rem;
  background: #fff;
  border: 1px solid var(--cream-deep);
  border-radius: 16px;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.social-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(20,22,95,0.1); border-color: var(--lavender); }
.social-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--ink); /* fallback */
  background-size: 56% 56%; background-repeat: no-repeat; background-position: center;
}
.social-name { font-weight: 700; color: var(--ink); font-size: 0.95rem; }
.social-handle { font-size: 0.82rem; color: var(--ink-soft); }
/* Platform brand colours */
.social-icon.ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.social-icon.tt { background: #000; }
.social-icon.fb { background: #1877F2; }
.social-icon.x  { background: #000; }
.social-icon.yt { background: #FF0000; }
.social-icon.l8 { background: #00D6B9; }
.social-icon.rd { background: #FF4500; }
.social-icon.wa { background: #25D366; }
.social-icon.line { background: #06C755; }

@media (max-width: 640px) {
  .moments-form .form-row { grid-template-columns: 1fr; gap: 0; }
  .social-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
}
