/* =========================================================
   Pocket Chef — brand tokens
   Colours sampled from the existing logo and mascot pattern.
   ========================================================= */
:root {
  color-scheme: light;

  --blue: #2f3aa8;        /* logo shield */
  --blue-deep: #1c2270;
  --blue-ink: #141844;
  --cream: #f6dba9;       /* logo border */
  --cream-soft: #fff6e6;
  --accent: #e2461b;      /* Thai name on logo */
  --accent-dark: #b8350f;

  /* mascot tile colours */
  --magenta: #c2306b;
  --tile-blue: #2453a3;
  --yellow: #e2c53c;
  --green: #2f8a45;
  --purple: #6b3191;
  --orange: #e0861f;

  --ink: #1d1d2b;
  --muted: #5b5d72;
  --bg: #fffdf8;
  --line: rgba(20, 24, 68, .12);

  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 10px 30px rgba(20, 24, 68, .12);
  --shadow-lg: 0 24px 60px rgba(20, 24, 68, .22);

  --font-head: "Prompt", "Sarabun", system-ui, sans-serif;
  --font-body: "Sarabun", "Prompt", system-ui, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
/* Chinese: Prompt/Sarabun have no CJK glyphs, so use the system's Chinese font */
:lang(zh-Hans) { --font-head: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", sans-serif; --font-body: var(--font-head); }
:lang(zh-Hans) h1, :lang(zh-Hans) h2 { letter-spacing: .02em; }
:lang(zh-Hans) .hero h1 { font-size: clamp(1.9rem, 5vw, 4rem); line-height: 1.25; }
/* English and Bahasa Indonesia: Outfit (round, modern geometric). Thai keeps Prompt/Sarabun. */
:lang(en), :lang(id) { --font-head: "Outfit", "Prompt", system-ui, sans-serif; --font-body: "Outfit", "Sarabun", system-ui, sans-serif; }
:lang(en) h1, :lang(en) h2, :lang(id) h1, :lang(id) h2 { letter-spacing: -.02em; }
:lang(en) body, :lang(id) body { font-size: 1.04rem; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--blue); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  padding: .85em 1.6em; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: .5em 1.1em; font-size: .9rem; }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 6px 0 var(--accent-dark); }
.btn-accent:hover { box-shadow: 0 8px 0 var(--accent-dark); }
.btn-accent:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--accent-dark); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 0 var(--blue-deep); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost:hover { background: rgba(255,255,255,.22); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 253, 248, .9);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  transition: box-shadow .2s;
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(20,24,68,.1); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand img { height: 56px; width: auto; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { text-decoration: none; font-family: var(--font-head); font-weight: 600; color: var(--blue-ink); position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px; background: var(--accent); border-radius: 2px; transform: scaleX(0); transition: transform .2s; }
.nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang {
  font-family: var(--font-head); font-weight: 700; font-size: .85rem; color: var(--blue);
  border: 2px solid var(--blue); border-radius: 999px; padding: .4em 2em .4em .9em; cursor: pointer;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%232f3aa8'/%3E%3C/svg%3E") right .8em center / 10px 6px no-repeat;
  -webkit-appearance: none; appearance: none; max-width: 150px;
}
.lang:hover { background-color: rgba(47,58,168,.08); }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 10px; }
.menu-btn span { display: block; height: 3px; background: var(--blue-ink); border-radius: 2px; margin: 5px 0; transition: transform .2s, opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero: flying sachets ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: min(calc(100svh - 76px), 860px); display: grid; place-items: center;
  background: radial-gradient(ellipse at 50% 45%, #fffdf8 0%, #fbf4e6 60%, #f6ead2 100%);
  color: var(--blue-ink); padding: 72px 0;
}
.fly-layer { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.fly-item { position: absolute; will-change: transform; }
.fly-in { animation: flyIn 1.3s cubic-bezier(.2,.85,.25,1) both; animation-delay: var(--delay, 0s); }
.fly-item img {
  display: block; width: 100%; height: auto; mix-blend-mode: multiply; /* white pack margins vanish on the light background */
  animation: bob var(--bob, 6s) ease-in-out infinite alternate; animation-delay: var(--bob-delay, 0s);
}
.fly-item.is-mascot img { mix-blend-mode: normal; filter: drop-shadow(0 10px 14px rgba(20,24,68,.25)); }
@keyframes flyIn {
  from { opacity: 0; transform: translateY(55vh) rotate(calc(var(--rot, 0deg) + 35deg)) scale(.6); }
  to   { opacity: 1; transform: translateY(0) rotate(var(--rot, 0deg)) scale(1); }
}
@keyframes bob {
  from { transform: translateY(0) rotate(-2deg); }
  to   { transform: translateY(-14px) rotate(2deg); }
}
.hero-center { position: relative; z-index: 1; text-align: center; max-width: 760px; }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  background: var(--blue); color: #fff; padding: .4em 1.1em; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(2.6rem, 7vw, 5.2rem); font-weight: 800; line-height: 1.08; margin-bottom: 20px; color: var(--blue-deep); }
.lead { font-size: clamp(1.1rem, 2vw, 1.3rem); max-width: 36ch; margin: 0 auto; color: var(--muted); }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 28px 0 22px; }
.btn-outline { background: rgba(255,255,255,.7); color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: #fff; }
.hero-badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.hero-badges li { font-family: var(--font-head); font-weight: 600; font-size: .9rem; padding: .4em .9em; border-radius: 999px; background: rgba(255,255,255,.85); border: 1px solid var(--line); color: var(--blue-deep); }
.hero-badges li::before { content: "✓ "; color: var(--green); }

/* ---------- Running sachet strip ---------- */
.pack-strip { overflow: hidden; background: var(--blue-ink); padding: 18px 0; }
.pack-track { display: flex; gap: 14px; width: max-content; animation: packRun 45s linear infinite; }
.pack-strip:hover .pack-track { animation-play-state: paused; }
@keyframes packRun { to { transform: translateX(calc(-50% - 7px)); } }
.pack-tile {
  --c: var(--tile-blue); flex: none; width: 230px; height: 150px; border-radius: 14px; background: var(--c);
  display: grid; place-items: center; overflow: hidden; text-decoration: none; position: relative;
  transition: transform .25s, filter .25s;
}
.pack-tile img { height: 128px; width: auto; border-radius: 4px; box-shadow: 0 10px 18px rgba(0,0,0,.3); transform: rotate(-4deg); transition: transform .3s; }
.pack-tile:nth-child(even) img { transform: rotate(4deg); }
.pack-tile:hover { transform: translateY(-4px); filter: brightness(1.08); }
.pack-tile:hover img { transform: rotate(0) scale(1.08); }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 10vw, 120px) 0; }
.section-tint { background: var(--cream-soft); }
.section-dark { background: var(--blue-ink); color: #fff; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.kicker { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; color: var(--accent); margin-bottom: .6em; }
.section-dark .kicker { color: var(--cream); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.note { font-size: .85rem; opacity: .7; text-align: center; margin-top: 24px; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.step { background: #fff; border: 2px solid var(--line); border-radius: var(--radius); padding: 32px 28px; position: relative; transition: transform .2s, box-shadow .2s; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step-img { height: 130px; width: auto; margin: 0 auto 16px; }
.heat { display: inline-block; font: 700 .78rem var(--font-head); color: #fff; padding: .2em .8em; border-radius: 999px; margin-bottom: 10px; }
.heat-med { background: var(--accent); }
.heat-low { background: var(--orange); }
.step p { color: var(--muted); margin: 0; }

/* ---------- Cook-along game ---------- */
.cook { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.cook .steps { grid-template-columns: 1fr; gap: 14px; }
.cook .step { display: grid; grid-template-columns: 96px 1fr; column-gap: 16px; padding: 18px; align-items: start; transition: border-color .3s, background .3s, opacity .3s; }
.cook .step-img { grid-row: span 3; height: auto; width: 96px; margin: 0; }
.cook .step h3 { font-size: 1.05rem; margin-bottom: .2em; }
.cook .step p { font-size: .93rem; }
.cook .step .heat { justify-self: start; }
.cook .step.is-active { border-color: var(--accent); background: #fff7f2; box-shadow: var(--shadow); }
.cook .step.is-done { opacity: .75; }
.cook .step.is-done::after {
  content: "✓"; position: absolute; top: 12px; right: 12px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--green); color: #fff; display: grid; place-items: center; font-weight: 700;
}

.cook-stage {
  background: #fff; border-radius: 24px; padding: 20px; box-shadow: var(--shadow-lg); border: 2px solid var(--line);
  display: grid; gap: 12px; user-select: none; -webkit-user-select: none;
}
.cook-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.cook-stepno { font: 700 .85rem var(--font-head); background: var(--blue); color: #fff; border-radius: 999px; padding: .3em .9em; }
.cook-sound { font: 600 .85rem var(--font-head); background: var(--cream-soft); border: 2px solid var(--line); border-radius: 999px; padding: .3em .9em; cursor: pointer; color: var(--blue-deep); }
.cook-status { font: 700 1.08rem/1.4 var(--font-head); color: var(--blue-deep); margin: 0; min-height: 2.8em; }
.cook-progress { height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; }
.cook-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--yellow), var(--accent)); border-radius: inherit; transition: width .1s linear; }

.cook-scene { position: relative; background: radial-gradient(ellipse at 50% 70%, #fff4df 0%, #fbe9c9 100%); border-radius: 18px; overflow: hidden; }
.gauge { position: absolute; left: 10px; top: 8px; width: 34%; max-width: 200px; z-index: 2; background: rgba(255,255,255,.85); border-radius: 14px; padding: 4px 6px 0; }
.gauge-track { fill: none; stroke: #ece7f3; stroke-width: 12; }
.gauge-zone { fill: none; stroke-width: 12; opacity: .3; transition: opacity .3s; }
.gauge-zone[data-zone="low"] { stroke: var(--yellow); }
.gauge-zone[data-zone="med"] { stroke: var(--orange); }
.gauge-zone[data-zone="high"] { stroke: #d62d20; opacity: .55; }
.gauge-zone.is-target { opacity: 1; }
.gauge-lbl { font: 700 11px var(--font-head); fill: var(--muted); text-anchor: middle; }
.gauge-needle { transform-box: view-box; transform-origin: 100px 110px; transform: rotate(-90deg); }
.gauge-needle line { stroke: var(--blue-ink); stroke-width: 4; stroke-linecap: round; }
.gauge-hub { fill: var(--blue-ink); }
.gauge-temp { font: 800 17px var(--font-head); fill: var(--blue-deep); text-anchor: middle; }

.pan-svg { display: block; width: 100%; height: auto; margin-top: 6%; }
.cook-canvas { display: block; width: 100%; height: auto; }
.cook-scene.is-3d .pan-svg { display: none; }
.cook-scene.is-3d { background: radial-gradient(ellipse at 50% 35%, #fff8ea 0%, #f6e3c2 70%, #ecd3a8 100%); }
.stove { fill: var(--blue-ink); }
.flames path { fill: #ff8a1f; transform-box: fill-box; transform-origin: 50% 100%;
  transform: scaleY(calc(.15 + var(--heat, 0) * 1.1)); opacity: calc(.25 + var(--heat, 0) * .75); }
.flames path:nth-child(odd) { fill: #ffc233; }
.pan-body { fill: #2d3142; }
.pan-inner { fill: #4a5063; }
.pan-handle { fill: #1f2230; }
.oil { fill: #ffd76a; opacity: calc(var(--heat, 0) * .45); }
.food { opacity: 0; transition: opacity .4s; }
.has-egg .food-egg, .has-rice .food-rice, .has-powder .food-powder { opacity: 1; }
.food-rice ellipse { fill: #fbf5e6; transition: fill .8s; }
.has-powder .food-rice ellipse { fill: color-mix(in srgb, var(--powder, #e8a33a) 55%, #fbf5e6); }
.food-egg path { fill: #ffd23f; }
.has-rice .food-egg path { fill: #ffdf6b; }
.food-powder circle { fill: color-mix(in srgb, var(--powder, #e8a33a) 80%, #7a3a10); }
.pan { transform-box: fill-box; transform-origin: 50% 60%; }
.pan.is-tossing { animation: toss .42s ease-in-out infinite; }
.pan.is-tossing .food { animation: hop .42s ease-in-out infinite; }
@keyframes toss { 0%, 100% { transform: translate(0, 0) rotate(0); } 40% { transform: translate(-6px, -10px) rotate(-3deg); } 70% { transform: translate(4px, -2px) rotate(1.5deg); } }
@keyframes hop { 0%, 100% { transform: translateY(0); } 45% { transform: translateY(-9px); } }
.steam { transform: translateY(-24px); }
.steam path { fill: none; stroke: #fff; stroke-width: 5; stroke-linecap: round; opacity: calc((var(--heat, 0) - .3) * 1.6); animation: steam 1.6s ease-in-out infinite; }
.steam path:nth-child(2) { animation-delay: -.5s; } .steam path:nth-child(3) { animation-delay: -1s; }
@keyframes steam { 0% { transform: translateY(8px); } 100% { transform: translateY(-10px); } }
.smoke { transform: translateY(-24px); }
.smoke circle { fill: #6d6a73; opacity: 0; transition: opacity .4s; }
.is-smoking .smoke circle { opacity: .55; }
.drop > g { display: none; }
.drop[data-what="egg"] .drop-egg, .drop[data-what="rice"] .drop-rice, .drop[data-what="sachet"] .drop-powder { display: inline; }
.drop { opacity: 0; }
.drop.is-dropping { animation: dropIn .6s cubic-bezier(.5,0,.9,.6) forwards; }
@keyframes dropIn { 0% { opacity: 1; transform: translateY(-30px); } 85% { opacity: 1; } 100% { opacity: 0; transform: translateY(125px); } }
.drop-egg ellipse { fill: #fff3dc; stroke: #d9b98a; stroke-width: 2; }
.drop-rice path { fill: #e8607d; } .drop-rice .drop-rice-top { fill: #fbf5e6; }
.drop-powder rect { fill: var(--powder, #e8a33a); }

.cook-tray { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cook-item {
  display: grid; justify-items: center; gap: 4px; padding: 10px 6px; border-radius: 14px; cursor: pointer;
  background: var(--cream-soft); border: 2px solid var(--line); font: 600 .9rem var(--font-head); color: var(--blue-deep);
  transition: opacity .3s, transform .2s, border-color .2s;
}
.cook-emoji { font-size: 2rem; line-height: 1.2; }
.cook-item img { height: 48px; width: auto; border-radius: 3px; box-shadow: 0 4px 8px rgba(0,0,0,.2); }
.cook-item:disabled { cursor: default; opacity: .45; }
.cook-item.is-used { opacity: .25; }
.cook-item.is-next { border-color: var(--accent); background: #fff; animation: pulse 1.2s ease-in-out infinite; }
.cook-item.is-next:hover { transform: translateY(-3px); }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(226,70,27,.45); } 50% { box-shadow: 0 0 0 8px rgba(226,70,27,0); } }
.cook-flavour { display: grid; gap: 8px; background: var(--cream-soft); border: 2px solid var(--line); border-radius: 16px; padding: 12px 14px; }
.cook-flavour-label { margin: 0; font: 700 .85rem var(--font-head); color: var(--muted); }
.cook-flavour-info { --c: var(--blue); display: grid; gap: 2px; border-left: 5px solid var(--c); padding: 2px 0 2px 12px; min-height: 92px; align-content: start; }
.cook-flavour-info .cf-tag { font: 700 .72rem var(--font-head); text-transform: uppercase; letter-spacing: .06em; color: var(--c); }
.cook-flavour-info.c-yellow .cf-tag { color: #a88a0c; }
.cook-flavour-info .cf-name { font: 800 1.05rem/1.3 var(--font-head); color: var(--blue-deep); }
.cook-flavour-info .cf-desc { font-size: .95rem; color: var(--ink); }
.cook-flavour-info .cf-size { font: 600 .8rem var(--font-head); color: var(--muted); }
.cook-flavour-info.is-new { animation: infoIn .35s ease; }
@keyframes infoIn { from { opacity: .2; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
.cook-picker { display: flex; flex-wrap: wrap; gap: 8px; }
.cook-chip:disabled { opacity: .35; cursor: default; }
.cook-chip { width: 30px; height: 30px; border-radius: 50%; background: var(--c); border: 3px solid #fff; box-shadow: 0 0 0 2px var(--line); cursor: pointer; }
.cook-chip.is-on { box-shadow: 0 0 0 3px var(--blue); transform: scale(1.12); }

.cook-hold {
  font: 800 1.2rem var(--font-head); color: #fff; background: var(--accent); border: 0; border-radius: 999px; padding: 1em;
  box-shadow: 0 8px 0 var(--accent-dark); cursor: pointer; touch-action: none; transition: transform .08s, box-shadow .08s;
}
.cook-hold.is-down { transform: translateY(6px); box-shadow: 0 2px 0 var(--accent-dark); }
.cook-hold:disabled { background: #c9c6d4; box-shadow: 0 8px 0 #a9a5b8; cursor: default; }

.cook-done {
  position: absolute; inset: 0; z-index: 3; display: grid; place-content: center; justify-items: center; gap: 6px; text-align: center;
  background: rgba(255,253,248,.95); padding: 16px; animation: popIn .5s cubic-bezier(.2,.9,.3,1.3);
}
.cook-done[hidden] { display: none; }
.cook-done img { height: 120px; width: auto; border-radius: 6px; box-shadow: var(--shadow); transform: rotate(-6deg); }
.cook-done strong { font: 800 1.25rem var(--font-head); color: var(--blue-deep); }
.cook-done-name { font: 700 1rem var(--font-head); color: var(--accent); }
.cook-done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }
@keyframes popIn { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: none; } }

/* Flavours */
.flavour-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.flavour { --c: var(--tile-blue); background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.flavour:hover { transform: translateY(-6px) rotate(-.5deg); box-shadow: var(--shadow-lg); }
.c-magenta { --c: var(--magenta); } .c-blue { --c: var(--tile-blue); } .c-yellow { --c: var(--yellow); }
.c-green { --c: var(--green); } .c-purple { --c: var(--purple); } .c-orange { --c: var(--orange); }
.c-red { --c: #c62828; } .c-brown { --c: #a8642a; } .c-pink { --c: #e0607e; }
.flavour-media {
  aspect-ratio: 1; display: grid; place-items: center; position: relative;
  background: var(--c);
}
.flavour-media img { width: 66%; height: 86%; object-fit: contain; border-radius: 6px; box-shadow: 0 14px 24px rgba(0,0,0,.35); transform: rotate(-3deg); transition: transform .3s; }
.flavour:hover .flavour-media img { transform: scale(1.06) rotate(0deg); }
.flavour-media.is-empty::after {
  content: "📷 " attr(data-slot); position: absolute; left: 10px; bottom: 10px;
  font: 600 .72rem var(--font-head); background: rgba(255,255,255,.88); color: var(--blue-deep); border-radius: 6px; padding: 4px 8px;
}
.flavour-body { padding: 20px 22px 22px; border-top: 6px solid var(--c); }
.flavour-body p { color: var(--muted); font-size: .98rem; }
.flavour-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 0; font: 600 .85rem var(--font-head); }
.flavour-tag { display: block; color: var(--c); text-transform: uppercase; letter-spacing: .05em; font: 700 .72rem var(--font-head); margin-bottom: 4px; }
.c-yellow .flavour-tag { color: #a88a0c; }

/* Indonesia */
.indo { background: linear-gradient(135deg, #fff6e6 0%, #ffe9e3 100%); border-top: 6px solid #ce1126; }
.indo-partner { display: inline-block; font: 800 1.05rem var(--font-head); color: var(--blue-deep); background: #fff; border: 2px solid var(--line); border-radius: 12px; padding: .5em 1em; margin: 4px 0 0; }
.indo-packs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.indo-packs img { width: 100%; height: auto; border-radius: 8px; box-shadow: var(--shadow); transition: transform .25s; }
.indo-packs img:nth-child(odd) { transform: rotate(-3deg); }
.indo-packs img:nth-child(even) { transform: rotate(3deg) translateY(12px); }
.indo-packs img:hover { transform: none; }

/* Testimonial */
.quote-band { position: relative; overflow: hidden; background: var(--blue); color: #fff; padding: clamp(56px, 8vw, 96px) 0; text-align: center; }
.quote-pattern { position: absolute; inset: 0; background: url("../assets/img/mascot-pattern.webp") center / 640px auto repeat; opacity: .14; }
.quote { position: relative; margin: 0 auto; max-width: 980px; display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: center; text-align: left; }
.quote-img { width: 100%; height: auto; border-radius: 50%; aspect-ratio: 1; object-fit: cover; object-position: center; background: #fff; border: 6px solid var(--cream); box-shadow: var(--shadow-lg); }
.quote blockquote { margin: 0 0 20px; }
.quote blockquote p { font: 800 clamp(1.6rem, 4vw, 2.6rem)/1.25 var(--font-head); margin: 0 0 8px; }
.quote .quote-th { font-size: clamp(1.1rem, 2.4vw, 1.4rem); font-weight: 600; color: var(--cream); }
.quote figcaption { display: grid; gap: 2px; }
.quote figcaption span { opacity: .75; font-size: .95rem; }

/* Beyond rice */
.uses { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.use { --tile: #fde7c8; background: #fff; border: 2px solid var(--line); border-radius: 22px; padding: 14px 14px 18px; text-align: center; transition: transform .25s, box-shadow .25s; }
.use svg { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; background: var(--tile); border-radius: 16px; margin-bottom: 12px; transition: transform .35s; }
.use:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.use:hover svg { transform: rotate(-2deg) scale(1.03); }
.use h3 { font-size: 1.08rem; margin-bottom: .2em; color: var(--blue-deep); }
.use p { margin: 0; font-size: .92rem; color: var(--muted); line-height: 1.45; }
.use-rice { --tile: #ffe2bf; } .use-noodles { --tile: #e3f0d3; } .use-spaghetti { --tile: #ffd9d0; }
.use-instant { --tile: #dbe5ff; } .use-omelette { --tile: #fff0b8; }

/* Videos */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.video { margin: 0; }
.video-media {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; cursor: pointer;
  border-radius: var(--radius); overflow: hidden; background: var(--blue) url("../assets/img/mascot-pattern.webp") center / 420px auto;
  box-shadow: 0 10px 30px rgba(0,0,0,.3);
}
.video-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.video-media:hover img { transform: scale(1.05); }
.video-media iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-play {
  position: absolute; left: 50%; top: 50%; width: 68px; height: 48px; transform: translate(-50%, -50%);
  background: var(--accent); border-radius: 14px; box-shadow: 0 6px 0 var(--accent-dark); transition: transform .2s;
}
.video-play::after { content: ""; position: absolute; left: 27px; top: 14px; border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff; }
.video-media:hover .video-play { transform: translate(-50%, -50%) scale(1.1); }
.video-title { margin: 12px 4px 0; font: 600 1rem/1.4 var(--font-head); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video-more { text-align: center; margin-top: 36px; }

/* Business */
.ticks { list-style: none; padding: 0; margin: 0 0 28px; }
.ticks li { padding-left: 32px; position: relative; margin-bottom: 10px; font-weight: 500; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--green); color: #fff; font-size: .8rem; display: grid; place-items: center; margin-top: 3px; }
.biz-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.biz-grid img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.biz-grid img[src*="500g"] { object-fit: contain; background: #fff; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gal { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.gal.wide { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gal:hover img { transform: scale(1.04); }
.gal.wide img { object-position: 12% center; }
.gal figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 16px 12px;
  background: linear-gradient(transparent, rgba(20,24,68,.85)); color: #fff; font: 600 .92rem var(--font-head);
}

/* FAQ */
.faq { border-bottom: 2px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font: 700 1.1rem var(--font-head); color: var(--blue-ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--accent); transition: transform .2s; }
.faq[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq p { color: var(--muted); padding-bottom: 16px; }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; }
.contact-list li { display: grid; grid-template-columns: 90px 1fr; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.contact-list span { opacity: .65; }
.contact-list a { color: var(--cream); }
.contact-form { background: #fff; color: var(--ink); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); display: grid; gap: 16px; box-shadow: var(--shadow-lg); }
.contact-form label { display: grid; gap: 6px; font: 600 .9rem var(--font-head); color: var(--blue-ink); }
.contact-form input, .contact-form select, .contact-form textarea {
  font: inherit; font-family: var(--font-body); font-weight: 400; font-size: 1rem; padding: 12px 14px;
  border: 2px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); color: var(--ink); width: 100%;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--blue); outline: none; }

/* Footer */
.site-footer { background: var(--blue-deep); color: #fff; padding: 56px 0 32px; text-align: center; }
.footer-inner { display: grid; justify-items: center; gap: 14px; }
.footer-tag { font-family: var(--font-head); font-weight: 600; opacity: .85; margin: 0; }
.social { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; }
.social a { text-decoration: none; opacity: .8; font-weight: 600; }
.social a:hover { opacity: 1; color: var(--cream); }
.copy { font-size: .85rem; opacity: .55; margin: 8px 0 0; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .cook { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .uses { grid-template-columns: repeat(3, 1fr); }
  .gal.wide { grid-row: auto; aspect-ratio: 16 / 9; }
  .quote { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 24px; }
  .quote-img { width: 180px; }
}
@media (max-width: 1080px) {
  .menu-btn { display: block; }
  .nav {
    position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--bg); box-shadow: 0 12px 24px rgba(20,24,68,.12); padding: 8px var(--gutter) 16px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .header-actions { margin-left: auto; }
  .lang { max-width: 128px; }
}
@media (max-width: 520px) {
  .gallery { grid-template-columns: 1fr; }
  .uses { grid-template-columns: 1fr 1fr; gap: 12px; }
  .use { padding: 10px 10px 14px; border-radius: 18px; }
  .use:last-child:nth-child(odd) { grid-column: span 2; display: grid; grid-template-columns: 48% 1fr; column-gap: 14px; align-items: center; text-align: left; }
  .use:last-child:nth-child(odd) svg { grid-row: span 2; margin: 0; }
  .use:last-child:nth-child(odd) h3 { align-self: end; }
  .use:last-child:nth-child(odd) p { align-self: start; }
  .video-grid { grid-template-columns: 1fr; }
  .gauge { width: 42%; }
  .cook-stage { padding: 14px; }
  .eyebrow { border-radius: 14px; }
  .pack-tile { width: 150px; height: 104px; }
  .pack-tile img { height: 88px; }
  .gal.wide { grid-column: auto; aspect-ratio: 4 / 3; }
  .contact-list li { grid-template-columns: 1fr; gap: 2px; }
}
