/* Page-level behaviour for the Kōyō one-page site. Selector styles live in per-class records. */
:root { --koyo-header-h: 72px; }
@media (width < 768px) { :root { --koyo-header-h: 64px; } }
html { scroll-behavior: smooth; scroll-padding-block: var(--koyo-header-h) var(--koyo-dock-h, 0px); }
[id] { scroll-margin-top: calc(var(--koyo-header-h) + 8px); }
body { padding-block-end: var(--koyo-dock-h, 0px); }
/* Brand press state for the two shared ACSS buttons */
.btn--primary:active, .btn--outline:active { transform: translateY(1px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
  .btn--primary:active, .btn--outline:active { transform: none; }
}