:root {
  color-scheme: light;
  --bg: #f4f5ef;
  --surface: #ffffff;
  --ink: #151711;
  --muted: #62695d;
  --line: #d8ddcf;
  --accent: #3f6f2a;
  --accent-strong: #294c1d;
  --accent-soft: #e5eddc;
  --stone: #d9d6c8;
  --radius: 16px;
  --shadow: 0 24px 70px rgba(52, 67, 38, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(120deg, rgba(63, 111, 42, 0.1), transparent 45%),
    linear-gradient(180deg, #f8f8f3, var(--bg));
  color: var(--ink);
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  padding: 16px clamp(20px, 5vw, 64px);
  background: rgba(244, 245, 239, 0.88);
  border-bottom: 1px solid rgba(216, 221, 207, 0.78);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero-actions,
.capability-strip,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 11px;
  background: var(--accent);
  color: #fff;
  font-size: 1rem;
}

.nav-links {
  justify-content: center;
  gap: clamp(16px, 3vw, 34px);
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a,
.site-footer a {
  transition: color 160ms ease;
}

.nav-links a:hover,
.site-footer a:hover {
  color: var(--accent);
}

.nav-cta,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.nav-cta {
  padding: 0 18px;
  color: var(--accent-strong);
  background: var(--accent-soft);
}

.button {
  padding: 0 22px;
}

.button:active,
.nav-cta:active {
  transform: translateY(1px);
}

.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 16px 34px rgba(63, 111, 42, 0.24);
}

.primary:hover {
  background: var(--accent-strong);
}

.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.76);
  color: var(--accent-strong);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(340px, 0.9fr);
  gap: clamp(32px, 6vw, 86px);
  align-items: center;
  min-height: calc(100dvh - 76px);
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(54px, 8vw, 92px) clamp(20px, 5vw, 48px) 44px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 7.4vw, 6.7rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 4.8vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

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

.hero-text {
  max-width: 650px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
  line-height: 1.7;
}

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

.hero-visual {
  position: relative;
  min-height: 520px;
  margin-bottom: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: calc(var(--radius) + 12px);
  background: var(--stone);
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.hero-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 42%, rgba(21, 23, 17, 0.68));
  pointer-events: none;
}

.hero-visual figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 1;
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(21, 23, 17, 0.72);
  color: #fff;
  backdrop-filter: blur(12px);
}

.hero-visual figcaption span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.capability-strip {
  justify-content: center;
  gap: clamp(18px, 5vw, 54px);
  max-width: 1120px;
  margin: 0 auto;
  padding: 26px 20px 78px;
  color: #707866;
  font-weight: 900;
  flex-wrap: wrap;
}

.section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 82px clamp(20px, 5vw, 48px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.72fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: start;
  margin-bottom: 34px;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.75;
}

.service-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 18px;
}

.service-layout article,
.material-list > div,
.timeline li,
.cta-section {
  border: 1px solid rgba(216, 221, 207, 0.92);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
}

.service-layout article {
  min-height: 270px;
  padding: clamp(24px, 4vw, 34px);
}

.service-main {
  background:
    linear-gradient(145deg, rgba(63, 111, 42, 0.16), rgba(255, 255, 255, 0.92)),
    var(--surface);
}

.number {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--accent);
  font-weight: 900;
}

.service-layout p,
.material-list p,
.timeline p {
  color: var(--muted);
  line-height: 1.68;
}

.materials {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(320px, 1fr);
  gap: clamp(32px, 7vw, 90px);
  align-items: start;
}

.material-list {
  display: grid;
  gap: 14px;
}

.material-list > div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 22px;
}

.material-list p {
  margin: 0;
}

.process {
  max-width: 980px;
}

.timeline {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 34px 0 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 22px;
}

.timeline span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 900;
}

.timeline p {
  margin-bottom: 0;
}

.cta-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  max-width: 1120px;
  margin: 40px auto 88px;
  padding: clamp(28px, 5vw, 54px);
  background:
    linear-gradient(135deg, rgba(229, 237, 220, 0.9), rgba(255, 255, 255, 0.94)),
    var(--surface);
  box-shadow: var(--shadow);
}

.cta-section h2 {
  margin-bottom: 12px;
}

.cta-section p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.72;
}

.site-footer {
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy,
  .hero-visual,
  .service-layout article,
  .material-list > div,
  .timeline li {
    animation: rise-in 620ms ease both;
  }

  .hero-visual {
    animation-delay: 100ms;
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .section-heading,
  .service-layout,
  .materials,
  .cta-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 420px;
  }

  .service-layout article {
    min-height: auto;
  }

  .cta-section {
    justify-items: start;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 68px;
  }

  .brand span:last-child {
    display: none;
  }

  .nav-cta {
    padding: 0 14px;
  }

  .hero {
    padding-top: 42px;
  }

  h1 {
    font-size: clamp(2.6rem, 15vw, 4rem);
  }

  .material-list > div,
  .timeline li {
    grid-template-columns: 1fr;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 360px;
  }

  .hero-visual figcaption {
    right: 12px;
    bottom: 12px;
    left: 12px;
  }

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