/* Small amount of hand-written CSS for things Tailwind utilities cover awkwardly. */

html {
  background: #05070c;
}

::selection {
  background: rgba(255, 106, 43, 0.35);
  color: #fff;
}

/* ---------- Header: transparent over the hero, solid once the page scrolls ---------- */
.site-header {
  transition: background-color 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled,
.site-header.is-open {
  background-color: rgba(8, 11, 18, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

/* ---------- Type ---------- */
.text-shadow-hero {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55), 0 1px 2px rgba(0, 0, 0, 0.6);
}

/* Small uppercase label with a short orange lead-in rule. */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: Montserrat, system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ff8a52;
}

.kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

/* ---------- Surfaces ---------- */
.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glow-orange {
  box-shadow: 0 10px 30px -8px rgba(255, 106, 43, 0.55);
}

/* Faint grid texture behind some sections. */
.bg-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
}

/* ---------- Scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Horizontal scroller ---------- */
.scroller {
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.scroller::-webkit-scrollbar {
  display: none;
}

.scroller > * {
  scroll-snap-align: start;
}

/* ---------- FAQ ---------- */
details > summary {
  list-style: none;
}

details > summary::-webkit-details-marker {
  display: none;
}

details[open] .faq-icon {
  transform: rotate(45deg);
}

/* ---------- Dialogs (lightbox, quick view, notify) ---------- */
dialog.modal {
  padding: 0;
  border: 0;
  background: transparent;
  max-width: none;
  max-height: none;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  color: inherit;
}

dialog.modal::backdrop {
  background: rgba(3, 5, 9, 0.88);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

body.modal-open {
  overflow: hidden;
}

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

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .site-header {
    transition: none;
  }
}
