/* ============================================================
   USHI — Egyptian Instant Noodles
   ------------------------------------------------------------
   COLOUR SYSTEM (sampled from the real carton — not decorative,
   every colour has exactly one job):
     · Canvas   — warm cream  #FFF8F0  (page background, calm base)
     · Action   — USHI red    #DA291C  (logo, CTAs, links, marquee)
     · Energy   — carton lime #8CC63E  (highlights, accents, facts)
     · Depth    — forest green#17421F  (dark sections, text anchors)
     · Surface  — logo cream  #FBF3DC  (cards, labels, chips)
   ============================================================ */

:root {
  --red: #DA291C;
  --red-dark: #A8160C;
  --red-glow: rgba(218, 41, 28, 0.30);
  --lime: #8CC63E;
  --lime-light: #B5D856;
  --lime-dark: #6FA52E;
  --green: #1F5B2D;
  --green-dark: #17421F;
  --green-soft: #E9F4DC;
  --canvas: #FFF8F0;          /* the original page background */
  --cream: #FBF3DC;           /* logo-lettering cream, used on surfaces */
  --ink: #231F1C;
  --ink-soft: #5C554E;
  --white: #FFFFFF;
  --radius: 22px;
  --shadow-sm: 0 4px 14px rgba(23, 66, 31, 0.08);
  --shadow-md: 0 14px 34px rgba(23, 66, 31, 0.12);
  --shadow-lg: 0 30px 60px rgba(23, 66, 31, 0.16);
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--canvas);
  line-height: 1.6;
  overflow-x: hidden;
}

/* film-grain overlay — makes flat colour feel printed, like packaging */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

.container { width: min(1140px, 92%); margin-inline: auto; }

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h2 em {
  font-style: normal;
  color: var(--red);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.95rem 1.9rem;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.btn--red {
  background: var(--red);
  color: var(--cream);
  box-shadow: 0 8px 20px var(--red-glow);
}
.btn--red:hover { background: #C21F12; transform: translateY(-2px); }

/* chunky = pressable 3D edge, like a real button */
.btn--chunky {
  box-shadow: 0 6px 0 var(--red-dark), 0 18px 30px var(--red-glow);
}
.btn--chunky:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 var(--red-dark), 0 22px 34px var(--red-glow);
}
.btn--chunky:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 var(--red-dark), 0 8px 16px var(--red-glow);
}

.btn--ghost {
  background: transparent;
  color: var(--green-dark);
  border-color: rgba(23, 66, 31, 0.28);
}
.btn--ghost:hover { border-color: var(--green-dark); transform: translateY(-2px); }

.btn--cream {
  background: var(--cream);
  color: var(--green-dark);
  box-shadow: 0 4px 0 rgba(23, 66, 31, 0.35);
}
.btn--cream:hover { transform: translateY(-2px); }
.btn--cream:active { transform: translateY(2px); box-shadow: 0 1px 0 rgba(23, 66, 31, 0.35); }

.btn--small { padding: 0.6rem 1.3rem; font-size: 0.9rem; }
.btn--full { width: 100%; }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--green);
  margin-bottom: 1rem;
}
.eyebrow__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); }
.eyebrow--light { color: var(--lime-light); }
.eyebrow--dark { color: var(--green-dark); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 248, 240, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(23, 66, 31, 0.07);
  transition: box-shadow 0.25s ease;
}
.nav.is-scrolled { box-shadow: 0 10px 30px rgba(23, 66, 31, 0.10); }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.85rem;
}

.nav__logo {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  text-decoration: none;
}
.nav__logo-mark {
  align-self: center;
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 14px 14px 14px 5px; /* speech-bubble nod to the pack logo */
  background: var(--red);
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  box-shadow: 0 4px 0 var(--red-dark), 0 8px 18px var(--red-glow);
}
.nav__logo-word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 0.06em;
  color: var(--red);
}
.nav__logo-ar {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--lime-dark);
}

.nav__links { display: flex; align-items: center; gap: 1.8rem; }
.nav__links a:not(.btn) {
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.15s ease;
}
.nav__links a:not(.btn):hover { color: var(--red); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav__burger span {
  width: 24px; height: 3px;
  border-radius: 2px;
  background: var(--ink);
}

/* ============================================================
   HERO — cream canvas, 3D carton stage
   ============================================================ */
.hero {
  position: relative;
  padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(4rem, 9vw, 7rem);
  overflow: hidden;
}

.hero__watermark {
  position: absolute;
  top: 0.02em;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(8rem, 24vw, 22rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px rgba(140, 198, 62, 0.22);
  letter-spacing: 0.04em;
  user-select: none;
  pointer-events: none;
  z-index: 0;
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}
.hero__glow--lime {
  width: 520px; height: 520px;
  background: var(--lime);
  opacity: 0.16;
  top: -160px; right: -140px;
}
.hero__glow--red {
  width: 420px; height: 420px;
  background: var(--red);
  opacity: 0.08;
  bottom: -200px; left: -140px;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero__title {
  font-size: clamp(2.5rem, 5.4vw, 4.2rem);
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 1.4rem;
}
.hero__title-pop {
  color: var(--red);
  position: relative;
  display: inline-block;
}
.hero__title-pop::after {
  content: "";
  position: absolute;
  left: -2%; right: -2%; bottom: 0.05em;
  height: 0.22em;
  background: rgba(140, 198, 62, 0.4);
  z-index: -1;
  border-radius: 6px;
  transform: skewX(-8deg);
}

.hero__sub {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 47ch;
  margin-bottom: 2.2rem;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero__ticks {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  margin-top: 2rem;
}
.hero__ticks li {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green);
}
.hero__ticks li::before {
  content: "✓";
  margin-right: 0.45rem;
  color: var(--white);
  background: var(--lime);
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  width: 1.25em; height: 1.25em;
  font-size: 0.8em;
}

/* ---------- 3D stage ---------- */
.hero__stage {
  perspective: 1200px;
  display: grid;
  place-items: center;
  min-height: 420px;
}

.scene {
  --cw: 300px;  /* carton width  */
  --ch: 205px;  /* carton height */
  --cd: 150px;  /* carton depth  */
  position: relative;
  width: var(--cw);
  height: var(--ch);
  transform-style: preserve-3d;
  transform: rotateX(var(--ty, 0deg)) rotateY(var(--tx, 0deg));
  transition: transform 0.25s ease-out;
  /* grab affordance; pan-y keeps vertical page scrolling working on touch
     while horizontal drags spin the carton */
  cursor: grab;
  touch-action: pan-y;
}
.scene.is-grabbing { cursor: grabbing; }

/* The idle spin and the drag both live in main.js and write .carton's
   transform directly — a CSS animation here would fight the drag. */
.carton {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(-10deg) rotateY(0deg); /* pre-JS starting pose */
  will-change: transform;
}

.carton__face {
  position: absolute;
  left: 50%; top: 50%;
  width: var(--cw);
  height: var(--ch);
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 1px solid rgba(23, 66, 31, 0.25);
  background:
    linear-gradient(150deg, var(--lime-light) 0%, var(--lime) 55%, var(--lime-dark) 100%);
  box-shadow: inset 0 0 40px rgba(23, 66, 31, 0.12);
}

.carton__face--front { transform: translate(-50%, -50%) translateZ(calc(var(--cd) / 2)); }
.carton__face--back  { transform: translate(-50%, -50%) rotateY(180deg) translateZ(calc(var(--cd) / 2)); }
.carton__face--right {
  width: var(--cd);
  transform: translate(-50%, -50%) rotateY(90deg) translateZ(calc(var(--cw) / 2));
  background: linear-gradient(150deg, var(--lime) 0%, var(--lime-dark) 100%);
}
.carton__face--left {
  width: var(--cd);
  transform: translate(-50%, -50%) rotateY(-90deg) translateZ(calc(var(--cw) / 2));
  background: linear-gradient(150deg, var(--lime) 0%, var(--lime-dark) 100%);
}
.carton__face--top {
  height: var(--cd);
  transform: translate(-50%, -50%) rotateX(90deg) translateZ(calc(var(--ch) / 2));
  background: var(--lime);
}
.carton__face--bottom {
  height: var(--cd);
  transform: translate(-50%, -50%) rotateX(-90deg) translateZ(calc(var(--ch) / 2));
  background: var(--lime-dark);
}

/* carton artwork */
.carton__bubble {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.6rem;
  letter-spacing: 0.03em;
  color: var(--cream);
  background: var(--red);
  padding: 0.05em 0.45em 0.12em;
  border-radius: 0.5em 0.5em 0.5em 0.15em;
  box-shadow: 0 5px 0 var(--red-dark), 0 10px 24px rgba(23, 66, 31, 0.25);
  transform: rotate(-3deg);
}
.carton__bubble--sm { font-size: 1.6rem; }
.carton__ar {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--cream);
  text-shadow: 0 1px 0 rgba(23, 66, 31, 0.4);
}
.carton__line {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  color: var(--green-dark);
}
.carton__flavour {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--green-dark);
  background: var(--cream);
  padding: 0.2rem 0.8rem;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(23, 66, 31, 0.2);
}
.carton__flame {
  position: absolute;
  top: 10px; left: 12px;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--cream);
  background: var(--green-dark);
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
}
.carton__barcode {
  display: flex;
  gap: 3px;
  margin-top: 0.4rem;
}
.carton__barcode i {
  width: 3px; height: 26px;
  background: var(--green-dark);
  opacity: 0.8;
}
.carton__barcode i:nth-child(2n) { height: 20px; width: 2px; }
.carton__barcode i:nth-child(3n) { width: 5px; }
/* Vertical text on the carton's side panels. The face centres it with
   flex, but that only works while the text fits on one line: at 0.7rem/0.3em
   "USHI • INSTANT NOODLES" ran 225px against a 205px face, so it shrank and
   wrapped to two ragged top-aligned lines that read as off-centre.
   Sizing off --ch keeps it to a single line at every breakpoint (--ch drops
   to 152px then 132px), and flex-shrink: 0 stops it being squeezed again. */
.carton__side-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: calc(var(--ch) * 0.048);
  letter-spacing: 0.22em;
  line-height: 1;
  color: var(--cream);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  white-space: nowrap;
  flex-shrink: 0;
  text-align: center;
}
.carton__tape {
  width: 78%;
  height: 0;
  border-top: 3px dashed rgba(23, 66, 31, 0.35);
}

/* floating chips at different depths */
.chip {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--green-dark);
  background: var(--cream);
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  box-shadow: 0 3px 0 rgba(23, 66, 31, 0.18), 0 16px 28px rgba(23, 66, 31, 0.18);
  white-space: nowrap;
  animation: chip-float 4.5s ease-in-out infinite;
}
.chip--1 { --z: 130px; top: -14%; right: -16%; }
.chip--2 { --z: 170px; bottom: -8%; left: -18%; animation-delay: 1.2s; }
.chip--3 { --z: 100px; top: 46%; right: -30%; animation-delay: 2.3s; }

@keyframes chip-float {
  0%, 100% { transform: translateZ(var(--z, 100px)) translateY(0); }
  50%      { transform: translateZ(var(--z, 100px)) translateY(-12px); }
}

.carton__shadow {
  position: absolute;
  left: 50%;
  bottom: calc(-1 * var(--cd) / 2 - 44px);
  width: 120%;
  height: 44px;
  transform: translateX(-50%) rotateX(90deg) translateZ(calc(-1 * var(--ch) / 2 - 20px));
  background: radial-gradient(ellipse at center, rgba(23, 66, 31, 0.35), transparent 65%);
  filter: blur(8px);
}

/* ============================================================
   RIBBONS — crossed 3D marquee band
   ============================================================ */
.ribbons {
  position: relative;
  padding-block: 1.6rem;
}
.ribbon {
  padding-block: 0.9rem;
  overflow: hidden;
}
.ribbon--lime {
  position: absolute;
  left: -2%; right: -2%;
  top: 50%;
  height: 3.1rem;
  transform: translateY(-50%) rotate(1.4deg);
  background: var(--lime);
  box-shadow: 0 12px 24px rgba(23, 66, 31, 0.12);
}
.ribbon--red {
  position: relative;
  transform: rotate(-1.6deg) scale(1.02);
  background: var(--red);
  color: var(--cream);
  box-shadow: 0 16px 34px var(--red-glow);
}
.ribbon__track {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  white-space: nowrap;
  width: max-content;
  animation: marquee 26s linear infinite;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ribbon__track i { font-style: normal; color: var(--lime-light); font-size: 0.8rem; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-33.333%); }
}

/* ============================================================
   SECTIONS (shared)
   ============================================================ */
.section { padding-block: clamp(4rem, 9vw, 7rem); }

.section__head { max-width: 660px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__sub { color: var(--ink-soft); font-size: 1.08rem; margin-top: 1rem; }
.section__head--light h2 { color: var(--cream); }

/* ============================================================
   PRODUCTS — tilt cards with depth
   ============================================================ */
.products { padding-top: clamp(3rem, 7vw, 5rem); }

.products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.7rem;
}

/* JS drives --rx / --ry / glare vars on .tilt elements */
.tilt {
  transform: perspective(950px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  transition: transform 0.18s ease-out, box-shadow 0.25s ease;
  position: relative;
}
.tilt::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%),
              rgba(255, 255, 255, 0.32), transparent 62%);
  opacity: var(--glare, 0);
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 3;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow-md);
}
.product-card:hover { box-shadow: var(--shadow-lg); }

.product-card__art {
  position: relative;
  display: grid;
  place-items: center;
  background: var(--cream);
  border-radius: 15px;
  aspect-ratio: 4 / 3;
  transform-style: preserve-3d;
}

/* Pack photos are portrait (3:4 – 4:5) and ship with their own warm
   off-white backdrop, so the art box matches that tone and uses `contain`
   — `cover` would crop the top and bottom seals off the pack. */
.product-card__art--photo {
  background: #FCF5EC;
  aspect-ratio: 4 / 5;
}

/* Out of flow so the art box height comes purely from its aspect-ratio.
   In flow, a pack taller than 4:5 (the 3:4 ones) grows the box past the
   ratio and pushes that card's title/description down out of line. */
.product-card__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 15px;
  transition: transform 0.35s ease;
}
.product-card:hover .product-card__photo { transform: scale(1.03); }

.product-card__badge {
  position: absolute;
  top: 10px; right: 10px;
  background: var(--white);
  border: 1px dashed rgba(23, 66, 31, 0.3);
  color: var(--ink-soft);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  transform: translateZ(55px);
  z-index: 2;
}

/* stylised pouch placeholder — floats above the card in 3D */
.pack {
  width: 60%;
  aspect-ratio: 3 / 4;
  background: linear-gradient(160deg, var(--pack, var(--red)) 0%, var(--pack-edge, var(--red-dark)) 130%);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  color: var(--cream);
  box-shadow:
    0 3px 0 var(--pack-edge, var(--red-dark)),
    0 22px 34px rgba(23, 66, 31, 0.28);
  transform: translateZ(42px) rotate(-4deg);
  transition: transform 0.25s ease;
}
.product-card:hover .pack { transform: translateZ(58px) rotate(0deg) scale(1.05); }
.pack span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 0 rgba(23, 66, 31, 0.25);
}
.pack em {
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--cream);
  color: var(--green-dark);
  padding: 0.18rem 0.7rem;
  border-radius: 999px;
}

.product-card__body { padding-top: 1.1rem; }
.product-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.35rem;
}
.product-card h3 { font-size: 1.2rem; }
.product-card p { color: var(--ink-soft); font-size: 0.95rem; }

.heat {
  font-size: 0.68rem;
  font-weight: 700;
  white-space: nowrap;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
}
.heat--1 { background: var(--green-soft); color: var(--green); }
.heat--2 { background: #FDEBD2; color: #B4690E; }
.heat--3 { background: #FBE3E1; color: var(--red-dark); }

/* Three flavours fill row one, so the CTA runs full width beneath them
   rather than sitting alone in a third of a row. (Reset at 2 columns,
   where 3 flavours + CTA already tile evenly.) */
.product-card--cta {
  grid-column: 1 / -1;
  background:
    radial-gradient(120% 140% at 85% -10%, rgba(140, 198, 62, 0.35), transparent 55%),
    linear-gradient(150deg, var(--green) 0%, var(--green-dark) 100%);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem 1.6rem;
}
.product-card--cta h3 { color: var(--cream); }
.product-card--cta p { color: rgba(251, 243, 220, 0.82); margin-block: 0.6rem 1.3rem; }

/* ============================================================
   CARTON FACTS — counter board styled like the carton itself
   ============================================================ */
.facts { padding-block: 0 clamp(4rem, 8vw, 6rem); }

.facts__board {
  background:
    radial-gradient(120% 160% at 10% -20%, rgba(181, 216, 86, 0.5), transparent 55%),
    linear-gradient(150deg, var(--lime-light) 0%, var(--lime) 60%, var(--lime-dark) 100%);
  border-radius: 28px;
  padding: clamp(2rem, 5vw, 3.5rem);
  box-shadow: 0 8px 0 var(--lime-dark), var(--shadow-lg);
  border: 1px solid rgba(23, 66, 31, 0.18);
}

.facts__layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.facts__head { margin-bottom: 2rem; }
.facts__head h2 { color: var(--green-dark); }

.facts__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

/* ---------- 3D noodle pot diorama ----------
   Stacked SVG layers, each pushed to its own depth plane;
   the JS tilts the whole stack so the layers parallax. */
.bowl-scene {
  perspective: 900px;
  display: grid;
  justify-items: center;
  gap: 0.9rem;
}

.bowl-bob { animation: bowl-bob 6s ease-in-out infinite; }
@keyframes bowl-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

.bowl3d {
  position: relative;
  width: min(420px, 78vw);
  aspect-ratio: 520 / 420;
  transform-style: preserve-3d;
  transform: rotateX(var(--by, 0deg)) rotateY(var(--bx, 0deg));
  transition: transform 0.25s ease-out;
}

.bl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.bl--shadow  { transform: translateZ(0); }
.bl--pot     { transform: translateZ(18px); }
.bl--broth   { transform: translateZ(36px); }
.bl--noodles { transform: translateZ(54px); }
.bl--tops    { transform: translateZ(72px); }
.bl--steam   { transform: translateZ(92px); }

.steam {
  opacity: 0.45;
  animation: steam-rise 2.8s ease-in-out infinite;
}
.steam--2 { animation-delay: 0.6s; }
.steam--3 { animation-delay: 1.2s; }
@keyframes steam-rise {
  0%, 100% { opacity: 0.15; transform: translateY(0); }
  50%      { opacity: 0.55; transform: translateY(-8px); }
}

.bowl-scene__caption {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--green-dark);
  background: rgba(251, 243, 220, 0.85);
  padding: 0.35rem 1rem;
  border-radius: 999px;
  box-shadow: 0 3px 0 rgba(23, 66, 31, 0.2);
}

.fact {
  background: rgba(251, 243, 220, 0.92);
  border-radius: 18px;
  padding: 1.4rem 1.2rem;
  text-align: center;
  box-shadow: 0 4px 0 rgba(23, 66, 31, 0.22), 0 14px 24px rgba(23, 66, 31, 0.14);
}
.fact__num {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.15rem;
  font-family: var(--font-display);
  color: var(--green-dark);
}
.fact__num b {
  font-weight: 800;
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  line-height: 1;
}
.fact__num i {
  font-style: normal;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--red);
}
.fact__label {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--green);
}

/* ============================================================
   WHY USHI — depth section, same 3D card language as the rest
   ============================================================ */
.why {
  background:
    radial-gradient(90% 120% at 90% 0%, rgba(140, 198, 62, 0.14), transparent 55%),
    var(--green-dark);
  color: var(--cream);
}
.section__head--light h2 em { color: var(--lime-light); }
.section__sub--light { color: rgba(251, 243, 220, 0.68); }

/* --- factory footage + the four reasons ----------------------
   The clip is 472×848 vertical phone video. The frame column is
   capped near that width so the footage renders at roughly 1:1
   instead of being upscaled into mush.                          */
.why__layout {
  display: grid;
  grid-template-columns: minmax(0, 330px) minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
  padding-top: 1.5rem;
}

.filmstrip {
  position: relative;
  max-width: 330px;
}

/* Ambient lime glow behind the frame — a cheap stand-in for the
   blurred-video backdrop trick, without decoding the clip twice. */
.filmstrip::before {
  content: "";
  position: absolute;
  inset: -12% -18%;
  background: radial-gradient(60% 55% at 50% 45%, rgba(140, 198, 62, 0.42), transparent 70%);
  filter: blur(28px);
  z-index: 0;
  pointer-events: none;
}

.filmstrip__frame {
  position: relative;
  z-index: 1;
  aspect-ratio: 472 / 848;   /* the clip's own ratio — no letterboxing */
  border-radius: 30px;
  overflow: hidden;
  background: var(--green-dark);
  border: 3px solid rgba(251, 243, 220, 0.16);
  box-shadow:
    0 26px 50px rgba(0, 0, 0, 0.45),
    0 0 70px -18px rgba(140, 198, 62, 0.5);
}

.filmstrip__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.filmstrip__badge {
  position: absolute;
  left: 0.9rem;
  bottom: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--cream);
  background: rgba(23, 66, 31, 0.62);
  backdrop-filter: blur(6px);
  padding: 0.42em 0.85em;
  border-radius: 999px;
}
.filmstrip__badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 3px rgba(218, 41, 28, 0.28);
}

.filmstrip__cap {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: rgba(251, 243, 220, 0.6);
}

/* Width and spacing are tuned so this column comes close to the film's
   height — otherwise the grid's centring leaves a big void beside it. */
.why__points {
  list-style: none;
  display: grid;
  gap: 2.8rem;
  max-width: 500px;
}

.why__point {
  position: relative;
  padding-left: 3.4rem;
}
.why__point + .why__point { border-top: 1px dashed rgba(251, 243, 220, 0.16); padding-top: 2.8rem; }

.why__num {
  position: absolute;
  left: 0;
  top: 0.1em;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  color: var(--green-dark);
  background: var(--lime);
  padding: 0.2em 0.5em 0.26em;
  border-radius: 0.5em 0.5em 0.5em 0.16em;
}
.why__point + .why__point .why__num { top: calc(2.8rem + 0.1em); }

.why__point h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--cream);
  margin-bottom: 0.4rem;
}
.why__point p {
  color: rgba(251, 243, 220, 0.72);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.contact__points {
  list-style: none;
  margin-top: 1.8rem;
  display: grid;
  gap: 0.9rem;
}
.contact__points li {
  background: var(--white);
  border-radius: 14px;
  padding: 0.9rem 1.2rem;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--lime);
  font-size: 0.95rem;
}
.contact__points strong { color: var(--red); }
.contact__points em { font-style: normal; color: var(--ink-soft); font-size: 0.8rem; }

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.4rem);
  box-shadow: 0 6px 0 rgba(23, 66, 31, 0.10), var(--shadow-lg);
  display: grid;
  gap: 1.1rem;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }

.form-field { display: grid; gap: 0.4rem; }
.form-field label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
}
.form-field input,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 0.98rem;
  padding: 0.85rem 1rem;
  border: 1.5px solid rgba(23, 66, 31, 0.15);
  border-radius: 12px;
  background: var(--canvas);
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  resize: vertical;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--lime-dark);
  box-shadow: 0 0 0 3px rgba(140, 198, 62, 0.25);
}

.form-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
  text-align: center;
  min-height: 1.2em;
}
.form-note--ok { color: var(--green); font-weight: 600; }
.form-note--err { color: var(--red); font-weight: 600; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--green-dark);
  color: rgba(251, 243, 220, 0.78);
  padding-block: 2.2rem;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.92rem;
}
.nav__logo--footer .nav__logo-word { color: var(--cream); }
.nav__logo--footer .nav__logo-ar { color: var(--lime-light); }
.footer__links { display: flex; gap: 1.4rem; }
.footer__links a {
  color: rgba(251, 243, 220, 0.78);
  text-decoration: none;
  font-weight: 500;
}
.footer__links a:hover { color: var(--cream); }

/* ============================================================
   SCROLL REVEAL — enters with a slight 3D pitch
   ============================================================ */
.reveal {
  opacity: 0;
  transform: perspective(1000px) translateY(34px) rotateX(7deg);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal--delay { transition-delay: 0.15s; }
.why__point:nth-child(2) { transition-delay: 0.08s; }
.why__point:nth-child(3) { transition-delay: 0.16s; }
.why__point:nth-child(4) { transition-delay: 0.24s; }
.reveal.is-visible {
  opacity: 1;
  transform: perspective(1000px) translateY(0) rotateX(0);
}

/* ============================================================
   MOTION SAFETY
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  /* No idle spin, but dragging still works — that motion is user-initiated. */
  .carton { transform: rotateX(-12deg) rotateY(-28deg); }
  .chip { animation: none; transform: translateZ(var(--z, 100px)); }
  .ribbon__track { animation: none; }
  .tilt { transform: none !important; }
  .bowl-bob { animation: none; }
  .steam { animation: none; opacity: 0.35; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 950px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__sub { margin-inline: auto; }
  .hero__actions, .hero__ticks { justify-content: center; }
  .hero__stage { order: -1; min-height: 330px; }
  .scene { --cw: 220px; --ch: 152px; --cd: 110px; }

  /* Once the hero stacks, the carton is only ~220px wide but each chip stays
     ~145px, so they cover up to 79% of the pack. The same three facts are in
     .hero__ticks directly above, so the chips are pure clutter here. */
  .chip { display: none; }

  /* Touch ergonomics — tablets are touch devices even though the desktop
     nav is still showing at this width. */
  .nav__links a { padding-block: 0.6rem; }
  .footer__links a { padding-block: 0.65rem; }
  .form-field input,
  .form-field textarea { font-size: 1rem; }  /* <16px makes iOS zoom on focus */

  .products__grid { grid-template-columns: repeat(2, 1fr); }
  .product-card--cta { grid-column: auto; }
  .facts__layout { grid-template-columns: 1fr; }
  /* stack the film above the reasons, and centre it */
  .why__layout { grid-template-columns: 1fr; gap: 3rem; justify-items: center; }
  .filmstrip { max-width: 340px; }
  .why__points { max-width: 560px; }
  .contact__inner { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .nav__links {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--canvas);
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 1.2rem 5%;
    gap: 1.1rem;
    border-bottom: 1px solid rgba(23, 66, 31, 0.08);
    box-shadow: 0 16px 24px rgba(23, 66, 31, 0.08);
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__burger { display: flex; }

  .products__grid { grid-template-columns: 1fr; }
  .filmstrip { max-width: 290px; }
  .why__point { padding-left: 2.9rem; }
  .form-row { grid-template-columns: 1fr; }

  /* The 3D carton is a desktop flourish. At phone widths it shrinks to ~190px
     while the floating chips stay ~145px each, so they sit on top of the pack
     and hide the artwork. Drop the whole stage — .hero__ticks below the buttons
     already states the same three facts, so nothing is lost. */
  .hero__stage { display: none; }

  /* Facts were two uneven columns (~102px + ~186px) — too tight to read. */
  .facts__grid { grid-template-columns: 1fr; }

  /* Anything tappable gets to ~44px, the size a fingertip actually hits.
     (Link padding and the 16px field size come from the 950px block.) */
  .nav__burger {
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }
  .footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem 1.4rem; }
  .footer__inner { flex-direction: column; text-align: center; gap: 1.1rem; }
}
