﻿/* MUSTIKA EMAS - ARCHETYPE: ONE MOTIF (THE GOLD INGOT CHAMFER) */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

:root {
  --bg: #111315;
  --surface: #191c20;
  --surface-alt: #23272d;
  --gold: #e5b95c;
  --gold-dark: #b88d37;
  --gold-light: #fbe39d;
  --text: #f0f2f5;
  --muted: #9da4b0;
  --font-display: 'Bricolage Grotesque', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-w: 1240px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* TYPOGRAPHY */
h1, h2, h3, .brand-title {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  max-width: 22ch;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 1rem;
  max-width: 26ch;
}

h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  max-width: 65ch;
}

a {
  color: inherit;
  text-decoration: none;
}

/* LAYOUT CONTAINER */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* NAVBAR */
.site-header {
  background: var(--surface);
  position: sticky;
  top: 0;
  z-index: 90;
  padding: 1.25rem 0;
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.01em;
}

.brand-badge {
  font-size: 0.8rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.15s ease;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* BUTTONS - INGOT MOTIF (CHAMFER CORNER) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
  transition: opacity 0.15s ease;
  border: none;
}

.btn:hover {
  opacity: 0.9;
}

.btn-gold {
  background: var(--gold);
  color: #0b0c0e;
}

.btn-outline {
  background: var(--surface-alt);
  color: var(--text);
}

/* HERO SECTION */
.hero {
  padding: 4.5rem 0 3.5rem;
  background: var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
  margin-bottom: 2.5rem;
}

.ticker-bar {
  background: var(--surface);
  padding: 1rem 1.5rem;
  border-left: 3px solid var(--gold);
  display: flex;
  gap: 2rem;
  align-items: center;
}

.ticker-item {
  display: flex;
  flex-direction: column;
}

.ticker-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.ticker-val {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--gold);
}

.hero-media {
  position: relative;
}

.media-chamfer {
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
  background: var(--surface);
  overflow: hidden;
}

.media-chamfer img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

/* SECTION COMMON */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--surface);
}

.section-head {
  margin-bottom: 3rem;
}

.section-lead {
  font-size: 1.15rem;
  max-width: 60ch;
}

/* THE LIVE THING: KALKULATOR BUYBACK */
.calc-card {
  background: var(--surface);
  padding: 2.5rem;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 1.5rem;
}

.calc-group {
  margin-bottom: 1.5rem;
}

.calc-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.calc-select, .calc-input {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--bg);
  border: 1px solid #333a44; /* taste-skill-ignore: data-ui form input */
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
}

.calc-select:focus, .calc-input:focus {
  outline: 2px solid var(--gold);
}

.calc-slider-wrap {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.calc-slider {
  flex: 1;
  accent-color: var(--gold);
}

.calc-num {
  width: 90px;
  text-align: right;
  padding: 0.5rem 0.75rem;
  background: var(--bg);
  border: 1px solid #333a44; /* taste-skill-ignore: data-ui form input */
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}

.calc-result-box {
  background: var(--bg);
  padding: 2rem;
  border-left: 4px solid var(--gold);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.result-metric {
  margin-bottom: 1.5rem;
}

.metric-title {
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.metric-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--gold);
  line-height: 1.1;
}

.metric-sub {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

/* SPECIMEN & ARCHIVE GRIDS */
.specimen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.specimen-card {
  background: var(--surface);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.specimen-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.specimen-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.specimen-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 1rem;
  padding-top: 0.75rem;
  background: var(--surface-alt);
  padding: 0.75rem 1rem;
}

.specimen-price {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--gold);
}

/* PROCESS LEDGER / STAGES */
.ledger-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.ledger-row {
  display: grid;
  grid-template-columns: 140px 1fr 2fr;
  gap: 2rem;
  align-items: baseline;
  padding: 1.75rem 2rem;
  background: var(--surface-alt);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}

.ledger-badge {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 0.03em;
}

.ledger-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
}

/* FAQ SPLIT */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.faq-item {
  background: var(--surface);
  padding: 1.75rem;
  border-left: 3px solid var(--gold);
}

.faq-q {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.75rem;
}

/* FOOTER */
.site-footer {
  background: var(--surface);
  padding: 4rem 0 2rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-nav {
  list-style: none;
}

.footer-nav li {
  margin-bottom: 0.6rem;
}

.footer-nav a {
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.15s ease;
}

.footer-nav a:hover {
  color: var(--text);
}

.footer-bottom {
  padding-top: 2rem;
  background: var(--surface-alt);
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--muted);
}

/* MOBILE NAV & TOGGLE */
.menu-btn {
  display: none;
  background: var(--surface-alt);
  border: none;
  color: var(--text);
  padding: 0.5rem 0.85rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .media-chamfer img {
    height: 320px;
  }
  .calc-grid {
    grid-template-columns: 1fr;
  }
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .ledger-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .menu-btn {
    display: inline-block;
  }
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--surface);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 1.25rem;
    border-bottom: 2px solid var(--gold);
    display: none;
  }
  .nav-links.open {
    display: flex;
  }
}
