:root {
  --sage: #7bae7f;
  --mint: #ddf4e1;
  --warm-white: #fcfcf8;
  --charcoal: #1f2937;
  --olive: #5e8a61;
  --white: #ffffff;
  --border: rgba(94, 138, 97, 0.14);
  --shadow: 0 20px 60px rgba(31, 41, 55, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--charcoal);
  background:
    radial-gradient(circle at top left, rgba(221, 244, 225, 0.55), transparent 36%),
    radial-gradient(circle at right 18%, rgba(123, 174, 127, 0.08), transparent 28%),
    var(--warm-white);
}

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

.page-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 32px;
}

.topbar,
.footer,
.stats,
.timeline,
.actions,
.topnav,
.footer-links {
  display: flex;
  align-items: center;
}

.topbar,
.footer {
  justify-content: space-between;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 10;
  padding: 16px 20px;
  margin-bottom: 24px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(252, 252, 248, 0.76);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-mark {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--sage), var(--mint));
  box-shadow: 0 0 0 6px rgba(123, 174, 127, 0.12);
}

.topnav,
.footer-links,
.actions {
  gap: 20px;
}

.topnav a,
.footer-links a {
  color: rgba(31, 41, 55, 0.74);
  transition: color 180ms ease;
}

.topnav a:hover,
.footer-links a:hover {
  color: var(--olive);
}

.section {
  padding: 72px 0;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
  min-height: calc(100vh - 140px);
  padding-top: 24px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--olive);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
blockquote {
  font-family: "Plus Jakarta Sans", sans-serif;
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin: 0;
}

h1 {
  font-size: clamp(3.5rem, 8vw, 7.2rem);
  max-width: 9ch;
}

h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  max-width: 12ch;
}

h3 {
  font-size: 1.35rem;
}

p {
  line-height: 1.8;
  color: rgba(31, 41, 55, 0.78);
}

.lead {
  max-width: 34rem;
  margin: 22px 0 0;
  font-size: 1.08rem;
}

.actions {
  margin-top: 32px;
  flex-wrap: wrap;
}

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

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(31, 41, 55, 0.08);
}

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--sage), var(--olive));
}

.button-secondary {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.72);
}

.hero-visual {
  position: relative;
  min-height: 680px;
  border-radius: 36px;
  border: 1px solid rgba(123, 174, 127, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(221, 244, 225, 0.34)),
    var(--white);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 18% auto auto 12%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123, 174, 127, 0.4), rgba(123, 174, 127, 0.02) 70%);
  filter: blur(8px);
  animation: drift 12s ease-in-out infinite;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  animation: drift 14s ease-in-out infinite;
}

.orb-one {
  top: 12%;
  right: 12%;
  width: 180px;
  height: 180px;
  background: linear-gradient(145deg, rgba(221, 244, 225, 0.95), rgba(123, 174, 127, 0.2));
}

.orb-two {
  bottom: 16%;
  left: 10%;
  width: 240px;
  height: 240px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(94, 138, 97, 0.18));
  animation-delay: -3s;
}

.orb-three {
  right: 24%;
  bottom: 10%;
  width: 110px;
  height: 110px;
  background: linear-gradient(145deg, rgba(123, 174, 127, 0.35), rgba(221, 244, 225, 0.1));
  animation-delay: -6s;
}

.panel-card {
  position: absolute;
  right: 12%;
  bottom: 14%;
  width: min(68%, 340px);
  padding: 28px;
  border-radius: 28px;
  background: rgba(252, 252, 248, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 18px 48px rgba(31, 41, 55, 0.08);
  backdrop-filter: blur(10px);
}

.panel-line {
  height: 12px;
  margin-top: 16px;
  border-radius: 999px;
  background: rgba(123, 174, 127, 0.18);
}

.panel-line.long {
  width: 88%;
  margin-top: 0;
}

.panel-line.short {
  width: 58%;
}

.section-head {
  margin-bottom: 32px;
}

.pillars,
.service-grid,
.project-grid,
.stats {
  display: grid;
  gap: 20px;
}

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

.pillar,
.service-card,
.project-card,
.cta-card,
.stat {
  border: 1px solid var(--border);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 10px 30px rgba(31, 41, 55, 0.04);
}

.pillar,
.service-card,
.project-card {
  padding: 28px;
}

.pillar-icon {
  display: inline-block;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  border-radius: 50%;
  border: 1px solid rgba(123, 174, 127, 0.2);
  background: radial-gradient(circle at 30% 30%, var(--mint), rgba(123, 174, 127, 0.16));
}

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

.service-card,
.project-card,
.cta-card,
.stat {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover,
.project-card:hover,
.stat:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(31, 41, 55, 0.08);
  border-color: rgba(123, 174, 127, 0.22);
}

.quote-section {
  padding-top: 36px;
  padding-bottom: 36px;
}

blockquote {
  max-width: 12ch;
  margin: 0 auto;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  text-align: center;
}

.timeline {
  list-style: none;
  gap: 18px;
  justify-content: space-between;
  align-items: stretch;
  padding: 0;
  margin: 0;
}

.timeline li {
  position: relative;
  flex: 1;
  min-width: 0;
  padding: 22px 20px 18px;
  border-top: 1px solid var(--border);
}

.timeline li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: -1px;
  right: -10px;
  width: 20px;
  height: 1px;
  background: var(--border);
}

.timeline span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 50%;
  color: var(--olive);
  border: 1px solid rgba(123, 174, 127, 0.18);
  background: rgba(221, 244, 225, 0.4);
  font-weight: 700;
}

.timeline strong {
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.1rem;
}

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

.project-category {
  margin: 0 0 18px;
  color: var(--olive);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.stat {
  padding: 28px 22px;
  text-align: center;
}

.stat strong {
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  letter-spacing: -0.05em;
}

.stat span {
  display: block;
  margin-top: 8px;
  color: rgba(31, 41, 55, 0.68);
}

.cta-card {
  padding: 48px;
  text-align: center;
  background: linear-gradient(180deg, rgba(221, 244, 225, 0.95), rgba(252, 252, 248, 0.86));
}

.cta-card h2 {
  margin: 10px auto 0;
}

.cta-card .actions {
  justify-content: center;
}

.footer {
  gap: 16px;
  padding: 28px 0 12px;
  border-top: 1px solid rgba(94, 138, 97, 0.12);
  font-size: 0.95rem;
}

.footer p {
  margin: 0;
}

.reveal {
  animation: fade-up 760ms ease both;
}

.reveal:nth-child(2) {
  animation-delay: 100ms;
}

.reveal:nth-child(3) {
  animation-delay: 180ms;
}

.reveal:nth-child(4) {
  animation-delay: 260ms;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(12px, -14px, 0) scale(1.04);
  }
}

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 520px;
  }

  .pillars,
  .project-grid,
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 20px, 1200px);
  }

  .topbar {
    border-radius: 28px;
    padding: 14px 16px;
  }

  .topnav,
  .footer,
  .actions,
  .timeline,
  .stats {
    flex-direction: column;
    align-items: stretch;
  }

  .hero {
    min-height: auto;
    padding-top: 12px;
  }

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

  .service-grid,
  .pillars,
  .project-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .timeline li:not(:last-child)::after {
    display: none;
  }

  .cta-card {
    padding: 34px 22px;
  }
}