/* Design tokens for the SIDE OUT site. Owned by stream A. Everyone else reads only.
   Load the display font with this exact tag in each page head:
   <link rel="preconnect" href="https://fonts.googleapis.com">
   <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
   <link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400..900&display=swap" rel="stylesheet">
*/
:root {
  /* court palette */
  --court: #2f6fe6;        /* playing surface blue */
  --court-hi: #3b7cf0;     /* lit edge of the court */
  --court-deep: #2256c6;   /* far court shade */
  --kitchen: #2fb577;      /* non-volley zone green */
  --kitchen-hi: #38c283;
  --surround: #0b2823;     /* out of bounds, deep green */
  --line: #f6f4ec;         /* court lines, paper white */
  --ball: #f5e34a;         /* the only accent */
  --ball-shadow: #a8980f;
  --net: #d9d6cc;
  --ink: #0f1b2d;          /* text on light */
  --ink-soft: #3a4860;
  --paper: #f6f4ec;        /* light background */
  --paper-2: #ebe8dd;
  --danger: #e0503d;

  /* type */
  --font-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --step--1: clamp(0.83rem, 0.8rem + 0.2vw, 0.95rem);
  --step-0: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
  --step-1: clamp(1.25rem, 1.1rem + 0.8vw, 1.6rem);
  --step-2: clamp(1.7rem, 1.3rem + 2vw, 2.6rem);
  --step-3: clamp(2.6rem, 1.6rem + 5vw, 5rem);
  --step-4: clamp(4rem, 2rem + 10vw, 9rem);

  /* spacing and shape */
  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem;
  --space-5: 1.5rem; --space-6: 2rem; --space-7: 3rem; --space-8: 4rem; --space-9: 6rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --measure: 36rem;
  --radius: 12px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --line-w: 2px;            /* court line thickness */
  --line-a: rgba(246, 244, 236, 0.82); /* court line colour, slightly soft */
  --glass: rgba(246, 244, 236, 0.08);
  --glass-edge: rgba(246, 244, 236, 0.18);
  --shadow: 0 24px 60px rgba(5, 12, 24, 0.35);

  /* motion */
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --dur-fast: 150ms;
  --dur: 320ms;

  color-scheme: light;
}

@media (prefers-reduced-motion: reduce) {
  :root { --dur-fast: 0ms; --dur: 0ms; }
}

/* base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.5;
}
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 0.98;
  margin: 0;
  text-wrap: balance;
}
a { color: inherit; }
button, input, select { font: inherit; }
:focus-visible { outline: 3px solid var(--ball); outline-offset: 3px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
