:root {
  --green: #1f803d;
  --green-light: #c9d0d3;
  --ink: #000;
  --muted: #6b6b6b;
  --dark: #1b1b1b;
  --page-width: 1024px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #333;
  background: #fff;
  font-family: "Gothic A1", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.45;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 50%;
  display: flex;
  width: min(var(--page-width), calc(100% - 48px));
  height: 100px;
  align-items: center;
  justify-content: space-between;
  transform: translateX(-50%);
}

.brand {
  width: 120px;
}

.site-header nav {
  display: flex;
  gap: 30px;
  align-self: stretch;
  align-items: center;
}

.site-header nav a {
  color: #fff;
  font-size: 16px;
}

.site-header nav a:hover,
.site-header nav a:focus-visible {
  opacity: .72;
}

.hero {
  position: relative;
  min-height: 720px;
  height: 100vh;
  overflow: hidden;
  background: linear-gradient(135deg, var(--green-light), var(--green));
}

.hero-inner {
  position: relative;
  width: min(var(--page-width), calc(100% - 48px));
  height: 100%;
  margin: 0 auto;
}

.hero-copy {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 0;
  transform: translateY(-46%);
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, .28);
}

.hero h1 {
  width: 540px;
  margin: 0 0 8px;
  font-size: 72px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -2px;
}

.hero-copy p {
  margin: 0;
  font-size: 30px;
  font-weight: 300;
  line-height: 1.47;
}

.hero-art {
  position: absolute;
  right: -90px;
  bottom: 0;
  width: 579px;
  height: 85%;
  object-fit: contain;
  object-position: center bottom;
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  bottom: 30px;
  left: 50%;
  padding: 12px;
  transform: translateX(-50%);
}

.scroll-cue img {
  width: 9px;
  height: 40px;
}

.services {
  padding: 72px max(32px, calc((100% - 1152px) / 2)) 175px;
}

.service-row {
  display: flex;
  min-height: 460px;
  align-items: center;
  justify-content: center;
}

.service-row + .service-row {
  margin-top: 144px;
}

.service-copy,
.service-visual {
  width: 446px;
}

.service-copy {
  padding: 0 51px;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 15px;
  color: #a8a8a8;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-bottom: 1px solid #6ea2e6;
}

.service-copy h2 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 38px;
  font-weight: 500;
  line-height: 1.26;
}

.service-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 30px;
}

.service-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-visual {
  height: 460px;
}

.phone-visual img {
  width: 341px;
  height: 460px;
}

.service-row-reverse {
  flex-direction: row-reverse;
  min-height: 370px;
}

.ship-visual img {
  width: 386px;
}

.contact {
  display: flex;
  height: 440px;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  background: linear-gradient(var(--green), #508f62);
}

.contact h2 {
  margin: 0 0 36px;
  font-size: 38px;
  font-weight: 500;
  line-height: 1.25;
}

.contact a {
  display: block;
  margin-top: 10px;
  font-size: 18px;
}

.contact a:hover,
.contact a:focus-visible {
  text-decoration: underline;
}

footer {
  display: flex;
  height: 145px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--dark);
}

footer img {
  width: 136px;
}

footer p {
  margin: 0;
  color: #c2c2c2;
  font-size: 14px;
}

@media (max-width: 767px) {
  .site-header {
    width: calc(100% - 40px);
    height: 82px;
  }

  .brand {
    width: 94px;
  }

  .site-header nav {
    gap: 18px;
  }

  .site-header nav a {
    font-size: 14px;
  }

  .hero {
    min-height: 700px;
  }

  .hero-inner {
    width: calc(100% - 40px);
  }

  .hero-copy {
    top: 175px;
    transform: none;
  }

  .hero h1 {
    width: auto;
    font-size: clamp(48px, 15vw, 68px);
  }

  .hero-copy p {
    font-size: 21px;
    line-height: 1.5;
  }

  .hero-art {
    right: -55px;
    width: min(520px, 118vw);
    height: 58%;
  }

  .scroll-cue {
    bottom: 12px;
  }

  .services {
    padding: 76px 28px 100px;
  }

  .service-row,
  .service-row-reverse {
    min-height: 0;
    flex-direction: column;
  }

  .service-row + .service-row {
    margin-top: 100px;
  }

  .service-copy,
  .service-visual {
    width: 100%;
  }

  .service-copy {
    padding: 0;
  }

  .service-copy h2 {
    font-size: 34px;
  }

  .service-visual {
    order: -1;
    margin-bottom: 44px;
  }

  .phone-visual {
    height: 390px;
  }

  .phone-visual img {
    width: auto;
    height: 390px;
  }

  .ship-visual img {
    width: min(340px, 100%);
  }

  .contact {
    height: 360px;
    padding: 0 20px;
  }

  .contact h2 {
    font-size: 32px;
  }

  .contact a {
    font-size: 16px;
  }
}

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