/* =========================================================
   The Creeks — park3 hero: Editorial Center over live sky
   Cloud video + park cutout + cinematic scrims, centered copy,
   slim pill booking capsule. Pairs with css/site.css tokens.
   ========================================================= */

.hero3 {
  position: relative;
  height: 100vh;
  min-height: 680px;
  overflow: hidden;
  /* Sky poster as the base (matches the video) so the sky region is never a dark
     gap before the video buffers; white is the ultimate color fallback. */
  background: #fff url('/sky-hero/sky-poster.jpg') center top / cover no-repeat;
  color: #fff;
}

/* ---- background stage ---- */
.hero3__stage { position: absolute; inset: 0; }
.hero3__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  filter: brightness(1.04) saturate(1.05);
}
.hero3__cutout {
  position: absolute; left: 50%; bottom: -200px; transform: translateX(-50%);
  height: calc(100% + 2px); width: auto; min-width: 100%; max-width: none;
  pointer-events: none;
}
/* Rise-up entrance. "Armed" parks the cutout below the frame (set before first paint by
   head.php so there's no flash); the Web Animations API in head.php then slides it up into
   place, and .is-dropped locks the resting transform. Intentionally NOT gated behind
   prefers-reduced-motion — this hero entrance is a requested brand animation that must
   play for every visitor. (That gate is exactly why it never appeared for anyone whose
   OS/browser has "reduce motion" turned on.) */
.hero-armed .hero3__cutout {
  transform: translateX(-50%) translateY(120%);
  will-change: transform;
}
.hero-armed .hero3.is-dropped .hero3__cutout {
  transform: translateX(-50%) translateY(0);
}
.hero3__scrim { position: absolute; inset: 0; pointer-events: none; }
.hero3__scrim--center { background: radial-gradient(ellipse 62% 58% at 50% 38%, rgba(8,22,15,0.74) 0%, rgba(8,22,15,0.5) 48%, rgba(8,22,15,0.08) 78%, rgba(8,22,15,0) 100%); }
.hero3__scrim--bottom { background: linear-gradient(0deg, rgba(6,16,11,0.88) 0%, rgba(6,16,11,0.5) 26%, rgba(6,16,11,0.12) 52%, rgba(6,16,11,0) 70%); }
.hero3__scrim--top    { background: linear-gradient(180deg, rgba(6,16,11,0.62) 0%, rgba(6,16,11,0.25) 12%, rgba(6,16,11,0) 26%); }

/* ---- centered copy ---- */
.hero3__copy {
  position: absolute; z-index: 3;
  left: 50%; top: 45%;
  transform: translate(-50%, -50%);
  width: min(820px, 92vw);
  text-align: center;
}
.hero3__eyebrow {
  display: inline-flex; align-items: center; gap: 16px;
  font-family: var(--ff-sans);
  font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.34em; text-transform: uppercase;
  color: #D9B665;
  margin-bottom: 24px;
}
.hero3__eyebrow::before,
.hero3__eyebrow::after { content: ''; height: 1px; width: 44px; background: #C19A4B; }
.hero3__heading {
  font-family: var(--ff-serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 5.2vw, 4.9rem);
  line-height: 1.05; letter-spacing: 0.002em;
  color: #fff;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.25);
  margin-bottom: 22px;
}
.hero3__accent { color: #D9B665; font-style: italic; }
.hero3__sub {
  font-family: var(--ff-sans);
  font-size: clamp(1.02rem, 1.15vw, 1.18rem); font-weight: 350;
  line-height: 1.7;
  color: rgba(247, 241, 231, 0.86);
  max-width: 54ch;
  margin: 0 auto 28px;
}
.hero3__cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 26px; }
.hero3__trust { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; }
.hero3__trust span {
  font-family: var(--ff-sans);
  font-size: 0.74rem; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(247, 241, 231, 0.6);
  white-space: nowrap;
}
.hero3__trust span + span::before { content: '\00B7'; color: #C19A4B; margin: 0 14px; font-size: 1.1rem; vertical-align: -1px; }

/* ---- slim pill booking capsule ---- */
.hero3__slim {
  position: absolute; z-index: 4;
  left: 50%; transform: translateX(-50%);
  bottom: 60px;
  display: flex; align-items: center;
  background: linear-gradient(165deg, rgba(18, 38, 27, 0.78), rgba(9, 20, 14, 0.84));
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
  padding: 9px 9px 9px 30px;
}
.hero3__slim-grp { margin-right: 22px; }
.hero3__slim-grp label {
  display: block;
  font-family: var(--ff-sans);
  font-size: 0.56rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: #D9B665;
  margin-bottom: 2px;
}
.hero3__slim-grp input,
.hero3__slim-grp select {
  border: 0; background: transparent;
  color: #fff;
  font-family: var(--ff-sans);
  font-size: 0.88rem; font-weight: 500;
  outline: none; color-scheme: dark;
  width: 128px;
}
.hero3__slim-grp select option { color: #1a1a1a; }
.hero3__slim-sep { width: 1px; height: 30px; background: rgba(255, 255, 255, 0.2); margin-right: 22px; }
.hero3__slim-btn {
  border: 0; cursor: pointer;
  background: linear-gradient(135deg, #D9B665, #C19A4B);
  color: #16100a;
  font-family: var(--ff-sans);
  font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 16px 30px; border-radius: 999px;
  transition: transform 160ms, box-shadow 160ms;
}
.hero3__slim-btn:hover { box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4); }
.hero3__slim-btn:disabled { opacity: 0.7; cursor: wait; }

/* ---- est. mark ---- */
.hero3__caps {
  position: absolute; z-index: 3;
  right: clamp(24px, 4vw, 56px); bottom: 26px;
  font-family: var(--ff-sans);
  font-size: 0.68rem; font-weight: 500;
  letter-spacing: 0.34em; text-transform: uppercase;
  color: rgba(247, 241, 231, 0.6);
}

/* ---- responsive ---- */
@media (max-width: 920px) {
  .hero3 { min-height: 720px; }
  .hero3__copy { top: 42%; }
  .hero3__heading { font-size: clamp(2.5rem, 9vw, 3.4rem); }
  .hero3__slim {
    flex-wrap: wrap; border-radius: 22px;
    padding: 16px; gap: 12px;
    width: min(480px, calc(100vw - 32px));
    bottom: 28px;
  }
  .hero3__slim-grp { margin-right: 0; flex: 1 1 40%; }
  .hero3__slim-sep { display: none; }
  .hero3__slim-btn { flex: 1 1 100%; padding: 14px; }
  .hero3__caps { display: none; }
}
@media (max-width: 560px) {
  .hero3__trust span + span::before { margin: 0 8px; }
  .hero3__cta .btn { padding: 13px 22px; }
}
