/* Serbest Nikelaj — design tokens extracted from serbest-nikelaj-design/Serbest Nikelaj.dc.html */
:root {
  /* surfaces */
  --bg: #F3F1EC;
  --bg-2: #E8E4DC;
  --surface: #FFFFFF;
  --surface-input: #FAF9F6;
  --ink: #141414;
  --ink-2: #1A1A1A;
  --ink-3: #111111;
  --on-dark: #F3F1EC;

  /* accents */
  --accent: #B0643A;
  --sand: #D9C3A5;
  --bronze: #C9A27E;
  --label: #6F5238; /* design: #8A6A4F — darkened for WCAG AA (4.5:1) on cream */
  --muted: #4A4743;
  --muted-2: #6A665F;
  --muted-3: #8C8780;
  --divider: #D6D1C8;
  --divider-2: #E2DDD3;
  --placeholder: #CFC9BE;
  --live: #3FA66B;
  --wa: #25D366;
  --wa-ink: #0B2E17;
  --danger: #9A4F28; /* error text/border: 5.96:1 on white, 5.28:1 on cream (copper family) */

  /* focus ring: ink on light surfaces (16:1 on cream); dark containers switch it to sand */
  --focus: var(--ink);

  /* typography */
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'Geist', system-ui, -apple-system, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* radii */
  --r-pill: 999px;
  --r-xl: 22px;
  --r-lg: 18px;
  --r-md: 16px;
  --r-sm: 12px;

  /* spacing */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 14px;
  --s-5: 16px;
  --s-6: 22px;
  --s-7: 24px;
  --s-8: 28px;
  --s-9: 36px;
  --s-10: 48px;
  --s-11: 56px;
  --s-12: 72px;
  --s-section: 120px;

  /* layout */
  --max-w: 1240px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
img { max-width: 100%; }
input, select, textarea, button { font-family: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
/* dark surfaces: the ring sits on ink, so it turns light (sand on ink ≈ 11:1) */
.section--dark, .hero, .site-header, .menu, .contact__card, .mbar, .lightbox, .svc-card, .strip { --focus: var(--sand); }

/* "skip to content": off-screen until focused */
.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 200; padding: 12px 18px; border-radius: var(--r-pill);
  background: var(--on-dark); color: var(--ink); font-size: 15px; font-weight: 500;
  transform: translateY(-160%); opacity: 0; pointer-events: none; transition: transform .2s ease, opacity .2s ease;
}
.skip-link:focus, .skip-link:focus-visible { transform: none; opacity: 1; pointer-events: auto; outline: 2px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 4px var(--on-dark); }
@media (prefers-reduced-motion: reduce) { .skip-link { transition: none; } }
