.services-page {
  min-height: 100vh;
  padding-top: 76px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 58% 40% at 78% 18%, rgba(200, 50, 28, .16), transparent 68%),
    radial-gradient(ellipse 48% 34% at 12% 80%, rgba(191, 154, 82, .08), transparent 68%),
    linear-gradient(180deg, rgba(10, 9, 8, .72), rgba(10, 9, 8, .98));
}

.services-hub {
  position: relative;
  min-height: calc(100vh - 76px);
  padding: clamp(4.5rem, 8vw, 7rem) 0 clamp(5rem, 8vw, 7rem);
}

.services-hub::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .02) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(ellipse 80% 75% at 50% 45%, #000 20%, transparent 100%);
}

.services-shell {
  position: relative;
  z-index: 20;
  width: min(1220px, calc(100% - 10vw));
  margin: 0 auto;
}

.services-heading {
  max-width: 760px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.services-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 1.1rem;
  color: var(--red2);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.services-eyebrow::before {
  content: "";
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, var(--red), transparent);
}

.services-heading h1 {
  margin-bottom: 1.15rem;
  font-family: var(--font-d);
  font-size: clamp(4rem, 8.5vw, 8rem);
  font-weight: 300;
  line-height: .92;
  letter-spacing: 0;
}

.services-heading p:last-child {
  max-width: 660px;
  color: rgba(245, 240, 235, .58);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  font-weight: 300;
  line-height: 1.75;
}

.service-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.4rem);
}

.service-card {
  position: relative;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.4rem, 2.6vw, 2rem);
  color: var(--white);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .1);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .045), rgba(200, 50, 28, .035)),
    rgba(8, 7, 6, .62);
  overflow: hidden;
  transition: transform .25s, border-color .25s, background .25s, box-shadow .25s;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(ellipse 70% 50% at 20% 0%, rgba(200, 50, 28, .2), transparent 70%);
  transition: opacity .25s;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(200, 50, 28, .42);
  background:
    linear-gradient(145deg, rgba(200, 50, 28, .085), rgba(191, 154, 82, .035)),
    rgba(8, 7, 6, .74);
  box-shadow: 0 28px 70px rgba(0, 0, 0, .38);
}

.service-card:hover::before {
  opacity: 1;
}

.service-media {
  position: relative;
  z-index: 1;
  width: 74px;
  height: 74px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .045);
  overflow: hidden;
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-copy {
  position: relative;
  z-index: 1;
  display: block;
}

.service-copy strong {
  display: block;
  margin-bottom: .85rem;
  font-family: var(--font-d);
  font-size: clamp(1.55rem, 2.4vw, 2.25rem);
  font-weight: 400;
  line-height: 1.08;
}

.service-copy span {
  display: block;
  color: rgba(245, 240, 235, .55);
  font-size: .94rem;
  font-weight: 300;
  line-height: 1.7;
}

.service-arrow {
  position: relative;
  z-index: 1;
  width: max-content;
  color: var(--red2);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.service-arrow::after {
  content: "";
  display: inline-block;
  width: 34px;
  height: 1px;
  margin-left: 12px;
  vertical-align: middle;
  background: linear-gradient(90deg, var(--red), transparent);
  transition: width .2s;
}

.service-card:hover .service-arrow::after {
  width: 52px;
}

@media (max-width: 1050px) {
  .service-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .services-shell {
    width: min(100% - 36px, 1220px);
  }

  .services-heading h1 {
    font-size: clamp(3.25rem, 16vw, 4.8rem);
  }

  .service-card-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 230px;
  }
}
