:root {
  --brand-blue: #1c5a7b;
  --brand-navy: #0b293b;
  --brand-green: #58ad38;
  --brand-earth: #a96136;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #fff;
  color: #102a3a;
}

::selection {
  background: #70c54a;
  color: #0b293b;
}

.brand-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 36px 36px;
}

.earth-lines {
  background-image:
    radial-gradient(circle at 50% 130%, transparent 0 32%, rgba(88, 173, 56, .18) 32.3% 32.8%, transparent 33.1% 41%, rgba(28, 90, 123, .12) 41.3% 41.8%, transparent 42.1%);
}

.page-hero::after {
  position: absolute;
  right: -12rem;
  bottom: -18rem;
  width: 36rem;
  height: 36rem;
  border: 1px solid rgba(112, 197, 74, .24);
  border-radius: 9999px;
  content: '';
}

.page-hero::before {
  position: absolute;
  right: -5rem;
  bottom: -11rem;
  width: 24rem;
  height: 24rem;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 9999px;
  content: '';
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s ease, transform .65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card {
  position: relative;
  overflow: hidden;
}

.service-card::after {
  position: absolute;
  right: -3rem;
  bottom: -3rem;
  width: 8rem;
  height: 8rem;
  border: 1px solid rgba(28, 90, 123, .12);
  border-radius: 9999px;
  content: '';
  transition: transform .35s ease;
}

.service-card:hover::after {
  transform: scale(1.25);
}

.nav-link[aria-current='page'] {
  color: #58ad38;
}

.nav-link[aria-current='page']::after {
  width: 100%;
}

.field {
  width: 100%;
  border: 1px solid #cbd9df;
  background: #fff;
  padding: .9rem 1rem;
  color: #102a3a;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.field:focus {
  border-color: #1c5a7b;
  box-shadow: 0 0 0 3px rgba(28, 90, 123, .12);
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 100;
  background: #70c54a;
  padding: .75rem 1rem;
  color: #0b293b;
  font-weight: 800;
  transition: top .2s ease;
}

.skip-link:focus {
  top: 1rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
