/* ============================================================
   BHIMA'S FOODS — Design System
   Palette per official brand identity (new bhima final.pdf):
   PRIMARY red #AB1F24 · grey #827E74 · ink #291B19
   SECONDARY yellow #FFD109 · stone #CECAC2 · white · cream #F9E6C5
   + packaging blue #29568F / sky #9FD6E4 · mascot orange #F48F1D
   Fonts: Quicksand (primary/display) · Creato Display (secondary/labels)
   ============================================================ */

@font-face {
  font-family: "Creato Display";
  src: url("../assets/fonts/CreatoDisplay-Medium.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --red: #ab1f24;
  --red-deep: #8c161b;
  --orange: #f48f1d;
  --orange-soft: #ffb45c;
  --butter: #f9e6c5;
  --cream: #fff8ec;
  --cream-2: #fdefd8;
  --ink: #291b19;
  --ink-soft: #56423f;
  --blue: #29568f;
  --blue-light: #dcecf9;
  --yellow: #ffd109;
  --grey: #827e74;
  --stone: #cecac2;
  --white: #ffffff;
  --radius: 22px;
  --radius-lg: 34px;
  --shadow: 0 22px 48px -18px rgba(40, 26, 25, 0.17);
  --shadow-sm: 0 8px 22px -10px rgba(40, 26, 25, 0.15);
  --edge: 1px solid rgba(40, 26, 25, 0.06);
  --font-display: "Quicksand", sans-serif;
  --font-body: "Quicksand", sans-serif;
  --font-ui: "Quicksand", sans-serif;
  --font-accent: "Creato Display", "Quicksand", sans-serif;
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

::selection { background: var(--yellow); color: var(--ink); }

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 { letter-spacing: -0.02em; }

.container { width: min(1180px, 92vw); margin: 0 auto; }

/* ---------- utilities ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-accent); font-weight: 500; font-size: 12.5px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--red);
}
.eyebrow::before {
  content: ""; width: 26px; height: 3px; border-radius: 2px; background: var(--yellow);
}
.section { padding: clamp(70px, 9vw, 120px) 0; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(34px, 4.6vw, 54px); margin-top: 10px; }
.section-head p { margin-top: 14px; color: var(--ink-soft); font-size: 18px; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.8s ease, transform 0.8s var(--ease-bounce); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.12s; }
.reveal[data-delay="2"] { transition-delay: 0.24s; }
.reveal[data-delay="3"] { transition-delay: 0.36s; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 17px;
  padding: 15px 30px; border-radius: 999px;
  transition: transform 0.35s var(--ease-bounce), box-shadow 0.3s ease, background 0.3s ease;
  will-change: transform;
}
.btn-primary { background: var(--red); color: var(--white); box-shadow: 0 12px 26px -12px rgba(170, 30, 35, 0.45); }
.btn:active { transform: scale(0.97); }
.btn:focus-visible, .add-btn:focus-visible, .filter-chip:focus-visible {
  outline: 3px solid rgba(255, 209, 9, 0.85); outline-offset: 2px;
}
.btn-primary:hover { background: var(--red-deep); transform: translateY(-3px) scale(1.02); }
.btn-orange { background: var(--orange); color: var(--white); box-shadow: 0 10px 24px -10px rgba(244, 143, 29, 0.6); }
.btn-orange:hover { transform: translateY(-3px) scale(1.02); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2.5px var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); transform: translateY(-3px); }
.btn-white { background: var(--white); color: var(--red); }
.btn-white:hover { transform: translateY(-3px) scale(1.02); }
.btn .arr { transition: transform 0.3s ease; }
.btn:hover .arr { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
  padding: 18px 0;
}
.site-header.scrolled {
  background: rgba(255, 248, 236, 0.92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 6px 30px -18px rgba(40, 26, 25, 0.35);
  padding: 10px 0;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 62px; width: auto; transition: height 0.35s ease, transform 0.3s var(--ease-bounce); }
.brand:hover img { transform: scale(1.04) rotate(-1deg); }
.site-header.scrolled .brand img { height: 48px; }
@media (max-width: 960px) { .brand img { height: 50px; } .site-header.scrolled .brand img { height: 42px; } }
.nav-links { display: flex; align-items: center; gap: 34px; font-weight: 700; font-size: 15.5px; }
.nav-links a { position: relative; padding: 6px 0; color: var(--ink); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0;
  border-radius: 2px; background: var(--yellow); transition: width 0.3s var(--ease-bounce);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--red); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.cart-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%; background: var(--white);
  box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease-bounce);
}
.cart-btn:hover { transform: scale(1.08) rotate(-4deg); }
.cart-count {
  position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px;
  border-radius: 10px; background: var(--red); color: var(--white);
  font-size: 11.5px; font-weight: 700; display: flex; align-items: center; justify-content: center;
  padding: 0 5px; transform: scale(0); transition: transform 0.3s var(--ease-bounce);
}
.cart-count.show { transform: scale(1); }
.hamburger { display: none; width: 46px; height: 46px; border-radius: 50%; background: var(--white); box-shadow: var(--shadow-sm); flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.hamburger span { width: 20px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: 140px 0 80px; overflow: hidden;
  background:
    radial-gradient(1000px 600px at 85% 20%, rgba(244, 143, 29, 0.16), transparent 60%),
    radial-gradient(800px 500px at 5% 90%, rgba(170, 30, 35, 0.08), transparent 60%),
    var(--cream);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.hero h1 {
  font-size: clamp(46px, 6.6vw, 92px);
  margin: 18px 0 22px;
}
.hero h1 .accent { color: var(--red); position: relative; display: inline-block; }
.hero h1 .accent svg { position: absolute; left: 0; bottom: -6px; width: 100%; height: 14px; }
.hero h1 .accent svg path {
  stroke: var(--yellow); stroke-width: 7; fill: none; stroke-linecap: round;
  stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 1.1s 0.7s ease forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-sub { font-size: clamp(17px, 1.6vw, 20px); line-height: 1.7; color: var(--ink-soft); max-width: 520px; margin-bottom: 34px; font-weight: 500; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 26px; margin-top: 44px; flex-wrap: wrap; }
.hero-badge { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14.5px; color: var(--ink-soft); }
.hero-badge .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--yellow); flex: none; }

/* hero visual */
.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.mascot-stage { position: relative; width: min(520px, 100%); aspect-ratio: 1; }
.mascot-ring {
  position: absolute; inset: 4%; border-radius: 50%;
  border: 2.5px dashed rgba(170, 30, 35, 0.35);
  animation: spin 40s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.mascot-img {
  position: absolute; inset: 8%;
  filter: drop-shadow(0 30px 50px rgba(40, 26, 25, 0.25));
  animation: float 5.5s ease-in-out infinite;
  will-change: transform;
}
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -16px; } }
.mascot-img img { width: 100%; height: 100%; }

/* cursor-following eyes */
.fx-eye {
  position: absolute; left: var(--ex); top: var(--ey);
  width: 4.6%; height: 6.0%; transform: translate(-50%, -50%);
  background: #f6d6a7; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.fx-eye i {
  width: 64%; height: 72%; border-radius: 50%; background: #241413;
  transform: translate(var(--px, 0px), var(--py, 0px));
  transition: transform 0.22s ease-out;
}
.chip {
  position: absolute; display: flex; align-items: center; justify-content: center;
  will-change: transform; pointer-events: none;
}
.chip svg { width: 100%; height: 100%; }
.chip-1 { width: 64px; top: 4%; left: 2%; animation: float 6s 0.4s ease-in-out infinite; }
.chip-2 { width: 52px; bottom: 10%; left: -4%; animation: float 7s 1.1s ease-in-out infinite; }
.chip-3 { width: 70px; top: 12%; right: -2%; animation: float 6.4s 0.8s ease-in-out infinite; }
.chip-4 { width: 46px; bottom: 2%; right: 10%; animation: float 5.4s 0.2s ease-in-out infinite; }
.speech {
  position: absolute; top: -2%; right: 6%;
  background: var(--white); border-radius: 18px 18px 18px 4px;
  padding: 10px 18px; font-family: var(--font-display); font-weight: 700;
  font-size: 15px; color: var(--red); box-shadow: var(--shadow-sm);
  transform: rotate(4deg) scale(0); animation: pop 0.5s 1.4s var(--ease-bounce) forwards;
}
@keyframes pop { to { transform: rotate(4deg) scale(1); } }

.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-soft); opacity: 0.7; display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-hint::after {
  content: ""; width: 2px; height: 34px; background: linear-gradient(var(--ink-soft), transparent);
  animation: drip 1.8s ease infinite;
}
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 60% { transform: scaleY(1); transform-origin: top; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- marquee ---------- */
.marquee-band { background: linear-gradient(100deg, var(--red), var(--red-deep)); color: var(--cream); padding: 18px 0; overflow: hidden; transform: rotate(-1.2deg) scale(1.02); }
.marquee { display: flex; width: max-content; animation: marquee 26s linear infinite; }
.marquee-band:hover .marquee { animation-play-state: paused; }
.marquee span {
  font-family: var(--font-display); font-weight: 700; font-size: 19px;
  padding: 0 26px; white-space: nowrap; display: flex; align-items: center; gap: 26px;
}
.marquee span::after { content: "✦"; color: var(--yellow); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- stats ---------- */
.stats-band {
  background: radial-gradient(720px 260px at 50% -60px, rgba(244, 143, 29, 0.12), transparent 70%), var(--ink);
  color: var(--cream);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat h3 { font-size: clamp(38px, 4.4vw, 58px); color: var(--yellow); }
.stat h3 .plus { color: var(--cream); }
.stat p { font-weight: 600; font-size: 15px; opacity: 0.85; margin-top: 2px; }

/* ---------- product cards ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 26px; }
.prod-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: var(--edge); position: relative;
  transition: transform 0.4s var(--ease-bounce), box-shadow 0.4s ease;
  display: flex; flex-direction: column;
}
.prod-card:hover { transform: translateY(-8px) rotate(-0.6deg); box-shadow: var(--shadow); }
.prod-media { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--cream-2); }
.prod-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.prod-card:hover .prod-media img { transform: scale(1.06); }
.prod-tag {
  position: absolute; top: 14px; left: 14px; background: var(--orange); color: var(--white);
  font-family: var(--font-accent); font-weight: 500; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
}
.prod-tag.red { background: var(--red); }
.prod-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.prod-body h3 { font-size: 21px; }
.prod-body .desc { font-size: 14.5px; color: var(--ink-soft); flex: 1; }
.prod-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.price { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--red); }
.price small { font-size: 13px; color: var(--ink-soft); font-family: var(--font-body); font-weight: 600; }
.add-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: var(--cream); font-family: var(--font-display);
  font-weight: 700; font-size: 15px; padding: 10px 20px; border-radius: 999px;
  transition: background 0.25s ease, transform 0.3s var(--ease-bounce);
}
.add-btn:hover { background: var(--red); transform: scale(1.05); }
.add-btn.added { background: var(--orange); }

/* clickable product cards */
.prod-link { display: block; }
.prod-peek {
  position: absolute; left: 50%; bottom: 14px; transform: translate(-50%, 10px);
  background: var(--ink); color: var(--cream); font-family: var(--font-display);
  font-weight: 700; font-size: 13.5px; padding: 8px 16px; border-radius: 999px;
  opacity: 0; transition: 0.3s var(--ease-bounce); white-space: nowrap; pointer-events: none;
}
.prod-card:hover .prod-peek { opacity: 1; transform: translate(-50%, 0); }
.prod-body h3 a:hover { color: var(--red); }

/* ---------- carousel ---------- */
.car-btns { display: flex; gap: 10px; }
.car-btn {
  width: 50px; height: 50px; border-radius: 50%; background: var(--white);
  box-shadow: var(--shadow-sm); font-size: 19px; font-weight: 700; color: var(--ink);
  transition: 0.25s var(--ease-bounce);
}
.car-btn:hover { background: var(--red); color: var(--white); transform: scale(1.08); }
.carousel-wrap { position: relative; }
.prod-track {
  display: flex; gap: 26px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 10px 4px 26px; margin: -10px -4px 0;
  scrollbar-width: none; cursor: grab;
}
.prod-track::-webkit-scrollbar { display: none; }
.prod-track.dragging { cursor: grabbing; scroll-snap-type: none; }
.prod-track .prod-card {
  flex: 0 0 clamp(240px, 24vw, 300px); scroll-snap-align: start;
}
.prod-track.dragging .prod-card { pointer-events: none; }
.car-progress {
  height: 5px; border-radius: 3px; background: var(--cream-2);
  margin-top: 6px; overflow: hidden;
}
.car-progress i { display: block; height: 100%; width: 18%; border-radius: 3px; background: var(--yellow); transition: width 0.15s linear; }

/* snacks band — warm, distinct from the RTC section */
.snack-band {
  background:
    radial-gradient(700px 400px at 8% 10%, rgba(244, 143, 29, 0.18), transparent 60%),
    radial-gradient(600px 380px at 95% 90%, rgba(170, 30, 35, 0.10), transparent 60%),
    var(--cream-2);
  border-top: 2.5px dashed rgba(170, 30, 35, 0.22);
  border-bottom: 2.5px dashed rgba(170, 30, 35, 0.22);
}
.snack-band .car-progress { background: rgba(170, 30, 35, 0.12); }
.snack-band .car-progress i { background: var(--red); }
.snack-band .car-btn:hover { background: var(--orange); }

/* ---------- product detail page ---------- */
.pd-hero { padding: 130px 0 60px; background: var(--cream); }
.pd-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(34px, 5vw, 70px); align-items: center; }
.pd-media { position: relative; display: flex; align-items: center; justify-content: center; padding: 30px; }
.pd-blob {
  position: absolute; inset: 0; border-radius: 44% 56% 58% 42% / 48% 44% 56% 52%;
  background: var(--pd, var(--red)); opacity: 0.14;
  animation: blob 12s ease-in-out infinite;
}
@keyframes blob {
  0%, 100% { border-radius: 44% 56% 58% 42% / 48% 44% 56% 52%; }
  50% { border-radius: 56% 44% 42% 58% / 44% 56% 48% 52%; }
}
.pd-media img {
  position: relative; width: min(420px, 82%); border-radius: 18px;
  filter: drop-shadow(0 26px 40px rgba(40, 26, 25, 0.28));
  transition: transform 0.5s var(--ease-bounce);
}
.pd-media:hover img { transform: scale(1.03) rotate(-1.4deg); }
.pd-media .prod-tag { top: 26px; left: 26px; position: absolute; }
.pd-crumb { font-family: var(--font-accent); font-weight: 500; font-size: 13.5px; color: var(--grey); margin-bottom: 14px; }
.pd-crumb a:hover { color: var(--red); }
.pd-info h1 { font-size: clamp(38px, 4.8vw, 60px); color: var(--pd, var(--ink)); }
.pd-unit { font-weight: 700; color: var(--ink-soft); font-size: 15px; margin: 6px 0 18px; }
.pd-long { color: var(--ink-soft); font-size: 17px; max-width: 560px; }
.pd-buy {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  margin: 28px 0 16px; padding: 18px 22px; background: var(--white);
  border-radius: 18px; box-shadow: var(--shadow-sm); width: fit-content;
}
.pd-price { font-family: var(--font-display); font-weight: 800; font-size: 30px; color: var(--red); }
.pd-qty button { width: 32px; height: 32px; font-size: 16px; }
.pd-qty span { font-size: 17px; min-width: 24px; }
.pd-meta { font-size: 13.5px; font-weight: 600; color: var(--ink-soft); }
.pd-pairs { margin-top: 14px; font-size: 15px; color: var(--ink-soft); }
.pd-pairs strong { color: var(--ink); }
.pd-steps {
  background: var(--cream-2); border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px); margin-top: 30px;
}
.pd-steps h3 { font-size: 24px; margin-bottom: 18px; }
.pd-steps ol { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.pd-steps li { counter-increment: step; font-weight: 600; color: var(--ink-soft); position: relative; padding-top: 44px; }
.pd-steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0;
  width: 34px; height: 34px; border-radius: 50%; background: var(--orange); color: var(--white);
  font-family: var(--font-display); font-weight: 700; display: flex; align-items: center; justify-content: center;
}
@media (max-width: 960px) {
  .pd-grid { grid-template-columns: 1fr; }
  .pd-hero { padding-top: 110px; }
}

/* filter chips */
.filter-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-chip {
  font-family: var(--font-display); font-weight: 700; font-size: 15.5px;
  padding: 10px 22px; border-radius: 999px; background: var(--white);
  box-shadow: var(--shadow-sm); color: var(--ink-soft);
  transition: 0.25s;
}
.filter-chip:hover { color: var(--red); transform: translateY(-2px); }
.filter-chip.active { background: var(--red); color: var(--white); }

/* ---------- split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.split-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media .sticker {
  position: absolute; bottom: 18px; right: 18px; width: 110px; height: 110px;
  background: var(--white); border-radius: 50%; padding: 12px; box-shadow: var(--shadow-sm);
  animation: wobble 6s ease-in-out infinite;
}
@keyframes wobble { 0%,100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
.split h2 { font-size: clamp(32px, 4vw, 48px); margin: 10px 0 18px; }
.split p { color: var(--ink-soft); margin-bottom: 16px; }
.check-list { margin: 22px 0 30px; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; font-weight: 600; }
.check-list .tick {
  flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--orange);
  color: var(--white); display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800; margin-top: 2px;
}

/* ---------- range cards ---------- */
.range-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.range-card {
  background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); border: var(--edge); display: flex; flex-direction: column;
  transition: transform 0.4s var(--ease-bounce), box-shadow 0.4s ease;
}
.range-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.range-media {
  aspect-ratio: 16 / 9; background: var(--cream-2);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.range-media img { transition: transform 0.5s ease; }
.range-media.alt img { width: 100%; height: 100%; object-fit: cover; }
.range-card:hover .range-media img { transform: scale(1.05) rotate(-1deg); }
.range-body { padding: 30px 32px 34px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.range-body h3 { font-size: clamp(23px, 2.4vw, 28px); }
.range-tag { font-family: var(--font-display); font-weight: 600; color: var(--orange); font-size: 17px; }
.range-body > p:not(.range-tag) { color: var(--ink-soft); font-size: 15.5px; flex: 1; }
.range-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.range-ctas .btn { font-size: 15px; padding: 12px 22px; }
@media (max-width: 960px) { .range-grid { grid-template-columns: 1fr; } }

/* ---------- kitchen scene (packshot) ---------- */
.kitchen-scene { aspect-ratio: 800 / 640; background: #2e4a63; }
.kitchen-scene .ks-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.split-media img.ks-pack {
  position: absolute; bottom: 6%; width: 36%; height: auto; object-fit: unset;
  filter: drop-shadow(0 22px 22px rgba(10, 22, 32, 0.45));
  transition: transform 0.5s var(--ease-bounce);
}
.split-media img.ks-pack.front { left: 21%; z-index: 3; }
.split-media img.ks-pack.back { left: 40%; bottom: 8%; width: 33%; z-index: 2; opacity: 0.96; }
.kitchen-scene:hover .ks-pack.front { transform: translateY(-8px) rotate(-2deg); }
.kitchen-scene:hover .ks-pack.back { transform: translateY(-4px) rotate(2deg); }
.ks-steam {
  position: absolute; left: 84%; bottom: 34%; width: 9px; height: 46px; z-index: 1;
  border-radius: 8px; background: rgba(255, 255, 255, 0.55); filter: blur(4px);
  animation: steam 3.2s ease-in-out infinite;
}
.ks-steam.s2 { left: 80%; height: 36px; animation-delay: 1.1s; }
.ks-steam.s3 { left: 88%; height: 40px; animation-delay: 2s; }
@keyframes steam {
  0% { transform: translateY(8px) scaleY(0.6); opacity: 0; }
  40% { opacity: 0.8; }
  100% { transform: translateY(-46px) scaleY(1.25) translateX(-6px); opacity: 0; }
}

/* ---------- client wall ---------- */
.client-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.client-card {
  background: var(--white); border-radius: var(--radius); padding: 26px 22px;
  text-align: center; box-shadow: var(--shadow-sm); border: var(--edge);
  font-family: var(--font-display); font-weight: 700; font-size: 19px;
  transition: transform 0.3s var(--ease-bounce);
  display: flex; flex-direction: column; gap: 4px; justify-content: center; min-height: 110px;
}
.client-card:hover { transform: translateY(-5px) rotate(-1deg); }
.client-card small { font-family: var(--font-body); font-weight: 600; font-size: 13px; color: var(--ink-soft); }

/* ---------- capability grid ---------- */
.cap-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }
.cap-card {
  background: var(--white); border-radius: var(--radius); padding: 30px 26px;
  box-shadow: var(--shadow-sm); border: var(--edge); border-top: none;
  transition: transform 0.35s var(--ease-bounce), box-shadow 0.3s;
  border-top: 5px solid var(--orange);
}
.cap-card:nth-child(even) { border-top-color: var(--red); }
.cap-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.cap-card .cap-icon {
  width: 54px; height: 54px; border-radius: 16px; background: var(--cream-2);
  display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 18px;
}
.cap-card h3 { font-size: 20px; margin-bottom: 8px; }
.cap-card p { font-size: 15px; color: var(--ink-soft); }

/* ---------- timeline ---------- */
.timeline { position: relative; max-width: 760px; margin: 0 auto; padding-left: 40px; }
.timeline::before {
  content: ""; position: absolute; left: 10px; top: 6px; bottom: 6px; width: 3px;
  border-radius: 2px; background: linear-gradient(var(--orange), var(--red));
}
.tl-item { position: relative; padding-bottom: 46px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -37px; top: 8px; width: 17px; height: 17px;
  border-radius: 50%; background: var(--cream); border: 4px solid var(--red);
}
.tl-item .year { font-family: var(--font-display); font-weight: 700; color: var(--red); font-size: 15px; letter-spacing: 0.1em; }
.tl-item h3 { font-size: 24px; margin: 4px 0 8px; }
.tl-item p { color: var(--ink-soft); }

/* ---------- quote ---------- */
.quote-band { background: var(--cream-2); }
.big-quote { max-width: 820px; margin: 0 auto; text-align: center; }
.big-quote blockquote { font-family: var(--font-display); font-weight: 600; font-size: clamp(24px, 3.2vw, 36px); line-height: 1.35; }
.big-quote blockquote::before { content: "“"; color: var(--yellow); font-size: 1.6em; line-height: 0; vertical-align: -0.25em; margin-right: 6px; }
.big-quote cite { display: block; margin-top: 22px; font-style: normal; font-weight: 700; color: var(--red); }
.big-quote cite small { display: block; color: var(--ink-soft); font-weight: 600; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--red) 0%, var(--red-deep) 100%);
  color: var(--cream); border-radius: var(--radius-lg);
  padding: clamp(50px, 7vw, 90px) clamp(30px, 6vw, 80px);
  display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 30px; align-items: center;
}
.cta-band h2 { font-size: clamp(32px, 4.4vw, 52px); margin-bottom: 14px; }
.cta-band p { opacity: 0.9; max-width: 520px; margin-bottom: 30px; }
.cta-band .cta-mascot { max-width: 260px; justify-self: center; filter: drop-shadow(0 20px 30px rgba(0,0,0,0.3)); animation: float 6s ease-in-out infinite; }
.cta-band::before {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  border: 2.5px dashed rgba(255, 248, 236, 0.25); right: -100px; top: -160px;
  animation: spin 50s linear infinite;
}

/* ---------- forms ---------- */
.form-card { background: var(--white); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow); border: var(--edge); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-family: var(--font-accent); font-weight: 500; font-size: 13.5px; letter-spacing: 0.04em; margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border-radius: 14px; border: 2px solid var(--cream-2);
  background: var(--cream); font-family: inherit; font-size: 15.5px; color: var(--ink);
  transition: border-color 0.25s; outline: none; resize: vertical;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--yellow); background: var(--white); }

/* ---------- contact cards ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.contact-card { background: var(--white); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-sm); border: var(--edge); }
.contact-card h3 { font-size: 20px; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.contact-card p, .contact-card a { color: var(--ink-soft); font-weight: 600; font-size: 15.5px; }
.contact-card a:hover { color: var(--red); }
.contact-card .big-link { display: block; margin-top: 4px; }

/* ---------- cart drawer ---------- */
.drawer-veil {
  position: fixed; inset: 0; background: rgba(40, 26, 25, 0.5); z-index: 200;
  opacity: 0; pointer-events: none; transition: opacity 0.35s;
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
}
.drawer-veil.open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 94vw); z-index: 201;
  background: var(--cream); box-shadow: -20px 0 60px rgba(0,0,0,0.25);
  transform: translateX(105%); transition: transform 0.45s var(--ease-bounce);
  display: flex; flex-direction: column;
}
.cart-drawer.open { transform: none; }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 24px 26px; border-bottom: 2px dashed var(--butter); }
.cart-head h3 { font-size: 24px; }
.cart-close { width: 40px; height: 40px; border-radius: 50%; background: var(--white); box-shadow: var(--shadow-sm); font-size: 18px; transition: transform 0.3s; }
.cart-close:hover { transform: rotate(90deg); }
.cart-items { flex: 1; overflow-y: auto; padding: 20px 26px; display: flex; flex-direction: column; gap: 16px; }
.cart-empty { text-align: center; color: var(--ink-soft); font-weight: 600; margin-top: 60px; }
.cart-item { display: flex; gap: 14px; background: var(--white); border-radius: 16px; padding: 12px; box-shadow: var(--shadow-sm); align-items: center; }
.cart-item img { width: 62px; height: 62px; border-radius: 12px; object-fit: cover; }
.cart-item .ci-info { flex: 1; }
.cart-item h4 { font-family: var(--font-display); font-size: 15.5px; line-height: 1.2; }
.cart-item .ci-price { font-size: 13.5px; color: var(--ink-soft); font-weight: 700; }
.qty-ctrl { display: flex; align-items: center; gap: 10px; }
.qty-ctrl button {
  width: 26px; height: 26px; border-radius: 50%; background: var(--cream-2);
  font-weight: 800; font-size: 14px; transition: 0.2s;
}
.qty-ctrl button:hover { background: var(--orange); color: var(--white); }
.qty-ctrl span { font-weight: 700; min-width: 18px; text-align: center; }
.cart-foot { padding: 22px 26px; border-top: 2px dashed var(--butter); }
.cart-total { display: flex; justify-content: space-between; font-family: var(--font-display); font-weight: 700; font-size: 21px; margin-bottom: 16px; }
.cart-foot .btn { width: 100%; }
.cart-note { font-size: 12.5px; color: var(--ink-soft); text-align: center; margin-top: 12px; font-weight: 600; }

/* toast */
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translate(-50%, 120px); z-index: 300;
  background: var(--ink); color: var(--cream); font-weight: 700; font-size: 15px;
  padding: 14px 26px; border-radius: 999px; box-shadow: var(--shadow);
  transition: transform 0.45s var(--ease-bounce);
}
.toast.show { transform: translate(-50%, 0); }

/* ---------- page hero (inner pages) ---------- */
.page-hero {
  padding: 170px 0 70px; position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 90% 0%, rgba(244, 143, 29, 0.14), transparent 60%),
    var(--cream);
}
.page-hero h1 { font-size: clamp(40px, 5.6vw, 72px); margin-top: 12px; max-width: 800px; }
.page-hero .lede { font-size: 19px; color: var(--ink-soft); max-width: 620px; margin-top: 18px; font-weight: 500; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 248, 236, 0.85); margin-top: clamp(70px, 9vw, 120px); }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 70px 0 50px; }
.footer-main .f-brand img { height: 170px; margin-bottom: 20px; }
.footer-main p { font-size: 14.5px; line-height: 1.7; }
.footer-main h4 {
  font-family: var(--font-accent); font-weight: 500; color: var(--cream);
  font-size: 12.5px; letter-spacing: 0.18em; text-transform: uppercase;
  margin-bottom: 18px; opacity: 0.85;
}
.footer-main ul { display: grid; gap: 10px; font-size: 14.5px; font-weight: 600; }
.footer-main ul a:hover { color: var(--orange); }
.footer-bar { border-top: 1px solid rgba(255, 248, 236, 0.15); padding: 22px 0; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 13.5px; color: var(--stone); }
.socials { display: flex; gap: 12px; margin-top: 16px; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 248, 236, 0.1);
  display: flex; align-items: center; justify-content: center; transition: 0.25s;
}
.socials a:hover { background: var(--orange); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; fill: var(--cream); }

/* mobile lead bar (b2b) */
.lead-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  display: none; gap: 1px; background: var(--ink);
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -8px 24px -10px rgba(40, 26, 25, 0.4);
}
.lead-bar a {
  flex: 1; text-align: center; padding: 16px 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  color: var(--white);
}
.lead-bar .lb-wa { background: #1faa52; }
.lead-bar .lb-call { background: var(--red); }
@media (max-width: 860px) {
  .lead-bar { display: flex; }
  .lead-bar ~ .wa-float, body:has(.lead-bar) .wa-float { display: none; }
  /* keep page content clear of the fixed bar */
  body:has(.lead-bar) .site-footer { padding-bottom: 72px; }
}

/* WhatsApp float */
.wa-float {
  position: fixed; bottom: 26px; right: 26px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.55);
  transition: transform 0.3s var(--ease-bounce);
}
.wa-float:hover { transform: scale(1.1) rotate(-6deg); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .split, .cta-band { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; min-height: auto; }
  .hero-visual { order: -1; }
  .mascot-stage { width: min(340px, 80vw); margin: 0 auto; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .split-media.mob-after { order: 2; }
  .nav-links {
    position: fixed; inset: 0; background: var(--cream); flex-direction: column;
    justify-content: center; gap: 30px; font-size: 24px; z-index: 99;
    clip-path: circle(0 at calc(100% - 46px) 46px); transition: clip-path 0.55s ease;
  }
  .nav-links.open { clip-path: circle(150% at calc(100% - 46px) 46px); }
  .hamburger { display: flex; z-index: 100; }
  .nav-cta .btn { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-band .cta-mascot { max-width: 180px; }
}
@media (max-width: 520px) {
  .stats-grid { gap: 20px; }
  .footer-main { grid-template-columns: 1fr; gap: 30px; }
}

/* ---------- trusted-by strip ---------- */
.trust-strip { background: var(--cream); padding: 34px 0; border-bottom: 1px solid rgba(40,26,25,0.07); }
.ts-inner { display: flex; align-items: center; gap: clamp(24px, 4vw, 54px); flex-wrap: wrap; justify-content: center; }
.ts-label { font-family: var(--font-accent); font-weight: 500; font-size: 12.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--grey); flex: none; }
.ts-logos { display: flex; align-items: center; gap: clamp(26px, 4.5vw, 60px); flex-wrap: wrap; justify-content: center; }
.ts-logos span {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(19px, 2vw, 25px);
  color: var(--ink); opacity: 0.45; filter: grayscale(1);
  transition: 0.3s; cursor: default; white-space: nowrap;
}
.ts-logos span:hover { opacity: 1; filter: none; color: var(--red); transform: translateY(-2px); }
.ts-logos .ts-more { font-family: var(--font-body); font-weight: 700; font-size: 14px; color: var(--ink-soft); opacity: 0.8; }

/* ---------- steam (reusable) ---------- */
.fx-steam { position: absolute; top: 6%; left: 50%; width: 60px; height: 60px; transform: translateX(-50%); z-index: 2; pointer-events: none; }
.fx-steam i {
  position: absolute; bottom: 0; width: 8px; height: 42px; border-radius: 8px;
  background: rgba(120, 88, 76, 0.30); filter: blur(4px);
  animation: steam 3.4s ease-in-out infinite;
}
.fx-steam i:nth-child(1) { left: 8px; }
.fx-steam i:nth-child(2) { left: 26px; height: 34px; animation-delay: 1.2s; }
.fx-steam i:nth-child(3) { left: 44px; height: 38px; animation-delay: 2.1s; }
.fx-steam.white i { background: rgba(255, 248, 236, 0.55); }

/* ---------- Bhima's Express vending machine ---------- */
.vending-visual { position: relative; display: flex; justify-content: center; }
.vending-visual svg { width: min(420px, 90%); filter: drop-shadow(0 24px 36px rgba(40, 26, 25, 0.18)); }
.vm-mascot {
  position: absolute; width: 120px; right: 2%; bottom: -6px;
  animation: float 5s ease-in-out infinite;
}
.vm-btn { transform-box: fill-box; transform-origin: center; }
.vm-shelf-pack { cursor: pointer; transition: filter 0.2s ease; }
.vm-shelf-pack:hover { filter: brightness(1.12) drop-shadow(0 0 6px rgba(255, 248, 236, 0.5)); }
@media (max-width: 960px) {
  .vm-mascot { width: 90px; }
  /* on phones, show the machine before the pitch & buttons */
  .vending-visual { order: -1; margin-bottom: 26px; }
}

/* ---------- range-card illustrated scenes ---------- */
.range-media.scene { position: relative; overflow: hidden; }
.range-media.scene svg { width: 100%; height: 100%; display: block; }
.range-card:hover .range-media.scene svg { transform: none; }
.scene-label {
  position: absolute; background: var(--red); color: var(--cream);
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  padding: 9px 18px; border-radius: 14px; white-space: nowrap;
  box-shadow: 0 8px 18px -6px rgba(40, 26, 25, 0.45);
  outline: 2px dashed rgba(255, 248, 236, 0.55); outline-offset: -6px;
}
.rtc-scene .scene-label { top: 16px; right: 16px; transform: rotate(2deg); }
.mix-scene .scene-label { top: 16px; left: 16px; transform: rotate(-2deg); }
.rtc-scene .steam-tawa { top: 10%; left: 61%; width: 80px; height: 76px; }
.rtc-scene .steam-tawa i {
  width: 11px; height: 54px;
  background: rgba(255, 255, 255, 0.75); filter: blur(3px);
}
.rtc-scene .steam-tawa i:nth-child(2) { left: 34px; height: 42px; }
.rtc-scene .steam-tawa i:nth-child(3) { left: 60px; height: 48px; }
.rtc-scene .rtc-item { opacity: 0; }
.mix-scene .steam-coffee { top: 3%; left: auto; right: 15%; transform: scale(0.6); transform-origin: top center; }
.mix-scene .mix-badge { animation: spin 26s linear infinite; transform-box: fill-box; transform-origin: center; }
.mix-scene .mix-pile { animation: pile-shift 6s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 100%; }
@keyframes pile-shift { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(-1.6deg) translateY(-2px); } }

/* ---------- tawa sizzle ---------- */
@keyframes sizzle {
  0%, 100% { rotate: 0deg; translate: 0 0; }
  18% { rotate: -1.7deg; translate: -1px 1px; }
  36% { rotate: 1.5deg; translate: 1px -1px; }
  55% { rotate: -1.1deg; translate: 0 1px; }
  75% { rotate: 1.8deg; translate: -1px 0; }
}
.kitchen-scene:hover .ks-pack.front {
  animation: sizzle 0.42s ease-in-out infinite;
}
/* steam works harder while the tawa sizzles */
.pd-media:hover .fx-steam i,
.kitchen-scene:hover .ks-steam { animation-duration: 1.5s; }

/* ---------- side scroll route: parotta travels the page with you ---------- */
.pd-secure { font-size: 13px; font-weight: 700; color: var(--ink-soft); }
.scroll-route {
  position: fixed; right: 26px; top: 50%; transform: translateY(-50%);
  height: 42vh; width: 44px; z-index: 60; pointer-events: none;
  display: flex; justify-content: center;
  opacity: 0; transition: opacity 0.5s ease;
}
.scroll-route.show { opacity: 1; }
.scroll-route::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%;
  border-left: 2.5px dashed rgba(170, 30, 35, 0.28);
}
.route-dot {
  position: absolute; top: 0; left: 50%; width: 34px; height: 34px;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 4px 8px rgba(40, 26, 25, 0.25));
  transition: top 0.18s ease-out;
}
.route-dot svg { width: 100%; height: 100%; animation: spin 14s linear infinite; }
.route-steam {
  position: absolute; left: 50%; top: -20px; width: 26px; height: 22px;
  transform: translateX(-50%); opacity: 0; transition: opacity 0.4s ease;
}
.route-steam i {
  position: absolute; bottom: 0; width: 4px; height: 15px; border-radius: 4px;
  background: rgba(170, 30, 35, 0.4); filter: blur(1.5px);
  animation: steam 1.6s ease-in-out infinite;
}
.route-steam i:nth-child(1) { left: 4px; }
.route-steam i:nth-child(2) { left: 12px; height: 11px; animation-delay: 0.5s; }
.route-steam i:nth-child(3) { left: 20px; height: 13px; animation-delay: 1s; }
.scroll-route.moving .route-steam { opacity: 1; }
@media (max-width: 1100px) { .scroll-route { display: none; } }

/* ---------- snack crumbs ---------- */
.snack-band { position: relative; overflow: hidden; }
.crumb {
  position: absolute; border-radius: 50%; pointer-events: none; opacity: 0.5;
  animation: float 7s ease-in-out infinite;
}
.crumb.c1 { width: 14px; height: 14px; background: var(--orange); top: 12%; left: 6%; }
.crumb.c2 { width: 9px; height: 9px; background: var(--red); top: 30%; right: 8%; animation-delay: 1.4s; }
.crumb.c3 { width: 18px; height: 18px; background: var(--butter); bottom: 18%; left: 12%; animation-delay: 2.5s; animation-duration: 9s; }
.crumb.c4 { width: 7px; height: 7px; background: var(--red); top: 14%; left: 46%; animation-delay: 0.8s; }
.crumb.c5 { width: 12px; height: 12px; background: var(--orange); bottom: 12%; right: 16%; animation-delay: 3.4s; }

/* steam rising off a button (hero CTA) — short wisps hugging the top edge */
.btn-hot { position: relative; }
.btn-steam {
  top: auto; bottom: calc(100% - 6px); left: 50%;
  width: 40px; height: 24px; transform: translateX(-50%);
}
.btn-steam i {
  width: 5px; height: 14px; bottom: 0;
  background: rgba(120, 88, 76, 0.45); filter: blur(1.8px);
  animation: btn-steam 2.4s ease-in-out infinite;
}
.btn-steam i:nth-child(1) { left: 4px; }
.btn-steam i:nth-child(2) { left: 17px; height: 10px; animation-delay: 0.8s; }
.btn-steam i:nth-child(3) { left: 30px; height: 12px; animation-delay: 1.6s; }
@keyframes btn-steam {
  0% { transform: translateY(5px) scaleY(0.4); opacity: 0; }
  45% { opacity: 0.85; }
  100% { transform: translateY(-10px) scaleY(1.1); opacity: 0; }
}

/* steam rising off a word (e.g. "hot meal") */
.steam-word { position: relative; display: inline-block; }
.steam-word .fx-steam {
  top: auto; bottom: 92%; left: 50%; width: 70px; height: 44px;
}
.steam-word .fx-steam i { height: 30px; width: 7px; }

/* ---------- motion layer (effects.js) ---------- */
.fx-word { display: inline-block; white-space: nowrap; }
.fx-char { display: inline-block; will-change: transform; }

.page-wipe { position: fixed; inset: 0; pointer-events: none; z-index: 400; }
.wipe-panel { position: absolute; inset: -2% 0; transform: scaleY(0); }
.wipe-panel.p1 { background: var(--red); }
.wipe-panel.p2 { background: var(--orange); }
/* leaving: panels grow from the bottom */
body.page-out .wipe-panel { transform: scaleY(1); transform-origin: bottom; }
body.page-out .wipe-panel.p2 { transition: transform 0.42s cubic-bezier(0.76, 0, 0.24, 1); }
body.page-out .wipe-panel.p1 { transition: transform 0.42s 0.09s cubic-bezier(0.76, 0, 0.24, 1); }
/* arriving: panels start covering, peel upward */
.page-wipe.load .wipe-panel { transform: scaleY(1); transform-origin: top; }
.page-wipe.load.reveal .wipe-panel.p1 { transform: scaleY(0); transition: transform 0.5s 0.05s cubic-bezier(0.76, 0, 0.24, 1); }
.page-wipe.load.reveal .wipe-panel.p2 { transform: scaleY(0); transition: transform 0.5s 0.16s cubic-bezier(0.76, 0, 0.24, 1); }

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