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

/* scroll-behavior: smooth is intentionally NOT set here - it conflicts with
   GSAP ScrollTrigger's pinned sections (causes glitchy overlap at pin release). */

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.02;
  margin: 0 0 var(--space-sm);
  color: var(--color-text-inverse);
}

h1 { font-size: var(--text-display); }
h2 { font-size: var(--text-display-sm); }
h3 { font-size: var(--text-xl); font-family: var(--font-ui); text-transform: none; letter-spacing: 0; }
h4 { font-size: var(--text-lg); font-family: var(--font-ui); text-transform: none; letter-spacing: 0; }

p { margin: 0 0 var(--space-sm); color: var(--color-text-muted); }

a {
  color: var(--color-accent-red);
  text-decoration: none;
}
a:hover { color: var(--color-accent-yellow); }

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

button { font-family: var(--font-ui); }

:focus-visible {
  outline: 3px solid var(--color-accent-yellow);
  outline-offset: 2px;
}

::selection {
  background: var(--color-accent-red);
  color: var(--color-text-inverse);
}
