/* =====================================================================
   Mighty Mix Homepage
   Built from Figma file "AM5597 TW MIGHTY MIX Website 1026", frame
   "Mighty Mix - Homepage - Desktop" (1920 x 5796).

   SCALING
   Desktop (>= 1024px) reproduces the 1920 design 1:1 and scales it
   proportionally. Every design pixel is written as  calc(N * var(--u))
   where --u is 1px at 1920 wide and shrinks below that.
   Below 1024px a provisional stacked layout is used until a mobile
   design exists.
   ===================================================================== */

/* Fonts: self-hosted (Outfit, Patrick Hand, Mona Sans are all SIL Open Font License) */
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/outfit-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/outfit-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/outfit-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/outfit-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/outfit-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 900; font-display: swap; src: url("../fonts/outfit-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: "Patrick Hand"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/patrick-hand-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Mona Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/mona-sans-latin-400-normal.woff2") format("woff2"); }

:root {
  /* Brand palette (from Figma reference swatches) */
  --red: #eb0020;
  --red-dark: #c4001b;
  --sky-1: #618a9c;
  --sky-light: #a4cde0;
  --blue: #68accb;
  --navy: #3b4b7f;
  --oat: #e4ded4;
  --oat-deep: rgba(191, 145, 80, .5);
  --card: #f8f6f3;
  --green: #aacd92;
  --ink: #000;
  --white: #fff;

  --font: "Outfit", system-ui, sans-serif;
  --hand: "Patrick Hand", "Comic Sans MS", cursive;
  --mona: "Mona Sans", var(--font);

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-soft: cubic-bezier(.33, 1, .68, 1);

  /* 1 design px */
  --u: min(1px, calc(100vw / 1920));
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--white); }
img { display: block; max-width: none; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, blockquote { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--white); padding: .75rem 1rem; border-radius: 2rem; font-weight: 700; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--sky-light); outline-offset: 3px; }

/* Shared desktop page width: everything is placed on a 1920 canvas */
main, .site-footer { width: 100%; max-width: 1920px; margin: 0 auto; position: relative; }
.site-header { max-width: 1920px; }

/* ---------------------------------------------------------------------
   Buttons (Figma: 208 x 60 pill, Outfit Black 16 / 3.2 tracking)
   Rollover (Figma "Shop product button / Rollover"): fills red, text white
   --------------------------------------------------------------------- */
.btn-row { display: flex; gap: calc(20 * var(--u)); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: calc(208 * var(--u)); height: calc(60 * var(--u));
  border: 2px solid currentColor; border-radius: calc(37.5 * var(--u));
  font-weight: 900; font-size: calc(16 * var(--u)); letter-spacing: calc(3.2 * var(--u));
  text-transform: uppercase; white-space: nowrap;
  transition: background-color .3s var(--ease-soft), border-color .3s var(--ease-soft), color .3s var(--ease-soft), transform .3s var(--ease-out);
}
.btn:hover, .btn:focus-visible { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--red { background: var(--red); border-color: var(--red); color: var(--white); }
.btn--red:hover, .btn--red:focus-visible { background: var(--red-dark); border-color: var(--red-dark); }
.btn--ghost-light { color: var(--white); }
.btn--ghost-dark { color: var(--ink); font-weight: 800; }
.btn--ghost-light:hover, .btn--ghost-light:focus-visible,
.btn--ghost-dark:hover, .btn--ghost-dark:focus-visible { background: var(--red); border-color: var(--red); color: var(--white); font-weight: 900; }
.btn--wide { width: calc(294 * var(--u)); }
.btn--reviews { width: calc(239 * var(--u)); }

/* ---------------------------------------------------------------------
   Header (announcement 60 tall, nav bar 120 tall at 50% white)
   --------------------------------------------------------------------- */
.site-header { position: absolute; top: 0; left: 0; right: 0; margin: 0 auto; z-index: 20; }
/* Promo band sits above the nav so the nav slides in from behind it */
.announce { position: relative; z-index: 2; height: calc(60 * var(--u)); background: #eb001f; color: var(--white); display: flex; align-items: center; justify-content: center; }
.announce p { font-weight: 600; font-size: calc(22 * var(--u)); }
.announce a { font-weight: 900; color: var(--sky-light); transition: color .2s; }
.announce a:hover { color: var(--white); }

.nav-bar { position: relative; z-index: 1; height: calc(120 * var(--u)); background: rgba(255, 255, 255, .5); }
.brand { position: absolute; left: calc(81 * var(--u)); top: 0; width: calc(242.47 * var(--u)); height: calc(273.16 * var(--u)); z-index: 2; transform-origin: top center; }
.brand__tab { width: 100%; height: 100%; }
.brand__logo { position: absolute; left: calc(41 * var(--u)); top: calc(56 * var(--u)); width: calc(150 * var(--u)); height: calc(141 * var(--u)); }

.primary-nav { position: absolute; left: calc(534 * var(--u)); right: calc(76 * var(--u)); top: calc(46 * var(--u)); display: flex; align-items: center; justify-content: space-between; }
/* Links span x534 .. 1743 in Figma, cart sits at x1811 */
.primary-nav ul { display: flex; justify-content: space-between; width: calc(1209 * var(--u)); }
.primary-nav ul a { position: relative; display: inline-block; font-weight: 800; font-size: calc(22 * var(--u)); line-height: 1.26; white-space: nowrap; transition: color .25s; }
/* Rollover: word turns red and does a small wriggle (a gentler version of the logo wag) */
.primary-nav ul a:hover, .primary-nav ul a:focus-visible { color: var(--red); animation: wriggle .6s ease-in-out; }
@keyframes wriggle { 25% { rotate: -2deg; } 55% { rotate: 1.5deg; } 80% { rotate: -.6deg; } 100% { rotate: 0deg; } }

.cart { position: relative; display: block; width: calc(33 * var(--u)); height: calc(27 * var(--u)); margin-top: calc(-5 * var(--u)); transition: transform .3s var(--ease-out); }
.cart:hover { transform: rotate(-8deg) scale(1.08); }
.cart__icon { width: 100%; height: 100%; }
.cart__badge { position: absolute; right: calc(-5 * var(--u)); top: calc(-2 * var(--u)); width: calc(14 * var(--u)); height: calc(14 * var(--u)); }
.cart__badge img { width: 100%; height: 100%; }
.cart__count { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 600; font-size: calc(10 * var(--u)); color: var(--white); line-height: 1; }
.nav-toggle { display: none; }

/* ---------------------------------------------------------------------
   Compact sticky bar (not in Figma)
   Brand red (same as the promo band), white text, ~76 tall, mini hanging
   logo tab, same links + cart.
   JS adds .is-shown (past the hero and scrolling up) / removes it.
   --------------------------------------------------------------------- */
.sticky-bar {
  --bar-h: max(58px, calc(76 * var(--u)));
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--bar-h);
  background: #eb001f; color: var(--white); box-shadow: 0 2px 16px rgba(0, 0, 0, .12);
  transform: translateY(calc(-100% - 40px)); transition: transform .45s var(--ease-out);
}
.sticky-bar.is-shown { transform: none; }
.sticky-bar__inner { position: relative; max-width: 1920px; height: 100%; margin: 0 auto; display: flex; align-items: center; padding: 0 calc(76 * var(--u)) 0 calc(534 * var(--u)); }

/* Mini logo tab hangs just below the bar, like the big one in the hero */
.sticky-brand { position: absolute; left: calc(81 * var(--u)); top: 0; width: max(78px, calc(104 * var(--u))); aspect-ratio: 242.47 / 273.16; }
.sticky-brand__tab { width: 100%; height: 100%; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .18)); }
.sticky-brand__logo { position: absolute; left: 16.9%; top: 20.5%; width: 61.9%; height: auto; }
.sticky-brand:hover .sticky-brand__logo, .sticky-brand:focus-visible .sticky-brand__logo { animation: wag .6s ease-in-out; }

.sticky-nav { flex: 1; }
.sticky-nav ul { display: flex; justify-content: space-between; width: calc(1209 * var(--u)); }
.sticky-nav a { display: inline-block; font-weight: 800; font-size: max(14px, calc(19 * var(--u))); line-height: 1.26; white-space: nowrap; transition: color .25s; }
.sticky-nav a:hover, .sticky-nav a:focus-visible { color: var(--sky-light); animation: wriggle .6s ease-in-out; }
/* Cart goes white on red; the count badge becomes a light blue dot with a navy number */
.sticky-cart .cart__icon { filter: brightness(0) invert(1); }
.sticky-cart .cart__badge { background: var(--sky-light); border-radius: 50%; }
.sticky-cart .cart__badge img { visibility: hidden; }
.sticky-cart .cart__count { color: var(--navy); }
.sticky-cart { margin: 0 0 0 auto; }
.sticky-toggle { display: none; }

/* In-page links land below the bar */
#reviews { scroll-margin-top: 90px; }

/* ---------------------------------------------------------------------
   Hero carousel  (canvas 1920 x 953; sky fills 0..920)
   --------------------------------------------------------------------- */
.hero { position: relative; height: calc(953 * var(--u)); z-index: 3; }
/* Clip at the bottom of the hero so nothing drifts past the torn edge */
.hero__slides { position: absolute; inset: 0; overflow: hidden; }
.slide { position: absolute; inset: 0; visibility: hidden; }
.slide.is-active, .slide.is-leaving { visibility: visible; }
.slide.is-active { z-index: 2; }
.slide.is-leaving { z-index: 1; }

.slide__bg { position: absolute; left: 0; top: 0; width: 100%; height: calc(920 * var(--u)); background: var(--sky-1) center / cover no-repeat; }
/* Slide 2 sky is #655F82 at 72% over white */
.slide--2 .slide__bg { background-color: var(--white); background-image: url("../assets/svg/hero-2-background.svg"); }
.slide--3 .slide__bg { background-image: url("../assets/svg/hero-3-background.svg"); }

/* Tussock woodblock landscape at 15% (crop: y 419 .. 953) */
.slide__texture { position: absolute; left: 0; top: calc(419 * var(--u)); width: 100%; height: calc(534 * var(--u)); overflow: hidden; opacity: .15; }
.slide__texture img { position: absolute; left: calc(-156 * var(--u)); top: calc(-75 * var(--u)); width: calc(2369 * var(--u)); height: calc(790 * var(--u)); }

.slide__copy { position: absolute; left: calc(230 * var(--u)); top: calc(456 * var(--u)); }
.slide__title { color: var(--white); font-weight: 700; font-size: calc(42 * var(--u)); line-height: 1.26; width: calc(935 * var(--u)); }
.slide__title--narrow { width: calc(790 * var(--u)); }
/* Buttons sit at y 592 regardless of headline length */
.slide__copy .btn-row { position: absolute; top: calc(136 * var(--u)); left: calc(-1 * var(--u)); }

.slide__dog, .slide__treats { position: absolute; }
.slide__dog img, .slide__treats img { width: 100%; height: 100%; object-fit: contain; }
/* Schnauzer: Figma crop mask is a 790 x 728 rect at x1104 y192; the photo layer sits at x1128 y268 (623 x 1006, image 161.48% wide) */
.slide__dog--schnauzer { left: calc(1104 * var(--u)); top: calc(192 * var(--u)); width: calc(790 * var(--u)); height: calc(728 * var(--u)); overflow: hidden; }
.slide__dog--schnauzer img { position: absolute; left: calc(-190 * var(--u)); top: calc(76 * var(--u)); width: calc(1006 * var(--u)); height: calc(1006 * var(--u)); object-fit: fill; }

/* Turmeric treats: Figma crop is a 501 x 419 rect at x1419 y501. Inside it, the photo box
   (x1536 y501, 739 x 647) holds the photo flipped and rotated 11.8deg. */
.slide__treats { left: calc(1419 * var(--u)); top: calc(501 * var(--u)); width: calc(501 * var(--u)); height: calc(419 * var(--u)); overflow: hidden; }
.slide__treats-box { position: absolute; left: calc(117 * var(--u)); top: 0; width: calc(739 * var(--u)); height: calc(647 * var(--u)); display: flex; align-items: center; justify-content: center; }
.slide__treats-crop { position: relative; flex: none; width: calc(645 * var(--u)); height: calc(526.2 * var(--u)); scale: -1 1; rotate: 11.8deg; }
.slide__treats-crop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Border collie: x1123 y211 721 square */
.slide__dog--collie { left: calc(1123 * var(--u)); top: calc(211 * var(--u)); width: calc(721 * var(--u)); height: calc(721 * var(--u)); }
/* Mixed breed: x1034 y159 844 x 847 */
.slide__dog--mixed { left: calc(1034 * var(--u)); top: calc(159 * var(--u)); width: calc(844 * var(--u)); height: calc(847 * var(--u)); }

/* Torn-paper edge (2094 wide, centred on y 922) */
.slide__edge, .page-edge { position: absolute; left: calc(-134 * var(--u)); width: calc(2094 * var(--u)); height: calc(70 * var(--u)); pointer-events: none; }
.slide__edge { top: calc(887 * var(--u)); }

/* Carousel indicators (Figma: 46 wide, 6 thick, round ends; inactive = white ~55%) */
.hero__dots { position: absolute; left: 50%; top: calc(827 * var(--u)); transform: translateX(-50%); display: flex; gap: calc(22 * var(--u)); z-index: 5; }
.hero__dot { position: relative; width: calc(46 * var(--u)); height: calc(24 * var(--u)); --bar: max(4px, calc(6 * var(--u))); }
.hero__dot::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: var(--bar); margin-top: calc(var(--bar) / -2); border-radius: 99px; background: rgba(255, 255, 255, .55); transition: background-color .3s; }
.hero__dot::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: var(--bar); margin-top: calc(var(--bar) / -2); border-radius: 99px; background: var(--white); transform: scaleX(0); transform-origin: left; }
.hero__dot:hover::before { background: rgba(255, 255, 255, .8); }
.hero__dot.is-active::after { transform: scaleX(1); }
.hero.is-autoplay .hero__dot.is-active::after { animation: dotFill var(--autoplay, 7000ms) linear forwards; }
.hero.is-paused .hero__dot.is-active::after { animation-play-state: paused; }
@keyframes dotFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- Hero motion: layers enter at different speeds ----------
   The landscape drifts in slowly behind, the dog (and bickies) and the
   wording peek in together from opposite sides. Runs on page load and
   on every slide change. */
.slide.is-active .slide__bg      { animation: bgIn 1.4s var(--ease-soft) both; }
.slide.is-active .slide__texture { animation: landscapeIn 2.2s var(--ease-out) both; }
.slide.is-active .slide__dog     { animation: dogIn 1.25s var(--ease-out) .25s both; }
.slide.is-active .slide__treats-box { animation: treatsIn 1.45s var(--ease-out) .4s both; }
.slide.is-active .slide__title   { animation: copyIn 1.1s var(--ease-out) .25s both; }
.slide.is-active .btn-row        { animation: copyIn 1.1s var(--ease-out) .4s both; }
.slide.is-active .slide__edge    { animation: none; }

.js .is-loading .slide.is-active * { animation-play-state: paused !important; }
.js .is-loading .announce, .js .is-loading .nav-bar, .js .is-loading .brand { opacity: 0; }

.slide.is-leaving .slide__dog, .slide.is-leaving .slide__treats-box { animation: dogOut .7s var(--ease-soft) both; }
.slide.is-leaving .slide__copy { animation: copyOut .6s var(--ease-soft) both; }
.slide.is-leaving .slide__texture { animation: fadeOut .8s ease both; }
.slide.is-leaving .slide__bg { animation: fadeOut .9s ease .2s both; }

@keyframes bgIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes landscapeIn { from { opacity: 0; transform: translate3d(calc(140 * var(--u)), calc(30 * var(--u)), 0) scale(1.06); } to { opacity: .15; transform: none; } }
@keyframes dogIn { from { opacity: 0; transform: translate3d(calc(260 * var(--u)), calc(30 * var(--u)), 0); } to { opacity: 1; transform: none; } }
@keyframes treatsIn { from { opacity: 0; transform: translate3d(calc(380 * var(--u)), calc(40 * var(--u)), 0) rotate(6deg); } to { opacity: 1; transform: none; } }
@keyframes copyIn { from { opacity: 0; transform: translate3d(calc(-180 * var(--u)), 0, 0); } to { opacity: 1; transform: none; } }
@keyframes dogOut { to { opacity: 0; transform: translate3d(calc(-120 * var(--u)), 0, 0); } }
@keyframes copyOut { to { opacity: 0; transform: translate3d(calc(-80 * var(--u)), 0, 0); } }
@keyframes fadeOut { to { opacity: 0; } }

/* Header drops in once on load */
.is-loaded .announce { animation: dropIn .7s var(--ease-out) both; }
.is-loaded .nav-bar  { animation: dropIn .8s var(--ease-out) .08s both; }
.is-loaded .brand    { animation: tabIn 1s var(--ease-out) .3s both; }
@keyframes dropIn { from { transform: translateY(-100%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes tabIn { from { transform: translateY(-110%); } 70% { transform: translateY(4%); } to { transform: none; } }

/* Scroll parallax offsets are written by JS into --py */
[data-parallax] { translate: 0 var(--py, 0px); }

/* ---------------------------------------------------------------------
   Product range  (section y 953 .. 1543)
   --------------------------------------------------------------------- */
.range { position: relative; height: calc(590 * var(--u)); }
.section-title { font-weight: 800; font-size: calc(50 * var(--u)); line-height: 1.26; text-align: center; }
.range__title { position: absolute; left: 0; right: 0; top: calc(49 * var(--u)); }
.range__list { position: absolute; left: calc(228 * var(--u)); right: calc(228 * var(--u)); top: calc(183 * var(--u)); display: flex; justify-content: space-between; }
.range__item { width: calc(220 * var(--u)); }
.range__item a { display: flex; flex-direction: column; align-items: center; }
.range__img { display: block; width: calc(220 * var(--u)); height: calc(220 * var(--u)); border-radius: 50%; overflow: hidden; transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.range__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.range__label { margin-top: calc(30 * var(--u)); font-weight: 800; font-size: calc(28 * var(--u)); line-height: 1.26; white-space: nowrap; transition: color .25s; }
.range__item a:hover .range__img, .range__item a:focus-visible .range__img { transform: translateY(calc(-10 * var(--u))); box-shadow: 0 calc(18 * var(--u)) calc(30 * var(--u)) rgba(0, 0, 0, .18); }
.range__item a:hover .range__img img, .range__item a:focus-visible .range__img img { transform: scale(1.1) rotate(3deg); }
.range__item a:hover .range__label { color: var(--red); }
/* Frozen Concentrate label nudged as in Figma */
.range__item:nth-child(3) .range__label { margin-left: calc(-20 * var(--u)); }

/* ---------------------------------------------------------------------
   About  (section y 1543 .. 2402, oat gradient)
   --------------------------------------------------------------------- */
.about { position: relative; height: calc(859 * var(--u)); background: linear-gradient(128.5deg, var(--oat) 43.6%, var(--oat-deep) 98.3%); z-index: 2; }
.about__text { position: absolute; left: calc(190 * var(--u)); top: calc(151 * var(--u)); width: calc(697 * var(--u)); }
.about__title { font-weight: 800; font-size: calc(46 * var(--u)); line-height: 1.26; width: calc(689 * var(--u)); }
.about__story { margin-top: calc(36 * var(--u)); font-weight: 300; font-size: calc(20 * var(--u)); line-height: calc(30 * var(--u)); }
.about__story p + p { margin-top: calc(30 * var(--u)); }
.about__btns { position: absolute; top: calc(500 * var(--u)); left: calc(-1 * var(--u)); }

.about__visual { position: absolute; inset: 0; pointer-events: none; }
.about__visual > * { pointer-events: auto; }
.bag { position: absolute; object-fit: cover; }
.bag--nourish { left: calc(1046 * var(--u)); top: calc(95 * var(--u)); width: calc(366.94 * var(--u)); height: calc(513.67 * var(--u)); }
.bag--large   { left: calc(1175 * var(--u)); top: calc(34 * var(--u)); width: calc(389.87 * var(--u)); height: calc(545.77 * var(--u)); }
.bag--family  { left: calc(953 * var(--u));  top: calc(159 * var(--u)); width: calc(288.08 * var(--u)); height: calc(403.27 * var(--u)); }
/* Bowl photo: layer x1190 y1694 815 x 720, Figma crop mask 786 x 622 at (-8, 98) */
.about__bowl {
  position: absolute; left: calc(1190 * var(--u)); top: calc(151 * var(--u)); width: calc(815 * var(--u)); height: calc(720 * var(--u));
  clip-path: inset(calc(98 * var(--u)) calc(37 * var(--u)) 0 0);
}
.about__bowl img { position: absolute; left: 11.08%; top: 19.64%; width: 91.18%; height: 100.08%; filter: drop-shadow(0 calc(71 * var(--u)) calc(30 * var(--u)) rgba(0, 0, 0, .15)); }

/* Benefit badges (Patrick Hand 24, white pill) - positions relative to section */
.badge { position: absolute; display: block; transition: transform .4s var(--ease-out); }
.badge:hover { transform: translateY(calc(-4 * var(--u))) rotate(-1.5deg); }
.badge__bg { position: absolute; left: 0; top: 0; background: var(--white); box-shadow: 0 4px 14px rgba(0, 0, 0, .06); }
.badge__icon { position: absolute; }
.badge__icon img { position: absolute; }
.badge__label { position: absolute; font-family: var(--hand); font-size: calc(24 * var(--u)); line-height: 1.26; }

.badge--natural { left: calc(1025 * var(--u)); top: calc(383 * var(--u)); width: calc(291 * var(--u)); height: calc(68 * var(--u)); }
.badge--natural .badge__bg { width: calc(291 * var(--u)); height: calc(68 * var(--u)); border-radius: calc(34 * var(--u)); }
.badge--natural .badge__icon { left: calc(22 * var(--u)); top: calc(17 * var(--u)); width: calc(32 * var(--u)); height: calc(31.22 * var(--u)); }
.badge--natural .badge__icon img { left: -5.69%; top: -9.24%; width: 110.38%; height: 114.05%; }
.badge--natural .badge__label { left: calc(66 * var(--u)); top: calc(17 * var(--u)); width: calc(202 * var(--u)); }

.badge--preservatives { left: calc(1218 * var(--u)); top: calc(198 * var(--u)); width: calc(322 * var(--u)); height: calc(83 * var(--u)); }
.badge--preservatives .badge__bg { width: calc(291 * var(--u)); height: calc(83 * var(--u)); border-radius: calc(41.5 * var(--u)); }
.badge--preservatives .badge__icon { left: calc(23 * var(--u)); top: calc(27 * var(--u)); width: calc(31 * var(--u)); height: calc(31 * var(--u)); }
.badge--preservatives .badge__icon img { left: -4.03%; top: -4.03%; width: 108.06%; height: 108.06%; }
.badge--preservatives .badge__label { left: calc(64 * var(--u)); top: calc(18 * var(--u)); width: calc(258 * var(--u)); line-height: calc(24 * var(--u)); }

.badge--kiwi { left: calc(1621 * var(--u)); top: calc(190 * var(--u)); width: calc(248 * var(--u)); height: calc(68 * var(--u)); }
.badge--kiwi .badge__bg { width: calc(248 * var(--u)); height: calc(68 * var(--u)); border-radius: calc(34 * var(--u)); }
.badge--kiwi .badge__icon { left: calc(14 * var(--u)); top: calc(18 * var(--u)); width: calc(42.94 * var(--u)); height: calc(35 * var(--u)); }
.badge--kiwi .badge__icon img { left: -.87%; top: -1.39%; width: 101.74%; height: 102.46%; }
.badge--kiwi .badge__label { left: calc(66 * var(--u)); top: calc(17 * var(--u)); width: calc(164 * var(--u)); }

.badge--certified { left: calc(1064 * var(--u)); top: calc(574.59 * var(--u)); width: calc(331 * var(--u)); height: calc(68 * var(--u)); }
.badge--certified .badge__bg { width: calc(331 * var(--u)); height: calc(68 * var(--u)); border-radius: calc(34 * var(--u)); }
.badge--certified .badge__icon { left: calc(20 * var(--u)); top: calc(17 * var(--u)); width: calc(35 * var(--u)); height: calc(35 * var(--u)); }
.badge--certified .badge__icon img { left: -3.57%; top: -3.57%; width: 107.14%; height: 107.14%; }
.badge--certified .badge__label { left: calc(66 * var(--u)); top: calc(17 * var(--u)); width: calc(253 * var(--u)); }

.badge--dogtypes { left: calc(1102 * var(--u)); top: calc(731 * var(--u)); width: calc(331 * var(--u)); height: calc(68 * var(--u)); }
.badge--dogtypes .badge__bg { width: calc(331 * var(--u)); height: calc(68 * var(--u)); border-radius: calc(34 * var(--u)); }
.badge--dogtypes .badge__icon { left: calc(24 * var(--u)); top: calc(17.4 * var(--u)); width: calc(34 * var(--u)); height: calc(36.13 * var(--u)); }
.badge--dogtypes .badge__icon img { left: -3.68%; top: -3.46%; width: 107.36%; height: 106.92%; }
.badge--dogtypes .badge__label { left: calc(71 * var(--u)); top: calc(17 * var(--u)); width: calc(253 * var(--u)); }

/* Hand-drawn arrows: bounding box + rotation from Figma */
.arrow { position: absolute; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.arrow__inner { position: relative; flex: none; }
.arrow__inner img { position: absolute; left: 13.23%; top: 8.2%; width: 73.54%; height: 83.54%; }
.arrow--natural { left: calc(1269 * var(--u)); top: calc(366.16 * var(--u)); width: calc(143.11 * var(--u)); height: calc(143.11 * var(--u)); }
.arrow--natural .arrow__inner { width: calc(129.84 * var(--u)); height: calc(129.84 * var(--u)); rotate: 83.8deg; }
.arrow--preservatives { left: calc(1441 * var(--u)); top: calc(233 * var(--u)); width: calc(179.02 * var(--u)); height: calc(204.54 * var(--u)); }
.arrow--preservatives .arrow__inner { width: calc(181.32 * var(--u)); height: calc(149.88 * var(--u)); rotate: 99.97deg; }
.arrow--dogtypes { left: calc(1391 * var(--u)); top: calc(681 * var(--u)); width: calc(169.08 * var(--u)); height: calc(169.08 * var(--u)); }
.arrow--dogtypes .arrow__inner { width: calc(124.59 * var(--u)); height: calc(124.59 * var(--u)); rotate: -61.34deg; scale: 1 -1; }
.arrow--certified { left: calc(1346.41 * var(--u)); top: calc(524.27 * var(--u)); width: calc(142.41 * var(--u)); height: calc(142.41 * var(--u)); }
.arrow--certified .arrow__inner { width: calc(109.82 * var(--u)); height: calc(109.82 * var(--u)); rotate: -68.52deg; scale: 1 -1; }
.arrow--kiwi { left: calc(1740.36 * var(--u)); top: calc(231 * var(--u)); width: calc(124.04 * var(--u)); height: calc(124.04 * var(--u)); }
.arrow--kiwi .arrow__inner { width: calc(121.51 * var(--u)); height: calc(121.51 * var(--u)); rotate: 178.79deg; }

.page-edge--about { top: calc(844 * var(--u)); left: calc(-98 * var(--u)); z-index: 3; }

/* ---------------------------------------------------------------------
   Featured products (section y 2402 .. 3554)
   --------------------------------------------------------------------- */
.featured { position: relative; height: calc(1152 * var(--u)); }
.featured > .section-title { position: absolute; left: 0; right: 0; top: calc(89 * var(--u)); }
.section-intro { font-weight: 300; font-size: calc(22 * var(--u)); line-height: 1.26; text-align: center; }
.featured > .section-intro { position: absolute; left: 0; right: 0; top: calc(177 * var(--u)); }
.cards { position: absolute; left: calc(80 * var(--u)); top: calc(263 * var(--u)); display: flex; gap: calc(20 * var(--u)); }

.card { width: calc(425 * var(--u)); height: calc(690 * var(--u)); }
.card a { position: relative; display: block; width: 100%; height: 100%; background: var(--card); overflow: hidden; transition: background-color .5s var(--ease-soft); }
.card__media { position: absolute; left: 0; top: 0; width: 100%; height: calc(473 * var(--u)); }
.card__shadow { position: absolute; left: calc(88 * var(--u)); top: calc(384 * var(--u)); width: calc(254 * var(--u)); height: calc(44.7 * var(--u)); }
.card__bag { position: absolute; left: calc(67 * var(--u)); top: calc(18 * var(--u)); width: calc(317 * var(--u)); height: calc(443 * var(--u)); object-fit: cover; transition: opacity .45s var(--ease-soft), transform .7s var(--ease-out); }
/* Hover photo: x34 y66, 352 x 341 (its Figma mask is the whole card image area, so no crop is needed) */
.card__hover {
  position: absolute; left: calc(34 * var(--u)); top: calc(66 * var(--u)); width: calc(352 * var(--u)); height: calc(340.9 * var(--u));
  opacity: 0; transform: scale(1.06) rotate(-4deg); transition: opacity .45s var(--ease-soft), transform .8s var(--ease-out);
}
.card__hover img { width: 100%; height: 100%; object-fit: cover; filter: drop-shadow(0 calc(20 * var(--u)) calc(24 * var(--u)) rgba(0, 0, 0, .15)); }
.card__edge { position: absolute; left: 0; top: calc(520 * var(--u)); width: 100%; height: calc(170 * var(--u)); }
.card__brand, .card__name, .card__cta { position: absolute; left: calc(51 * var(--u)); right: calc(57 * var(--u)); text-align: center; line-height: 1.26; }
.card__brand { top: calc(499 * var(--u)); font-weight: 600; font-size: calc(26 * var(--u)); }
.card__name { top: calc(537 * var(--u)); font-weight: 800; font-size: calc(30 * var(--u)); }
.card__cta { top: calc(596 * var(--u)); font-weight: 800; font-size: calc(15 * var(--u)); letter-spacing: calc(3 * var(--u)); transition: color .3s, letter-spacing .4s var(--ease-out); }
/* Figma "State=Hover": bag swaps to biscuits-in-bowl, CTA turns red */
/* Rollover keeps the card flat (no lift, no shadow) so the torn white edge
   still melts into the page. The colour block warms slightly instead. */
.card a:hover, .card a:focus-visible { background-color: #f1ece4; }
.card a:hover .card__bag, .card a:focus-visible .card__bag { opacity: 0; transform: translateY(calc(-14 * var(--u))) scale(.96); }
.card a:hover .card__hover, .card a:focus-visible .card__hover { opacity: 1; transform: none; }
.card a:hover .card__cta, .card a:focus-visible .card__cta { color: var(--red); letter-spacing: calc(4 * var(--u)); }
.card a:hover .card__shadow { opacity: 0; }
.card__shadow { transition: opacity .3s; }

.featured__cta { position: absolute; left: 0; right: 0; top: calc(994 * var(--u)); display: flex; justify-content: center; }

/* ---------------------------------------------------------------------
   Nutrition banner (y 3554 .. 4166)
   --------------------------------------------------------------------- */
.banner { position: relative; height: calc(612 * var(--u)); overflow: hidden; }
.banner__img { position: absolute; left: calc(-156.56 * var(--u)); top: calc(-99.71 * var(--u)); width: calc(2107.67 * var(--u)); height: calc(852.64 * var(--u)); }
.banner__img img { width: 100%; height: 100%; object-fit: cover; }
.banner__shade { position: absolute; inset: 0; background: rgba(0, 0, 0, .2); }
.banner__copy { position: absolute; left: calc(1155 * var(--u)); top: calc(144 * var(--u)); width: calc(563 * var(--u)); color: var(--white); }
.banner__title { font-weight: 800; font-size: calc(46 * var(--u)); line-height: 1.26; }
.banner__text { margin-top: calc(38 * var(--u)); font-weight: 400; font-size: calc(30 * var(--u)); line-height: 1.26; }
.banner .btn-row { position: absolute; top: calc(275 * var(--u)); left: calc(2 * var(--u)); }
.banner .btn--ghost-light { font-weight: 800; }

/* ---------------------------------------------------------------------
   Reviews (y 4166 .. 4940; cards overlap the footer)
   --------------------------------------------------------------------- */
.reviews { position: relative; height: calc(774 * var(--u)); z-index: 4; }
.reviews > .section-title { position: absolute; left: 0; right: 0; top: calc(100 * var(--u)); }
.reviews > .section-intro { position: absolute; left: 0; right: 0; top: calc(188 * var(--u)); }
.reviews__cta { position: absolute; left: 0; right: 0; top: calc(259 * var(--u)); display: flex; justify-content: center; }
.reviews__viewport { position: absolute; left: calc(228 * var(--u)); top: calc(385 * var(--u)); width: calc(1464 * var(--u)); height: calc(487 * var(--u)); overflow: hidden; }
.reviews__track { display: flex; gap: calc(20 * var(--u)); transition: transform .8s var(--ease-out); }
.review { flex: none; display: flex; width: calc(722 * var(--u)); height: calc(487 * var(--u)); background: var(--card); transition: background-color .5s var(--ease-soft); }
/* Same warm tan rollover as the product cards */
.review:hover { background-color: #f1ece4; }
.review__photo { width: calc(277 * var(--u)); height: 100%; object-fit: cover; }
.review__body { padding: calc(46 * var(--u)) calc(44 * var(--u)) 0 calc(45 * var(--u)); width: calc(445 * var(--u)); font-weight: 300; font-size: calc(22 * var(--u)); line-height: 1.26; }
.review__body a { text-decoration: underline; text-underline-offset: 2px; transition: color .2s; }
.review__body a:hover { color: var(--red); }
.review__body footer { margin-top: 1.26em; font-weight: 600; }
.review__photo { transition: transform .8s var(--ease-out); }
.review:hover .review__photo { transform: scale(1.03); }
.review { overflow: hidden; }

/* Review arrows: same hand-drawn artwork, rotated to point left / right (matched to the Figma render) */
.reviews__arrow { position: absolute; display: flex; align-items: center; justify-content: center; width: calc(150 * var(--u)); height: calc(150 * var(--u)); transition: transform .35s var(--ease-out), opacity .3s; }
.reviews__arrow .arrow__inner { width: calc(120 * var(--u)); height: calc(120 * var(--u)); }
.reviews__arrow--prev { left: calc(63 * var(--u)); top: calc(522 * var(--u)); }
.reviews__arrow--prev .arrow__inner { rotate: 238deg; }
.reviews__arrow--next { left: calc(1700 * var(--u)); top: calc(516 * var(--u)); }
.reviews__arrow--next .arrow__inner { rotate: 55deg; }
.reviews__arrow--prev:hover { transform: translateX(calc(-10 * var(--u))); }
.reviews__arrow--next:hover { transform: translateX(calc(10 * var(--u))); }
.reviews__arrow[disabled] { opacity: .35; cursor: default; transform: none; }
.reviews.is-static .reviews__arrow { opacity: 1; cursor: default; }

/* ---------------------------------------------------------------------
   Footer (y 4940 .. 5796, navy)
   --------------------------------------------------------------------- */
.site-footer { height: calc(856 * var(--u)); background: var(--navy); color: var(--white); z-index: 1; }
.page-edge--footer { top: calc(-35 * var(--u)); left: calc(-68 * var(--u)); z-index: 3; }
.footer__cols { position: absolute; left: calc(228 * var(--u)); top: calc(259 * var(--u)); }
.footer__col { position: absolute; top: 0; }
.footer__col--products { left: 0; }
.footer__col--mm { left: calc(297 * var(--u)); }
.footer__col--shop { left: calc(592 * var(--u)); }
.footer__col--contact { left: calc(892 * var(--u)); display: flex; flex-direction: column; }
.footer__col h3 { font-weight: 700; font-size: calc(20 * var(--u)); line-height: calc(28 * var(--u)); color: var(--blue); white-space: nowrap; }
.footer__col ul { margin-top: calc(10 * var(--u)); display: grid; gap: calc(10 * var(--u)); }
.footer__col li a, .footer__email, .footer__phone { font-weight: 700; font-size: calc(20 * var(--u)); line-height: calc(28 * var(--u)); white-space: nowrap; }
.footer__col li a { position: relative; display: inline-block; transition: color .2s, transform .3s var(--ease-out); }
.footer__col li a:hover, .footer__col li a:focus-visible { color: var(--sky-light); transform: translateX(calc(4 * var(--u))); }
.footer__phone-word { margin-top: calc(23 * var(--u)); font-weight: 700; font-size: calc(32 * var(--u)); line-height: calc(37 * var(--u)); }
.footer__phone { margin-top: calc(1 * var(--u)); }
.footer__email { margin-top: calc(25 * var(--u)); }
.footer__col--contact a { transition: color .2s; }
.footer__col--contact a:hover { color: var(--sky-light); }

.footer__brand { position: absolute; left: calc(1498 * var(--u)); top: calc(263 * var(--u)); width: calc(182.85 * var(--u)); height: calc(206 * var(--u)); }
.footer__tab { width: 100%; height: 100%; }
.footer__logo { position: absolute; left: calc(28 * var(--u)); top: calc(35 * var(--u)); width: calc(122 * var(--u)); height: calc(115 * var(--u)); }
.footer__brand:hover .footer__logo,
.brand:hover .brand__logo, .brand:focus-visible .brand__logo { animation: wag .6s ease-in-out; }
@keyframes wag { 25% { rotate: -4deg; } 75% { rotate: 4deg; } }

.footer__social { position: absolute; left: calc(1528 * var(--u)); top: calc(633 * var(--u)); width: calc(127 * var(--u)); height: calc(26 * var(--u)); }
.footer__social li { position: absolute; top: 0; }
.footer__social li:nth-child(1) { left: 0; }
.footer__social li:nth-child(2) { left: calc(44.83 * var(--u)); }
.footer__social li:nth-child(3) { left: calc(104.13 * var(--u)); }
/* Icons are inline SVG (fill: currentColor) so they can change colour.
   Rollover: light blue, grows slightly, plus the same gentle wriggle as the nav. */
.social { display: block; position: relative; color: var(--white); transition: color .25s, scale .35s var(--ease-out); }
.social svg { display: block; width: 100%; height: 100%; }
.social:hover, .social:focus-visible { color: var(--sky-light); scale: 1.12; animation: wriggle .6s ease-in-out; }
.social--fb { top: calc(2 * var(--u)); width: calc(13.11 * var(--u)); height: calc(24.59 * var(--u)); }
.social--yt { top: calc(2.86 * var(--u)); width: calc(27.44 * var(--u)); height: calc(19.38 * var(--u)); }
.social--ig { top: calc(2 * var(--u)); width: calc(23 * var(--u)); height: calc(22 * var(--u)); }

.footer__certs { position: absolute; left: calc(228 * var(--u)); top: calc(616 * var(--u)); }
.footer__certs li { position: absolute; top: 0; }
.cert--nzpfa { width: calc(137 * var(--u)); height: calc(57 * var(--u)); }
.footer__certs li:nth-child(2) { left: calc(197 * var(--u)); top: calc(4 * var(--u)); }
.cert--aafco { width: calc(172 * var(--u)); height: calc(50 * var(--u)); }
.footer__certs li:nth-child(3) { left: calc(429 * var(--u)); top: calc(7 * var(--u)); }
.cert--agr { width: calc(224 * var(--u)); height: calc(43 * var(--u)); }
.cert { object-fit: cover; }

.footer__legal { position: absolute; left: calc(228 * var(--u)); right: calc(228 * var(--u)); top: calc(783 * var(--u)); display: flex; justify-content: space-between; align-items: center; font-size: calc(14 * var(--u)); line-height: 1.26; }
.footer__legal p { white-space: pre; }
.footer__legal ul { display: flex; gap: calc(20 * var(--u)); }
.footer__legal li:not(:first-child) a { font-family: var(--mona); }
.footer__legal a:hover { color: var(--sky-light); }
.footer__credit { transition: color .25s; }
.footer__credit:hover, .footer__credit:focus-visible { color: var(--sky-light); }

/* ---------------------------------------------------------------------
   Scroll reveal
   --------------------------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translate3d(0, calc(40 * var(--u)), 0); transition: opacity .9s var(--ease-soft), transform 1s var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

.js [data-float] { opacity: 0; transform: translate3d(0, calc(60 * var(--u)), 0) scale(.96); transition: opacity .9s var(--ease-soft), transform 1.1s var(--ease-out); transition-delay: calc(var(--d, 0) * 120ms); }
.js .is-in [data-float] { opacity: 1; transform: none; }
.js .is-in .bag { animation: bob 6s ease-in-out calc(1.2s + var(--d, 0) * .6s) infinite; }
@keyframes bob { 50% { translate: 0 calc(-8 * var(--u)); } }

.js [data-pop] { opacity: 0; transform: scale(.6); transition: opacity .5s var(--ease-soft), transform .7s cubic-bezier(.34, 1.56, .64, 1); transition-delay: calc(.6s + var(--d, 0) * 140ms); }
.js .is-in [data-pop] { opacity: 1; transform: none; }
.js .is-in [data-pop]:hover { transform: translateY(calc(-4 * var(--u))) rotate(-1.5deg); transition-delay: 0s; }

/* Arrows draw in with a sweeping mask after their badge pops */
.js [data-draw] .arrow__inner img { clip-path: inset(0 100% 0 0); transition: clip-path .8s var(--ease-out); transition-delay: calc(.9s + var(--d, 0) * 140ms); }
.js .is-in [data-draw] .arrow__inner img { clip-path: inset(0 0 0 0); }
/* Review arrows draw in the same way, triggered when each arrow scrolls into view */
.js .reviews__arrow[data-draw] .arrow__inner img { transition-delay: calc(.35s + var(--d, 0) * 200ms); }
.js [data-draw].is-in .arrow__inner img { clip-path: inset(0 0 0 0); }

/* Footer build-in: plays once when the footer scrolls into view.
   Columns rise in one after another, the logo tab drops down from the top,
   then the certification logos fade up and the social icons pop in. */
.js [data-foot] { opacity: 0; transform: translate3d(0, calc(24 * var(--u)), 0); transition: opacity .8s var(--ease-soft), transform .9s var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms); }
.js .footer__brand[data-foot] { transform: translate3d(0, calc(-40 * var(--u)), 0); }
.js .footer__social [data-foot] { transform: scale(.4); transition-timing-function: var(--ease-soft), cubic-bezier(.34, 1.56, .64, 1); }
.js .is-in [data-foot] { opacity: 1; transform: none; }

/* ---------------------------------------------------------------------
   Reduced motion
   --------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  [data-parallax], [data-parallax-scroll] { translate: none !important; }
  html { scroll-behavior: auto; }
}

/* =====================================================================
   PROVISIONAL MOBILE / TABLET  (< 1024px)
   No mobile design exists yet. This stacks the desktop content so the
   page is usable; replace once the mobile Figma frames are ready.
   ===================================================================== */
@media (max-width: 1023px) {
  :root { --u: 1px; }
  .sticky-bar { --bar-h: 60px; }
  .sticky-bar__inner { padding: 0 16px; justify-content: flex-end; gap: 14px; }
  .sticky-brand { left: 16px; width: 62px; }
  .sticky-nav { position: absolute; left: 0; right: 0; top: 100%; flex: none; background: #eb001f; padding: 8px 24px 20px; box-shadow: 0 12px 24px rgba(0,0,0,.12); clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .4s var(--ease-out), visibility 0s .4s; }
  .sticky-nav.is-open { clip-path: inset(0 0 -40px 0); visibility: visible; transition: clip-path .4s var(--ease-out); }
  .sticky-nav ul { flex-direction: column; width: auto; }
  .sticky-nav a { display: block; font-size: 19px; padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, .25); }
  .sticky-cart { margin: 0; }
  .sticky-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; }
  .sticky-toggle span { display: block; height: 3px; border-radius: 3px; background: var(--white); transition: transform .3s, opacity .3s; }
  .sticky-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .sticky-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .sticky-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .btn { width: auto; min-width: 170px; padding: 0 24px; height: 52px; font-size: 14px; letter-spacing: 2.4px; border-radius: 30px; }
  .btn-row { gap: 12px; flex-wrap: wrap; }

  .site-header { position: absolute; }
  .announce { height: auto; padding: 10px 16px; }
  .announce p { font-size: 15px; text-align: center; }
  .nav-bar { height: 72px; }
  .brand { left: 16px; width: 92px; height: 104px; }
  .brand__logo { left: 15px; top: 21px; width: 62px; height: 58px; }
  .nav-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; position: absolute; right: 16px; top: 16px; width: 40px; height: 40px; z-index: 3; }
  .nav-toggle__bar { display: block; height: 3px; border-radius: 3px; background: var(--ink); transition: transform .3s, opacity .3s; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .primary-nav { position: absolute; left: 0; right: 0; top: 72px; flex-direction: column; align-items: stretch; background: var(--white); padding: 12px 24px 24px; box-shadow: 0 12px 24px rgba(0,0,0,.12); clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .4s var(--ease-out), visibility 0s .4s; }
  .primary-nav.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .4s var(--ease-out); }
  .primary-nav ul { flex-direction: column; gap: 0; }
  .primary-nav ul a { display: block; font-size: 20px; padding: 12px 0; border-bottom: 1px solid #eee; }
  .primary-nav ul a::after { display: none; }
  .cart { margin: 16px 0 0; }
  .cart__badge { width: 14px; height: 14px; }

  .hero { height: 780px; }
  .hero__slides { inset: 0; }
  .slide__bg { height: 760px; }
  .slide__texture { top: 440px; height: 340px; }
  .slide__copy { left: 20px; right: 20px; top: 190px; }
  .slide__title, .slide__title--narrow { width: auto; font-size: 28px; }
  .slide__copy .btn-row, .slide--1 .slide__copy .btn-row, .slide--2 .slide__copy .btn-row, .slide--3 .slide__copy .btn-row { position: static; margin-top: 24px; }
  /* masked layers keep their design-px geometry and are scaled down as a unit */
  .slide__dog--schnauzer { left: auto; right: -40px; top: 440px; scale: .44; transform-origin: top right; }
  .slide__treats { left: auto; right: 0; top: 620px; scale: .34; transform-origin: top right; }
  .slide__dog--collie { left: auto; right: -20px; top: 450px; width: 320px; height: 320px; }
  .slide__dog--mixed { left: auto; right: -30px; top: 420px; width: 340px; height: 342px; }
  .slide__edge { top: 740px; left: -50px; width: calc(100% + 100px); height: 40px; }
  .hero__dots { top: auto; bottom: 40px; left: 20px; transform: none; }
  .hero__dot { width: 36px; height: 20px; }

  .range { height: auto; padding: 56px 16px 64px; }
  .range__title, .range__list { position: static; }
  .section-title { font-size: 32px; }
  .range__list { margin-top: 32px; flex-wrap: wrap; justify-content: center; gap: 28px 20px; }
  .range__item { width: 150px; }
  .range__img { width: 150px; height: 150px; }
  .range__label { font-size: 20px; margin-top: 14px; white-space: normal; text-align: center; }
  .range__item:nth-child(3) .range__label { margin-left: 0; }

  .about { height: auto; padding: 56px 20px 0; }
  .about__text { position: static; width: auto; }
  .about__title { width: auto; font-size: 32px; }
  .about__story { font-size: 17px; line-height: 27px; margin-top: 20px; }
  .about__btns { position: static; margin-top: 28px; }
  .about__visual { position: relative; inset: auto; height: 560px; margin: 32px -20px 0; transform-origin: top left; }
  .about__visual > * { scale: .5; transform-origin: 0 0; }
  .bag--nourish { left: 30%; top: 40px; } .bag--large { left: 45%; top: 10px; } .bag--family { left: 14%; top: 70px; }
  .about__bowl { left: 30%; top: 150px; }
  .badge, .arrow { display: none; }
  .page-edge--about { top: auto; bottom: -20px; left: -50px; width: calc(100% + 100px); height: 40px; }

  .featured { height: auto; padding: 64px 16px; }
  .featured > .section-title, .featured > .section-intro, .cards, .featured__cta { position: static; }
  .section-intro { font-size: 17px; margin-top: 12px; }
  .cards { margin-top: 32px; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
  .card { width: auto; height: auto; aspect-ratio: 425 / 690; container-type: inline-size; }
  .card__media { height: 68.5%; }
  .card__shadow { left: 20.7%; top: 81%; width: 59.8%; height: 9.4%; }
  .card__bag { left: 15.8%; top: 3.8%; width: 74.6%; height: 93.7%; }
  .card__edge { top: 75.4%; height: 24.6%; }
  .card__brand { top: 72.3%; font-size: 6.1cqw; left: 6%; right: 6%; }
  .card__name { top: 77.8%; font-size: 7cqw; left: 6%; right: 6%; }
  .card__cta { top: 86.4%; font-size: 3.6cqw; left: 6%; right: 6%; }
  .featured__cta { margin-top: 36px; display: flex; justify-content: center; }

  .banner { height: auto; padding: 280px 20px 48px; }
  .banner__img { left: 0; top: 0; width: 100%; height: 100%; }
  .banner__img img { object-position: 25% center; }
  .banner__shade { background: linear-gradient(to bottom, rgba(0,0,0,0) 30%, rgba(0,0,0,.55) 70%); }
  .banner__copy { position: relative; left: 0; top: 0; width: auto; }
  .banner__title { font-size: 30px; } .banner__text { font-size: 19px; margin-top: 12px; }
  .banner .btn-row { position: static; margin-top: 24px; }

  .reviews { height: auto; padding: 64px 16px 0; }
  .reviews > .section-title, .reviews > .section-intro, .reviews__cta { position: static; }
  .reviews__cta { margin-top: 24px; display: flex; justify-content: center; }
  .reviews__viewport { position: relative; left: 0; top: 0; width: auto; height: auto; margin-top: 36px; margin-bottom: -80px; }
  .reviews__track { flex-direction: column; transform: none !important; }
  .review { width: 100%; height: auto; flex-direction: column; }
  .review__photo { width: 100%; height: 300px; }
  .review__body { width: auto; padding: 24px 20px 28px; font-size: 17px; }
  .reviews__arrow { display: none; }

  .site-footer { height: auto; padding: 140px 20px 28px; }
  .page-edge--footer { left: -50px; width: calc(100% + 100px); height: 40px; top: -20px; }
  .footer__cols { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer__col { position: static; }
  .footer__col h3, .footer__col li a, .footer__email, .footer__phone { font-size: 17px; line-height: 26px; }
  .footer__phone-word { font-size: 26px; line-height: 32px; margin-top: 8px; }
  .footer__brand { position: relative; left: 0; top: 0; margin: 40px 0 0; }
  .footer__social, .footer__certs { position: relative; left: 0; top: 0; margin-top: 32px; }
  .footer__certs { height: 60px; }
  .footer__certs li:nth-child(2) { left: 160px; } .footer__certs li:nth-child(3) { left: 0; top: 80px; }
  .footer__legal { position: static; margin-top: 120px; flex-direction: column; align-items: flex-start; gap: 10px; font-size: 13px; }
}
