/* =============================================
   BOLD GK — Base Stylesheet
   Brand: Black (#0a0a0a), Gold (#C9A84C), White
   Typography: Clash Display (headings) + Satoshi (body)
   Dark-first design, aggressive keeper energy
   ============================================= */

:root {
  /* Brand palette — BOLD GK */
  --color-bg: #0a0a0a;
  --color-surface: #111111;
  --color-surface-2: #181818;
  --color-surface-offset: #1c1c1c;
  --color-surface-offset-2: #222222;
  --color-surface-dynamic: #2a2a2a;
  --color-divider: #2e2e2e;
  --color-border: #333333;

  --color-text: #f0ede8;
  --color-text-muted: #8a8885;
  --color-text-faint: #555350;
  --color-text-inverse: #0a0a0a;

  /* Gold accent — BOLD GK signature */
  --color-primary: #C9A84C;
  --color-primary-hover: #e0bf63;
  --color-primary-active: #a88930;
  --color-primary-highlight: #2a2418;

  --color-error: #e05252;
  --color-success: #4caf6e;

  /* Type scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);
  --text-hero: clamp(3rem, 0.5rem + 7vw, 8rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.625rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 400ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.4);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.5);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.6);
  --shadow-gold: 0 0 24px rgba(201,168,76,0.2);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;

  /* Fonts */
  --font-display: 'Clash Display', 'Cabinet Grotesk', sans-serif;
  --font-body: 'Satoshi', 'Inter', sans-serif;
}

/* Light mode override (toggle) */
[data-theme="light"] {
  --color-bg: #f5f3ef;
  --color-surface: #ffffff;
  --color-surface-2: #f9f8f6;
  --color-surface-offset: #eeebe6;
  --color-surface-offset-2: #e8e5e0;
  --color-surface-dynamic: #dddad5;
  --color-divider: #d4d1cc;
  --color-border: #c8c5be;
  --color-text: #1a1a1a;
  --color-text-muted: #5a5754;
  --color-text-faint: #9a9895;
  --color-text-inverse: #f0ede8;
  --color-primary: #a8862a;
  --color-primary-hover: #8a6e1e;
  --color-primary-active: #6e5514;
  --color-primary-highlight: #f0e8d0;
  --shadow-gold: 0 0 24px rgba(168,134,42,0.15);
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: var(--space-16);
}

body {
  min-height: 100dvh;
  line-height: 1.6;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  transition: background-color var(--transition-slow), color var(--transition-slow);
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

ul[role="list"], ol[role="list"] { list-style: none; }

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

h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
  line-height: 1.1;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

p, li, figcaption {
  text-wrap: pretty;
  max-width: 72ch;
}

::selection {
  background: rgba(201, 168, 76, 0.25);
  color: var(--color-text);
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

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

button { cursor: pointer; background: none; border: none; }

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-interactive);
}

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