/* ==========================================================
   Bramble & Bone — Pet Products
   Palette: warm cream · soft beige · sage · natural brown · terracotta
   ========================================================== */
:root {
  --cream: #f8f2e8;
  --cream-2: #f1e8da;
  --beige: #e6d7c0;
  --sand: #d8c3a5;
  --sage: #8fa382;
  --sage-2: #c5d1b7;
  --sage-deep: #56694c;
  --forest: #2f3b2b;
  --brown: #6e4b33;
  --brown-soft: #8a6a52;
  --terra: #c4724e;
  --ink: #2b241c;
  --ink-soft: #6a5c4d;

  --serif: "Fraunces", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --radius: 28px;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); color: var(--ink); background: var(--cream);
  line-height: 1.6; overflow-x: clip; -webkit-font-smoothing: antialiased;
}
body.drawer-open { overflow: hidden; }
img { display: block; max-width: 100%; }
picture { display: contents; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
.container { width: min(1240px, 100% - 32px); margin-inline: auto; }

/* ---------- Type ---------- */
.eyebrow {
  font-size: .7rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--brown-soft); font-weight: 600; margin: 0 0 18px;
}
.eyebrow.light { color: rgba(248, 242, 232, .8); }
.section-title {
  font-family: var(--serif); font-variation-settings: "SOFT" 100; font-weight: 400;
  font-size: clamp(2.2rem, 4.6vw, 4rem); line-height: 1.04; letter-spacing: -.02em; margin: 0 0 20px;
}
.section-title em { font-style: italic; font-weight: 300; color: var(--sage-deep); }
.section-title.light { color: var(--cream); }
.section-title.light em { color: var(--sage-2); }
.lead { font-size: 1.05rem; color: var(--ink-soft); max-width: 44ch; margin: 0 0 28px; }
.lead.light { color: rgba(248, 242, 232, .75); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 28px; border-radius: 999px; font-weight: 500; font-size: .95rem;
  overflow: hidden; isolation: isolate;
  transition: transform .45s var(--ease), background .4s, color .4s, box-shadow .4s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.35), transparent 60%);
  opacity: 0; transition: opacity .4s;
}
.btn:hover::before { opacity: 1; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.97); }
.btn .arr { display: inline-block; transition: transform .4s var(--ease); }
.btn:hover .arr { transform: translateX(5px); }
.btn-sm { padding: 12px 22px; font-size: .86rem; }
.btn-cream { background: var(--cream); color: var(--ink); box-shadow: 0 18px 40px -18px rgba(0,0,0,.5); }
.btn-glass { color: var(--cream); background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn-glass:hover { background: rgba(255,255,255,.22); }
.btn-forest { background: var(--forest); color: var(--cream); box-shadow: 0 14px 30px -16px rgba(47,59,43,.8); }
.btn-forest:hover { background: var(--sage-deep); }

.glass {
  background: rgba(255,255,255,.5); border: 1px solid rgba(255,255,255,.75);
  backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow: 0 24px 50px -26px rgba(60,40,20,.4);
}
.glass-dark {
  background: rgba(45, 34, 24, .32); border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%);
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 60; height: 78px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 clamp(16px, 5vw, 72px);
  color: var(--cream); transition: background .45s, color .45s, height .45s, box-shadow .45s;
  animation: fadeDown 1s var(--ease-out) both .15s;
}
.nav.scrolled {
  height: 64px; color: var(--ink); background: rgba(248, 242, 232, .82);
  backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 10px 30px -22px rgba(60,40,20,.5);
}
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-variation-settings: "SOFT" 100; font-size: 1.45rem; font-weight: 500; letter-spacing: -.01em; }
.logo i { font-style: italic; font-weight: 300; color: var(--terra); }
.logo .paw { width: 30px; height: 30px; fill: currentColor; transition: transform .6s var(--spring); }
.logo:hover .paw { transform: rotate(-18deg) scale(1.1); }
.nav-links { display: flex; gap: 36px; font-size: .95rem; }
.nav-links a { position: relative; opacity: .88; transition: opacity .3s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: currentColor; transform: scaleX(0); transition: transform .4s var(--ease); }
.nav-links a:hover, .nav-links a.active { opacity: 1; }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-icons { display: flex; gap: 6px; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; position: relative; transition: background .3s; }
.icon-btn:hover { background: rgba(255,255,255,.14); }
.nav.scrolled .icon-btn:hover { background: rgba(0,0,0,.05); }
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cart-count {
  position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 9px; background: var(--cream); color: var(--ink); font-size: .66rem; font-weight: 600;
  display: grid; place-items: center; transition: transform .4s var(--spring);
}
.nav.scrolled .cart-count { background: var(--terra); color: #fff; }
.cart-count.bump { animation: bump .6s var(--spring); }
@keyframes bump { 40% { transform: scale(1.6); } }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100svh; min-height: 640px; overflow: hidden; background: #3a2c1f; color: var(--cream); }
.hero-media { position: absolute; inset: -3%; will-change: transform; }
.hero-media img, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media img { animation: heroZoom 2.4s var(--ease-out) both; }
.hero-media video { opacity: 0; transition: opacity 1.2s; }
.hero-media video.on { opacity: 1; }
@keyframes heroZoom { from { transform: scale(1.12); filter: brightness(.6) saturate(.8); } }
#motes { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: screen; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(35,24,14,.72) 0%, rgba(35,24,14,.35) 34%, rgba(35,24,14,0) 58%),
    linear-gradient(180deg, rgba(35,24,14,.4) 0%, rgba(35,24,14,0) 22%, rgba(35,24,14,0) 70%, rgba(35,24,14,.45) 100%);
}
.hero-copy { position: absolute; left: clamp(16px, 5vw, 72px); top: 50%; transform: translateY(-46%); max-width: 520px; z-index: 5; }
.hero-title {
  font-family: var(--serif); font-variation-settings: "SOFT" 100, "opsz" 144; font-weight: 400;
  font-size: clamp(3.6rem, 9vw, 8.4rem); line-height: .92; letter-spacing: -.035em; margin: 0 0 28px;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: inline-block; animation: lineUp 1.3s var(--ease-out) both; }
.hero-title .line:nth-child(1) > span { animation-delay: .35s; }
.hero-title .line:nth-child(2) > span { animation-delay: .5s; }
@keyframes lineUp { from { transform: translateY(105%) rotate(4deg); } }
.hero-sub { font-size: 1.08rem; max-width: 34ch; margin: 0 0 34px; color: rgba(248,242,232,.9); }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.reveal { animation: fadeUp 1.1s var(--ease-out) both; }
.hero-copy .eyebrow.reveal { animation-delay: .2s; }
.hero-sub.reveal { animation-delay: .75s; }
.hero-ctas.reveal { animation-delay: .9s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-20px); } }

/* Category panel */
.cat-panel {
  position: absolute; right: clamp(16px, 4vw, 56px); top: 108px; z-index: 6; width: 290px;
  border-radius: 22px; padding: 8px; display: flex; flex-direction: column;
  animation: panelIn 1.2s var(--ease-out) both 1s;
}
@keyframes panelIn { from { opacity: 0; transform: translateX(40px); } }
.cat-row {
  position: relative; display: grid; grid-template-columns: 66px 1fr auto; align-items: center; gap: 14px;
  padding: 12px 14px; border-radius: 16px; border: 1px solid transparent;
  transition: background .4s, border-color .4s, transform .4s var(--ease);
}
.cat-row + .cat-row::before { content: ""; position: absolute; top: 0; left: 14px; right: 14px; height: 1px; background: rgba(255,255,255,.14); }
.cat-row:hover, .cat-row.active { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.4); transform: translateX(-4px); }
.cat-row:hover::before, .cat-row.active::before, .cat-row:hover + .cat-row::before, .cat-row.active + .cat-row::before { opacity: 0; }
.cat-row img { width: 66px; height: 50px; object-fit: contain; filter: drop-shadow(0 8px 10px rgba(0,0,0,.35)); transition: transform .5s var(--spring); }
.cat-row img.tall { transform: rotate(60deg) scale(.95); }
.cat-row:hover img { transform: scale(1.14) rotate(-6deg); }
.cat-row:hover img.tall { transform: rotate(45deg) scale(1.1); }
.cat-row b { display: block; font-weight: 500; font-size: .95rem; }
.cat-row small { display: block; font-size: .74rem; opacity: .75; }
.cat-row i { font-style: normal; opacity: .8; transition: transform .4s var(--ease); }
.cat-row:hover i { transform: translateX(4px); }

/* Hotspots */
.hotspots { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.spot { position: absolute; width: 0; height: 0; pointer-events: auto; }
.spot-btn {
  position: absolute; left: -17px; top: -17px; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.22); border: 1.5px solid rgba(255,255,255,.9); color: #fff;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: grid; place-items: center; font-size: 1.15rem; line-height: 1;
  transition: transform .45s var(--spring), background .3s;
  animation: spotIn .8s var(--spring) both;
}
.spot-btn::before, .spot-btn::after {
  content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 1px solid rgba(255,255,255,.7);
  animation: ping 2.6s var(--ease-out) infinite;
}
.spot-btn::after { animation-delay: 1.3s; }
@keyframes ping { from { transform: scale(1); opacity: .9; } to { transform: scale(2.6); opacity: 0; } }
@keyframes spotIn { from { transform: scale(0); } }
.spot-btn span { transition: transform .4s var(--ease); }
.spot:hover .spot-btn, .spot.open .spot-btn, .spot.lit .spot-btn { transform: scale(1.18); background: var(--cream); color: var(--ink); }
.spot.open .spot-btn span { transform: rotate(45deg); }
.spot-card {
  position: absolute; left: 30px; top: -24px; width: 230px; padding: 14px 16px; border-radius: 16px;
  color: var(--cream); pointer-events: none; opacity: 0; transform: translateX(-8px) scale(.96); transform-origin: left center;
  transition: opacity .35s, transform .45s var(--ease);
}
.spot.flip .spot-card { left: auto; right: 30px; transform-origin: right center; transform: translateX(8px) scale(.96); }
.spot:hover .spot-card, .spot.open .spot-card, .spot.lit .spot-card { opacity: 1; transform: none; pointer-events: auto; }
.spot-card::before { content: ""; position: absolute; top: 40px; left: -30px; width: 30px; height: 1px; background: rgba(255,255,255,.7); }
.spot.flip .spot-card::before { left: auto; right: -30px; }
.spot-card b { display: block; font-weight: 500; font-size: .92rem; }
.spot-card p { margin: 4px 0 10px; font-size: .78rem; line-height: 1.45; opacity: .85; }
.spot-card .row { display: flex; align-items: center; justify-content: space-between; }
.spot-card .price { font-family: var(--serif); font-size: 1.1rem; }
.mini-add { font-size: .74rem; padding: 7px 12px; border-radius: 999px; background: var(--cream); color: var(--ink); font-weight: 500; transition: transform .3s var(--spring); }
.mini-add:hover { transform: scale(1.06); }

/* Paw trail */
.paw-trail { position: absolute; inset: 0; pointer-events: none; z-index: 3; overflow: hidden; }
.paw-print { position: absolute; width: 22px; height: 22px; margin: -11px; fill: rgba(255, 245, 230, .55); animation: pawFade 1.6s ease-out forwards; }
@keyframes pawFade { 0% { opacity: 0; transform: var(--t) scale(.4); } 15% { opacity: 1; transform: var(--t) scale(1); } 100% { opacity: 0; transform: var(--t) scale(1); } }

.scroll-cue { position: absolute; left: 50%; bottom: 26px; z-index: 5; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; opacity: .8; }
.scroll-cue em { font-style: normal; }
.scroll-cue span { width: 22px; height: 34px; border: 1.5px solid currentColor; border-radius: 12px; position: relative; }
.scroll-cue span::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: currentColor; animation: wheel 1.8s infinite; }
@keyframes wheel { 60% { transform: translateY(9px); opacity: 0; } 61% { transform: none; opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee { background: var(--forest); color: var(--cream); overflow: hidden; padding: 18px 0; }
.marquee-track { display: flex; gap: 36px; width: max-content; animation: marquee 34s linear infinite; font-family: var(--serif); font-variation-settings: "SOFT" 100; font-size: 1.3rem; font-style: italic; font-weight: 300; }
.marquee-track i { font-style: normal; color: var(--terra); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Journey ---------- */
.journey { position: relative; height: 520vh; background: radial-gradient(120% 80% at 50% 0%, var(--cream) 0%, var(--cream-2) 60%, var(--beige) 100%); }
.journey-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.journey-head { position: absolute; top: 96px; left: 0; right: 0; text-align: center; z-index: 3; padding: 0 16px; }
.journey-head .section-title { font-size: clamp(2rem, 3.8vw, 3.3rem); }
.journey-path { position: absolute; inset: 0; width: 100%; height: 100%; }
.journey-path path { fill: none; stroke-linecap: round; }
.journey-path .track { stroke: rgba(110,75,51,.22); stroke-width: 2; stroke-dasharray: 2 12; }
.journey-path .done { stroke: var(--terra); stroke-width: 3; opacity: .55; }
.journey-paws { position: absolute; inset: 0; pointer-events: none; }
.journey-paws svg { position: absolute; width: 20px; height: 20px; margin: -10px; fill: var(--brown); opacity: 0; transition: opacity .5s; }
.journey-paws svg.on { opacity: .35; }
.journey-ball { position: absolute; left: 0; top: 0; width: 74px; z-index: 4; filter: drop-shadow(0 16px 14px rgba(60,40,20,.35)); will-change: transform; }
.journey-stops { position: absolute; inset: 0; z-index: 2; }
.stop { position: absolute; width: 240px; margin-left: -120px; text-align: center; transition: transform .8s var(--spring), opacity .6s; opacity: .35; transform: scale(.82); }
.stop.on { opacity: 1; transform: scale(1); }
.stop .stop-img { height: 130px; display: grid; place-items: end center; margin-bottom: 10px; }
.stop img { max-height: 130px; max-width: 170px; object-fit: contain; filter: drop-shadow(0 18px 18px rgba(60,40,20,.28)) grayscale(.6); transition: filter .6s, transform .8s var(--spring); }
.stop.on img { filter: drop-shadow(0 22px 20px rgba(60,40,20,.3)); transform: translateY(-6px); }
.stop.on.hit img { animation: wiggle .7s var(--ease); }
@keyframes wiggle { 25% { transform: translateY(-14px) rotate(-6deg); } 60% { transform: translateY(-4px) rotate(4deg); } }
.stop .time { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--terra); font-weight: 600; }
.stop h3 { font-family: var(--serif); font-variation-settings: "SOFT" 100; font-weight: 400; font-size: 1.35rem; margin: 2px 0 4px; }
.stop p { margin: 0; font-size: .84rem; color: var(--ink-soft); line-height: 1.45; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .5s; }
.stop.on p { max-height: 80px; opacity: 1; }
.journey-time { position: absolute; left: clamp(16px, 5vw, 72px); bottom: 34px; z-index: 3; font-family: var(--serif); font-variation-settings: "SOFT" 100; }
.journey-time span { display: block; font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1; color: var(--brown); font-weight: 300; font-variant-numeric: tabular-nums; }
.journey-time small { font-family: var(--sans); font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-soft); }

/* ---------- Trio ---------- */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--beige); }
.trio-card { position: relative; min-height: 560px; overflow: hidden; background: var(--bg); display: block; perspective: 900px; }
.trio-img { position: absolute; inset: 0; }
.trio-img img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; transition: transform 1.2s var(--ease-out); }
.trio-card:hover .trio-img img { transform: scale(1.06); }
.trio-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 8%, color-mix(in srgb, var(--bg) 70%, transparent) 36%, transparent 62%); }
.trio-copy { position: relative; z-index: 2; padding: 64px 40px; max-width: 320px; transition: transform .6s var(--ease); }
.trio-copy h3 { font-family: var(--serif); font-variation-settings: "SOFT" 100; font-weight: 400; font-size: clamp(1.9rem, 2.6vw, 2.5rem); line-height: 1.05; margin: 0 0 18px; letter-spacing: -.015em; }
.trio-copy p:not(.eyebrow) { color: var(--ink-soft); margin: 0 0 28px; font-size: .95rem; max-width: 22ch; }
.trio-card:hover .btn { background: var(--sage-deep); }
.trio-card:hover .arr { transform: translateX(5px); }

/* Scroll reveal */
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- Food lab ---------- */
.food { padding: clamp(90px, 12vw, 160px) 0; background: var(--cream); overflow: hidden; }
.food-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }
.pet-toggle { position: relative; display: inline-flex; padding: 5px; border-radius: 999px; background: var(--cream-2); margin-bottom: 26px; }
.pet-toggle button { position: relative; z-index: 1; padding: 10px 22px; border-radius: 999px; font-size: .9rem; font-weight: 500; transition: color .4s; }
.pet-toggle button.active { color: var(--cream); }
.pet-toggle .pill { position: absolute; top: 5px; bottom: 5px; left: 5px; border-radius: 999px; background: var(--forest); transition: transform .5s var(--spring), width .5s var(--spring); }
.ing-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px;
  background: #fff; border: 1px solid var(--beige); font-size: .88rem; font-weight: 500;
  transition: transform .4s var(--spring), background .3s, border-color .3s, box-shadow .3s;
}
.chip img { width: 38px; height: 38px; object-fit: contain; transition: transform .5s var(--spring); }
.chip:hover { transform: translateY(-3px); box-shadow: 0 12px 24px -14px rgba(60,40,20,.4); }
.chip:hover img { transform: rotate(-12deg) scale(1.12); }
.chip.on { background: var(--sage-2); border-color: var(--sage); }
.chip .tick { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--sand); display: grid; place-items: center; font-size: .65rem; transition: background .3s, border-color .3s; }
.chip.on .tick { background: var(--forest); border-color: var(--forest); color: #fff; }
.nutri { display: grid; gap: 14px; margin: 0; max-width: 440px; }
.nutri div { display: grid; grid-template-columns: 110px 1fr 44px; align-items: center; gap: 14px; }
.nutri dt { font-size: .8rem; color: var(--ink-soft); }
.nutri dd { margin: 0; height: 6px; border-radius: 3px; background: var(--cream-2); overflow: hidden; }
.nutri dd i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--c, var(--sage-deep)); transition: width 1s var(--ease-out); }
.nutri span { font-size: .8rem; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }

.bowl-stage { position: relative; aspect-ratio: 1 / .92; display: grid; place-items: center; }
.bowl-glow { position: absolute; inset: 8% 6%; border-radius: 50%; background: radial-gradient(circle, rgba(196,114,78,.18), rgba(143,163,130,.14) 45%, transparent 70%); animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.06); } }
.bowl-img { position: relative; width: 70%; z-index: 2; filter: drop-shadow(0 40px 40px rgba(60,40,20,.25)); transform-origin: 50% 90%; }
.bowl-img.bounce { animation: bowlBounce .6s var(--spring); }
@keyframes bowlBounce { 30% { transform: scale(1.05, .93); } 60% { transform: scale(.97, 1.04); } }
.bowl-fill { position: absolute; left: 22%; right: 22%; top: 26%; height: 22%; z-index: 3; pointer-events: none; }
.bowl-fill img { position: absolute; width: 22%; transform: translate(-50%, -50%); filter: drop-shadow(0 6px 6px rgba(60,40,20,.3)); animation: settle .5s var(--spring) both; }
@keyframes settle { from { transform: translate(-50%, -80%) scale(.6); } }
.flyer { position: fixed; z-index: 90; pointer-events: none; width: 70px; filter: drop-shadow(0 12px 12px rgba(60,40,20,.35)); }
.crumb { position: absolute; width: 8px; height: 8px; border-radius: 50%; z-index: 4; pointer-events: none; }
.recipe-card { position: absolute; right: 0; bottom: 4%; z-index: 4; padding: 18px 20px; border-radius: 20px; display: grid; grid-template-columns: 1fr auto; gap: 2px 18px; align-items: center; min-width: 260px; }
.recipe-card small { grid-column: 1 / -1; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--brown-soft); }
.recipe-card b { font-family: var(--serif); font-weight: 400; font-size: 1.2rem; }
.recipe-card span { font-family: var(--serif); font-size: 1.2rem; color: var(--terra); }
.recipe-card .btn { grid-column: 1 / -1; margin-top: 12px; justify-content: center; }

/* ---------- Toys ---------- */
.toys { padding: clamp(90px, 12vw, 150px) 0; background: radial-gradient(90% 90% at 80% 20%, #4b5a42 0%, var(--forest) 60%); color: var(--cream); overflow: hidden; }
.toys-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; }
.toy-pick { display: flex; gap: 10px; margin-bottom: 30px; }
.toy-pick button { display: flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); font-size: .88rem; transition: background .3s, border-color .3s, transform .4s var(--spring); }
.toy-pick button img { width: 36px; height: 36px; object-fit: contain; }
.toy-pick button.active { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.toy-pick button:hover { transform: translateY(-2px); }
.toy-stats { display: flex; gap: 32px; margin-bottom: 30px; }
.toy-stats b { display: block; font-family: var(--serif); font-weight: 300; font-size: 2.2rem; line-height: 1; font-variant-numeric: tabular-nums; }
.toy-stats span { font-size: .74rem; opacity: .7; }
.playground {
  position: relative; height: min(560px, 70vh); border-radius: var(--radius); overflow: hidden; touch-action: none;
  background: radial-gradient(70% 60% at 50% 30%, rgba(251,245,234,.72), rgba(234,220,196,.9) 80%), url("assets/hero.webp") 30% 40% / cover; box-shadow: inset 0 0 0 1px rgba(255,255,255,.4), 0 40px 80px -40px rgba(0,0,0,.6);
}
.pg-floor { position: absolute; left: 0; right: 0; bottom: 0; height: 22%; background: linear-gradient(180deg, #d9c3a2, #c9ae88); }
.pg-floor::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 140px, rgba(110,75,51,.12) 140px 142px); }
.pg-toy { position: absolute; left: 0; top: 0; width: 120px; cursor: grab; user-select: none; -webkit-user-drag: none; z-index: 2; filter: drop-shadow(0 10px 10px rgba(60,40,20,.25)); will-change: transform; }
.pg-toy.rope { width: 70px; }
.pg-toy:active { cursor: grabbing; }
.pg-shadow { position: absolute; left: 0; bottom: 18%; width: 110px; height: 18px; border-radius: 50%; background: rgba(60,40,20,.28); filter: blur(6px); will-change: transform; }
.pg-hint { position: absolute; left: 50%; top: 22px; transform: translateX(-50%); padding: 8px 16px; border-radius: 999px; background: rgba(47,59,43,.85); color: var(--cream); font-size: .8rem; display: flex; gap: 8px; align-items: center; transition: opacity .5s; }
.pg-hint .hand { display: inline-block; animation: wave 1.6s ease-in-out infinite; }
@keyframes wave { 50% { transform: translateX(6px) rotate(10deg); } }
.pg-hint.hide { opacity: 0; }
.pg-woof { position: absolute; right: 30px; top: 30px; font-family: var(--serif); font-style: italic; font-size: 2rem; color: var(--terra); opacity: 0; transform: scale(.4) rotate(-10deg); transition: opacity .3s, transform .5s var(--spring); }
.pg-woof.on { opacity: 1; transform: scale(1) rotate(-6deg); }

/* ---------- Beds ---------- */
.beds { padding: clamp(90px, 12vw, 160px) 0; background: linear-gradient(180deg, var(--cream-2), var(--cream)); overflow: hidden; }
.beds-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.bed-stage { position: relative; aspect-ratio: 1.15; display: grid; place-items: center; border-radius: var(--radius); background: radial-gradient(60% 50% at 50% 60%, #fff8ec, transparent 70%), url("assets/sleep.webp") center / cover; overflow: hidden; }
.bed-stage::before { content: ""; position: absolute; inset: 0; background: rgba(241,232,218,.82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.bed-img { position: relative; width: 74%; transform-origin: 50% 85%; transition: transform .6s var(--spring), filter .6s; filter: drop-shadow(0 34px 30px rgba(60,40,20,.28)); user-select: none; -webkit-user-drag: none; cursor: pointer; touch-action: none; }
.bed-press { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); font-size: .78rem; padding: 8px 16px; border-radius: 999px; background: rgba(255,255,255,.7); color: var(--ink-soft); pointer-events: none; white-space: nowrap; }
.zzz { position: absolute; top: 18%; right: 22%; z-index: 2; font-family: var(--serif); font-style: italic; color: var(--sage-deep); pointer-events: none; }
.zzz span { position: absolute; opacity: 0; animation: zz 3.6s ease-in infinite; }
.zzz span:nth-child(1) { font-size: 1rem; }
.zzz span:nth-child(2) { font-size: 1.5rem; animation-delay: 1.2s; }
.zzz span:nth-child(3) { font-size: 2.1rem; animation-delay: 2.4s; }
@keyframes zz { 0% { opacity: 0; transform: translate(0, 0); } 20% { opacity: .9; } 100% { opacity: 0; transform: translate(40px, -90px) rotate(12deg); } }
.fluff { position: absolute; left: 22px; top: 22px; width: 92px; height: 92px; z-index: 2; }
.fluff svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.fluff .ring-bg { fill: rgba(255,255,255,.7); stroke: var(--beige); stroke-width: 6; }
.fluff .ring-fg { fill: none; stroke: var(--terra); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 327; stroke-dashoffset: 327; }
.fluff > div { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.fluff b { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; line-height: 1; }
.fluff small { font-size: .62rem; color: var(--ink-soft); }
.opt { margin-bottom: 24px; }
.opt-label { display: block; font-size: .82rem; color: var(--ink-soft); margin-bottom: 12px; }
.opt-label b { color: var(--ink); font-weight: 500; }
.swatches { display: flex; gap: 12px; }
.swatches button { width: 36px; height: 36px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px var(--cream), 0 0 0 3px transparent; transition: box-shadow .3s, transform .4s var(--spring); }
.swatches button:hover { transform: scale(1.1); }
.swatches button.active { box-shadow: 0 0 0 3px var(--cream), 0 0 0 4.5px var(--ink); }
.sizes { display: flex; gap: 10px; }
.sizes button { width: 52px; height: 52px; border-radius: 16px; border: 1px solid var(--sand); font-weight: 600; transition: background .3s, color .3s, transform .4s var(--spring); }
.sizes button:hover { transform: translateY(-2px); }
.sizes button.active { background: var(--forest); color: var(--cream); border-color: var(--forest); }
.bed-buy { display: flex; align-items: center; gap: 24px; margin-top: 34px; }
.bed-buy > b { font-family: var(--serif); font-weight: 300; font-size: 2.4rem; }

/* ---------- Accessories ---------- */
.acc { padding: clamp(80px, 10vw, 130px) 0 0; background: var(--cream); }
.acc-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; margin-bottom: 40px; }
.flatlay { position: relative; overflow: hidden; }
.flatlay img { width: 100%; height: auto; max-height: 90vh; object-fit: cover; }
.flatlay .spot-btn { background: rgba(47,59,43,.5); }
.flatlay .spot-card { color: var(--ink); background: rgba(255,255,255,.78); border-color: rgba(255,255,255,.9); }
.flatlay .spot-card::before { background: rgba(47,59,43,.5); }
.flatlay .mini-add { background: var(--forest); color: var(--cream); }

/* ---------- Shop ---------- */
.shop { padding: clamp(90px, 12vw, 150px) 0; background: var(--cream); }
.shop-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.filters button { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--beige); font-size: .86rem; transition: background .3s, color .3s, border-color .3s; }
.filters button:hover { border-color: var(--sand); }
.filters button.active { background: var(--forest); color: var(--cream); border-color: var(--forest); }
.shop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  position: relative; border-radius: 24px; background: #fff; padding: 18px; display: flex; flex-direction: column;
  transition: transform .6s var(--ease), box-shadow .6s, opacity .5s; box-shadow: 0 1px 0 var(--beige);
}
.card.hide { display: none; }
.card.enter { animation: cardIn .7s var(--ease-out) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(60,40,20,.4); }
.card-art { aspect-ratio: 1; border-radius: 18px; background: var(--tint, var(--cream-2)); display: grid; place-items: center; margin-bottom: 16px; overflow: hidden; }
.card-art img { width: 68%; height: 68%; object-fit: contain; filter: drop-shadow(0 18px 16px rgba(60,40,20,.25)); transition: transform .8s var(--spring); }
.card:hover .card-art img { transform: scale(1.1) rotate(-5deg) translateY(-4px); }
.card .tag { position: absolute; top: 28px; left: 28px; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.85); font-weight: 600; color: var(--brown); }
.card h3 { font-family: var(--serif); font-variation-settings: "SOFT" 100; font-weight: 400; font-size: 1.15rem; margin: 0; }
.card p { font-size: .82rem; color: var(--ink-soft); margin: 2px 0 14px; }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; }
.card-foot b { font-family: var(--serif); font-weight: 400; font-size: 1.2rem; }
.add-btn { width: 42px; height: 42px; border-radius: 50%; background: var(--forest); color: var(--cream); font-size: 1.3rem; display: grid; place-items: center; transition: transform .45s var(--spring), background .3s; }
.add-btn:hover { transform: rotate(90deg) scale(1.08); background: var(--terra); }
.add-btn.done { background: var(--sage); transform: scale(1.1); }

/* ---------- Reviews ---------- */
.reviews { padding: clamp(90px, 11vw, 140px) 0; background: var(--brown); color: var(--cream); overflow: hidden; }
.rev-head { margin-bottom: 44px; }
.rev-rail { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.rev-track { display: flex; gap: 20px; width: max-content; animation: marquee 60s linear infinite; }
.rev-rail:hover .rev-track { animation-play-state: paused; }
.rev { width: 340px; padding: 26px; border-radius: 22px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); transition: background .4s, transform .5s var(--ease); }
.rev:hover { background: rgba(255,255,255,.13); transform: translateY(-4px); }
.rev .stars { color: #f0c27a; letter-spacing: 2px; font-size: .9rem; }
.rev p { font-family: var(--serif); font-variation-settings: "SOFT" 100; font-weight: 300; font-size: 1.12rem; line-height: 1.45; margin: 12px 0 18px; }
.rev small { font-size: .8rem; opacity: .7; }

/* ---------- Footer ---------- */
.footer { background: var(--forest); color: var(--cream); padding: 80px 0 30px; }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer p { opacity: .7; max-width: 36ch; }
.logo-light { font-size: 1.8rem; }
.news label { display: block; margin-bottom: 12px; font-size: .9rem; }
.news-row { display: flex; gap: 8px; padding: 6px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); }
.news input { flex: 1; min-width: 0; background: none; border: 0; color: var(--cream); padding: 0 16px; font: inherit; outline: none; }
.news input::placeholder { color: rgba(248,242,232,.5); }
.copy { margin-top: 60px; font-size: .78rem; opacity: .5; }

/* ---------- Drawer ---------- */
.drawer-scrim { position: fixed; inset: 0; z-index: 80; background: rgba(43,36,28,.4); opacity: 0; pointer-events: none; transition: opacity .5s; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 81; width: min(420px, 100%); background: var(--cream); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .6s var(--ease-out); box-shadow: -30px 0 60px -30px rgba(0,0,0,.35); }
body.drawer-open .drawer { transform: none; }
body.drawer-open .drawer-scrim { opacity: 1; pointer-events: auto; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 24px 24px 12px; }
.drawer-head h3 { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; margin: 0; }
.drawer-head .icon-btn:hover { background: var(--cream-2); }
.drawer-list { list-style: none; margin: 0; padding: 0 24px; flex: 1; overflow: auto; }
.drawer-list li { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--beige); animation: cardIn .5s var(--ease-out) both; }
.drawer-list img { width: 64px; height: 64px; object-fit: contain; background: var(--cream-2); border-radius: 14px; padding: 8px; }
.drawer-list b { display: block; font-weight: 500; font-size: .92rem; }
.drawer-list small { color: var(--ink-soft); }
.qty { display: flex; align-items: center; gap: 8px; }
.qty button { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--sand); font-size: .9rem; }
.drawer-empty { text-align: center; padding: 60px 0; color: var(--ink-soft); }
.drawer-empty span { display: block; font-size: 2.6rem; margin-bottom: 8px; }
.drawer-foot { padding: 20px 24px 28px; border-top: 1px solid var(--beige); }
.ship { font-size: .8rem; color: var(--ink-soft); margin-bottom: 16px; }
.ship i { display: block; height: 5px; border-radius: 3px; background: var(--cream-2); margin-top: 8px; overflow: hidden; }
.ship b { display: block; height: 100%; width: 0; background: var(--sage-deep); border-radius: inherit; transition: width .7s var(--ease-out); }
.total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
.total b { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; }
.drawer-foot .btn { width: 100%; justify-content: center; }

/* ---------- Toast + cursor ---------- */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 95; transform: translate(-50%, 220%); opacity: 0; padding: 12px 22px; border-radius: 999px; background: var(--forest); color: var(--cream); font-size: .88rem; box-shadow: 0 20px 40px -20px rgba(0,0,0,.5); transition: transform .6s var(--spring), opacity .4s; }
.toast.on { transform: translate(-50%, 0); opacity: 1; }
.cursor-dot { position: fixed; left: 0; top: 0; z-index: 99; width: 34px; height: 34px; margin: -17px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.8); pointer-events: none; opacity: 0; mix-blend-mode: difference; transition: opacity .3s, width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease); }
.cursor-dot.on { opacity: 1; }
.cursor-dot.big { width: 64px; height: 64px; margin: -32px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .shop-grid { grid-template-columns: repeat(3, 1fr); }
  .cat-panel { width: 250px; }
}
@media (max-width: 860px) {
  .nav { height: 64px; }
  .nav-links { display: none; }
  .hero { min-height: 680px; }
  .hero-copy { top: auto; bottom: 64px; transform: none; right: 16px; }
  .hero-title { font-size: clamp(3.4rem, 17vw, 5rem); margin-bottom: 18px; }
  .hero-sub { font-size: .98rem; margin-bottom: 24px; }
  .hero-shade { background: linear-gradient(180deg, rgba(35,24,14,.45) 0%, rgba(35,24,14,0) 25%, rgba(35,24,14,.2) 45%, rgba(35,24,14,.85) 100%); }
  .cat-panel { display: none; }
  .scroll-cue { display: none; }
  .spot-card { width: 190px; }
  .journey { height: 600vh; }
  .journey-head { top: 76px; }
  .stop { width: 180px; margin-left: -90px; }
  .stop .stop-img { height: 80px; }
  .stop img { max-height: 80px; max-width: 110px; }
  .stop h3 { font-size: 1.1rem; }
  .stop p { font-size: .78rem; }
  .journey-ball { width: 52px; }
  .trio { grid-template-columns: 1fr; }
  .trio-card { min-height: 440px; }
  .trio-copy { padding: 44px 24px; }
  .food-grid, .toys-grid, .beds-grid { grid-template-columns: 1fr; gap: 36px; }
  .recipe-card { position: relative; right: auto; bottom: auto; margin-top: -10px; width: 100%; }
  .bowl-stage { aspect-ratio: auto; }
  .bowl-img { width: 80%; }
  .bowl-fill { top: 4%; }
  .playground { height: 440px; }
  .toy-stats { gap: 22px; }
  .shop-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card { padding: 12px; border-radius: 20px; }
  .card .tag { top: 20px; left: 20px; }
  .rev { width: 280px; }
  .cursor-dot { display: none; }
  .flatlay img { min-height: 420px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* Journey scene (pans horizontally with the ball) */
.journey-scene { position: absolute; top: 0; left: 0; height: 100%; will-change: transform; }
.journey-scene .journey-path { position: absolute; inset: 0; width: 100%; height: 100%; }
.stop { top: 0; height: 0; }
.stop .stop-img { position: absolute; left: 0; right: 0; bottom: 34px; margin: 0; }
.stop .stop-txt { position: absolute; left: 0; right: 0; top: 44px; }
.journey-progress { position: absolute; right: clamp(16px, 5vw, 72px); bottom: 44px; width: min(220px, 40vw); height: 3px; border-radius: 2px; background: rgba(110,75,51,.15); overflow: hidden; z-index: 3; }
.journey-progress i { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0); background: var(--terra); }

/* ---------- Meet Bramble ---------- */
.meet { padding: clamp(70px, 9vw, 120px) 0 0; background: var(--cream); }
.meet-frame { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 8; background: #3a2c1f; clip-path: inset(6% 8% round 28px); transition: clip-path 1.4s var(--ease-out); }
.meet-frame.in-view { clip-path: inset(0 0 round 28px); }
.meet-frame video { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 2s var(--ease-out); }
.meet-frame.in-view video { transform: scale(1); }
.meet-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(35,24,14,.6), rgba(35,24,14,0) 55%); pointer-events: none; }
.meet-copy { position: absolute; left: clamp(20px, 5vw, 64px); bottom: clamp(20px, 5vw, 56px); z-index: 2; max-width: 460px; }
.meet-copy .section-title { margin: 0; }
.meet-sound { position: absolute; right: 20px; bottom: 20px; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; color: var(--cream); font-size: .8rem; }
.meet-sound b { font-weight: 500; }
.bars { display: flex; gap: 2px; align-items: end; height: 12px; }
.bars i { width: 3px; height: 4px; background: currentColor; border-radius: 1px; }
.meet-sound.on .bars i { animation: eq .9s ease-in-out infinite; }
.meet-sound.on .bars i:nth-child(2) { animation-delay: .2s; }
.meet-sound.on .bars i:nth-child(3) { animation-delay: .4s; }
@keyframes eq { 50% { height: 12px; } }
@media (max-width: 860px) { .meet-frame { aspect-ratio: 4 / 5; } .meet-frame video { object-position: 62% center; } }
