.service-visual {
  margin: 82px 0 0;
  overflow: hidden;
  border: 1px solid #d5e8ec;
  background: #eaf9fb;
}

.service-visual img {
  display: block;
  width: 100%;
  height: auto;
}

.service-visual figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: #fff;
  color: #526970;
  font: 10px/1.4 "DM Mono", monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.service-visual figcaption span {
  color: #00aeca;
}

.service-showcase {
  padding: 4px 0 114px;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.showcase-card {
  display: block;
  color: #102532;
  text-decoration: none;
  border: 1px solid #d5e8ec;
  background: #eaf9fb;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.showcase-card:hover {
  transform: translateY(-5px);
  border-color: #00aeca;
  box-shadow: 0 18px 32px rgba(15, 37, 50, .09);
}

.showcase-card figure {
  margin: 0;
}

.showcase-card img {
  display: block;
  width: 100%;
  height: auto;
}

.showcase-card figcaption {
  padding: 18px 20px 20px;
  background: #fff;
}

.showcase-card figcaption span {
  display: block;
  margin-bottom: 11px;
  color: #00aeca;
  font: 10px/1.4 "DM Mono", monospace;
  letter-spacing: .08em;
}

.showcase-card figcaption strong {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  font-size: 17px;
  line-height: 1.25;
}

.showcase-card figcaption i {
  color: #00aeca;
  font-size: 22px;
  font-style: normal;
  font-weight: 400;
}

.journal-card.has-visual {
  justify-content: flex-start;
}

.journal-visual {
  display: block;
  width: calc(100% + 48px);
  height: auto;
  margin: -25px -24px 23px;
  border-bottom: 1px solid #d5e8ec;
}

.about-portrait {
  margin: 0 0 28px;
  border: 1px solid #d5e8ec;
  background: #eaf9fb;
}

.about-portrait img {
  display: block;
  width: 100%;
  height: auto;
}

.about {
  background: #e2f6fa !important;
}

.portfolio-gallery {
  padding: 112px 0 116px;
  overflow: hidden;
  background: #fff;
}

.services,
.process {
  background: #e2f6fa !important;
  box-shadow: 0 0 0 100vmax #e2f6fa;
  clip-path: inset(0 -100vmax);
}

.intro-band,
.local-area {
  background: #e2f6fa !important;
}

.gallery-heading {
  margin-bottom: 38px;
}

.gallery-heading-side {
  display: flex;
  align-items: flex-end;
  gap: 28px;
}

.gallery-heading-side > p {
  width: 260px;
  margin: 0 0 4px;
  color: #61727c;
  font-size: 12px;
  line-height: 1.7;
}

.gallery-controls {
  display: flex;
  gap: 8px;
}

.gallery-controls button {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  border: 1px solid #bddfe5;
  background: #fff;
  color: #102532;
  cursor: pointer;
  font-size: 20px;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.gallery-controls button:hover {
  border-color: #00aeca;
  background: #00aeca;
}

.gallery-rail {
  display: grid;
  grid-auto-columns: minmax(280px, 34vw);
  grid-auto-flow: column;
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 0 0 18px;
  scroll-behavior: smooth;
  scroll-snap-type: inline mandatory;
  scrollbar-color: #00aeca #d5e8ec;
  scrollbar-width: thin;
}

.gallery-card {
  display: grid;
  grid-template-rows: auto minmax(70px, auto);
  margin: 0;
  overflow: hidden;
  border: 1px solid #d5e8ec;
  background: #fff;
  scroll-snap-align: start;
}

.gallery-media {
  display: grid;
  aspect-ratio: 3 / 2;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  place-items: center;
  background: #e7f5f7;
}

.gallery-card img {
  display: block;
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-card figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 15px;
  color: #536970;
  font: 10px/1.4 "DM Mono", monospace;
  letter-spacing: .08em;
}

.gallery-card figcaption span {
  color: #00aeca;
}

@media (max-width: 760px) {
  .service-visual {
    margin-top: 48px;
  }

  .service-visual figcaption {
    padding: 13px 14px;
    font-size: 8px;
  }

  .service-showcase {
    padding: 0 0 74px;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .showcase-card figcaption {
    padding: 15px;
  }

  .journal-visual {
    width: calc(100% + 44px);
    margin: -25px -22px 21px;
  }

  .about-portrait {
    max-width: 235px;
    margin-bottom: 24px;
  }

  .portfolio-gallery {
    padding: 74px 0;
  }

  .gallery-heading-side {
    display: block;
    margin-top: 22px;
  }

  .gallery-heading-side > p {
    width: auto;
    margin-bottom: 20px;
  }

  .gallery-rail {
    grid-auto-columns: minmax(255px, 78vw);
    gap: 12px;
    padding-bottom: 15px;
  }
}
