/* ==========================================================================
   ANKATA MUSIC v2 — Approved Mockup 5.0 Design Tokens
   Editorial Independent Music Company & Record Label (Vilnius)
   Palette: Deep Charcoal Black / Warm Cream / Signal Orange
   WCAG 2.2 AA/AAA Verified Contrast Ratios
   ========================================================================== */

:root {
  /* Approved Core Surfaces */
  --bg: #111110;
  --bg-elev: #1a1a18;
  --bg-deep: #090908;
  --cream: #eee9e1;
  --cream-elev: #f7f4ef;
  --cream-hover: #e1dad0;

  /* Ink & Muted Tones */
  --fg: #f1eee8;          /* 16.3:1 vs --bg */
  --muted: #b8b4ae;       /*  9.2:1 vs --bg */
  --ink: #151514;         /* 15.2:1 vs --cream */
  --ink-muted: #524f4b;   /*  6.8:1 vs --cream */

  /* Restrained Approved Accent (Mockup 5.0 Signal Orange) */
  --orange: #fa5000;          /* 5.2:1 vs --bg */
  --orange-bright: #ff7a3d;   /* 7.1:1 vs --bg */
  --orange-light: #b83700;    /* 5.6:1 vs --cream */

  /* Status Semantics (Existing vs Planned / Open vs Example) */
  --ok-dark: #9be082;
  --ok-light: #1e5922;
  --warn-dark: #ffaa6b;
  --warn-light: #8f3a00;

  /* Borders */
  --line-dark: #383835;
  --line-dark-strong: #55544f;
  --line-light: #c4bdb2;
  --line-light-strong: #9c9488;

  /* Typography (Bold Editorial Grotesque + Technical Mono, full Baltic latin-ext) */
  --font-sans: 'Space Grotesk', Arial, Helvetica, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, monospace;

  /* Layout Rhythm */
  --max-nav: 1440px;
  --max-wrap: 1240px;
  --gutter: clamp(18px, 3vw, 32px);
  --header-h: 68px;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg);
  color: var(--fg);
  overflow-x: clip;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.56;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

html.drawer-open {
  overflow: hidden;
}

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

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

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

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

h1, h2, h3, h4, p, ul, ol, figure, dl {
  margin: 0;
}

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

.light :focus-visible {
  outline-color: var(--orange-light);
}

.skip-link {
  position: fixed;
  top: -100%;
  left: var(--gutter);
  z-index: 300;
  padding: 12px 18px;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.skip-link:focus {
  top: 12px;
}

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