/* ===== Design tokens ===== */
:root {
  --forest: #132019;
  --forest-light: #1F3225;
  --forest-lighter: #2C4535;
  --cream: #F6F2E8;
  --sage: #E6EBDD;
  --sage-deep: #D6E0C7;
  --stone: #6E7166;
  --accent: #B9D18B;
  --line: #DAD4C4;
  --radius-xl: 1.25rem;
  --max-content: 1400px;
  --ease-elegant: cubic-bezier(0.65, 0, 0.35, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--forest);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  margin: 0;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font-family: inherit; }

::selection { background: var(--accent); color: var(--forest); }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 3px;
  border-radius: 2px;
}

.container {
  max-width: var(--max-content);
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 768px) {
  .container { padding: 0 2.5rem; }
}

.rounded-xl { border-radius: var(--radius-xl); overflow: hidden; }

/* Underline-on-hover link */
.link-underline {
  position: relative;
}
.link-underline::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-elegant);
}
.link-underline:hover::after,
.link-underline:focus-visible::after { transform: scaleX(1); }

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease-elegant), transform 0.9s var(--ease-elegant);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.icon { width: 1em; height: 1em; stroke: currentColor; vertical-align: -0.15em; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform 0.3s var(--ease-elegant), background-color 0.3s;
}
.btn-accent { background: var(--accent); color: var(--forest); }
.btn-accent:hover { transform: translateY(-2px); }
.btn-forest { background: var(--forest); color: var(--cream); }
.btn-forest:hover { background: var(--forest-light); }

/* ===== Nav ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: transparent;
  transition: background-color 0.5s var(--ease-elegant), box-shadow 0.5s var(--ease-elegant);
}
.nav.scrolled {
  background: rgba(246, 242, 232, 0.95);
  backdrop-filter: blur(4px);
  box-shadow: 0 1px 0 0 rgba(19,32,25,0.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--cream);
  transition: color 0.3s;
}
.nav.scrolled .nav-logo { color: var(--forest); }
.nav-logo img { width: 32px; height: 32px; object-fit: contain; }
.nav-logo span.light { font-weight: 400; opacity: 0.7; }

.nav-links {
  display: none;
  align-items: center;
  gap: 36px;
  font-size: 15px;
  color: var(--cream);
  transition: color 0.3s;
}
.nav.scrolled .nav-links { color: var(--forest); }

.nav-cta {
  display: none;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  background: var(--cream);
  color: var(--forest);
  transition: background-color 0.3s, color 0.3s;
}
.nav.scrolled .nav-cta { background: var(--forest); color: var(--cream); }
.nav.scrolled .nav-cta:hover { background: var(--forest-light); }
.nav:not(.scrolled) .nav-cta:hover { background: #fff; }

.nav-toggle {
  display: inline-flex;
  background: none;
  border: none;
  padding: 8px;
  margin-right: -8px;
  color: var(--cream);
  cursor: pointer;
}
.nav.scrolled .nav-toggle { color: var(--forest); }

.nav-mobile {
  display: none;
  background: var(--cream);
  border-top: 1px solid var(--line);
  padding: 8px 24px 32px;
}
.nav-mobile.open { display: block; }
.nav-mobile nav { display: flex; flex-direction: column; gap: 4px; }
.nav-mobile a {
  color: var(--forest);
  font-size: 18px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(218,212,196,0.7);
}
.nav-mobile .btn { margin-top: 24px; width: 100%; justify-content: center; }

@media (min-width: 768px) {
  .nav-links, .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  height: 100dvh;
  min-height: 640px;
  width: 100%;
  overflow: hidden;
}
.hero img.bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 75%;
}
.hero .overlay-1 {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(19,32,25,0.9), rgba(19,32,25,0.55) 50%, rgba(19,32,25,0.1));
}
.hero .overlay-2 {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(19,32,25,0.7), transparent 60%);
}
.hero-content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-eyebrow { color: rgba(246,242,232,0.8); font-size: 14px; margin-bottom: 20px; }

.hero h1 {
  color: var(--cream);
  font-size: 13vw;
  line-height: 0.98;
  max-width: 760px;
  letter-spacing: -0.02em;
}
@media (min-width: 640px) { .hero h1 { font-size: 60px; } }
@media (min-width: 768px) { .hero h1 { font-size: 72px; } }
@media (min-width: 1024px) { .hero h1 { font-size: 88px; } }

.hero-sub {
  color: rgba(246,242,232,0.85);
  font-size: 16px;
  margin-top: 24px;
  max-width: 420px;
  line-height: 1.6;
}
@media (min-width: 768px) { .hero-sub { font-size: 18px; } }

.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 36px; }
.hero-ctas .link-underline { color: var(--cream); font-size: 15px; font-weight: 500; padding: 14px 8px; }

.hero-facts {
  display: flex; flex-wrap: wrap;
  align-items: center; gap: 16px 32px;
  margin-top: 56px; padding-top: 32px;
  border-top: 1px solid rgba(246,242,232,0.2);
  color: rgba(246,242,232,0.8);
  font-size: 14px;
}
.hero-facts span { display: flex; align-items: center; gap: 8px; }
.hero-facts .icon { color: var(--accent); }

/* ===== Section basics ===== */
section { padding: 96px 0; }
@media (min-width: 768px) { section { padding: 128px 0; } }
.bg-cream { background: var(--cream); }
.bg-sage { background: var(--sage); }
.bg-forest { background: var(--forest); }

/* ===== Grid helpers ===== */
.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 40px;
  align-items: center;
}
@media (max-width: 767px) {
  .grid-12 { grid-template-columns: 1fr; gap: 40px; }
}
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
@media (max-width: 767px) {
  .col-5, .col-6, .col-7 { grid-column: 1 / -1; }
}

/* ===== Intro ===== */
.intro-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 48px; max-width: 420px;
  border-top: 1px solid var(--line); padding-top: 32px;
}
.intro-stats .num { font-family: 'Manrope', sans-serif; font-weight: 600; font-size: 30px; color: var(--forest); }
.intro-stats .label { color: var(--stone); font-size: 14px; margin-top: 4px; }

.intro-media { position: relative; height: 420px; }
@media (min-width: 768px) { .intro-media { height: 560px; } }

/* Before/after slider */
.ba-slider {
  position: relative;
  width: 100%; height: 100%;
  overflow: hidden;
  border-radius: var(--radius-xl);
  user-select: none;
  touch-action: none;
  cursor: ew-resize;
}
.ba-slider img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba-slider .before-wrap {
  position: absolute; inset: 0;
  overflow: hidden;
}
.ba-label {
  position: absolute; top: 16px;
  background: rgba(19,32,25,0.7);
  color: var(--cream);
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 999px;
}
.ba-label.before { left: 16px; }
.ba-label.after { right: 16px; }
.ba-divider {
  position: absolute; top: 0; bottom: 0;
  width: 2px;
  background: rgba(246,242,232,0.9);
  transform: translateX(-1px);
}
.ba-handle {
  position: absolute; top: 50%; left: 50%;
  width: 44px; height: 44px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--cream);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--forest);
}

/* ===== Services ===== */
.services-head {
  display: flex; flex-direction: column; gap: 24px;
  margin-bottom: 64px;
}
@media (min-width: 768px) {
  .services-head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}
.services-head h2 { max-width: 420px; }
.services-head p { color: var(--stone); max-width: 380px; line-height: 1.6; }

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  display: block;
  border-top: 1px solid var(--line);
  padding: 36px 24px 36px 8px;
}
@media (min-width: 1024px) {
  .service-card { border-right: 1px solid var(--line); }
  .service-card:nth-child(3n) { border-right: none; }
}
.service-card .icon-lg { width: 26px; height: 26px; stroke-width: 1.5; color: var(--forest); }
.service-card h3 { font-size: 20px; margin-top: 24px; }
.service-card p { color: var(--stone); font-size: 15px; line-height: 1.6; margin-top: 12px; max-width: 26ch; }
.service-more {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--forest); font-size: 14px; margin-top: 20px; opacity: 0.7;
  transition: opacity 0.3s;
}
.service-card:hover .service-more { opacity: 1; }

/* ===== Why us ===== */
.whyus-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 56px 32px; margin-top: 80px;
}
@media (min-width: 640px) { .whyus-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .whyus-grid { grid-template-columns: repeat(4, 1fr); } }
.whyus-item { border-top: 1px solid rgba(246,242,232,0.2); padding-top: 24px; }
.whyus-item .n {
  font-family: 'Manrope', sans-serif; font-weight: 600;
  color: rgba(185,209,139,0.9); font-size: 48px; line-height: 1;
}
@media (min-width: 768px) { .whyus-item .n { font-size: 60px; } }
.whyus-item h3 { color: var(--cream); font-size: 18px; margin-top: 24px; }
.whyus-item p { color: rgba(246,242,232,0.65); font-size: 15px; line-height: 1.6; margin-top: 12px; }
h2.on-forest { color: var(--cream); }

/* ===== Projects ===== */
.projects-grid {
  display: grid; grid-template-columns: 1fr; gap: 20px;
}
@media (min-width: 768px) {
  .projects-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 260px; gap: 24px; }
}
.project-card {
  position: relative; height: 100%; min-height: 280px;
  border-radius: var(--radius-xl); overflow: hidden;
}
.project-card.span-row2 { grid-row: span 2; }
.project-card.span-col2 { grid-column: span 2; }
@media (max-width: 767px) { .project-card.span-col2 { grid-column: auto; } }
.project-card img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform 1.2s var(--ease-elegant);
}
.project-card:hover img { transform: scale(1.05); }
.project-card .shade {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(19,32,25,0.8), transparent 60%);
}
.project-card .info { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; }
.project-card .info .meta { color: rgba(246,242,232,0.7); font-size: 12px; margin-bottom: 6px; }
.project-card .info h3 { color: var(--cream); font-size: 20px; }

/* ===== Testimonials ===== */
.testimonials-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 40px 32px; margin-top: 64px;
}
@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial { border-top: 1px solid var(--line); padding-top: 24px; }
.testimonial p.quote { font-size: 17px; line-height: 1.6; color: var(--forest); }
.testimonial p.attrib { color: var(--stone); font-size: 14px; margin-top: 20px; }

/* ===== CTA band ===== */
.cta-band { position: relative; padding: 128px 0; overflow: hidden; }
@media (min-width: 768px) { .cta-band { padding: 160px 0; } }
.cta-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-band .shade { position: absolute; inset: 0; background: rgba(19,32,25,0.85); }
.cta-band .container { position: relative; text-align: center; }
.cta-band h2 { color: var(--cream); font-size: 40px; max-width: 640px; margin: 0 auto; line-height: 1.05; }
@media (min-width: 768px) { .cta-band h2 { font-size: 60px; } }
.cta-band p { color: rgba(246,242,232,0.75); font-size: 16px; margin: 24px auto 0; max-width: 420px; line-height: 1.6; }
@media (min-width: 768px) { .cta-band p { font-size: 18px; } }
.cta-band-ctas { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; margin-top: 40px; }
.cta-band-ctas a.link-underline { color: var(--cream); font-size: 15px; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }

/* ===== Contact ===== */
.contact-info { display: flex; flex-direction: column; gap: 24px; margin-top: 48px; }
.contact-row { display: flex; align-items: center; gap: 16px; }
.contact-icon {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--forest);
}
.contact-row a, .contact-row span.text { color: var(--forest); font-size: 15px; }

.form-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: repeat(2, 1fr); } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { color: var(--stone); font-size: 14px; }
.field input, .field textarea {
  background: transparent; border: none; border-bottom: 1px solid var(--line);
  padding: 12px 0; color: var(--forest); font-size: 15px;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(110,113,102,0.6); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--forest); }
.field textarea { resize: none; }

/* ===== Footer ===== */
footer.site-footer { background: var(--forest); padding: 80px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 48px; padding-bottom: 64px; border-bottom: 1px solid rgba(246,242,232,0.15); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 5fr 3fr 4fr; } }
.footer-logo { width: 160px; height: 64px; position: relative; }
.footer-logo img { width: 100%; height: 100%; object-fit: contain; object-position: left; }
.footer-desc { color: rgba(246,242,232,0.6); font-size: 15px; line-height: 1.6; margin-top: 24px; max-width: 320px; }
.footer-col p.head { color: rgba(246,242,232,0.5); font-size: 14px; margin-bottom: 20px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col ul a, .footer-col ul li { color: rgba(246,242,232,0.8); font-size: 15px; }
.footer-bottom {
  display: flex; flex-direction: column; gap: 12px;
  justify-content: space-between; padding-top: 32px;
  color: rgba(246,242,232,0.45); font-size: 14px;
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; align-items: center; } }