html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
}

.font-display {
  font-family: 'DM Sans', sans-serif;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 50;
  transform: translateY(-160%);
  border-radius: 9999px;
  background: #ffffff;
  padding: 0.75rem 1rem;
  color: #102a43;
  font-weight: 600;
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.brand-mark {
  display: inline-flex;
  height: 2rem;
  width: 2rem;
  align-items: flex-end;
  gap: 0.17rem;
  border-radius: 0.55rem;
  background: #ffffff;
  padding: 0.45rem;
}

.brand-mark span {
  display: block;
  width: 0.24rem;
  border-radius: 9999px;
  background: #c76b4b;
}

.brand-mark span:nth-child(1) { height: 40%; }
.brand-mark span:nth-child(2) { height: 70%; background: #1f5d76; }
.brand-mark span:nth-child(3) { height: 100%; background: #102a43; }

.nav-link {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 160ms ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  color: #ffffff;
}

.hero-section {
  min-height: 720px;
}

.eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  line-height: 1.4;
  text-transform: uppercase;
}

.section-pad {
  padding-bottom: 6rem;
  padding-top: 6rem;
}

.service-card:hover p {
  color: rgba(226, 232, 240, 0.76);
}

.service-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(16, 42, 67, 0.2);
  border-radius: 9999px;
  color: #c76b4b;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  height: 2.75rem;
  width: 2.75rem;
}

.service-card:hover .service-number {
  border-color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 640px) {
  .section-pad {
    padding-bottom: 4.5rem;
    padding-top: 4.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
