.dive {
  position: relative;
  background: var(--house);
  color: var(--cream);
}
.dive__stage {
  position: relative;
  isolation: isolate;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
}
.dive__canvas,
.dive__fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.dive__fallback {
  display: none;
  object-fit: cover;
  object-position: 70% 50%;
  filter: brightness(0.7) saturate(0.9);
}
.dive--nogl .dive__fallback { display: block; }
.dive--nogl .dive__canvas { display: none; }
.dive__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(27, 23, 18, 0.9) 0%, rgba(27, 23, 18, 0.55) 38%, rgba(27, 23, 18, 0) 62%);
  pointer-events: none;
}

.dive__intro {
  position: absolute;
  left: var(--gutter);
  top: 50%;
  transform: translateY(-48%);
  display: grid;
  gap: 1.25rem;
  justify-items: start;
  width: min(40rem, 50vw);
  z-index: 2;
}
.dive__logo {
  width: clamp(150px, 13vw, 210px);
  height: auto;
  margin-bottom: 0.25rem;
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.45));
}
.dive__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(3rem, 1.5rem + 4.4vw, 6.2rem);
  line-height: 0.95;
  letter-spacing: -0.015em;
  color: var(--cream);
}
.dive__title em {
  display: block;
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}
.dive__lead {
  max-width: 36ch;
  font-size: clamp(1.05rem, 0.95rem + 0.35vw, 1.25rem);
  line-height: 1.55;
  color: rgba(244, 239, 227, 0.8);
}
.dive__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.dive__caption {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  width: min(90vw, 18ch);
  display: grid;
  gap: 1rem;
  justify-items: center;
  text-align: center;
  font-family: var(--font-display);
  font-size: var(--step-4);
  font-weight: 500;
  line-height: 1.02;
  color: var(--cream);
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}
/* A soft pool of shade, so the words hold up over bright footage too. */
.dive__caption::before {
  content: "";
  position: absolute;
  inset: -45% -30%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(17, 12, 8, 0.6), rgba(17, 12, 8, 0.32) 55%, rgba(17, 12, 8, 0));
}
/* Anchored by its top edge so the eyebrow always clears the header. */
.dive__caption--one { top: max(7%, 5.5rem); translate: -50% 0; width: min(90vw, 22ch); }
.dive__caption em { font-style: italic; color: var(--gold); }
.dive__caption .eyebrow { font-family: var(--font-body); text-shadow: none; }

.dive__cue {
  position: absolute;
  left: 50%;
  bottom: 1.75rem;
  translate: -50% 0;
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244, 239, 227, 0.65);
  z-index: 2;
}
.dive__cue-line {
  width: 1px;
  height: 3rem;
  background: linear-gradient(var(--gold), transparent);
  transform-origin: top;
  animation: cue 2.2s var(--ease-in-out) infinite;
}
@keyframes cue {
  0% { transform: scaleY(0); opacity: 1; }
  60% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* Static fallback (reduced motion or no GSAP): one composed frame. */
.dive--static .dive__caption,
.dive--static .dive__cue { display: none; }

@media (max-width: 899px) {
  .dive__stage { min-height: 620px; }
  .dive__veil {
    background: linear-gradient(180deg, rgba(27, 23, 18, 0) 38%, rgba(27, 23, 18, 0.85) 58%, rgba(27, 23, 18, 0.96) 100%);
  }
  .dive__intro {
    top: auto;
    bottom: 2.5rem;
    transform: none;
    width: auto;
    right: var(--gutter);
    gap: 1rem;
  }
  .dive__logo { display: none; }
  .dive__title { font-size: clamp(2.9rem, 12vw, 4rem); }
  .dive__lead { font-size: 1rem; }
  .dive__actions .btn { flex: 1 1 auto; }
  .dive__cue { display: none; }
}
