:root {
  --green-deep: #14261b;
  --green: #1c3a28;
  --green-mid: #2f5a40;
  --cream: #f4efe4;
  --paper: #fbf8f1;
  --gold: #c4a35a;
  --ink: #1a1c19;
  --muted: #5c645e;
  --line: rgba(28, 58, 40, 0.14);
  --header-h: 4.25rem;
  --max: 68rem;
  --serif: "Fraunces", "Palatino Linotype", Palatino, serif;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  max-width: 14ch;
}

h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.7rem);
  max-width: 16ch;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}

p {
  margin: 0 0 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--gold);
  color: var(--green-deep);
  padding: 0.5rem 0.9rem;
  z-index: 20;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  isolation: isolate;
  background: rgba(251, 248, 241, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.header-inner,
.section-inner {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.wordmark {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  gap: 1.6rem;
}

.site-nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--muted);
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--green);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.45rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  background: transparent;
  padding: 0 0.65rem;
  cursor: pointer;
  border-radius: 2px;
}

.nav-toggle-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green);
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: var(--green);
  position: relative;
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bar::before {
  top: -6px;
}

.nav-toggle-bar::after {
  top: 6px;
}

.hero {
  position: relative;
  min-height: min(36rem, calc(100vh - var(--header-h)));
  display: grid;
  align-items: center;
  color: var(--cream);
  background: var(--green-deep);
  overflow: hidden;
}

.hero-field {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      105deg,
      transparent 0 18px,
      rgba(196, 163, 90, 0.07) 18px 19px
    ),
    linear-gradient(180deg, #1c3a28 0%, #0f1c14 70%);
}

.hero-field::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(15, 28, 20, 0.85));
}

.hero-inner {
  position: relative;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 4.5rem 0;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.85rem;
}

.lede {
  font-size: 1.15rem;
  max-width: 38rem;
  color: rgba(244, 239, 228, 0.86);
  overflow-wrap: break-word;
}

.lede-small {
  font-size: 1.05rem;
  max-width: 32rem;
  color: var(--muted);
}

.button {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: var(--gold);
  color: var(--green-deep);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.button:hover {
  background: #d4b36a;
}

section[id] {
  scroll-margin-top: var(--header-h);
}

.section {
  padding: 5.5rem 0;
}

.about {
  background: var(--paper);
}

.services {
  background: var(--cream);
  border-block: 1px solid var(--line);
}

.contact {
  background: var(--paper);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: start;
}

.prose p:last-child {
  margin-bottom: 0;
}

.service-list {
  list-style: none;
  margin: 2.25rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-list li {
  background: var(--paper);
  padding: 1.6rem 1.4rem 1.5rem;
  border-top: 3px solid var(--green-mid);
}

.icon {
  width: 2.4rem;
  height: 2.4rem;
  color: var(--green-mid);
  margin-bottom: 1rem;
}

.contact-card {
  font-style: normal;
  background: var(--green);
  color: var(--cream);
  padding: 2rem 1.75rem;
}

.contact-card p {
  margin: 0 0 1.25rem;
}

.contact-card p:last-child {
  margin-bottom: 0;
}

.contact-card a {
  color: var(--gold);
  text-decoration: none;
}

.contact-card a:hover {
  text-decoration: underline;
}

.label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244, 239, 228, 0.65);
  margin-bottom: 0.2rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.25rem 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.site-footer .header-inner {
  min-height: 0;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--green);
}

@media (max-width: 860px) {
  .split,
  .service-list {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1.25rem 1rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.65rem 0;
  }

  .hero-inner,
  .section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
}
