/* ─── Reset & Base ─── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
}

::selection {
  background: #7B2432;
  color: #fffcf8;
}

/* ─── Scroll Reveal (progressive enhancement) ─── */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
}

/* ─── Tags / Eyebrows ─── */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7B2432;
  background: #fce4e8;
  padding: 8px 16px;
  border-radius: 100px;
}

.tag-light {
  color: #f8c3cc;
  background: rgba(248, 195, 204, 0.15);
  border: 1px solid rgba(248, 195, 204, 0.3);
}

/* ─── Cards ─── */
.card {
  background: #fffcf8;
  border-radius: 1.5rem;
  padding: 1.25rem;
  border: 1px solid #fce4e8;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.card:hover {
  box-shadow: 0 20px 60px -20px rgba(123, 36, 50, 0.15);
  transform: translateY(-4px);
}

/* ─── Nav ─── */
.nav {
  will-change: transform;
}

.nav.scrolled {
  box-shadow: 0 1px 20px rgba(123, 36, 50, 0.08);
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #7B2432;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* ─── Mobile Menu ─── */
.mobile-link {
  opacity: 1;
  transition: opacity 0.3s ease;
}

#mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

#mobile-menu.closed {
  opacity: 0;
  pointer-events: none;
}

/* ─── Marquee ─── */
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee {
  animation: marquee 20s linear infinite;
}

.marquee:hover {
  animation-play-state: paused;
}

/* ─── Hero ─── */
.hero {
  position: relative;
}

/* ─── Button Focus ─── */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid #7B2432;
  outline-offset: 2px;
}

/* ─── Custom Scrollbar ─── */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #fffcf8;
}
::-webkit-scrollbar-thumb {
  background: #f39aad;
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #7B2432;
}
