:root {
  --ink: #24302b;
  --muted: #607069;
  --paper: #fbfaf6;
  --surface: #ffffff;
  --sage: #6c8c70;
  --sage-dark: #315745;
  --clay: #c77f58;
  --mint: #e9f1e7;
  --line: rgba(36, 48, 43, 0.14);
  --shadow: 0 24px 70px rgba(36, 48, 43, 0.13);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(calc(100% - 32px), var(--max));
  margin: 16px auto 0;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: var(--radius);
  background: rgba(251, 250, 246, 0.82);
  box-shadow: 0 12px 42px rgba(36, 48, 43, 0.08);
  backdrop-filter: blur(18px);
  transition: padding 220ms ease, background 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.site-header.is-scrolled {
  padding: 9px 12px;
  background: rgba(251, 250, 246, 0.96);
  box-shadow: 0 16px 48px rgba(36, 48, 43, 0.13);
}

.site-header.compact {
  position: static;
  padding: 12px 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-logo {
  width: 78px;
  height: 78px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 4px 8px rgba(36, 48, 43, 0.08));
  transition: width 240ms ease, height 240ms ease, transform 240ms ease, filter 240ms ease;
  will-change: width, height, transform;
}

.site-header.is-scrolled .brand-logo,
.site-header.compact .brand-logo {
  width: 54px;
  height: 54px;
  filter: drop-shadow(0 3px 6px rgba(36, 48, 43, 0.08));
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.05rem;
  line-height: 1.1;
  transition: font-size 220ms ease;
}

.brand small {
  color: var(--muted);
  font-size: 0.82rem;
  transition: font-size 220ms ease;
}

.site-header.is-scrolled .brand strong,
.site-header.compact .brand strong {
  font-size: 0.96rem;
}

.site-header.is-scrolled .brand small,
.site-header.compact .brand small {
  font-size: 0.76rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  padding: 9px 12px;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--sage-dark);
  background: var(--mint);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 150px max(24px, calc((100vw - var(--max)) / 2)) 74px;
  color: #fff;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(31, 47, 39, 0.78) 0%, rgba(31, 47, 39, 0.44) 43%, rgba(31, 47, 39, 0.1) 100%);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffd0b5;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(2.8rem, 7vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4.1rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.18rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 850;
  text-decoration: none;
}

.button.primary {
  color: #fff;
  background: var(--sage-dark);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: #223f32;
}

.button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.12);
}

.section {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 92px 0;
}

.intro {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 56px;
  align-items: start;
}

.intro > p,
.split-copy p,
.about-copy p,
.contact-panel p {
  color: var(--muted);
  font-size: 1.05rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 34px;
}

.service-card {
  min-height: 280px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 14px 34px rgba(36, 48, 43, 0.06);
}

.service-number {
  display: inline-block;
  margin-bottom: 32px;
  color: var(--clay);
  font-weight: 900;
}

.service-card p {
  color: var(--muted);
}

.split,
.about {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: center;
}

.split-media img,
.quote-panel img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink);
  font-weight: 750;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: inset 0 0 0 4px var(--mint);
}

.process {
  border-block: 1px solid var(--line);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.timeline-item {
  min-height: 180px;
  padding: 24px;
  border-right: 1px solid var(--line);
}

.timeline-item:last-child {
  border-right: 0;
}

.timeline-item span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 30px;
  border-radius: 50%;
  color: #fff;
  background: var(--clay);
  font-weight: 900;
}

.timeline-item p {
  margin: 0;
  font-weight: 800;
  line-height: 1.35;
}

.about {
  grid-template-columns: 1fr 0.9fr;
}

.quote-panel {
  display: grid;
  gap: 22px;
}

blockquote {
  margin: 0;
  padding: 24px;
  border-left: 5px solid var(--clay);
  border-radius: var(--radius);
  background: var(--mint);
  font-size: 1.22rem;
  font-weight: 800;
  line-height: 1.35;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: end;
  padding: 36px;
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(135deg, #294536, #6c8c70);
}

.contact-panel .eyebrow,
.contact-panel p {
  color: rgba(255, 255, 255, 0.82);
}

.contact-panel h2 {
  max-width: 700px;
}

address {
  font-style: normal;
  color: rgba(255, 255, 255, 0.9);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  gap: 16px;
}

.site-footer p {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.footer-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.site-footer a {
  text-decoration: none;
  font-weight: 750;
}

.legal-page {
  background: var(--paper);
}

.legal-content {
  width: min(calc(100% - 40px), 860px);
  margin: 0 auto;
  padding: 80px 0;
}

.legal-content h1 {
  color: var(--sage-dark);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
}

.legal-content h2 {
  margin-top: 34px;
  font-size: 1.35rem;
}

.legal-content p {
  color: var(--muted);
}

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(251, 250, 246, 0.98);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open,
  .main-nav.always-visible {
    display: flex;
  }

  .site-header.compact .main-nav {
    position: static;
    box-shadow: none;
  }

  .intro,
  .split,
  .about,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline-item:nth-child(2) {
    border-right: 0;
  }

  .timeline-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  .site-header {
    width: calc(100% - 20px);
    margin-top: 10px;
    padding: 12px;
  }

  .site-header.is-scrolled {
    padding: 8px;
  }

  .brand strong {
    font-size: 0.92rem;
  }

  .brand small {
    font-size: 0.74rem;
  }

  .brand-logo {
    width: 62px;
    height: 62px;
  }

  .site-header.is-scrolled .brand-logo,
  .site-header.compact .brand-logo {
    width: 46px;
    height: 46px;
  }

  .site-header.is-scrolled .brand strong,
  .site-header.compact .brand strong {
    font-size: 0.84rem;
  }

  .site-header.is-scrolled .brand small,
  .site-header.compact .brand small {
    font-size: 0.7rem;
  }

  .hero {
    min-height: 88vh;
    padding: 128px 20px 48px;
  }

  .hero::after {
    background: linear-gradient(0deg, rgba(31, 47, 39, 0.84) 0%, rgba(31, 47, 39, 0.54) 58%, rgba(31, 47, 39, 0.22) 100%);
  }

  .hero-actions,
  .site-footer {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section {
    width: calc(100% - 28px);
    padding: 64px 0;
  }

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

  .timeline-item,
  .timeline-item:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .timeline-item:last-child {
    border-bottom: 0;
  }

  .contact-panel {
    padding: 24px;
  }
}
