.afloat-hero {
  width: min(1320px, 90%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  background: var(--navy);
  color: #fff;
}

.afloat-hero-copy {
  align-self: center;
  padding: clamp(32px, 4.2vw, 68px);
}

.afloat-hero .eyebrow {
  color: #f4c76d;
  margin-bottom: 16px;
}

.afloat-hero h1 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(34px, 3.5vw, 55px);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.afloat-hero-copy > p:not(.eyebrow) {
  color: #d7e2e9;
  font-size: 16px;
  line-height: 1.65;
  max-width: 52ch;
}

.afloat-hero .actions {
  margin-top: 24px;
  gap: 10px;
}

.afloat-hero .btn {
  background: #f4c76d;
  border-color: #f4c76d;
  color: #142636;
}

.afloat-hero .btn:hover {
  background: #ffdc93;
  border-color: #ffdc93;
}

.afloat-hero .btn.light {
  background: transparent;
  border-color: #899da9;
  color: #fff;
}

.afloat-hero .btn.light:hover {
  background: #243d4f;
  border-color: #c8d5dc;
  color: #fff;
}

.afloat-hero-photo {
  margin: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  min-width: 0;
}

.afloat-hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.afloat-hero-photo figcaption {
  padding: 13px 16px;
  background: #112e40;
  color: #e2eaf0;
  font-size: 13px;
  line-height: 1.5;
}

.afloat-hero-photo figcaption a {
  color: inherit;
}

.afloat-reference-photos {
  margin: clamp(24px, 3.8vw, 48px) 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.6vw, 34px);
}

.afloat-reference-photos figure {
  margin: 0;
  border: 1px solid #dbe3e9;
  background: #f6f8fa;
}

.afloat-reference-photos img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.afloat-reference-photos figcaption {
  padding: 15px 18px;
  color: var(--navy);
  line-height: 1.5;
}

.afloat-photo-credit {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: var(--muted);
}

.afloat-hero-photo .afloat-photo-credit {
  color: #c9d8e0;
}

.afloat-photo-credit a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 900px) {
  .afloat-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .afloat-hero-photo img {
    height: auto;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 600px) {
  .afloat-hero-copy {
    padding: 28px 22px;
  }

  .afloat-hero h1 {
    font-size: clamp(29px, 8vw, 36px);
  }

  .afloat-reference-photos {
    grid-template-columns: minmax(0, 1fr);
  }
}
