/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { min-height: 100vh; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
a { text-decoration: none; color: inherit; }

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: #b5543b;
  color: #fdfbf7;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 400;
  transition: background 0.3s ease, transform 0.2s ease;
}
.btn-primary:hover { background: #943f2c; transform: translateY(-1px); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: transparent;
  color: #fdfbf7;
  border: 1px solid rgba(253,251,247,0.4);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 400;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.btn-secondary:hover { border-color: #fdfbf7; background: rgba(253,251,247,0.08); }

/* ── Eyebrow ── */
.section-eyebrow {
  display: block;
}

/* ── Scroll indicator ── */
.scroll-indicator { display: flex; flex-direction: column; align-items: center; }
@keyframes scroll-line {
  0% { top: -16px; opacity: 0; }
  50% { opacity: 1; }
  100% { top: 48px; opacity: 0; }
}
.scroll-line { animation: scroll-line 1.8s ease-in-out infinite; }

/* ── Hero animations ── */
.hero-eyebrow {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.3s;
}
.hero-title {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.5s;
}
.hero-subtitle {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.7s;
}
.hero-cta {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.9s;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Scroll reveal (below fold only) ── */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Reduced motion: keep everything visible */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
  .hero-eyebrow, .hero-title, .hero-subtitle, .hero-cta {
    opacity: 1;
    animation: none;
  }
  .scroll-line { animation: none; opacity: 0.5; }
  img { transition: none; }
}

/* ── Header scroll state ── */
#site-header.scrolled {
  background: rgba(253,251,247,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
#site-header.scrolled .nav-link { color: #7e6e5c; }
#site-header.scrolled .nav-link:hover { color: #b5543b; }

/* ── Mobile menu ── */
#mobile-menu.open { opacity: 1; pointer-events: all; }

/* ── Menu list hover ── */
#menu li {
  border-bottom: 1px solid rgba(180,168,148,0.2);
  padding-bottom: 0.75rem;
}
#menu li:last-child { border-bottom: none; }

/* ── Contact form ── */
#contact-form input,
#contact-form textarea {
  outline: none;
}
