:root {
  --ink: #092421;
  --muted: #52605d;
  --paper: #f6f2e8;
  --surface: #fffaf0;
  --line: rgba(9, 36, 33, 0.14);
  --spring: #b8e986;
  --spring-dark: #0f2f2e;
  --accent: #e8b55f;
  --shadow: 0 24px 80px rgba(15, 47, 46, 0.16);
  --radius: 28px;
  --max: 1160px;
}

* {
  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.5;
}

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

.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 16px 0 auto 0;
  z-index: 10;
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: rgba(246, 242, 232, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 42px rgba(15, 47, 46, 0.10);
  transition: transform 220ms ease, background 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(246, 242, 232, 0.92);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--spring-dark);
  background: linear-gradient(145deg, var(--spring), #f4ffb7);
  box-shadow: inset 0 -8px 12px rgba(15, 47, 46, 0.08);
}

.brand-text {
  font-size: 1.15rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  padding: 10px 15px;
  border-radius: 999px;
  color: rgba(9, 36, 33, 0.82);
  font-weight: 650;
  font-size: 0.94rem;
}

.site-nav a:hover {
  background: rgba(15, 47, 46, 0.08);
}

.nav-cta {
  background: var(--spring-dark);
  color: white !important;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 860px;
  padding: 168px 0 96px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(184, 233, 134, 0.72), transparent 26%),
    radial-gradient(circle at 82% 18%, rgba(232, 181, 95, 0.46), transparent 28%),
    linear-gradient(135deg, #f6f2e8 0%, #e8ead8 55%, #d9e7d0 100%);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: auto -8% -24% -8%;
  height: 44%;
  background: var(--spring-dark);
  transform: rotate(-3deg);
  border-radius: 50% 50% 0 0;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.75fr);
  gap: 48px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: #42705f;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

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

h1 {
  margin-bottom: 24px;
  font-size: clamp(3.7rem, 7vw, 7.2rem);
  line-height: 0.88;
  letter-spacing: -0.075em;
  max-width: 900px;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 4vw, 4.7rem);
  line-height: 0.95;
  letter-spacing: -0.064em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.hero-lede {
  max-width: 660px;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.hero-actions,
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 21px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: white;
  background: var(--spring-dark);
  box-shadow: 0 16px 34px rgba(15, 47, 46, 0.24);
}

.button.ghost {
  border-color: rgba(9, 36, 33, 0.22);
  background: rgba(255, 255, 255, 0.36);
}

.button.large {
  min-height: 60px;
  padding-inline: 28px;
  font-size: 1.05rem;
}

.hero-proof {
  margin-top: 28px;
  color: #365550;
  font-weight: 700;
  font-size: 0.92rem;
}

.hero-proof span {
  padding: 8px 12px;
  border: 1px solid rgba(9, 36, 33, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
}

.hero-card {
  position: relative;
  min-height: 520px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 38px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.78), rgba(255,255,255,0.38)),
    repeating-linear-gradient(90deg, rgba(15,47,46,0.10) 0 1px, transparent 1px 48px),
    repeating-linear-gradient(0deg, rgba(15,47,46,0.10) 0 1px, transparent 1px 48px);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -60px;
  top: 70px;
  border-radius: 40px;
  background: linear-gradient(145deg, var(--spring-dark), #315a51);
  transform: rotate(12deg);
}

.hero-card::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 110px;
  right: 54px;
  top: 172px;
  border-radius: 18px;
  background: var(--spring);
  transform: rotate(12deg);
  opacity: 0.9;
}

.card-top,
.model-lines,
.metric-row,
.site-panel {
  position: relative;
  z-index: 1;
}

.card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 800;
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #41af67;
  box-shadow: 0 0 0 7px rgba(65, 175, 103, 0.15);
}

.model-lines {
  display: grid;
  gap: 16px;
  margin-top: 72px;
  max-width: 260px;
}

.model-lines span {
  width: var(--w);
  height: 15px;
  border-radius: 999px;
  background: rgba(15, 47, 46, 0.18);
}

.metric-row {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 116px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.metric-row div {
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 250, 240, 0.82);
  border: 1px solid rgba(9, 36, 33, 0.12);
}

.metric-row strong {
  display: block;
  font-size: 1.6rem;
  letter-spacing: -0.05em;
}

.metric-row small {
  color: var(--muted);
  font-weight: 700;
}

.site-panel {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 26px;
  padding: 18px;
  border-radius: 24px;
  background: var(--spring-dark);
  color: white;
}

.site-panel span {
  display: block;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
  margin-bottom: 3px;
}

.section {
  padding: 104px 0;
}

.split {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 64px;
  align-items: start;
}

.split > p,
.contact-card p {
  color: var(--muted);
  font-size: 1.16rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 38px;
}

.service-grid,
.project-grid {
  display: grid;
  gap: 18px;
}

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

.service-card,
.project-card,
.timeline article,
.value-list > div {
  border: 1px solid var(--line);
  background: rgba(255, 250, 240, 0.64);
  box-shadow: 0 18px 60px rgba(15, 47, 46, 0.07);
}

.service-card {
  min-height: 320px;
  padding: 28px;
  border-radius: var(--radius);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 34px;
  border-radius: 18px;
  background: var(--spring);
  font-size: 1.6rem;
}

.service-card p,
.timeline p,
.project-card p,
.value-list p,
.site-footer p {
  color: var(--muted);
}

.process {
  background: var(--spring-dark);
  color: white;
}

.process .eyebrow {
  color: var(--spring);
}

.process .timeline p {
  color: rgba(255, 255, 255, 0.72);
}

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

.timeline article {
  padding: 26px;
  border-color: rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.timeline span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 30px;
  border-radius: 50%;
  background: var(--spring);
  color: var(--spring-dark);
  font-weight: 900;
}

.project-grid {
  grid-template-columns: repeat(3, 1fr);
}

.project-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
}

.project-card div:last-child {
  padding: 24px;
}

.project-image {
  min-height: 250px;
  background:
    linear-gradient(135deg, rgba(9,36,33,0.24), rgba(184,233,134,0.26)),
    repeating-linear-gradient(45deg, rgba(9,36,33,0.12) 0 1px, transparent 1px 18px);
}

.image-one {
  background-color: #cbd8c0;
}

.image-two {
  background-color: #d9c6a7;
}

.image-three {
  background-color: #bfc9c8;
}

.value-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
}

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

.value-list > div {
  padding: 24px;
  border-radius: 24px;
}

.contact {
  padding: 44px 0 104px;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  padding: clamp(28px, 5vw, 56px);
  border-radius: 38px;
  background:
    radial-gradient(circle at 100% 0%, rgba(184, 233, 134, 0.6), transparent 30%),
    var(--surface);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.site-footer {
  padding: 46px 0;
  color: white;
  background: #071918;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer-grid a:not(.brand) {
  display: block;
  margin-top: 10px;
  color: var(--spring);
}

.footer-brand {
  margin-bottom: 10px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

@media (max-width: 960px) {
  h1 {
    font-size: clamp(3.1rem, 12vw, 5rem);
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .split,
  .value-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .hero-card {
    min-height: 480px;
  }

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

  .contact-card .button {
    justify-self: start;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .site-header {
    inset: 10px 0 auto 0;
    border-radius: 26px;
    align-items: flex-start;
  }

  .menu-toggle {
    display: inline-grid;
    gap: 4px;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: var(--spring-dark);
    cursor: pointer;
  }

  .menu-toggle span:not(.sr-only) {
    display: block;
    width: 17px;
    height: 2px;
    background: white;
    border-radius: 999px;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border-radius: 24px;
    background: rgba(246, 242, 232, 0.96);
    box-shadow: 0 12px 42px rgba(15, 47, 46, 0.12);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 15px;
  }

  .hero {
    padding-top: 132px;
  }

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

  .metric-row {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: 190px;
  }

  .site-panel {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: 12px;
  }

  .hero-card::before {
    right: -100px;
  }

  .hero-card::after {
    right: -8px;
  }

  .footer-grid {
    flex-direction: column;
  }
}
