html { scroll-behavior: smooth; }

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "lnum", "tnum";
  overflow-x: clip;
}

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid #FFE338;
  outline-offset: 3px;
}

img { max-width: 100%; height: auto; }

.font-display, .font-body {
  font-variant-numeric: lining-nums proportional-nums;
}

.font-display { font-optical-sizing: auto; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  #site-nav, .marquee-row { transition: none !important; animation: none !important; }
}

/* ---- Marquee ticker ---- */
.marquee-row {
  display: inline-flex;
  align-items: center;
  animation: marquee 38s linear infinite;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---- FAQ ---- */
details > summary::-webkit-details-marker { display: none; }
details[open] .faq-toggle { transform: rotate(45deg); }

/* ---- Nav ----
   Single ink theme — works against the dark image hero on load (no flash)
   and reads cleanly over the lighter sections further down the page.        */
#site-nav {
  background-color: #0A0B10;
  box-shadow: 0 1px 0 rgba(244, 242, 235, 0.10);
}
#site-nav .nav-link { color: rgba(244, 242, 235, 0.85); }
#site-nav .nav-link:hover { color: #FFE338; }
