/* Indomie homepage — clean, modern, one signature: gerobak (cart) sign-painted lettering.
   Plus Jakarta Sans (designed in Jakarta) for everything; Ultra only for painted words. */
:root {
  --ink: #1b1714;
  --muted: #6f6760;
  --line: #ece6dd;
  --tile: #f6f2ec;
  --bg: #ffffff;
  --red: #e2231a;
  --red-d: #b8141a;
  --yellow: #ffc72c;
  --green: #1f9d55;
  --sans: "Plus Jakarta Sans", system-ui, sans-serif;
  --paint: "Ultra", Georgia, serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { font-family: var(--sans); color: var(--ink); background: var(--bg); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.fine { font-size: 13px; color: var(--muted); }

/* ---------- signature: gerobak lettering ---------- */
.gerobak {
  font-family: var(--paint); font-weight: 400; color: var(--red); letter-spacing: .01em; display: inline-block;
  text-shadow:
    .025em .025em 0 #fff, .05em .05em 0 var(--yellow), .065em .065em 0 var(--yellow),
    .08em .08em 0 #fff, .1em .1em 0 var(--green), .115em .115em 0 var(--green);
  transform: rotate(-2deg); padding-right: .12em;
}
.gerobak.sm { font-size: .92em; }
.gerobak.xl { font-size: clamp(54px, 9vw, 140px); line-height: 1; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 22px; border-radius: 10px; font-weight: 700; font-size: 15px; text-decoration: none; border: 1.5px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease); }
.btn:hover { transform: translateY(-1px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-d); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-sm { padding: 9px 14px; font-size: 14px; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.logo img { height: 46px; width: auto; }
.menu { display: flex; gap: 30px; font-weight: 600; font-size: 15px; }
.menu a { text-decoration: none; position: relative; padding: 6px 0; }
.menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.menu a:hover::after, .menu a.on::after { transform: scaleX(1); }
.top-actions { display: flex; align-items: center; gap: 14px; }
.lang { font-size: 13px; font-weight: 700; color: var(--muted); border: 1px solid var(--line); border-radius: 8px; padding: 5px 9px; }

/* ---------- hero ---------- */
.hero { padding: 56px 0 0; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: 40px; min-height: min(640px, calc(100svh - 160px)); }
.eyebrow { font-size: 14px; font-weight: 700; color: var(--red); margin-bottom: 18px; letter-spacing: .01em; }
.hero h1 { font-size: clamp(44px, 6vw, 84px); line-height: 1.02; font-weight: 800; letter-spacing: -.035em; }
.hero h1 .gerobak { font-size: 1.04em; letter-spacing: 0; margin: 0 .04em; }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 30em; margin: 24px 0 34px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-art { position: relative; aspect-ratio: 1 / .92; }
.disc { position: absolute; left: 12%; top: 6%; width: 78%; aspect-ratio: 1; border-radius: 50%; background: var(--red); }
.ribbon { position: absolute; left: -6%; right: -30%; bottom: 8%; width: 136%; height: 46%; overflow: visible; }
.ribbon path { fill: none; stroke-width: 26; stroke-linecap: round; stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw 1.6s var(--ease) .2s forwards; }
.ribbon path:nth-child(2) { animation-delay: .32s; }
.ribbon path:nth-child(3) { animation-delay: .44s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-pack { position: absolute; left: 6%; top: 14%; width: 88%; height: auto; transform: rotate(-7deg); filter: drop-shadow(0 30px 30px rgba(60, 10, 0, .28)); transition: transform .6s var(--ease); animation: rise 1s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(40px) rotate(-14deg); } }
.hero-badge { position: absolute; right: 0; top: 4%; width: 180px; background: #fff; border: 1.5px solid var(--ink); border-radius: 12px; padding: 12px 14px; font-size: 13px; line-height: 1.35; transform: rotate(4deg); box-shadow: 4px 4px 0 var(--ink); }
.hero-badge b { display: block; font-size: 15px; }
.hero-badge span { color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); margin-top: 30px; }
.stats div { padding: 26px 0 30px; display: flex; align-items: baseline; gap: 12px; }
.stats div + div { border-left: 1px solid var(--line); padding-left: 28px; }
.stats b { font-size: clamp(36px, 4vw, 52px); font-weight: 800; letter-spacing: -.04em; font-variant-numeric: tabular-nums; line-height: 1; }
.stats span { font-size: 14px; color: var(--muted); max-width: 13em; line-height: 1.35; }

/* ---------- sections ---------- */
.sec { padding: 110px 0; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.sec-head h2, .warm-copy h2 { font-size: clamp(36px, 4.4vw, 60px); line-height: 1.04; font-weight: 800; letter-spacing: -.035em; }
.sec-note { color: var(--muted); }
.filters { display: flex; gap: 6px; flex-wrap: wrap; }
.filters button { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 8px 14px; font-weight: 600; font-size: 14px; color: var(--muted); transition: all .2s; }
.filters button:hover { color: var(--ink); border-color: var(--ink); }
.filters button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.filters button small { opacity: .6; margin-left: 4px; }

/* ---------- products ---------- */
.grid-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 18px; }
.prod { position: relative; background: var(--tile); border-radius: 14px; padding: 18px 18px 20px; display: flex; flex-direction: column; text-decoration: none; overflow: hidden; transition: background .3s; }
.prod::before { content: ""; position: absolute; inset: 0; background: var(--tint, var(--red)); opacity: 0; transition: opacity .35s; }
.prod:hover::before { opacity: .12; }
.prod-img { position: relative; aspect-ratio: 1.15; display: grid; place-items: center; }
.prod-img img { width: 92%; height: auto; transition: transform .5s var(--ease); filter: drop-shadow(0 14px 14px rgba(0,0,0,.12)); }
.prod:hover .prod-img img { transform: translateY(-8px) rotate(-3deg) scale(1.03); }
.prod-tag { position: relative; font-size: 12px; font-weight: 700; color: var(--muted); margin-top: 10px; }
.prod h3 { position: relative; font-size: 17px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; margin-top: 2px; }
.prod p { position: relative; font-size: 13px; color: var(--muted); margin-top: 4px; line-height: 1.4; }
.prod.hide { display: none; }

/* ---------- warmindo (signature section) ---------- */
.warmindo { background: var(--tile); }
.warm-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.warm-copy p:not(.eyebrow) { color: var(--muted); margin-top: 20px; max-width: 30em; }
.warm-copy p b { color: var(--ink); }
.peek { margin-top: 30px; height: 210px; position: relative; }
.peek img { position: absolute; left: 0; top: 0; height: 200px; width: auto; transform: rotate(-6deg) translateY(20px); opacity: 0; transition: opacity .3s, transform .5s var(--ease); filter: drop-shadow(0 18px 20px rgba(0,0,0,.18)); }
.peek img.show { opacity: 1; transform: rotate(-4deg) translateY(0); }
.board { position: relative; background: var(--red-d); color: #fff; border-radius: 6px; padding: 34px 34px 26px; border: 10px solid #5b2a14; box-shadow: inset 0 0 0 2px rgba(255,255,255,.18), 0 30px 50px -30px rgba(60, 20, 0, .6); }
.board::before, .board::after { content: ""; position: absolute; top: -26px; width: 2px; height: 26px; background: #5b2a14; }
.board::before { left: 22%; }
.board::after { right: 22%; }
.board-title { font-size: clamp(54px, 7vw, 92px); line-height: 1; color: var(--yellow); text-shadow: .03em .03em 0 #fff, .06em .06em 0 var(--ink); transform: rotate(-3deg); margin-bottom: 16px; }
.board-list { list-style: none; padding: 0; counter-reset: m; }
.board-list li { counter-increment: m; display: grid; grid-template-columns: 34px 1fr; gap: 4px 12px; padding: 12px 6px; border-top: 1.5px dashed rgba(255,255,255,.35); cursor: default; border-radius: 4px; transition: background .2s; }
.board-list li::before { content: counter(m, decimal-leading-zero); font-family: var(--paint); color: var(--yellow); font-size: 18px; line-height: 1.2; }
.board-list li:hover, .board-list li:focus-within, .board-list li.on { background: rgba(255,255,255,.1); }
.board-list b { font-weight: 800; font-size: clamp(17px, 1.7vw, 21px); letter-spacing: .01em; text-transform: uppercase; line-height: 1.2; }
.board-list span { grid-column: 2; font-size: 14px; color: rgba(255,255,255,.75); }
.board-list button { all: unset; display: contents; }
.board-foot { margin-top: 14px; padding-top: 12px; border-top: 1.5px dashed rgba(255,255,255,.35); font-family: var(--paint); color: var(--yellow); font-size: 18px; }
.board-foot span { font-family: var(--sans); font-weight: 600; color: rgba(255,255,255,.75); font-size: 14px; }

/* ---------- recipes ---------- */
.grid-recipes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.rec { text-decoration: none; display: flex; flex-direction: column; gap: 12px; }
.rec-img { aspect-ratio: 3 / 2; border-radius: 14px; overflow: hidden; background: var(--tile); }
.rec-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.rec:hover .rec-img img { transform: scale(1.05); }
.rec-cat { font-size: 12px; font-weight: 700; color: var(--red); }
.rec h3 { font-size: 17px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; margin-top: -6px; }
.rec h3::after { content: " ↗"; color: var(--muted); font-weight: 500; opacity: 0; transition: opacity .2s; }
.rec:hover h3::after { opacity: 1; }
.rec.big { grid-column: span 2; grid-row: span 2; }
.rec.big .rec-img { aspect-ratio: auto; flex: 1; min-height: 280px; }
.rec.big h3 { font-size: 26px; letter-spacing: -.02em; }
.more { display: flex; align-items: center; gap: 16px; margin-top: 30px; }

/* ---------- where to buy ---------- */
.buy { background: var(--ink); color: #fff; }
.buy .sec-note { color: rgba(255,255,255,.6); }
.buy-in { display: grid; grid-template-columns: 280px 1fr; gap: 30px; }
.countries { display: flex; flex-direction: column; border-top: 1px solid rgba(255,255,255,.15); }
.countries button { all: unset; cursor: pointer; display: flex; justify-content: space-between; padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.15); font-weight: 600; color: rgba(255,255,255,.65); transition: color .2s, padding .3s var(--ease); }
.countries button:hover { color: #fff; }
.countries button[aria-selected="true"] { color: #fff; padding-left: 12px; }
.countries button[aria-selected="true"]::after { content: "→"; color: var(--yellow); }
.countries button:focus-visible { outline: 3px solid var(--yellow); }
.stores { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; align-content: start; }
.store { background: #fff; color: var(--ink); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 12px; animation: pop .45s var(--ease) both; }
.store img { height: 64px; width: 100%; object-fit: contain; }
.store b { font-size: 15px; }
.store small { color: var(--muted); font-size: 12px; margin-top: -8px; }
@keyframes pop { from { opacity: 0; transform: translateY(12px); } }

/* ---------- closer + footer ---------- */
.closer { padding: 120px 0; text-align: center; overflow: hidden; }
.closer-sub { color: var(--muted); margin-top: 26px; font-size: 18px; }
.closer-sub a { color: var(--red); font-weight: 700; }
.foot { border-top: 1px solid var(--line); padding: 36px 0 30px; }
.foot-in { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.foot-in img { height: 56px; width: auto; }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; font-size: 14px; font-weight: 600; }
.foot nav a { text-decoration: none; color: var(--muted); }
.foot nav a:hover { color: var(--ink); }
.foot-fine { margin-top: 24px; max-width: 900px; }
.foot-fine a { color: var(--ink); }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .menu { display: none; }
  .hero-in { grid-template-columns: 1fr; min-height: 0; }
  .hero-art { max-width: 520px; width: 100%; justify-self: center; }
  .grid-products, .grid-recipes { grid-template-columns: repeat(3, 1fr); }
  .warm-in { grid-template-columns: 1fr; gap: 30px; }
  .peek { display: none; }
  .buy-in { grid-template-columns: 1fr; }
  .countries { flex-direction: row; flex-wrap: wrap; gap: 6px; border: 0; }
  .countries button { border: 1px solid rgba(255,255,255,.25); border-radius: 8px; padding: 8px 12px; }
  .countries button[aria-selected="true"] { padding-left: 12px; background: #fff; color: var(--ink); }
  .countries button[aria-selected="true"]::after { content: none; }
}
@media (max-width: 640px) {
  .top-in { height: 62px; }
  .logo img { height: 38px; }
  .lang { display: none; }
  .hero { padding-top: 32px; }
  .hero-badge { width: 150px; font-size: 12px; }
  .stats { grid-template-columns: 1fr; }
  .stats div + div { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .stats div { padding: 18px 0; }
  .grid-products, .grid-recipes { grid-template-columns: 1fr 1fr; gap: 12px; }
  .rec.big { grid-column: span 2; grid-row: auto; }
  .rec.big .rec-img { aspect-ratio: 3 / 2; min-height: 0; }
  .board { padding: 24px 18px 20px; border-width: 8px; }
  .sec { padding: 80px 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .ribbon path { stroke-dashoffset: 0; }
  .rv { opacity: 1; transform: none; }
}

/* ================= Illustrated version: hero scene + scroll story ================= */
.hero-art { aspect-ratio: auto; perspective: 1100px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.scene { position: relative; width: min(100%, 560px); aspect-ratio: 1; transform-style: preserve-3d; will-change: transform; }
.layer { position: absolute; inset: 0; will-change: transform; }
.layer svg { width: 100%; height: 100%; overflow: visible; display: block; }
.steam-w { animation: wisp 3.4s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 100%; }
.steam-w:nth-child(2) { animation-delay: -1.1s; }
.steam-w:nth-child(3) { animation-delay: -2.2s; }
@keyframes wisp { 0% { opacity: 0; transform: translateY(26px) scaleY(.8); } 35% { opacity: .9; } 100% { opacity: 0; transform: translateY(-34px) scaleY(1.1) skewX(-6deg); } }
.hero-badge { top: 0; right: 0; }
.track-ui { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; max-width: 420px; }
.track-ui .btn svg { flex: none; }
.track-note { font-size: 13px; color: var(--muted); }
#cam { display: none; width: 112px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; border: 2px solid var(--ink); transform: scaleX(-1); }
.tracking #cam { display: block; }
.tracking #trackBtn { background: var(--ink); color: #fff; }

.story { position: relative; background: var(--tile); }
.story-pin { position: relative; height: 100svh; display: grid; grid-template-columns: 1fr 1.25fr; align-items: center; gap: 20px; width: min(1200px, 100% - 40px); margin-inline: auto; overflow: visible; }
.story-caps { position: relative; height: 1.2em; font-size: clamp(56px, 8vw, 120px); font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.cap { position: absolute; left: 0; top: 0; white-space: nowrap; }
.cap span { display: block; font-size: 15px; letter-spacing: .1em; color: var(--red); margin-bottom: 8px; font-weight: 800; }
.cap.last { z-index: 5; }
.cap.last .gerobak { font-size: .82em; letter-spacing: 0; color: var(--red); margin: 0; }
.story-scene { position: relative; width: 100%; max-height: 88svh; aspect-ratio: 6 / 7; justify-self: center; }
.story-scene svg { width: 100%; height: 100%; overflow: visible; display: block; }
.steam-s { animation: wisp 2.6s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 100%; }
.steam-cover { position: absolute; inset: -10vh -10vw; pointer-events: none; z-index: 4; }
.steam-cover i { position: absolute; left: calc(50% + 8vw); top: 55%; width: 46vmin; height: 46vmin; margin: -23vmin; border-radius: 50%; opacity: 0; background: radial-gradient(circle, #fff 0 38%, rgba(255,255,255,.7) 55%, rgba(255,255,255,0) 72%); filter: blur(6px); }
.steam-cover i:nth-child(2) { left: calc(50% - 4vw); top: 62%; }
.steam-cover i:nth-child(3) { left: calc(50% + 20vw); top: 66%; }
.steam-cover i:nth-child(4) { left: calc(50% - 18vw); top: 48%; }
.steam-cover i:nth-child(5) { left: calc(50% + 10vw); top: 36%; }
.steam-cover i:nth-child(6) { left: calc(50% - 30vw); top: 70%; }
.steam-cover b { position: absolute; inset: 0; background: #fff; opacity: 0; }
.scroll-hint { position: absolute; left: 0; bottom: 28px; font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.scroll-hint::after { content: " ↓"; }
.story + .sec { padding-top: 60px; }

@media (max-width: 1000px) {
  .story-pin { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-content: center; gap: 10px; padding-top: 80px; }
  .story-caps { font-size: clamp(44px, 12vw, 72px); }
  .story-scene { width: min(100%, 64svh); }
  .steam-cover i { left: 50%; }
}
@media (prefers-reduced-motion: reduce) { .scene, .layer { transform: none !important; } }
.steam-s, .story .steam-w { filter: drop-shadow(0 0 5px rgba(120, 85, 50, .35)); }
.steam-cover i { filter: blur(6px) drop-shadow(0 0 40px rgba(140, 105, 70, .28)); }
.story { overflow: hidden; }
.steam-cover { inset: 0 -10vw; }

/* ================= Hero v3: window into a warmindo (CSS 3D room) ================= */
.hero-art { perspective: none; }
.scene {
  --s: min(540px, calc(100vw - 48px)); --d: calc(var(--s) * .9);
  width: var(--s); height: var(--s); aspect-ratio: auto; position: relative; overflow: hidden;
  border-radius: 20px; border: 12px solid var(--red); background: #2a160c;
  box-shadow: inset 0 0 0 2px #2a160c, 8px 8px 0 #2a160c;
  perspective: var(--persp, 620px); perspective-origin: var(--ox, 50%) var(--oy, 45%);
  transform: none !important;
}
.box { position: absolute; inset: 0; transform-style: preserve-3d; }
.wall { position: absolute; backface-visibility: hidden; overflow: hidden; }
.wall::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 44%;
  background: linear-gradient(#fff 0 2px, transparent 2px) 0 0 / 30px 30px, linear-gradient(90deg, #fff 0 2px, transparent 2px) 0 0 / 30px 30px, #3a9a68; border-top: 5px solid #2a160c; }
.w-back { inset: 0; background: #f8e1a0; transform: translateZ(calc(var(--d) * -1)); }
.w-left, .w-right { top: 0; height: 100%; width: var(--d); background: #f3d88f; }
.w-left { left: 0; transform-origin: left center; transform: rotateY(90deg); }
.w-right { right: 0; transform-origin: right center; transform: rotateY(-90deg); }
.w-left::before, .w-right::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.w-left::before { background: linear-gradient(90deg, rgba(0,0,0,.05), rgba(42,22,12,.32)); }
.w-right::before { background: linear-gradient(270deg, rgba(0,0,0,.05), rgba(42,22,12,.32)); }
.w-ceil, .w-floor { left: 0; width: 100%; height: var(--d); }
.w-ceil { top: 0; transform-origin: center top; transform: rotateX(-90deg); background: linear-gradient(#e9d39a, #c9ae6a); }
.w-ceil::after, .w-floor::after { content: none; }
.w-floor { bottom: 0; transform-origin: center bottom; transform: rotateX(90deg);
  background: linear-gradient(to top, rgba(0,0,0,0), rgba(42,22,12,.35)), repeating-linear-gradient(90deg, #c98a4a 0 44px, #a8692f 44px 47px); }
.mini-board { position: absolute; left: 50%; top: 9%; width: 52%; transform: translateX(-50%) rotate(-1.5deg); background: var(--red-d); border: 6px solid #5b2a14; border-radius: 4px; padding: 3% 5% 4%; color: #fff; z-index: 3; box-shadow: 0 6px 0 rgba(42,22,12,.25); }
.mini-board .gerobak { font-size: calc(var(--s) * .07); color: var(--yellow); text-shadow: .03em .03em 0 #fff, .06em .06em 0 var(--ink); }
.mini-board ol { list-style: none; padding: 0; margin-top: 4%; font-weight: 800; font-size: calc(var(--s) * .027); text-transform: uppercase; letter-spacing: .02em; }
.mini-board li { padding: 2% 0; border-top: 1px dashed rgba(255,255,255,.4); }
.obj { position: absolute; transform-style: preserve-3d; }
.obj svg { width: 100%; height: 100%; overflow: visible; display: block; }
.o-bowl, .o-sticks, .o-steam { left: 8%; width: 84%; aspect-ratio: 1; bottom: calc(var(--s) * -.16); }
.o-bowl { transform: translateZ(calc(var(--d) * -.42)); }
.o-sticks { transform: translateZ(calc(var(--d) * -.3)); }
.o-steam { transform: translateZ(calc(var(--d) * -.5)); bottom: calc(var(--s) * -.02); }
.o-glass { left: 5%; bottom: -2%; width: 17%; aspect-ratio: 120 / 220; transform: translateZ(calc(var(--d) * -.04)); }
.lamp { left: 50%; top: 0; width: 60px; margin-left: -30px; height: 34%; transform: translateZ(calc(var(--d) * -.62)); }
.lamp .cord { position: absolute; left: 29px; top: 0; width: 2px; height: 70%; background: #2a160c; }
.lamp .bulb { position: absolute; left: 14px; top: 68%; width: 32px; height: 40px; border-radius: 50% 50% 46% 46%; background: #fff3b0; border: 3px solid #2a160c; box-shadow: 0 0 40px 18px rgba(255, 220, 120, .55); }
.hero-badge { z-index: 2; }
@media (prefers-reduced-motion: reduce) { .scene { perspective-origin: 50% 45%; } }
.lamp { left: 24%; }
/* 3D (Three.js) canvases */
.scene.gl { background: #2a160c; }
.story-scene.gl { aspect-ratio: 1; max-height: 86svh; }
.story-scene.gl canvas { border-radius: 0; }

/* story: full-bleed 3D canvas (steam never gets clipped), captions float on top */
.story-pin { display: block; width: 100%; height: 100svh; }
.story-scene, .story-scene.gl { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; aspect-ratio: auto; z-index: 1; }
.story-caps { position: absolute; z-index: 3; left: max(20px, calc((100vw - 1200px) / 2)); top: 20vh; }
.scroll-hint { left: max(20px, calc((100vw - 1200px) / 2)); z-index: 3; }
@media (max-width: 1000px) { .story-caps { top: 84px; } }

/* hero v4: one big bowl */
.bowl-hero { width: min(100%, 640px); aspect-ratio: 1; margin: -20px auto 0; }
.bowl-hero canvas { display: block; }
.inside-link { margin-top: -10px; }

/* v5: the pack is the hero; the story ends inside a warmindo */
.story .hero-copy { position: absolute; z-index: 3; left: max(20px, calc((100vw - 1200px) / 2)); top: 50%; transform: translateY(-50%); width: min(560px, 44vw); }
.story .hero-copy h1 { font-size: clamp(44px, 5.6vw, 84px); line-height: 1.02; font-weight: 800; letter-spacing: -.035em; margin: 10px 0 18px; }
.story .hero-copy h1 .gerobak { font-size: 1.04em; letter-spacing: 0; margin: 0 .04em; }
.story .hero-copy .cta { margin-top: 26px; }
.story { background: var(--bg, #fff); }
.inside-layer { position: absolute; inset: 0; z-index: 0; background: #2a160c; opacity: 0; }   /* scene3d.js parks it below the screen, then raises it */
.inside-layer #room { position: absolute; inset: 0; }
.inside-layer #room canvas { display: block; width: 100%; height: 100%; }
.inside-white { position: absolute; inset: 0; background: #fff; z-index: 6; pointer-events: none; }
.story .inside-dock { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 5; display: flex; align-items: center; gap: 14px; background: rgba(27, 23, 20, .8); color: #fff; padding: 10px 12px 10px 16px; border-radius: 16px; width: max-content; max-width: calc(100vw - 32px); }
.story .inside-dock p { font-size: 13px; color: rgba(255, 255, 255, .82); max-width: 330px; line-height: 1.4; }
.story #trackBtn { display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer; background: var(--red); color: #fff; font: 700 14px "Plus Jakarta Sans", sans-serif; padding: 11px 16px; border-radius: 10px; white-space: nowrap; }
.tracking .story #trackBtn { background: #fff; color: var(--ink); }
.story #trackBtn:disabled { opacity: .6; cursor: wait; }
.story .full { color: #fff; font-size: 13px; font-weight: 700; white-space: nowrap; }
.story #cam { display: none; width: 80px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; border: 2px solid #fff; transform: scaleX(-1); }
.tracking .story #cam { display: block; }
.stats-sec { padding: 56px 0 0; }
@media (max-aspect-ratio: 23/20) {
  .story .hero-copy { top: 84px; transform: none; width: auto; right: 20px; }
  .story .hero-copy .lead { font-size: 15px; }
}
@media (max-width: 640px) {
  .story .inside-dock { flex-wrap: wrap; justify-content: center; text-align: center; bottom: 14px; }
  .story .inside-dock p { font-size: 12px; }
}

/* the Indomie tricolour ribbon swooping behind the hero pack */
.hero-stripes { position: absolute; left: 0; width: 100%; height: 46%; top: calc(var(--pack-y, 46%) - 23%); z-index: 0; overflow: visible; pointer-events: none; transform-origin: 60% 50%; }
.hero-stripes { animation: ribbon 1.3s cubic-bezier(.3,.7,.2,1) both; }
.hero-stripes path { fill: none; stroke-width: 30px; vector-effect: non-scaling-stroke; stroke-linecap: butt; }
@keyframes ribbon { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@media (max-width: 1000px) { .hero-stripes path { stroke-width: 20px; } }
@media (prefers-reduced-motion: reduce) { .hero-stripes { animation: none; } }
.hero-stripes { height: 40%; top: calc(var(--pack-y, 46%) - 14%); }
@media (min-aspect-ratio: 23/20) { .hero-stripes { left: calc(var(--pack-x, 66%) - 24vw); width: calc(124vw - var(--pack-x, 66%)); } }
@media (min-aspect-ratio: 23/20) and (max-width: 1000px) { .story .hero-copy h1 { font-size: clamp(34px, 5vw, 56px); } .story .hero-copy .lead { font-size: 15px; } }
/* ribbon v2: one continuous path (drawn by scene3d.js), stripes stacked by offset */
.hero-stripes { left: 0 !important; top: 0 !important; width: 100% !important; height: 100% !important; }
.hero-stripes path { stroke-width: 26px; stroke-linecap: butt; vector-effect: none; }
.hero-stripes path:nth-child(2) { transform: translateY(24px); }
.hero-stripes path:nth-child(3) { transform: translateY(48px); }
@media (max-aspect-ratio: 23/20) { .hero-stripes path { stroke-width: 18px; } .hero-stripes path:nth-child(2) { transform: translateY(17px); } .hero-stripes path:nth-child(3) { transform: translateY(34px); } }

/* stats on phones: three compact columns, number above its label */
@media (max-width: 760px) {
  .stats-sec { padding: 28px 0 0; }
  .stats { grid-template-columns: repeat(3, 1fr); margin-top: 0; border-bottom: 1px solid var(--line); }
  .stats div { flex-direction: column; align-items: flex-start; gap: 6px; padding: 18px 10px 20px 0; }
  .stats div + div { border-top: 0; border-left: 1px solid var(--line); padding-left: 12px; }
  .stats b { font-size: clamp(26px, 8vw, 34px); }
  .stats span { font-size: 12px; line-height: 1.35; max-width: none; }
}

/* v6: one pinned story — the warmindo layer rises behind the bowl, the bowl flies into it */
.story-pin { overflow: hidden; }
.story-scene { pointer-events: none; }
.story .inside-dock { opacity: 0; visibility: hidden; }

/* head-tracking dock v2: one light pill, short line + one button */
.story .inside-dock { left: 50%; bottom: 22px; transform: translateX(-50%); gap: 12px; padding: 6px 6px 6px 18px; width: max-content; max-width: calc(100vw - 32px);
  background: #fff; color: var(--ink); border: 1px solid rgba(42, 22, 12, .08); border-radius: 999px; box-shadow: 0 12px 32px -8px rgba(42, 22, 12, .45); }
.story .inside-dock p { color: var(--ink); font-size: 14px; font-weight: 700; max-width: none; white-space: nowrap; }
.story #trackBtn { border-radius: 999px; padding: 10px 16px; font-size: 14px; }
.tracking .story #trackBtn { background: var(--ink); color: #fff; }
.story #cam { width: 40px; height: 40px; aspect-ratio: 1; border-radius: 50%; border: 0; margin-left: -12px; }
@media (max-width: 640px) {
  .story .inside-dock { flex-wrap: nowrap; text-align: left; bottom: 16px; padding-left: 14px; }
  .story .inside-dock p { font-size: 13px; }
  .story #trackBtn { padding: 9px 13px; font-size: 13px; }
}
.story .inside-dock p { white-space: nowrap; }

/* footer fine print: one short credit line + one short disclaimer */
.foot-fine { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; gap: 8px 32px; flex-wrap: wrap; max-width: none; font-size: 12.5px; line-height: 1.55; color: var(--muted); }
.foot-fine b { color: var(--ink); font-weight: 700; }
.foot-fine p:last-child { max-width: 62ch; }
@media (min-width: 900px) { .foot-fine p:last-child { text-align: right; } }

/* phones: a tighter hero copy so the pack gets more room */
@media (max-aspect-ratio: 23/20) {
  .story .hero-copy { top: 76px; }
  .story .hero-copy h1 { margin: 8px 0 12px; }
  .story .hero-copy .lead { font-size: 14px; line-height: 1.5; }
  .story .hero-copy .cta { margin-top: 18px; }
}
