:root {
  color-scheme: dark;
  --navy-950: #030d18;
  --navy-900: #061729;
  --blue: #0d52cb;
  --cyan: #56b9f2;
  --white: #f7fbff;
  --muted: #b9c9d9;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--navy-950);
}

body {
  color: var(--white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.hero {
  isolation: isolate;
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 74% 38%, rgba(13, 82, 203, .18), transparent 33%),
    var(--navy-950);
}

.hero__image,
.hero__wash {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__image {
  background: url("/assets/hero-water-operations.webp") 68% center / cover no-repeat;
  animation: settle 1.5s ease-out both;
}

.hero__wash {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(3, 13, 24, .98) 0%, rgba(3, 13, 24, .90) 34%, rgba(3, 13, 24, .46) 62%, rgba(3, 13, 24, .16) 100%),
    linear-gradient(0deg, rgba(3, 13, 24, .84) 0%, transparent 44%, rgba(3, 13, 24, .22) 100%);
}

.shell {
  width: min(100% - 72px, 1380px);
  min-height: 100svh;
  margin-inline: auto;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 0 0 30px;
}

.brand {
  display: flex;
  align-items: center;
  min-height: 138px;
  margin-inline: calc(50% - 50vw);
  padding: 20px max(36px, calc((100vw - 1380px) / 2));
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 12px 46px rgba(0, 0, 0, .24);
}

.brand__logo {
  display: block;
  width: clamp(245px, 22vw, 330px);
  height: auto;
}

.message {
  align-self: center;
  max-width: 700px;
  padding-block: 64px;
}

.eyebrow {
  margin: 0 0 24px;
  color: #90cfff;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .21em;
  text-transform: uppercase;
}

.eyebrow span {
  display: inline-block;
  width: 38px;
  height: 2px;
  margin: 0 12px 4px 0;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

h1 {
  margin: 0;
  max-width: 680px;
  font-size: clamp(3.15rem, 6.4vw, 6.8rem);
  font-weight: 760;
  letter-spacing: -.058em;
  line-height: .94;
  text-wrap: balance;
}

.intro {
  max-width: 590px;
  margin: 30px 0 34px;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.22rem);
  line-height: 1.7;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 17px 12px 12px;
  border: 1px solid rgba(132, 198, 255, .2);
  border-radius: 999px;
  background: rgba(8, 27, 48, .58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 15px 50px rgba(0, 0, 0, .2);
  backdrop-filter: blur(12px);
}

.status__mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #1265ed, #08348b);
  box-shadow: 0 0 30px rgba(37, 132, 255, .3);
}

.status svg {
  width: 23px;
  fill: none;
  stroke: white;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.status strong,
.status small {
  display: block;
}

.status strong {
  font-size: .87rem;
  letter-spacing: .03em;
}

.status small {
  margin-top: 3px;
  color: #91a9bd;
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero__footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: #7f94a8;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.hero__footer p {
  margin: 0;
}

.hero__footer a {
  color: #9cb2c6;
  text-decoration: none;
  transition: color .2s ease;
}

.hero__footer a:hover,
.hero__footer a:focus-visible {
  color: white;
}

.contact {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 0%, rgba(13, 82, 203, .14), transparent 32rem),
    linear-gradient(145deg, #071a2c, #030d18 62%);
}

.contact::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  opacity: .18;
  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: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

.contact__shell {
  position: relative;
  width: min(100% - 72px, 1380px);
  margin-inline: auto;
  padding: clamp(86px, 10vw, 150px) 0 38px;
}

.contact__heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, auto);
  gap: 12px 60px;
  align-items: end;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(152, 190, 223, .18);
}

.contact__heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 10px;
}

h2 {
  margin: 0;
  max-width: 700px;
  font-size: clamp(2.7rem, 5.8vw, 5.7rem);
  letter-spacing: -.052em;
  line-height: .95;
}

.address {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  color: #d9e5ef;
  font-size: .98rem;
  line-height: 1.55;
  text-decoration: none;
}

.address__label {
  color: #69b9ff;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.contact__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-block: 1px clamp(90px, 11vw, 150px);
  background: rgba(152, 190, 223, .15);
}

.person {
  min-width: 0;
  min-height: 255px;
  padding: clamp(28px, 3vw, 46px);
  background: rgba(4, 16, 28, .93);
  transition: background .2s ease, transform .2s ease;
}

.person--lead {
  grid-column: 1 / -1;
  min-height: 220px;
  background:
    linear-gradient(100deg, rgba(13, 82, 203, .26), rgba(4, 16, 28, .94) 58%),
    rgba(4, 16, 28, .93);
}

.person:hover {
  background-color: #0a2137;
}

.person__role {
  min-height: 2.4em;
  margin: 0 0 18px;
  color: #69b9ff;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.person h3 {
  margin: 0 0 26px;
  font-size: clamp(1.5rem, 2.6vw, 2.35rem);
  letter-spacing: -.035em;
}

.person a {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-top: 8px;
  color: #b7c8d8;
  font-size: clamp(.82rem, 1.15vw, .96rem);
  overflow-wrap: anywhere;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  transition: color .2s ease, text-decoration-color .2s ease;
}

.person a:hover,
.person a:focus-visible,
.address:hover,
.address:focus-visible {
  color: white;
  text-decoration-color: #69b9ff;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: #70869a;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}

.site-footer p:first-child {
  color: #a8bdd0;
  font-style: italic;
  letter-spacing: .24em;
}

@keyframes settle {
  from { opacity: 0; transform: scale(1.025); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 720px) {
  .hero__image {
    background-position: 66% center;
    opacity: .74;
  }

  .hero__wash {
    background:
      linear-gradient(90deg, rgba(3, 13, 24, .97) 0%, rgba(3, 13, 24, .69) 100%),
      linear-gradient(0deg, rgba(3, 13, 24, .94) 0%, transparent 58%);
  }

  .shell {
    width: min(100% - 40px, 1380px);
    padding: 0 0 24px;
  }

  .brand {
    min-height: 104px;
    padding: 14px 20px;
  }

  .brand__logo {
    width: 226px;
  }

  .message {
    padding-block: 52px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  .intro {
    margin-top: 24px;
  }

  .hero__footer {
    display: grid;
    gap: 7px;
    line-height: 1.4;
  }

  .contact__shell {
    width: min(100% - 40px, 1380px);
    padding-top: 76px;
  }

  .contact__heading {
    grid-template-columns: 1fr;
    padding-bottom: 38px;
  }

  .contact__heading .eyebrow {
    grid-column: auto;
  }

  .address {
    margin-top: 24px;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    margin-bottom: 74px;
  }

  .person--lead {
    grid-column: auto;
  }

  .person,
  .person--lead {
    min-height: 0;
    padding: 30px 25px 34px;
  }

  .person__role {
    min-height: 0;
  }

  .site-footer {
    display: grid;
    gap: 12px;
    line-height: 1.55;
  }
}

@media (max-height: 700px) and (min-width: 721px) {
  .shell {
    padding-bottom: 26px;
  }

  .brand {
    min-height: 106px;
    padding-block: 12px;
  }

  .brand__logo {
    width: 240px;
  }

  .message {
    padding-block: 36px;
  }

  h1 {
    font-size: clamp(3.8rem, 8.5vh, 5.6rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__image {
    animation: none;
  }
}
