/* ──────────────────────────────────────────────────────────────
   Hero Diptych — two-collection split hero.
   Mirrors the V1 "Split Diptych" from hero-carousel-explorations.html.
   ────────────────────────────────────────────────────────────── */

.haven-hero-diptych {
  --ivory-100: #fefefd;
  display: block;
  width: 100%;
  background: var(--ivory-100);
}

.haven-hero-diptych *,
.haven-hero-diptych *::before,
.haven-hero-diptych *::after { box-sizing: border-box; }

.haven-hero-diptych__inner {
  position: relative;
  display: flex;
  width: 100%;
  height: var(--diptych-height-desktop, 720px);
  overflow: hidden;
}

.haven-hero-diptych__panel {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  text-decoration: none;
  color: var(--ivory-100);
  cursor: pointer;
  transition: flex-grow 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.haven-hero-diptych__inner:hover .haven-hero-diptych__panel { flex: 1 1 0; }
.haven-hero-diptych__inner:hover .haven-hero-diptych__panel:hover { flex: 1.3 1 0; }

.haven-hero-diptych__panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--panel-img);
  background-size: cover;
  background-position: center;
  transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.haven-hero-diptych__panel:hover::before { transform: scale(1.04); }

.haven-hero-diptych__panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(36, 28, 31, 0) 40%,
    rgba(36, 28, 31, 0.72) 100%
  );
  pointer-events: none;
}

.haven-hero-diptych__content {
  position: absolute;
  inset: auto 0 0 0;
  padding: 48px 56px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}

.haven-hero-diptych__eyebrow {
  font-family: 'Lexend Deca', sans-serif;
  font-weight: 300;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  opacity: 0.85;
  color: var(--ivory-100);
}

.haven-hero-diptych__title {
  font-family: 'Conso Serif', Georgia, serif;
  font-weight: 400;
  font-size: 56px;
  line-height: 1.05;
  color: var(--ivory-100);
  max-width: 480px;
  margin: 0;
}

.haven-hero-diptych__lede {
  font-family: 'Lexend Deca', sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ivory-100);
  max-width: 420px;
  opacity: 0.9;
  margin: 0;
}

.haven-hero-diptych__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 28px;
  border: 1px solid var(--ivory-100);
  border-radius: 8px;
  background: transparent;
  color: var(--ivory-100);
  font-family: 'Lexend Deca', sans-serif;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 1.4px;
  text-transform: capitalize;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.haven-hero-diptych__cta:hover {
  background: var(--ivory-100);
  color: #313745;
}

.haven-hero-diptych__divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(255, 255, 255, 0.25);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 2;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .haven-hero-diptych__inner { height: var(--diptych-height-tablet, 620px); }
  .haven-hero-diptych__content { padding: 40px; }
  .haven-hero-diptych__title { font-size: 44px; }
}

@media (max-width: 720px) {
  .haven-hero-diptych__inner {
    flex-direction: column;
    height: auto;
  }
  /* Neutralize hover-expand — no hover on touch */
  .haven-hero-diptych__inner:hover .haven-hero-diptych__panel,
  .haven-hero-diptych__inner:hover .haven-hero-diptych__panel:hover { flex: 1 1 0; }
  .haven-hero-diptych__panel { min-height: var(--diptych-height-mobile, 420px); }
  .haven-hero-diptych__divider { display: none; }
  .haven-hero-diptych__content { padding: 28px 24px; gap: 12px; }
  .haven-hero-diptych__eyebrow { font-size: 11px; letter-spacing: 2px; }
  .haven-hero-diptych__title { font-size: 34px; }
  .haven-hero-diptych__lede { font-size: 14px; }
  .haven-hero-diptych__cta { height: 44px; padding: 0 20px; font-size: 12px; }
}

@media (max-width: 420px) {
  .haven-hero-diptych__title { font-size: 30px; }
}
