/* ============================================================
   EMBER & OAK — Demo Showcase Zalin Labs (G802-A / Batch A)
   Fine dining. Gelap #14100c + tembaga #b87333.
   Palet via CSS variables — NOL biru/indigo/ungu.
   ============================================================ */
:root {
  --bg: #14100c;
  --bg-2: #171310;
  --panel: #1c1610;
  --panel-2: #221a12;
  --line: rgba(184, 115, 51, 0.22);
  --line-soft: rgba(240, 230, 214, 0.12);
  --ink: #f0e6d6;
  --dim: rgba(240, 230, 214, 0.62);
  --acc: #b87333;
  --acc-bright: #d08a44;
  --acc-ink: #14100c;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --mono: "Space Grotesk", monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
ul, ol { list-style: none; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; width: 100%; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

/* ---------- Aksesibilitas ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 12px; z-index: 200;
  background: var(--acc); color: var(--acc-ink);
  padding: 10px 18px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--acc-bright); outline-offset: 3px; }
::selection { background: rgba(184, 115, 51, 0.45); color: var(--ink); }

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 12px 26px;
  font-weight: 600; font-size: 0.92rem; letter-spacing: 0.06em;
  text-decoration: none; border: 1px solid transparent;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn .ic { width: 17px; height: 17px; stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.btn-copper { background: var(--acc); color: var(--acc-ink); }
.btn-copper:hover { background: var(--acc-bright); }
.btn-line-copper { border-color: rgba(184, 115, 51, 0.6); color: var(--acc); background: transparent; }
.btn-line-copper:hover { background: rgba(184, 115, 51, 0.12); }

/* ---------- Nav ---------- */
.eo-nav {
  position: sticky; top: 0; z-index: 80;
  background: rgba(20, 16, 12, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.eo-nav-inner { display: flex; align-items: center; gap: 20px; min-height: 70px; }
.eo-brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--serif); font-weight: 600; font-size: 1.05rem;
  letter-spacing: 0.2em; text-decoration: none; min-height: 44px;
}
.eo-brand-mark { width: 32px; height: 32px; flex: none; }
.eo-nav-links { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.eo-nav-links a {
  text-decoration: none; color: var(--dim); font-size: 0.9rem;
  letter-spacing: 0.08em; padding: 10px 14px; min-height: 44px;
  display: inline-flex; align-items: center;
  transition: color 0.15s ease;
}
.eo-nav-links a:hover { color: var(--acc-bright); }
.eo-nav-cta { display: flex; align-items: center; }
.eo-nav-cta .btn { min-height: 42px; padding: 9px 20px; font-size: 0.86rem; }
.eo-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px;
  place-items: center; background: none; border: 1px solid var(--line);
  color: var(--ink);
}
.eo-toggle .ic { width: 22px; height: 22px; stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; }
.eo-toggle .ic-close { display: none; }
.eo-toggle[aria-expanded="true"] .ic-open { display: none; }
.eo-toggle[aria-expanded="true"] .ic-close { display: block; }

/* ---------- Hero ---------- */
.eo-hero { position: relative; padding: 84px 0 0; text-align: center; overflow: hidden; }
.eo-hero-glow {
  position: absolute; top: -40px; left: 50%; transform: translateX(-50%);
  width: 420px; height: 300px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(184, 115, 51, 0.2), transparent);
  filter: blur(28px);
}
.eo-hero-wrap { position: relative; z-index: 1; }
.eo-kicker {
  font-family: var(--mono); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.42em; text-transform: uppercase; color: var(--acc);
}
.eo-hero h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1.08;
  max-width: 18ch; margin: 20px auto 0;
}
.eo-hero h1 em { font-style: italic; color: var(--acc-bright); }
.eo-lead { color: var(--dim); max-width: 54ch; margin: 20px auto 0; font-size: clamp(0.98rem, 1.5vw, 1.06rem); }
.eo-hero-meta {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 12px 30px; margin-top: 30px;
}
.eo-hero-meta li {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--dim); font-size: 0.88rem;
}
.eo-hero-meta .ic { width: 17px; height: 17px; flex: none; stroke: var(--acc); stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.eo-hero-art { margin-top: 40px; }
.eo-ember-svg { width: 100%; height: auto; }

/* ---------- Section umum ---------- */
.sec { padding: 88px 0; }
.sec-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.sec-menu {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}
.eo-menu-wrap { max-width: 780px; }
.sec-head { margin-bottom: 44px; }
.sec-head.center { text-align: center; }
.sec-head.split {
  display: flex; flex-wrap: wrap; gap: 16px 48px;
  align-items: flex-end; justify-content: space-between;
}
.sec h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.9rem, 3.8vw, 2.8rem); line-height: 1.12; margin-top: 14px; }
.sec-sub { color: var(--dim); margin-top: 12px; font-size: 0.96rem; }
.sec-note { color: var(--dim); font-size: 0.92rem; max-width: 46ch; }

/* ---------- Tabs ---------- */
.eo-tabs {
  display: flex; flex-wrap: wrap; gap: 6px;
  justify-content: center; margin-bottom: 36px;
  border-bottom: 1px solid var(--line); padding-bottom: 0;
}
.eo-tab {
  background: none; border: none; color: var(--dim);
  font-family: var(--mono); font-size: 0.84rem; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 13px 20px; min-height: 48px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.eo-tab:hover { color: var(--ink); }
.eo-tab[aria-selected="true"] { color: var(--acc-bright); border-bottom-color: var(--acc); }
.eo-panel { min-width: 0; }
.eo-panel:focus { outline: none; }

/* ---------- Dish list ---------- */
.eo-dish-list { display: grid; gap: 26px; }
.eo-dish { display: flex; align-items: baseline; gap: 14px; }
.eo-dish-main { min-width: 0; flex: 1 1 0; }
.eo-dish-name {
  display: flex; align-items: baseline; gap: 12px;
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(1.2rem, 2.4vw, 1.5rem); line-height: 1.25;
  transition: color 0.2s ease;
}
.eo-dish:hover .eo-dish-name { color: var(--acc-bright); }
.eo-dish-no { font-family: var(--mono); font-size: 0.78rem; color: rgba(184, 115, 51, 0.7); flex: none; }
.eo-dish-desc { color: var(--dim); font-size: 0.9rem; margin-top: 4px; padding-left: 30px; max-width: 52ch; }
.eo-dish-dots {
  flex: 1 1 0; min-width: 24px; align-self: center;
  border-bottom: 1px dashed var(--line);
  transform: translateY(-4px);
}
.eo-dish-price {
  font-family: var(--mono); font-size: 0.95rem; font-weight: 500;
  color: var(--acc-bright); flex: none;
}
.eo-menu-note {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  color: var(--dim); font-size: 0.86rem;
  margin-top: 40px; text-align: center; flex-wrap: wrap;
}
.eo-menu-note .ic { width: 17px; height: 17px; flex: none; stroke: var(--acc); stroke-width: 1.7; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Chef / pengalaman ---------- */
.eo-chef {
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 5vw, 64px); align-items: center;
}
.eo-chef-panel {
  position: relative; aspect-ratio: 4 / 3;
  background:
    radial-gradient(circle at 65% 30%, rgba(184, 115, 51, 0.28) 0 2px, transparent 3px),
    radial-gradient(circle at 30% 70%, rgba(184, 115, 51, 0.16) 0 2px, transparent 3px),
    linear-gradient(140deg, #3a2a17 0%, #1c150e 60%, #0e0b08 100%);
  background-size: 44px 44px, 60px 60px, auto;
  overflow: hidden;
}
.eo-chef-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.eo-chef-cap {
  position: absolute; left: 16px; bottom: 12px;
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.24em;
  text-transform: uppercase; color: rgba(184, 115, 51, 0.85);
}
.eo-quote p {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.4;
  color: rgba(240, 230, 214, 0.92); max-width: 26ch;
}
.eo-quote-name { font-family: var(--mono); color: var(--acc-bright); font-size: 0.92rem; margin-top: 22px; }
.eo-quote-role {
  font-family: var(--mono); color: var(--dim);
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  margin-top: 6px;
}
.eo-exp-grid { display: grid; gap: 14px; margin-top: 34px; }
.eo-exp {
  border-left: 2px solid var(--line); padding: 4px 0 4px 18px;
}
.eo-exp h3 { font-family: var(--serif); font-weight: 600; font-size: 1.08rem; }
.eo-exp p { color: var(--dim); font-size: 0.9rem; margin-top: 4px; max-width: 52ch; }

/* ---------- Privat ---------- */
.eo-room-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 18px; }
.eo-room {
  border: 1px solid var(--line); background: var(--panel);
  padding: 30px 28px; min-width: 0;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.eo-room:hover { border-color: rgba(184, 115, 51, 0.5); background: var(--panel-2); }
.eo-room-head {
  display: flex; flex-wrap: wrap; gap: 8px 14px;
  align-items: baseline; justify-content: space-between;
  border-bottom: 1px solid var(--line); padding-bottom: 16px;
}
.eo-room-head h3 { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; }
.eo-room-cap {
  font-family: var(--mono); font-size: 0.76rem; color: var(--acc-bright);
  border: 1px solid var(--line); padding: 4px 12px; white-space: nowrap;
}
.eo-room-desc { color: var(--dim); font-size: 0.92rem; margin-top: 16px; }
.eo-room-list { display: grid; gap: 10px; margin-top: 18px; }
.eo-room-list li {
  position: relative; padding-left: 24px;
  color: rgba(240, 230, 214, 0.8); font-size: 0.88rem;
}
.eo-room-list li::before {
  content: ""; position: absolute; left: 2px; top: 8px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--acc); opacity: 0.75;
}
.eo-privat-cta {
  display: flex; flex-wrap: wrap; gap: 16px 28px;
  align-items: center; justify-content: space-between;
  border: 1px dashed var(--line); border-radius: 2px;
  padding: 24px 28px; margin-top: 26px;
}
.eo-privat-cta p { color: var(--dim); font-size: 0.94rem; max-width: 52ch; }

/* ---------- Reservasi ---------- */
.eo-reserve {
  text-align: center; border: 1px solid rgba(184, 115, 51, 0.4);
  background: linear-gradient(160deg, rgba(184, 115, 51, 0.12), transparent 55%), var(--panel);
  padding: clamp(40px, 7vw, 68px) clamp(20px, 5vw, 56px);
}
.eo-reserve-icon { width: 38px; height: 38px; margin: 0 auto; color: var(--acc-bright); stroke: currentColor; stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.eo-reserve h2 { margin-top: 18px; }
.eo-reserve > p { color: var(--dim); max-width: 54ch; margin: 14px auto 0; }
.eo-reserve-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.eo-reserve-meta {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 44px;
  margin-top: 38px; padding-top: 26px; border-top: 1px solid var(--line);
}
.eo-reserve-meta dt {
  font-family: var(--mono); font-size: 0.7rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim);
}
.eo-reserve-meta dd { font-family: var(--serif); font-size: 1.15rem; margin-top: 4px; color: var(--ink); }

/* ---------- Footer ---------- */
.eo-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 60px 0 42px; }
.eo-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 32px; }
.eo-f-tagline { color: var(--dim); font-size: 0.9rem; margin-top: 14px; max-width: 34ch; }
.eo-f-col h3 { font-family: var(--serif); font-weight: 600; font-size: 1.05rem; margin-bottom: 14px; }
.eo-f-links { display: grid; gap: 8px; }
.eo-f-links a {
  color: var(--dim); text-decoration: none; font-size: 0.9rem;
  min-height: 34px; display: inline-flex; align-items: center;
  transition: color 0.15s ease;
}
.eo-f-links a:hover { color: var(--acc-bright); }
.eo-f-text { color: var(--dim); font-size: 0.9rem; margin-bottom: 10px; }
.eo-f-cta .btn { margin-top: 6px; }
.badge {
  display: flex; align-items: flex-start; gap: 10px;
  margin-top: 46px; padding: 14px 18px;
  border: 1px dashed rgba(184, 115, 51, 0.45);
  color: var(--dim); font-size: 0.86rem;
}
.badge-dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--acc); margin-top: 7px; }
.eo-footer-bottom {
  display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center;
  justify-content: space-between; margin-top: 22px; padding-top: 20px;
  border-top: 1px solid var(--line-soft); color: var(--dim); font-size: 0.84rem;
}
.eo-to-top {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--dim); text-decoration: none; min-height: 44px;
}
.eo-to-top .ic { width: 16px; height: 16px; stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.eo-to-top:hover { color: var(--acc-bright); }

/* ---------- Reveal on scroll (gating html.js) ---------- */
html.js .reveal {
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.6s ease var(--d, 0s), transform 0.6s ease var(--d, 0s);
}
html.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .eo-dish-name, .eo-room, .eo-tab { transition: none; }
}

/* ---------- Responsif ---------- */
@media (max-width: 1020px) {
  .eo-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .eo-chef { grid-template-columns: 1fr; }
  .eo-chef-panel { max-width: 480px; }
}
@media (max-width: 760px) {
  .eo-nav-links {
    display: none; margin-left: 0;
    position: absolute; top: 70px; left: 0; right: 0; z-index: 90;
    background: #191410; border-bottom: 1px solid var(--line);
    padding: 12px 20px 20px;
  }
  .eo-nav-links.open { display: grid; gap: 4px; }
  .eo-nav-links a { padding: 12px 14px; font-size: 0.96rem; }
  .eo-nav-cta { display: none; }
  .eo-toggle { display: grid; }
  .eo-hero { padding-top: 60px; }
  .sec { padding: 62px 0; }
  .sec-head.split { flex-direction: column; align-items: flex-start; }
  .eo-dish { flex-wrap: wrap; }
  .eo-dish-dots { display: none; }
  .eo-dish-price { width: 100%; padding-left: 30px; }
  .eo-tabs { justify-content: flex-start; }
  .eo-tab { flex: 1 1 0; min-width: 0; padding-inline: 10px; font-size: 0.74rem; }
  .eo-footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .eo-brand { letter-spacing: 0.14em; font-size: 0.94rem; }
  .eo-footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .eo-hero-meta { flex-direction: column; align-items: center; gap: 10px; }
  .eo-reserve-actions .btn { width: 100%; }
  .eo-privat-cta { flex-direction: column; align-items: flex-start; }
  .eo-exp-grid { gap: 12px; }
}
