html { scroll-behavior: smooth; }

body {
  font-family: var(--font-display);
  font-size: var(--fs-body);
  background: var(--bg);
  color: var(--text);
  overflow-x: clip;
  font-weight: 400;
  letter-spacing: -0.005em;
  position: relative;
}

/* Grain noise overlay for the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  z-index: 1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}

/* Atmospheric gradient mesh behind everything */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 15% -10%, rgba(229, 57, 53, 0.22), transparent 45%),
    radial-gradient(circle at 90% 20%, rgba(255, 140, 0, 0.10), transparent 50%),
    radial-gradient(circle at 50% 110%, rgba(229, 57, 53, 0.15), transparent 55%);
}

main, header, footer { position: relative; z-index: 2; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--text);
  text-wrap: balance;
}

h1 { font-size: var(--fs-hero); }
h2 { font-size: var(--fs-display); letter-spacing: -0.03em; }
h3 { font-size: var(--fs-h3); font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; }
h4 { font-size: var(--fs-h4); font-weight: 600; }

p { color: var(--text-secondary); text-wrap: pretty; }

a {
  color: var(--text);
  transition: color 0.18s var(--ease-out);
}

a:hover { color: var(--primary-red-bright); }

.eyebrow {
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--primary-red);
  margin-bottom: var(--space-5);
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--primary-red);
}

.lead {
  font-size: var(--fs-lead);
  color: var(--text-secondary);
  line-height: 1.5;
  max-width: 48ch;
  font-weight: 400;
}

.microcopy {
  font-size: var(--fs-small);
  color: var(--text-tertiary);
  font-weight: 500;
}

.accent { color: var(--primary-red); }
.accent-gold { color: var(--primary-gold); }

.section-head {
  text-align: center;
  margin-inline: auto;
  max-width: 60rem;
  margin-bottom: var(--space-16);
}

.section-head .eyebrow {
  justify-content: center;
}

.section-sub {
  margin-top: var(--space-5);
  font-size: var(--fs-lead);
  color: var(--text-secondary);
  max-width: 50ch;
  margin-inline: auto;
  line-height: 1.55;
}

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

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