:root {
  --forest: #2c4430;
  --moss: #5b7449;
  --sage: #dfe5d3;
  --cream: #f7f3ea;
  --ink: #23281f;
  --muted: #555c4e;
  --clay: #9c4f2b;
  --clay-dark: #7e3f22;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 14px;
  --gutter: clamp(16px, 4vw, 40px);
}

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

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); color: var(--forest); }
h3 { font-size: 1.3rem; color: var(--forest); }
p { margin: 0 0 1em; }

a { color: var(--clay); text-underline-offset: 3px; }
a:hover { color: var(--clay-dark); }
:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; border-radius: 4px; }

.container { width: min(1120px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.narrow { width: min(720px, 100% - 2 * var(--gutter)); }

.skip-link {
  position: absolute; left: 8px; top: -100px; z-index: 10;
  background: var(--forest); color: #fff; padding: 8px 14px; border-radius: 6px;
}
.skip-link:focus { top: 8px; }

.button {
  display: inline-block;
  background: var(--clay);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  padding: 0.8em 1.5em;
  border-radius: 999px;
  overflow-wrap: anywhere;
  transition: background-color 0.15s;
}
.button:hover { background: var(--clay-dark); color: #fff; }

/* Header */
.site-header {
  position: absolute; inset: 0 0 auto; z-index: 2;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px;
  padding: 20px var(--gutter);
}
.wordmark {
  font-family: var(--serif); font-size: 1.4rem; font-weight: 600;
  color: #fff; text-decoration: none; text-shadow: 0 1px 8px rgb(0 0 0 / 0.35);
}
.wordmark span { font-weight: 400; opacity: 0.85; }
.site-header ul { display: flex; gap: clamp(16px, 3vw, 32px); list-style: none; margin: 0; padding: 0; }
.site-header nav a {
  color: #fff; text-decoration: none; font-weight: 500; text-shadow: 0 1px 8px rgb(0 0 0 / 0.4);
}
.site-header nav a:hover { color: var(--sage); text-decoration: underline; }
.site-header :focus-visible { outline-color: #fff; }

/* Hero */
.hero {
  position: relative; isolation: isolate;
  min-height: min(92vh, 860px);
  display: flex; align-items: flex-end;
  padding: 120px var(--gutter) clamp(48px, 9vh, 96px);
  color: #fff;
}
.hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to bottom, rgb(20 30 18 / 0.55), transparent 28%),
    linear-gradient(to top, rgb(20 30 18 / 0.85), rgb(20 30 18 / 0.25) 60%, transparent);
}
.hero__content { max-width: 640px; }
.hero h1 { font-size: clamp(2.4rem, 6.5vw, 4.4rem); color: #fff; }
.hero__lede { font-size: clamp(1.1rem, 2vw, 1.3rem); max-width: 34em; margin-bottom: 1.6em; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem; font-weight: 600;
  color: var(--sage); margin-bottom: 1em;
}

/* About */
.about { padding: clamp(64px, 10vw, 120px) 0; text-align: center; }
.about p { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--muted); }

/* Services */
.services { background: var(--sage); padding: clamp(64px, 10vw, 112px) 0; }
.services h2 { text-align: center; margin-bottom: 1.2em; }
.service-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: clamp(20px, 3vw, 32px);
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
}
.service {
  background: var(--cream); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 1px 2px rgb(35 40 31 / 0.06), 0 8px 24px rgb(35 40 31 / 0.06);
}
.service img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.service h3 { margin: 22px 24px 8px; }
.service p { margin: 0 24px 26px; color: var(--muted); }
.service--text { background: var(--forest); justify-content: center; }
.service--text h3 { color: #fff; }
.service--text p { color: var(--sage); }

/* Banner */
.banner {
  position: relative; isolation: isolate;
  min-height: clamp(280px, 50vw, 520px);
  display: grid; place-items: center; padding: 48px var(--gutter);
}
.banner__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(20 30 18 / 0.5); }
.banner__quote {
  font-family: var(--serif); font-size: clamp(1.7rem, 4.5vw, 3rem); line-height: 1.2;
  color: #fff; text-align: center; max-width: 18em; margin: 0;
}

/* Contact */
.contact { padding: clamp(64px, 10vw, 112px) 0; }
.contact__grid { display: grid; gap: clamp(32px, 5vw, 64px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 860px) { .contact__grid { grid-template-columns: 1fr 1.1fr; } }
.contact p { color: var(--muted); margin-bottom: 1.6em; }
.map { margin: 0; }
.map iframe {
  display: block; width: 100%; height: 380px; border: 0;
  border-radius: var(--radius); background: var(--sage);
}
.map figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 10px; }

/* Footer */
.site-footer { background: var(--forest); color: var(--sage); padding: 40px 0; font-size: 0.95rem; }
.site-footer a { color: #fff; }
.site-footer p { margin: 0; }
.footer__grid { display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; justify-content: space-between; }
.social { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }
.credits { flex-basis: 100%; font-size: 0.8rem; opacity: 0.85; }
