/* ==========================================================================
   Clean & Overdrive — Base Stylesheet
   Design tokens from the active Novamira design (clean-overdrive-dark-rock-poster).
   ========================================================================== */

@font-face {
  font-family: 'Public Sans';
  src: url('fonts/PublicSans-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Public Sans';
  src: url('fonts/PublicSans-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Public Sans';
  src: url('fonts/PublicSans-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Anton';
  src: url('fonts/Anton-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --co-bg: #121212;
  --co-surface: #1B1B1B;
  --co-ink: #F5F3EC;
  --co-ink-soft: #B9B6AE;
  --co-line: #2E2E2E;
  --co-accent: #F2C230;
  --co-accent-ink: #171410;

  --co-font: 'Public Sans', sans-serif;
  --co-font-display: 'Anton', sans-serif;

  --co-space-xs: 8px;
  --co-space-sm: 16px;
  --co-space-md: 24px;
  --co-space-lg: 56px;
  --co-space-xl: 96px;

  --co-radius-sm: 2px;
  --co-radius-md: 8px;

  --co-container: 1160px;
}

:where(html) {
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
}
*, *::before, *::after { box-sizing: inherit; }

:where(body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol) {
  margin: 0;
  padding: 0;
}
:where(ul, ol) { list-style: none; }
:where(img, picture, video, canvas, svg) { display: block; max-width: 100%; }
:where(a) { color: inherit; text-decoration: none; }
:where(button) { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

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

body {
  font-family: var(--co-font);
  font-weight: 400;
  color: var(--co-ink);
  background: var(--co-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--co-font-display);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0.005em;
  text-transform: uppercase;
}

p { max-width: 65ch; }

.co-container {
  width: 100%;
  max-width: var(--co-container);
  margin-inline: auto;
  padding-inline: var(--co-space-md);
}

.co-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--co-radius-sm);
  border: 1.5px solid transparent;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.co-btn--primary {
  background: var(--co-accent);
  color: var(--co-accent-ink);
}
.co-btn--primary:hover, .co-btn--primary:focus-visible {
  background: #FFD75E;
}
.co-btn--outline {
  border-color: var(--co-ink);
  color: var(--co-ink);
}
.co-btn--outline:hover, .co-btn--outline:focus-visible {
  background: var(--co-ink);
  color: var(--co-bg);
}

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--co-accent);
  outline-offset: 2px;
}

.screen-reader-text {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.co-skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--co-accent);
  color: var(--co-accent-ink);
  padding: 10px 16px;
  z-index: 1000;
  border-radius: var(--co-radius-sm);
  transition: top 0.15s ease;
}
.co-skip-link:focus { top: 16px; }

/* Minimal fallback-page styling (index.php) */
.co-fallback { padding: var(--co-space-xl) 0; }
.co-fallback__content { margin-top: var(--co-space-md); }
