:root {
  --green: #1e3d2f;
  --brass: #a98b45;
  --ink: #191919;
  --white: #ffffff;
  --measure: 40rem;
}

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/manrope-700.woff2") format("woff2");
}

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/assets/fonts/manrope-800.woff2") format("woff2");
}

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/dm-sans-400.woff2") format("woff2");
}

@font-face {
  font-family: "DM Sans";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/dm-sans-400-italic.woff2") format("woff2");
}

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/dm-sans-500.woff2") format("woff2");
}

@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/dm-sans-700.woff2") format("woff2");
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 1.125rem;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 2;
  background: var(--white);
  padding: 0.5rem 0.75rem;
}

.wrap {
  width: min(72rem, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  padding: 1.15rem 0 0.5rem;
}

.header-bar {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 0.75rem;
  row-gap: 0.75rem;
}

.lockup {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}

.site-nav-toggle {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
}

.header-cta {
  grid-column: 1 / -1;
  grid-row: 2;
  justify-self: start;
}

.site-nav-toggle summary {
  cursor: pointer;
  list-style: none;
  font-family: Manrope, system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.4rem 0.15rem;
}

.site-nav-toggle summary::-webkit-details-marker {
  display: none;
}

.site-nav-toggle summary:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

.site-nav {
  display: none;
  position: absolute;
  right: 0;
  top: 3.45rem;
  z-index: 5;
  min-width: 13.5rem;
  padding: 0.75rem 1rem;
  background: var(--white);
  box-shadow: 0 0 0 2px var(--brass);
}

.site-nav-toggle[open] + .site-nav {
  display: block;
}

.site-nav ul,
.footer-map ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav li {
  margin: 0 0 0.45rem;
}

.site-nav li:last-child {
  margin-bottom: 0;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a:active {
  text-decoration: underline;
}

.site-nav a:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

.footer-grid {
  display: grid;
  gap: 1.75rem;
}

.footer-map {
  font-size: 0.95rem;
}

.footer-map li {
  margin: 0 0 0.35rem;
}

.footer-map a {
  text-decoration: none;
}

.lockup {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
}

.lockup-mark {
  width: 3.85rem;
  height: 3.85rem;
  flex-shrink: 0;
}

.lockup-word {
  height: 3.85rem;
  width: auto;
}

.lockup-mark rect {
  fill-opacity: 1;
}

@media (prefers-reduced-motion: no-preference) {
  html.js-logo .lockup-mark rect {
    animation: cell-in 70ms ease-out both;
  }

  html.js-logo .lockup-mark rect:nth-of-type(1) { animation-delay: 0ms; }
  html.js-logo .lockup-mark rect:nth-of-type(2) { animation-delay: 67ms; }
  html.js-logo .lockup-mark rect:nth-of-type(3) { animation-delay: 133ms; }
  html.js-logo .lockup-mark rect:nth-of-type(4) { animation-delay: 200ms; }
  html.js-logo .lockup-mark rect:nth-of-type(5) { animation-delay: 267ms; }
  html.js-logo .lockup-mark rect:nth-of-type(6) { animation-delay: 333ms; }
  html.js-logo .lockup-mark rect:nth-of-type(7) { animation-delay: 400ms; }
  html.js-logo .lockup-mark rect:nth-of-type(8) { animation-delay: 467ms; }
  html.js-logo .lockup-mark rect:nth-of-type(9) { animation-delay: 533ms; }

  html.js-logo .hero-copy h1 {
    animation: headline-settle 0.6s ease-out;
  }
}

@keyframes cell-in {
  from { fill-opacity: 0; }
  to { fill-opacity: 1; }
}

@keyframes headline-settle {
  from { transform: translateY(0.4rem); }
  to { transform: none; }
}

.header-cta {
  flex-shrink: 0;
  font-size: 0.9rem;
  min-height: 2.5rem;
  padding: 0.55rem 0.85rem;
  text-align: center;
  white-space: nowrap;
}

.hero {
  padding: 1.5rem 0 3rem;
}

.page-hero {
  padding: 1.5rem 0 2.25rem;
}

.page-copy p,
.costs p {
  max-width: var(--measure);
  margin: 0 0 1.05rem;
  font-size: 1rem;
}

.page-copy .detail {
  margin-top: 0;
}

.page-copy .detail + p {
  margin-top: 0.9rem;
  max-width: var(--measure);
  font-size: 1rem;
}

.service-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.service-card-link:hover h3,
.service-card-link:active h3 {
  text-decoration: underline;
}

.service-card-link:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 4px;
}

.text-link {
  color: var(--green);
  font-weight: 700;
  text-decoration: underline;
}

.text-link:hover,
.text-link:active {
  color: var(--ink);
}

.text-link:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

.hero-grid {
  display: grid;
  gap: 1.5rem;
}

.hero-photo {
  width: min(18rem, 72vw);
  height: auto;
  border-radius: 4px;
}

h1,
h2,
h3 {
  font-family: Manrope, system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--green);
}

h1 {
  font-size: clamp(1.85rem, 6vw, 3.15rem);
  margin: 0 0 0.9rem;
  font-weight: 800;
  max-width: 18ch;
}

.page-hero h1 {
  max-width: 22ch;
}

h2 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  margin: 0 0 1.25rem;
}

.lede {
  margin: 0 0 1.35rem;
  font-size: 1.05rem;
  max-width: var(--measure);
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.15rem;
  background: var(--green);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  border-radius: 2px;
  box-shadow: 0 0 0 0 transparent;
}

.cta:hover,
.cta:active {
  background: color-mix(in srgb, var(--green) 86%, var(--white));
  box-shadow: 0 0 0 2px var(--brass);
}

.cta:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

.site-footer a:hover,
.site-footer a:active {
  color: var(--green);
  text-decoration: underline;
}

.site-footer a:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

.rule {
  height: 2px;
  width: 2.5rem;
  background: var(--brass);
  border: 0;
  margin: 0 0 2.25rem;
}

section {
  padding: 0 0 3.25rem;
}

.band {
  padding: 2.85rem 0 3.35rem;
}

.hero.band {
  padding-top: 1.5rem;
}

.page-hero.band {
  padding-bottom: 2.5rem;
}

.band-alt {
  background: color-mix(in srgb, var(--green) 6%, var(--white));
  box-shadow: inset 0 2px 0 var(--brass);
}

.close .note {
  margin-bottom: 2rem;
}

.about-grid {
  display: grid;
  gap: 1.5rem;
}

.about-grid p {
  max-width: var(--measure);
  margin: 0;
  font-size: 1rem;
}

.services {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.75rem;
}

.services > li {
  min-width: 0;
}

.mark {
  width: 2.75rem;
  height: 2.75rem;
  margin: 0 0 0.85rem;
}

.mark-step {
  width: 5.5rem;
  height: 1.85rem;
  margin: 0 0 0.75rem;
}

.services h3 {
  margin: 0 0 0.4rem;
  font-size: 1.08rem;
  color: var(--green);
}

.services p {
  margin: 0;
  font-size: 1rem;
}

.services p + p {
  margin-top: 0.7rem;
}

.detail {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
  font-size: 1rem;
}

.detail li {
  position: relative;
  margin: 0 0 0.45rem;
  padding-left: 1.15rem;
}

.detail li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 2px;
  background: var(--green);
}

.detail li:last-child {
  margin-bottom: 0;
}

.services .detail + p {
  margin-top: 0.9rem;
}

.about p,
.who .services p {
  margin: 0;
  font-size: 1rem;
  max-width: var(--measure);
}

.steps {
  list-style: none;
  padding-left: 0;
}

.note {
  margin: 1.5rem 0 1rem;
  font-size: 1rem;
  max-width: var(--measure);
}

.about .note {
  margin-bottom: 2rem;
}

.q-form {
  max-width: var(--measure);
}

.q-form fieldset {
  border: 0;
  margin: 0 0 1.75rem;
  padding: 0;
}

.q-form legend {
  font-family: Manrope, system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--green);
  margin: 0 0 0.65rem;
  padding: 0;
}

.q-form .hint {
  font-family: "DM Sans", system-ui, sans-serif;
  font-weight: 400;
  font-size: 0.95rem;
}

.opt {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin: 0 0 0.55rem;
  line-height: 1.4;
}

.opt input {
  margin-top: 0.3rem;
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}

.q-form label:not(.opt) {
  display: block;
  font-weight: 700;
  margin: 0 0 0.35rem;
}

.q-form input[type="text"],
.q-form input[type="email"],
.q-form input[type="tel"],
.q-form select,
.q-form textarea {
  display: block;
  width: 100%;
  max-width: 28rem;
  min-height: 2.75rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid color-mix(in srgb, var(--ink) 22%, var(--white));
  border-radius: 2px;
  font: inherit;
  color: var(--ink);
  background: var(--white);
}

.q-form textarea {
  min-height: 6rem;
}

.q-form button.cta {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.q-back {
  border: 0;
  background: none;
  cursor: pointer;
  padding: 0.4rem 0;
  font: inherit;
}

.q-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
  margin: 1.5rem 0 0;
}

.q-end {
  max-width: var(--measure);
}

.resource-list {
  max-width: 48rem;
}

.site-footer {
  padding: 0 0 2.75rem;
  font-size: 0.95rem;
}

.site-footer p {
  margin: 0 0 0.35rem;
}

@media (min-width: 40rem) {
  .lockup-mark {
    width: 4.15rem;
    height: 4.15rem;
  }

  .lockup-word {
    height: 4.15rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) min(22rem, 38%);
    align-items: center;
    gap: 2.25rem;
  }

  .hero-photo {
    width: 100%;
    justify-self: end;
  }

  .about-grid {
    grid-template-columns: minmax(0, 1fr) min(22rem, 38%);
    align-items: center;
    gap: 2.25rem;
  }
}

@media (min-width: 56rem) {
  .services {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem 1.75rem;
    align-items: start;
  }

  .how .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .footer-map {
    justify-self: end;
    text-align: right;
  }
}

@media (min-width: 64rem) {
  .header-bar {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.15rem;
  }

  .lockup,
  .site-nav,
  .header-cta {
    grid-column: auto;
    grid-row: auto;
  }

  .site-nav-toggle {
    display: none;
  }

  .site-nav,
  .site-nav-toggle[open] + .site-nav {
    display: block;
    position: static;
    flex: 1 1 auto;
    min-width: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
  }

  .site-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.35rem 0.95rem;
  }

  .site-nav li {
    margin: 0;
    white-space: nowrap;
  }

  .site-nav a {
    font-size: 0.9rem;
  }

  .header-cta {
    justify-self: auto;
  }
}

.js-motion .reveal {
  opacity: 0;
  transform: translateY(0.55rem);
  transition: opacity 200ms ease-out, transform 200ms ease-out;
}

.js-motion .reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js-motion .reveal,
  .js-motion .reveal.is-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.lockup-word-dark {
  display: none;
}

@media (prefers-color-scheme: dark) {
  html {
    color-scheme: dark;
  }

  body {
    background: #1e3d2f;
    color: #ffffff;
  }

  h1,
  h2,
  h3,
  .services h3,
  .q-form legend {
    color: #ffffff;
  }

  .lockup-mark rect:not(:first-of-type) {
    fill: #ffffff;
  }

  .lockup-word-light {
    display: none;
  }

  .lockup-word-dark {
    display: block;
  }

  .detail li::before {
    background: #a98b45;
  }

  .cta {
    background: #ffffff;
    color: #1e3d2f;
  }

  .cta:hover,
  .cta:active {
    background: color-mix(in srgb, #ffffff 88%, #a98b45);
    color: #1e3d2f;
    box-shadow: 0 0 0 2px #a98b45;
  }

  .site-footer a:hover,
  .site-footer a:active {
    color: #ffffff;
    text-decoration: underline;
  }

  .text-link {
    color: #ffffff;
  }

  .text-link:hover,
  .text-link:active {
    color: #ffffff;
  }

  .skip:focus {
    background: #1e3d2f;
    color: #ffffff;
  }

  .hero-photo {
    box-shadow: 0 0 0 1px color-mix(in srgb, #a98b45 40%, transparent);
  }

  .band-alt {
    background: color-mix(in srgb, #000 20%, #1e3d2f);
    box-shadow: inset 0 2px 0 #a98b45;
  }

  .site-nav {
    background: #1e3d2f;
  }

  @media (min-width: 64rem) {
    .site-nav,
    .site-nav-toggle[open] + .site-nav {
      background: transparent;
      box-shadow: none;
    }
  }

  .q-form input[type="text"],
  .q-form input[type="email"],
  .q-form input[type="tel"],
  .q-form select,
  .q-form textarea {
    background: #ffffff;
    color: #191919;
    border-color: color-mix(in srgb, #ffffff 55%, #a98b45);
  }

  .q-form button.cta {
    background: #ffffff;
    color: #1e3d2f;
  }
}
