:root {
  color-scheme: light;
  --ink: #14211d;
  --muted: #52635d;
  --paper: #f7f8f3;
  --white: #ffffff;
  --sage: #6f8f7d;
  --sage-dark: #2f5d50;
  --clay: #b9654d;
  --line: rgba(20, 33, 29, 0.14);
  --shadow: 0 22px 60px rgba(22, 37, 32, 0.14);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px clamp(18px, 4vw, 54px);
  color: var(--white);
}

.site-header::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(180deg, rgba(10, 16, 14, 0.62), rgba(10, 16, 14, 0));
  pointer-events: none;
}

.brand {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 30px);
  font-size: 0.92rem;
  font-weight: 700;
}

.nav a {
  opacity: 0.88;
  transition: opacity 160ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 82vh;
  overflow: hidden;
  color: var(--white);
  background: #24332d;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 16, 14, 0.82) 0%, rgba(10, 16, 14, 0.58) 38%, rgba(10, 16, 14, 0.12) 72%),
    linear-gradient(0deg, rgba(10, 16, 14, 0.38), rgba(10, 16, 14, 0.06));
}

.hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  min-height: 82vh;
  width: min(calc(100% - 36px), var(--max));
  margin: 0 auto;
  padding: 108px 0 72px;
}

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

.hero .eyebrow {
  color: #ffc9a7;
}

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

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

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
  line-height: 1.2;
}

.hero__lead {
  max-width: 690px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.12rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 13px 19px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.1;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button--primary {
  background: var(--clay);
  color: var(--white);
}

.button--secondary {
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.button--dark {
  background: var(--ink);
  color: var(--white);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(calc(100% - 36px), var(--max));
  margin: -34px auto 0;
  position: relative;
  z-index: 5;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.stat {
  min-width: 0;
  padding: 25px;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat strong,
.stat span {
  display: block;
}

.stat strong {
  margin-bottom: 6px;
  color: var(--sage-dark);
  font-size: 2rem;
  line-height: 1;
}

.stat span {
  color: var(--muted);
  font-size: 0.95rem;
}

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

.section__intro {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(280px, 0.62fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: end;
  margin-bottom: 36px;
}

.section__intro p:last-child {
  color: var(--muted);
  font-size: 1.04rem;
}

.section__intro--narrow {
  display: block;
  max-width: 790px;
}

.section__intro--narrow p:last-child {
  max-width: 660px;
}

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

.service {
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

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

.service p,
.timeline p,
.proof p,
.contact-panel p,
.site-footer p {
  color: var(--muted);
}

.section--process {
  padding-top: 44px;
}

.timeline {
  display: grid;
  gap: 14px;
  max-width: 830px;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.timeline__marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--white);
  font-weight: 900;
}

.section--proof {
  width: 100%;
  padding: 92px 0;
  background: #dfe9df;
}

.proof {
  width: min(calc(100% - 36px), 860px);
  margin: 0 auto;
}

.proof h2 {
  max-width: 760px;
}

.proof p:last-child {
  max-width: 690px;
  font-size: 1.06rem;
}

.section--contact {
  padding-bottom: 76px;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.55fr);
  gap: clamp(28px, 6vw, 68px);
  align-items: center;
  padding: clamp(28px, 6vw, 56px);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-panel__body p {
  margin-bottom: 24px;
}

.site-footer {
  width: min(calc(100% - 36px), var(--max));
  margin: 0 auto;
  padding: 30px 0 42px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
  font-size: 0.92rem;
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    padding-top: 16px;
  }

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

  .hero,
  .hero__content {
    min-height: 78vh;
  }

  .hero__shade {
    background:
      linear-gradient(90deg, rgba(10, 16, 14, 0.86) 0%, rgba(10, 16, 14, 0.64) 56%, rgba(10, 16, 14, 0.24) 100%),
      linear-gradient(0deg, rgba(10, 16, 14, 0.42), rgba(10, 16, 14, 0.1));
  }

  .hero__content {
    width: 100%;
    padding-top: 118px;
    padding-right: 18px;
    padding-left: 18px;
  }

  .stats,
  .service-grid,
  .section__intro,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .stats {
    margin-top: 18px;
  }

  .stat {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stat:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 74px 0;
  }
}

@media (max-width: 540px) {
  .site-header {
    position: absolute;
    gap: 14px;
    flex-direction: column;
  }

  .nav {
    flex-wrap: wrap;
  }

  h1 {
    font-size: 2.8rem;
  }

  h2 {
    font-size: 2.1rem;
  }

  .hero__actions,
  .button {
    width: 100%;
  }

  .timeline li {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 14px;
  }

  .timeline__marker {
    width: 34px;
    height: 34px;
  }
}
