/* Rawon Rampal — tema "Makanan & minuman"
   Semua warna, jarak, dan tipografi diatur dari :root di bawah ini.
   Ubah token, seluruh halaman ikut berubah. */

:root {
  --paper: #FDF8F1;
  --surface: #FFFFFF;
  --ink: #221A14;
  --muted: #6B5B4C;
  --rule: #E9DECD;
  --brand: #A8412A;
  --brand-ink: #FFFFFF;
  --accent: #1F6B4A;
  --radius: 8px;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.06rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
  --step-2: clamp(1.5rem, 1.3rem + 1vw, 2rem);
  --step-3: clamp(2rem, 1.6rem + 2vw, 3rem);
  --step-4: clamp(2.1rem, 1.6rem + 2.2vw, 3.4rem);

  --gap-section: clamp(4.5rem, 2.5rem + 8vw, 9rem);

  /* Kurva gerak. Bawaan CSS terlalu lemah; angka ini yang dipakai di seluruh
     halaman. Jangan buat kurva baru — pakai atau perluas yang ini. */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-press: cubic-bezier(0.32, 0.72, 0, 1);

  --dur-press: 140ms;
  --dur-hover: 200ms;
  --dur-panel: 240ms;
  --dur-reveal: 700ms;

  /* Turunan dari token di atas, bukan warna baru: satu nada latar yang sedikit
     lebih hangat, supaya ritme bagian tidak seragam tanpa menambah palet. */
  --paper-warm: color-mix(in srgb, var(--brand) 4%, var(--paper));

  /* Bootstrap overrides so its own components inherit the palette. */
  --bs-primary: #A8412A;
  --bs-body-color: #221A14;
  --bs-body-bg: #FDF8F1;
  --bs-border-color: #E9DECD;
  --bs-border-radius: 8px;
  --bs-link-color: #A8412A;
  --bs-link-hover-color: #1F6B4A;
  --bs-font-sans-serif: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { -webkit-font-smoothing: antialiased; }

/* Butiran film halus. Overlay fixed + pointer-events:none supaya tidak pernah
   ikut menggulir dan tidak memicu repaint GPU. */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Bootstrap menarik .row keluar sejauh separuh gutter-nya. Kalau gutter baris
   dan gutter container berbeda, barisnya menyembul dan memicu gulir mendatar
   (terlihat jelas di 1024px, tempat .g-lg-5 memakai 3rem sementara container
   memakai 2rem). Jadi keduanya dikunci ke angka yang sama; kelas .g-* tetap
   mengatur jarak vertikal. */
.container { --bs-gutter-x: 2rem; max-width: 1240px; }
.row { --bs-gutter-x: 2rem; }
@media (min-width: 992px) {
  .container, .row { --bs-gutter-x: 3rem; }
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, .display-font {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-wrap: balance;
}

h1 { font-size: var(--step-4); text-wrap: balance; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); }

p { text-wrap: pretty; max-width: 68ch; }

.lead-text { font-size: var(--step-1); color: var(--muted); line-height: 1.55; }

/* Section rhythm is deliberately uneven: the hero breathes, the proof strip is
   tight, the rest sits on a common scale. */
.section { padding-block: var(--gap-section); }
.section--tight { padding-block: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.section--half { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }
.section--warm { background: var(--paper-warm); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.rule { height: 1px; background: var(--rule); border: 0; opacity: 1; }

.measure { max-width: 62ch; }
.tabular { font-variant-numeric: tabular-nums; }

/* ---------- Ikon garis ----------
   Satu sprite <symbol> di awal body. Stroke tipis, tanpa icon font, tanpa emoji. */
.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Navigation ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1020;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-hover) var(--ease-out);
}
.site-nav.is-stuck { border-bottom-color: var(--rule); }

.nav-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 68px;
  padding-block: 0.6rem;
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  margin-right: auto;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  background: var(--brand);
  color: var(--brand-ink);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0;
}

.nav-links { display: flex; align-items: center; gap: 0.35rem; list-style: none; margin: 0; padding: 0; }
.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 0.7rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius);
  transition: color var(--dur-hover) var(--ease-out);
}
.nav-link:hover, .nav-link.active { color: var(--ink); }
.nav-link.active { font-weight: 600; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding-inline: 0.75rem;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  color: var(--ink);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
}
.nav-toggle .bars { display: grid; gap: 4px; width: 16px; }
.nav-toggle .bars i {
  height: 1.25px;
  background: currentColor;
  transition: transform var(--dur-panel) var(--ease-out), opacity var(--dur-hover) var(--ease-out);
}
.nav-toggle[aria-expanded="true"] .bars i:nth-child(1) { transform: translateY(5.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bars i:nth-child(3) { transform: translateY(-5.25px) rotate(-45deg); }

@media (min-width: 992px) {
  .nav-panel, .nav-panel > .container { display: contents; }
}

@media (max-width: 991.98px) {
  .nav-toggle { display: inline-flex; }
  .nav-panel {
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    padding: 0.5rem 0 1.25rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
      opacity var(--dur-panel) var(--ease-out),
      transform var(--dur-panel) var(--ease-out),
      visibility 0s linear var(--dur-panel);
  }
  .site-nav.is-open .nav-panel {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
  }
  .nav-panel .container { display: grid; gap: 0.15rem; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link { min-height: 48px; padding-inline: 0; border-bottom: 1px solid var(--rule); border-radius: 0; }
  .nav-cta { margin-top: 0.9rem; justify-content: center; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 46px;
  border-radius: var(--radius);
  font-weight: 600;
  padding-inline: 1.25rem;
  text-decoration: none;
  transition:
    background-color var(--dur-hover) var(--ease-out),
    border-color var(--dur-hover) var(--ease-out),
    color var(--dur-hover) var(--ease-out),
    transform var(--dur-press) var(--ease-press);
}
.btn-brand { background: var(--brand); color: var(--brand-ink); border: 1px solid var(--brand); }
.btn-brand:hover { background: color-mix(in srgb, var(--brand) 88%, #000); color: var(--brand-ink); }
.btn-outline-brand { border: 1px solid var(--rule); color: var(--ink); background: var(--surface); }
.btn-outline-brand:hover { border-color: var(--ink); color: var(--ink); }
.btn-ghost { border: 1px solid color-mix(in srgb, var(--brand-ink) 45%, transparent); color: var(--brand-ink); background: transparent; }
.btn-ghost:hover { border-color: var(--brand-ink); color: var(--brand-ink); background: color-mix(in srgb, var(--brand-ink) 10%, transparent); }
.btn-lg { min-height: 54px; font-size: 1.02rem; padding-inline: 1.5rem; }
.btn-sm { min-height: 44px; font-size: 0.9rem; padding-inline: 1rem; }
.btn:active { transform: scale(0.98); }

:where(a, button, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--radius);
}
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; box-shadow: none; }

/* Ikon di dalam tombol duduk dalam lingkarannya sendiri dan bergerak sendiri. */
.btn .btn-icon {
  display: inline-grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  margin-left: 0.15rem;
  margin-right: -0.35rem;
  border-radius: 999px;
  background: color-mix(in srgb, currentColor 14%, transparent);
  transition: transform var(--dur-hover) var(--ease-out);
}
.btn .btn-icon .icon { width: 0.95rem; height: 0.95rem; stroke-width: 1.5; }

@media (hover: hover) and (pointer: fine) {
  /* Sentuhan di ponsel memicu hover palsu, jadi gerakan hover dikunci ke
     penunjuk sungguhan. */
  .btn:hover .btn-icon { transform: translate(2px, -1px) scale(1.06); }
  .step:hover .num { transform: translateX(2px); }
}

.step .num { transition: transform var(--dur-hover) var(--ease-out); }

/* ---------- Bingkai bersarang ----------
   Kartu tidak diletakkan polos di atas latar: ada baki luar dan pelat dalam,
   dengan radius yang mengecil sesuai padding agar lengkungnya sepusat. */
.shell {
  --shell-pad: 6px;
  padding: var(--shell-pad);
  background: color-mix(in srgb, var(--ink) 3%, transparent);
  border: 1px solid color-mix(in srgb, var(--ink) 7%, transparent);
  border-radius: calc(var(--radius) + var(--shell-pad));
}
/* Gambar yang duduk langsung di dalam pelat, bukan di dalam .media-frame,
   tetap harus menyusut mengikuti pelatnya. */
.shell > .core > img { display: block; width: 100%; height: auto; }
.shell > .core {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 color-mix(in srgb, #fff 55%, transparent);
  overflow: hidden;
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2.5rem, 1.5rem + 5vw, 5rem) var(--gap-section); }
/* Judul dipecah per kalimat, bukan per kebetulan pembungkusan baris. Di bawah
   768px biarkan mengalir sendiri karena kolomnya sudah sempit. Puncak skalanya
   ditahan sedikit di bawah --step-4 supaya dua kalimat itu tetap dua baris di
   layar lebar; judul yang jatuh tiga baris adalah salah ukuran, bukan salah teks. */
.hero h1 { font-size: clamp(2.1rem, 1.6rem + 2.2vw, 3rem); }
@media (min-width: 768px) { .hero h1 > span { display: block; } }
.hero h1 .mark {
  background: linear-gradient(transparent 62%, color-mix(in srgb, var(--accent) 34%, transparent) 62%);
  padding-inline: 0.1em;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; }

.hero-figure .core { display: grid; }
.hero-figure img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.fact-list { margin: 0; }
.fact-list .row-item {
  display: grid;
  grid-template-columns: 1.25rem 1fr;
  gap: 0.1rem 0.7rem;
  padding: 0.8rem 1.05rem;
  border-top: 1px solid var(--rule);
}
.fact-list .row-item .icon { grid-row: span 2; margin-top: 0.15rem; color: var(--accent); }
.fact-list dt { font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.fact-list dd { margin: 0.1rem 0 0; font-size: 0.95rem; font-weight: 500; }

/* Rasio bingkai yang menentukan tinggi baris, bukan tinggi asli gambarnya.
   Gambar diangkat keluar dari perhitungan tinggi supaya baris galeri rata. */
.media-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  background: color-mix(in srgb, var(--brand) 8%, var(--surface));
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
  overflow: hidden;
}
.media-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

figcaption {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
  margin-top: 0.6rem;
  max-width: 46ch;
}

/* ---------- Strip bukti ---------- */
.score-line { display: flex; align-items: baseline; gap: 0.55rem; flex-wrap: wrap; }
.score-line .score { font-family: var(--font-display); font-size: var(--step-3); line-height: 1; }
.stars { color: var(--accent); letter-spacing: 0.1em; }

.topic {
  display: inline-block;
  padding: 2px 9px;
  margin: 3px 2px 0 0;
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--ink);
  background: var(--surface);
}
.topic b { font-weight: 600; color: var(--muted); font-size: 0.72rem; }

/* ---------- Pernyataan editorial ---------- */
.statement {
  font-family: var(--font-display);
  font-size: var(--step-2);
  line-height: 1.28;
  letter-spacing: -0.015em;
  max-width: 24ch;
}
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.85rem; }
.checklist li { display: grid; grid-template-columns: 1.25rem 1fr; gap: 0.75rem; align-items: start; }
.checklist .icon { color: var(--accent); margin-top: 0.22rem; }
.checklist p { margin: 0.15rem 0 0; color: var(--muted); font-size: 0.93rem; }
.checklist strong { font-weight: 600; }

/* ---------- Menu ---------- */
.menu-columns { display: grid; gap: clamp(2rem, 1rem + 3vw, 3rem) clamp(2rem, 1rem + 3vw, 3.5rem); }
@media (min-width: 900px) { .menu-columns { grid-template-columns: 1fr 1fr; align-items: start; } }

.menu-group h3 {
  font-size: 0.78rem;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--rule);
}
.menu-list { list-style: none; padding: 0; margin: 0; }
.menu-item { padding: 0.7rem 0; }
.menu-item + .menu-item { border-top: 1px solid color-mix(in srgb, var(--rule) 55%, transparent); }
.menu-head { display: flex; align-items: baseline; gap: 0.5rem; }
.menu-name { font-weight: 600; }
.menu-dots {
  flex: 1 1 1.5rem;
  min-width: 1.5rem;
  border-bottom: 1px dotted color-mix(in srgb, var(--muted) 45%, transparent);
  transform: translateY(-0.28em);
}
.menu-price { color: var(--accent); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.menu-desc { margin: 0.25rem 0 0; color: var(--muted); font-size: 0.87rem; line-height: 1.5; max-width: 46ch; }

.menu-pairs { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0 1.75rem; }
.chip-row { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; padding: 0; list-style: none; }
.chip-row li {
  padding: 0.3rem 0.75rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-size: 0.88rem;
  background: var(--surface);
}

.notice {
  display: grid;
  grid-template-columns: 1.25rem 1fr;
  gap: 0.75rem;
  padding: 0.95rem 1.1rem;
  border: 1px solid var(--rule);
  border-left: 2px solid var(--brand);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: 0.9rem;
  color: var(--muted);
}
.notice .icon { color: var(--brand); margin-top: 0.15rem; }
.notice strong { color: var(--ink); font-weight: 600; }
.notice p { margin: 0; max-width: none; }

/* ---------- Ledger langkah: daftar bernomor, bukan kartu seragam ---------- */
.service-list { border-top: 1px solid var(--rule); }
.step {
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  gap: 0 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--rule);
  transition: background-color 180ms var(--ease-out);
}
.step:hover { background: color-mix(in srgb, var(--brand) 4%, transparent); }
.step .num {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  padding-top: 0.15rem;
}
.step h3 { margin: 0 0 0.35rem; }
.step p { margin: 0; color: var(--muted); }
.step p + p { margin-top: 0.5rem; }

.sticky-media { position: sticky; top: 6rem; }

/* ---------- Keberatan ---------- */
.objection { padding: clamp(1.75rem, 1rem + 2vw, 2.5rem) 0; border-top: 1px solid var(--rule); }
.objection:last-child { border-bottom: 1px solid var(--rule); }
.objection h3 { margin: 0 0 0.9rem; max-width: 26ch; }
.objection p { color: var(--muted); }
.objection p strong { color: var(--ink); font-weight: 600; }
.objection-grid { display: grid; gap: 1.25rem 2.5rem; }
@media (min-width: 992px) { .objection-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); } }

.quote-sm {
  margin: 0;
  padding: 0.15rem 0 0.15rem 1rem;
  border-left: 2px solid var(--rule);
  font-size: 0.93rem;
  color: var(--ink);
}
.quote-sm p { margin: 0; color: var(--ink); }
.quote-sm footer { margin-top: 0.4rem; color: var(--muted); font-size: 0.82rem; }
.quote-sm--pro { border-left-color: var(--accent); }
.quote-sm--con { border-left-color: var(--brand); }

/* ---------- Ulasan ---------- */
.quote {
  border-left: 2px solid var(--accent);
  padding: 0.25rem 0 0.25rem 1.1rem;
  color: var(--ink);
  font-size: 1.02rem;
}
.quote p { margin: 0; }
.quote footer { color: var(--muted); font-size: 0.88rem; margin-top: 0.5rem; }

.bar-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.4rem; }
.bar-list li { display: grid; grid-template-columns: 2.4rem 1fr auto; gap: 0.7rem; align-items: center; font-size: 0.85rem; color: var(--muted); }
/* Garis tipis tanpa palung: proporsinya terbaca, tanpa terlihat seperti
   progress bar dasbor. */
.bar-list .track { height: 3px; }
.bar-list .fill { display: block; height: 100%; border-radius: 999px; background: var(--accent); }
.bar-list li:last-child .fill { background: color-mix(in srgb, var(--brand) 70%, transparent); }

/* ---------- Daftar atribut ---------- */
.attr-list { list-style: none; padding: 0; margin: 0; }
.attr-list li {
  padding: 0.28rem 0 0.28rem 1.1rem;
  position: relative;
  color: var(--muted);
  font-size: 0.92rem;
}
.attr-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.82em;
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
}
.attr-list li.is-caution::before { background: var(--brand); }
.attr-list li.is-caution { color: var(--ink); }

.hours-table { width: 100%; max-width: 360px; border-collapse: collapse; }
.hours-table th,
.hours-table td { padding: 0.45rem 0; border-bottom: 1px solid var(--rule); font-weight: 400; }
.hours-table th { text-align: left; color: var(--muted); font-size: 0.9rem; }
.hours-table td { text-align: right; font-variant-numeric: tabular-nums; }
.hours-table tr.is-today th,
.hours-table tr.is-today td { color: var(--ink); font-weight: 600; }
.hours-table tr.is-today th::after {
  content: 'hari ini';
  margin-left: 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ---------- Galeri: asimetris on purpose ---------- */
/* Rasio dipegang oleh <figure>, bukan oleh bingkainya. Sel biasa yang persegi
   menentukan tinggi baris; sel yang melebar dua kolom tinggal meregang mengikuti
   baris itu, jadi tidak ada sel yang 6px lebih besar dari tetangganya. */
.gallery { display: grid; gap: 0.6rem; grid-template-columns: repeat(2, 1fr); }
.gallery figure { margin: 0; display: grid; aspect-ratio: 1; }
.gallery .media-frame { aspect-ratio: auto; width: 100%; height: 100%; border-radius: var(--radius); }
@media (min-width: 768px) {
  .gallery { grid-template-columns: repeat(4, 1fr); gap: 0.75rem; }
  .gallery > :nth-child(1) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
  .gallery > :nth-child(8) { grid-column: span 2; aspect-ratio: auto; }
}

/* ---------- FAQ: <details> asli, tanpa animasi tinggi ---------- */
.faq-list { border-top: 1px solid var(--rule); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item > summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 0;
  min-height: 44px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  transition: color var(--dur-hover) var(--ease-out);
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after {
  content: '';
  flex: none;
  margin-left: auto;
  width: 14px; height: 14px;
  background:
    linear-gradient(currentColor, currentColor) center/14px 1.25px no-repeat,
    linear-gradient(currentColor, currentColor) center/1.25px 14px no-repeat;
  transition: transform var(--dur-panel) var(--ease-out);
}
.faq-item[open] > summary { color: var(--brand); }
.faq-item[open] > summary::after { transform: rotate(90deg); }
.faq-answer { padding: 0 0 1.25rem; color: var(--muted); max-width: 62ch; }
.faq-answer p { margin: 0; color: inherit; }
.faq-answer p + p { margin-top: 0.6rem; }
.faq-item[open] .faq-answer { animation: answer-in var(--dur-panel) var(--ease-out) both; }
@keyframes answer-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ---------- Peta ---------- */
.map-frame { width: 100%; aspect-ratio: 16 / 11; border: 0; border-radius: var(--radius); display: block; }
@media (min-width: 992px) { .map-frame { aspect-ratio: 4 / 3; } }

/* ---------- Pita CTA ---------- */
.cta-band { background: var(--brand); color: var(--brand-ink); }
.cta-band h2 { color: var(--brand-ink); }
.cta-band p { color: color-mix(in srgb, var(--brand-ink) 88%, transparent); }
.cta-band .eyebrow { color: color-mix(in srgb, var(--brand-ink) 82%, transparent); }
/* Penanda TODO harus tetap terbaca di atas pita merah. */
.cta-band .todo {
  background: color-mix(in srgb, var(--ink) 30%, transparent);
  border-bottom-color: color-mix(in srgb, var(--brand-ink) 70%, transparent);
  color: var(--brand-ink);
}
.cta-band .btn-brand { background: var(--brand-ink); color: var(--brand); border-color: var(--brand-ink); }
.cta-band .btn-brand:hover { background: color-mix(in srgb, var(--brand-ink) 90%, var(--ink)); color: var(--brand); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); }
.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: color-mix(in srgb, var(--paper) 88%, transparent);
  text-decoration: none;
}
.site-footer a:hover { color: var(--paper); text-decoration: underline; }
.site-footer .rule { background: color-mix(in srgb, var(--paper) 22%, transparent); }
.site-footer .label { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: color-mix(in srgb, var(--paper) 68%, transparent); }
.site-footer p { color: color-mix(in srgb, var(--paper) 88%, transparent); }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 1030;
  display: inline-flex; align-items: center; gap: 0.5rem;
  min-height: 48px;
  padding: 0.7rem 1.15rem;
  background: var(--brand); color: var(--brand-ink);
  border-radius: 999px; font-weight: 600; text-decoration: none;
  box-shadow: 0 10px 28px color-mix(in srgb, var(--ink) 22%, transparent);
  transition: transform var(--dur-hover) var(--ease-out), background-color var(--dur-hover) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .wa-float:hover { color: var(--brand-ink); transform: translateY(-2px); background: color-mix(in srgb, var(--brand) 88%, #000); }
}

/* ---------- Utility ---------- */
.skip-link {
  position: absolute; left: 0.5rem; top: -3.5rem; z-index: 1040;
  background: var(--ink); color: var(--paper);
  padding: 0.7rem 1rem; border-radius: var(--radius);
  transition: transform var(--dur-hover) var(--ease-out);
}
.skip-link:focus { transform: translateY(4rem); color: var(--paper); }

.todo {
  background: color-mix(in srgb, var(--accent) 13%, transparent);
  border-bottom: 1px dashed color-mix(in srgb, var(--accent) 60%, transparent);
  padding: 0 0.18em;
  font-size: 0.94em;
}
/* Instruksi tidak pernah ditempel pada tipografi display. */
h1 .todo, h2 .todo, h3 .todo { background: none; border: 0; font-size: inherit; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity var(--dur-reveal) var(--ease-out),
    transform var(--dur-reveal) var(--ease-out);
  transition-delay: calc(var(--stagger, 0) * 60ms);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* Reduced motion berarti lebih sedikit dan lebih lembut, bukan nol: warna dan
   opacity tetap bertransisi, perpindahan posisi yang dihapus. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-property: opacity, background-color, border-color, color !important;
    transition-duration: 160ms !important;
  }
  .reveal { opacity: 1; transform: none; transition-delay: 0ms; }
  .btn:active { transform: none; }
  .skip-link { top: 0.5rem; transform: translateY(-4rem); }
  .skip-link:focus { transform: none; }
}
