/* ---- Custom behavior styles (replace what the removed Next.js/React runtime used to do) ---- */

html { scroll-behavior: smooth; }

/* Solid nav background once the page is scrolled */
nav.is-scrolled {
  background-color: rgba(5, 5, 5, 0.94) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

/* Mobile menu open state */
.mobile-overlay.is-open {
  opacity: 1 !important;
  pointer-events: auto !important;
}
.mobile-panel.is-open {
  transform: translateX(0) !important;
}

/* Mobile accordion open state */
.mm-accordion-panel.is-open {
  grid-template-rows: 1fr !important;
  opacity: 1 !important;
}
.mm-accordion-btn.is-open svg {
  transform: rotate(180deg);
}

/* Prevent body scroll when mobile menu is open */
body.menu-open { overflow: hidden; }

/* Visible keyboard focus */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid #ef4444;
  outline-offset: 2px;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* Simple placeholder for the missing team photo asset */
.img-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1f2937, #374151);
  color: #9ca3af;
  font-size: 0.75rem;
  text-align: center;
  padding: 1rem;
}

/* Simple form status message */
.form-status {
  font-size: 0.875rem;
  font-weight: 600;
  margin-top: 0.75rem;
}
.form-status.success { color: #16a34a; }
.form-status.error { color: #dc2626; }
