:root {
  --bg: #f7f4ee;
  --surface: #ffffff;
  --ink: #17202b;
  --muted: #55606e;
  --line: #e2dccf;
  --accent: #0f6b5c;
  --accent-ink: #ffffff;
  --radius: 14px;
  --wrap: 68rem;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12161c;
    --surface: #1a2029;
    --ink: #eef1f4;
    --muted: #a3adb9;
    --line: #2a323d;
    --accent: #5fcab5;
    --accent-ink: #0c1512;
  }
}

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
  line-height: 1.1;
  max-width: 18ch;
}

h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.1rem);
  line-height: 1.2;
}

h3 {
  font-size: 1.15rem;
  line-height: 1.3;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  padding: 0.5rem 0.9rem;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 8px;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 650;
  text-decoration: none;
}

.brand__mark {
  display: block;
}

.button {
  display: inline-block;
  padding: 0.8rem 1.3rem;
  background: var(--accent);
  color: var(--accent-ink);
  border: 1px solid var(--accent);
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.button:hover {
  filter: brightness(1.08);
}

.button--quiet {
  padding: 0.5rem 1rem;
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
  font-size: 0.95rem;
}

.button--quiet:hover {
  border-color: var(--accent);
  filter: none;
}

.hero {
  padding-block: clamp(3rem, 9vw, 6.5rem) clamp(3rem, 8vw, 5.5rem);
}

.eyebrow {
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lead {
  max-width: 38rem;
  margin-block: 1.5rem 2rem;
  color: var(--muted);
  font-size: clamp(1.1rem, 1.8vw, 1.25rem);
}

.services {
  padding-block: clamp(2.5rem, 7vw, 4.5rem);
  border-top: 1px solid var(--line);
}

.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
  gap: 1rem;
  margin-top: 1.75rem;
  padding: 0;
  list-style: none;
}

.service {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.service p {
  margin-top: 0.5rem;
  color: var(--muted);
}

.contact {
  padding-block: clamp(3rem, 8vw, 5.5rem);
  border-top: 1px solid var(--line);
}

.contact p {
  max-width: 34rem;
  margin-block: 1rem 1.5rem;
  color: var(--muted);
}

.contact__email {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 4.4vw, 2rem);
  font-weight: 600;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
  overflow-wrap: anywhere;
}

.site-footer {
  padding-block: 1.75rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}
