/* The supplied landscape spans the hero and its underwater quote. */
.unified-water-section {
  --hero-top-space: clamp(48px, 6vw, 96px);
  padding-top: var(--hero-top-space);
  background: #bfe6fa;
}
.hero-landscape {
  position: absolute;
  inset: var(--hero-top-space) 0 0;
  z-index: 0;
  pointer-events: none;
  background: #073663 url('./scene.jpg') 80% 0 / cover no-repeat;
}
/* Blend the added sky space into the artwork without resizing it. */
.hero-landscape::after {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 48px;
  background: linear-gradient(#bfe6fa, #bfe6fa00);
}
.reference-hero {
  z-index: 1;
  height: max(600px, 46vw);
  background: transparent;
}
.reference-hero::before { content: none; }
.reference-copy {
  animation: none;
  transform: translateY(10%);
  top: clamp(100px, 8vw, 154px);
  width: min(900px, 64%);
}
.reference-copy h1 {
  font-size: clamp(38px, 3.6vw, 66px);
  line-height: 1.08;
}
.reference-copy h1 span { white-space: normal; }
.hero-title-accent { color: var(--ui-link); }
.hero-subtitle { max-width: 650px; color: #194b77; }
.hero-benefits {
  width: fit-content;
  max-width: 100%;
  grid-template-columns: repeat(3, auto);
  margin-top: 24px;
  background: transparent;
}
.why-water-content.has-water-quote {
  min-height: 29vw;
  padding: 48px 0;
}
.underwater-quote { background: #05274445; }
.underwater-quote p { color: #e0effb; }
.underwater-quote figcaption {
  margin-top: 12px;
  color: #b7d2e7;
  font: 300 14px/1.5 var(--ui-font);
  letter-spacing: 0;
  text-transform: none;
}
.underwater-quote figcaption a {
  color: #e0effb;
  font-weight: 300;
  text-decoration: none;
}
.underwater-quote figcaption a span { margin-left: 3px; }
.underwater-quote figcaption a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (min-width: 1100px) {
  /* Keep the entire content group in the open sky left of the tall peaks. */
  .reference-copy {
    top: clamp(60px, 5vw, 96px);
    width: min(840px, 52%);
  }
  .reference-copy h1 {
    font-size: clamp(34px, 3vw, 56px);
    line-height: 1.08;
  }
  .hero-subtitle {
    width: max-content;
    max-width: none;
    white-space: nowrap;
    margin-top: 16px;
    font-size: clamp(16px, 1.2vw, 19px);
    line-height: 1.45;
  }
  .hero-actions { gap: 12px; margin-top: 20px; }
  .hero-actions .hero-action.button-name {
    height: 50px;
    min-height: 50px;
    min-width: 0;
    gap: 16px;
    padding: 0 22px;
    font-size: 14px;
  }
  .hero-benefits { gap: 8px; margin-top: 16px; }
  .hero-benefit, .hero-benefit + .hero-benefit {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 8px;
    min-height: 64px;
    padding: 12px;
    border-radius: 12px;
    font-size: 12px;
    line-height: 1.4;
  }
  .hero-benefit-icon { width: 34px; height: 34px; border-radius: 8px; }
  .hero-benefit-icon svg { width: 19px; height: 19px; }
}

@media (min-width: 1100px) and (max-width: 1279px) {
  .reference-copy { width: 52%; }
  .hero-subtitle { line-height: 1.35; }
  .hero-actions, .hero-benefits { margin-top: 14px; }
}

@media (min-width: 1100px) and (max-width: 1199px) {
  .reference-copy { transform: none; }
  .hero-subtitle { font-size: 15px; margin-top: 12px; }
  .hero-actions, .hero-benefits { margin-top: 12px; }
  .hero-benefit, .hero-benefit + .hero-benefit { min-height: 56px; padding: 8px; font-size: 11px; }
}

@media (max-width: 1099px) {
  /* Flow the copy above the landscape so neither text nor art is cropped. */
  .reference-hero { height: auto; padding: 106px 24px 0; }
  .reference-copy { position: relative; top: auto; left: auto; right: auto; width: 100%; }
  .hero-message { width: 100%; }
  .reference-copy h1 { max-width: 850px; font-size: clamp(32px, 5.7vw, 56px); }
  .reference-copy h1 span:last-child { max-width: 100%; }
  .hero-subtitle { max-width: 700px; }
  .hero-landscape {
    position: relative;
    inset: auto;
    height: max(460px, 75vw);
    margin-top: 28px;
  }
  .why-water-content.has-water-quote {
    min-height: 180px;
    margin-top: -180px;
    padding: 24px 0;
  }
}

@media (max-width: 639px) {
  .reference-hero { padding: 96px 18px 0; }
  .reference-copy h1 { font-size: clamp(30px, 8.2vw, 40px); }
  .hero-subtitle { font-size: 14px; }
  .hero-benefits { width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 24px; }
}
