.gallery-page {
  background: #f4f6f8;
}

.gallery-page .site-header nav a.active::after {
  width: 100%;
}

.gallery-page-hero {
  position: relative;
  padding: 86px 9vw 76px;
  overflow: hidden;
  background: #071b30;
  color: #fff;
}

.gallery-page-hero::after {
  content: "R";
  position: absolute;
  right: 5vw;
  top: -115px;
  color: #fff;
  font: 800 430px Manrope, sans-serif;
  opacity: .035;
}

.gallery-page-hero > * {
  position: relative;
  z-index: 1;
}

.gallery-page-hero h1 {
  margin: 24px 0 18px;
  font: 800 clamp(54px, 7vw, 96px)/.95 Manrope, sans-serif;
  letter-spacing: -.06em;
}

.gallery-page-hero h1 em {
  color: #559cf1;
  font-style: normal;
}

.gallery-page-hero > p:not(.kicker) {
  max-width: 650px;
  color: #c6d1db;
  font-size: 16px;
  line-height: 1.75;
}

.gallery-category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.gallery-category-nav a {
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, .24);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  transition: background .2s ease, border-color .2s ease;
}

.gallery-category-nav a:hover {
  border-color: #1769d2;
  background: #1769d2;
}

.gallery-back-link {
  display: inline-block;
  margin-top: 30px;
  color: #9dc5f7;
  font-size: 12px;
  font-weight: 700;
}

.gallery-page-content {
  background: #fff;
}

.gallery-page-content .work-gallery-section:first-child {
  margin-top: 0;
}

.gallery-page-content .work-gallery-section {
  scroll-margin-top: 110px;
}

.gallery-stat {
  display: block;
  margin-top: 12px;
  color: #1769d2;
  font: 700 13px/1.5 Manrope, sans-serif;
}

@media (max-width: 900px) {
  .gallery-page-hero {
    padding: 70px 7vw 60px;
  }
}

@media (max-width: 560px) {
  .gallery-page-hero h1 {
    font-size: 54px;
  }

  .gallery-category-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}
