/* ── Base & Reset ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; -webkit-font-smoothing: antialiased; }

/* ── Custom Properties ── */
:root {
  --coral: #F4845F;
  --coral-light: #FFE8E0;
  --coral-dark: #E85D75;
  --charcoal: #2C2C34;
  --charcoal-light: #71717A;
  --stone: #F5F5F0;
  --white: #FFFFFF;
}

/* ── Navigation ── */
#navbar {
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}
#navbar.scrolled {
  background: rgba(250, 250, 248, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.nav-logo { transition: color 0.3s ease; }
.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--coral);
  transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }
.nav-link:hover { color: var(--coral) !important; }

/* Mobile menu */
#menuBtn { border: none; background: none; padding: 0; cursor: pointer; }
.menu-line {
  display: block;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.menu-line.top { top: 9px; }
.menu-line { top: 50%; transform: translate(-50%, -50%); }
.menu-line.bottom { bottom: 9px; }
#menuBtn.active .menu-line.top { top: 50%; transform: translate(-50%, -50%) rotate(45deg); }
#menuBtn.active .menu-line { opacity: 0; }
#menuBtn.active .menu-line.bottom { bottom: 50%; transform: translate(-50%, 50%) rotate(-45deg); }

#mobileMenu.open { opacity: 1; pointer-events: all; }
.mobile-link { transition: color 0.3s ease, transform 0.3s ease; }
.mobile-link:hover { transform: scale(1.05); }

/* ── Buttons ── */
.btn-coral {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  background: var(--coral);
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-coral:hover {
  background: var(--coral-dark);
  box-shadow: 0 12px 40px rgba(244, 132, 95, 0.35);
  transform: translateY(-2px);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border: 1.5px solid #D1D1D8;
  color: #3F3F46;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 9999px;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-outline:hover {
  border-color: var(--coral);
  color: var(--coral);
  transform: translateY(-2px);
}

/* ── Typography helpers ── */
.section-eyebrow { font-family: 'Outfit', sans-serif; }
.section-title { font-family: 'Cormorant Garamond', Georgia, serif; }

/* ── Hero animations ── */
.hero-eyebrow {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.2s;
}
.hero-title {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.4s;
}
.hero-subtitle {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.6s;
}
.hero-ctas {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.8s;
}
.hero-img-stack {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.5s;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Feature cards ── */
.feature-card { cursor: default; }

/* ── Input fields ── */
.input-field {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
}
.input-field::placeholder { color: #D1D1D8; }

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  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; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero-title { font-size: 2.75rem; }
  .section-title { font-size: 2.5rem; }
  .about-img-wrapper { margin-bottom: 2rem; }
  .hero-img-stack { margin-top: 2rem; }
}

@media (min-width: 769px) and (max-width: 1023px) {
  .hero-title { font-size: 4rem; }
}
