/* =========================================================
   Jamu Laras | Gaya halaman
   Kertas terang, kunyit, dan hijau daun. Host Grotesk untuk
   judul dan teks, EB Garamond miring untuk aksen.
   ========================================================= */
:root {
  --paper: #FBF7EE;
  --paper-2: #F3EDDF;
  --ink: #23211A;
  --muted: #6E685A;
  --line: #E4DCCB;
  --line-d: #D3C8B2;
  --kunyit: #E3A019;
  --kunyit-d: #94600A;
  --daun: #3E5A2A;
  --daun-d: #2A3B1C;
  --warm: #F1DDB0;
  --cream: #F6EEDC;
  --sans: 'Host Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'EB Garamond', Georgia, 'Times New Roman', serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
body.lock { overflow: hidden; padding-right: var(--sbw, 0px); }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--kunyit-d); outline-offset: 3px; }
em { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: -.01em; }

.wrap { width: min(1280px, 100% - 64px); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; padding: 10px 16px; background: var(--ink); color: var(--paper); font-size: 14px; }
.skip:focus { top: 12px; }
.icon { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.h2 { font-weight: 400; font-size: clamp(34px, 4.2vw, 64px); line-height: 1.02; letter-spacing: -.035em; text-wrap: balance; }
.h2 em { font-size: 1.06em; }
.kicker { margin-bottom: 16px; font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.sec-row { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: end; margin-bottom: 48px; }
.sec-row p { font-size: 17px; color: var(--muted); }

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border: 1.5px solid transparent; border-radius: 8px;
  font: 500 15.5px/1.2 var(--sans); letter-spacing: .01em; text-decoration: none; text-align: center;
  box-shadow: 0 10px 24px -14px rgba(35, 33, 26, .55);
  transition: background-color .2s, color .2s, transform .2s;
}
.btn .icon { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover .icon { transform: translateX(3px); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #000; }
.btn-kunyit { background: var(--kunyit); color: var(--ink); }
.btn-kunyit:hover { background: #F0AE2A; }
.btn-line { border-color: var(--ink); background: transparent; color: var(--ink); box-shadow: none; }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 14.5px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(251, 247, 238, .94); border-bottom: 1px solid transparent; transition: border-color .25s; }
@supports (backdrop-filter: blur(8px)) { .top { background: rgba(251, 247, 238, .84); backdrop-filter: blur(10px); } }
.top.scrolled { border-color: var(--line); }
.top-in { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 24px; height: 72px; }
.top-nav { display: flex; gap: 26px; }
.top-nav a { position: relative; padding: 8px 0; font-size: 13.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.top-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 1.5px; background: var(--kunyit); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.top-nav a:hover::after, .top-nav a.active::after { transform: scaleX(1); }
.logo { display: inline-flex; align-items: baseline; gap: 7px; padding: 6px 0; color: var(--ink); text-decoration: none; line-height: 1; }
.logo-k { font-size: 12px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; }
.logo-b { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 33px; letter-spacing: -.02em; }
.top-right { display: flex; align-items: center; justify-content: flex-end; gap: 18px; }
.top-next { font-size: 14px; color: var(--muted); white-space: nowrap; }
.top-next b { font-weight: 500; color: var(--ink); }
.menu-btn { display: none; flex-direction: column; justify-content: center; gap: 7px; width: 46px; height: 46px; padding: 0 12px; border: 1.5px solid var(--ink); border-radius: 50%; background: transparent; }
.menu-btn span { display: block; height: 1.6px; background: var(--ink); }

.menu { position: fixed; inset: 0; z-index: 60; overflow-y: auto; background: var(--paper); }
.menu-in { display: flex; flex-direction: column; gap: 24px; min-height: 100%; padding-bottom: 32px; }
.menu-head { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.menu-x { display: grid; place-items: center; width: 46px; height: 46px; border: 1.5px solid var(--ink); border-radius: 50%; background: transparent; }
.menu-nav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 28px; letter-spacing: -.02em; text-decoration: none; }
.menu-foot { margin-top: auto; font-size: 14px; color: var(--muted); }

/* ---------- Hero ---------- */
.hero { padding-top: 36px; }
.hero-head { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: end; padding-bottom: 40px; }
.hero-title { font-weight: 400; font-size: clamp(50px, 7.6vw, 124px); line-height: .96; letter-spacing: -.045em; }
.hero-title em { font-size: 1.04em; letter-spacing: -.03em; }
.h-img { display: inline-block; width: 1.5em; height: .74em; margin: 0 .04em; overflow: hidden; border-radius: .14em; vertical-align: -.02em; }
.h-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-side { display: grid; gap: 22px; justify-items: start; padding-bottom: 12px; }
.hero-side p { font-size: 17px; color: var(--muted); }
.hero-media { position: relative; margin: 0; }
.hero-media img { width: 100%; height: clamp(420px, 50vw, 760px); object-fit: cover; object-position: 80% 40%; }
.hero-cap { position: absolute; left: 0; right: 0; bottom: clamp(28px, 4vw, 64px); }
.hero-quote { max-width: 11em; font-size: clamp(32px, 4vw, 62px); line-height: 1.02; letter-spacing: -.035em; }
.hero-quote em { display: block; font-size: 1.08em; }
.hero-note { max-width: 25em; margin-top: 18px; font-size: 16px; color: #4F4836; }
.hero-note b { font-weight: 600; color: var(--ink); }
.facts { display: flex; justify-content: space-between; gap: 16px 32px; margin: 0; padding: 22px 0; border-bottom: 1px solid var(--line); list-style: none; font-size: 15px; }
.facts li { display: flex; align-items: center; gap: 10px; }
.facts .icon { width: 18px; height: 18px; stroke-width: 2.2; color: var(--daun); }

/* ---------- Proses ---------- */
.process { padding: 120px 0 110px; }
.split { display: grid; gap: .1em; margin-bottom: 64px; }
.split span:last-child { justify-self: end; text-align: right; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin: 0; padding: 0; list-style: none; }
.step:nth-child(2) { margin-top: 110px; }
.step:nth-child(3) { margin-top: 220px; }
.step:nth-child(4) { margin-top: 40px; }
.step-no { display: flex; gap: 12px; margin-bottom: 14px; font-size: 13.5px; font-weight: 500; color: var(--muted); }
.step-no span { color: var(--ink); }
.step img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; margin-bottom: 16px; }
.step > p:last-child { font-size: 15px; color: var(--muted); }
.steps-nav { display: none; align-items: center; gap: 14px; margin-top: 18px; }
.steps-pos { min-width: 64px; font-size: 14px; font-weight: 500; text-align: center; font-variant-numeric: tabular-nums; }
.round-btn { display: grid; place-items: center; width: 46px; height: 46px; border: 1.5px solid var(--ink); border-radius: 50%; background: transparent; color: var(--ink); }
.round-btn:disabled { opacity: .3; cursor: default; }

/* ---------- Varian ---------- */
.variants { padding: 40px 0 120px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.chip { min-height: 38px; padding: 0 15px; border: 1px solid var(--line-d); border-radius: 99px; background: transparent; font-size: 14px; transition: background-color .2s, border-color .2s, color .2s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.v-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin: 34px 0 34px; }
.v-head p { max-width: 24em; font-size: 15px; text-align: right; color: var(--muted); }
.v-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.vc { display: flex; flex-direction: column; border-top: 1px solid var(--ink); transition: opacity .3s; }
.vc.dim { opacity: .32; }
.vc-pick { display: grid; gap: 4px; padding: 0 0 14px; border: 0; background: none; text-align: left; }
.vc-pick img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; margin-bottom: 14px; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.vc-pick:hover img { transform: scale(1.025); }
.vc-name { font-size: 22px; letter-spacing: -.02em; }
.vc-short { font-size: 14.5px; color: var(--muted); }
.vc.on .vc-name { text-decoration: underline; text-decoration-color: var(--kunyit); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.vc-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.vc-price { font-weight: 500; }
.vc-add { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border: 1px solid var(--ink); border-radius: 99px; background: transparent; font-size: 14px; font-weight: 500; }
.vc-add .icon { width: 16px; height: 16px; }
.vc-add:hover { background: var(--ink); color: var(--paper); }

.detail { margin-top: 80px; padding-top: 28px; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.d-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.d-tab { min-height: 42px; padding: 0 18px; border: 1px solid var(--line-d); border-radius: 99px; background: transparent; font-size: 15px; }
.d-tab[aria-selected="true"] { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.d-body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
.d-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.d-kicker { font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.d-name { margin: 8px 0 16px; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(40px, 4.6vw, 68px); line-height: 1; letter-spacing: -.02em; }
.d-desc { max-width: 36em; margin-bottom: 30px; font-size: 17px; color: var(--muted); }
.d-bar { display: flex; height: 14px; overflow: hidden; margin-bottom: 4px; border-radius: 99px; background: var(--paper-2); }
.d-bar span { height: 100%; transition: flex-grow .5s; }
.d-list { margin: 0 0 28px; padding: 0; list-style: none; }
.d-list li { display: flex; align-items: baseline; gap: 10px; padding: 11px 0; font-size: 16px; }
.d-list i { flex: 0 0 auto; width: 11px; height: 11px; border-radius: 50%; transform: translateY(1px); }
.d-list .lead { flex: 1 1 auto; min-width: 16px; border-bottom: 1.5px dotted var(--line-d); transform: translateY(-4px); }
.d-list b { font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }
.d-list .air { color: var(--muted); }
.d-spec { margin: 0 0 30px; border-top: 1px solid var(--line); }
.d-spec div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.d-spec dt { color: var(--muted); }
.d-spec dd { margin: 0; }
.d-buy { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.d-price { font-size: 30px; letter-spacing: -.02em; }

/* ---------- Bahan ---------- */
.pantry { padding: 110px 0; background: var(--paper-2); }
.pantry .sec-row { margin-bottom: 40px; }
.pantry-scroll { width: min(1280px, 100% - 64px); margin-inline: auto; }
.pantry-row { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.pantry-nav { display: none; }
.pantry-row img { width: 100%; aspect-ratio: 1; object-fit: cover; margin-bottom: 12px; }
.pantry-row b { display: block; font-weight: 500; font-size: 15.5px; line-height: 1.3; }
.pantry-row span { display: block; margin-top: 2px; font-size: 13px; line-height: 1.35; color: var(--muted); }

/* ---------- Cerita ---------- */
.story { padding: 120px 0; }
.story-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr); gap: 48px; align-items: start; }
.story-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.story-portrait blockquote { margin-top: 22px; font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 1.25; letter-spacing: -.01em; }
.story-portrait figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
.story-text .h2 { margin-bottom: 26px; font-size: clamp(32px, 3.4vw, 50px); }
.story-text > p { margin-bottom: 16px; color: var(--muted); }
.timeline { margin: 30px 0 0; padding: 0; border-top: 1px solid var(--ink); list-style: none; }
.timeline li { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.timeline b { font-weight: 500; font-variant-numeric: tabular-nums; }
.story-kitchen { margin-top: 140px; }
.story-kitchen img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.story-kitchen figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); }

/* ---------- Atur pesanan ---------- */
.order { padding: 110px 0; background: var(--paper-2); scroll-margin-top: 0; }
.o-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: start; }
.o-form { display: grid; gap: 30px; }
.o-step { min-width: 0; margin: 0; padding: 0; border: 0; }
.o-step legend { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; padding: 0; font-size: 20px; letter-spacing: -.02em; }
.o-step legend span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 14px; font-weight: 500; letter-spacing: 0; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.plans label, .seg label, .days label { position: relative; }
.plans input, .seg input, .days input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.plans span { display: grid; gap: 4px; height: 100%; padding: 16px; border: 1.5px solid var(--line-d); border-radius: 10px; background: var(--paper); }
.plans b { font-weight: 500; font-size: 17px; }
.plans small { font-size: 13.5px; color: var(--muted); }
.plans input:checked + span, .days input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: #fff; }
.plans input:focus-visible + span, .seg input:focus-visible + span, .days input:focus-visible + span { outline: 2px solid var(--kunyit-d); outline-offset: 2px; }
.seg { display: inline-flex; overflow: hidden; border: 1.5px solid var(--ink); border-radius: 10px; background: var(--paper); }
.seg label + label { border-left: 1.5px solid var(--ink); }
.seg span { display: block; padding: 0 20px; line-height: 46px; font-weight: 500; white-space: nowrap; }
.seg input:checked + span { background: var(--ink); color: var(--paper); }
.days { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.days span { display: grid; justify-items: center; gap: 2px; padding: 10px 4px; border: 1.5px solid var(--line-d); border-radius: 10px; background: var(--paper); font-size: 13px; color: var(--muted); }
.days b { font-size: 20px; font-weight: 500; line-height: 1.1; color: var(--ink); font-variant-numeric: tabular-nums; }
.o-items { display: grid; gap: 10px; margin: 0 0 14px; padding: 0; list-style: none; }
.o-items li { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px 12px 10px 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.o-items img { width: 56px; height: 70px; object-fit: cover; border-radius: 6px; }
.o-items b { display: block; font-weight: 500; font-size: 16.5px; }
.o-items small { font-size: 14px; color: var(--muted); }
.num { display: inline-flex; height: 46px; overflow: hidden; border: 1.5px solid var(--ink); border-radius: 10px; background: #fff; }
.num input { width: 52px; border: 0; background: transparent; font-size: 18px; font-weight: 500; text-align: center; font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield; }
.num input::-webkit-outer-spin-button, .num input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.num input:focus { outline: none; background: #FFF6E2; }
.num-btn { display: grid; place-items: center; width: 42px; border: 0; background: transparent; }
.num-btn .icon { width: 17px; height: 17px; }
.num-btn:hover { background: var(--paper-2); }
.num-btn:disabled { opacity: .3; cursor: default; }
.o-items li.zero { opacity: .62; }
.o-warn { margin: 0 0 12px; padding: 10px 14px; border-radius: 8px; background: #F8E2C3; font-size: 14.5px; color: #6A3E05; }
.check { position: relative; display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 15.5px; }
.check input { flex: 0 0 auto; width: 24px; height: 24px; margin: 0; font-size: 16px; accent-color: var(--ink); cursor: pointer; }
.o-step select { width: 100%; height: 52px; padding: 0 44px 0 14px; border: 1.5px solid var(--line-d); border-radius: 10px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2323211A' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center; font-size: 16px; appearance: none; text-overflow: ellipsis; }
.o-step select:focus { outline: none; border-color: var(--ink); }

.o-sum { padding: 28px; border-radius: 16px; background: var(--daun-d); color: var(--cream); }
.s-label { font-size: 12.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: rgba(246, 238, 220, .6); }
.fridge { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 6px 5px; min-height: 76px; margin: 12px 0 0; padding: 0 4px 10px; border-bottom: 3px solid rgba(246, 238, 220, .28); }
.fridge svg { width: 24px; height: 62px; transition: transform .3s; }
.fridge svg.pop { animation: pop .35s ease-out; }
@keyframes pop { 0% { transform: translateY(8px) scale(.9); } 100% { transform: none; } }
.fridge .empty { font-size: 14px; color: rgba(246, 238, 220, .6); }
.s-count { margin: 10px 0 24px; font-size: 15px; }
.s-sched { display: grid; gap: 6px; margin: 10px 0 6px; padding: 0; list-style: none; }
.s-sched li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; border-radius: 8px; background: rgba(246, 238, 220, .08); font-size: 14.5px; }
.s-sched li span { color: rgba(246, 238, 220, .62); white-space: nowrap; }
.s-more { min-height: 1em; margin-bottom: 20px; font-size: 13.5px; color: rgba(246, 238, 220, .6); }
.s-total { margin: 0; border-top: 1px solid rgba(246, 238, 220, .18); }
.s-total div { display: flex; justify-content: space-between; gap: 14px; padding: 10px 0; border-bottom: 1px solid rgba(246, 238, 220, .12); font-size: 15px; }
.s-total dt { color: rgba(246, 238, 220, .72); }
.s-total dd { margin: 0; font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }
.s-total .s-grand { border-bottom: 0; padding-top: 14px; }
.s-total .s-grand dt { color: var(--cream); font-size: 17px; }
.s-total .s-grand dd { font-size: 26px; letter-spacing: -.02em; }
.s-avg { margin: 0 0 22px; font-size: 13.5px; color: rgba(246, 238, 220, .62); }
.s-form { display: grid; gap: 14px; padding-top: 20px; border-top: 1px solid rgba(246, 238, 220, .18); }
.field { display: grid; gap: 6px; }
.field label { font-size: 13.5px; font-weight: 500; }
.field input, .field textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid transparent; border-radius: 8px; background: var(--cream); color: var(--ink); font-size: 16px; }
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--kunyit); }
.field input::placeholder, .field textarea::placeholder { color: #9C927C; }
.err { display: none; margin: 0; font-size: 13.5px; color: #FFC58A; }
.field.error input, .field.error textarea { border-color: #FFB067; }
.field.error .err { display: block; }
.s-small { font-size: 13px; color: rgba(246, 238, 220, .6); }

/* ---------- Cara minum ---------- */
.howto { padding: 120px 0; }
.how-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; align-items: center; }
.how-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.how-text .h2 { margin-bottom: 32px; }
.how-list { display: grid; gap: 0; margin: 0 0 28px; padding: 0; border-top: 1px solid var(--ink); counter-reset: how; list-style: none; }
.how-list li { position: relative; padding: 18px 0 18px 54px; border-bottom: 1px solid var(--line); color: var(--muted); counter-increment: how; }
.how-list li::before { content: "0" counter(how); position: absolute; left: 0; top: 18px; font-size: 14px; font-weight: 500; color: var(--ink); }
.how-list b { font-weight: 500; color: var(--ink); }
.how-return { margin-bottom: 18px; padding: 18px 20px; border-radius: 12px; background: var(--warm); }
.how-return b { font-weight: 600; }
.how-note { font-size: 14px; color: var(--muted); }

/* ---------- Pelanggan ---------- */
.voices { padding: 0 0 120px; }
.voices .h2 { margin-bottom: 44px; }
.vo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; align-items: start; }
.vo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; margin-bottom: 20px; }
.vo blockquote { margin-bottom: 14px; font-size: 19px; line-height: 1.45; letter-spacing: -.01em; }
.vo figcaption { font-size: 14px; color: var(--muted); }
.vo figcaption b { font-weight: 500; color: var(--ink); }
.vo-text { align-self: stretch; display: flex; flex-direction: column; justify-content: flex-end; padding: 30px; border-radius: 16px; background: var(--kunyit); }
.vo-text blockquote { font-family: var(--serif); font-style: italic; font-size: 28px; line-height: 1.22; }
.vo-text figcaption { color: #4A3405; }

/* ---------- Tanya jawab ---------- */
.faq { padding: 110px 0; background: var(--paper-2); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 72px; }
.faq-side { max-width: 22em; margin-top: 16px; color: var(--muted); }
.faq-side a { font-weight: 500; color: var(--ink); }
.faq-list details { border-top: 1px solid var(--line-d); }
.faq-list details:last-child { border-bottom: 1px solid var(--line-d); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 21px 0; list-style: none; font-size: 20px; letter-spacing: -.015em; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .icon { transition: transform .25s; }
.faq-list details[open] summary .icon { transform: rotate(45deg); }
.faq-list details p { max-width: 40em; margin: -4px 0 22px; color: var(--muted); }

/* ---------- Footer ---------- */
.footer { padding: 80px 0 40px; background: var(--daun-d); font-size: 15px; color: rgba(246, 238, 220, .74); }
.footer .logo { color: var(--cream); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand p { max-width: 24em; margin-top: 16px; }
.foot-label { margin-bottom: 12px; font-size: 12.5px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--cream); }
.footer p + p { margin-top: 12px; }
.footer ul { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.footer a { text-decoration: none; }
.footer ul a, .foot-grid p a { display: inline-block; padding: 6px 0; }
.footer a:hover { color: #fff; }
.social { display: flex; gap: 10px; margin-top: 14px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(246, 238, 220, .3); border-radius: 50%; }
.foot-word { margin-top: 48px; color: rgba(246, 238, 220, .14); }
.foot-word svg { display: block; width: 100%; height: auto; overflow: visible; }
.foot-word text { fill: currentColor; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 447px; }
.foot-bottom { display: grid; gap: 8px; margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(246, 238, 220, .14); font-size: 13px; color: rgba(246, 238, 220, .55); }
.foot-bottom p + p { margin-top: 0; }
.powered a { font-weight: 600; color: var(--cream); }
.credits a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Bilah pesan di HP ---------- */
.bar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 16px; border-radius: 14px; background: var(--ink); color: var(--paper); box-shadow: 0 16px 36px -12px rgba(0, 0, 0, .45); transform: translateY(140%); transition: transform .35s; }
.bar.show { transform: none; }
.bar p { display: grid; font-size: 14px; line-height: 1.3; }
.bar p span { color: rgba(251, 247, 238, .66); font-size: 13px; }
.bar b { font-weight: 500; }

/* ---------- Modal & notifikasi ---------- */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; background: rgba(35, 33, 26, .6); }
.modal-box { width: min(520px, 100%); max-height: calc(100vh - 40px); overflow: auto; padding: 24px 26px 22px; border-radius: 16px; background: var(--paper); box-shadow: 0 30px 60px rgba(0, 0, 0, .25); }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.modal-title { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.modal-title .icon { color: #1F7A4C; }
.modal-x { display: grid; place-items: center; width: 40px; height: 40px; margin-right: -8px; padding: 0; border: 0; background: none; }
.wa-bubble { padding: 14px 16px; border-radius: 0 12px 12px 12px; background: #E3F1DF; font-size: 14.5px; line-height: 1.6; color: #1C2A1C; white-space: pre-wrap; overflow-wrap: anywhere; }
.wa-note { margin: 12px 0 18px; font-size: 13.5px; color: var(--muted); }
.modal-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 100; display: flex; align-items: center; gap: 12px; width: max-content; max-width: calc(100vw - 32px); padding: 14px 20px; border-radius: 10px; background: var(--ink); font-size: 14.5px; color: var(--paper); box-shadow: 0 18px 40px rgba(0, 0, 0, .25); opacity: 0; visibility: hidden; transform: translate(-50%, 16px); transition: opacity .3s, transform .3s, visibility .3s; }
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast .icon { width: 18px; height: 18px; color: var(--kunyit); }
.toast span { flex: 1; min-width: 0; }

.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Layar sedang dan kecil
   ========================================================= */
@media (max-width: 1100px) {
  .top-in { grid-template-columns: auto minmax(0, 1fr); }
  .top-nav { display: none; }
  .logo { order: -1; }
  .menu-btn { display: flex; }
  .hero-head { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .hero-side { grid-template-columns: minmax(0, 1fr) auto; align-items: center; max-width: 720px; }
  .steps { gap: 20px; }
  .step:nth-child(2) { margin-top: 70px; }
  .step:nth-child(3) { margin-top: 140px; }
  .step:nth-child(4) { margin-top: 30px; }
  .v-grid { gap: 14px; }
  .d-body { gap: 40px; }
  .pantry-scroll { width: auto; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .pantry-scroll::-webkit-scrollbar { display: none; }
  .pantry-row { display: flex; gap: 16px; width: max-content; padding: 0 32px; }
  .pantry-row li { width: 200px; scroll-snap-align: start; scroll-margin-left: 32px; }
  .pantry-nav { display: flex; }
  .story-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
  .story-kitchen { grid-column: 2; margin-top: 0; max-width: 360px; }
  .o-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .how-grid, .faq-grid { gap: 48px; }
}

@media (max-width: 860px) {
  .wrap { width: calc(100% - 48px); }
  .top-next { display: none; }
  .sec-row { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-bottom: 36px; }
  .process, .variants, .pantry, .story, .order, .howto, .faq { padding-top: 84px; padding-bottom: 84px; }
  .variants { padding-top: 24px; }
  .voices { padding-bottom: 84px; }
  .split { margin-bottom: 40px; }
  .split span:last-child { justify-self: start; text-align: left; }
  .steps { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: minmax(240px, 44%); gap: 16px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .steps::-webkit-scrollbar { display: none; }
  .step { scroll-snap-align: start; }
  .step:nth-child(n) { margin-top: 0; }
  .steps-nav { display: flex; }
  .v-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
  .v-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .v-head p { text-align: left; }
  .d-body { grid-template-columns: minmax(0, 1fr); }
  .d-photo { max-width: 420px; }
  .pantry-row { padding: 0 24px; }
  .pantry-row li { width: 170px; scroll-margin-left: 24px; }
  .story-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .story-portrait { max-width: 460px; }
  .story-kitchen { grid-column: auto; max-width: 460px; }
  .o-grid { grid-template-columns: minmax(0, 1fr); }
  .how-grid, .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .how-photo { max-width: 480px; }
  .vo-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; max-width: 520px; }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot-brand { grid-column: 1 / -1; }
  .bar { display: flex; }
}

@media (max-width: 700px) {
  .hero-media img { height: auto; aspect-ratio: 4 / 5; object-position: 50% 50%; }
  .hero-cap { position: static; padding-top: 22px; }
  .hero-quote em { display: inline; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .top-in { height: 64px; gap: 12px; }
  html { scroll-padding-top: 70px; }
  .logo-b { font-size: 29px; }
  .menu-head { height: 64px; }
  .hero { padding-top: 22px; }
  .hero-title { font-size: clamp(44px, 13.4vw, 64px); }
  .hero-side { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .hero-side .btn { width: 100%; }
  .hero-head { padding-bottom: 28px; }
  .facts { flex-direction: column; gap: 12px; }
  .steps { grid-auto-columns: 78%; }
  .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 20px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: 0 0 auto; }
  .v-grid { gap: 26px 12px; }
  .vc-name { font-size: 19px; }
  .vc-short { font-size: 13.5px; }
  .vc-foot { flex-direction: column; align-items: stretch; gap: 8px; }
  .vc-add { justify-content: center; }
  .detail { margin-top: 60px; }
  .d-tabs { margin-bottom: 26px; }
  .d-spec div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .d-buy .btn { flex: 1 1 100%; }
  .pantry-row { padding: 0 16px; gap: 12px; }
  .pantry-row li { width: 148px; scroll-margin-left: 16px; }
  .story-portrait blockquote { font-size: 23px; }
  .o-step legend { font-size: 18.5px; }
  .seg { display: flex; }
  .seg label { flex: 1 1 0; }
  .seg span { padding: 0 8px; text-align: center; font-size: 15px; }
  .days { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .o-items li { grid-template-columns: 46px minmax(0, 1fr); gap: 10px 12px; }
  .o-items img { width: 46px; height: 58px; }
  .o-items .num { grid-column: 1 / -1; width: 100%; }
  .o-items .num input { flex: 1 1 auto; width: 0; min-width: 0; }
  .o-items .num-btn { width: 56px; }
  .o-sum { padding: 22px 18px; margin-inline: -4px; }
  .s-sched li { flex-direction: column; gap: 0; }
  .how-list li { padding-left: 40px; }
  .vo-text { padding: 24px; }
  .vo-text blockquote { font-size: 24px; }
  .faq-list summary { font-size: 18px; padding: 18px 0; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .toast { bottom: 88px; }
}

@media (max-width: 400px) {
  .hero-title { font-size: 42px; }
  .h2 { font-size: 31px; }
  .plans b { font-size: 16px; }
}
