:root {
  color-scheme: light;
  --ink: #17211d;
  --muted: #5a675f;
  --line: #dce4de;
  --paper: #f7f9f6;
  --white: #ffffff;
  --green: #2f6f50;
  --green-dark: #204d39;
  --amber: #c17b28;
  --steel: #3d5460;
  --shadow: 0 18px 48px rgba(23, 33, 29, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 56px);
  background: rgba(247, 249, 246, 0.88);
  border-bottom: 1px solid rgba(220, 228, 222, 0.72);
  backdrop-filter: blur(16px);
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 36px;
  border: 1px solid var(--ink);
  color: var(--white);
  background: var(--ink);
  font-weight: 800;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
}

.nav-links a:hover,
.site-footer a:hover,
.footer-links a[aria-current="page"] {
  color: var(--green);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 116px clamp(20px, 5vw, 72px) 80px;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
  z-index: -2;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(247, 249, 246, 0.98) 0%, rgba(247, 249, 246, 0.88) 38%, rgba(247, 249, 246, 0.2) 76%),
    linear-gradient(0deg, rgba(247, 249, 246, 0.96), rgba(247, 249, 246, 0.08) 34%);
}

.hero-content {
  width: min(690px, calc(100vw - 40px));
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: 0;
  max-width: 11ch;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.28rem;
}

.hero-copy {
  max-width: 650px;
  color: #33413a;
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 13px 20px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--green-dark);
  box-shadow: 0 12px 24px rgba(32, 77, 57, 0.22);
}

.button.primary:hover {
  background: var(--green);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.74);
  border-color: rgba(23, 33, 29, 0.24);
}

.band {
  background: var(--white);
  border-block: 1px solid var(--line);
}

.section-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(64px, 9vw, 112px) 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 1fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: start;
}

.split p:last-child,
.contact-copy > p {
  color: var(--muted);
  font-size: clamp(1.08rem, 1.7vw, 1.32rem);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 36px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.service-card {
  min-height: 286px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 1px 0 rgba(23, 33, 29, 0.04);
}

.service-icon {
  display: inline-flex;
  width: 38px;
  height: 30px;
  align-items: center;
  justify-content: center;
  margin-bottom: 46px;
  border-left: 3px solid var(--amber);
  color: var(--steel);
  font-size: 0.82rem;
  font-weight: 850;
}

.service-card p,
.process-list p,
.contact-form span,
.form-status {
  color: var(--muted);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.process-list > div {
  min-height: 210px;
  padding: 28px;
  background: var(--paper);
}

.process-list strong {
  display: block;
  margin-bottom: 14px;
  font-size: 1.18rem;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: clamp(32px, 7vw, 86px);
  align-items: start;
}

.contact-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.contact-notes span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--steel);
  font-size: 0.86rem;
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form span {
  font-size: 0.9rem;
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #cfd9d2;
  border-radius: 6px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fbfcfb;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(47, 111, 80, 0.18);
  border-color: var(--green);
}

.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  min-height: 1px;
}

.form-button {
  width: 100%;
  font-size: 1rem;
}

.form-status {
  min-height: 24px;
  margin: 0;
  font-size: 0.95rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 4vw, 56px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.site-footer span {
  color: var(--ink);
  font-weight: 850;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 700;
}

.legal-page {
  padding-top: 90px;
}

.legal-doc {
  width: min(840px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(64px, 9vw, 112px) 0;
}

.legal-doc h1 {
  max-width: 100%;
  margin-bottom: 12px;
  font-size: clamp(3rem, 7vw, 5.4rem);
}

.legal-doc h2 {
  margin-bottom: 10px;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
}

.legal-doc section {
  padding-top: 32px;
  margin-top: 32px;
  border-top: 1px solid var(--line);
}

.legal-doc p {
  color: var(--muted);
  font-size: 1.06rem;
}

.legal-updated {
  color: var(--steel);
  font-weight: 700;
}

@media (max-width: 920px) {
  .hero {
    min-height: 860px;
    align-items: end;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(247, 249, 246, 0.98) 0%, rgba(247, 249, 246, 0.92) 48%, rgba(247, 249, 246, 0.14) 100%);
  }

  .hero-image {
    height: 55%;
    object-position: center top;
  }

  h1 {
    max-width: 100%;
  }

  .split,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    position: absolute;
  }

  .nav-links {
    gap: 12px;
    font-size: 0.85rem;
  }

  .brand-mark {
    width: 48px;
  }

  .hero {
    min-height: 780px;
    padding-inline: 20px;
  }

  h1 {
    font-size: clamp(2.45rem, 11vw, 3.65rem);
    line-height: 1.02;
  }

  .section-inner {
    width: min(100% - 32px, 1180px);
  }

  .service-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .service-card,
  .process-list > div,
  .contact-form {
    padding: 22px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    flex-wrap: wrap;
  }
}
