/* Additions layered on top of the compiled Tailwind build in styles.css.
   Kept separate so styles.css stays a verbatim copy of the original bundle. */

/* Mobile navigation — the original build shipped no menu below the md
   breakpoint, so these classes were never compiled into styles.css. */
.nav-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  color: oklch(0.32 0.09 278);
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.nav-toggle-btn:hover {
  background: oklch(0.45 0.15 278 / 0.08);
}

.nav-toggle-btn:focus-visible {
  outline: 2px solid oklch(0.45 0.15 278);
  outline-offset: 2px;
}

@media (min-width: 768px) {
  .nav-toggle-btn,
  #mobile-nav {
    display: none;
  }
}

.mobile-nav-link {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  color: inherit;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.mobile-nav-link:hover {
  background: oklch(0.45 0.15 278 / 0.08);
  color: oklch(0.45 0.15 278);
}

/* Footer contact details: the email is one long unbreakable token that would
   otherwise push the page wider than the viewport on narrow screens. */
.contact-link {
  overflow-wrap: anywhere;
  min-width: 0;
}

/* Give keyboard users a visible focus ring throughout — the original
   Tailwind reset removed the default outline without replacing it. */
a:focus-visible,
button:focus-visible {
  outline: 2px solid oklch(0.45 0.15 278);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Anchor targets clear the fixed header on browsers that honour it, and for
   no-JS navigation. */
html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 6rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Without JS every FAQ panel stays open and readable rather than collapsed
   and unreachable; site.js collapses them once it runs. */
.no-js .faq-panel {
  grid-template-rows: 1fr;
  opacity: 1;
}
