:root {
  color-scheme: light;
  --ink: #17211b;
  --muted: #5c675f;
  --paper: #f7f4ed;
  --surface: #ffffff;
  --line: #d7d0c3;
  --forest: #24483a;
  --forest-dark: #132d25;
  --sage: #8aa391;
  --clay: #b56c45;
  --sky: #d9e8ee;
  --shadow: 0 18px 60px rgba(23, 33, 27, 0.16);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px clamp(18px, 4vw, 56px);
  color: #ffffff;
  transition:
    background-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.site-header.is-scrolled {
  background: transparent;
  color: var(--ink);
  box-shadow: none;
}

.main-nav {
  display: grid;
  width: min(520px, 100%);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  align-items: center;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(13, 31, 25, 0.24);
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.14);
}

.site-header.is-scrolled .main-nav {
  border-color: rgba(23, 33, 27, 0.12);
  background: rgba(247, 244, 237, 0.94);
  box-shadow: 0 12px 34px rgba(23, 33, 27, 0.1);
}

.main-nav a {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 750;
  text-decoration: none;
}

.main-nav a:hover {
  background: rgba(255, 255, 255, 0.16);
}

.site-header.is-scrolled .main-nav a:hover {
  background: rgba(36, 72, 58, 0.08);
}

.hero {
  position: relative;
  min-height: min(780px, 92svh);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

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

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

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(9, 25, 20, 0.82) 0%, rgba(9, 25, 20, 0.58) 38%, rgba(9, 25, 20, 0.08) 76%),
    linear-gradient(0deg, rgba(9, 25, 20, 0.48) 0%, rgba(9, 25, 20, 0.02) 46%);
}

.hero-content {
  width: min(760px, calc(100% - 36px));
  padding: 144px 0 clamp(56px, 12vh, 118px);
  margin-left: clamp(18px, 6vw, 88px);
  color: #ffffff;
}

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

.hero .eyebrow {
  color: #ffd0a4;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(3.4rem, 10vw, 7.8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.6rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: clamp(1.15rem, 1.4vw, 1.35rem);
  line-height: 1.2;
}

.hero-copy {
  max-width: 650px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.08rem, 1.7vw, 1.35rem);
  line-height: 1.55;
}

.hero-actions,
.contact-band {
  display: flex;
  align-items: center;
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 8px;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
}

.button.primary {
  background: var(--clay);
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.58);
  color: #ffffff;
}

.button.light {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.78;
}

.intro,
.section,
.contact-band {
  width: min(1180px, calc(100% - 36px));
  margin-inline: auto;
}

.intro {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  transform: translateY(-44px);
  background: var(--line);
  box-shadow: var(--shadow);
}

.intro > div {
  min-height: 240px;
  padding: clamp(24px, 3vw, 36px);
  background: var(--surface);
}

.metric {
  display: block;
  margin-bottom: 42px;
  color: var(--clay);
  font-weight: 850;
}

.intro h2 {
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  line-height: 1.12;
}

.intro p,
.timeline p,
.service-grid p,
.contact-band p {
  color: var(--muted);
  line-height: 1.62;
}

.section {
  padding: clamp(40px, 8vw, 100px) 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: clamp(32px, 6vw, 58px);
}

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

.timeline article,
.service-grid article {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
  border-radius: 8px;
}

.timeline article {
  padding: clamp(22px, 3vw, 32px);
}

.timeline span {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--forest);
  color: #ffffff;
  font-weight: 800;
}

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

.service-grid article {
  padding: 26px;
}

.contact-band {
  justify-content: space-between;
  gap: 32px;
  margin-top: 32px;
  margin-bottom: clamp(44px, 8vw, 84px);
  padding: clamp(28px, 5vw, 54px);
  border-radius: 8px;
  background: var(--forest-dark);
  color: #ffffff;
}

.contact-band p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.76);
}

.contact-line {
  margin-top: 18px;
  font-weight: 750;
}

.contact-line a {
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.contact-actions {
  display: flex;
  flex-shrink: 0;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.not-found {
  margin-top: 12vh;
}

.not-found h1 {
  font-size: clamp(2.8rem, 8vw, 6rem);
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
  }

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

  .hero {
    min-height: 780px;
  }

  .hero-content {
    width: min(620px, calc(100% - 36px));
    margin-inline: auto;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(9, 25, 20, 0.82) 0%, rgba(9, 25, 20, 0.48) 64%, rgba(9, 25, 20, 0.18) 100%),
      linear-gradient(0deg, rgba(9, 25, 20, 0.58) 0%, rgba(9, 25, 20, 0.12) 60%);
  }

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

  .intro {
    transform: none;
    margin-top: 0;
  }

  .intro > div {
    min-height: 0;
  }

  .metric {
    margin-bottom: 24px;
  }

  .contact-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .site-header {
    position: absolute;
    padding-inline: 18px;
  }

  .main-nav {
    width: 100%;
  }

  .hero {
    min-height: 90svh;
  }

  .hero-content {
    padding-top: 108px;
    padding-bottom: 22px;
  }

  h1 {
    font-size: clamp(2.35rem, 10.6vw, 3.45rem);
  }

  .hero-copy {
    margin-top: 16px;
    font-size: 0.96rem;
    line-height: 1.42;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 18px;
  }

  .hero-actions,
  .hero-actions .button,
  .contact-band .button,
  .contact-actions {
    width: 100%;
  }

  .button {
    min-height: 42px;
  }
}
