/* ── Base & Reset ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ── Navbar ── */
#navbar { background: transparent; }
#navbar.scrolled {
  background: rgba(253, 248, 240, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

/* ── Mobile Menu ── */
#mobile-menu.open { opacity: 1 !important; pointer-events: all !important; }
#mobile-menu.closed { opacity: 0 !important; pointer-events: none !important; }
.mobile-link { transition: opacity 0.3s ease; }

/* ── Hero ── */
.hero-eyebrow {
  opacity: 0;
  animation: fadeUp 0.8s 0.3s forwards;
}
.hero-headline {
  opacity: 0;
  animation: fadeUp 0.8s 0.5s forwards;
}
.hero-subtitle {
  opacity: 0;
  animation: fadeUp 0.8s 0.7s forwards;
}
.hero-cta-primary {
  opacity: 0;
  animation: fadeUp 0.8s 0.9s forwards;
}
.hero-cta-secondary {
  opacity: 0;
  animation: fadeUp 0.8s 1.0s forwards;
}

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

/* ── Scroll Indicator ── */
.scroll-indicator { transition: opacity 0.3s; }
.scroll-indicator:hover { opacity: 0.8; }

/* ── Section Eyebrows ── */
.section-eyebrow {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* ── Reveal Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal.visible .section-eyebrow {
  opacity: 1;
  transform: translateY(0);
}

/* ── Card Offerings ── */
.card-offering {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.card-offering.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Nav Links Hover ── */
.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: currentColor;
  transition: width 0.3s ease;
}
.nav-link:hover::after {
  width: 100%;
}

/* ── Blockquote Decorative ── */
blockquote p {
  position: relative;
}

/* ── Form Focus States ── */
input:focus, textarea:focus {
  box-shadow: 0 0 0 3px rgba(192, 96, 58, 0.1);
}

/* ── Button Hover Glow ── */
button:hover, .hero-cta-primary:hover {
  transform: translateY(-1px);
}
button:active, .hero-cta-primary:active {
  transform: translateY(0);
}

/* ── Smooth Image Loading ── */
img {
  background-color: rgba(0,0,0,0.05);
  transition: opacity 0.3s ease;
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal, .card-offering {
    opacity: 1;
    transform: none;
  }
}

/* ── Responsive Tweaks ── */
@media (max-width: 767px) {
  .hero-headline {
    font-size: 3rem !important;
  }
  @media (min-width: 480px) {
    .hero-headline {
      font-size: 3.5rem !important;
    }
  }
}
