/* tokens — variables, reset, fonts, base typography */

@font-face {
  font-family: "Anton";
  src: url("../fonts/anton-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk.woff2") format("woff2-variations");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --acid: #99CC33;
  --acid-deep: #7AA626;
  --volt: #E5FF3D;
  --concrete: #CCCCCC;
  --concrete-dim: #9E9E9E;
  --ink: #0E0E0E;
  --smoke: #1A1A1A;
  --chalk: #F4F4F2;
  --paper: #FFFFFF;
  --hazard-on: var(--acid);
  --hazard-off: var(--ink);

  --font-display: "Anton", "Bebas Neue", Impact, "Arial Narrow Bold", sans-serif;
  --font-body: "Space Grotesk", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --sp-1: 8px;
  --sp-2: 16px;
  --sp-3: 24px;
  --sp-4: 32px;
  --sp-5: 48px;
  --sp-6: 64px;
  --sp-7: 96px;
  --sp-8: 128px;

  --maxw: 1240px;
  --radius-s: 4px;
  --radius-m: 10px;
  --radius-l: 18px;
  --shadow-1: 0 2px 6px rgba(14,14,14,.08);
  --shadow-2: 0 18px 40px -18px rgba(14,14,14,.45);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--chalk);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

button,
input,
textarea,
select { font: inherit; color: inherit; }

button { cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: .005em;
  margin: 0;
  text-transform: uppercase;
}

h1 { font-size: clamp(40px, 7.2vw, 78px); }
h2 { font-size: clamp(30px, 4.2vw, 48px); }
h3 { font-size: clamp(22px, 2.6vw, 30px); }
h4 { font-size: clamp(18px, 1.8vw, 22px); letter-spacing: .04em; }

p { margin: 0 0 var(--sp-2); }
p:last-child { margin-bottom: 0; }

ul, ol { padding-left: 1.2em; margin: 0 0 var(--sp-2); }
li { margin-bottom: 6px; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--sp-3);
}
@media (min-width: 768px) {
  .wrap { padding: 0 var(--sp-5); }
}

/* skip link */
.skip-content {
  position: absolute;
  left: var(--sp-2);
  top: -120px;
  background: var(--volt);
  color: var(--ink);
  padding: 10px 18px;
  text-decoration: none;
  font-weight: 700;
  font-family: var(--font-display);
  text-transform: uppercase;
  border: 2px solid var(--ink);
  transition: top .18s ease;
  z-index: 999;
}
.skip-content:focus { top: var(--sp-2); }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
  border: 0; padding: 0; margin: -1px;
}

::selection { background: var(--volt); color: var(--ink); }

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

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