:root {
  --deep-sea: #0f2a3a;
  --coast: #3a687f;
  --sand: #d7e0e1;
  --cloud: #f7f6f1;
  --stone: #c4b7a6;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  line-height: 1.65;
  color: var(--deep-sea);
  background: var(--cloud);
}

.wrap { max-width: 56rem; margin: 0 auto; padding: 0 1.5rem; }

/* Nav */
.nav { background: var(--cloud); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  padding-top: .75rem;
  padding-bottom: .75rem;
}
.nav-logo img { display: block; width: 8.5rem; height: auto; }
.nav nav { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1.5rem; }
.nav nav a:not(.button) {
  color: var(--deep-sea);
  text-decoration: none;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.nav nav a:not(.button):hover { color: var(--coast); }

/* Hero */
.hero { padding: 0; border: 0; background: var(--cloud); overflow: hidden; }
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 24rem;
}
.hero-copy { align-self: center; padding: 3rem 0; position: relative; z-index: 1; }
.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 300;
  line-height: 1.15;
}
.hero .lede { font-size: 1.05rem; margin: 0 0 1.5rem; }
.hero-img {
  width: 100%;
  height: 100%;
  min-height: 16rem;
  object-fit: cover;
  object-position: center;
  /* fade the photo into the cream on its left edge */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 35%);
  mask-image: linear-gradient(to right, transparent, #000 35%);
}
@media (max-width: 40rem) {
  .hero-inner { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 2rem 0 1rem; }
  .hero-img {
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 35%);
    mask-image: linear-gradient(to bottom, transparent, #000 35%);
  }
}

.button {
  display: inline-block;
  padding: .75rem 1.75rem;
  border-radius: 999px;
  background: var(--coast);
  color: var(--cloud);
  text-decoration: none;
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.button:hover, .button:focus-visible { background: #4b7c95; }
.button.small { padding: .5rem 1.25rem; font-size: .75rem; }

/* Sections */
section { padding: 3.5rem 0; }
section + section { border-top: 1px solid var(--sand); }
h2 {
  margin: 0 0 1rem;
  font-size: .95rem;
  font-weight: 400;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--coast);
}
.lede { font-size: 1.35rem; font-weight: 300; max-width: 36rem; }

/* Services strip */
.services { background: var(--deep-sea); color: var(--cloud); border: 0; }
.services h2 { color: var(--stone); }
.services ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 1.5rem;
}
.services li {
  padding-top: 1.25rem;
  border-top: 2px solid var(--coast);
  font-size: .8rem;
  letter-spacing: .2em;
  text-align: center;
  text-transform: uppercase;
}
.services .icon {
  display: block;
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  fill: none;
  stroke: var(--sand);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.steps { padding-left: 1.2rem; }
.steps li { margin-bottom: .5rem; }

footer {
  padding: 2rem 0;
  text-align: center;
  font-size: .8rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--coast);
}
