/* ---------------------------------------------------------------
   Base — fonts, global typography, theme transition, utilities
--------------------------------------------------------------- */

@font-face {
  font-family: 'Inter';
  src: url('../assets/fonts/Inter-variable.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Fraunces';
  src: url('../assets/fonts/Fraunces-variable.woff2') format('woff2-variations');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

html {
  background: #05070c;
}

body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  color: var(--text);
  transition: color 0.6s var(--ease-soft);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
}

.lead {
  font-size: var(--fs-lead);
  color: var(--text-dim);
  font-weight: 400;
  line-height: 1.5;
}

.text-dim { color: var(--text-dim); }
.text-faint { color: var(--text-faint); }

.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;
}

/* generic reveal primitive — animated by js/animations.js (GSAP) on
   each frame arrival; the static opacity:0 here just prevents a
   flash-of-visible before that first runs. */
[data-reveal] {
  opacity: 0;
}
