/* ==========================================================================
   BASE — resets, design tokens, typography
   ========================================================================== */

:root {
  /* Color tokens */
  --c-white: #FFFFFF;
  --c-offwhite: #F2F2F2;
  --c-neon: #C3FF00;
  --c-black: #0C0C0C;
  --c-grey-dim: #292929;

  /* Spacing / radius scale */
  --radius-panel: 20px;
  --radius-card: 14px;
  --radius-card-inner: 10px;
  --radius-image: 6px;
  --radius-pill: 30px;
  --radius-circle: 2000px;

  /* Layout */
  --max-width: 1400px;
  --gutter: clamp(20px, 4vw, 48px);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

@media (prefers-reduced-motion: reduce) {
  :root { --ease: linear; --ease-soft: linear; }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body {
  background: var(--c-offwhite);
  color: var(--c-black);
  font-family: 'Inter', -apple-system, sans-serif;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

ul, ol {
  list-style: none;
}

/* Utility: monospace meta text (eyebrows, timestamps) */
.mono {
  font-family: 'Chivo Mono', monospace;
  font-weight: 400;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

/* Visible keyboard focus ring across the site */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--c-neon);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Shared section container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
}

.section-panel {
  position: relative;
  border-radius: var(--radius-panel);
  overflow: hidden;
}

.bg-dark {
  background: var(--c-black);
  color: var(--c-white);
}

.bg-light {
  background: var(--c-offwhite);
  color: var(--c-black);
}

/* Screen-reader only text */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
