/* ==========================================================================
   METANG55 (มี ตัง55) — OBSIDIAN BULLION VAULT DESIGN SYSTEM
   Exact Palette: Obsidian #0A0A0B | Charcoal Graphite #1E2026 / #2B2E36 | 24K Gold #E5B84B
   ========================================================================== */

:root {
  --bg-obsidian: #0A0A0B;
  --bg-deep-band: #121418;
  --surface-charcoal: #1E2026;
  --surface-graphite: #2B2E36;
  --inset-well: #14161B;

  --gold-bullion: #E5B84B;
  --gold-champagne: #F8DF8B;
  --gold-antique: #B48324;
  --myth-rose: #F87171;
  --fact-gold: #F8DF8B;

  --text-ivory: #F6F5F0;
  --text-silver: #C6C8CE;
  --text-muted: #90949E;
  --ink-on-gold: #0A0A0B;

  --border-gold-subtle: rgba(229, 184, 75, 0.22);
  --border-gold-medium: rgba(229, 184, 75, 0.44);
  --border-gold-strong: rgba(229, 184, 75, 0.76);
  --border-steel: rgba(255, 255, 255, 0.08);

  --grad-gold-btn: linear-gradient(135deg, #F8DF8B 0%, #E5B84B 52%, #C9972E 100%);
  --grad-graphite-card: linear-gradient(168deg, #24272F 0%, #191B20 100%);

  --shadow-vault: 0 16px 38px rgba(0, 0, 0, 0.56);
  --shadow-gold-crisp: 0 8px 24px rgba(229, 184, 75, 0.22);

  --font-heading: 'Kanit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Prompt', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --max-w: 1260px;
  --gutter: 32px;
  --radius-btn: 10px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --radius-pill: 999px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-obsidian);
  color: var(--text-ivory);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-obsidian);
  background-image:
    radial-gradient(940px 440px at 76% -4%, rgba(229, 184, 75, 0.11), transparent 66%),
    radial-gradient(rgba(229, 184, 75, 0.05) 1px, transparent 1px);
  background-size: 100% 100%, 28px 28px;
  color: var(--text-ivory);
  line-height: 1.78;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold-bullion);
  text-decoration: none;
  transition: color 0.18s ease, opacity 0.18s ease;
}

a:hover {
  color: var(--gold-champagne);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--gold-champagne);
  outline-offset: 3px;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.26;
  color: var(--text-ivory);
}

h1 {
  font-size: clamp(1.88rem, 3.6vw, 2.95rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.42rem, 2.4vw, 2.05rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.1rem, 1.6vw, 1.32rem);
  font-weight: 600;
}

p {
  color: var(--text-silver);
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: clamp(46px, 5.8vw, 76px) 0;
  position: relative;
}

.section-deep {
  background-color: var(--bg-deep-band);
  border-top: 1px solid var(--border-gold-subtle);
  border-bottom: 1px solid var(--border-gold-subtle);
}

.gold-accent {
  color: var(--gold-bullion);
  font-weight: 700;
}

.mono-num {
  font-family: var(--font-mono);
  color: var(--gold-champagne);
  font-weight: 700;
}

.sec-header {
  margin-bottom: clamp(24px, 3.5vw, 38px);
}

.sec-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  background: rgba(229, 184, 75, 0.14);
  border: 1px solid var(--border-gold-medium);
  color: var(--gold-champagne);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.sec-title-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.sec-title-bar::before {
  content: '';
  width: 4px;
  height: 28px;
  border-radius: 2px;
  background: var(--gold-bullion);
  flex-shrink: 0;
}

.sec-desc {
  max-width: 780px;
  color: var(--text-silver);
}

.vault-divider {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

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