/* Original-photo layout and crisp, aspect-ratio-safe coastal branding. */
.masthead.masthead-sharp {
  height: 178px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #073c43;
  overflow: hidden;
}

.masthead.masthead-sharp .masthead-wide {
  display: block;
  flex: 0 0 auto;
  width: min(100%, 1087px);
  height: auto;
  max-height: 178px;
  object-fit: contain;
  object-position: center;
}

.masthead.masthead-sharp .masthead-mobile {
  display: none;
}

.hero-card .hero-card-art.hero-photo {
  background: #093f47;
  margin: 20px 0 17px;
  border-radius: 12px;
  overflow: hidden;
}

.hero-photo img {
  display: block;
  width: 100%;
  height: 350px;
  object-fit: cover;
  object-position: center 37%;
}

.about-panel.about-photo {
  display: block;
  position: relative;
  margin: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #073d44;
}

.about-panel.about-photo::after {
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  border-radius: 0;
}

.about-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  object-position: center 35%;
}

.about-photo figcaption {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 27px 24px 22px;
  background: linear-gradient(transparent, rgba(2, 29, 34, .9));
  color: #fff;
  font: 26px/1.1 'DM Serif Display', Georgia, serif;
}

.about-photo figcaption span {
  display: block;
  margin-top: 6px;
  color: #d4eeb1;
  font: 700 11px/1.4 'DM Sans', system-ui, sans-serif;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.contact-card.form-only-contact {
  max-width: 360px;
}

.form-only-contact span {
  color: #b7e88d;
  font-size: 15px;
  font-weight: 800;
}

.form-only-contact p {
  max-width: 330px;
  color: #d2e4de;
  font-size: 15px;
  line-height: 1.7;
  margin: 10px 0 0;
}

.footer-estimate-link {
  color: #c5f199 !important;
  font-weight: 800;
  font-size: 15px;
  text-decoration: underline !important;
  text-underline-offset: 5px;
}

.footer-estimate-link:hover {
  color: #fff !important;
}

@media (max-width: 720px) {
  .masthead.masthead-sharp {
    height: 160px;
    background: linear-gradient(135deg, #062f36, #0d5357);
  }

  .masthead.masthead-sharp .masthead-wide {
    display: none;
  }

  .masthead.masthead-sharp .masthead-mobile {
    display: block;
    width: min(100%, 415px);
    height: auto;
    max-height: 160px;
    object-fit: contain;
  }

  .hero-photo img {
    height: 360px;
    object-position: center 35%;
  }

  .about-photo img {
    aspect-ratio: 4 / 3;
  }
}
