/* Shared base for every klntech.net page. Pages keep their layout inline in the templates;
   what must be identical everywhere lives here, so it is written once:
   - the brand tokens other files may read,
   - the focus ring (on-palette caramel, never the browser's blue),
   - the reduced-motion contract,
   - text selection in brand colours. */
:root {
  --kln-container: 1200px;
  --kln-nav-h: 68px;
  --kln-bg-page: #14110E;
  --kln-bg-card: #1E1A16;
  --kln-ink: #F4ECDD;
  --kln-ink-2: #C7BBA6;
  --kln-ink-3: #978A76;
  --kln-accent: #D89548;
  --kln-accent-soft: #ECB87D;
  --kln-hairline: rgba(244, 236, 221, .12);
  --kln-radius-sm: 12px;
  --kln-radius: 16px;
  --kln-radius-lg: 20px;
}

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

::selection {
  background: rgba(216, 149, 72, .35);
  color: inherit;
}

/* Scroll-driven reveals ignore animation-duration, so the only reliable switch is
   animation:none. Decorative JS animation checks KLN.reducedMotion() (site.js). */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
