/*
 * Foundation — design tokens, reset, base element styles.
 * Breakpoints follow Tailwind's scale, mobile-first (min-width). var() is illegal
 * inside @media, so the values are literal: sm 640 · md 768 · lg 1024 · xl 1280.
 */

:root {
  /* Surfaces — warm near-black from the artwork's radio unit, not a flat #000 */
  --bg: #0e0c0a;
  --surface-button: #4a3b2e;
  --surface-button-hover: #57493b;

  /* Text */
  --cream: #faf4ec;
  --cream-muted: rgba(250, 244, 236, 0.72);
  --ink: #1b1710;

  /* Accents — the artwork's coral ground and teal rings */
  --orange: #e8703c;
  --orange-hover: #ee7f4f;
  --teal: #3fa593;

  --radius-pill: 999px;
  --radius-card: 18px;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --container-narrow: 640px;
}

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

body {
  min-height: 100dvh;
  font-family: var(--font-body);
  color: var(--cream);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

ul {
  list-style: none;
}

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

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