:root {
  --paper: #fff;
  --leaf: #e5f1ef;
  --rule: #d9e1e0;
}

body {
  background: var(--paper);
}

.wrap {
  width: min(1280px, calc(100% - clamp(36px, 9vw, 144px)));
}

.site-header {
  background: var(--paper);
  border-color: var(--rule);
}

.site-header .wrap {
  min-height: 76px;
  gap: 24px;
}

.site-header nav {
  gap: clamp(16px, 2.1vw, 32px);
}

.site-header nav a {
  white-space: nowrap;
}

.site-header .menu {
  background: transparent;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}

.site-header .menu[hidden] {
  display: none;
}

.btn {
  min-height: 48px;
  border-radius: 6px;
  padding: 12px 18px;
  font-size: 0.875rem;
  box-shadow: none;
  transition: background-color .18s ease, border-color .18s ease;
}

.btn:hover,
.btn.alt:hover {
  box-shadow: none;
  transform: none;
}

.btn.alt {
  background: transparent;
  border-color: var(--secondary);
}

.quiet-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 44px;
  color: var(--mid);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: .26em;
  text-decoration-color: var(--secondary);
}

.quiet-link:hover {
  color: var(--hover);
  text-decoration-thickness: 2px;
}

.eyebrow {
  margin-bottom: 16px;
  font-size: 0.8125rem;
  letter-spacing: .11em;
}

.subhero {
  background: var(--mist);
  border-color: var(--rule);
  padding-block: clamp(36px, 6vw, 94px);
}

.subhero h1 {
  max-width: 17ch;
}

.subhero .lead {
  max-width: 56ch;
}

:is(.form, .resource, .tool-card, .democard, .workflow) {
  background: white;
  border-color: var(--rule);
  border-radius: 8px;
}

:is(.editorial, .industry) img,
.industry-illustration {
  border-radius: 5px;
}

.closing {
  background: var(--leaf);
  border-color: var(--rule);
}

.closegrid > .btn {
  flex-shrink: 0;
}

footer {
  border-color: var(--rule);
}

footer a:not(.brand) {
  width: fit-content;
  padding-block: 8px;
  margin: 0;
}

footer a:not(.brand):hover {
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--hover);
  outline-offset: 3px;
}

@media (min-width: 1100px) {
  .site-header nav {
    display: flex;
    position: static;
    padding: 0;
    flex-direction: row;
    align-items: center;
    background: transparent;
    border: 0;
  }

  .site-header nav a {
    min-height: 44px;
    padding: 11px 0;
  }

  .site-header nav a[aria-current="page"]::after {
    display: block;
  }

  .site-header .menu,
  .site-header .nav-extra,
  .site-header nav a[href="/contact"] {
    display: none;
  }

  .site-header .header-cta {
    display: inline-flex;
    white-space: nowrap;
  }
}

@media (max-width: 1099px) {
  .site-header {
    position: relative;
  }

  .site-header .wrap {
    min-height: 68px;
    flex-wrap: wrap;
  }

  .site-header .header-cta {
    display: none;
  }

  .site-header nav {
    position: static;
    display: grid;
    width: 100%;
    padding: 0 0 16px;
    gap: 0;
    background: transparent;
    border: 0;
    grid-template-columns: repeat(auto-fit, minmax(min(132px, 100%), 1fr));
  }

  .site-header nav a {
    padding: 11px 10px;
  }

  .site-header.menu-ready nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: auto;
    padding: 12px max(18px, 4.5vw) 16px;
    background: var(--paper);
    border-block: 1px solid var(--rule);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: 75dvh;
    overflow-y: auto;
  }

  .site-header.menu-ready nav:not(.open) {
    display: none;
  }

  .site-header nav a[aria-current="page"] {
    border-radius: 4px;
    background: var(--mist);
  }

  html {
    scroll-padding-top: 16px;
  }

  .service-row {
    scroll-margin-top: 15px;
  }

}

.missing-page {
  min-height: 72vh;
}

.missing-page h1 {
  margin-top: clamp(40px, 7vw, 96px);
}

:is(.subhero, .closing) {
  padding-inline: clamp(18px, 4.5vw, 72px);
}

:is(.subhero, .closing) > .wrap {
  width: min(1280px, 100%);
}

.wfhead,
.wfnode small,
.wfdashed,
.wflegend,
.tool-step {
  font-size: .8125rem;
}

.service-title {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  column-gap: 10px;
}

.service-title .icon {
  width: 28px;
  height: 28px;
  background: transparent;
}

.service-title h2 {
  margin-top: 0;
}

.service-title p {
  grid-column: 1 / -1;
  margin-top: 4px;
}

@media (max-width: 400px) {
  .wfrow,
  .tool-diagram {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .connector,
  .tool-edge {
    justify-self: center;
    height: 12px;
    width: 0;
    border: 0;
    border-left: 2px dotted var(--secondary);
  }

  .connector::after {
    display: none;
  }

  .wfnode {
    min-height: 48px;
    padding: 8px 12px;
  }
}

:is(.home-services, .home-approach, .home-explore, .closing) h2 {
  text-wrap: balance;
}

.maptop,
.mapbottom,
.node small,
.timeline .num {
  font-size: .8125rem;
}

.subhero .eyebrow {
  font-size: .875rem;
  text-transform: none;
  letter-spacing: .02em;
}

@font-face {
  font-family: Manrope;
  src: url('/assets/manrope-latin.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: Outfit;
  src: url('/assets/outfit-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

h1,
h2,
h3 {
  font-family: Manrope, InterDisplay, Inter, sans-serif;
  letter-spacing: -.038em;
}

.site-header :is(nav, .menu, .header-cta) {
  font-family: Outfit, Inter, sans-serif;
}

.site-header {
  background: var(--paper);
}

.brand {
  display: inline-grid;
  align-items: center;
  min-height: 44px;
}

.brand img {
  display: block;
  width: clamp(144px, 13vw, 172px);
  height: auto;
  border-radius: 8px;
}

.btn {
  border-radius: 9px;
}

.btn.alt {
  background: var(--paper);
}

:is(.form, .resource, .tool-card, .democard, .workflow) {
  border-radius: 16px;
}

.coast-hero {
  position: relative;
  isolation: isolate;
  padding-block: clamp(40px, 5vw, 74px) clamp(76px, 8vw, 118px);
  background: #f1f8f9;
}

.coast-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 36px 32px;
}

.coast-copy {
  align-self: center;
  z-index: 1;
}

.coast-copy .eyebrow {
  margin-bottom: 15px;
  color: var(--mid);
}

.coast-copy h1 {
  font-weight: 750;
  font-size: clamp(3.35rem, 4.65vw, 4.25rem);
  letter-spacing: -.065em;
  line-height: 1.02;
  max-width: 17ch;
}

.coast-copy h1 em {
  font-style: normal;
  color: #226f69;
}

.coast-copy .lead {
  margin-block: 20px 0;
  max-width: 42ch;
  color: var(--ink);
  font-size: 1.0625rem;
  line-height: 1.6;
}

.coast-copy .actions {
  margin-top: 24px;
}

.coast-figure {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 42%;
  margin: 0;
}

.coast-figure picture,
.coast-figure img {
  display: block;
  width: 100%;
  height: 100%;
}

.coast-figure picture {
  mask-image: linear-gradient(to right, transparent, #000 24%);
}

.coast-figure img {
  object-fit: cover;
  object-position: 45% 52%;
}

.coast-figure figcaption {
  position: absolute;
  inset: auto 24px 92px auto;
  color: var(--harbor);
  background: var(--paper);
  border-radius: 4px;
  padding: 4px 8px;
  font-size: .8125rem;
}

.coast-wave {
  position: absolute;
  z-index: -1;
  inset: auto 0 -1px;
  width: 100%;
  height: clamp(45px, 7vw, 94px);
  pointer-events: none;
}

.coast-wave-glass { fill: var(--sea); }
.coast-wave-mist { fill: var(--mist); }
.coast-wave-paper { fill: var(--paper); }

.home-outcomes {
  grid-column: 1 / -1;
  justify-self: start;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 13px 6px 13px 0;
  border-radius: 10px;
  background: #f1f8f9;
}

.home-outcomes li {
  align-items: center;
  padding-inline: 15px;
  margin: 0;
  font-size: .875rem;
  line-height: 1.35;
}

.home-outcomes li:first-child {
  padding-left: 0;
}

.home-outcomes li + li {
  border-left: 1px solid var(--rule);
}

.home-outcomes li svg {
  width: 25px;
  height: 25px;
  margin: 0;
  color: var(--mid);
}

.home-outcomes strong,
.home-outcomes li span span {
  display: block;
}

.home-services {
  padding-block: clamp(30px, 4vw, 58px);
}

.home-services .sectionhead {
  margin: 0 auto 28px;
  text-align: center;
}

.home-services .sectionhead .lead {
  margin: 12px auto 0;
}

.home-services h2,
.home-industries h2,
.home-beach h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  text-wrap: balance;
}

.home-service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.home-service {
  padding: 19px 17px 21px;
  border: 1px solid var(--rule);
  border-radius: 16px;
  background: var(--warm);
}

.home-service:hover,
.home-industry:hover {
  border-color: var(--secondary);
}

.home-service h3 {
  margin-block: 12px 7px;
  font-size: clamp(1.1875rem, 1.45vw, 1.375rem);
  text-wrap: balance;
}

.home-service p {
  color: var(--muted);
  line-height: 1.48;
}

.home-service .icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--mist);
}

.home-industries {
  padding-block: clamp(32px, 4vw, 58px);
}

.home-industry-layout {
  display: grid;
  grid-template-columns: minmax(190px, .85fr) minmax(0, 3fr);
  align-items: center;
  gap: 28px;
}

.home-industry-intro {
  border-left: 3px solid var(--sea);
  padding-left: 18px;
}

.home-industry-intro h2 {
  font-size: clamp(1.875rem, 2.9vw, 2.625rem);
}

.home-industry-intro p {
  margin-top: 12px;
  color: var(--muted);
}

.home-industry-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.home-industry {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: var(--warm);
  text-align: center;
}

.home-industry img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 3;
  object-fit: cover;
}

.home-industry span {
  display: grid;
  align-items: center;
  min-height: 60px;
  padding: 8px;
  color: var(--harbor);
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.3;
}

.home-closing {
  padding-block: 14px clamp(44px, 6vw, 80px);
}

.home-beach {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px 32px;
  padding: clamp(30px, 4.1vw, 59px) clamp(24px, 4.6vw, 66px) clamp(68px, 7vw, 105px) 25%;
  border-radius: 22px;
  background:
    radial-gradient(ellipse 82% 85% at 66% 20%, #f6f7f7 58%, #f6f7f7ed 68%, #f6f7f700 99%),
    url('/assets/carolina-shoreline.webp') center 55% / cover no-repeat,
    var(--mist);
}

.home-beach p {
  color: var(--ink);
  margin-top: 13px;
  max-width: 57ch;
}

.home-beach .btn {
  justify-self: start;
}

.industry[id] {
  scroll-margin-block-start: 12px;
}

@media (max-width: 1160px) {
  .home-industry-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1000px) {
  .home-service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .coast-hero {
    padding-block: 38px 58px;
  }

  .coast-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .coast-copy h1 {
    max-width: 15ch;
    font-size: clamp(2.75rem, 8.4vw, 4rem);
  }

  .coast-figure {
    position: relative;
    z-index: auto;
    inset: auto;
  }

  .coast-figure picture {
    height: auto;
    mask-image: none;
  }

  .coast-figure img {
    height: auto;
    aspect-ratio: 2 / 1;
    border-radius: 12px;
  }

  .coast-figure figcaption {
    position: static;
    margin-top: 6px;
    background: transparent;
    padding: 0;
    color: var(--muted);
  }

  .home-outcomes {
    grid-column: 1;
  }
}

@media (max-width: 700px) {
  .home-industry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-beach {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px 22px 92px;
    background-image:
      linear-gradient(to bottom, #f6f7f7 0 58%, #f6f7f700 88%),
      url('/assets/carolina-shoreline.webp');
    background-size: cover;
    background-position: 28% 63%;
  }
}

@media (max-width: 600px) {
  .coast-copy h1 {
    font-size: clamp(2.4rem, 11vw, 3rem);
    max-width: 12ch;
  }

  .coast-copy .actions {
    gap: 9px;
  }

  .coast-copy .actions .btn {
    width: auto;
  }

  .coast-figure img {
    aspect-ratio: 1.55;
  }

  .home-outcomes {
    grid-template-columns: 1fr;
    justify-self: stretch;
    padding: 0;
  }

  .home-outcomes li,
  .home-outcomes li:first-child {
    padding: 10px 0;
  }

  .home-outcomes li + li {
    border-left: 0;
    border-top: 1px solid var(--rule);
  }

  .home-outcomes li strong,
  .home-outcomes li span span {
    display: inline;
  }

  .home-service-grid {
    grid-template-columns: 1fr;
  }

  .home-services .sectionhead {
    text-align: left;
  }
}
