.section {
  padding-block: var(--space-8);
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .section {
    padding-block: var(--space-9);
  }
}

@media (min-width: 1024px) {
  .section {
    padding-block: var(--space-10);
  }
}

.section--tight { padding-block: var(--space-7); }

.section--tight-bottom { padding-block-end: var(--space-6); }
.section--tight-top { padding-block-start: var(--space-6); }

@media (min-width: 1024px) {
  .section--tight-bottom { padding-block-end: var(--space-7); }
  .section--tight-top { padding-block-start: var(--space-7); }
}
.section--blue { background: var(--color-blue); color: var(--color-white); }
.section--blue h2 { color: var(--color-yellow); }
.section--tint { background: var(--color-blue-tint); }

.section__heading {
  text-align: left;
  margin-bottom: var(--space-5);
}

#services .section__heading {
  font-size: clamp(2.6rem, 6.5vw, 4.225rem);
  font-weight: 500;
}

#services .section__lede {
  font-size: 1.4rem;
}

.section__lede {
  font-size: var(--fs-600);
  color: #333333;
  max-width: 60ch;
  margin-bottom: var(--space-7);
}

.section--blue .section__lede {
  color: var(--color-white);
}

.services-region {
  position: relative;
  overflow-x: clip;
}

.decor-bolts {
  position: absolute;
  top: var(--space-8);
  bottom: 0;
  right: -5%;
  width: 40%;
  height: auto;
  object-fit: contain;
  object-position: right top;
  pointer-events: none;
  z-index: 0;
}

@media (min-width: 768px) {
  .decor-bolts { top: var(--space-9); }
}

@media (min-width: 1024px) {
  .decor-bolts { top: var(--space-10); }
}

.section > .container,
.section > .section__inner {
  position: relative;
  z-index: 1;
}

.section__inner {
  width: 100%;
  padding-left: clamp(2rem, 12vw, 16rem);
  padding-right: clamp(1.5rem, 4vw, 4rem);
}

.section__inner--narrow {
  max-width: clamp(34.5rem, 71vw, 78rem);
}

.split {
  display: grid;
  gap: var(--space-6);
}

.split--wide {
  padding-left: clamp(1.5rem, 6vw, 7rem);
  padding-right: clamp(2.7rem, 10.8vw, 12.6rem);
}

@media (min-width: 768px) {
  .split {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--space-8);
  }

  .split--wide {
    align-items: start;
  }
}

.split__content h2 {
  font-weight: 900;
}

.split__content p {
  font-size: var(--fs-500);
  color: #333333;
  margin-bottom: var(--space-6);
}

.split__content .button {
  font-size: 1.755rem;
}

.split__media img {
  width: 100%;
  border-radius: var(--radius-md);
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.hero {
  position: relative;
  margin-top: calc(-1 * var(--header-height));
  aspect-ratio: 11 / 5;
  min-height: 0;
  display: flex;
  align-items: flex-end;
  color: var(--color-white);
  overflow: hidden;
  isolation: isolate;
}

.hero__media,
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(38, 38, 38, 0.95) 0%,
      rgba(38, 38, 38, 0.85) 25%,
      rgba(99, 99, 99, 0.65) 55%,
      rgba(99, 99, 99, 0.25) 85%,
      rgba(99, 99, 99, 0) 100%);
  z-index: -1;
}

.hero__content {
  width: 100%;
  padding: var(--space-8) clamp(1.5rem, 7vw, 9rem) var(--space-9);
}

.hero h1 {
  color: var(--color-white);
  max-width: 14ch;
  margin-bottom: var(--space-6);
  font-size: clamp(3rem, 8.5vw, 6.5rem);
  line-height: 1.02;
}

@media (min-width: 1024px) {
  .hero__content { padding-block: 0 clamp(8rem, 14vh, 12rem); }
}

.hero__media img {
  object-position: right top;
}


@media (max-width: 767px) {
  .decor-bolts,
  .site-footer__decor {
    display: none;
  }

  .hero {
    aspect-ratio: auto;
    min-height: 85svh;
  }


  .hero__content {
    padding-bottom: var(--space-5);
  }

  .hero::before {
    background:
      linear-gradient(180deg,
        rgba(99, 99, 99, 0.95) 0%,
        rgba(99, 99, 99, 0.55) 45%,
        rgba(99, 99, 99, 0.20) 80%,
        rgba(99, 99, 99, 0) 100%);
  }

  .hero h1 {
    font-size: 2.5rem;
    margin-bottom: var(--space-5);
  }

  .section__inner {
    padding-inline: var(--space-5);
  }

  .split--wide {
    padding-inline: var(--space-5);
  }

  .section__lede {
    font-size: var(--fs-400);
  }

  #services .section__heading {
    font-size: var(--fs-700);
  }

  #services .section__lede {
    font-size: var(--fs-300);
  }

  .split__content p {
    font-size: var(--fs-400);
  }

  .split__content .button {
    font-size: var(--fs-300);
  }

}
