/* Layout: the two poster moods of Queenss (espresso-brown kitchen, forest-green bar), opened by a warm-lit 3D cup and a cream "table" of real product photos. */
:root {
  --night: #140d09;        /* dasar halaman: espresso sangat gelap */
  --night-2: #1c120c;
  --espresso: #27150c;
  --roast: #3d1d0e;
  --ember: #a8471a;        /* cahaya hangat poster makanan */
  --amber: #f6a034;        /* label harga poster */
  --amber-deep: #e2691c;
  --amber-ink: #2b1306;
  --cream: #f8ecd9;        /* teks utama */
  --latte: #dcc8ab;        /* teks pendukung */
  --muted: #c0ab90;
  --gold: #d6b36d;         /* aksen garis & serif */
  --forest: #0f3628;       /* poster minuman */
  --forest-2: #145038;
  --forest-ink: #0a261c;
  --peach: #f2c9a1;        /* lengkung poster minuman */
  --table: #f1e6d7;        /* "meja" krem poster */
  --table-2: #e4d3be;
  --table-ink: #2a170d;
  --line: rgba(248, 236, 217, .14);

  --f-display: "Barlow Condensed", "DejaVu Sans Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --f-serif: "Lora", Georgia, "Times New Roman", serif;
  --f-body: "Poppins", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;

  --header-h: 68px;
  --r-lg: 26px;
  --r-md: 18px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px));   /* lompatan #menu/#lokasi/#kontak mendarat tepat di bawah header */
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--night);
  color: var(--cream);
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--night); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4, h5 { text-wrap: balance; margin: 0; font-weight: 600; }
p { margin: 0; }
button { font-family: inherit; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

.wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--amber); color: var(--amber-ink); padding: 10px 14px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #7fd18a; box-shadow: 0 0 0 4px rgba(127, 209, 138, .18); flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px; border-radius: 999px;
  font: 600 1rem/1 var(--f-body);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  border: 1.5px solid transparent;
  transition: transform .2s ease, background-color .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn-amber {
  background: linear-gradient(180deg, var(--amber), var(--amber-deep));
  color: var(--amber-ink);
  box-shadow: 0 12px 28px -14px rgba(226, 105, 28, .9), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.btn-amber:hover { transform: translateY(-1px); box-shadow: 0 16px 32px -14px rgba(226, 105, 28, 1), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn-ghost { background: rgba(248, 236, 217, .06); color: var(--cream); border-color: rgba(248, 236, 217, .3); }
.btn-ghost:hover { border-color: var(--amber); color: var(--amber); }
.btn-cream { background: var(--cream); color: var(--forest-ink); }
.btn-cream:hover { background: #fff6e9; transform: translateY(-1px); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .92rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color .3s ease, border-color .3s ease;
}
.site-header.is-solid {
  background: rgba(20, 13, 9, .9);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
.header-row { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand { display: block; padding: 6px 0; flex: none; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; gap: clamp(14px, 2.6vw, 32px); margin-left: auto; min-width: 0; }
.nav a { text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--latte); padding: 10px 2px; transition: color .2s; white-space: nowrap; }
.nav a:hover { color: var(--cream); }
.header-cta { flex: none; }

/* ---------- Hero: video 3D espresso ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: calc(-1 * var(--header-h));
  background: var(--forest-ink);
}
.hero-media {
  position: relative; overflow: hidden;
  background: #0d3123 url("../video/espresso-16x9.webp") 62% 50% / cover no-repeat;
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; display: block; }
.hero-scrim { position: absolute; inset: 0; pointer-events: none; }
.hero-grid { position: relative; z-index: 2; display: grid; }
.hero-copy { display: grid; gap: 16px; justify-items: center; text-align: center; min-width: 0; }
.hero-tagline { font-family: var(--f-serif); font-style: italic; font-weight: 500; font-size: clamp(1.15rem, 1rem + .7vw, 1.5rem); color: var(--gold); }
.hero-title { font-family: var(--f-display); font-weight: 600; text-transform: uppercase; line-height: .84; display: grid; gap: .1em; text-shadow: 0 4px 30px rgba(3, 16, 10, .35); }
.ht-line { display: block; overflow: hidden; padding-block: .05em; }
@supports (overflow: clip) { .ht-line { overflow-x: visible; overflow-y: clip; } }
.ht-word { display: inline-block; }
.hero-title > .ht-line:first-child { font-size: clamp(3.8rem, 1.6rem + 7.4vw, 8.4rem); letter-spacing: .015em; }
.ht-sub { font-size: clamp(1.25rem, .9rem + 1.7vw, 2.3rem); font-weight: 500; letter-spacing: .62em; margin-right: -.62em; color: var(--latte); }
.hero-lede { color: var(--latte); font-size: clamp(1rem, .95rem + .25vw, 1.15rem); max-width: 34ch; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; margin-top: 6px; }
.open-badge { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 999px; background: rgba(3, 16, 10, .45); border: 1px solid var(--line); font-size: .9rem; font-weight: 600; }
.btn .ext { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.vc-btn {
  position: absolute; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 42px; padding: 0 16px; border-radius: 999px;
  border: 1px solid rgba(248, 236, 217, .38); background: rgba(6, 26, 18, .55); color: var(--cream);
  font: 600 .86rem/1 var(--f-body); cursor: pointer;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: border-color .2s, background-color .2s;
}
.vc-btn:hover { border-color: var(--cream); background: rgba(6, 26, 18, .75); }
.vc-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vc-play { left: 50%; top: 50%; transform: translate(-50%, -50%); min-height: 54px; padding: 0 24px; font-size: 1rem; }
.vc-play svg { fill: currentColor; stroke: none; }
.vc-sound { right: max(16px, env(safe-area-inset-right, 0px)); bottom: 16px; }
.vc-sound .ic-on { display: none; }
.vc-sound[aria-pressed="true"] .ic-on { display: block; }
.vc-sound[aria-pressed="true"] .ic-off { display: none; }

/* Layar lebar mendatar: video 16:9 memenuhi bagian pembuka, teks di kiri */
@media (min-width: 900px) and (orientation: landscape) {
  .hero-media { position: absolute; inset: 0; z-index: 0; }
  .hero-scrim {
    background:
      linear-gradient(90deg, rgba(3, 16, 10, .8) 0%, rgba(3, 16, 10, .5) 30%, rgba(3, 16, 10, 0) 56%),
      linear-gradient(180deg, rgba(3, 16, 10, .55) 0%, rgba(3, 16, 10, 0) 22%);
  }
  .hero-grid { min-height: clamp(620px, 50vw, 860px); align-items: center; padding-block: calc(var(--header-h) + 24px) 120px; pointer-events: none; }
  .hero-copy { pointer-events: auto; }
  .hero-copy { justify-items: start; text-align: left; max-width: 580px; }
  .hero-actions { justify-content: flex-start; }
  .vc-sound { bottom: 108px; right: max(24px, calc((100vw - 1200px) / 2 + 20px)); }
  .vc-play { left: 67%; top: 46%; }
}
/* HP & layar tegak: video di atas, teks di bawah */
@media (max-width: 899px), (orientation: portrait) {
  .hero-media { aspect-ratio: 4 / 5; max-height: 76svh; width: 100%; }
  .hero-scrim { background: linear-gradient(180deg, rgba(3, 16, 10, .55) 0%, rgba(3, 16, 10, 0) 20%, rgba(3, 16, 10, 0) 70%, var(--forest-ink) 100%); }
  .hero-grid { padding-block: 4px 104px; }
}
@media (orientation: portrait) {
  .hero-media { background-image: url("../video/espresso-9x16.webp"); background-position: 50% 45%; }
  .hero-video { object-position: 50% 45%; }
}
@media (max-width: 899px) and (orientation: landscape) {
  .hero-media { aspect-ratio: 16 / 9; max-height: none; }
}

/* Tombol cari di header */
.icon-btn {
  flex: none; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  border: 1px solid rgba(248, 236, 217, .3); background: rgba(3, 16, 10, .25); color: var(--cream);
  transition: border-color .2s, color .2s;
}
.icon-btn:hover { border-color: var(--amber); color: var(--amber); }
.icon-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }

/* ---------- Ribbon: cream table of photos ---------- */
.ribbon {
  position: relative; z-index: 2;
  margin-top: -64px;
  padding-block: 92px 48px;
  color: var(--table-ink);
  background: linear-gradient(180deg, var(--table), var(--table-2));
  clip-path: polygon(0 56px, 100% 0, 100% 100%, 0 100%);
}
.ribbon-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.ribbon-title { font-family: var(--f-display); font-style: italic; font-weight: 600; font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.7rem); line-height: 1; }
.ribbon-link { font-weight: 600; font-size: .95rem; color: #8f3e0d; text-underline-offset: 5px; text-decoration-thickness: 1.5px; }
.ribbon-viewport { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.ribbon-track { display: flex; width: max-content; padding-block: 6px 14px; }
.ribbon-item { flex: none; width: 184px; margin-right: 18px; display: grid; gap: 8px; text-decoration: none; color: inherit; border-radius: 22px; }
.ribbon-item img { width: 184px; height: 184px; object-fit: cover; border-radius: 20px; background: #d6c3ad; box-shadow: 0 18px 28px -18px rgba(42, 23, 13, .7); transition: transform .35s ease; }
.ribbon-item:hover img { transform: translateY(-4px) rotate(-1deg); }
.ri-name { font-family: var(--f-display); font-style: italic; font-weight: 600; font-size: 1.22rem; line-height: 1.05; }
.ri-price { font-size: .86rem; font-weight: 600; color: #8f3e0d; font-variant-numeric: tabular-nums; }

/* ---------- Signature ---------- */
.signature {
  position: relative;
  padding-block: clamp(64px, 9vw, 120px);
  background:
    radial-gradient(55% 50% at 88% 8%, rgba(226, 105, 28, .3), transparent 66%),
    radial-gradient(45% 40% at 0% 100%, rgba(168, 71, 26, .24), transparent 70%),
    linear-gradient(180deg, #2b160c, #1a0f09);
}
.sig-head { display: grid; gap: 10px; margin-bottom: clamp(26px, 4vw, 44px); }
.sig-title { font-family: var(--f-serif); font-style: italic; font-weight: 500; font-size: clamp(2.6rem, 1.6rem + 3.6vw, 4.6rem); line-height: 1; color: var(--gold); }
.sig-sub { color: var(--latte); max-width: 54ch; }
.sig-grid { display: grid; gap: clamp(16px, 2.4vw, 28px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
/* 4 menu andalan: 1 kolom di HP, 2×2 di tablet, 4 sejajar di layar lebar (tidak ada kartu yang tersisa sendirian) */
@media (min-width: 560px) { .sig-grid[data-count="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) {
  .sig-grid[data-count="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sig-grid[data-count="4"] .sig-name { font-size: clamp(1.9rem, 1.2rem + 1vw, 2.3rem); }
}
.sig-card {
  display: flex; flex-direction: column; gap: 16px;
  padding: 14px; border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(20, 13, 9, .45), rgba(20, 13, 9, .2));
  border: 1px solid rgba(214, 179, 109, .24);
}
.sig-media { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 1 / 1; background: var(--espresso); }
.sig-media img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s ease; }
.sig-body { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; flex: 1; padding: 4px 8px 10px; min-width: 0; }
.sig-price { margin-top: auto; padding-top: 4px; }
.sig-name { font-family: var(--f-display); font-style: italic; font-weight: 600; font-size: clamp(2rem, 1.5rem + 1.5vw, 2.7rem); line-height: .98; }
.sig-meta { color: var(--latte); font-size: .9rem; }

/* ---------- Price & tags ---------- */
.price-tag {
  display: inline-flex; align-items: center;
  padding: 7px 14px; border-radius: 10px;
  background: linear-gradient(180deg, var(--amber), var(--amber-deep));
  color: var(--amber-ink);
  font: italic 600 1rem/1 var(--f-body); font-variant-numeric: tabular-nums;
  transform: skewX(-10deg);
  box-shadow: 0 10px 20px -12px rgba(226, 105, 28, .9);
  white-space: nowrap;
}
.price-tag > span { display: inline-block; transform: skewX(10deg); }
.price-tag small { font-size: .72em; font-weight: 500; margin-left: 6px; opacity: .85; }
.price-tag--lg { font-size: 1.2rem; padding: 9px 18px; }
.temps { display: flex; flex-wrap: wrap; gap: 6px; }
.temp {
  display: inline-flex; align-items: baseline; gap: 6px;
  padding: 5px 11px; border-radius: 999px;
  font: 600 .88rem/1.25 var(--f-body); font-variant-numeric: tabular-nums; white-space: nowrap;
}
.temp b { font-weight: 500; font-size: .74rem; opacity: .85; }
.temp--hot { background: linear-gradient(180deg, var(--amber), var(--amber-deep)); color: var(--amber-ink); }
.temp--ice { background: rgba(248, 236, 217, .1); border: 1px solid rgba(248, 236, 217, .34); color: var(--cream); }
.temp--na { background: transparent; border: 1px dashed rgba(248, 236, 217, .26); color: var(--muted); font-weight: 500; }
.tag { display: inline-flex; align-items: center; font: 600 .72rem/1 var(--f-body); font-style: normal; padding: 5px 9px; border-radius: 999px; white-space: nowrap; letter-spacing: .01em; vertical-align: middle; }
.tag--signature { color: var(--gold); border: 1px solid rgba(214, 179, 109, .55); background: rgba(20, 13, 9, .35); }
.tag--baru { color: var(--amber-ink); background: var(--peach); }
.variants { display: flex; flex-wrap: wrap; gap: 6px; }
.var-btn { min-height: 36px; padding: 0 13px; border-radius: 999px; border: 1px solid rgba(248, 236, 217, .24); background: transparent; color: var(--latte); font: 500 .82rem/1 var(--f-body); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.var-btn:hover { border-color: var(--cream); color: var(--cream); }
.var-btn[aria-pressed="true"] { background: var(--cream); border-color: var(--cream); color: var(--espresso); }

/* ---------- Menu ---------- */
.menu { padding-top: clamp(60px, 8vw, 104px); background: var(--night); }
.menu-head { display: grid; gap: 10px; margin-bottom: 22px; }
.section-title { font-family: var(--f-display); font-weight: 600; font-size: clamp(2.8rem, 1.9rem + 3.4vw, 4.6rem); line-height: .92; letter-spacing: .005em; }
.menu-sub { color: var(--latte); max-width: 62ch; }

.menu-tools {
  position: sticky; top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); z-index: 30;
  background: rgba(20, 13, 9, .95);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-block: 1px solid var(--line);
}
.tools-inner { display: grid; gap: 10px; padding-block: 12px; }
.search { position: relative; display: flex; align-items: center; max-width: 560px; }
.search svg { position: absolute; left: 17px; width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
#menu-search {
  width: 100%; min-height: 50px; padding: 0 50px 0 48px;
  background: var(--night-2); color: var(--cream);
  border: 1px solid rgba(248, 236, 217, .16); border-radius: 999px;
  font: 400 1rem var(--f-body);
}
#menu-search::placeholder { color: rgba(192, 171, 144, .8); }
#menu-search:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(246, 160, 52, .2); }
#menu-search::-webkit-search-cancel-button { -webkit-appearance: none; }
.search-clear { position: absolute; right: 6px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; color: var(--muted); font-size: 1.5rem; cursor: pointer; }
.search-clear:hover { color: var(--cream); }

.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; overscroll-behavior-x: contain; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; min-height: 40px; padding: 0 16px; border-radius: 999px;
  border: 1px solid rgba(248, 236, 217, .18); background: transparent; color: var(--latte);
  font: 500 .9rem var(--f-body); cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s;
}
.chip:hover { color: var(--cream); border-color: rgba(246, 160, 52, .6); }
.chip[aria-pressed="true"] { background: linear-gradient(180deg, var(--amber), var(--amber-deep)); border-color: transparent; color: var(--amber-ink); font-weight: 600; }
.chip-sep { flex: none; width: 1px; background: rgba(214, 179, 109, .35); margin: 8px 4px; }

.result-status { color: var(--muted); font-size: .88rem; min-height: 1.6em; padding-top: 16px; }
.menu-list { margin-top: 8px; }

.band { padding-block: clamp(40px, 6vw, 76px); }
.band--food {
  background:
    radial-gradient(60% 30% at 100% 0%, rgba(168, 71, 26, .3), transparent 70%),
    linear-gradient(180deg, #25140b, #1b100a);
}
.band--drink {
  background:
    radial-gradient(55% 28% at 0% 0%, rgba(242, 201, 161, .14), transparent 70%),
    linear-gradient(180deg, #10392a, #0b291f);
}
.band--tenant { background: var(--night-2); }
.band-head { display: grid; gap: 6px; margin-bottom: clamp(24px, 3.5vw, 40px); }
.band-title { font-family: var(--f-display); font-weight: 600; font-size: clamp(2.4rem, 1.7rem + 2.8vw, 3.8rem); line-height: .95; }
.band-sub { font-family: var(--f-serif); font-style: italic; color: var(--gold); font-size: clamp(1.05rem, .95rem + .4vw, 1.3rem); }
.band--drink .band-sub { color: var(--peach); }
.band-note { color: var(--latte); font-size: .92rem; max-width: 60ch; }

.cat { display: grid; gap: 18px; }
.cat > * { min-width: 0; }
.cat + .cat { margin-top: clamp(44px, 6vw, 72px); }
.cat-head { display: flex; align-items: center; gap: 14px; }
.cat-head h4 { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.7rem, 1.35rem + 1.1vw, 2.3rem); line-height: 1.02; min-width: 0; }
.cat-count { flex: none; font-size: .8rem; color: var(--muted); }
.cat-head::after { content: ""; flex: 1 1 40px; min-width: 24px; height: 1px; background: linear-gradient(90deg, rgba(214, 179, 109, .55), transparent); }
.band--drink .cat-head::after { background: linear-gradient(90deg, rgba(242, 201, 161, .5), transparent); }

.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 18px; } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px 24px; } }
.card { display: flex; flex-direction: column; gap: 10px; min-width: 0; border-radius: var(--r-md); }
/* fokus keyboard di daftar menu tidak tertutup bilah cari yang menempel */
.card, .row, .menu-list :is(a, button), #menu-empty :is(a, button) { scroll-margin-top: 150px; }
.card-media { position: relative; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 1 / 1; background: var(--espresso); box-shadow: 0 24px 40px -28px rgba(0, 0, 0, .95); }
.card--drink .card-media { background: #0c2e22; }
.card-media { transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s ease; }
@media (hover: hover) { .card:hover .card-media { transform: translateY(-5px); box-shadow: 0 30px 44px -26px rgba(0, 0, 0, 1); } }
.card-body { display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 0; padding-inline: 2px; }
.card-name { font-family: var(--f-display); font-style: italic; font-weight: 600; font-size: clamp(1.2rem, 1.05rem + .45vw, 1.5rem); line-height: 1.04; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.card-meta { font-size: .8rem; color: var(--muted); line-height: 1.45; }
.card-foot { margin-top: auto; padding-top: 2px; }

.rows { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 48px; }
@media (min-width: 760px) { .rows { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cards + .rows { margin-top: 10px; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.row-name { font-family: var(--f-display); font-style: italic; font-weight: 600; font-size: 1.28rem; line-height: 1.1; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.row-meta { font-size: .8rem; color: var(--muted); margin-top: 3px; }
.row-price { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.row .price-tag { font-size: .92rem; padding: 6px 12px; }

.flash { animation: flash 1.8s ease; }
@keyframes flash { 0%, 35% { box-shadow: 0 0 0 3px var(--amber), 0 0 40px rgba(246, 160, 52, .35); } 100% { box-shadow: 0 0 0 0 transparent; } }

.empty { display: grid; justify-items: start; gap: 10px; padding: 40px 0 72px; }
.suggest { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 4px; }
.suggest:empty { display: none; }
.suggest-lead { width: 100%; color: var(--muted); font-size: .9rem; }
.empty-title { font-family: var(--f-display); font-weight: 600; font-size: 2rem; line-height: 1; }
.empty p:not(.empty-title) { color: var(--latte); }

/* ---------- Gallery ---------- */
.gallery { padding-block: 56px; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 12px; margin-top: 20px; }
.gallery-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); }

/* ---------- Location ---------- */
.visit {
  position: relative; overflow: hidden;
  padding-block: clamp(68px, 9vw, 124px);
  background: radial-gradient(48% 60% at 82% 50%, rgba(226, 105, 28, .22), transparent 70%), var(--night);
}
.visit-grid { display: grid; gap: 40px; align-items: center; grid-template-columns: minmax(0, 1fr); }
.visit-copy { display: grid; gap: 20px; justify-items: start; min-width: 0; }
.visit-hours { display: inline-flex; align-items: center; gap: 12px; font-size: clamp(1.2rem, 1rem + .8vw, 1.6rem); font-weight: 600; }
.visit-address { font-style: normal; color: var(--latte); line-height: 1.7; max-width: 44ch; padding-left: 16px; border-left: 2px solid rgba(214, 179, 109, .55); }
.addr-landmark { display: inline-block; margin-top: 4px; font-family: var(--f-serif); font-style: italic; font-size: 1.05em; color: var(--gold); }
.visit-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.visit-art { position: relative; width: min(100%, 360px); aspect-ratio: 1 / 1; margin-inline: auto; color: var(--gold); }
.dial { position: absolute; inset: 0; width: 100%; height: 100%; }
.dial line { stroke: currentColor; stroke-linecap: round; }
.dial-num { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; font-family: var(--f-display); font-weight: 700; line-height: .8; }
.dial-num span { font-size: clamp(7rem, 4.6rem + 8vw, 11rem); background: linear-gradient(180deg, var(--amber), var(--amber-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dial-num small { font-family: var(--f-serif); font-style: italic; font-weight: 500; font-size: clamp(1.3rem, 1rem + 1vw, 1.8rem); color: var(--gold); margin-top: .35em; }
.visit-map iframe { width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: var(--r-md); }
@media (min-width: 900px) { .visit-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); } }

/* ---------- Hubungi: "meja" krem seperti poster, kartu kontak ---------- */
.contact {
  --c-ink: var(--table-ink);
  --c-soft: #5a3f2e;         /* teks pendukung di atas krem */
  --c-accent: #8f3e0d;       /* label & fokus di atas krem */
  position: relative; z-index: 1;
  margin-top: -48px;
  padding-block: calc(48px + clamp(48px, 6.5vw, 88px)) clamp(64px, 8vw, 108px);
  color: var(--c-ink);
  background:
    radial-gradient(50% 60% at 100% 100%, rgba(226, 105, 28, .12), transparent 70%),
    linear-gradient(180deg, var(--table), var(--table-2));
  clip-path: polygon(0 0, 100% 48px, 100% 100%, 0 100%);
}
.contact :focus-visible { outline-color: var(--c-accent); }
.contact-head { display: grid; gap: 12px; margin-bottom: clamp(28px, 4vw, 44px); }
.contact-sub { color: var(--c-soft); max-width: 52ch; font-size: clamp(1rem, .95rem + .25vw, 1.1rem); }
.contact-grid { display: grid; gap: clamp(14px, 2vw, 24px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.cc {
  container-type: inline-size;   /* ukuran nomor & email mengikuti lebar kartu */
  display: flex; flex-direction: column; gap: 18px; min-width: 0;
  padding: clamp(20px, 3vw, 32px);
  border-radius: var(--r-lg);
  background: #fcf7f0;
  border: 1px solid rgba(42, 23, 13, .1);
  box-shadow: 0 30px 52px -38px rgba(42, 23, 13, .6), inset 0 1px 0 #fff;
}
.cc-top { display: flex; align-items: center; gap: 14px; min-width: 0; }
.cc-icon {
  flex: none; width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 30% 25%, var(--roast), var(--espresso) 70%);
  color: var(--amber);
  box-shadow: 0 12px 22px -12px rgba(42, 23, 13, .85);
}
.cc-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.cc-label { font: 600 .78rem/1.25 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--c-accent); }
.cc-role { color: var(--c-soft); font-size: .95rem; margin-top: 3px; }
.cc-name { font-weight: 600; color: var(--c-ink); }
.cc-name::after { content: " · "; font-weight: 400; color: var(--c-soft); }

.cc-value-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  padding-top: 18px; border-top: 1px solid rgba(42, 23, 13, .12);
}
.cc-value {
  min-width: 0; white-space: nowrap;   /* nomor telepon tidak boleh terpotong di tanda hubung */
  font-family: var(--f-display); font-weight: 600; line-height: 1.05;
  font-size: clamp(1.7rem, 1.05rem + 3.4vw, 2.9rem);
  font-size: clamp(1.6rem, 11cqi, 2.9rem);
  letter-spacing: .02em; font-variant-numeric: tabular-nums;
  color: var(--c-ink);
}
.cc-value--email {
  white-space: normal; overflow-wrap: anywhere; letter-spacing: .01em;   /* bila sempit, patah di "@" */
  font-size: clamp(1.25rem, .95rem + 1.6vw, 1.95rem);
  font-size: clamp(1.15rem, 6.6cqi, 1.95rem);
}
.cc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.btn .bi { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
svg .dots { stroke-width: 2.7; }
.btn-line { background: transparent; color: var(--c-ink, var(--cream)); border-color: rgba(42, 23, 13, .32); }
.btn-line:hover { border-color: var(--amber-deep); color: var(--c-accent, var(--amber)); }

.copy-btn {
  position: relative; flex: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 44px; padding: 0 17px 0 14px; border-radius: 999px;
  border: 1px solid rgba(42, 23, 13, .22); background: rgba(255, 255, 255, .6); color: var(--c-ink);
  font: 600 .86rem/1 var(--f-body); cursor: pointer;
  transition: border-color .2s, background-color .2s, color .2s;
}
.copy-btn:hover { border-color: var(--amber-deep); color: var(--c-accent); }
.copy-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.copy-btn .i-done { display: none; }
.copy-btn.is-done { background: #e2f1e3; border-color: #4c9659; color: #1d5527; }
.copy-btn.is-done .i-copy { display: none; }
.copy-btn.is-done .i-done { display: block; }

/* kartu sempit: tombol penuh selebar kartu, tombol salin cukup ikon */
@container (max-width: 430px) {
  .cc-actions .btn { flex: 1 1 100%; }
  .copy-btn { width: 44px; padding: 0; }
  .copy-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@supports not (container-type: inline-size) {
  @media (max-width: 759px) {
    .cc-actions .btn { flex: 1 1 100%; }
    .copy-btn { width: 44px; padding: 0; }
    .copy-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  }
}

/* ---------- Instagram ---------- */
.insta { padding-block: clamp(44px, 6vw, 68px); background: linear-gradient(115deg, #0f3628, #165a3f); }
.insta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; }
.ig-glyph { width: 56px; height: 56px; flex: none; fill: none; stroke: var(--peach); stroke-width: 3; }
.ig-glyph .fill { fill: var(--peach); stroke: none; }
.insta-copy { flex: 1; min-width: min(100%, 260px); }
.insta-title { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.9rem, 1.3rem + 2vw, 2.8rem); line-height: 1; }
.insta-handle { color: var(--peach); margin-top: 6px; }

/* ---------- Footer ---------- */
.site-footer { padding-block: 44px 36px; border-top: 1px solid var(--line); background: var(--night); }
.footer-row { display: grid; gap: 18px; justify-items: start; }
.footer-brand { display: grid; gap: 8px; }
.footer-brand img { width: 140px; height: auto; }
.footer-tag { font-family: var(--f-serif); font-style: italic; color: var(--gold); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-nav a { color: var(--latte); text-decoration: none; padding: 6px 0; }
.footer-nav a:hover { color: var(--cream); }
.footer-info { display: grid; gap: 6px; }
.footer-contact { display: flex; flex-wrap: wrap; gap: 2px 18px; font-size: .92rem; }
.footer-contact a { color: var(--latte); text-decoration: none; padding: 4px 0; font-variant-numeric: tabular-nums; }
.footer-contact a:hover { color: var(--cream); text-decoration: underline; text-underline-offset: 4px; }
.footer-copy { color: var(--muted); font-size: .86rem; }
@media (min-width: 760px) {
  .footer-row { grid-template-columns: auto 1fr auto; align-items: end; }
  .footer-nav { justify-self: center; }
  .footer-info { justify-items: end; text-align: right; }
  .footer-contact { justify-content: flex-end; }
}

/* ---------- Quick bar (HP) ---------- */
.quickbar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
  .header-cta { display: none; }
  .header-row { gap: 12px; }
  .icon-btn { width: 40px; height: 40px; }
  .brand img { height: 34px; }
  .nav a { font-size: .9rem; }
  .quickbar {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
    padding: 9px max(12px, env(safe-area-inset-right, 0px)) calc(9px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
    background: rgba(20, 13, 9, .95);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(214, 179, 109, .22);
    transform: translateY(110%); visibility: hidden;
    transition: transform .3s ease, visibility 0s linear .3s;
  }
  .quickbar.show { transform: none; visibility: visible; transition: transform .3s ease, visibility 0s; }
  .qb-item {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
    min-width: 0; min-height: 56px; padding: 6px 4px; border-radius: 16px;
    color: var(--cream); text-decoration: none; text-align: center;
    background: rgba(248, 236, 217, .06); border: 1px solid rgba(248, 236, 217, .22);
    font: 600 .76rem/1.15 var(--f-body);
    transition: transform .15s ease, border-color .2s;
  }
  .qb-item svg { width: 21px; height: 21px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
  .qb-item:active { transform: scale(.97); }
  .qb-item--primary { background: linear-gradient(180deg, var(--amber), var(--amber-deep)); border-color: transparent; color: var(--amber-ink); }
  /* Lencana "Powered by Netlify" (paket gratis) dinaikkan agar tidak menutupi bilah akses cepat */
  #nl-badge-frame { bottom: calc(80px + env(safe-area-inset-bottom, 0px)) !important; }
}
@media (max-width: 560px) { .nav-ig { display: none; } }
@media (max-width: 420px) {
  .nav { gap: 12px; }
  .ribbon-item { width: 150px; }
  .ribbon-item img { width: 150px; height: 150px; }
}
@media (max-width: 380px) {
  .header-row { gap: 10px; }
  .nav { gap: 10px; }
  .nav a { font-size: .84rem; }
}
@media (max-width: 340px) {
  .header-row { gap: 8px; }
  .brand img { height: 30px; }
  .nav { gap: 9px; }
  .nav a { font-size: .8rem; }
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .ht-word { animation: rise 1s cubic-bezier(.2, .75, .2, 1) both; }
  .ht-sub .ht-word { animation-delay: .14s; }
  .hero-tagline, .hero-lede, .hero-actions { animation: fadeUp .9s .3s cubic-bezier(.2, .7, .2, 1) both; }
  .ribbon-track.is-moving { animation: marquee var(--marquee-dur, 80s) linear infinite; }
  .ribbon-viewport:hover .ribbon-track, .ribbon-viewport:focus-within .ribbon-track { animation-play-state: paused; }
}
@keyframes rise { from { transform: translateY(108%); } }
@keyframes fadeUp { from { opacity: .001; transform: translateY(12px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ribbon-viewport { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .ribbon-track .is-clone { display: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
