/* ============================================================
   BMS GLOBAL — Base Styles: Reset, Typography, Global
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-md);
  color: var(--ink);
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 8% 0%, rgba(29, 99, 233, 0.055), transparent 30%),
    radial-gradient(circle at 95% 18%, rgba(217, 166, 41, 0.06), transparent 26%),
    linear-gradient(180deg, #f8fbff 0%, #f3f6fb 40%, #eef2f8 100%);
  background-attachment: fixed;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Scrollbar ────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--line); border-radius: var(--r-full); }
::-webkit-scrollbar-thumb:hover { background: var(--muted-light); }

/* ── Base Elements ────────────────────────────────────────── */
a {
  color: var(--blue);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}
a:hover { color: var(--navy-3); }

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

ul, ol { list-style: none; }

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button { cursor: pointer; border: none; background: none; }

input, textarea, select {
  outline: none;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

input:focus, textarea:focus, select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(29, 99, 233, 0.12);
}

label {
  display: block;
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--space-2);
}

/* ── Typography Scale ─────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: var(--weight-bold);
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--ink);
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-xl); }
h4 { font-size: var(--text-lg); }
h5 { font-size: var(--text-md); }
h6 { font-size: var(--text-base); }

p {
  color: var(--muted);
  line-height: 1.7;
}

/* ── Utility Classes ──────────────────────────────────────── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.section-kicker {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: var(--weight-black);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: var(--space-2);
}

.section-kicker.gold { color: var(--gold-bright); }
.section-kicker.white { color: rgba(255,255,255,0.65); }

.text-muted   { color: var(--muted); }
.text-blue    { color: var(--blue); }
.text-gold    { color: var(--gold-bright); }
.text-white   { color: #fff; }
.text-center  { text-align: center; }

.page-wrap {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: var(--space-10) var(--space-8) var(--space-20);
}

/* ── Lucide Icon defaults ─────────────────────────────────── */
[data-lucide], svg.lucide {
  width: 1.15em;
  height: 1.15em;
  stroke-width: 1.85;
  vertical-align: middle;
  display: inline-block;
  flex-shrink: 0;
}
