/*
 * Public comparison heroes.
 * Home promotes the approved X4 triptych; Cruises promotes the approved 01A
 * cinematic threshold. Alternative explorations remain isolated in
 * hero-wow-lab.css and are never loaded by public pages.
 */

body.page-home:has(.hero-wow--variant-x4) .site-header {
  --nav-surface: #fffaf1;
}

.hero-wow {
  --wow-ink: #152820;
  --wow-green: #173e35;
  --wow-yellow: #f4ce55;
  --hero-copy: var(--wow-green);
  --hero-muted: #52615a;
  --hero-surface: #fffaf1;
  position: relative;
  isolation: isolate;
  min-height: 650px;
  overflow: hidden;
  background: var(--hero-surface);
  color: var(--hero-copy);
  font-family: "Montserrat Navigation", "Segoe UI", Arial, sans-serif;
}

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

.hero-wow :is(h1, p, figure) {
  margin: 0;
}

.hero-wow__stage {
  position: relative;
  width: 100%;
  min-height: 650px;
  overflow: hidden;
}

.hero-wow__copy {
  position: relative;
  z-index: 8;
  display: grid;
  width: min(100% - 48px, 1320px);
  min-height: 650px;
  align-content: center;
  margin-inline: auto;
  padding-block: 72px 122px;
  pointer-events: none;
}

.hero-wow__copy > * {
  pointer-events: auto;
}

.hero-wow__eyebrow {
  margin-bottom: 24px;
  color: #8c542f;
  font-size: 13px;
  font-weight: 830;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.hero-wow h1 {
  max-width: 760px;
  color: var(--hero-copy);
  font-size: clamp(48px, 5.9vw, 82px);
  font-weight: 790;
  letter-spacing: -.06em;
  line-height: .96;
  text-wrap: balance;
}

.hero-wow__lead {
  max-width: 650px;
  margin-top: 28px;
  color: var(--hero-muted);
  font-size: clamp(16px, 1.45vw, 20px);
  font-weight: 470;
  line-height: 1.55;
  text-wrap: pretty;
}

.hero-wow__breadcrumb {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: clamp(30px, 2.6vw, 38px);
  color: var(--hero-muted);
  font-size: 13px;
}

.hero-wow__breadcrumb a {
  color: inherit;
}

.hero-wow__breadcrumb [aria-current="page"] {
  color: var(--wow-green);
  font-weight: 720;
}

.hero-wow__cta {
  display: inline-flex;
  width: fit-content;
  min-height: 52px;
  gap: 24px;
  align-items: center;
  margin-top: 32px;
  padding: 11px 12px 11px 18px;
  border-radius: 999px;
  background: var(--wow-yellow);
  box-shadow: 0 7px 18px rgba(69, 48, 14, .08);
  color: var(--wow-ink);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  transition: background-color .18s ease, box-shadow .18s ease;
}

.hero-wow__cta span {
  position: relative;
  left: 2px;
}

.hero-wow__cta i {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .56);
  font-style: normal;
  transition: background-color .18s ease, transform .18s ease;
}

.hero-wow__cta:is(:hover, :focus-visible) {
  background: #dfb63f;
  box-shadow: 0 12px 24px rgba(69, 48, 14, .16);
}

.hero-wow__cta:is(:hover, :focus-visible) i {
  background: rgba(255, 255, 255, .82);
  transform: translateY(2px);
}

.hero-wow__cta--float {
  animation: comparison-hero-cta-float 2.8s ease-in-out infinite;
  will-change: transform;
}

.hero-wow__cta--float:is(:hover, :focus-visible) {
  animation-play-state: paused;
}

.hero-wow__cta i svg {
  display: block;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

@keyframes comparison-hero-cta-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.hero-wow__visual {
  position: absolute;
  z-index: 0;
  inset: 0;
}

.hero-wow__media {
  position: absolute;
  display: block;
  overflow: hidden;
  margin: 0;
}

.hero-wow__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-wow__media--asset-home-caravan img {
  filter: brightness(1.06) saturate(1.08) contrast(.97);
}

.hero-wow__media--main {
  inset: 0;
}

/* Home X4 — three equal-height illustrated chapters aligned on desktop. */
.hero-wow--layout-cream-daycycle,
.hero-wow--layout-cream-daycycle .hero-wow__stage,
.hero-wow--layout-cream-daycycle .hero-wow__copy {
  min-height: 650px;
}

.hero-wow--layout-cream-daycycle .hero-wow__copy {
  width: min(100% - 96px, 1220px);
  padding-right: 56%;
}

.hero-wow--layout-cream-daycycle .hero-wow__eyebrow {
  margin-bottom: clamp(28px, 2.4vw, 34px);
  color: #3f6f78;
}

.hero-wow--layout-cream-daycycle .hero-wow__lead {
  max-width: 560px;
  margin-top: clamp(32px, 2.8vw, 40px);
  color: #334f48;
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: 540;
  letter-spacing: -.018em;
  line-height: 1.58;
}

.hero-wow--layout-cream-daycycle .hero-wow__visual {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  inset: 70px 7vw 78px 51%;
}

.hero-wow--layout-cream-daycycle .hero-wow__media {
  position: relative;
  inset: auto;
  border: 3px solid rgba(255, 255, 255, .92);
  border-radius: 999px 999px 20px 20px;
  box-shadow: 0 18px 38px rgba(23, 62, 53, .14);
}

.hero-wow--layout-cream-daycycle .hero-wow__media--main {
  grid-column: 2;
  grid-row: 1;
}

.hero-wow--layout-cream-daycycle .hero-wow__media--secondary-1 {
  grid-column: 1;
  grid-row: 1;
}

.hero-wow--layout-cream-daycycle .hero-wow__media--secondary-2 {
  grid-column: 3;
  grid-row: 1;
}

.hero-wow--layout-cream-daycycle .hero-wow__media--secondary-1 img {
  object-position: 61% center;
}

.hero-wow--layout-cream-daycycle .hero-wow__media--asset-home-abu-simbel img {
  object-position: 72% center;
}

/* Cruises 01A — one river image dissolving into the warm editorial field. */
.hero-wow--layout-cruise-cinematic-cream,
.hero-wow--layout-cruise-cinematic-cream .hero-wow__stage,
.hero-wow--layout-cruise-cinematic-cream .hero-wow__copy {
  min-height: 660px;
}

.hero-wow--layout-cruise-cinematic-cream::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(
    90deg,
    #fffaf1 0 12%,
    rgba(255, 250, 241, .98) 22%,
    rgba(255, 250, 241, .9) 34%,
    rgba(255, 250, 241, .72) 45%,
    rgba(255, 250, 241, .42) 58%,
    rgba(255, 250, 241, .16) 70%,
    transparent 82%
  );
  content: "";
  pointer-events: none;
}

.hero-wow--layout-cruise-cinematic-cream .hero-wow__media--main img {
  object-position: 62% center;
}

.hero-wow--layout-cruise-cinematic-cream .hero-wow__eyebrow {
  margin-bottom: clamp(20px, 1.8vw, 26px);
}

.hero-wow--layout-cruise-cinematic-cream .hero-wow__lead {
  margin-top: clamp(24px, 2.1vw, 30px);
}

@media (min-width: 821px) {
  .hero-wow--layout-cream-daycycle .hero-wow__copy {
    width: 100%;
    margin: 0;
    padding-left: var(--pad);
  }

  .hero-wow--layout-cruise-cinematic-cream .hero-wow__copy {
    width: 100%;
    min-height: 660px;
    align-content: start;
    margin: 0;
    padding:
      clamp(38px, 3vw, 46px)
      52%
      96px
      max(
        var(--page-intro-gutter),
        calc((100vw - var(--page-intro-max)) / 2 + var(--page-intro-gutter))
      );
  }
}

@media (max-width: 820px) {
  .hero-wow,
  .hero-wow__stage,
  .hero-wow__copy,
  .hero-wow--layout-cream-daycycle,
  .hero-wow--layout-cream-daycycle .hero-wow__stage,
  .hero-wow--layout-cream-daycycle .hero-wow__copy,
  .hero-wow--layout-cruise-cinematic-cream,
  .hero-wow--layout-cruise-cinematic-cream .hero-wow__stage,
  .hero-wow--layout-cruise-cinematic-cream .hero-wow__copy {
    min-height: 0;
  }

  .hero-wow__stage {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
  }

  .hero-wow__copy,
  .hero-wow--layout-cream-daycycle .hero-wow__copy {
    grid-column: 1;
    grid-row: 1;
    width: min(100% - 32px, 720px);
    margin-inline: auto;
    padding: 44px 0 32px;
    align-content: start;
    justify-items: start;
    text-align: left;
  }

  .hero-wow h1 {
    font-size: clamp(39px, 12vw, 56px);
    line-height: .98;
  }

  .hero-wow__eyebrow {
    font-size: 12px;
  }

  .hero-wow__lead {
    margin-top: 18px;
    font-size: 15px;
  }

  .hero-wow--layout-cream-daycycle .hero-wow__eyebrow {
    margin-bottom: 24px;
  }

  .hero-wow--layout-cream-daycycle .hero-wow__lead {
    margin-top: 26px;
    font-size: 17px;
    line-height: 1.58;
  }

  .hero-wow__cta {
    min-height: 50px;
  }

  .hero-wow__breadcrumb {
    margin-bottom: 16px;
  }

  .hero-wow__visual,
  .hero-wow--layout-cream-daycycle .hero-wow__visual {
    position: relative;
    grid-column: 1;
    grid-row: 2;
    inset: auto;
    width: min(100% - 32px, 720px);
    height: 340px;
    margin: 0 auto 32px;
    transform: none;
  }

  .hero-wow--layout-cream-daycycle .hero-wow__visual {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .hero-wow--layout-cream-daycycle .hero-wow__media,
  .hero-wow--layout-cream-daycycle .hero-wow__media--main,
  .hero-wow--layout-cream-daycycle .hero-wow__media--secondary {
    position: relative;
    inset: auto;
    display: block;
    min-width: 0;
  }

  .hero-wow--variant-x4 .hero-wow__media--main {
    transform: translateY(9px);
  }

  .hero-wow--variant-x4 .hero-wow__media--secondary-1 {
    transform: translateY(18px);
  }

  .hero-wow--variant-x4 .hero-wow__media--secondary-2 {
    transform: none;
  }

  .hero-wow--layout-cruise-cinematic-cream::after {
    display: none;
  }

  .hero-wow--layout-cruise-cinematic-cream .hero-wow__visual {
    position: relative;
    grid-column: 1;
    grid-row: 2;
    inset: auto;
    width: min(100% - 32px, 720px);
    height: 350px;
    margin: 0 auto 32px;
    overflow: hidden;
    border-radius: 22px 7px 22px 22px;
  }

  .hero-wow--layout-cruise-cinematic-cream .hero-wow__media--main {
    position: absolute;
    inset: 0;
  }
}

@media (max-width: 560px) {
  .hero-wow__copy,
  .hero-wow--layout-cream-daycycle .hero-wow__copy {
    width: calc(100% - 32px);
    padding: 38px 0 28px;
  }

  .hero-wow--kind-home .hero-wow__copy {
    width: calc(100% - 40px);
  }

  .hero-wow--layout-cream-daycycle .hero-wow__eyebrow {
    margin-bottom: 22px;
  }

  .hero-wow--layout-cream-daycycle .hero-wow__lead {
    margin-top: 24px;
    font-size: 16px;
    line-height: 1.62;
  }

  .hero-wow--layout-cream-daycycle .hero-wow__visual {
    width: calc(100% - 40px);
    height: 300px;
    gap: 5px;
  }

  .hero-wow--layout-cream-daycycle .hero-wow__media {
    border-width: 2px;
  }

  .hero-wow--layout-cruise-cinematic-cream .hero-wow__visual {
    width: calc(100% - 32px);
    height: 290px;
  }
}

@media (max-width: 340px) {
  .hero-wow--kind-home .hero-wow__copy,
  .hero-wow--layout-cream-daycycle .hero-wow__visual {
    width: calc(100% - 40px);
  }

  .hero-wow--layout-cream-daycycle .hero-wow__visual {
    height: 270px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-wow__cta {
    transition: none;
  }

  .hero-wow__cta--float {
    animation: none;
  }
}
