/* ============== Base ============== */
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background-color: #F9F7F2;
  color: #2B2A26;
}
.font-serif { font-family: 'Cormorant Garamond', serif; }

/* ============== Hero ============== */
.hero-bg {
  background-image:
    linear-gradient(rgba(20, 18, 15, 0.35), rgba(20, 18, 15, 0.55)),
    url('https://images.unsplash.com/photo-1519741497674-611481863552?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
@media (max-width: 768px) {
  .hero-bg { background-attachment: scroll; }
}

/* ============== Reveal on scroll ============== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============== Ornament divider ============== */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: #A68B5B;
}
.ornament::before,
.ornament::after {
  content: "";
  height: 1px;
  width: 60px;
  background: #A68B5B;
  opacity: 0.6;
}

/* ============== Countdown ============== */
.timer-cell {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(166, 139, 91, 0.25);
}

/* ============== Timeline ============== */
.tl-dot::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 9999px;
  border: 1px solid rgba(166, 139, 91, 0.4);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0%   { transform: scale(0.8); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ============== Music wave ============== */
.wave {
  display: inline-flex;
  align-items: end;
  gap: 2px;
  height: 18px;
}
.wave span {
  display: inline-block;
  width: 3px;
  background: currentColor;
  border-radius: 2px;
  animation: wave 1s ease-in-out infinite;
}
.wave span:nth-child(1) { animation-delay: -0.9s; }
.wave span:nth-child(2) { animation-delay: -0.7s; }
.wave span:nth-child(3) { animation-delay: -0.5s; }
.wave span:nth-child(4) { animation-delay: -0.3s; }
@keyframes wave {
  0%, 100% { height: 4px; }
  50%      { height: 18px; }
}

/* ============== Form ============== */
input[type="text"],
select {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(43, 42, 38, 0.25);
  border-radius: 0;
  padding: 0.6rem 0.25rem;
  width: 100%;
  color: #2B2A26;
  transition: border-color .3s;
  font-family: 'Inter', sans-serif;
}
input[type="text"]:focus,
select:focus {
  outline: none;
  border-bottom-color: #A68B5B;
}
.radio-card {
  border: 1px solid rgba(43, 42, 38, 0.15);
  transition: all .3s;
  cursor: pointer;
}
.radio-card.selected {
  border-color: #A68B5B;
  background: rgba(166, 139, 91, 0.08);
}

/* Validation error */
.form-error {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: #B14A4A;
}
.field-invalid {
  border-bottom-color: #B14A4A !important;
}
.radio-group-invalid .radio-card {
  border-color: #B14A4A;
}

/* ============== Modal ============== */
.modal-bg {
  background: rgba(20, 18, 15, 0.55);
  backdrop-filter: blur(4px);
}

/* ============== Floating button ============== */
.fab-shadow {
  box-shadow: 0 10px 30px rgba(43, 42, 38, 0.25);
}
