/* =========================================================
   ML COFFEE — Design System
   Palet dari logo: hitam pekat, coklat tembakau, gold cream.
   Display: Cinzel (klasik, seirama monogram ML).
   ========================================================= */

@font-face { font-family: "Cinzel"; src: url("../fonts/Cinzel-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Cinzel"; src: url("../fonts/Cinzel-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Cinzel"; src: url("../fonts/Cinzel-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Cinzel"; src: url("../fonts/Cinzel-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Karla"; src: url("../fonts/Karla-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Karla"; src: url("../fonts/Karla-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Karla"; src: url("../fonts/Karla-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Karla"; src: url("../fonts/Karla-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Great Vibes"; src: url("../fonts/GreatVibes-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --bg:       #0B0906;
  --surface:  #161009;
  --raised:   #1F1710;
  --line:     rgba(226,196,150,.12);
  --line-hard:rgba(226,196,150,.28);

  --text:     #F2EAE0;
  --muted:    #B7A58E;
  --faint:    #7D6F5C;

  --gold:     #C9A26B;
  --gold-2:   #E3C08D;
  --brown:    #8A5A32;
  --brown-2:  #6B4226;
  --cream:    #F6EFE5;

  --green:    #4C8A5A;
  --red:      #C7573F;

  --r-s: 10px;
  --r-m: 14px;
  --r-l: 20px;
  --r-xl: 28px;

  --font-disp: "Cinzel", "Georgia", serif;
  --font-body: "Karla", "Segoe UI", sans-serif;
  --font-script: "Great Vibes", cursive;

  --shadow-1: 0 8px 30px rgba(0,0,0,.5);
  --ease: cubic-bezier(.22,.8,.28,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 15px; line-height: 1.6;
  color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; }
[hidden] { display: none !important; }
::placeholder { color: var(--faint); }
::selection { background: var(--gold); color: #17110B; }

/* ---------- Primitif ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px; font-weight: 700; letter-spacing: .34em;
  text-transform: uppercase; color: var(--gold);
}
.eyebrow::before, .eyebrow::after { content: ""; width: 28px; height: 1px; background: var(--gold); opacity: .7; }
.eyebrow--single::after { display: none; }

.display { font-family: var(--font-disp); font-weight: 600; line-height: 1.08; }

.script { font-family: var(--font-script); color: var(--gold-2); font-size: 1.3em; }

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 4px;
  font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  transition: transform .18s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .2s;
  user-select: none; white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn svg { width: 17px; height: 17px; }

.btn-gold { background: linear-gradient(120deg, var(--gold-2), var(--gold)); color: #17110B; box-shadow: 0 6px 24px rgba(201,162,107,.28); }
.btn-gold:hover { box-shadow: 0 8px 30px rgba(201,162,107,.42); }

.btn-outline { border: 1px solid var(--line-hard); color: var(--text); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-2); }

.btn-ghost { color: var(--muted); }
.btn-ghost:hover { color: var(--gold-2); }

.btn[disabled] { opacity: .4; pointer-events: none; }

/* ---------- Chips ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 2px;
  font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  border: 1px solid var(--line-hard); color: var(--gold);
}
.chip-soon { background: rgba(201,162,107,.1); }

/* ---------- Animasi ---------- */
@keyframes fade-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes steam { 0% { transform: translateY(0) scaleX(1); opacity: 0; } 30% { opacity: .7; } 100% { transform: translateY(-26px) scaleX(1.25); opacity: 0; } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: rgba(201,162,107,.25); border-radius: 99px; }
::-webkit-scrollbar-track { background: transparent; }

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