:root {
  --ground: #F4F4EF;
  --surface: #FFFFFF;
  --ink: #15201B;
  --ink-2: #4A554F;
  --rule: #D5D9D2;
  --field-border: #7D857F;
  --accent: #1E5A47;
  --accent-hover: #164536;
  --band: #15201B;
  --band-text: #EEF0EA;
  --band-text-2: #B7C0BA;
  --error: #A3261B;
  --error-tint: #FBEFED;

  --header-green: #123B2F;
  --header-rule: #2E5447;
  --hero-dark: #15201B;
  --brass: #D4B06E;
  --on-dark-muted: #B9CCC3;
  --on-dark-outline: #7FA394;

  --font-display: 'Newsreader', Georgia, serif;
  --font-body: 'IBM Plex Sans', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  --radius-control: 4px;
  --radius-panel: 8px;
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
  --section-pad: clamp(80px, 9vw, 128px);
}

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

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

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}

section[id] { scroll-margin-top: 96px; }

.site-header a:focus-visible, .hero a:focus-visible, .approach a:focus-visible,
.focus__tiles :focus-visible { outline-color: var(--brass); }

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

h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { list-style: none; padding: 0; }

.wrap { max-width: var(--max); margin: 0 auto; }
.section { padding: var(--section-pad) var(--gutter); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 3.4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.muted { color: var(--ink-2); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-control);
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}
.btn--primary { background: var(--accent); color: #FFFFFF; }
.btn--primary:hover { background: var(--accent-hover); color: #FFFFFF; }
.btn--secondary { background: transparent; color: var(--ink); border-color: var(--field-border); }
.btn--secondary:hover { color: var(--ink); background: rgba(21, 32, 27, 0.04); }
.btn--brass { background: var(--brass); color: var(--ink); font-weight: 600; }
.btn--brass:hover { background: var(--brass); color: var(--ink); filter: brightness(1.08); }
.btn--outline-dark { background: transparent; color: var(--ground); border-color: var(--on-dark-outline); }
.btn--outline-dark:hover { background: rgba(244, 244, 239, 0.08); color: var(--ground); }
.btn--lg { min-height: 52px; padding: 0 28px; font-size: 16px; }
.btn--form { min-height: 48px; padding: 0 28px; font-size: 16px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(18, 59, 47, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--header-rule);
}
.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px var(--gutter);
  min-height: 80px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
}
.wordmark {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ground);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.wordmark:hover { color: var(--ground); }
.wordmark { margin-right: auto; }
.nav { column-gap: 36px; }
.nav__links { display: flex; flex-wrap: wrap; gap: 0 28px; }
.nav__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ground);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}
.nav__links a:hover { color: var(--brass); }

/* Hero */
.hero {
  padding: clamp(80px, 9vw, 136px) var(--gutter) clamp(64px, 6vw, 96px);
  background: var(--hero-dark);
  color: var(--ground);
}
.hero .eyebrow { color: var(--brass); }
.hero h1 em { font-style: italic; color: var(--brass); }
.hero .wrap { display: flex; flex-direction: column; gap: 32px; }
.hero h1 {
  max-width: 1040px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(44px, 5.4vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.hero__lede { max-width: 640px; font-size: 20px; line-height: 1.55; color: var(--on-dark-muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px 16px; padding-top: 8px; }
.creds {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr;
}
.creds li { display: flex; flex-direction: column; gap: 4px; padding: 18px 0; }
.creds li + li { border-top: 1px solid var(--brass); }
.creds__title { font-family: var(--font-display); font-size: 22px; line-height: 1.25; color: var(--ground); }
.creds__text { font-size: 15px; color: var(--on-dark-muted); }
@media (min-width: 960px) {
  .creds { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .creds li { padding: 0; }
  .creds li + li { border-top: 0; border-left: 1px solid var(--brass); padding-left: 32px; }
}

/* Focus areas */
.focus {
  background: var(--surface);
  border-bottom: 1px solid var(--rule);
}
.focus .wrap { display: flex; flex-direction: column; gap: 56px; }
.focus__tiles { display: grid; grid-template-columns: 1fr; gap: 12px; }
.focus__tiles li {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  background: var(--header-green);
  border-radius: var(--radius-panel);
}
.focus__num { font-family: var(--font-mono); font-size: 13px; font-weight: 500; letter-spacing: 0.08em; color: var(--brass); }
.focus__bar { width: 28px; height: 2px; background: var(--brass); margin-top: -2px; }
.focus__tiles h3 { font-family: var(--font-display); font-weight: 500; font-size: 22px; line-height: 1.2; color: var(--ground); }
.focus__tiles p { font-size: 16px; line-height: 1.55; color: var(--on-dark-muted); }
@media (min-width: 900px) {
  .focus__tiles { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .focus__tiles li { padding: 32px; }
  .focus__tiles h3 { font-size: 24px; }
}

/* Services */
.services .wrap { display: flex; flex-direction: column; gap: 56px; }
.services__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 64px;
}
.services__head > div { display: flex; flex-direction: column; gap: 16px; }
.services__head > p { max-width: 420px; color: var(--ink-2); }
.cards { display: flex; flex-wrap: wrap; gap: 40px 32px; }
.cards li {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 20px;
  border-top: 2px solid var(--accent);
}
.cards__num { font-family: var(--font-mono); font-size: 13px; font-weight: 500; color: var(--ink-2); }
.cards h3 { font-family: var(--font-display); font-weight: 500; font-size: 24px; line-height: 1.2; color: var(--accent); }
.cards p { color: var(--ink-2); }
.services__note {
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-size: 15px;
  color: var(--ink-2);
}

/* Approach */
.approach { background: var(--band); color: var(--band-text); }
.approach .wrap { display: flex; flex-direction: column; gap: 56px; }
.approach__head { display: flex; flex-direction: column; gap: 16px; }
.approach .eyebrow { color: var(--band-text-2); }
.steps { display: flex; flex-wrap: wrap; gap: 40px 32px; }
.steps li {
  flex: 1 1 230px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 20px;
  border-top: 2px solid var(--brass);
}
.steps__num { font-family: var(--font-mono); font-size: 13px; font-weight: 500; color: var(--brass); }
.steps h3 { font-family: var(--font-display); font-weight: 400; font-size: 28px; line-height: 1.2; }
.steps p { color: var(--band-text-2); }

/* About */
.about .wrap { display: flex; flex-wrap: wrap; gap: 48px 80px; align-items: flex-start; }
.about__photo {
  flex: 0 1 360px;
  width: 360px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-panel);
  border: 1px solid var(--rule);
  background: #E6E8E2;
}
.about__body { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.about__body > p:not(.eyebrow) { font-size: 18px; max-width: 62ch; }
.about__creds { margin-top: 16px; display: flex; flex-direction: column; }
.about__creds li { padding: 14px 0; border-top: 1px solid var(--rule); }
.about__creds li:last-child { border-bottom: 1px solid var(--rule); }

/* Contact */
.contact { background: var(--surface); border-top: 1px solid var(--rule); }
.contact .wrap { display: flex; flex-wrap: wrap; gap: 48px 80px; align-items: flex-start; }
.contact__intro { flex: 1 1 340px; display: flex; flex-direction: column; gap: 24px; }
.contact__intro > p:not(.eyebrow) { font-size: 18px; color: var(--ink-2); max-width: 38ch; }
.contact__details { margin-top: 16px; display: flex; flex-direction: column; }
.contact__details > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 0;
  border-top: 1px solid var(--rule);
}
.contact__details > div:last-child { border-bottom: 1px solid var(--rule); }
.contact__details dt { font-family: var(--font-mono); font-size: 13px; font-weight: 500; color: var(--ink-2); }
.contact__details a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 18px;
  font-weight: 500;
}
.contact__form { flex: 1.4 1 480px; min-width: 0; }

/* Form */
.form-panel {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-panel);
  padding: clamp(24px, 4vw, 40px);
}
.form { display: flex; flex-direction: column; gap: 20px; }
.form__row { display: flex; flex-wrap: wrap; gap: 20px; }
.form > .field { flex: none; }
.field { flex: 1 1 220px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: 15px; font-weight: 500; }
.field label span { font-weight: 400; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--field-border);
  border-radius: var(--radius-control);
  background: #FFFFFF;
  color: var(--ink);
  font: inherit;
}
.field input, .field select { height: 48px; padding: 0 14px; }
.field select { padding-right: 44px; appearance: none; -webkit-appearance: none; cursor: pointer; }
.field textarea { min-height: 144px; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.field [aria-invalid="true"] { border: 2px solid var(--error); }
.select-wrap { position: relative; }
.select-wrap svg { position: absolute; right: 16px; top: 16px; pointer-events: none; }
.field__msg { font-size: 14px; color: var(--error); }
.field__hint { font-size: 14px; color: var(--ink-2); }
.field__hint.is-error { color: var(--error); }
.form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding-top: 4px;
}
.form__foot p { flex: 1 1 220px; font-size: 14px; color: var(--ink-2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.banner {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  background: var(--error-tint);
  border: 1px solid var(--error);
  border-radius: var(--radius-control);
}
.banner svg { flex: none; margin-top: 3px; }
.banner > div { display: flex; flex-direction: column; gap: 2px; }
.banner strong { font-weight: 600; }
.banner span { font-size: 15px; color: var(--ink-2); }

.sent { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding: 24px 0; }
.sent h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.sent p { color: var(--ink-2); max-width: 44ch; }
[hidden] { display: none !important; }

/* Footer */
.site-footer { padding: 32px var(--gutter); border-top: 1px solid var(--rule); }
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 32px;
  font-size: 14px;
  color: var(--ink-2);
}
.site-footer__brand { font-family: var(--font-display); font-size: 17px; font-weight: 500; color: var(--ink); }
.site-footer__dot { padding: 0 10px; }
.site-footer ul { display: flex; flex-wrap: wrap; gap: 0 24px; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-2); }

@media (max-width: 640px) {
  .section { padding-top: 64px; padding-bottom: 64px; }
  .hero { padding-top: 64px; }
  .nav { min-height: 0; }
  .nav__links { order: 3; width: 100%; justify-content: space-between; gap: 0 12px; }
}
