.contact {
  position: relative;
  isolation: isolate;
  min-height: clamp(510px, 48vw, 690px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(82px, 9vw, 135px) clamp(22px, 9vw, 150px);
  background: url("media/shoreline.png") center 52% / cover no-repeat;
  text-align: left;
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 52, 61, .08) 0%, rgba(15, 49, 58, .16) 28%, rgba(18, 46, 55, .55) 58%, rgba(18, 42, 51, .93) 100%);
  z-index: -1;
}

.contact .kicker,
.contact h2,
.contact a {
  position: relative;
  width: min(490px, 48%);
  margin-left: auto;
}

.contact .kicker { color: #dce8e1; }
.contact h2 { color: #fff; }
.contact a { color: #dce8e1; border-color: #dce8e1; }

@media (max-width: 720px) {
  .contact { min-height: 590px; justify-content: flex-end; }
  .contact::before { background: linear-gradient(90deg, rgba(14, 51, 59, .22), rgba(18, 42, 51, .92)); }
  .contact .kicker,
  .contact h2,
  .contact a { width: 100%; margin-left: 0; }
}

.hero-index {
  right: clamp(22px, 5.5vw, 88px);
  bottom: 24px;
  width: auto;
  height: 38px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, .88);
  font: 9px "DM Mono", monospace;
  letter-spacing: .1em;
}

.hero-index img {
  display: block;
  width: 28px;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

footer {
  background: var(--teal);
  color: var(--sage);
  border-top: 1px solid rgba(220, 232, 225, .32);
}

footer .footer-logo img {
  width: 138px;
  height: 44px;
  filter: none;
}

footer > a:last-child { color: var(--sage); }

/* Compensate for the logo asset's asymmetric transparent padding. */
.header .logo img { transform: translateY(2px); }

@media (max-width: 720px) {
  .hero-index { display: none; }

  footer {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 18px 16px;
  }

  footer .footer-logo img {
    width: 58px;
    height: 34px;
  }

  footer > span,
  footer > a:last-child { white-space: nowrap; }
}
