:root {
  --forest: #071a14;
  --canopy: #0c2b21;
  --moss: #1f6b4a;
  --leaf: #3fad74;
  --mist: #d7ebe1;
  --foam: #f3faf6;
  --ink: #0a1f18;
  --muted: #6d8a7c;
  --water: #3a8ea3;
  --display: "Fraunces", Georgia, serif;
  --body: "Manrope", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--foam);
  line-height: 1.5;
}

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

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

.wrap {
  width: min(1120px, calc(100% - 3rem));
  margin-inline: auto;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 0;
}

.brand {
  font-family: var(--display);
  font-size: 1.15rem;
  color: var(--foam);
  letter-spacing: -0.02em;
}

.nav {
  display: none;
  gap: 2rem;
  font-size: 0.92rem;
  color: color-mix(in srgb, var(--mist) 85%, transparent);
}

.nav a:hover {
  color: var(--foam);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.15rem;
  border-radius: 2px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-leaf {
  background: var(--leaf);
  color: var(--forest);
}

.btn-leaf:hover {
  background: var(--mist);
}

.btn-foam {
  background: var(--foam);
  color: var(--forest);
}

.btn-foam:hover {
  background: var(--leaf);
  color: var(--foam);
}

.btn-ghost {
  border: 1px solid color-mix(in srgb, var(--mist) 35%, transparent);
  color: var(--mist);
}

.btn-ghost:hover {
  border-color: var(--foam);
  color: var(--foam);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  color: var(--foam);
  background: var(--forest);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: drift 18s ease-out both;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 26, 20, 0.55) 0%,
    rgba(7, 26, 20, 0.35) 40%,
    rgba(7, 26, 20, 0.88) 100%
  );
}

.hero-glow {
  position: absolute;
  inset: auto 0 0;
  height: 10rem;
  background: radial-gradient(
    ellipse at center,
    rgba(58, 142, 163, 0.35),
    transparent 70%
  );
  animation: shimmer 6s ease-in-out infinite;
}

.hero-content {
  padding: 7rem 0 4.5rem;
}

.hero-brand {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3rem, 9vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.hero-rule {
  width: 6rem;
  height: 1px;
  margin-top: 1.4rem;
  background: var(--leaf);
  transform-origin: left;
  animation: draw-line 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both;
}

.hero-title {
  margin: 1.4rem 0 0;
  max-width: 36rem;
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--mist);
}

.hero-copy {
  margin: 1rem 0 0;
  max-width: 34rem;
  color: color-mix(in srgb, var(--mist) 80%, transparent);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.reveal {
  animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.delay-1 {
  animation-delay: 0.15s;
}

.delay-2 {
  animation-delay: 0.3s;
}

.delay-3 {
  animation-delay: 0.45s;
}

.section {
  padding: 5rem 0;
}

.section-foam {
  background: var(--foam);
}

.section-mist {
  background: var(--mist);
}

.section-canopy {
  position: relative;
  overflow: hidden;
  background: var(--canopy);
  color: var(--foam);
}

.section-canopy::before,
.section-canopy::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(60px);
  pointer-events: none;
}

.section-canopy::before {
  width: 18rem;
  height: 18rem;
  right: -4rem;
  top: 2rem;
  background: color-mix(in srgb, var(--water) 20%, transparent);
}

.section-canopy::after {
  width: 16rem;
  height: 16rem;
  left: -3rem;
  bottom: 0;
  background: color-mix(in srgb, var(--leaf) 15%, transparent);
}

.section-forest {
  background: var(--forest);
  color: var(--foam);
}

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

.eyebrow.leaf {
  color: var(--leaf);
}

.display {
  margin: 1rem 0 0;
  font-family: var(--display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.display.light {
  color: var(--foam);
}

.lead {
  margin: 1.4rem 0 0;
  max-width: 36rem;
  font-size: 1.125rem;
  color: var(--muted);
}

.lead.muted {
  color: color-mix(in srgb, var(--mist) 75%, transparent);
}

.split {
  display: grid;
  gap: 3rem;
}

.facts {
  border-left: 2px solid color-mix(in srgb, var(--leaf) 50%, transparent);
  padding-left: 1.5rem;
  display: flex;
  align-items: flex-end;
}

.facts dl {
  margin: 0;
  display: grid;
  gap: 1.4rem;
}

.facts dt {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.facts dd {
  margin: 0.25rem 0 0;
  font-size: 1.1rem;
  color: var(--ink);
}

.service-grid {
  list-style: none;
  margin: 3.2rem 0 0;
  padding: 0;
  display: grid;
  gap: 2.5rem 2.2rem;
}

.service-grid .num {
  font-family: var(--display);
  font-size: 0.95rem;
  color: color-mix(in srgb, var(--leaf) 90%, transparent);
}

.service-grid h3 {
  margin: 0.7rem 0 0;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
}

.service-grid p {
  margin: 0.7rem 0 0;
  max-width: 28rem;
  color: color-mix(in srgb, var(--mist) 70%, transparent);
}

.service-grid li {
  padding-bottom: 1.1rem;
  border-bottom: 1px solid color-mix(in srgb, var(--leaf) 40%, transparent);
}

.media-frame {
  overflow: hidden;
  aspect-ratio: 5 / 4;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.steps {
  list-style: none;
  margin: 1.8rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.4rem;
}

.steps li {
  display: flex;
  gap: 1rem;
}

.steps span {
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--moss);
  line-height: 1.2;
}

.steps h3 {
  margin: 0;
  font-size: 1.2rem;
}

.steps p {
  margin: 0.3rem 0 0;
  color: var(--muted);
}

.contact-inner {
  display: grid;
  gap: 2.5rem;
}

.contact-details {
  display: grid;
  gap: 1.1rem;
  align-content: end;
}

.email {
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-weight: 600;
  color: var(--leaf);
}

.email:hover {
  color: var(--foam);
}

.contact-details p {
  margin: 0;
  color: color-mix(in srgb, var(--mist) 70%, transparent);
}

.site-footer {
  border-top: 1px solid color-mix(in srgb, var(--leaf) 20%, transparent);
  background: var(--forest);
  color: color-mix(in srgb, var(--mist) 55%, transparent);
  font-size: 0.9rem;
  padding: 1.6rem 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-inner p {
  margin: 0;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  from {
    transform: scale(1.08) translateY(0);
  }
  to {
    transform: scale(1) translateY(-2%);
  }
}

@keyframes shimmer {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 0.65;
  }
}

@keyframes draw-line {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }

  .section {
    padding: 6.5rem 0;
  }

  .split {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
  }

  .facts {
    padding-left: 2.4rem;
  }

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

  .contact-inner {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: end;
  }

  .contact-details {
    text-align: right;
    justify-items: end;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .media-split {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .media-frame {
    aspect-ratio: 4 / 5;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .hero-img,
  .hero-glow,
  .hero-rule {
    animation: none;
  }
}
