/* ============================================================
   site.css — the site chrome that every layout shares
   (skip link, header shadow, mobile menu) plus the public pages' visual building blocks.
   Built from the same tokens as styles.css / app-ui.css.
   ============================================================ */

/* ---------- accessibility ---------- */
.skip-link {
  position: absolute; inset-inline-start: .75rem; top: -4.5rem; z-index: 100; padding: .65rem 1.1rem; border-radius: .9rem;
  background: var(--color-primary); color: #fff; font-weight: 800; transition: top .15s ease;
}
.skip-link:focus { top: .75rem; outline: 3px solid color-mix(in srgb, var(--color-primary) 40%, #fff); }
main:focus { outline: none; }

/* ---------- header ---------- */
.site-header > nav { transition: box-shadow .2s ease, background-color .2s ease; }
.site-header.is-scrolled > nav { box-shadow: 0 14px 34px -22px rgba(15, 23, 42, .55); }
[data-mobile-menu]:not([hidden]) { animation: menuDrop .2s ease both; }
@keyframes menuDrop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.nav-link { white-space: nowrap; }
.is-standalone [data-install-app] { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  [data-mobile-menu]:not([hidden]) { animation: none; }
  .site-header > nav { transition: none; }
}
