/* Cabe Mama — demo konsep TIKUMA (brand F&B pedas fiktif). Tebal, playful, maskot SVG, warna cabai/pandan/kunyit.
   html.motion = animasi aktif; html.capture = mode tangkapan layar (?shot). */

@font-face { font-family: Bricolage; src: url(/cabe-mama/fonts/bricolage.woff2) format('woff2'); font-weight: 400 800; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: Figtree; src: url(/cabe-mama/fonts/figtree.woff2) format('woff2'); font-weight: 400 800; font-display: swap; }

:root {
  --chili: #e8341c; --chili-2: #c4210c; --cream: #fde9d7; --cream-2: #f9dcc4; --pandan: #1f4d2b; --pandan-2: #173b21;
  --kunyit: #f7b516; --ink: #2a120b; --muted: #7a5245; --r: 28px;
  --ease: cubic-bezier(.16, 1, .3, 1); --bounce: cubic-bezier(.34, 1.56, .64, 1); --gut: clamp(18px, 4vw, 56px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { background: var(--cream); color: var(--ink); font: 500 17px/1.55 Figtree, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
ul, ol { list-style: none; }
:focus-visible { outline: 3px solid var(--kunyit); outline-offset: 3px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
.wrap { width: min(1280px, 100% - 2 * var(--gut)); margin-inline: auto; }
.big { font-family: Bricolage, sans-serif; font-weight: 800; font-stretch: 80%; text-transform: uppercase; line-height: .9; letter-spacing: -.01em; }
.h1 { font-size: clamp(64px, 11vw, 190px); }
.h2 { font-size: clamp(44px, 6.4vw, 104px); }
.h3 { font-size: clamp(30px, 3vw, 46px); }
.tag { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; font-weight: 800; font-size: 15px; letter-spacing: .03em; text-transform: uppercase; line-height: 1; transition: transform .4s var(--bounce), background .3s, color .3s; }
.pill:hover { transform: translateY(-3px) rotate(-1.5deg); }
.pill:active { transform: scale(.95); }
.pill svg { width: 18px; height: 18px; }
.pill.red { background: var(--chili); color: #fff; box-shadow: 0 6px 0 var(--chili-2); }
.pill.red:active { box-shadow: 0 2px 0 var(--chili-2); }
.pill.green { background: var(--pandan); color: #fff; box-shadow: 0 6px 0 var(--pandan-2); }
.pill.cream { background: var(--cream); color: var(--ink); box-shadow: 0 6px 0 rgba(0, 0, 0, .18); }
.pill.line { border: 2px solid currentColor; }
.circle-arrow { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 2px solid currentColor; }
.circle-arrow svg { width: 14px; height: 14px; }

/* ticker + header */
.ticker { background: var(--ink); color: var(--kunyit); overflow: hidden; white-space: nowrap; font-weight: 800; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; padding: 9px 0; }
.ticker .t { display: inline-flex; gap: 40px; padding-right: 40px; }
.motion .ticker .t { animation: tick 28s linear infinite; }
@keyframes tick { to { transform: translateX(-100%); } }
.hdr { position: sticky; top: 0; z-index: 40; transition: transform .5s var(--ease); }
.hdr .wrap { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 84px; }
.hdr::before { content: ''; position: absolute; inset: 0; background: rgba(253, 233, 215, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.nav { display: flex; gap: 4px; font-weight: 800; font-size: 14px; letter-spacing: .05em; text-transform: uppercase; }
.nav a { padding: 10px 14px; border-radius: 999px; transition: background .25s, color .25s; }
.nav a:hover { background: var(--ink); color: var(--cream); }
.burger { display: none; align-items: center; gap: 10px; font-weight: 800; text-transform: uppercase; font-size: 14px; }
.burger i { display: grid; gap: 5px; width: 26px; }
.burger i::before, .burger i::after { content: ''; height: 3px; border-radius: 3px; background: var(--chili); }
.badge-logo { position: absolute; left: 50%; top: 6px; width: 104px; height: 104px; transform: translateX(-50%); z-index: 2; transition: transform .6s var(--bounce); filter: drop-shadow(0 8px 14px rgba(42, 18, 11, .18)); }
.badge-logo:hover { transform: translateX(-50%) rotate(-12deg) scale(1.05); }
.badge-logo .ring { transform-origin: 60px 60px; }
.motion .badge-logo .ring { animation: spin 22s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hdr-right { display: flex; gap: 10px; align-items: center; }
.cart-btn { position: relative; }
.cart-btn .count { position: absolute; top: -8px; right: -8px; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 99px; background: var(--kunyit); color: var(--ink); font-size: 12px; display: grid; place-items: center; box-shadow: 0 0 0 3px var(--cream); transform: scale(0); transition: transform .45s var(--bounce); }
.cart-btn.has .count { transform: scale(1); }
.cart-btn.bump { animation: bump .5s var(--bounce); }
@keyframes bump { 30% { transform: scale(1.12) rotate(-3deg); } }
.sheet { position: fixed; inset: 0; z-index: 60; background: var(--chili); color: var(--cream); padding: 24px var(--gut) 40px; display: flex; flex-direction: column; clip-path: circle(0 at 40px 40px); visibility: hidden; transition: clip-path .8s var(--ease), visibility 0s .8s; }
.sheet.open { clip-path: circle(150% at 40px 40px); visibility: visible; transition: clip-path .8s var(--ease), visibility 0s; }
.sheet nav { margin-top: auto; display: grid; }
.sheet nav a { font-family: Bricolage, sans-serif; font-weight: 800; font-stretch: 80%; text-transform: uppercase; font-size: 56px; line-height: 1.02; }
.sheet .close { align-self: flex-end; font-weight: 800; text-transform: uppercase; }

/* hero */
.hero { position: relative; padding: 70px 0 40px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; align-items: center; min-height: 620px; }
.hero .h1 { color: var(--chili); }
.hero .h1 span { display: block; }
.hero .h1 .alt { color: var(--pandan); }
.hero p.lead { font-size: clamp(18px, 1.5vw, 22px); max-width: 30ch; margin: 22px 0 30px; color: var(--muted); }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.sticker { position: absolute; display: grid; place-items: center; text-align: center; font-family: Bricolage, sans-serif; font-weight: 800; text-transform: uppercase; line-height: 1; border-radius: 50%; }
.sticker.s1 { width: 118px; height: 118px; background: var(--kunyit); color: var(--ink); font-size: 16px; left: 44%; top: 22px; transform: rotate(-12deg); }
.sticker.s2 { width: 106px; height: 106px; background: var(--pandan); color: var(--cream); font-size: 14px; right: 4%; bottom: 40px; transform: rotate(10deg); }
.motion .sticker { animation: wobble 5s var(--ease) infinite; }
.motion .sticker.s2 { animation-delay: -2.5s; }
@keyframes wobble { 0%, 100% { rotate: 0deg; } 50% { rotate: 8deg; } }
.stage { position: relative; aspect-ratio: 1; max-width: 560px; justify-self: center; width: 100%; }
.blob { position: absolute; inset: 4%; }
.blob path { fill: var(--kunyit); }
.motion .blob { animation: morph 9s var(--ease) infinite alternate; }
@keyframes morph { to { transform: rotate(20deg) scale(1.04); } }
.mascot { position: absolute; left: 14%; top: 4%; width: 72%; height: auto; overflow: visible; }
.food { position: absolute; width: 27%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 16px 30px -14px rgba(42, 18, 11, .6), 0 0 0 6px #fff; }
.food.f1 { left: -2%; top: 58%; } .food.f2 { right: -3%; top: 12%; width: 22%; } .food.f3 { right: 4%; top: 64%; width: 20%; }
.motion .food { animation: bob 4s var(--ease) infinite; }
.motion .food.f2 { animation-delay: -1.2s; } .motion .food.f3 { animation-delay: -2.4s; }
@keyframes bob { 50% { transform: translateY(-14px) rotate(4deg); } }

/* maskot: ekspresi per level pedas */
.mascot .body { fill: var(--chili); transition: fill .5s; }
.mascot .pupil { transition: transform .12s linear; }
.mascot .lid { fill: var(--chili); transform-box: fill-box; transform-origin: center top; transform: scaleY(0); }
.motion .mascot .lid { animation: blink 5s infinite; }
@keyframes blink { 0%, 94%, 100% { transform: scaleY(0); } 96% { transform: scaleY(1); } }
.mascot .sweat, .mascot .flame, .mascot .steam { opacity: 0; transition: opacity .4s, transform .5s var(--bounce); }
.mascot .mouth-hot { opacity: 0; }
.mascot.lvl-3 .sweat, .mascot.lvl-4 .sweat, .mascot.lvl-5 .sweat { opacity: 1; }
.mascot.lvl-4 .steam, .mascot.lvl-5 .steam { opacity: 1; }
.mascot.lvl-5 .flame { opacity: 1; }
.mascot.lvl-4 .mouth, .mascot.lvl-5 .mouth { opacity: 0; }
.mascot.lvl-4 .mouth-hot, .mascot.lvl-5 .mouth-hot { opacity: 1; }
.mascot.lvl-0 .body, .mascot.lvl-0 .lid { fill: #ef6a4f; } .mascot.lvl-5 .body, .mascot.lvl-5 .lid { fill: #b3160a; }
.motion .mascot .flame { animation: flicker .5s steps(2) infinite; }
@keyframes flicker { 50% { transform: scaleY(1.12) translateY(-4px); } }
.motion .mascot .arm-wave { transform-box: fill-box; transform-origin: 90% 90%; animation: wave 2.4s var(--ease) infinite; }
@keyframes wave { 0%, 60%, 100% { transform: rotate(0); } 70% { transform: rotate(-18deg); } 80% { transform: rotate(8deg); } 90% { transform: rotate(-12deg); } }

/* marquee besar */
.band { background: var(--chili); color: var(--cream); overflow: hidden; padding: 22px 0; transform: rotate(-2deg); margin: 20px -20px; }
.band .track { display: flex; width: max-content; will-change: transform; }
.band span { font-family: Bricolage, sans-serif; font-weight: 800; font-stretch: 80%; text-transform: uppercase; font-size: clamp(40px, 5.6vw, 88px); line-height: 1; padding: 0 .3em; white-space: nowrap; }
.band svg { width: clamp(30px, 3.6vw, 56px); height: auto; align-self: center; flex: none; }

/* menu */
.menu-sec { padding: clamp(90px, 10vw, 140px) 0; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: 36px; }
.sec-head .h2 { color: var(--chili); }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tabs button { padding: 11px 18px; border-radius: 999px; border: 2px solid var(--ink); font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; transition: background .3s, color .3s, transform .35s var(--bounce); }
.tabs button:hover { transform: translateY(-2px); }
.tabs button[aria-pressed="true"] { background: var(--ink); color: var(--cream); }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.item { background: #fff; border-radius: var(--r); padding: 22px 20px 20px; display: flex; flex-direction: column; text-align: center; transition: transform .45s var(--bounce), box-shadow .3s, opacity .35s; }
.item:hover { transform: translateY(-8px) rotate(-1deg); box-shadow: 0 26px 40px -30px rgba(42, 18, 11, .7); }
.item[hidden] { display: none; }
.item.fade { opacity: 0; transform: scale(.94); }
.item .ph { width: 78%; aspect-ratio: 1; margin: 0 auto 16px; border-radius: 50%; overflow: hidden; box-shadow: 0 14px 24px -14px rgba(42, 18, 11, .6); transition: transform .8s var(--bounce); }
.item:hover .ph { transform: rotate(14deg) scale(1.06); }
.item h3 { font-family: Bricolage, sans-serif; font-weight: 800; font-stretch: 85%; text-transform: uppercase; font-size: 22px; line-height: 1.05; }
.item p { font-size: 14px; color: var(--muted); margin: 8px 0 14px; line-height: 1.4; }
.heat { display: flex; justify-content: center; gap: 2px; margin-bottom: 14px; }
.heat svg { width: 18px; height: 18px; }
.heat .off { opacity: .18; filter: grayscale(1); }
.item .row { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.price { font-family: Bricolage, sans-serif; font-weight: 800; font-size: 24px; }
.add { width: 46px; height: 46px; border-radius: 50%; background: var(--chili); color: #fff; display: grid; place-items: center; transition: transform .4s var(--bounce), background .3s; box-shadow: 0 4px 0 var(--chili-2); }
.add:hover { transform: rotate(90deg) scale(1.08); }
.add.done { background: var(--pandan); box-shadow: 0 4px 0 var(--pandan-2); }
.add svg { width: 18px; height: 18px; }
.menu-foot { display: flex; justify-content: center; margin-top: 40px; }

/* level pedas */
.heatlab { position: relative; padding: clamp(80px, 9vw, 130px) 0; background: var(--heat-bg, var(--cream-2)); transition: background .6s; overflow: hidden; border-radius: 48px 48px 0 0; }
.heat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.heat-stage { position: relative; aspect-ratio: 1; max-width: 480px; width: 100%; justify-self: center; }
.heat-stage .mascot { left: 12%; top: 6%; width: 76%; }
.heat-stage .glow { position: absolute; inset: 10%; border-radius: 50%; background: radial-gradient(circle, var(--kunyit), transparent 70%); opacity: var(--glow, .2); transition: opacity .6s; }
.level-name { font-family: Bricolage, sans-serif; font-weight: 800; font-stretch: 80%; text-transform: uppercase; font-size: clamp(56px, 7vw, 120px); line-height: .9; color: var(--chili); margin: 16px 0 12px; }
.slider { margin: 30px 0 14px; }
.slider input { width: 100%; appearance: none; -webkit-appearance: none; height: 14px; border-radius: 99px; background: linear-gradient(90deg, #f7b516, #f26b1d, #c4210c); outline: none; }
.slider input::-webkit-slider-thumb { -webkit-appearance: none; width: 42px; height: 42px; border-radius: 50%; background: #fff; border: 4px solid var(--ink); cursor: grab; box-shadow: 0 6px 0 rgba(42, 18, 11, .25); transition: transform .3s var(--bounce); }
.slider input::-webkit-slider-thumb:active { transform: scale(1.15); }
.slider input::-moz-range-thumb { width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 4px solid var(--ink); cursor: grab; }
.slider .ticks { display: flex; justify-content: space-between; font-weight: 800; font-size: 12px; text-transform: uppercase; margin-top: 12px; color: var(--muted); }
.rec { display: flex; gap: 16px; align-items: center; background: #fff; border-radius: 22px; padding: 14px; margin-top: 22px; }
.rec .ph { width: 76px; height: 76px; border-radius: 50%; overflow: hidden; flex: none; }
.rec b { display: block; font-family: Bricolage, sans-serif; font-weight: 800; text-transform: uppercase; font-size: 20px; }
.rec span { font-size: 14px; color: var(--muted); }

/* cerita */
.story { background: var(--cream); padding: clamp(90px, 10vw, 140px) 0; position: relative; overflow: hidden; }
.story .ghost { position: absolute; left: 0; top: 60px; white-space: nowrap; font-family: Bricolage, sans-serif; font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: clamp(120px, 18vw, 300px); line-height: .8; color: var(--chili); opacity: .12; filter: blur(var(--blur, 0px)); will-change: transform, filter; pointer-events: none; }
.story-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; align-items: end; }
.story-grid .txt { align-self: center; padding-right: 20px; }
.story-grid .h2 { color: var(--pandan); margin: 14px 0 18px; font-size: clamp(44px, 5vw, 84px); }
.story-grid p { color: var(--muted); margin-bottom: 24px; }
.ph-card { border-radius: var(--r); overflow: hidden; position: relative; }
.ph-card.tall { aspect-ratio: 4 / 5; }
.ph-card.wide { aspect-ratio: 3 / 2; }
.ph-card img { transition: transform 1.4s var(--ease); }
.ph-card:hover img { transform: scale(1.05); }
.ph-card .cap { position: absolute; left: 14px; bottom: 14px; background: var(--cream); color: var(--ink); padding: 8px 12px; border-radius: 999px; font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }

/* kartu stempel */
.loyal { position: relative; background: var(--chili); color: var(--cream); padding: clamp(90px, 10vw, 140px) 0; overflow: hidden; border-radius: 48px; margin: 0 clamp(0px, 1.2vw, 16px); }
.loyal .blobs { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .35; }
.loyal .blobs path { fill: var(--chili-2); }
.loyal-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.loyal .new { display: inline-block; background: var(--kunyit); color: var(--ink); padding: 6px 12px; border-radius: 999px; font-weight: 800; font-size: 12px; letter-spacing: .08em; }
.loyal .h2 { margin: 18px 0 18px; }
.loyal p { max-width: 42ch; margin-bottom: 26px; opacity: .92; }
.card { background: var(--cream); color: var(--ink); border-radius: 30px; padding: 26px; box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .6); transform: rotate(-3deg); transition: transform .6s var(--bounce); }
.card:hover { transform: rotate(0); }
.card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.card-top b { font-family: Bricolage, sans-serif; font-weight: 800; font-stretch: 80%; text-transform: uppercase; font-size: 28px; }
.stamps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.stamp { aspect-ratio: 1; border-radius: 50%; border: 3px dashed rgba(42, 18, 11, .25); display: grid; place-items: center; font-weight: 800; color: rgba(42, 18, 11, .3); font-size: 15px; position: relative; }
.stamp svg { position: absolute; inset: 12%; width: 76%; height: 76%; opacity: 0; transform: scale(2) rotate(-30deg); }
.stamp.on { border: 3px solid var(--chili); color: transparent; }
.stamp.on svg { opacity: 1; transform: none; transition: transform .45s var(--bounce), opacity .2s; }
.stamp.free { background: var(--kunyit); border-color: var(--kunyit); color: var(--ink); font-size: 11px; text-transform: uppercase; text-align: center; line-height: 1.1; }
.card-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.card-msg { font-weight: 800; }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 70; overflow: hidden; }
.confetti i { position: absolute; top: -40px; width: 22px; height: 22px; background-size: contain; animation: fall linear forwards; }
@keyframes fall { to { transform: translateY(110vh) rotate(720deg); } }

/* outlet */
.outlets { padding: clamp(90px, 10vw, 140px) 0; }
.outlets .h2 { color: var(--chili); }
.olist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.outlet { display: flex; align-items: center; gap: 16px; background: #fff; border-radius: 22px; padding: 18px 20px; transition: transform .4s var(--bounce); }
.outlet:hover { transform: translateX(6px); }
.outlet[hidden] { display: none; }
.outlet .pin { width: 50px; height: 50px; border-radius: 16px; background: var(--cream-2); display: grid; place-items: center; color: var(--chili); flex: none; }
.outlet .pin svg { width: 24px; height: 24px; }
.outlet h3 { font-family: Bricolage, sans-serif; font-weight: 800; font-stretch: 85%; text-transform: uppercase; font-size: 22px; line-height: 1.1; }
.outlet p { font-size: 14px; color: var(--muted); }
.status { margin-left: auto; padding: 7px 12px; border-radius: 999px; font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; background: #eee; color: #777; }
.status.open { background: #dff3e4; color: var(--pandan); }
.status.open::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #2fa54f; margin-right: 6px; vertical-align: 1px; }
.motion .status.open::before { animation: live 1.6s infinite; }
@keyframes live { 50% { opacity: .3; } }

/* katering */
.cater { background: var(--pandan); color: var(--cream); border-radius: 48px; margin: 0 clamp(0px, 1.2vw, 16px) clamp(90px, 10vw, 140px); overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; }
.cater .txt { padding: clamp(40px, 6vw, 90px); align-self: center; }
.cater .h2 { color: var(--kunyit); margin: 14px 0 18px; }
.cater p { max-width: 40ch; margin-bottom: 26px; opacity: .9; }
.cater .ph { min-height: 420px; }

/* footer */
.foot { background: var(--pandan-2); color: rgba(253, 233, 215, .8); padding: 70px 0 30px; border-radius: 48px 48px 0 0; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 30px; }
.foot h4 { font-family: Bricolage, sans-serif; font-weight: 800; text-transform: uppercase; color: var(--kunyit); margin-bottom: 12px; font-size: 18px; }
.foot li { padding: 3px 0; font-weight: 600; text-transform: uppercase; font-size: 14px; letter-spacing: .03em; }
.foot a:hover { color: #fff; }
.foot .word { font-family: Bricolage, sans-serif; font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: clamp(56px, 16.5vw, 250px); line-height: .8; color: var(--chili); margin: 50px 0 20px; white-space: nowrap; overflow: hidden; }
.credits { font-size: 13px; }
.credits summary { cursor: pointer; font-weight: 800; color: var(--cream); }
.credits ul { columns: 3; gap: 20px; margin-top: 10px; }
.credits a { text-decoration: underline; }
.legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(253, 233, 215, .15); font-size: 13px; }
.legal a { text-decoration: underline; }

/* keranjang (drawer) + demo */
.drawer { margin: 0 0 0 auto; width: min(440px, 100vw); height: 100vh; height: 100dvh; background: var(--cream); color: var(--ink); padding: 26px; display: none; flex-direction: column; }
.drawer[open] { display: flex; }
.motion .drawer[open] { animation: slidein .6s var(--ease); }
@keyframes slidein { from { transform: translateX(100%); } }
.drawer h3 { font-family: Bricolage, sans-serif; font-weight: 800; font-stretch: 80%; text-transform: uppercase; font-size: 40px; line-height: 1; }
.drawer .lines { margin: 20px 0; display: grid; gap: 12px; overflow-y: auto; }
.cart-line { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; background: #fff; border-radius: 18px; padding: 10px; }
.cart-line .ph { width: 56px; height: 56px; border-radius: 50%; overflow: hidden; }
.cart-line b { font-family: Bricolage, sans-serif; font-weight: 800; text-transform: uppercase; font-size: 16px; line-height: 1.1; display: block; }
.qty { display: flex; align-items: center; gap: 6px; font-weight: 800; }
.qty button { width: 28px; height: 28px; border-radius: 50%; background: var(--cream-2); font-weight: 800; }
.drawer .total { display: flex; justify-content: space-between; font-family: Bricolage, sans-serif; font-weight: 800; font-size: 26px; text-transform: uppercase; border-top: 2px dashed rgba(42, 18, 11, .2); padding-top: 16px; margin-top: auto; }
.drawer .empty { color: var(--muted); }
dialog { border: 0; padding: 0; max-width: none; max-height: none; background: transparent; }
dialog::backdrop { background: rgba(42, 18, 11, .55); }
.note { margin: auto; width: min(520px, calc(100% - 32px)); background: var(--cream); color: var(--ink); border-radius: 30px; padding: 34px; }
.note h3 { font-family: Bricolage, sans-serif; font-weight: 800; font-stretch: 80%; text-transform: uppercase; font-size: 38px; line-height: .95; color: var(--chili); margin: 12px 0; }
.note p { color: var(--muted); }
.note .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.demo { position: fixed; left: 16px; bottom: 16px; z-index: 50; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 12px; border-radius: 99px; background: #fff; color: #111; font: 600 13px/1.2 system-ui, sans-serif; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .35); }
.demo i { width: 8px; height: 8px; border-radius: 50%; background: #4f46e5; box-shadow: 0 0 0 4px rgba(79, 70, 229, .18); }
.demo span { color: #666; font-weight: 400; }
.capture .demo { display: none; }
body.lock { overflow: hidden; }

/* muncul saat digulir */
.motion [data-rv] { opacity: 0; transform: translateY(40px) rotate(1.5deg); transition: opacity .8s var(--ease), transform 1s var(--bounce); transition-delay: var(--d, 0s); }
.motion [data-rv].in { opacity: 1; transform: none; }

@media (max-width: 1060px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .heat-grid, .loyal-grid, .cater { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr 1fr; }
  .story-grid .txt { grid-column: span 2; }
  .olist { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .hdr .wrap { min-height: 70px; }
  .badge-logo { width: 84px; height: 84px; }
  .hdr-right .pill span { display: none; }
  .hero { padding-top: 60px; }
  .sticker.s1, .sticker.s3 { display: none; }
  .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .item { padding: 16px 12px; }
  .item h3 { font-size: 17px; }
  .item p { display: none; }
  .price { font-size: 19px; }
  .add { width: 40px; height: 40px; }
  .story-grid { grid-template-columns: 1fr; }
  .story-grid .txt { grid-column: auto; }
  .credits ul { columns: 1; }
  .foot-grid { grid-template-columns: 1fr; }
  .outlet { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}

/* lapisan FX bersama (/_fx): warna, intro, judul hero menunggu intro, stiker yang bisa dilempar */
:root { --fx-paper: var(--chili); --fx-ink: var(--cream); --fx-accent: var(--chili); --fx-label-bg: var(--kunyit); --fx-label-fg: var(--ink); }
.motion .hero .h1 span { transition: opacity .6s, transform 1s var(--bounce); }
.motion .hero .h1 .alt { transition-delay: .12s; }
html.motion:not(.fx-ready) .hero .h1 span { opacity: 0; transform: translateY(60px) rotate(-6deg); }
.intro-mark { display: grid; justify-items: center; font-family: Bricolage, sans-serif; font-weight: 800; font-stretch: 78%; text-transform: uppercase; font-size: clamp(72px, 13vw, 150px); line-height: .82; }
.intro-mark span:nth-child(2) { color: var(--kunyit); }
.intro-mark em { font: 700 14px/1 Figtree, sans-serif; letter-spacing: .2em; font-style: normal; margin-top: 22px; }
.motion .intro-mark span { animation: cmDrop .9s var(--bounce) both; }
.motion .intro-mark span:nth-child(2) { animation-delay: .12s; }
.motion .intro-mark em { animation: cmDrop .9s .3s var(--bounce) both; }
@keyframes cmDrop { from { opacity: 0; transform: translateY(-80px) rotate(-8deg); } }
.sticker { z-index: 3; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; }
.sticker.dragging { cursor: grabbing; animation-play-state: paused; z-index: 4; }
.sticker.s3 { width: 112px; height: 112px; left: 41%; bottom: 26px; background: var(--chili); color: var(--cream); font-size: 17px; transform: rotate(8deg); clip-path: polygon(50.0% 0.0%, 60.6% 10.4%, 75.0% 6.7%, 79.0% 21.0%, 93.3% 25.0%, 89.6% 39.4%, 100.0% 50.0%, 89.6% 60.6%, 93.3% 75.0%, 79.0% 79.0%, 75.0% 93.3%, 60.6% 89.6%, 50.0% 100.0%, 39.4% 89.6%, 25.0% 93.3%, 21.0% 79.0%, 6.7% 75.0%, 10.4% 60.6%, 0.0% 50.0%, 10.4% 39.4%, 6.7% 25.0%, 21.0% 21.0%, 25.0% 6.7%, 39.4% 10.4%); }
.sticker.s3 span { transform: rotate(-8deg); }
.motion .sticker.s3 { animation-delay: -1.2s; }
