/* ============================================================
   MS HADIANTO — Design System v1.0
   mshadianto.my.id
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400;1,600&family=Outfit:wght@300;400;500;600&display=swap');

/* ── RESET & BASE ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ── TOKENS ── */
:root {
  --bg:        #0b0c0e;
  --bg2:       #111316;
  --bg3:       #181a1e;
  --bg4:       #1e2024;
  --gold:      #c9a84c;
  --gold2:     #e8c97a;
  --gold-dim:  #6b5a2d;
  --gold-pale: #3a3020;
  --white:     #f4f1eb;
  --text:      #d8d4ca;
  --muted:     #7a7671;
  --faint:     #3a3830;
  --rule:      #232428;
  --rule2:     #2e3035;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Outfit', system-ui, sans-serif;

  --max-w: 1100px;
  --pad-x: clamp(1.5rem, 5vw, 3rem);
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Subtle noise overlay */
body::after {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 9999; opacity: 0.5;
}

/* ── NAVIGATION ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.1rem var(--pad-x);
  border-bottom: 1px solid rgba(201,168,76,0.1);
  background: rgba(11,12,14,0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav-brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--white);
  font-family: var(--font-serif);
  font-size: 20px; font-weight: 600; letter-spacing: 0.03em;
}
.nav-monogram {
  width: 34px; height: 34px; flex-shrink: 0;
  border: 1.5px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: var(--gold);
  letter-spacing: 0.06em;
}
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-cta {
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--bg); background: var(--gold);
  padding: 0.5rem 1.2rem; text-decoration: none; font-weight: 600;
  transition: background .2s;
}
.nav-cta:hover { background: var(--gold2); }

/* Hamburger */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span {
  display: block; width: 22px; height: 1.5px;
  background: var(--muted); transition: all .25s;
}
.nav-mobile {
  display: none; position: fixed; top: 57px; left: 0; right: 0; z-index: 499;
  background: var(--bg2);
  border-bottom: 1px solid var(--rule);
  padding: 1.5rem var(--pad-x) 2rem;
  flex-direction: column; gap: 1.2rem;
}
.nav-mobile a {
  font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; padding: 0.5rem 0;
  border-bottom: 1px solid var(--rule);
}
.nav-mobile.open { display: flex; }

/* ── BUTTONS ── */
.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  font-family: var(--font-sans); border: none; transition: all .2s;
}
.btn-gold {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 600; color: var(--bg); background: var(--gold);
  padding: 0.85rem 2rem;
}
.btn-gold:hover { background: var(--gold2); transform: translateY(-1px); }
.btn-outline {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 500; color: var(--muted);
  border: 1px solid var(--rule2); padding: 0.85rem 2rem;
}
.btn-outline:hover { border-color: var(--gold-dim); color: var(--text); }

/* ── SECTION HELPERS ── */
.section-label {
  font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--gold); font-weight: 500; margin-bottom: 0.6rem;
  display: flex; align-items: center; gap: 10px;
}
.section-label::before {
  content: ''; display: block;
  width: 24px; height: 1px; background: var(--gold);
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 400; color: var(--white);
  line-height: 1.12; margin-bottom: 2.5rem;
}
.section-title em { font-style: italic; color: var(--gold2); }

.divider {
  display: flex; align-items: center; gap: 1.5rem;
  margin: 0.5rem 0;
}
.divider-line { flex: 1; height: 1px; background: var(--rule); }
.divider-icon {
  font-family: var(--font-serif); font-size: 18px;
  color: var(--gold-dim); letter-spacing: 0.2em;
}

/* ── CARDS ── */
.card {
  background: var(--bg2);
  border: 1px solid var(--rule);
  padding: 1.8rem;
  transition: background .2s, border-color .2s;
}
.card:hover { background: var(--bg3); border-color: var(--rule2); }

/* ── PILL / BADGE ── */
.pill {
  display: inline-block;
  font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase;
  border: 1px solid var(--gold-dim); color: var(--gold-dim);
  padding: 3px 9px; font-weight: 500;
}
.pill-gold {
  background: var(--gold-pale); color: var(--gold);
  border-color: var(--gold-dim);
}

/* ── LIVE DOT ── */
.live-dot {
  display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  animation: blink 2.2s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1;} 50%{opacity:.2;} }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0);    }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}

.anim-fade-up { animation: fadeUp .75s ease both; }
.anim-delay-1 { animation-delay: .1s; }
.anim-delay-2 { animation-delay: .22s; }
.anim-delay-3 { animation-delay: .34s; }
.anim-delay-4 { animation-delay: .46s; }
.anim-delay-5 { animation-delay: .58s; }
.anim-delay-6 { animation-delay: .70s; }

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--rule);
  padding: 2.5rem var(--pad-x);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 1.5rem;
}
.footer-brand {
  font-family: var(--font-serif);
  font-size: 20px; font-weight: 600; color: var(--white);
}
.footer-domain { font-size: 11px; color: var(--gold-dim); margin-top: 2px; }
.footer-center { text-align: center; }
.footer-links { display: flex; gap: 1.5rem; justify-content: flex-end; }
.footer-links a {
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; transition: color .2s;
}
.footer-links a:hover { color: var(--gold); }
.footer-copy { font-size: 11px; color: var(--faint); margin-top: 0.3rem; }

/* ── UTILITY ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad-x); }
.pt-nav { padding-top: 80px; }

/* ── MOBILE ── */
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .footer { grid-template-columns: 1fr; gap: 1rem; }
  .footer-links { justify-content: flex-start; }
  .footer-center { display: none; }
}
