/* ==========================================================================
   WAREG — Retro Warung Pop
   Palet: krem nasi · merah sambal · hijau daun pisang · kuning kunyit · kecap
   Font : Calistoga (display) + Plus Jakarta Sans (teks) — self-hosted
   ========================================================================== */

/* ---------- Fonts (self-hosted, latin subset) ---------- */
@font-face {
  font-family: "Calistoga";
  src: url("../fonts/calistoga-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --cream: #FBF1DE;        /* nasi hangat — latar utama */
  --cream-2: #F4E2C0;      /* kerupuk — latar selang-seling */
  --paper: #FFF8EC;        /* permukaan kartu */
  --ink: #22160F;          /* kecap — teks & garis */
  --ink-2: #5A4636;        /* teks sekunder (7.9:1 di krem) */
  --red: #C8231A;          /* sambal */
  --green: #1F6B3A;        /* daun pisang — aksi WhatsApp */
  --yellow: #F2B02F;       /* kunyit */
  --yellow-soft: #FFD166;  /* kuning di atas merah (kontras 3.9:1, teks besar) */
  --blue: #2A56B0;         /* bibir piring enamel */

  --font-display: "Calistoga", Georgia, "Times New Roman", serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --maxw: 1200px;
  --radius: 22px;
  --shadow: 4px 4px 0 var(--ink);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-pop: cubic-bezier(.34, 1.56, .64, 1);
  --nav-h: 64px;
}
@media (min-width: 1024px) { :root { --nav-h: 76px; } }

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  overflow-x: clip;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
@media (min-width: 1024px) { body { font-size: 1.0625rem; } }
img, svg, picture, video { display: block; max-width: 100%; }
img { height: auto; }
[hidden] { display: none !important; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--yellow); color: var(--ink); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 1rem; top: -100px; z-index: 100;
  padding: .75rem 1rem; border-radius: 12px; background: var(--ink); color: var(--cream);
  font-weight: 800; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 1rem; }

.container { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.section { position: relative; padding-block: clamp(4.5rem, 9vw, 8rem); }
.muted { color: var(--ink-2); }
.ico { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Grain (tekstur kertas warung) ---------- */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 90; pointer-events: none;
  opacity: .07;
  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='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .13 0 0 0 0 .09 0 0 0 0 .06 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: currentColor; }
.eyebrow--pill {
  gap: .45rem; padding: .45rem .85rem .45rem .7rem; border-radius: 999px;
  background: var(--paper); border: 2px solid var(--ink); color: var(--ink);
  letter-spacing: .06em; text-transform: none; font-size: .85rem;
}
.eyebrow--pill::before { display: none; }
.eyebrow--pill .ico { width: 1.05rem; height: 1.05rem; color: var(--red); }

.section-head { max-width: 780px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.25rem, 5.4vw, 4.1rem); line-height: 1.02; letter-spacing: -.012em;
  margin-top: .7rem; text-wrap: balance;
}
.section-sub { margin-top: 1rem; font-size: clamp(1rem, .6vw + .85rem, 1.15rem); color: var(--ink-2); max-width: 54ch; }
.hl { position: relative; z-index: 0; white-space: nowrap; }
.hl::after {
  content: ""; position: absolute; z-index: -1; left: -.08em; right: -.08em; bottom: .06em; height: .34em;
  background: var(--yellow); border-radius: .2em; transform: skewX(-10deg);
}
.fineprint { margin-top: 1.25rem; font-size: .82rem; line-height: 1.5; color: var(--ink-2); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--cream);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .8rem 1.35rem;
  border: 2.5px solid var(--ink); border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-weight: 800; font-size: 1rem; line-height: 1.1; text-decoration: none; white-space: nowrap;
  box-shadow: var(--shadow);
  transition: transform .18s var(--ease-out), box-shadow .18s var(--ease-out), background-color .2s;
  cursor: pointer;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); transition-duration: .06s; }
.btn .ico { width: 1.3em; height: 1.3em; }
.btn--wa { --bg: var(--green); --fg: #fff; }
.btn--ink { --bg: var(--ink); --fg: var(--cream); }
.btn--cream { --bg: var(--cream); --fg: var(--ink); }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: none; }
.btn--ghost:hover { background: var(--paper); box-shadow: 4px 4px 0 var(--ink); }
.btn--sm { min-height: 44px; padding: .5rem 1rem; font-size: .92rem; box-shadow: 3px 3px 0 var(--ink); }
.btn--lg { min-height: 56px; padding: 1rem 1.6rem; font-size: 1.05rem; }
.btn--xl { min-height: 64px; padding: 1.1rem 2.1rem; font-size: 1.15rem; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }

.linkbtn {
  min-height: 44px; padding: .5rem 0; border: 0; background: none;
  font-weight: 800; color: var(--red); text-decoration: underline; text-underline-offset: 3px;
}
.icon-btn {
  display: grid; place-items: center; width: 44px; height: 44px; flex: none;
  border-radius: 50%; border: 2px solid var(--ink); background: var(--paper);
}
.icon-btn .ico { width: 22px; height: 22px; }

/* ---------- Status buka/tutup ---------- */
.status {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .35rem .75rem; border-radius: 999px; border: 2px solid var(--ink); background: var(--paper);
  font-size: .8rem; font-weight: 800; line-height: 1.2; white-space: nowrap;
}
.status__dot { width: 9px; height: 9px; border-radius: 50%; background: #9C8C7C; flex: none; }
.status.is-open .status__dot { background: #1FA34A; animation: blink 2s ease-in-out infinite; }
.status.is-closed .status__dot { background: var(--red); }
.status--lg { font-size: .88rem; }
@keyframes blink { 50% { opacity: .35; } }

/* ---------- Tags & stickers ---------- */
.tag {
  position: absolute; top: .6rem; left: .6rem; z-index: 2;
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .28rem .6rem; border-radius: 999px; border: 2px solid var(--ink);
  font-size: .74rem; font-weight: 800; line-height: 1.2;
}
.tag .ico { width: 14px; height: 14px; }
.tag--red { background: var(--red); color: var(--cream); }
.tag--yellow { background: var(--yellow); color: var(--ink); }

/* ---------- Awning (tenda warung) ---------- */
.awning { position: relative; height: 30px; filter: drop-shadow(0 3px 0 var(--ink)); }
.awning::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, var(--red) 0 40px, var(--paper) 40px 80px);
  -webkit-mask: radial-gradient(20px at 20px 10px, #000 97%, #0000) 0 0 / 40px 100% repeat-x, linear-gradient(#000 0 0) 0 0 / 100% 10px no-repeat;
          mask: radial-gradient(20px at 20px 10px, #000 97%, #0000) 0 0 / 40px 100% repeat-x, linear-gradient(#000 0 0) 0 0 / 100% 10px no-repeat;
}
@media (min-width: 1024px) {
  .awning { height: 40px; }
  .awning::before {
    background: repeating-linear-gradient(90deg, var(--red) 0 56px, var(--paper) 56px 112px);
    -webkit-mask: radial-gradient(28px at 28px 12px, #000 97%, #0000) 0 0 / 56px 100% repeat-x, linear-gradient(#000 0 0) 0 0 / 100% 12px no-repeat;
            mask: radial-gradient(28px at 28px 12px, #000 97%, #0000) 0 0 / 56px 100% repeat-x, linear-gradient(#000 0 0) 0 0 / 100% 12px no-repeat;
  }
}

/* ---------- Scroll progress (CSS scroll-driven, tanpa JS) ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 4px; z-index: 80; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--red); transform-origin: 0 50%; transform: scaleX(0); }
@supports (animation-timeline: scroll()) {
  .progress span { animation: grow-x linear both; animation-timeline: scroll(root); }
}
@keyframes grow-x { to { transform: scaleX(1); } }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 241, 222, .96);
  transition: transform .35s var(--ease-out), box-shadow .3s;
}
.nav.is-scrolled { box-shadow: 0 2px 0 var(--ink); }
.nav.is-hidden { transform: translateY(-105%); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); text-decoration: none; }
.brand__mark { width: 42px; height: 42px; }
.brand__name { font-weight: 800; font-size: 1rem; letter-spacing: .32em; margin-right: -.32em; }
.nav__links { display: none; }
.nav__actions { display: flex; align-items: center; gap: .5rem; }
.nav .status { display: none; }
.nav__toggle {
  display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: 50%; border: 2px solid var(--ink); background: var(--paper);
}
.nav__toggle .ico { width: 22px; height: 22px; }
.mobile-menu { border-top: 2px solid var(--ink); background: var(--cream); }
.mobile-menu nav { display: grid; padding-block: .25rem 1rem; }
.mobile-menu a {
  display: flex; align-items: center; min-height: 56px;
  font-family: var(--font-display); font-size: 1.7rem; text-decoration: none;
  border-bottom: 1.5px dashed rgba(34, 22, 15, .22);
}
@media (min-width: 1024px) {
  .nav__links { display: flex; gap: .15rem; }
  .nav__links a {
    display: inline-flex; align-items: center; min-height: 44px; padding: .5rem .95rem;
    border-radius: 999px; font-weight: 700; text-decoration: none; transition: background-color .2s, color .2s;
  }
  .nav__links a:hover { background: var(--paper); }
  .nav__links a.is-active { background: var(--ink); color: var(--cream); }
  .nav__toggle, .mobile-menu { display: none !important; }
  .brand__mark { width: 48px; height: 48px; }
}
@media (min-width: 1180px) { .nav .status { display: inline-flex; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(1.75rem, 4vw, 2.5rem); padding-bottom: clamp(2rem, 5vw, 3.5rem); }
.hero__inner { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.hero__copy { max-width: 640px; }
.hero__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.6rem, 12vw, 5.6rem); line-height: .98; letter-spacing: -.02em;
  margin: 1.1rem 0 1.2rem;
}
.hw { display: inline-block; overflow: hidden; vertical-align: top; padding: .06em .03em .16em; margin: -.06em -.03em -.16em; }
.hw > span { display: inline-block; animation: rise .8s var(--ease-out) both; animation-delay: calc(.02s + var(--i) * .07s); }
.accent { position: relative; display: inline-block; color: var(--red); isolation: isolate; }
.scribble { position: absolute; z-index: -1; left: -4%; bottom: .02em; width: 108%; height: .26em; color: var(--yellow); overflow: visible; }
.scribble path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .9s .75s var(--ease-out) forwards; }
@keyframes rise { from { transform: translateY(108%) rotate(5deg); } to { transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero__lead { font-size: clamp(1.05rem, .7vw + .9rem, 1.25rem); color: var(--ink-2); max-width: 40ch; animation: fade-up .8s .45s var(--ease-out) both; }
.hero__cta { display: grid; gap: .75rem; margin-top: 1.6rem; animation: fade-up .8s .55s var(--ease-out) both; }
.hero__facts { display: grid; gap: .55rem; margin-top: 1.5rem; font-size: .95rem; animation: fade-up .8s .65s var(--ease-out) both; }
.hero__facts li { display: flex; align-items: center; gap: .6rem; }
.hero__facts .ico { width: 1.3rem; height: 1.3rem; color: var(--red); }
@keyframes fade-up { from { opacity: 0; translate: 0 18px; } }
@media (min-width: 480px) {
  .hero__cta { display: flex; flex-wrap: wrap; }
}

/* visual: semua posisi dalam % supaya skalanya ikut lebar */
.hero__visual { position: relative; width: 100%; max-width: 560px; margin-inline: auto; aspect-ratio: 1 / 1.02; }
.arch {
  position: absolute; right: 7%; top: 3%; width: 56%; aspect-ratio: 4 / 5; margin: 0;
  border-radius: 999px 999px 28px 28px; overflow: hidden;
  border: 3px solid var(--ink); box-shadow: 10px 10px 0 var(--red);
  background: var(--cream-2);
  animation: arch-in 1s .12s var(--ease-out) both;
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
@keyframes arch-in { from { opacity: 0; clip-path: inset(65% -40px -40px -40px); } to { opacity: 1; clip-path: inset(-40px); } }

.plate { position: absolute; aspect-ratio: 1; isolation: isolate; }
.plate::before {
  content: ""; position: absolute; z-index: -1; inset: 10% -5% -9% 9%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(34, 22, 15, .42), rgba(34, 22, 15, 0));
}
.plate picture, .plate img { width: 100%; height: 100%; border-radius: 50%; }
.plate--a { left: -3%; bottom: 1%; width: 47%; }
.plate--b { right: -4%; bottom: 17%; width: 33%; }
.spin { animation: pop .9s .45s var(--ease-pop) both, spin 70s linear infinite; }
.spin--rev { animation: pop .9s .6s var(--ease-pop) both, spin 52s linear infinite reverse; }
@keyframes spin { to { rotate: 360deg; } }
@keyframes pop { from { scale: 0; } }

.badge-rotate { position: absolute; left: 3%; top: 4%; width: 25%; aspect-ratio: 1; color: var(--ink); }
.badge-rotate__ring { width: 100%; height: 100%; animation: pop .8s .8s var(--ease-pop) both, spin 18s linear infinite; }
.badge-rotate__ring text { font-family: var(--font-body); font-weight: 800; }
.badge-rotate__logo { position: absolute; inset: 29%; width: 42%; height: 42%; color: var(--cream); animation: pop .7s 1s var(--ease-pop) both; }

.sticker--burst {
  position: absolute; right: -1%; top: 1%; width: 27%; aspect-ratio: 1;
  display: grid; place-items: center; rotate: -12deg;
  animation: pop .8s .95s var(--ease-pop) both;
}
.sticker__bg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sticker__shadow { fill: var(--ink); }
.sticker__fill { fill: var(--yellow); stroke: var(--ink); stroke-width: 2.4px; }
.sticker--burst span { position: relative; font-family: var(--font-display); font-size: clamp(.82rem, 3.1vw, 1.3rem); line-height: 1; text-align: center; }

.doodle { position: absolute; overflow: visible; animation: pop .7s 1.1s var(--ease-pop) both, bob 3.6s 1.8s ease-in-out infinite alternate; }
.doodle--chili { left: 29%; top: 40%; width: 15%; }
.doodle--leaf { right: 38%; bottom: -1%; width: 13%; animation-delay: 1.2s, 2.1s; }
.doodle--spark { left: 41%; top: 1%; width: 7%; color: var(--yellow); animation-delay: 1.3s, 2.4s; }
@keyframes bob { from { translate: 0 0; } to { translate: 0 -10px; } }

@media (min-width: 1024px) {
  .hero__inner { grid-template-columns: 1.12fr .88fr; min-height: calc(100svh - var(--nav-h) - 40px); max-height: 860px; }
  .hero__title { font-size: clamp(3rem, 6.6vw, 5.2rem); }
  .hero__visual { max-width: 600px; margin-right: 0; }
}

/* ---------- Ticker (pita menyilang) ---------- */
.ticker { position: relative; overflow: hidden; padding-block: clamp(2rem, 5vw, 3.5rem) clamp(.5rem, 3vw, 2rem); }
.ticker__band { position: relative; width: 112%; margin-left: -6%; border-block: 3px solid var(--ink); overflow: hidden; }
.ticker__band--ink { z-index: 2; background: var(--ink); color: var(--cream); rotate: -4deg; }
.ticker__band--red { z-index: 1; background: var(--red); color: var(--cream); rotate: 3deg; margin-top: -.9rem; }
@media (min-width: 1024px) { .ticker__band--ink { rotate: -3deg; } .ticker__band--red { rotate: 2.4deg; margin-top: -2.9rem; } }
.ticker__track { display: flex; width: max-content; animation: marquee 42s linear infinite; will-change: transform; }
.ticker__track[data-ticker="1"] { animation-direction: reverse; animation-duration: 48s; }
.ticker__group { display: flex; align-items: center; gap: 1.4rem; padding: .85rem 1.4rem .85rem 0; flex: none; }
.ticker__group span { font-family: var(--font-display); font-size: clamp(1.35rem, 3vw, 2.3rem); line-height: 1; white-space: nowrap; }
.ticker__group svg { width: 1.3rem; height: 1.3rem; color: var(--yellow); flex: none; }
.ticker__band--red .ticker__group svg { color: var(--yellow-soft); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Kenapa WAREG (bento) ---------- */
.bento { display: grid; gap: clamp(.9rem, 2vw, 1.25rem); }
.tile {
  position: relative; display: flex; flex-direction: column; gap: .65rem;
  padding: clamp(1.4rem, 3vw, 2.2rem); min-height: 210px;
  border: 2.5px solid var(--ink); border-radius: 28px; overflow: hidden;
}
.tile p { font-size: 1rem; line-height: 1.55; }
.tile__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.55rem, 2.4vw, 2.05rem); line-height: 1.05; margin-top: auto; }
.tile--yellow { background: var(--yellow); }
.tile--green { background: var(--green); color: var(--cream); }
.tile--red { background: var(--red); color: var(--cream); }
.tile--cream { background: var(--paper); }
.tile .tile__num { font-family: var(--font-display); font-size: clamp(4.2rem, 13vw, 8rem); line-height: .85; letter-spacing: -.03em; }
.unit { margin-left: .18em; font-family: var(--font-body); font-size: .3em; font-weight: 800; letter-spacing: .08em; }
.stats .unit { font-size: .38em; }
.tile__icon { width: 58px; height: 58px; }
.tile__icon--ink { color: var(--red); width: 50px; height: 50px; }
.tile .tile__stamp {
  position: absolute; right: 1.25rem; top: 1.1rem; display: grid; place-items: center;
  width: 78px; height: 78px; border-radius: 50%; border: 2.5px dashed rgba(251, 241, 222, .8);
  font-family: var(--font-display); font-size: 1.9rem; rotate: 12deg;
}
.tile--photo { padding: 0; min-height: 260px; }
.tile--photo picture, .tile--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile--photo .tag { top: auto; left: 1rem; bottom: 1rem; font-size: .85rem; padding: .4rem .8rem; }
@media (min-width: 720px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile--hours { grid-column: span 2; }
}
@media (min-width: 1024px) {
  .bento { grid-template-columns: 1fr 1fr 1.05fr; grid-template-areas: "hours hours photo" "green red photo" "cream cream cream"; }
  .tile--hours { grid-area: hours; min-height: 280px; }
  .tile--photo { grid-area: photo; }
  .tile--green { grid-area: green; }
  .tile--red { grid-area: red; }
  .tile--cream { grid-area: cream; min-height: 0; flex-direction: row; align-items: center; gap: 1.5rem; }
  .tile--cream .tile__title { margin-top: 0; }
  .tile--cream p { max-width: 60ch; }
}

/* ---------- Menu ---------- */
.section-head--split { display: grid; gap: 1.5rem; max-width: none; }
.steps { display: flex; flex-wrap: wrap; gap: .5rem; counter-reset: step; }
.steps li {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .45rem .95rem .45rem .45rem; border-radius: 999px; border: 2px solid var(--ink); background: var(--paper);
  font-weight: 800; font-size: .9rem;
}
.steps__n { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--cream); font-size: .82rem; }
@media (min-width: 1024px) {
  .section-head--split { grid-template-columns: 1fr auto; align-items: end; }
}

.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.chip {
  min-height: 44px; padding: .5rem 1.15rem; border-radius: 999px;
  border: 2px solid var(--ink); background: transparent; font-weight: 800; font-size: .95rem;
  transition: background-color .2s, color .2s, transform .15s;
}
.chip:hover { background: var(--paper); }
.chip:active { transform: scale(.96); }
.chip.is-active { background: var(--ink); color: var(--cream); }

.dish-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.75rem, 2vw, 1.4rem); }
@media (max-width: 359px) { .dish-grid { grid-template-columns: 1fr; } }
@media (min-width: 720px) { .dish-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .dish-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.dish {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); border: 2.5px solid var(--ink); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .22s var(--ease-out), box-shadow .22s var(--ease-out);
}
.dish:hover { transform: translate(-3px, -3px); box-shadow: 7px 7px 0 var(--ink); }
.dish__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-bottom: 2.5px solid var(--ink); background: var(--cream-2); }
.dish__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.dish:hover .dish__media img { transform: scale(1.07); }
.dish__qty {
  position: absolute; top: .55rem; right: .55rem; z-index: 2;
  display: grid; place-items: center; min-width: 38px; height: 34px; padding: 0 .55rem;
  border-radius: 999px; border: 2px solid var(--ink); background: var(--green); color: #fff;
  font-weight: 800; font-size: .85rem; font-variant-numeric: tabular-nums;
}
.dish__body { display: flex; flex-direction: column; gap: .35rem; flex: 1; padding: .85rem .85rem 1rem; }
.dish__name { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.08rem, .9vw + .8rem, 1.38rem); line-height: 1.1; }
.dish__desc { font-size: .86rem; line-height: 1.45; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.dish__foot { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: auto; padding-top: .45rem; }
.price { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.add {
  display: inline-flex; align-items: center; justify-content: center; gap: .3rem;
  min-width: 44px; min-height: 44px; padding: .45rem .8rem;
  border: 2.5px solid var(--ink); border-radius: 999px; background: var(--yellow); color: var(--ink);
  font-weight: 800; font-size: .9rem; box-shadow: 2px 2px 0 var(--ink);
  transition: background-color .15s, transform .12s, box-shadow .12s;
}
.add .ico { width: 18px; height: 18px; }
.add:hover { background: var(--yellow-soft); }
.add:active { transform: translate(2px, 2px); box-shadow: 0 0 0 var(--ink); }
.add.is-bump { animation: bump .35s var(--ease-pop); }
.add__label { display: none; }
@keyframes bump { 40% { scale: 1.18; } }
@media (min-width: 520px) { .add__label { display: inline; } .dish__body { padding: 1rem 1.05rem 1.1rem; } }

.extras { display: grid; gap: 1.25rem; margin-top: clamp(1.75rem, 4vw, 2.75rem); }
@media (min-width: 900px) { .extras { grid-template-columns: 1fr 1fr; align-items: start; } }
.extras__group { padding: clamp(1.1rem, 2.5vw, 1.6rem); border: 2.5px solid var(--ink); border-radius: 26px; background: var(--paper); }
.extras__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.35rem, 2vw, 1.6rem); line-height: 1.1; margin-bottom: .5rem; }
.extra {
  display: grid; grid-template-columns: 52px minmax(0, 1fr) auto auto auto; align-items: center; gap: .4rem .75rem;
  padding: .6rem 0; border-top: 1.5px dashed rgba(34, 22, 15, .25);
}
.extra:first-child { border-top: 0; }
.extra__thumb {
  position: relative; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: #fff; color: var(--ink); overflow: hidden;
}
.extra__thumb::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 3px var(--blue), inset 0 0 0 5px #fff; pointer-events: none; }
.extra__thumb svg { width: 28px; height: 28px; }
.extra__thumb--red { color: var(--red); }
.extra__thumb--photo img { width: 100%; height: 100%; object-fit: cover; }
.extra__name { font-weight: 700; line-height: 1.25; }
.extra__qty { font-size: .8rem; font-weight: 800; color: #fff; background: var(--green); border-radius: 999px; padding: .15rem .5rem; font-variant-numeric: tabular-nums; }
.add--sm { width: 44px; height: 44px; padding: 0; }

/* ---------- Menu dari Google Sheet: status & placeholder ---------- */
.tag--green { background: var(--green); color: #fff; }
.tag--ink { background: var(--ink); color: var(--cream); }
.dish.is-soldout .dish__media img { filter: grayscale(1); opacity: .55; }
.dish.is-soldout .dish__name, .dish.is-soldout .price { color: var(--ink-2); }
.soldout {
  position: absolute; right: .55rem; bottom: .55rem; z-index: 2;
  padding: .3rem .7rem; border-radius: 999px; border: 2px solid var(--ink);
  background: var(--ink); color: var(--cream); font-size: .76rem; font-weight: 800;
}
.add--off { min-width: 0; width: auto; height: auto; padding: .45rem .85rem; background: var(--cream-2); color: var(--ink-2); box-shadow: none; cursor: not-allowed; font-size: .82rem; }
.add--off:hover { background: var(--cream-2); }
.dish__ph {
  display: grid; place-items: center; align-content: center; gap: .45rem; width: 100%; height: 100%;
  padding-top: 1.6rem; background: repeating-linear-gradient(45deg, var(--cream-2) 0 14px, #F8EACF 14px 28px); text-align: center;
}
.dish__ph-mark { width: 34%; max-width: 104px; aspect-ratio: 1; color: var(--ink); opacity: .8; }
.dish__ph span { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.extra__thumb--ph { font-family: var(--font-display); font-size: 1.35rem; line-height: 1; color: var(--red); background: var(--paper); }
.extra.is-soldout .extra__thumb, .extra.is-soldout .extra__name, .extra.is-soldout .price { opacity: .5; }
.extra__tag {
  display: inline-block; margin-left: .3rem; padding: .05rem .45rem; border-radius: 999px; border: 1.5px solid var(--ink);
  background: var(--yellow); font-size: .66rem; font-weight: 800; line-height: 1.5; vertical-align: middle;
}
.menu-noscript { display: grid; gap: .3rem; padding: 1rem 1.25rem; border: 2.5px solid var(--ink); border-radius: 22px; background: var(--paper); font-weight: 700; }

/* ---------- Cara pesan ---------- */
.order { background: var(--cream-2); }
.order::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 22px;
  background: radial-gradient(circle at 18px 0, var(--cream) 17px, transparent 18px) 0 0 / 36px 22px repeat-x;
}
.order__grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }
.wa-card {
  display: flex; align-items: center; gap: 1rem; margin-top: 2rem; padding: 1rem 1.2rem;
  border: 2.5px solid var(--ink); border-radius: 24px; background: var(--green); color: #fff; text-decoration: none;
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.wa-card:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); }
.wa-card__icon { display: grid; place-items: center; width: 58px; height: 58px; flex: none; border-radius: 50%; background: #fff; color: var(--green); }
.wa-card__icon .ico { width: 32px; height: 32px; }
.wa-card__text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.wa-card__text b { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.35rem, 2vw, 1.6rem); line-height: 1.1; }
.wa-card__text small { font-size: .9rem; opacity: .95; }
.wa-card__arrow { width: 26px; height: 26px; }
.apps { display: grid; gap: .75rem; margin-top: .9rem; }
@media (min-width: 560px) { .apps { grid-template-columns: repeat(3, 1fr); } }
.app {
  display: flex; align-items: center; gap: .75rem; min-height: 66px; padding: .85rem 1rem;
  border: 2.5px solid var(--ink); border-radius: 20px; background: var(--paper); text-decoration: none;
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.app:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.app > .ico { width: 20px; height: 20px; margin-left: auto; }
.app__dot { width: 16px; height: 16px; border-radius: 50%; flex: none; border: 2px solid var(--ink); }
.app__dot--gofood { background: #00AA13; }
.app__dot--grab { background: #00B14F; }
.app__dot--shopee { background: #EE4D2D; }
.app__text { display: flex; flex-direction: column; line-height: 1.25; }
.app__text small { font-size: .8rem; color: var(--ink-2); }
.order__photo { position: relative; margin: 0 auto; width: min(100%, 460px); }
.order__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border: 3px solid var(--ink); border-radius: 30px; box-shadow: 10px 10px 0 var(--green); }
.sticker--tilt {
  position: absolute; left: -.5rem; bottom: 1.5rem; rotate: -6deg;
  padding: .6rem 1rem; border: 2.5px solid var(--ink); border-radius: 14px; background: var(--yellow);
  font-family: var(--font-display); font-size: clamp(1rem, 2vw, 1.2rem); line-height: 1.15; box-shadow: var(--shadow);
}
@media (min-width: 1024px) {
  .order__grid { grid-template-columns: 1.1fr .9fr; }
  .order__photo img { aspect-ratio: 3 / 4; }
  .sticker--tilt { left: -2rem; }
}

/* ---------- Cerita ---------- */
.story { background: var(--ink); color: var(--cream); overflow: hidden; }
.story .eyebrow { color: var(--yellow); }
.story__head { display: grid; gap: 1.25rem; justify-items: start; }
.dict { padding: 1rem 1.3rem; border: 2px dashed rgba(251, 241, 222, .45); border-radius: 18px; }
.dict__word { font-family: var(--font-display); font-size: clamp(2.1rem, 4vw, 2.8rem); line-height: 1; }
.dict__meta { margin-top: .35rem; font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); }
.dict__def { margin-top: .3rem; font-size: 1.05rem; }
.story__statement {
  margin-block: clamp(2rem, 5vw, 3.5rem);
  font-family: var(--font-display); font-size: clamp(1.85rem, 4.4vw, 3.5rem); line-height: 1.16; max-width: 26ch;
  text-wrap: pretty;
}
.story__statement mark { background: none; color: var(--yellow); }
.polaroids { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; align-items: start; }
.polaroid { margin: 0; padding: .55rem .55rem 0; border-radius: 6px; background: #FFFDF7; color: var(--ink); box-shadow: 0 18px 40px rgba(0, 0, 0, .38); rotate: var(--r, 0deg); }
.polaroid img { width: 100%; border-radius: 3px; }
.polaroid figcaption { padding: .6rem .2rem .75rem; font-family: var(--font-display); font-size: clamp(.92rem, 1.4vw, 1.15rem); line-height: 1.2; text-align: center; }
.polaroid--a { --r: -2.5deg; grid-column: 1 / -1; width: min(100%, 420px); justify-self: center; }
.polaroid--b { --r: 2.5deg; }
.polaroid--c { --r: -2deg; margin-top: 1.5rem; }
@media (min-width: 900px) {
  .polaroids { grid-template-columns: 1.25fr 1fr 1fr; gap: 2rem; }
  .polaroid--a { grid-column: auto; width: 100%; margin-top: 2rem; }
  .polaroid--b { margin-top: 6rem; }
  .polaroid--c { margin-top: 0; }
}
.stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem;
  margin-top: clamp(2.5rem, 6vw, 4.5rem); padding-top: 2rem; border-top: 2px solid rgba(251, 241, 222, .2);
}
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats__item { display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.stats dt { font-size: .88rem; font-weight: 600; color: rgba(251, 241, 222, .78); }
.stats dd { margin: 0 0 .3rem; font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1; color: var(--yellow); font-variant-numeric: tabular-nums; }

/* ---------- Lokasi ---------- */
.visit__grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.visit__map {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  border: 3px solid var(--ink); border-radius: 30px; box-shadow: 10px 10px 0 var(--red); background: var(--cream-2);
}
.visit__map picture, .visit__map img { width: 100%; height: 100%; object-fit: cover; }
.map-pin { position: absolute; left: 50%; top: 50%; width: 52px; height: 65px; margin: -65px 0 0 -26px; }
.map-pin__icon { position: relative; z-index: 1; width: 100%; height: 100%; filter: drop-shadow(0 6px 5px rgba(34, 22, 15, .3)); }
.map-pin__pulse { position: absolute; left: 50%; bottom: -9px; width: 64px; height: 22px; margin-left: -32px; border-radius: 50%; background: rgba(200, 35, 26, .4); animation: ping 2.2s ease-out infinite; }
.map-pin__label {
  position: absolute; left: 50%; top: -10px; translate: -50% -100%; white-space: nowrap;
  padding: .35rem .75rem; border-radius: 999px; background: var(--ink); color: var(--cream); font-size: .8rem; font-weight: 800;
}
@keyframes ping { from { scale: .4; opacity: .9; } to { scale: 1.7; opacity: 0; } }
.map-credit { position: absolute; right: .6rem; bottom: .6rem; padding: .15rem .5rem; border-radius: 6px; background: rgba(255, 248, 236, .92); font-size: .7rem; }
.visit__address { margin-top: 1.1rem; font-style: normal; font-size: clamp(1.1rem, 1.3vw, 1.3rem); font-weight: 600; line-height: 1.5; }
.visit__hours { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: 1.1rem; }
.visit__hours > .ico { width: 1.4rem; height: 1.4rem; color: var(--red); }
.visit__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }
@media (min-width: 1024px) { .visit__grid { grid-template-columns: 1.15fr .85fr; } }

/* ---------- CTA penutup ---------- */
.final {
  position: relative; overflow: hidden; isolation: isolate; text-align: center;
  padding-block: clamp(5.5rem, 12vw, 9rem); background: var(--red); color: var(--cream);
}
.final::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 26px;
  background: radial-gradient(circle at 20px 0, var(--cream) 19px, transparent 20px) 0 0 / 40px 26px repeat-x;
}
.final__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(3.1rem, 10vw, 7.4rem); line-height: .95; letter-spacing: -.02em; }
.final__title span { display: block; color: var(--yellow-soft); }
.final__sub { margin: 1.1rem auto 2.1rem; max-width: 34ch; font-size: clamp(1.05rem, 1.4vw, 1.3rem); }
.final .btn { box-shadow: 5px 5px 0 var(--ink); }
.final__plate { position: absolute; z-index: -1; width: clamp(130px, 22vw, 300px); aspect-ratio: 1; }
.final__plate img { width: 100%; height: 100%; border-radius: 50%; }
.final__plate--a { left: -6%; bottom: -10%; }
.final__plate--b { right: -5%; top: 4%; }
@media (max-width: 719px) {
  .final__plate { opacity: .95; }
  .final__plate--a { left: -16%; bottom: -8%; }
  .final__plate--b { right: -14%; top: -2%; }
}

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--cream); padding-block: clamp(3.5rem, 7vw, 5rem) 1.5rem; }
.footer__grid { display: grid; gap: 2rem; }
.footer__logo { width: 150px; height: 125px; color: var(--cream); --logo-text: var(--ink); margin-bottom: .75rem; }
.footer__brand p { color: rgba(251, 241, 222, .85); }
.footer__h { margin-bottom: .6rem; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); }
.footer p { font-size: .95rem; }
.footer a { color: var(--cream); text-decoration-color: rgba(251, 241, 222, .4); text-underline-offset: 3px; }
.footer a:hover { text-decoration-color: var(--yellow); }
.footer__links { display: grid; gap: .45rem; font-size: .95rem; }
.footer__ig { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; }
.footer__bottom { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(251, 241, 222, .18); }
.footer__bottom p { font-size: .82rem; color: rgba(251, 241, 222, .72); }
@media (min-width: 720px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1.3fr 1.1fr .8fr 1fr .9fr; } }

/* ---------- Nampan (bar + dialog) ---------- */
.traybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  padding: .75rem var(--gutter) calc(.75rem + env(safe-area-inset-bottom));
  pointer-events: none;
  transform: translateY(130%); opacity: 0;
  transition: transform .4s var(--ease-out), opacity .3s;
}
.traybar.is-visible { transform: none; opacity: 1; }
.traybar__btn {
  pointer-events: auto; display: flex; align-items: center; gap: .9rem; width: 100%; max-width: 540px; margin-inline: auto;
  padding: .65rem .7rem .65rem .65rem; border: 2.5px solid var(--ink); border-radius: 22px;
  background: var(--ink); color: var(--cream); text-align: left;
  box-shadow: 0 14px 30px rgba(34, 22, 15, .35), 4px 4px 0 var(--red);
}
.traybar__icon { position: relative; display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 14px; background: var(--yellow); color: var(--ink); }
.traybar__icon .ico { width: 26px; height: 26px; }
.traybar__icon.is-bump { animation: bump .4s var(--ease-pop); }
.traybar__count {
  position: absolute; top: -9px; right: -9px; display: grid; place-items: center;
  min-width: 25px; height: 25px; padding: 0 6px; border-radius: 999px; border: 2px solid var(--ink);
  background: var(--red); color: #fff; font-size: .78rem; font-weight: 800; font-variant-numeric: tabular-nums;
}
.traybar__text { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.2; }
.traybar__text b { font-size: 1.12rem; font-variant-numeric: tabular-nums; }
.traybar__text small { font-size: .8rem; color: rgba(251, 241, 222, .8); }
.traybar__cta { display: inline-flex; align-items: center; gap: .35rem; padding: .6rem .9rem; border-radius: 999px; background: var(--green); color: #fff; font-weight: 800; font-size: .9rem; white-space: nowrap; }
.traybar__cta .ico { width: 18px; height: 18px; }
@media (min-width: 1024px) {
  .traybar { left: auto; right: 1.5rem; bottom: 1.5rem; width: 440px; padding: 0; }
}
body.has-tray { padding-bottom: 96px; }
@media (min-width: 1024px) { body.has-tray { padding-bottom: 0; } }

.tray {
  position: fixed; inset: auto 0 0 0; width: 100%; max-width: 100%; max-height: min(92dvh, 820px); margin: 0; padding: 0;
  border: 0; border-radius: 28px 28px 0 0; background: var(--cream); color: var(--ink);
  box-shadow: 0 -12px 40px rgba(34, 22, 15, .3); overflow: hidden;
}
.tray[open] { display: flex; flex-direction: column; animation: sheet-up .38s var(--ease-out); }
.tray::backdrop { background: rgba(34, 22, 15, .55); }
.tray[open]::backdrop { animation: fade-in .3s ease; }
@keyframes sheet-up { from { transform: translateY(100%); } }
@keyframes sheet-left { from { transform: translateX(100%); } }
@keyframes fade-in { from { opacity: 0; } }
@media (min-width: 1024px) {
  .tray { inset: 0 0 0 auto; width: 460px; height: 100dvh; max-height: 100dvh; border-radius: 28px 0 0 28px; }
  .tray[open] { animation-name: sheet-left; }
}
.tray__inner { display: flex; flex-direction: column; gap: 1rem; padding: 1.1rem var(--gutter) calc(1.25rem + env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; }
@media (min-width: 1024px) { .tray__inner { padding: 1.5rem 1.75rem; height: 100%; } }
.tray__inner::before { content: ""; align-self: center; width: 44px; height: 5px; border-radius: 5px; background: rgba(34, 22, 15, .25); margin-bottom: -.25rem; }
@media (min-width: 1024px) { .tray__inner::before { display: none; } }
.tray__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.tray__title { font-family: var(--font-display); font-weight: 400; font-size: 2.1rem; line-height: 1; margin-top: .35rem; }
.tray__list { display: grid; gap: .6rem; }
.tray-item {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .2rem .75rem;
  padding: .7rem .8rem; border: 2px solid var(--ink); border-radius: 16px; background: var(--paper);
}
.tray-item__name { font-weight: 800; line-height: 1.25; }
.tray-item__meta { font-size: .82rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.tray-item .stepper { grid-row: span 2; }
.stepper { display: inline-flex; align-items: center; overflow: hidden; border: 2px solid var(--ink); border-radius: 999px; background: #fff; }
.stepper button { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; }
.stepper button:hover { background: var(--cream-2); }
.stepper .ico { width: 18px; height: 18px; }
.stepper output { min-width: 26px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
.tray__empty { padding: 1.25rem; border: 2px dashed rgba(34, 22, 15, .35); border-radius: 16px; background: var(--paper); text-align: center; }
.tray__form { display: grid; gap: .9rem; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin: 0; padding: 0; border: 0; min-width: 0; }
.seg legend { padding: 0; margin-bottom: .4rem; }
.seg__opt { position: relative; }
.seg__opt input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.seg__opt span { display: grid; place-items: center; min-height: 48px; padding: .4rem; border: 2px solid var(--ink); border-radius: 14px; background: #fff; font-weight: 800; text-align: center; transition: background-color .15s, color .15s; }
.seg__opt input:checked + span { background: var(--ink); color: var(--cream); }
.seg__opt input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.field { display: grid; gap: .35rem; }
.field__label { font-size: .9rem; font-weight: 800; }
.field__label small { font-weight: 600; color: var(--ink-2); }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: .75rem .9rem; border: 2px solid var(--ink); border-radius: 14px;
  background: #fff; color: var(--ink); font-size: 1rem; line-height: 1.4; resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: #7A6858; opacity: 1; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--yellow); outline-offset: 1px; }
.field__error { font-size: .85rem; font-weight: 700; color: var(--red); }
.tray__note { padding: .7rem .9rem; border-radius: 14px; background: var(--yellow); border: 2px solid var(--ink); font-size: .88rem; font-weight: 600; line-height: 1.45; }
.magnet-on { transition-property: box-shadow, background-color !important; }
html { scrollbar-gutter: stable; }
.tray__total { display: flex; align-items: baseline; justify-content: space-between; padding-top: .8rem; border-top: 2px dashed rgba(34, 22, 15, .3); font-weight: 700; }
.tray__total b { font-family: var(--font-display); font-weight: 400; font-size: 1.9rem; font-variant-numeric: tabular-nums; }
.tray__foot { display: grid; justify-items: center; text-align: center; gap: 0; }
.tray__foot .fineprint { margin-top: .25rem; }
.tray.is-empty [data-tray-fields], .tray.is-empty .tray__total, .tray.is-empty [data-send], .tray.is-empty .tray__foot { display: none; }

/* ---------- WhatsApp melayang & toast ---------- */
.wa-float {
  position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: calc(1rem + env(safe-area-inset-bottom)); z-index: 55;
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  border: 2.5px solid var(--ink); background: var(--green); color: #fff;
  box-shadow: 4px 4px 0 var(--ink), 0 12px 26px rgba(34, 22, 15, .25);
  transition: transform .35s var(--ease-out), opacity .3s;
}
.wa-float .ico { width: 30px; height: 30px; }
.wa-float::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 2px solid var(--green); animation: ring 2.6s ease-out infinite; }
@keyframes ring { from { scale: .85; opacity: .9; } to { scale: 1.35; opacity: 0; } }
.js .wa-float:not(.is-shown) { transform: translateY(160%); opacity: 0; pointer-events: none; }
.toast {
  position: fixed; left: 0; right: 0; bottom: calc(6.8rem + env(safe-area-inset-bottom)); z-index: 70;
  width: max-content; max-width: calc(100vw - 2rem); margin-inline: auto; padding: .7rem 1.1rem; border-radius: 999px;
  background: var(--ink); color: var(--cream); font-size: .92rem; font-weight: 700; text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
  translate: 0 12px; opacity: 0; pointer-events: none; transition: opacity .25s, translate .25s var(--ease-out);
}
.toast.is-on { opacity: 1; translate: 0 0; }
@media (min-width: 1024px) { .toast { bottom: 7.5rem; left: auto; right: 1.5rem; margin: 0; } }

/* flying item (animasi masuk nampan) */
.fly { position: fixed; z-index: 75; width: 56px; height: 56px; border-radius: 50%; overflow: hidden; border: 2.5px solid var(--ink); background: var(--yellow); pointer-events: none; }
.fly img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Motion states (di-set oleh main.js) ---------- */
.motion .reveal:not(.is-in) { opacity: 0; transform: translateY(28px); transition: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    animation-delay: 0s !important; transition-duration: .01ms !important;
  }
  .ticker__track, .badge-rotate__ring, .wa-float::after, .map-pin__pulse, .status.is-open .status__dot { animation: none !important; }
}
