/* =====================================================================
   KEDAI SAHABAT — SAHABAT SENANGMU · WATANSOPPENG, SULAWESI SELATAN
   Materialitas: porselen hangat, marmer, lakuer giok, emas daun,
   tegel heritage & motif kawung.
   ===================================================================== */

:root {
  /* Palet Pagi Watansoppeng (Light) */
  --porcelain:   #F6F1E5;
  --marble:      #ECE5D4;
  --card:        #FCF9F0;
  --card-2:      #F3ECE0;
  --linen:       #EFE8D8;

  --ink:         #21150D;
  --ink-soft:    #655444;
  --ink-faint:   #8C7B68;
  --line:        #D7CEB8;
  --line-soft:   #E5DEC9;

  --jade:        #0F3A2E;
  --jade-2:      #185241;
  --jade-deep:   #0A261E;
  --jade-ink:    #144E3F;
  --on-jade:     #F5EFE0;

  --gold:        #C29D52;
  --gold-2:      #DFC07B;
  --gold-ink:    #826324;
  --gold-soft:   rgba(194, 157, 82, .44);
  --gold-faint:  rgba(194, 157, 82, .22);

  --ok:          #1E7D4E;
  --shut:        #AE3B2F;

  /* Warna minuman & bahan (konsisten di segala cahaya) */
  --kopi:        #341B11;
  --matcha:      #4E7D38;
  --teh:         #A4551E;
  --water:       #C8A27D;
  --milk:        #F3E8D3;
  --skm:         #F2DEAC;
  --oat:         #E7D9BD;
  --aren-liq:    #6A3815;
  --pandan:      #6E9B3B;
  --butterscotch:#C48130;
  --sugar:       #FBF8F0;
  --sugar-dot:   #C8BA9D;
  --ice:         rgba(255, 255, 255, .48);
  --ice-edge:    rgba(255, 255, 255, .92);
  --shine:       rgba(255, 255, 255, .86);
  --cup-line:    #A49D8B;

  --shadow:      rgba(33, 21, 13, .18);
  --shadow-lg:   rgba(20, 15, 10, .24);
  --steam:       rgba(101, 84, 68, .38);

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body:    "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-mono:    "Spline Sans Mono", ui-monospace, Menlo, Consolas, monospace;
  --font-zh:      "Noto Serif SC", "STSong", "SimSun", serif;

  --soft: "SOFT" 45, "WONK" 1;
  --ease-out: cubic-bezier(.22, 1, .36, 1);

  --t-xs:  .78rem;
  --t-sm:  .9rem;
  --t-md:  1.04rem;
  --t-xl:  clamp(2rem, 3.6vw, 3rem);
  --t-2xl: clamp(2.8rem, 5.8vw, 4.75rem);
}

:root[data-theme="dark"] {
  /* Palet Malam di Salon (Dark) */
  --porcelain:   #0B1713;
  --marble:      #10201A;
  --card:        #142720;
  --card-2:      #182E26;
  --linen:       #1A3128;

  --ink:         #F2EAD8;
  --ink-soft:    #B4A78E;
  --ink-faint:   #867B67;
  --line:        #2A3F35;
  --line-soft:   #20332A;

  --jade:        #19493A;
  --jade-2:      #225F4C;
  --jade-deep:   #0D2A21;
  --jade-ink:    #90D0B3;
  --on-jade:     #F5EFE0;

  --gold:        #D5B36A;
  --gold-2:      #E7CC8E;
  --gold-ink:    #DFC07B;
  --gold-soft:   rgba(213, 179, 106, .46);
  --gold-faint:  rgba(213, 179, 106, .22);

  --ok:          #5CCB93;
  --shut:        #F08072;

  --shadow:      rgba(0, 0, 0, .52);
  --shadow-lg:   rgba(0, 0, 0, .68);
  --steam:       rgba(242, 234, 216, .32);

  color-scheme: dark;
}

/* ---------- Dasar & Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--porcelain);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--t-md);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  transition: background-color .35s ease, color .35s ease;
}

img, svg { max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.svg-defs { position: absolute; pointer-events: none; }

/* Tekstur kertas katun tipis */
.paper-grain {
  position: fixed; inset: 0; z-index: 60;
  pointer-events: none;
  opacity: .032;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
:root[data-theme="dark"] .paper-grain {
  opacity: .045;
  mix-blend-mode: soft-light;
}

.wrap {
  width: min(1220px, 100%);
  margin-inline: auto;
  padding-left: max(18px, env(safe-area-inset-left, 0px));
  padding-right: max(18px, env(safe-area-inset-right, 0px));
}
@media (min-width: 760px) {
  .wrap {
    padding-left: max(36px, env(safe-area-inset-left, 0px));
    padding-right: max(36px, env(safe-area-inset-right, 0px));
  }
}

/* ---------- Tipografi & Komponen Bersama ---------- */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-variation-settings: var(--soft);
  font-weight: 560;
  letter-spacing: -.014em;
}
h2 { margin: 0; font-size: var(--t-xl); line-height: 1.08; text-wrap: balance; }
.zh { font-family: var(--font-zh); font-weight: 600; }

.kicker {
  margin: 0;
  font-family: var(--font-display);
  font-variation-settings: var(--soft);
  font-style: italic;
  font-weight: 480;
  font-size: 1.04rem;
  color: var(--jade-ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.kicker::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
  flex: none;
}

/* Tombol */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 24px;
  border-radius: 5px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-weight: 600;
  font-size: var(--t-sm);
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .22s var(--ease-out), background-color .22s ease, color .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.btn:hover { transform: translateY(-2px); border-color: var(--gold); }
.btn:active { transform: translateY(0) scale(.985); }

.btn.primary {
  background: var(--jade);
  border-color: var(--jade-deep);
  color: var(--on-jade);
  box-shadow: inset 0 0 0 1px var(--gold-soft), 0 14px 26px -16px var(--shadow-lg);
}
.btn.primary:hover {
  background: var(--jade-2);
  border-color: var(--gold);
  box-shadow: inset 0 0 0 1px var(--gold-2), 0 18px 30px -16px var(--shadow-lg);
}

.btn.ghost {
  background: var(--card);
  border-color: var(--line);
}
.btn.ghost:hover {
  border-color: var(--gold);
  color: var(--jade-ink);
}

.btn.gold-btn {
  background: var(--gold);
  border-color: var(--gold-2);
  color: #1A120A;
  box-shadow: 0 10px 22px -14px rgba(0, 0, 0, .5);
}
.btn.gold-btn:hover {
  background: var(--gold-2);
}

.btn.outline-light {
  background: rgba(255, 255, 255, .06);
  border-color: var(--gold-soft);
  color: var(--on-jade);
}
.btn.outline-light:hover {
  background: rgba(255, 255, 255, .13);
  border-color: var(--gold-2);
}

.btn.text-link {
  border: 0;
  padding: 13px 6px;
  color: var(--ink-soft);
  text-decoration: underline;
  text-decoration-color: var(--gold-soft);
  text-underline-offset: 6px;
}
.btn.text-link:hover {
  color: var(--jade-ink);
  text-decoration-color: var(--gold);
  transform: none;
}

.btn .arr { transition: transform .22s var(--ease-out); }
.btn:hover .arr { transform: translateX(4px); }

/* Bingkai ganda ala sertifikat ukir Peranakan */
.frame {
  position: relative;
  border: 1px solid var(--gold-soft);
  border-radius: 8px;
}
.frame::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid var(--gold-faint);
  border-radius: 4px;
  pointer-events: none;
  z-index: 2;
}
.frame-seal {
  position: absolute;
  top: 0; left: 50%;
  transform: translate(-50%, -50%);
  display: grid; place-items: center;
  width: 36px; height: 36px;
  background: var(--card);
  color: var(--gold);
  border: 1px solid var(--gold-faint);
  border-radius: 50%;
  z-index: 3;
}
.frame-seal svg { width: 18px; height: 18px; display: block; }

/* Scroll reveal (progresif) */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .75s var(--ease-out), transform .75s var(--ease-out);
}
.js-reveal .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Kepala Halaman (Sticky Salon Bar) ---------- */
.top {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in srgb, var(--porcelain) 86%, transparent);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .3s ease, background-color .3s ease;
}
.top.is-scrolled {
  box-shadow: 0 12px 32px -24px var(--shadow-lg);
}
.top-row {
  display: flex; align-items: center; gap: 20px;
  min-height: 70px;
}

.brand {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none;
  flex: none;
}
.brand-seal {
  width: 46px; height: 46px; flex: none;
  color: var(--jade-ink);
  transition: transform .35s var(--ease-out);
}
.brand:hover .brand-seal { transform: scale(1.06); }
.brand-stack { display: grid; line-height: 1.1; }
.brand-name {
  font-family: var(--font-display);
  font-variation-settings: var(--soft);
  font-weight: 640;
  font-size: 1.16rem;
  letter-spacing: -.005em;
  white-space: nowrap;
}
.brand-name .zh {
  color: var(--gold-ink);
  font-size: 1rem;
  margin-left: 7px;
}
.brand-sub {
  font-family: var(--font-mono);
  font-size: .64rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 2px;
}

.nav {
  display: flex; align-items: center; gap: 28px;
  margin-left: auto;
}
.nav a {
  position: relative;
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 560;
  font-size: var(--t-sm);
  padding-block: 6px;
  transition: color .2s ease;
}
.nav a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .28s var(--ease-out);
}
.nav a:hover, .nav a.is-active { color: var(--ink); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }

.top-tools { display: flex; align-items: center; gap: 9px; margin-left: 10px; }

.status {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0; padding: 7px 14px;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--card);
  font-size: var(--t-xs); font-weight: 600;
  white-space: nowrap;
}
.status .dot {
  width: 8px; height: 8px; border-radius: 50%; flex: none;
  background: var(--ok);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 22%, transparent);
  animation: pulse-dot 2.4s ease-in-out infinite;
}
.status[data-state="closed"] .dot {
  background: var(--shut);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--shut) 22%, transparent);
  animation: none;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 22%, transparent); }
  50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--ok) 8%, transparent); }
}

.tray-btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 7px;
  height: 38px; padding: 0 13px;
  border-radius: 999px;
  border: 1px solid var(--gold-soft);
  background: var(--card);
  color: var(--ink);
  font-size: var(--t-xs); font-weight: 650;
  cursor: pointer;
  transition: border-color .2s, background-color .2s, color .2s, transform .2s;
}
.tray-btn:hover {
  border-color: var(--gold);
  background: var(--jade);
  color: var(--on-jade);
}
.tray-btn svg { width: 16px; height: 16px; flex: none; }
.tray-badge {
  display: grid; place-items: center;
  min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: 999px;
  background: var(--gold);
  color: #1A120A;
  font-family: var(--font-mono);
  font-size: .7rem; font-weight: 700;
}

.theme-btn {
  display: grid; place-items: center;
  width: 38px; height: 38px; flex: none;
  border: 1px solid var(--line); border-radius: 50%;
  background: var(--card); color: var(--ink-soft);
  cursor: pointer;
  transition: color .2s, border-color .2s, transform .25s var(--ease-out);
}
.theme-btn:hover { color: var(--gold-ink); border-color: var(--gold); transform: rotate(18deg); }
.theme-btn svg { width: 17px; height: 17px; }
.theme-btn .moon { display: none; }
:root[data-theme="dark"] .theme-btn .sun { display: none; }
:root[data-theme="dark"] .theme-btn .moon { display: block; }

.menu-toggle {
  display: none;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  width: 38px; height: 38px;
  border: 1px solid var(--line); border-radius: 50%;
  background: var(--card); color: var(--ink);
  cursor: pointer;
}
.menu-toggle span {
  width: 15px; height: 1.6px; background: currentColor;
  transition: transform .25s ease;
}
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.3px) rotate(-45deg); }

.mobile-nav {
  display: grid;
  padding: 12px 20px 20px;
  border-top: 1px solid var(--line-soft);
  background: var(--card);
}
.mobile-nav a {
  padding: 12px 4px;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.15rem;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-nav-cta {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 5px;
  border: 1px solid var(--gold-soft);
  background: var(--jade);
  color: var(--on-jade);
  font-weight: 600;
  cursor: pointer;
}

@media (max-width: 980px) {
  .nav { display: none; }
  .top-tools { margin-left: auto; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 600px) {
  .brand-name .zh, .brand-sub { display: none; }
  .status { display: none; }
  .tray-label { display: none; }
  .tray-btn { padding: 0 11px; }
}

/* ---------- HERO: PEMBUKA ARSITEKTURAL ---------- */
.hero {
  position: relative;
  padding-block: clamp(22px, 3.2vw, 38px) clamp(54px, 7vw, 96px);
  overflow: hidden;
}
.hero-wm {
  position: absolute; inset: 0; width: 100%; height: 100%;
  color: var(--jade); opacity: .04; pointer-events: none;
}
:root[data-theme="dark"] .hero-wm { color: var(--gold); opacity: .045; }
.hero .wrap { position: relative; }

/* Pita metadata arsitektur */
.hero-meta {
  display: flex; align-items: center; gap: 16px;
  padding-bottom: clamp(22px, 3vw, 34px);
  margin-bottom: clamp(18px, 2.8vw, 34px);
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.meta-item { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; }
.meta-item svg { width: 13px; height: 13px; color: var(--gold); flex: none; }
.meta-rule { flex: 1; height: 1px; background: linear-gradient(90deg, var(--gold-faint), transparent); }
.meta-sep { color: var(--gold); }
@media (max-width: 720px) {
  .hero-meta { flex-wrap: wrap; gap: 6px 14px; font-size: .66rem; }
  .meta-rule { display: none; }
}

.hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
}

.hero-editorial {
  display: grid;
  gap: clamp(18px, 2.2vw, 24px);
  justify-items: start;
  min-width: 0;
}

.salon-plaque {
  display: inline-flex; align-items: center; gap: 13px;
  padding: 7px 16px 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--gold-soft);
  background: var(--card);
  box-shadow: 0 8px 20px -16px var(--shadow);
}
.plaque-motto {
  font-family: var(--font-display);
  font-variation-settings: var(--soft);
  font-style: italic;
  font-weight: 520;
  font-size: 1.02rem;
  color: var(--gold-ink);
}
.plaque-divider { width: 1px; height: 14px; background: var(--gold-soft); }
.plaque-tag {
  font-size: .78rem; font-weight: 600;
  letter-spacing: .04em;
  color: var(--jade-ink);
}

.hero-title {
  margin: 0;
  font-size: var(--t-2xl);
  font-weight: 560;
  line-height: .98;
  letter-spacing: -.022em;
  text-wrap: balance;
}
.hero-title em {
  font-style: italic;
  font-weight: 430;
  color: var(--jade-ink);
  position: relative;
  display: inline-block;
}
.hero-title em::after {
  content: "";
  position: absolute; left: 2%; right: 4%; bottom: .04em;
  height: .07em;
  background: linear-gradient(90deg, var(--gold), color-mix(in srgb, var(--gold) 20%, transparent));
  border-radius: 999px;
}

.hero-lede {
  margin: 0;
  max-width: 52ch;
  color: var(--ink-soft);
  font-size: clamp(1.02rem, 1.25vw, 1.12rem);
  line-height: 1.72;
}

.hero-actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  margin-top: 4px;
}

.hero-ledger {
  margin: 14px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.hero-ledger div {
  position: relative;
  padding-right: 14px;
}
.hero-ledger div:not(:last-child)::after {
  content: "";
  position: absolute; top: 4px; right: 0; bottom: 4px;
  width: 1px; background: var(--line);
}
.hero-ledger dt {
  font-size: .76rem;
  color: var(--ink-soft);
  margin-bottom: 3px;
}
.hero-ledger dd {
  margin: 0;
  font-family: var(--font-display);
  font-variation-settings: var(--soft);
  font-weight: 620;
  font-size: clamp(1.22rem, 2vw, 1.48rem);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.hero-ledger dd small {
  font-family: var(--font-mono);
  font-size: .62em;
  font-weight: 500;
  color: var(--gold-ink);
}

/* Bingkai Lengkungan Peranakan */
.hero-visual { min-width: 0; }
.arch-stage {
  position: relative;
  max-width: 470px;
  margin-inline: auto;
  padding: 16px 14px 44px 26px;
}

.arch-halo {
  position: absolute;
  inset: 4px 2px 32px 38px;
  border: 1px solid var(--gold-soft);
  border-radius: 245px 245px 16px 16px;
  pointer-events: none;
}
.arch-halo::after {
  content: "";
  position: absolute; inset: 7px;
  border: 1px dashed var(--gold-faint);
  border-radius: 238px 238px 12px 12px;
}

.arch-frame {
  position: relative;
  margin: 0;
  aspect-ratio: 3 / 4;
  border-radius: 240px 240px 14px 14px;
  overflow: hidden;
  border: 1px solid var(--gold-soft);
  background: var(--marble);
  box-shadow: 0 34px 70px -34px var(--shadow-lg);
}
.arch-frame img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transition: transform 1.1s var(--ease-out);
}
.arch-frame:hover img { transform: scale(1.035); }
.arch-sheen {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15, 58, 46, .06) 0%, transparent 32%, rgba(15, 25, 20, .28) 100%);
  pointer-events: none;
}

/* Medali logo resmi melayang */
.hero-stamp {
  position: absolute;
  top: 18px; right: -12px;
  width: 112px; height: 112px;
  padding: 7px;
  border-radius: 50%;
  background: var(--card);
  border: 1.5px solid var(--gold-soft);
  box-shadow: 0 18px 38px -14px var(--shadow-lg), inset 0 0 0 3px var(--card), inset 0 0 0 4px var(--gold-faint);
  color: var(--jade-ink);
  z-index: 4;
  transition: transform .45s var(--ease-out);
}
.hero-stamp:hover { transform: scale(1.04); }
.hero-stamp svg { width: 100%; height: 100%; display: block; }

/* Kartu andalan melayang */
.hero-float {
  position: absolute;
  left: 0; bottom: 0;
  width: min(304px, 84%);
  padding: 16px 18px;
  background: color-mix(in srgb, var(--card) 94%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  z-index: 5;
  box-shadow: 0 24px 48px -22px var(--shadow-lg);
}
.float-meta {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-bottom: 6px;
}
.float-badge {
  font-family: var(--font-mono);
  font-size: .64rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-ink);
  padding: 2px 8px;
  border: 1px solid var(--gold-soft);
  border-radius: 3px;
  background: color-mix(in srgb, var(--gold) 12%, transparent);
}
.float-temp {
  font-family: var(--font-mono);
  font-size: .68rem; color: var(--ink-soft);
}
.float-name {
  margin: 0;
  font-family: var(--font-display);
  font-variation-settings: var(--soft);
  font-weight: 620;
  font-size: 1.12rem;
  line-height: 1.2;
}
.float-desc {
  margin: 3px 0 12px;
  font-size: .82rem;
  color: var(--ink-soft);
  line-height: 1.4;
}
.float-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}
.float-price {
  font-family: var(--font-display);
  font-variation-settings: var(--soft);
  font-weight: 640;
  font-size: 1.16rem;
  font-variant-numeric: tabular-nums;
}
.quick-add {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 7px 12px;
  border-radius: 4px;
  border: 1px solid var(--jade-deep);
  background: var(--jade);
  color: var(--on-jade);
  font-size: .78rem; font-weight: 620;
  cursor: pointer;
  transition: background-color .2s, transform .2s;
}
.quick-add:hover { background: var(--jade-2); transform: translateY(-1px); }

/* Orkestra masuk halaman */
@keyframes rise-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
.hero-editorial > * { animation: rise-in .82s var(--ease-out) both; }
.hero-editorial > *:nth-child(1) { animation-delay: .05s; }
.hero-editorial > *:nth-child(2) { animation-delay: .14s; }
.hero-editorial > *:nth-child(3) { animation-delay: .22s; }
.hero-editorial > *:nth-child(4) { animation-delay: .30s; }
.hero-editorial > *:nth-child(5) { animation-delay: .38s; }
.hero-visual { animation: rise-in .95s var(--ease-out) .2s both; }

@media (max-width: 960px) {
  .hero-stage { grid-template-columns: 1fr; gap: 40px; }
  .arch-stage { max-width: 420px; padding: 14px 10px 44px 14px; }
  .hero-stamp { width: 88px; height: 88px; right: 0; top: 14px; }
}
@media (max-width: 480px) {
  .hero-ledger { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .hero-ledger dd { font-size: 1.05rem; }
  .hero-float { width: calc(100% - 12px); left: 6px; }
}

/* ---------- PITA PANGGILAN BAR ---------- */
.ticker {
  background: var(--jade);
  color: var(--on-jade);
  overflow: hidden;
  border-block: 1px solid var(--gold-soft);
  position: relative;
}
.ticker-track {
  display: flex; width: max-content;
  animation: tick 62s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker ul { list-style: none; margin: 0; padding: 0; display: flex; }
.ticker li {
  display: inline-flex; align-items: center; gap: 28px;
  padding: 15px 0 15px 28px;
  font-family: var(--font-display);
  font-variation-settings: var(--soft);
  font-style: italic; font-weight: 460;
  font-size: 1.08rem;
  letter-spacing: .01em;
  white-space: nowrap;
}
.ticker li::after {
  content: "";
  width: 7px; height: 7px;
  background: var(--gold-2);
  transform: rotate(45deg);
  flex: none;
}
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- BAGIAN UMUM ---------- */
.section {
  padding-block: clamp(70px, 9vw, 124px);
  scroll-margin-top: 76px;
}
.sec-head {
  display: grid; gap: 12px;
  max-width: 64ch;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.sec-head p:not(.kicker) { margin: 0; color: var(--ink-soft); }
.sec-head.center {
  margin-inline: auto;
  text-align: center;
  justify-items: center;
}
.sec-head.center .kicker::after {
  content: "";
  width: 8px; height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
  flex: none;
}

/* ---------- MENU: KARTU HIDANGAN INTERAKTIF ---------- */
.menu-crest {
  width: 72px; height: 72px;
  color: var(--jade-ink);
  margin-bottom: 4px;
}
.menu-filter {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  margin-bottom: clamp(28px, 3.8vw, 44px);
}
.filter-pill {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink-soft);
  font-size: var(--t-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all .22s var(--ease-out);
}
.filter-pill:hover { border-color: var(--gold); color: var(--ink); }
.filter-pill.is-active {
  background: var(--jade);
  border-color: var(--jade-deep);
  color: var(--on-jade);
  box-shadow: inset 0 0 0 1px var(--gold-soft);
}

.menu-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 34px);
  align-items: start;
}
.menu-grid.is-single {
  grid-template-columns: minmax(0, 780px);
  justify-content: center;
}
.menu-side { display: grid; gap: clamp(20px, 3vw, 32px); min-width: 0; }

.board {
  background: var(--card);
  padding: clamp(28px, 3.6vw, 42px) clamp(20px, 3.2vw, 38px) clamp(22px, 2.8vw, 30px);
  min-width: 0;
  box-shadow: 0 26px 56px -42px var(--shadow-lg);
}
.board-head { text-align: center; padding-bottom: 12px; }
.board-head h3 {
  margin: 0;
  font-size: 1.75rem; font-weight: 620; line-height: 1.1;
}
.board-head h3 small {
  display: block; margin-top: 5px;
  font-family: var(--font-display);
  font-variation-settings: var(--soft);
  font-style: italic; font-weight: 460;
  font-size: .98rem;
  color: var(--ink-soft);
}
.board-rule {
  display: flex; align-items: center; gap: 12px;
  margin: 14px 0 6px;
  color: var(--gold);
}
.board-rule::before, .board-rule::after { content: ""; flex: 1; height: 1px; background: var(--gold-soft); }
.board-rule svg { width: 12px; height: 12px; flex: none; }

.cols {
  display: flex; justify-content: flex-end; gap: 10px;
  font-family: var(--font-mono);
  font-size: .68rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--ink-soft);
  padding-top: 8px;
}
.cols span { width: 5.2rem; text-align: center; flex: none; }

.menu-group + .menu-group { margin-top: 22px; }
.group-label {
  margin: 0 0 6px;
  font-family: var(--font-mono);
  font-size: .7rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-ink);
  display: flex; align-items: center; gap: 10px;
}
.group-label::after { content: ""; flex: 1; height: 1px; background: var(--line-soft); }

.items { list-style: none; margin: 0; padding: 0; }
.items li {
  padding: 13px 0;
  border-bottom: 1px solid var(--line-soft);
  transition: background-color .2s;
}
.items li:last-child { border-bottom: 0; padding-bottom: 4px; }

.row { display: flex; align-items: center; min-width: 0; gap: 8px; }
.row b {
  font-family: var(--font-display);
  font-variation-settings: var(--soft);
  font-weight: 600; font-size: 1.08rem;
  min-width: 0;
}
.lead {
  flex: 1 1 auto; min-width: 14px;
  border-bottom: 1.5px dotted color-mix(in srgb, var(--ink-soft) 40%, transparent);
  transform: translateY(2px);
}
.items small {
  display: block; margin-top: 3px;
  color: var(--ink-soft);
  font-size: .88rem; line-height: 1.48;
  padding-right: 12px;
}

.tag {
  padding: 2px 7px; flex: none;
  font-family: var(--font-mono);
  font-size: .6rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .11em;
  color: var(--gold-ink);
  border: 1px solid var(--gold-soft); border-radius: 3px;
  background: color-mix(in srgb, var(--gold) 10%, transparent);
}
.tag.is-jade {
  color: var(--jade-ink);
  border-color: color-mix(in srgb, var(--jade-ink) 35%, transparent);
  background: color-mix(in srgb, var(--jade-ink) 8%, transparent);
}

/* Tombol harga interaktif Panas / Es */
.price-btn, .price-na {
  width: 5.2rem;
  flex: none;
  text-align: center;
  font-family: var(--font-display);
  font-variation-settings: var(--soft);
  font-weight: 580;
  font-size: .96rem;
  font-variant-numeric: tabular-nums;
}
.price-na { color: var(--ink-faint); }
.price-btn {
  position: relative;
  padding: 5px 6px;
  border-radius: 5px;
  border: 1px solid var(--line-soft);
  background: color-mix(in srgb, var(--porcelain) 60%, var(--card));
  color: var(--ink);
  cursor: pointer;
  transition: all .2s var(--ease-out);
}
.price-btn::before {
  content: "+";
  position: absolute; left: 6px; top: 50%;
  transform: translateY(-50%) scale(.7);
  opacity: 0;
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--gold-2);
  transition: opacity .18s ease, transform .18s ease;
}
.price-btn:hover {
  background: var(--jade);
  border-color: var(--gold-soft);
  color: var(--on-jade);
  padding-left: 14px;
  transform: translateY(-1px);
}
.price-btn:hover::before { opacity: 1; transform: translateY(-50%) scale(1); }
.price-btn.just-added {
  background: var(--ok);
  border-color: var(--ok);
  color: #fff;
}

.board-note {
  margin: 16px 0 0; padding-top: 14px;
  border-top: 1px dashed var(--line);
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--ink-soft);
  text-align: center;
}

/* Kartu Paket Sarapan Lengkap */
.set {
  position: relative; overflow: hidden;
  display: grid; gap: 16px;
  padding: clamp(28px, 3.5vw, 38px) clamp(22px, 3vw, 34px);
  border-radius: 8px;
  background: radial-gradient(circle at 100% 0%, rgba(194, 157, 82, .16), transparent 55%), var(--jade);
  color: var(--on-jade);
  box-shadow: inset 0 0 0 1px var(--gold-soft), 0 26px 52px -34px var(--shadow-lg);
}
.set::before {
  content: ""; position: absolute; inset: 7px;
  border: 1px solid var(--gold-faint); border-radius: 4px;
  pointer-events: none;
}
.set .kicker { color: var(--gold-2); }
.set .kicker::before { background: var(--gold-2); }
.set h3 { margin: 4px 0 0; font-size: 1.85rem; font-weight: 620; line-height: 1.08; }
.set-lead {
  margin: 0;
  font-size: .95rem;
  line-height: 1.55;
  color: color-mix(in srgb, var(--on-jade) 82%, transparent);
}
.set ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.set li { display: flex; gap: 11px; align-items: baseline; font-size: .98rem; }
.set li em { font-style: italic; color: var(--gold-2); font-size: .92em; }
.set li::before { content: "+"; font-family: var(--font-mono); color: var(--gold-2); }
.set li:first-child::before { content: "◆"; font-size: .62em; }
.set-price {
  display: grid; gap: 14px;
  margin-top: 4px; padding-top: 16px;
  border-top: 1px dashed var(--gold-soft);
}
.set-price b {
  display: block;
  font-family: var(--font-display);
  font-variation-settings: var(--soft);
  font-weight: 640; font-size: 2.2rem; line-height: 1.05;
  color: var(--gold-2);
  font-variant-numeric: tabular-nums;
}
.set-price span { font-size: var(--t-sm); color: color-mix(in srgb, var(--on-jade) 80%, transparent); }
.set-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.set-actions .btn { padding: 10px 16px; font-size: .84rem; }

@media (max-width: 920px) { .menu-grid { grid-template-columns: 1fr; } }
@media (max-width: 460px) {
  .cols span, .price-btn, .price-na { width: 4.1rem; font-size: .88rem; }
  .row b { font-size: 1rem; }
  .tag { display: none; }
}

/* ---------- STUDIO BARISTA: RACIK KOPIMU ---------- */
.code-sec {
  background: var(--marble);
  border-block: 1px solid var(--line-soft);
}

.presets {
  display: flex; flex-wrap: wrap; align-items: center; gap: 9px;
  margin-bottom: clamp(22px, 3vw, 32px);
}
.presets-label {
  font-family: var(--font-mono);
  font-size: .72rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-soft);
  margin-right: 4px;
}
.preset-chip {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink-soft);
  font-size: .82rem; font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;
}
.preset-chip:hover { border-color: var(--gold); color: var(--ink); }
.preset-chip.is-active {
  background: var(--jade);
  border-color: var(--jade-deep);
  color: var(--on-jade);
  box-shadow: inset 0 0 0 1px var(--gold-soft);
}

.code-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
}

.builder { display: grid; gap: 22px; min-width: 0; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend {
  padding: 0; margin-bottom: 10px;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px;
  font-family: var(--font-display);
  font-variation-settings: var(--soft);
  font-weight: 620; font-size: 1.05rem;
}
legend span { font-family: var(--font-body); font-weight: 450; font-size: .88rem; color: var(--ink-soft); }

.seg { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 9px; }
.seg label {
  position: relative;
  display: grid; gap: 2px; align-content: start;
  padding: 12px 13px;
  border: 1px solid var(--line); border-radius: 6px;
  background: var(--card);
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, transform .15s, box-shadow .2s;
}
.seg input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.seg .w {
  font-family: var(--font-display);
  font-variation-settings: var(--soft);
  font-weight: 600; font-size: .98rem; line-height: 1.25;
}
.seg .m { font-size: .78rem; line-height: 1.35; color: var(--ink-soft); transition: color .2s; }
.seg label:hover { border-color: var(--gold); }
.seg label:active { transform: scale(.985); }
.seg label:has(input:checked) {
  background: var(--jade);
  border-color: var(--jade-deep);
  color: var(--on-jade);
  box-shadow: inset 0 0 0 1px var(--gold-soft), 0 10px 20px -16px var(--shadow-lg);
}
.seg label:has(input:checked) .m { color: color-mix(in srgb, var(--on-jade) 82%, transparent); }
.seg label:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
.seg label:has(input:disabled) { opacity: .4; cursor: not-allowed; }
.seg input:disabled { cursor: not-allowed; }
.hint { margin: 8px 0 0; font-size: .86rem; color: var(--ink-soft); font-style: italic; }

@media (max-width: 580px) {
  .seg[style*="--n:4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Kartu Visualisasi Gelas */
.result {
  position: sticky; top: 88px;
  display: grid; gap: 18px;
  padding: clamp(24px, 3.2vw, 34px);
  background: var(--card);
  min-width: 0;
  box-shadow: 0 30px 60px -40px var(--shadow-lg);
}
.result-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(20px, 3vw, 32px);
  align-items: center;
}

.glass-stage { display: grid; place-items: center; }
.glass-wrap { position: relative; padding: 34px 8px 12px; }
.glass { position: relative; width: 150px; height: 220px; z-index: 2; }
.glass-coaster {
  width: 148px; height: 14px;
  margin: -5px auto 0;
  border-radius: 50%;
  background: var(--jade-deep);
  border: 1.5px solid var(--gold-soft);
  box-shadow: 0 10px 18px -6px var(--shadow-lg);
}

.glass-inner {
  position: absolute; inset: 0;
  clip-path: polygon(2% 2%, 98% 2%, 86% 96%, 14% 96%);
  background: color-mix(in srgb, var(--marble) 72%, transparent);
}
.liquid { position: absolute; inset: 0; display: flex; flex-direction: column-reverse; }
.layer {
  flex: none; height: 0;
  position: relative;
  transition: height .62s var(--ease-out), background-color .45s ease;
}
.layer::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0;
  height: 2px;
  background: rgba(255, 255, 255, .14);
}
.layer.sugar {
  background-image: radial-gradient(var(--sugar-dot) 1px, transparent 1.6px);
  background-size: 6px 6px;
}

.ice { position: absolute; inset: 0; }
.ice i {
  position: absolute; width: 29px; height: 29px; border-radius: 6px;
  background: var(--ice);
  border: 1.4px solid var(--ice-edge);
  transform: rotate(var(--r));
  transition: opacity .35s ease, transform .58s var(--ease-out);
  animation: ice-bob 5.5s ease-in-out infinite;
}
.ice i::after {
  content: ""; position: absolute; left: 5px; top: 5px;
  width: 9px; height: 4.5px; border-radius: 3px;
  background: var(--shine); opacity: .85; transform: rotate(-18deg);
}
.ice i:nth-child(1) { left: 18%; top: 18%; --r: 14deg; animation-delay: 0s; }
.ice i:nth-child(2) { left: 51%; top: 16%; --r: -12deg; animation-delay: -1.4s; }
.ice i:nth-child(3) { left: 30%; top: 34%; --r: 28deg; animation-delay: -2.8s; }
.ice i:nth-child(4) { left: 55%; top: 39%; --r: 8deg; animation-delay: -4.1s; }
.ice i:nth-child(5) { left: 22%; top: 50%; --r: -22deg; animation-delay: -2s; width: 24px; height: 24px; }
.glass:not(.peng) .ice i { opacity: 0; transform: translateY(-42px) rotate(var(--r)); animation: none; }
@keyframes ice-bob { 0%, 100% { margin-top: 0; } 50% { margin-top: -3px; } }

/* Embun dingin di luar gelas */
.condensation { position: absolute; inset: 0; pointer-events: none; transition: opacity .35s; }
.glass:not(.peng) .condensation { opacity: 0; }
.condensation span {
  position: absolute; width: 3.5px; height: 5px; border-radius: 50%;
  background: rgba(255, 255, 255, .72);
}
.condensation span:nth-child(1) { left: 16%; top: 32%; }
.condensation span:nth-child(2) { left: 80%; top: 44%; width: 4px; height: 6px; }
.condensation span:nth-child(3) { left: 24%; top: 64%; }
.condensation span:nth-child(4) { left: 74%; top: 72%; }
.condensation span:nth-child(5) { left: 68%; top: 26%; }

.glass-outline { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.glass-outline .body { fill: none; stroke: var(--ink-soft); stroke-width: 1.9; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.glass-outline .hl { stroke: var(--ice-edge); stroke-width: 3.2; stroke-linecap: round; opacity: .6; vector-effect: non-scaling-stroke; }
.glass-outline .hl-thin { stroke: var(--ice-edge); stroke-width: 1.5; stroke-linecap: round; opacity: .45; vector-effect: non-scaling-stroke; }
.glass-outline .rim { stroke: var(--gold); stroke-width: 2.6; stroke-linecap: round; vector-effect: non-scaling-stroke; opacity: .9; }
.glass-outline .facetline { stroke: var(--cup-line); stroke-width: 1; opacity: .58; vector-effect: non-scaling-stroke; }
.glass-outline .lidline { stroke: var(--ink-soft); stroke-width: 3.5; stroke-linecap: round; vector-effect: non-scaling-stroke; transition: opacity .3s; }
.glass-outline .strawline { stroke: var(--jade-2); stroke-width: 6.5; stroke-linecap: round; vector-effect: non-scaling-stroke; transition: opacity .3s; }
.glass:not(.peng) .lidline, .glass:not(.peng) .strawline { opacity: 0; }

.steam-mini { position: absolute; left: 50%; top: 0; width: 64px; height: 38px; transform: translateX(-50%); transition: opacity .4s; }
.steam-mini path { fill: none; stroke: var(--steam); stroke-width: 3.2; stroke-linecap: round; animation: rise 3.2s ease-in-out infinite; }
.steam-mini path:nth-child(2) { animation-delay: -1.1s; }
.steam-mini path:nth-child(3) { animation-delay: -2.2s; }
.glass-wrap.peng .steam-mini { opacity: 0; }
@keyframes rise {
  0% { transform: translateY(10px); opacity: .2; }
  45% { opacity: 1; }
  100% { transform: translateY(-16px); opacity: .06; }
}

.order { display: grid; gap: 10px; min-width: 0; }
.order .kicker { font-size: .92rem; }
.code-out {
  margin: 0;
  font-family: var(--font-display);
  font-variation-settings: var(--soft);
  font-weight: 640;
  font-size: clamp(1.42rem, 2.5vw, 1.95rem);
  line-height: 1.12;
  overflow-wrap: anywhere;
}
.code-out .mod {
  display: block; margin-top: 5px;
  font-size: .58em; font-style: italic; font-weight: 500;
  color: var(--jade-ink);
}
.code-out.bump { animation: bump .35s ease; }
@keyframes bump { 0% { transform: translateY(5px); opacity: .45; } 100% { transform: none; opacity: 1; } }
.translation { margin: 0; color: var(--ink-soft); font-size: .95rem; line-height: 1.5; }

/* Profil rasa */
.taste-meters {
  display: grid; gap: 7px;
  margin-top: 4px; padding-top: 10px;
  border-top: 1px solid var(--line-soft);
}
.meter {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: .68rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-soft);
}
.meter-track {
  height: 5px; border-radius: 999px;
  background: var(--line-soft);
  overflow: hidden;
}
.meter-fill {
  height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--jade-2), var(--gold));
  transition: width .48s var(--ease-out);
}

.legend {
  list-style: none; margin: 0; padding: 14px 0 0;
  border-top: 1px dashed var(--line);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  font-size: .86rem;
}
.legend li { display: flex; align-items: center; gap: 9px; min-width: 0; }
.sw {
  width: 13px; height: 13px; border-radius: 3px; flex: none;
  border: 1px solid color-mix(in srgb, var(--ink) 20%, transparent);
}
.sw.sugar { background-image: radial-gradient(var(--sugar-dot) 1px, transparent 1.6px); background-size: 4px 4px; }
.legend .amt { margin-left: auto; font-family: var(--font-mono); font-size: .72rem; color: var(--ink-soft); white-space: nowrap; }

.order-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.price-block { display: grid; line-height: 1.1; }
.price-label { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.price {
  font-family: var(--font-display);
  font-variation-settings: var(--soft);
  font-weight: 640; font-size: 1.65rem;
  font-variant-numeric: tabular-nums;
}
.order-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.order-btns .btn { padding: 11px 18px; }
.toast-msg { margin: 0; font-size: .88rem; color: var(--jade-ink); font-weight: 600; }

@media (max-width: 960px) {
  .code-grid { display: flex; flex-direction: column; gap: 24px; }
  .result { position: relative; top: 0; order: -1; }
}
@media (max-width: 560px) {
  .result-top { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .order { justify-items: center; }
  .taste-meters { width: 100%; text-align: left; }
  .legend { grid-template-columns: 1fr; }
}

/* ---------- DI BALIK BAR: BIJI & SEDUH ---------- */
.craft-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, .84fr);
  gap: clamp(20px, 3vw, 34px);
  align-items: stretch;
  margin-bottom: clamp(44px, 6vw, 72px);
}
.craft-photo {
  margin: 0;
  background: var(--card);
  overflow: hidden;
  display: grid;
  grid-template-rows: 1fr auto;
  box-shadow: 0 28px 56px -38px var(--shadow-lg);
}
.craft-photo img {
  display: block; width: 100%; height: 100%;
  min-height: 320px;
  object-fit: cover;
  transition: transform 1s var(--ease-out);
}
.craft-photo:hover img { transform: scale(1.03); }
.craft-photo figcaption {
  padding: 16px 22px;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px;
  border-top: 1px solid var(--line-soft);
  font-size: .9rem; color: var(--ink-soft);
  background: var(--card);
  position: relative; z-index: 3;
}
.cap-tag {
  font-family: var(--font-mono);
  font-size: .68rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-ink);
}

/* Dossier Anatomi 4 Lapisan */
.craft-dossier {
  background: var(--jade);
  color: var(--on-jade);
  padding: clamp(28px, 3.4vw, 38px) clamp(22px, 3vw, 32px);
  display: grid; gap: 14px; align-content: space-between;
  box-shadow: 0 28px 56px -36px var(--shadow-lg);
}
.craft-dossier .frame-seal { background: var(--jade); color: var(--gold-2); }
.dossier-kicker {
  margin: 0;
  font-family: var(--font-mono);
  font-size: .68rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-2);
}
.craft-dossier h3 { margin: 0; font-size: 1.85rem; line-height: 1.08; font-weight: 600; }
.dossier-lead {
  margin: 0; font-size: .92rem; line-height: 1.55;
  color: color-mix(in srgb, var(--on-jade) 78%, transparent);
}

.anatomy-list {
  list-style: none; margin: 4px 0; padding: 0;
  display: grid; gap: 11px;
}
.anatomy-list li {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr) auto;
  gap: 12px; align-items: start;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--gold-faint);
}
.anatomy-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.ana-swatch {
  width: 14px; height: 14px; border-radius: 3px;
  margin-top: 4px;
  border: 1px solid rgba(255, 255, 255, .32);
}
.anatomy-list strong {
  display: block;
  font-family: var(--font-display);
  font-variation-settings: var(--soft);
  font-weight: 600; font-size: 1rem;
  color: var(--on-jade);
}
.anatomy-list span {
  display: block; font-size: .82rem; line-height: 1.42;
  color: color-mix(in srgb, var(--on-jade) 72%, transparent);
}
.ana-layer {
  font-family: var(--font-mono);
  font-size: .72rem; color: var(--gold-2) !important;
  padding-top: 2px;
}
.dossier-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
  padding-top: 12px;
  border-top: 1px dashed var(--gold-soft);
  font-size: .84rem;
  color: color-mix(in srgb, var(--on-jade) 80%, transparent);
}
.dossier-foot strong { color: var(--gold-2); }
.dossier-link {
  color: var(--gold-2); font-weight: 600; text-decoration: none;
  border-bottom: 1px solid var(--gold-soft);
  transition: border-color .2s;
}
.dossier-link:hover { border-bottom-color: var(--gold-2); }

/* 4 Langkah Menyeduh */
.steps {
  list-style: none; margin: 0 0 clamp(48px, 6vw, 76px); padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(22px, 3vw, 38px);
  position: relative;
}
.steps::before {
  content: ""; position: absolute; top: 29px; left: 5%; right: 5%;
  height: 1px; background: var(--gold-soft);
}
.steps li { display: grid; gap: 10px; align-content: start; min-width: 0; position: relative; }
.step-top { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.roundel {
  display: grid; place-items: center;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--gold-soft);
  box-shadow: 0 0 0 6px var(--porcelain), inset 0 0 0 4px var(--card), inset 0 0 0 5px var(--gold-faint);
  color: var(--jade-ink);
  transition: transform .3s var(--ease-out), background-color .3s, color .3s;
}
.steps li:hover .roundel {
  transform: translateY(-3px);
  background: var(--jade);
  color: var(--gold-2);
}
.roundel svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.num {
  font-family: var(--font-display);
  font-variation-settings: var(--soft);
  font-style: italic; font-weight: 500;
  font-size: .95rem; color: var(--gold-ink);
}
.steps h3 { margin: 0; font-size: 1.48rem; font-weight: 620; line-height: 1.08; text-align: center; }
.steps p { margin: 0; color: var(--ink-soft); font-size: .95rem; text-align: center; }

/* Catatan Biji Nusantara */
.origins { display: grid; gap: 18px; }
.origins-head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.origins-meta {
  font-family: var(--font-mono);
  font-size: .74rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-soft);
}
.origins-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.8vw, 28px);
}
.origin-card {
  background: var(--card);
  padding: clamp(22px, 2.8vw, 30px);
  display: grid; gap: 12px;
  box-shadow: 0 20px 44px -38px var(--shadow-lg);
}
.origin-top {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px;
}
.origin-region {
  font-family: var(--font-mono);
  font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-soft);
}
.origin-process {
  font-family: var(--font-mono);
  font-size: .66rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 2px 8px; border-radius: 3px;
  border: 1px solid var(--gold-soft);
  color: var(--gold-ink);
}
.origin-card h3 { margin: 0; font-size: 1.6rem; font-weight: 620; }
.origin-card p { margin: 0; color: var(--ink-soft); font-size: .94rem; }
.origin-notes { display: flex; flex-wrap: wrap; gap: 7px; }
.origin-notes span {
  padding: 4px 10px; border-radius: 999px;
  background: var(--marble);
  border: 1px solid var(--line-soft);
  font-size: .78rem; font-weight: 600; color: var(--jade-ink);
}
.origin-scales {
  margin: 4px 0 0; padding-top: 12px;
  border-top: 1px dashed var(--line);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.origin-scales dt {
  font-family: var(--font-mono);
  font-size: .66rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 5px;
}
.origin-scales dd { margin: 0; display: flex; gap: 4px; }
.origin-scales i {
  width: 9px; height: 9px; border-radius: 50%;
  border: 1px solid var(--gold-soft);
  background: transparent;
}
.origin-scales i.on { background: var(--gold); border-color: var(--gold); }

@media (max-width: 980px) {
  .craft-gallery { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps::before { display: none; }
}
@media (max-width: 720px) { .origins-grid { grid-template-columns: 1fr; } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }

/* ---------- KUNJUNGI ---------- */
.visit {
  border-top: 1px solid var(--line-soft);
  background: linear-gradient(180deg, var(--porcelain) 0%, var(--marble) 100%);
}
.visit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.visit-visual { display: grid; gap: 16px; min-width: 0; }
.salon-figure {
  margin: 0; background: var(--card); overflow: hidden;
  box-shadow: 0 30px 60px -40px var(--shadow-lg);
}
.salon-photo-wrap { position: relative; overflow: hidden; }
.salon-photo-wrap img {
  display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  transition: transform 1s var(--ease-out);
}
.salon-figure:hover .salon-photo-wrap img { transform: scale(1.03); }
.salon-plaque-tag {
  position: absolute; left: 18px; top: 18px; z-index: 3;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px;
  border-radius: 4px;
  background: color-mix(in srgb, var(--jade) 92%, transparent);
  border: 1px solid var(--gold-soft);
  color: var(--on-jade);
  font-family: var(--font-mono);
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  box-shadow: 0 12px 24px -12px rgba(0, 0, 0, .5);
}
.salon-plaque-tag .zh { color: var(--gold-2); font-size: .95rem; letter-spacing: .14em; }

/* Pita tegel peranakan */
.tile-frieze {
  display: block; width: 100%; height: 44px;
  border-block: 1px solid var(--gold-soft);
}
.tile-bg { fill: var(--marble); }
.tile-jade { fill: var(--jade); }
.tile-gold { fill: var(--gold); }
.tile-ink { fill: var(--ink); }

.salon-figure figcaption {
  padding: 13px 20px;
  font-size: .88rem; color: var(--ink-soft); font-style: italic;
  text-align: center;
  background: var(--card);
  position: relative; z-index: 3;
}

.visit-highlights {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.visit-highlights div {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  padding: 14px 12px;
  text-align: center;
  display: grid; gap: 2px;
}
.visit-highlights strong {
  font-family: var(--font-display);
  font-variation-settings: var(--soft);
  font-size: 1.32rem; font-weight: 620;
  color: var(--jade-ink);
}
.visit-highlights span { font-size: .78rem; color: var(--ink-soft); }

.visit-info { display: grid; gap: 22px; min-width: 0; }
.visit-info .sec-head { margin-bottom: 0; }

.address-card {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  padding: 18px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
}
address {
  font-style: normal;
  font-family: var(--font-display);
  font-variation-settings: var(--soft);
  font-size: 1.32rem; font-weight: 580; line-height: 1.3;
}
address small {
  display: block; margin-top: 3px;
  font-family: var(--font-body); font-size: .88rem; font-weight: 450; color: var(--ink-soft);
}
.phone {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0; font-family: var(--font-mono); font-size: .92rem;
  font-variant-numeric: tabular-nums;
}
.mini-btn {
  padding: 6px 11px; border-radius: 4px;
  border: 1px solid var(--line); background: var(--porcelain); color: var(--ink);
  font-family: var(--font-body); font-size: .76rem; font-weight: 600;
  cursor: pointer; transition: border-color .2s, color .2s;
}
.mini-btn:hover { border-color: var(--gold); color: var(--gold-ink); }

.visit-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td {
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
  text-align: left; font-weight: 500;
}
.hours td { text-align: right; font-family: var(--font-mono); font-size: .88rem; }
.hours tr.today th, .hours tr.today td { color: var(--jade-ink); font-weight: 700; }
.hours tr.today th::after {
  content: "Hari ini"; margin-left: 10px; padding: 2px 8px; border-radius: 3px; vertical-align: 1px;
  font-family: var(--font-mono); font-size: .6rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold-ink);
  border: 1px solid var(--gold-soft);
  background: color-mix(in srgb, var(--gold) 12%, transparent);
}

.notes { margin: 0; display: grid; gap: 10px; }
.notes div { display: grid; grid-template-columns: 8.2rem minmax(0, 1fr); gap: 12px; }
.notes dt {
  font-family: var(--font-mono);
  font-size: .7rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--ink-soft); padding-top: 3px;
}
.notes dd { margin: 0; font-size: .95rem; }
.notes dd a {
  color: var(--jade-ink);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--gold-soft);
}
.notes dd a:hover { border-bottom-color: var(--gold); }

@media (max-width: 920px) { .visit-grid { grid-template-columns: 1fr; } }
@media (max-width: 440px) { .notes div { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- KAKI HALAMAN ---------- */
footer {
  background: var(--jade-deep);
  color: var(--on-jade);
  border-top: 1px solid var(--gold-soft);
}
.foot-band { display: block; width: 100%; height: 34px; color: var(--gold-2); opacity: .42; }
.foot-grid {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 24px 44px; align-items: center;
  padding-block: clamp(38px, 5vw, 56px);
}
.foot-seal { width: 96px; height: 96px; color: var(--gold-2); }
.foot-brand {
  margin: 0;
  font-family: var(--font-display);
  font-variation-settings: var(--soft);
  font-weight: 640; font-size: 1.7rem; line-height: 1.15;
}
.foot-brand .foot-motto {
  color: var(--gold-2);
  margin-left: 10px;
  font-size: 1.12rem;
  font-style: italic;
  font-weight: 460;
}
.foot-addr {
  margin: 8px 0 0; font-size: var(--t-sm);
  color: color-mix(in srgb, var(--on-jade) 76%, transparent);
}
.foot-meta {
  text-align: right; display: grid; gap: 7px; font-size: var(--t-sm);
}
.foot-meta a {
  color: var(--gold-2); text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.foot-meta a:hover { border-bottom-color: var(--gold-2); }
.foot-base {
  border-top: 1px solid var(--gold-faint);
  padding-block: 18px 26px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  font-family: var(--font-mono);
  font-size: .72rem;
  color: color-mix(in srgb, var(--on-jade) 64%, transparent);
}
@media (max-width: 760px) {
  .foot-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .foot-meta { text-align: center; }
}

/* ---------- PIL BON MELAYANG ---------- */
.floating-bon {
  position: fixed;
  right: max(18px, env(safe-area-inset-right, 0px));
  bottom: max(18px, env(safe-area-inset-bottom, 0px));
  z-index: 35;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 13px 20px;
  border-radius: 999px;
  border: 1px solid var(--gold);
  background: var(--jade);
  color: var(--on-jade);
  font-size: .9rem; font-weight: 620;
  cursor: pointer;
  box-shadow: 0 20px 44px -14px rgba(0, 0, 0, .5);
  transition: transform .24s var(--ease-out), background-color .2s;
}
.floating-bon:hover { transform: translateY(-3px); background: var(--jade-2); }
.fb-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-2); }
.fb-action { color: var(--gold-2); font-family: var(--font-mono); font-size: .78rem; }

/* ---------- LACI BON PESANAN ---------- */
.drawer-backdrop, .modal-backdrop {
  position: fixed; inset: 0; z-index: 45;
  background: rgba(8, 18, 14, .58);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 50;
  width: min(440px, 100%);
  background: var(--card);
  border-left: 1px solid var(--gold-soft);
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  box-shadow: -24px 0 64px -20px rgba(0, 0, 0, .42);
  animation: slide-in .32s var(--ease-out);
}
@keyframes slide-in { from { transform: translateX(100%); } to { transform: none; } }

.drawer-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 14px;
  padding: 22px 24px 16px;
  border-bottom: 1px dashed var(--line);
}
.drawer-kicker {
  margin: 0 0 2px;
  font-family: var(--font-mono);
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-ink);
}
.drawer-head h2 { font-size: 1.55rem; }

.icon-close {
  width: 34px; height: 34px; flex: none;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--porcelain);
  color: var(--ink);
  cursor: pointer;
  display: grid; place-items: center;
  transition: border-color .2s, color .2s;
}
.icon-close:hover { border-color: var(--gold); color: var(--gold-ink); }

.drawer-mode {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px;
  padding: 14px 24px 0;
}
.drawer-mode label { position: relative; cursor: pointer; }
.drawer-mode input { position: absolute; opacity: 0; inset: 0; }
.drawer-mode span {
  display: block; text-align: center;
  padding: 9px 6px; border-radius: 5px;
  border: 1px solid var(--line);
  background: var(--porcelain);
  font-size: .82rem; font-weight: 600; color: var(--ink-soft);
  transition: all .2s;
  white-space: nowrap;
}
.drawer-mode span small {
  font-family: var(--font-mono);
  font-size: .72em;
  opacity: .85;
}
.drawer-mode input:checked + span {
  background: var(--jade); border-color: var(--jade-deep); color: var(--on-jade);
  box-shadow: inset 0 0 0 1px var(--gold-soft);
}

.drawer-table {
  padding: 12px 24px 14px;
  border-bottom: 1px solid var(--line-soft);
  display: grid; gap: 5px;
}
.drawer-table label { font-size: .8rem; font-weight: 600; color: var(--ink-soft); }
.drawer-table label span { font-weight: 400; color: var(--ink-faint); }
.drawer-table input {
  width: 100%; padding: 9px 12px;
  border-radius: 5px; border: 1px solid var(--line);
  background: var(--porcelain); color: var(--ink);
  font-size: .92rem;
}

.drawer-body {
  overflow-y: auto;
  padding: 16px 24px;
  display: grid; gap: 14px; align-content: start;
}
.tray-empty {
  text-align: center;
  padding: 40px 12px;
  color: var(--ink-soft);
  display: grid; gap: 10px; justify-items: center;
}
.tray-empty svg { width: 32px; height: 32px; color: var(--gold); opacity: .7; }
.tray-empty p { margin: 0; max-width: 28ch; font-size: .94rem; }

.tray-row {
  display: grid; gap: 8px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--line);
}
.tray-row-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.tray-row-name {
  font-family: var(--font-display);
  font-variation-settings: var(--soft);
  font-weight: 620; font-size: 1.04rem;
}
.tray-row-price {
  font-family: var(--font-mono);
  font-size: .86rem; font-weight: 600;
  white-space: nowrap;
}
.tray-row-detail { margin: 0; font-size: .8rem; color: var(--ink-soft); line-height: 1.4; }
.tray-row-ctrl {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.qty-box {
  display: inline-flex; align-items: center;
  border: 1px solid var(--line); border-radius: 4px;
  background: var(--porcelain);
}
.qty-box button {
  width: 28px; height: 28px; border: 0; background: transparent;
  color: var(--ink); font-weight: 700; cursor: pointer;
}
.qty-box button:hover { color: var(--gold-ink); }
.qty-box span {
  min-width: 26px; text-align: center;
  font-family: var(--font-mono); font-size: .82rem; font-weight: 600;
}
.remove-item {
  border: 0; background: transparent; padding: 4px;
  font-size: .78rem; color: var(--ink-soft); text-decoration: underline;
  cursor: pointer;
}
.remove-item:hover { color: var(--shut); }

.drawer-foot {
  padding: 16px 24px 22px;
  border-top: 1px solid var(--line);
  background: var(--card-2);
  display: grid; gap: 12px;
}
.drawer-fee {
  display: flex; align-items: baseline; justify-content: space-between;
  font-size: .86rem; color: var(--ink-soft);
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--line);
}
.drawer-fee span:last-child {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--jade-ink);
}
.drawer-total {
  display: flex; align-items: baseline; justify-content: space-between;
}
.drawer-total span { font-size: .9rem; color: var(--ink-soft); }
.drawer-total strong {
  font-family: var(--font-display);
  font-variation-settings: var(--soft);
  font-size: 1.6rem; font-weight: 640;
  font-variant-numeric: tabular-nums;
}
.drawer-actions { display: grid; grid-template-columns: 1fr auto; gap: 9px; }

/* ---------- MODAL RESERVASI ---------- */
.modal {
  position: fixed;
  top: 50%; left: 50%; z-index: 50;
  transform: translate(-50%, -50%);
  width: min(500px, calc(100% - 28px));
  max-height: calc(100dvh - 36px);
  overflow-y: auto;
  background: var(--card);
  padding: 30px 28px 26px;
  box-shadow: 0 36px 80px -22px rgba(0, 0, 0, .56);
}
.modal-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 14px;
  margin-bottom: 18px;
}
.modal-head h3 { margin: 4px 0 0; font-size: 1.7rem; }
.reserve-form { display: grid; gap: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.reserve-form label { display: grid; gap: 5px; font-size: .82rem; font-weight: 600; color: var(--ink-soft); }
.reserve-form input, .reserve-form select {
  width: 100%; padding: 10px 12px;
  border-radius: 5px; border: 1px solid var(--line);
  background: var(--porcelain); color: var(--ink);
  font-size: .94rem;
}
.reserve-foot { margin-top: 4px; display: flex; justify-content: flex-end; }
.reserve-done {
  padding: 14px 16px; border-radius: 6px;
  border: 1px solid var(--gold-soft);
  background: color-mix(in srgb, var(--jade) 10%, var(--porcelain));
  font-size: .9rem; line-height: 1.5;
}
.reserve-done strong { color: var(--jade-ink); }
@media (max-width: 500px) { .field-row { grid-template-columns: 1fr; } }

/* Toast melayang global */
.global-toast {
  position: fixed;
  left: 50%; bottom: 26px; z-index: 55;
  transform: translateX(-50%);
  padding: 11px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--porcelain);
  font-size: .86rem; font-weight: 600;
  box-shadow: 0 18px 36px -14px rgba(0, 0, 0, .45);
  white-space: nowrap;
  max-width: calc(100% - 32px);
  overflow: hidden; text-overflow: ellipsis;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
