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

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Jost", "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 */
/* The photo runs the full width behind the copy and fades into the cream
   towards the left, so the text sits on cream rather than on the photo. */
.hero { position: relative; padding: 0; border: 0; background: var(--cloud); overflow: hidden; }
.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 32rem;
}
.hero-copy { max-width: 26rem; padding: 4rem 0; }
.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 400;
  line-height: 1.15;
}
.hero .lede { font-size: 1.05rem; margin: 0 0 1.5rem; }
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  /* fully transparent behind the copy column, solid from just past it */
  -webkit-mask-image: linear-gradient(to right, transparent calc(50% - 6rem), #000 calc(50% + 14rem));
  mask-image: linear-gradient(to right, transparent calc(50% - 6rem), #000 calc(50% + 14rem));
}
@media (max-width: 40rem) {
  .hero-inner { min-height: 0; }
  .hero-copy { padding: 2rem 0 1rem; }
  .hero-img {
    position: static;
    display: block;
    height: 16rem;
    -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; }
/* the board's double-wave symbol, as a quiet watermark behind the strip */
.services { position: relative; overflow: hidden; }
.services .wrap { position: relative; }
.services .waves {
  position: absolute;
  top: -2.5rem;
  right: -2rem;
  width: 17rem;
  fill: var(--coast);
  opacity: .35;
  pointer-events: none;
}
@media (max-width: 40rem) {
  .services .waves { width: 12rem; right: -2rem; top: 1rem; }
}
.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 h3 {
  margin: 0 0 .5rem;
  font-size: .8rem;
  font-weight: 400;
  letter-spacing: .2em;
}
.services li p {
  margin: 0;
  font-size: .9rem;
  letter-spacing: 0;
  line-height: 1.5;
  text-transform: none;
  color: var(--sand);
}
.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;
}

/* Recent work */
.work-feature {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.work-shot { margin: 0; }
.work-shot img { display: block; width: 100%; height: auto; border-radius: .75rem; box-shadow: 0 .5rem 1.5rem rgb(15 42 58 / .15); }
.work-shot-placeholder {
  display: grid;
  place-items: center;
  aspect-ratio: 3 / 2;
  border-radius: .75rem;
}
.work-copy h3 { margin: 0 0 .5rem; font-size: 1.4rem; font-weight: 400; }
.work-results { padding-left: 1.2rem; }
.work-link { color: var(--coast); letter-spacing: .1em; text-transform: uppercase; font-size: .85rem; }
@media (max-width: 40rem) {
  .work-feature { grid-template-columns: 1fr; }
}

/* FAQ */
details { border-bottom: 1px solid var(--sand); padding: .75rem 0; }
summary { cursor: pointer; font-weight: 500; }
details p { margin: .5rem 0 0; }

.contact { list-style: none; padding: 0; }
.contact li { margin-bottom: .35rem; }
.contact a { color: var(--coast); }

/* Placeholder content still to be filled in before launch */
.todo { background: #fff3a8; color: var(--deep-sea); }

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

footer {
  padding: 2.5rem 0;
  text-align: center;
  font-size: .8rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  background: var(--deep-sea);
  color: var(--sand);
}
footer img { display: block; width: 10rem; height: auto; margin: 0 auto 1rem; }
footer p { margin: .25rem 0; }
footer .credit {
  margin-top: 1.5rem;
  font-size: .7rem;
  letter-spacing: .05em;
  text-transform: none;
  color: var(--stone);
}
footer .credit a { color: inherit; }
