@font-face {
  font-family: Manrope;
  src: url("manrope-bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

body.coast {
  --color: #00606b;
  --accent: #a4e9e5;
  --tint: #e7f5f6;
  --ink: #12313a;
  --muted: #425e64;
  --line: #bed6da;
  --radius: 12px;
  --heading: Manrope, system-ui, sans-serif;
}

.coast h1, .coast h2, .coast h3 {
  font-weight: 700;
  letter-spacing: -.04em;
}

.coast .header {
  border-color: var(--line);
}

.coast .hero {
  padding: 0;
  background: #073943;
}

.coast .hero > .wrap {
  width: 100%;
}

.coast .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1240px) minmax(0, 1fr);
  align-items: end;
  gap: 0;
  isolation: isolate;
  overflow: hidden;
}

.coast .hero-copy {
  grid-area: 1 / 2;
  width: min(520px, 46%);
  margin: clamp(22px, 3vw, 48px) 24px;
  padding: clamp(24px, 3.8vw, 48px);
  color: white;
  background: #073943;
  border-top: 5px solid var(--accent);
  border-radius: 0 0 12px 12px;
}

.coast .hero h1 {
  font-size: clamp(2.65rem, 4.7vw, 4.5rem);
  line-height: 1.02;
  max-width: 100%;
}

.coast .hero .eyebrow {
  color: var(--accent);
}

.coast .hero .deck {
  color: #e0f2f3;
}

.coast .hero .button.secondary {
  color: #fff;
  background: transparent;
  border-color: #a4c4cb;
}

.coast .hero .button.secondary:hover {
  background: #13505c;
}

.coast .hero .button:not(.secondary) {
  background: var(--accent);
  color: var(--ink);
}

.coast .hero .button:not(.secondary):hover {
  background: #cef7f3;
}

.coast .hero-visual {
  grid-area: 1 / 1 / 2 / -1;
  align-self: stretch;
  min-height: clamp(465px, 41vw, 625px);
}

.coast .hero-visual > img {
  position: absolute;
  inset: 0;
  height: 100%;
  border-radius: 0;
  object-position: center 36%;
}

.coast .intent {
  margin: 0;
  padding-block: 22px;
  background: var(--tint);
}

.coast .intent-bar {
  border: 0;
  padding: 0;
  background: transparent;
}

.coast .intent-choices a {
  background: #fff;
}

.coast #services .service-grid {
  gap: 12px;
}

.coast #services .service-card {
  border-top: 3px solid var(--color);
  background: var(--tint);
}

.coast #services .service-card:nth-child(even) {
  background: #fff;
}

.coast .footer {
  background: var(--tint);
}

@media (max-width: 760px) {
  .coast .hero-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .coast .hero-copy {
    width: auto;
    border-radius: 0;
    margin: 0;
    padding: 30px max(20px, calc((100vw - 540px) / 2));
    border: 0;
  }

  .coast .hero h1 {
    font-size: clamp(2.65rem, 10.5vw, 4rem);
  }

  .coast .hero-visual {
    min-height: 0;
  }

  .coast .hero-visual > img {
    position: static;
    height: auto;
    aspect-ratio: 1.65;
    object-position: center 58%;
  }
}

.coast .hero h1 em {
  color: var(--accent);
}

.coast .page-hero {
  margin-top: 0;
  background: var(--tint);
  border-bottom: 4px solid var(--color);
}

.coast .page-hero img {
  border: 6px solid #fff;
  border-radius: 3px;
}

.coast .service-body .aside {
  border-top: 4px solid var(--color);
}

.home-image-guide {
  padding-block: clamp(35px, 6vw, 76px);
}

.home-image-guide h2 {
  font-family: var(--heading, var(--display));
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.1;
  margin: 0 0 12px;
}

.home-image-guide .image-guide-intro {
  max-width: 60ch;
  color: var(--muted);
  margin: 0 0 24px;
}

.image-guide-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 24px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.image-guide-list figure {
  height: 100%;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius, 10px);
  overflow: hidden;
  background: #fff;
}

.image-guide-list img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.55;
  object-fit: cover;
}

.image-guide-list figcaption {
  color: var(--ink);
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.4;
  padding: 12px 14px;
}

#services .service-preview {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.7;
  object-fit: cover;
  margin-block-end: 12px;
  border-radius: var(--radius);
}

.service-index .service-card h2 {
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  line-height: 1.16;
}

.service-index .service-card h2 a {
  display: flex;
  align-items: center;
  min-height: 44px;
}

.contact-fact h2 {
  font-size: 1.125rem;
}

@media (max-width: 720px) {
  .image-guide-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 380px) {
  .image-guide-list figcaption {
    padding: 9px 10px;
  }
}
