@font-face {
  font-family: Lato;
  src: url("fonts/Lato-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Lato;
  src: url("fonts/Lato-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --graphite: #242724;
  --cream: #FAF7F0;
  --olive: #526548;
  --hover: #3F5037;
  --soft-olive: #E8EDE3;
  --stone: #E6E2D9;
  --muted: #60665C;
  --divider: #B7BEB0;
  --white: #FFFFFF;
}

* { box-sizing: border-box; }

html { scroll-behavior: auto; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--graphite);
  font-family: Lato, sans-serif;
  font-synthesis: none;
  font-size: 1rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 700; }
h1 { max-width: 800px; font-size: 3rem; line-height: 1.166667; }
h2 { font-size: 2rem; line-height: 1.25; }
h3 { font-size: 1.5rem; line-height: 1.333333; }
p + p { margin-top: 16px; }
a { color: var(--olive); text-underline-offset: 4px; }
a:hover { color: var(--hover); }

/* Necessary outlines use graphite, not the decorative divider color. */
:focus-visible {
  outline: 2px solid var(--graphite);
  outline-offset: 2px;
}

.container {
  width: calc(100% - 64px);
  max-width: 1200px;
  margin-inline: auto;
}

section, main { scroll-margin-top: 24px; }

.skip-link {
  position: absolute;
  top: 12px;
  left: 20px;
  z-index: 1;
  padding: 12px 16px;
  min-height: 44px;
  background: var(--cream);
  color: var(--graphite);
  border: 2px solid var(--graphite);
  border-radius: 4px;
  transform: translateY(calc(-100% - 24px));
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-block: 24px;
  border-bottom: 1px solid var(--divider);
}
.brand { display: grid; gap: 4px; }
.brand-name { font-size: 1.5rem; line-height: 1.333333; font-weight: 700; }
.brand-descriptor { color: var(--muted); font-size: 0.875rem; line-height: 1.428572; }
nav { display: flex; flex-wrap: wrap; gap: 4px 16px; }
nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 4px;
  color: var(--graphite);
  font-weight: 700;
  text-decoration: none;
}
nav a:hover { text-decoration: underline; }

.hero { padding-block: 64px; }
.eyebrow { color: var(--olive); font-size: 0.875rem; line-height: 1.428572; font-weight: 700; }
.hero .eyebrow { margin-bottom: 24px; }
.hero-body { max-width: 640px; margin-top: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.hero-note { margin-top: 16px; color: var(--muted); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  max-width: 100%;
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 0.875rem;
  line-height: 1.428572;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}
.button-primary { background: var(--olive); color: var(--cream); }
.button-primary:hover { background: var(--hover); color: var(--cream); }
.button-secondary { background: var(--cream); color: var(--graphite); border: 1px solid var(--graphite); }
.button-secondary:hover { background: var(--stone); color: var(--graphite); }

.services { padding-block: 48px 64px; border-top: 1px solid var(--divider); }
.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px 48px;
  align-items: start;
  margin-bottom: 48px;
}
.section-intro h2 { max-width: 480px; }
.section-intro > p { max-width: 560px; }
.service {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 32px;
  padding-block: 40px;
  border-top: 1px solid var(--divider);
}
.service-summary h3 { margin-bottom: 16px; }
.service-example .eyebrow { margin-bottom: 12px; }
.service-example p + p { margin-top: 0; }
.scope-note { color: var(--muted); }

.method { padding-block: 64px; background: var(--graphite); color: var(--cream); }
.method :focus-visible { outline-color: var(--cream); }
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin: 0;
  padding: 0 0 0 24px;
}
.steps li { padding-left: 4px; }
.steps li::marker { color: var(--cream); font-weight: 700; }
.steps h3 { font-size: 1.25rem; line-height: 1.4; margin-bottom: 16px; }
.method-limits {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--divider);
  max-width: 800px;
}

.contact { padding-block: 64px; background: var(--soft-olive); }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.contact-layout h2 { max-width: 480px; margin-bottom: 24px; }
.contact-layout p { max-width: 560px; }
.contact-status { padding: 24px; border: 1px solid var(--graphite); border-radius: 8px; }
.contact-status h3 { font-size: 1.25rem; line-height: 1.4; margin-bottom: 16px; }
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; padding-block: 32px; }
.site-footer p { color: var(--muted); font-size: 0.875rem; line-height: 1.428572; }

@media (max-width: 1000px) {
  .service { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
  .scope-note { grid-column: 2; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 48px; }
}

@media (max-width: 700px) {
  .container { width: calc(100% - 40px); }
  .site-header { flex-direction: column; align-items: flex-start; gap: 16px; padding-block: 20px; }
  nav { gap: 4px 12px; }
  h1 { font-size: 2rem; line-height: 1.25; }
  .hero { padding-block: 48px; }
  .hero-actions { gap: 12px; }
  .section-intro, .service, .steps, .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .section-intro { gap: 24px; margin-bottom: 32px; }
  .service { gap: 24px; }
  .scope-note { grid-column: auto; }
  .services, .method, .contact { padding-block: 48px; }
  .steps { gap: 32px; }
  .contact-layout { gap: 32px; }
  .contact-status { padding: 24px; }
}

/* No animation or hidden-on-load content; respect the preference explicitly. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
