/* ============================================================
   BASE.CSS — Variables, Reset, Typography
   Exium Classes · exium.in
   ============================================================ */

/* ── CSS Custom Properties ── */
:root {
  /* Brand palette */
  --navy:        #1a2d5a;
  --navy-dark:   #0e1c3a;
  --navy-mid:    #22396e;
  --navy-light:  #2e4d8f;
  --red:         #cc1f1f;
  --red-bright:  #e53030;
  --white:       #ffffff;
  --off-white:   #f2f5fc;
  --silver:      #c8d2e8;
  --muted:       #7a8db0;
  --blue-acc:    #4a6fc7;
  --blue-light:  #7a9ee0;
  --line:        rgba(200, 210, 232, 0.15);
  --text:        rgba(200, 210, 232, 0.82);

  /* Typography */
  --font-serif:  'Playfair Display', serif;
  --font-sans:   'DM Sans', sans-serif;
  --font-mono:   'Space Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
}

/* ── Base Body ── */
body {
  font-family: var(--font-sans);
  background: var(--navy-dark);
  color: var(--white);
  overflow-x: hidden;
  min-height: 100vh;
}

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

/* ── Typography ── */
.label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #f07070;
  margin-bottom: 0.9rem;
  display: block;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.body-text {
  font-size: 0.98rem;
  font-weight: 300;
  color: rgba(200, 210, 232, 0.65);
  line-height: 1.85;
  max-width: 50ch;
  margin-top: 1.2rem;
}

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

@keyframes blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.65); }
}
