/* ============================================================
   BREW HAVEN — showcase demo (G802-C / Batch C)
   Karakter: roastery industrial urban gelap.
   Palet: cokelat gelap #17110d · tembaga #c2643f · krem #efe6d8.
   CSS murni, tanpa framework. Nama class berprefix .bh-
   ============================================================ */
:root {
  --bg: #17110d;
  --bg-deep: #100b08;
  --panel: #241a12;
  --panel-2: #1d150f;
  --line: rgba(239, 230, 216, 0.14);
  --line-strong: rgba(194, 100, 63, 0.45);
  --ink: #efe6d8;
  --ink-dim: rgba(239, 230, 216, 0.64);
  --ink-faint: rgba(239, 230, 216, 0.42);
  --accent: #c2643f;
  --accent-hi: #d4794f;
  --accent-ink: #17110d;
  --head: "Oswald", "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;
  --radius: 14px;
  --radius-lg: 20px;
}

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

/* ---------- Skip link & fokus ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent); color: var(--accent-ink);
  padding: 12px 18px; border-radius: 0 0 10px 0;
  font-weight: 600; z-index: 100;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 3px; border-radius: 4px; }

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 12px 20px;
  border-radius: 12px; border: 1px solid transparent;
  font-weight: 600; font-size: 0.95rem; text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.btn .ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.btn-copper, .btn-solid { background: var(--accent); color: var(--accent-ink); }
.btn-copper:hover, .btn-solid:hover { background: var(--accent-hi); transform: translateY(-1px); }
.btn-steel { border-color: var(--line-strong); color: var(--accent-hi); background: rgba(194, 100, 63, 0.06); }
.btn-steel:hover { background: rgba(194, 100, 63, 0.14); border-color: var(--accent-hi); }

/* ---------- Navigasi ---------- */
.bh-nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(23, 17, 13, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.bh-nav-inner { display: flex; align-items: center; gap: 20px; min-height: 70px; }
.bh-brand {
  display: inline-flex; align-items: center; gap: 11px;
  font-family: var(--head); font-weight: 600; font-size: 1.08rem;
  letter-spacing: 0.14em; text-decoration: none; min-height: 44px; min-width: 0;
}
.bh-brand-mark { width: 34px; height: 34px; flex: none; }
.bh-links { margin-left: auto; display: flex; gap: 2px; align-items: center; }
.bh-links a {
  text-decoration: none; color: var(--ink-dim);
  font-size: 0.92rem; font-weight: 500;
  padding: 10px 13px; border-radius: 10px; min-height: 44px;
  display: inline-flex; align-items: center;
  transition: color 0.15s ease, background 0.15s ease;
}
.bh-links a:hover { color: var(--ink); background: rgba(239, 230, 216, 0.06); }
.bh-nav-cta { display: flex; }
.bh-toggle {
  display: none; margin-left: auto;
  width: 46px; height: 46px; border-radius: 10px;
  background: none; border: 1px solid var(--line); color: var(--ink);
  place-items: center;
}
.bh-toggle .ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.bh-toggle .ic-close { display: none; }
.bh-toggle[aria-expanded="true"] .ic-open { display: none; }
.bh-toggle[aria-expanded="true"] .ic-close { display: block; }

/* ---------- Label / kepala section ---------- */
.label {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--head); font-weight: 600; font-size: 0.85rem;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent-hi); margin-bottom: 14px;
}
.label::before { content: ""; width: 26px; height: 3px; background: var(--accent); }
.sec { padding: 84px 0; }
.sec-proses { background: var(--bg-deep); border-block: 1px solid var(--line); }
.sec-head { max-width: 720px; }
.sec-head.split { max-width: none; display: flex; flex-wrap: wrap; gap: 14px 40px; align-items: flex-end; justify-content: space-between; }
.sec-head h2 {
  font-family: var(--head); font-weight: 600; text-transform: uppercase;
  font-size: clamp(1.55rem, 3.4vw, 2.3rem); line-height: 1.14; letter-spacing: 0.02em;
}
.sec-note { color: var(--ink-dim); font-size: 0.94rem; max-width: 46ch; min-width: 0; flex: 1 1 260px; }
.sec-lead { color: var(--ink-dim); margin-top: 12px; max-width: 62ch; }

/* ---------- Hero ---------- */
.bh-hero {
  padding: 72px 0 64px;
  background:
    radial-gradient(90% 70% at 82% 10%, rgba(194, 100, 63, 0.14), transparent 60%),
    repeating-linear-gradient(90deg, rgba(239, 230, 216, 0.028) 0 1px, transparent 1px 92px),
    var(--bg);
}
.bh-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 48px; align-items: center; }
.bh-hero h1 {
  font-family: var(--head); font-weight: 700; text-transform: uppercase;
  font-size: clamp(2.35rem, 5.6vw, 3.9rem); line-height: 1.04; letter-spacing: 0.01em;
  max-width: 18ch; margin-bottom: 18px;
}
.bh-hero h1 em { font-style: normal; color: var(--accent-hi); }
.lead { color: var(--ink-dim); font-size: 1.05rem; max-width: 56ch; }
.bh-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.bh-hero-chips {
  list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px;
}
.bh-hero-chips li {
  border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 15px; font-size: 0.82rem; color: var(--ink-dim);
  background: rgba(36, 26, 18, 0.6);
}
.bh-stage { position: relative; min-width: 0; }
.bh-stage-svg { width: 100%; height: auto; }
.bh-ring-text { font-family: var(--head); font-size: 16px; letter-spacing: 5px; fill: var(--ink-faint); font-weight: 600; text-transform: uppercase; }
.bh-spin { transform-origin: 320px 320px; animation: bh-spin 36s linear infinite; }
@keyframes bh-spin { to { transform: rotate(360deg); } }
.bh-plate { font-family: var(--head); font-size: 21px; font-weight: 700; letter-spacing: 3px; fill: var(--accent-ink); }
.bh-steam { opacity: 0.75; animation: bh-steam 3.6s ease-in-out infinite alternate; }
.bh-steam.s2 { animation-delay: 1.2s; }
@keyframes bh-steam { from { transform: translateY(0); } to { transform: translateY(-9px); } }
.bh-stage-chip {
  position: absolute; z-index: 2;
  background: rgba(16, 11, 8, 0.88); border: 1px solid var(--line-strong);
  color: var(--accent-hi); font-size: 0.78rem; font-weight: 600;
  padding: 7px 13px; border-radius: 999px;
}
.chip-a { top: 8%; left: 0; }
.chip-b { bottom: 12%; right: 0; }

/* ---------- Ticker ---------- */
.bh-ticker {
  overflow: hidden; border-block: 1px solid var(--line);
  background: var(--bg-deep);
  padding: 13px 0;
}
.bh-ticker-track { display: flex; width: max-content; animation: bh-marquee 30s linear infinite; }
.bh-ticker-group { display: flex; align-items: center; gap: 22px; padding-right: 22px; }
.tick {
  font-family: var(--head); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.16em; font-size: 0.8rem; color: var(--ink-faint); white-space: nowrap;
}
.tick-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }
@keyframes bh-marquee { to { transform: translateX(-50%); } }

/* ---------- Menu ---------- */
.bh-menu-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px; margin-top: 40px;
}
.bh-menu-card {
  display: flex; gap: 16px; min-width: 0;
  background: var(--panel-2); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 16px;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.bh-menu-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.bh-thumb {
  width: 76px; height: 76px; flex: none; border-radius: 14px;
  border: 1px solid rgba(239, 230, 216, 0.1);
}
.th-1 { background: linear-gradient(150deg, #d4a373, #8c5a33); }
.th-2 { background: linear-gradient(150deg, #e2c48f, #b07d3f); }
.th-3 { background: linear-gradient(150deg, #6b4426, #3a2415); }
.th-4 { background: linear-gradient(150deg, #c49a6c, #7c4a2d); }
.th-5 { background: linear-gradient(150deg, #9db87a, #5a7a42); }
.th-6 { background: linear-gradient(150deg, #a8b89c, #6b7a5c); }
.bh-menu-body { min-width: 0; flex: 1 1 0; }
.bh-menu-head { display: flex; align-items: baseline; gap: 10px; }
.bh-menu-head h3 { font-family: var(--head); font-weight: 600; font-size: 1.05rem; letter-spacing: 0.03em; text-transform: uppercase; min-width: 0; }
.tag {
  display: inline-block; margin-left: 7px; padding: 3px 9px;
  border-radius: 999px; background: rgba(194, 100, 63, 0.16);
  color: var(--accent-hi); font-family: var(--body); font-size: 0.66rem;
  font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; vertical-align: middle;
}
.bh-price { margin-left: auto; font-weight: 700; color: var(--accent-hi); font-variant-numeric: tabular-nums; flex: none; }
.bh-menu-body p { color: var(--ink-dim); font-size: 0.88rem; margin-top: 6px; }
.bh-bean-strip {
  margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px;
  border: 1px dashed var(--line-strong); border-radius: var(--radius-lg);
  padding: 22px 24px; background: rgba(194, 100, 63, 0.05);
}
.bh-bean-copy { flex: 1 1 320px; min-width: 0; }
.bh-bean-copy h3 { font-family: var(--head); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; font-size: 1.15rem; }
.bh-bean-copy p { color: var(--ink-dim); font-size: 0.92rem; margin-top: 6px; }

/* ---------- Proses ---------- */
.bh-steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-top: 44px; counter-reset: bh; }
.bh-step {
  position: relative; background: var(--panel-2); border: 1px solid var(--line);
  border-top: 3px solid var(--accent); border-radius: var(--radius);
  padding: 26px 22px 24px; min-width: 0;
}
.bh-step-num {
  font-family: var(--head); font-weight: 700; font-size: 2rem;
  color: transparent; -webkit-text-stroke: 1.4px var(--accent);
  display: block; margin-bottom: 12px; line-height: 1;
}
.bh-step h3 { font-family: var(--head); text-transform: uppercase; letter-spacing: 0.05em; font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; }
.bh-step p { color: var(--ink-dim); font-size: 0.92rem; }

/* ---------- Accordion kelas ---------- */
.bh-acc { margin-top: 40px; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--panel-2); }
.bh-acc-item + .bh-acc-item { border-top: 1px solid var(--line); }
.bh-acc-heading { margin: 0; }
.bh-acc-trigger {
  width: 100%; min-height: 60px; display: flex; align-items: center; gap: 14px;
  background: none; border: 0; color: var(--ink); text-align: left;
  padding: 16px 22px; transition: background 0.15s ease;
}
.bh-acc-trigger:hover { background: rgba(239, 230, 216, 0.04); }
.bh-acc-title { font-family: var(--head); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; font-size: 1.02rem; min-width: 0; }
.bh-acc-sub {
  display: inline-block; margin-left: 10px; font-family: var(--body);
  font-size: 0.8rem; letter-spacing: 0; text-transform: none; color: var(--ink-faint); font-weight: 500;
}
.bh-acc-icon {
  margin-left: auto; flex: none; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid var(--line-strong);
  color: var(--accent-hi); transition: transform 0.25s ease;
}
.bh-acc-icon .ic { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.bh-acc-item.open .bh-acc-icon { transform: rotate(45deg); background: rgba(194, 100, 63, 0.14); }
.bh-acc-panel { padding: 0 22px; }
.bh-acc-panel[hidden] { display: none; }
.bh-acc-inner { border-top: 1px dashed var(--line); padding: 18px 0 22px; display: grid; gap: 16px; }
.bh-acc-inner > p { color: var(--ink-dim); font-size: 0.94rem; max-width: 72ch; }
.bh-acc-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.bh-acc-meta div { background: var(--bg-deep); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; min-width: 0; }
.bh-acc-meta dt { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); font-weight: 600; }
.bh-acc-meta dd { font-weight: 600; font-size: 0.92rem; margin-top: 3px; }
.bh-acc-inner .btn { justify-self: start; }

/* ---------- Info & CTA ---------- */
.bh-info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; margin-top: 40px; }
.bh-info-card {
  background: var(--panel-2); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 24px; min-width: 0;
}
.bh-ico-chip {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 14px;
  background: rgba(194, 100, 63, 0.13); color: var(--accent-hi);
  border: 1px solid var(--line-strong);
}
.bh-ico-chip .ic { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.bh-info-card h3 { font-family: var(--head); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; font-size: 1.05rem; margin-bottom: 8px; }
.bh-info-card p { color: var(--ink-dim); font-size: 0.92rem; }
.bh-cta-band {
  margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 22px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  padding: 30px; background:
    radial-gradient(120% 140% at 100% 0%, rgba(194, 100, 63, 0.16), transparent 55%),
    var(--panel);
}
.bh-cta-copy { flex: 1 1 340px; min-width: 0; }
.bh-cta-copy h3 { font-family: var(--head); text-transform: uppercase; letter-spacing: 0.04em; font-size: clamp(1.25rem, 2.6vw, 1.7rem); font-weight: 600; }
.bh-cta-copy p { color: var(--ink-dim); margin-top: 8px; max-width: 60ch; }

/* ---------- Footer ---------- */
.bh-foot { border-top: 1px solid var(--line); background: var(--bg-deep); padding: 54px 0 40px; }
.bh-foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)) minmax(0, 1.4fr); gap: 30px; }
.bh-brand-foot { color: var(--ink); }
.bh-f-tagline { color: var(--ink-dim); font-size: 0.9rem; margin-top: 14px; max-width: 34ch; }
.bh-f-col h3 { font-family: var(--head); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.85rem; font-weight: 600; color: var(--accent-hi); margin-bottom: 14px; }
.bh-f-links { list-style: none; display: grid; gap: 4px; }
.bh-f-links a {
  text-decoration: none; color: var(--ink-dim); font-size: 0.92rem;
  min-height: 36px; display: inline-flex; align-items: center;
}
.bh-f-links a:hover { color: var(--ink); }
.bh-f-text { color: var(--ink-dim); font-size: 0.9rem; margin-bottom: 12px; }
.badge {
  margin-top: 36px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  border: 1px dashed var(--line-strong); border-radius: 12px;
  padding: 13px 17px; color: var(--ink-dim); font-size: 0.85rem;
}
.badge-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); flex: none; }
.bh-foot-bottom {
  margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between;
  color: var(--ink-faint); font-size: 0.85rem;
}
.to-top { text-decoration: none; color: var(--ink-dim); display: inline-flex; align-items: center; gap: 7px; min-height: 44px; font-weight: 500; }
.to-top:hover { color: var(--ink); }
.to-top .ic { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Reveal (pola G800) ---------- */
html.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.55s ease, transform 0.55s ease; transition-delay: var(--d, 0s); }
html.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .bh-spin, .bh-steam, .bh-ticker-track { animation: none; }
  .btn, .bh-menu-card, .bh-acc-icon { transition: none; }
}

/* ---------- Responsif ---------- */
@media (max-width: 1020px) {
  .bh-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .bh-stage { max-width: 520px; margin: 0 auto; }
  .bh-foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .container { padding: 0 18px; }
  .bh-links {
    display: none; margin: 0;
    position: absolute; top: 70px; left: 0; right: 0;
    background: var(--bg-deep); border-bottom: 1px solid var(--line);
    padding: 12px 18px 20px; z-index: 70; grid-template-columns: 1fr; gap: 2px;
  }
  .bh-links.open { display: grid; }
  .bh-links a { padding: 13px 12px; border-radius: 10px; }
  .bh-toggle { display: grid; }
  .bh-nav-cta { display: none; }
  .bh-nav-inner { min-height: 64px; }
  .bh-hero { padding: 48px 0 40px; }
  .sec { padding: 60px 0; }
  .bh-menu-card { flex-direction: column; }
  .bh-thumb { width: 100%; height: 110px; }
  .bh-foot-grid { grid-template-columns: 1fr; gap: 24px; }
  .bh-cta-band { padding: 24px 18px; }
  .chip-b { bottom: 2%; }
}
@media (max-width: 390px) {
  .bh-hero-cta .btn { flex: 1 1 100%; }
  .bh-stage-chip { font-size: 0.7rem; padding: 6px 10px; }
}
