:root {
  color-scheme: light;
  --paper: #f5f5ee;
  --ink: #172f27;
  --muted: #42594c;
  --line: #cbd4c7;
  --accent: #d8fa86;
  font-family: system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.wrap { width: min(74rem, calc(100% - 3rem)); margin-inline: auto; }

.site-header, .site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-block: 1.35rem;
}
.site-header { border-bottom: 1px solid var(--line); }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; }
nav { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; align-items: center; }
nav a { text-decoration: none; font-weight: 650; }
nav a:hover, .text-link:hover { text-decoration-thickness: 2px; text-decoration-line: underline; text-underline-offset: .24em; }
.wordmark { display: inline-flex; gap: .55rem; align-items: center; text-decoration: none; font-weight: 800; font-size: 1.5rem; letter-spacing: -.06em; }

.hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(1.5rem, 5vw, 5rem); align-items: center; padding-block: clamp(3rem, 8vw, 7rem); }
.hero-art { display: block; width: 100%; border-radius: .75rem; }
.eyebrow { margin: 0 0 .8rem; color: var(--muted); font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; line-height: 1.04; letter-spacing: -.055em; }
h1 { font-size: clamp(3rem, 6.9vw, 6.1rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.75rem); }
h3 { font-size: 1.35rem; letter-spacing: -.035em; }
.lede { max-width: 34rem; color: var(--muted); font-size: clamp(1.06rem, 2vw, 1.24rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.5rem; margin-top: 1.7rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  padding: .8rem 1.1rem;
  border: 1px solid var(--ink);
  border-radius: .4rem;
  background: var(--accent);
  color: var(--ink);
  font: inherit;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}
.button:hover { background: #c4e880; }
.text-link { font-weight: 700; }

.services { padding-block: 2.25rem clamp(3rem, 7vw, 6rem); border-top: 1px solid var(--line); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 0; margin: 1.6rem 0 0; list-style: none; }
.service-grid li { background: #fff; border: 1px solid var(--line); border-radius: .5rem; padding: 1.25rem; }
.index { display: inline-block; color: var(--muted); font: .8rem ui-monospace, monospace; margin-bottom: 1.5rem; }
.service-grid p { color: var(--muted); margin-bottom: 0; }

.engagement {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  background: var(--ink);
  color: #fff;
  padding: clamp(1.5rem, 5vw, 4rem);
  border-radius: .75rem;
  margin-bottom: 3rem;
}
.engagement .eyebrow { color: var(--accent); }
.engagement p:last-child { margin-bottom: 0; max-width: 37rem; }
.engagement .button { flex: none; }
.engagement .button:focus-visible { outline-color: var(--accent); }

.quote { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 6vw, 5rem); align-items: start; padding-block: clamp(2.5rem, 6vw, 5rem); }
.quote-form { display: grid; gap: 1rem; padding: clamp(1rem, 3vw, 2rem); border: 1px solid var(--line); background: #fff; border-radius: .75rem; }
.field { display: grid; gap: .25rem; }
.field label { font-weight: 700; }
.field label span, .field p { color: var(--muted); font-size: .88rem; font-weight: 400; }
.field p { margin: 0; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: .6rem .7rem;
  border: 1px solid #778b7d;
  border-radius: .3rem;
  color: var(--ink);
  background: #fff;
  font: inherit;
}
.field textarea { resize: vertical; }
.quote-form .button { justify-self: start; }

@media (max-width: 56rem) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 44rem) {
  .wrap { width: calc(100% - 2rem); }
  .hero, .quote { grid-template-columns: 1fr; }
  .hero-art { max-width: 28rem; }
  .engagement { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 28rem) {
  .site-header, .site-footer { flex-wrap: wrap; }
  .service-grid { grid-template-columns: 1fr; }
}
