/* ============ HERO ============ */
.hero {
  position: relative; height: 100vh; min-height: 700px; max-height: 1080px;
  overflow: hidden; background: var(--espresso);
  touch-action: pan-y;
}
.hero-track { position: absolute; inset: 0; }

.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity 1.5s cubic-bezier(.4,0,.2,1), visibility 0s linear 1.5s;
  z-index: 1;
}
.hero-slide.active {
  opacity: 1; visibility: visible; z-index: 2;
  transition: opacity 1.5s cubic-bezier(.4,0,.2,1), visibility 0s linear 0s;
}

.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 26%;
  transform: scale(1.08);
  filter: blur(6px) saturate(0.94);
  transition: filter 1.6s ease 0.15s;
}
.hero-slide.active .hero-media img { filter: blur(0) saturate(1); }

/* Ken Burns: alternating slow zoom, only while a slide is active */
.hero-media img.kb-in { animation: kbIn 11s ease-out forwards; }
.hero-media img.kb-out { animation: kbOut 11s ease-out forwards; }
@keyframes kbIn { from { transform: scale(1.08); } to { transform: scale(1.16); } }
@keyframes kbOut { from { transform: scale(1.18); } to { transform: scale(1.08); } }

.hero-scrim {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg, rgba(15,11,9,0.4) 0%, rgba(15,11,9,0.06) 28%, rgba(15,11,9,0.02) 48%, rgba(15,11,9,0.68) 100%);
}

.hero-content { position: absolute; inset: 0; z-index: 5; display: flex; align-items: flex-end; padding-bottom: 76px; }
.hero-text { max-width: 660px; color: var(--white); }

.hero-eyebrow {
  font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--champagne); margin-bottom: 20px; display: block;
  opacity: 0; transform: translateY(16px);
}
.hero-title {
  font-size: clamp(38px, 5.2vw, 72px);
  line-height: 1.08; font-weight: 400; color: var(--white); margin-bottom: 22px;
  text-shadow: 0 2px 28px rgba(0,0,0,0.22);
  opacity: 0; transform: translateY(20px);
}
.hero-title em { font-style: italic; color: var(--text-lighter-alt); font-weight: 400; }
.hero-sub {
  font-size: 17px; font-weight: 300; max-width: 460px; margin-bottom: 32px; color: var(--text-light);
  text-shadow: 0 1px 14px rgba(0,0,0,0.18);
  opacity: 0; transform: translateY(20px);
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; opacity: 0; transform: translateY(20px); }

.hero-slide.active .hero-eyebrow { transition: opacity 0.9s ease 0.5s, transform 0.9s cubic-bezier(.2,.8,.2,1) 0.5s; opacity: 1; transform: translateY(0); }
.hero-slide.active .hero-title { transition: opacity 1s ease 0.68s, transform 1s cubic-bezier(.2,.8,.2,1) 0.68s; opacity: 1; transform: translateY(0); }
.hero-slide.active .hero-sub { transition: opacity 1s ease 0.86s, transform 1s cubic-bezier(.2,.8,.2,1) 0.86s; opacity: 1; transform: translateY(0); }
.hero-slide.active .hero-ctas { transition: opacity 1s ease 1.02s, transform 1s cubic-bezier(.2,.8,.2,1) 1.02s; opacity: 1; transform: translateY(0); }

/* subtle floating decorative petal accents (desktop only, decorative) */
.hero-petal {
  position: absolute; z-index: 3; pointer-events: none; opacity: 0;
  color: rgba(255,255,255,0.55);
}
.hero-slide.active .hero-petal { animation: petalFloat 9s ease-in-out infinite; }
.hero-petal.p1 { top: 18%; right: 14%; width: 46px; height: 46px; animation-delay: 0.2s !important; }
.hero-petal.p2 { top: 62%; right: 26%; width: 28px; height: 28px; animation-delay: 1.4s !important; }
@keyframes petalFloat {
  0% { opacity: 0; transform: translateY(14px) rotate(0deg); }
  15% { opacity: 0.5; }
  50% { opacity: 0.35; transform: translateY(-10px) rotate(8deg); }
  85% { opacity: 0.5; }
  100% { opacity: 0; transform: translateY(-22px) rotate(14deg); }
}
@media (max-width: 900px) { .hero-petal { display: none; } }

.btn-primary {
  background: var(--brass); color: var(--white); padding: 15px 34px;
  font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; border-radius: 2px;
  transition: background var(--transition-normal), transform var(--transition-normal);
  display: inline-block;
}
.btn-primary:hover { background: var(--terracotta-rose); transform: translateY(-2px); }
.btn-primary, .q-submit { position: relative; overflow: hidden; }
.btn-primary::after, .q-submit::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 40%;
  left: -60%; transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  transition: left 0.7s ease; pointer-events: none;
}
.btn-primary:hover::after, .q-submit:hover:not(:disabled)::after { left: 130%; }
.btn-ghost {
  border: 1px solid rgba(255,255,255,0.6); color: var(--white); padding: 15px 34px;
  font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; border-radius: 2px;
  transition: all var(--transition-normal); display: inline-block;
}
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.12); }
.btn-dark { background: var(--espresso); color: var(--white); }
.btn-dark:hover { background: var(--ink-soft); }
.btn-outline-dark {
  border: 1px solid var(--espresso); color: var(--espresso); background: transparent;
  padding: 15px 34px; font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase;
  border-radius: 2px; transition: all var(--transition-normal); display: inline-block;
}
.btn-outline-dark:hover { background: var(--espresso); color: var(--white); }

/* ===== Hero navigation: arrows ===== */
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 7;
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.4); background: rgba(20,15,12,0.18);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); transition: border-color var(--transition-normal), background var(--transition-normal), transform var(--transition-normal);
}
.hero-arrow:hover { border-color: var(--brass); background: rgba(20,15,12,0.36); }
.hero-arrow svg { width: 18px; height: 18px; }
.hero-arrow.prev { left: 32px; }
.hero-arrow.next { right: 32px; }
@media (max-width: 900px) { .hero-arrow { display: none; } }

/* ===== Hero navigation: pagination ===== */
.hero-nav {
  position: absolute; bottom: 40px; right: 48px; z-index: 7;
  display: flex; align-items: center; gap: 16px;
}
.hero-counter {
  font-family: var(--font-body); font-size: 11.5px; letter-spacing: 0.12em;
  color: rgba(255,255,255,0.8); display: flex; gap: 4px; align-items: baseline;
}
.hero-counter .cur { color: var(--white); font-size: 13px; }
.hero-dots { display: flex; gap: 10px; align-items: center; }
.hero-dots button {
  position: relative; width: 32px; height: 3px; border-radius: 2px;
  background: rgba(255,255,255,0.3); overflow: hidden;
}
.hero-dots button .fill {
  position: absolute; inset: 0; width: 0%; background: var(--brass);
  transition: width 0.2s linear;
}
.hero-dots button.active .fill { background: var(--white); }
@media (max-width: 900px) {
  .hero-nav { right: 24px; bottom: 24px; }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  .hero-media img.kb-in, .hero-media img.kb-out { animation: none !important; transform: scale(1.02); }
  .hero-petal { display: none !important; }
  .hero-eyebrow, .hero-title, .hero-sub, .hero-ctas {
    transition: opacity 0.4s ease !important; transform: none !important;
  }
}
