/* ============================================
   RENEGADE SOUNDWAVE REWIRED
   Design tokens
   ============================================ */

:root {
  /* Colour */
  --void:        #0a0a0a;   /* primary background */
  --void-2:      #131313;   /* raised panel background */
  --paper:       #f2f0ea;   /* primary text / light surfaces */
  --paper-dim:   #b8b5ad;   /* secondary text on dark */
  --signal-red:  #e4002b;   /* primary accent — alert / CTA */
  --hazard:      #ffd400;   /* secondary accent — teaser / warning */
  --steel:       #3a3a3a;   /* borders, dividers on dark */
  --steel-light: #6b6b6b;

  /* Type */
  --font-display: "ethnocentric", "Arial Narrow", sans-serif;
  --font-body: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", "Courier New", monospace;

  /* Scale */
  --step--1: clamp(0.78rem, 0.75rem + 0.15vw, 0.86rem);
  --step-0:  clamp(0.95rem, 0.9rem + 0.2vw, 1.05rem);
  --step-1:  clamp(1.15rem, 1.05rem + 0.4vw, 1.4rem);
  --step-2:  clamp(1.5rem, 1.3rem + 0.8vw, 2rem);
  --step-3:  clamp(2rem, 1.6rem + 1.6vw, 3rem);
  --step-4:  clamp(2.6rem, 1.9rem + 2.8vw, 4.5rem);
  --step-5:  clamp(3.2rem, 2rem + 5vw, 7rem);

  /* Layout */
  --page-max: 1280px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 2px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--void);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  max-width: var(--page-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 400;
  letter-spacing: 0.01em;
}

p { margin: 0; }

::selection {
  background: var(--signal-red);
  color: var(--paper);
}

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

/* Utility */
.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--signal-red);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}

.eyebrow::before {
  content: "";
  width: 1.6em;
  height: 1px;
  background: var(--signal-red);
}

.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 {
  position: relative;
  padding-block: clamp(4rem, 8vw, 8rem);
}

.section-head {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  max-width: 62ch;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: var(--step-3);
  text-transform: uppercase;
  line-height: 1.05;
  margin-top: 0.5em;
}

/* Hazard stripe divider — industrial signature motif */
.hazard-strip {
  height: 10px;
  width: 100%;
  background: repeating-linear-gradient(
    -45deg,
    var(--hazard),
    var(--hazard) 14px,
    var(--void) 14px,
    var(--void) 28px
  );
}
