:root {
  --green: #3f6249;
  --green-dark: #274333;
  --cream: #f4f1e9;
  --paper: #fbfaf7;
  --ink: #202620;
  --muted: #626a62;
  --line: rgba(32, 38, 32, .14);
  --wood: #b48558;
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
img { display: block; width: 100%; }
a { color: inherit; }
button { font: inherit; }

.site-header {
  position: fixed;
  z-index: 100;
  top: 18px;
  left: 50%;
  width: min(1180px, calc(100% - 36px));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px 12px 18px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 22px;
  background: rgba(255,255,255,.13);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: .35s ease;
}
.site-header.scrolled {
  background: rgba(251,250,247,.94);
  border-color: rgba(32,38,32,.1);
  box-shadow: 0 14px 45px rgba(22,31,24,.12);
}
.brand img {
  width: 230px;
  height: 54px;
  object-fit: contain;
  object-position: left center;
}
.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  transition: .25s ease;
}
.site-header.scrolled .main-nav a { color: var(--ink); }
.main-nav a:hover { opacity: .66; }
.main-nav .nav-cta {
  padding: 12px 18px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 999px;
}
.site-header.scrolled .nav-cta {
  color: white;
  border-color: var(--green);
  background: var(--green);
}
.menu-toggle { display:none; }

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: url("images/hero.jpg") center 56% / cover no-repeat;
  color: white;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15,28,19,.75) 0%, rgba(15,28,19,.42) 42%, rgba(15,28,19,.1) 75%),
    linear-gradient(0deg, rgba(15,28,19,.36), transparent 45%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: min(680px, calc(100% - 40px));
  margin-left: max(7vw, 32px);
  padding-top: 76px;
}
.eyebrow, .section-kicker {
  display: block;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .76rem;
  font-weight: 700;
}
.hero h1 {
  max-width: 750px;
  margin: 18px 0 22px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(3.25rem, 6.8vw, 6.6rem);
  line-height: .98;
  letter-spacing: -.055em;
}
.hero-content > p {
  max-width: 620px;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.65;
  color: rgba(255,255,255,.88);
}
.hero-actions { display:flex; flex-wrap:wrap; gap:14px; margin-top: 32px; }
.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height: 52px;
  padding: 0 23px;
  border-radius:999px;
  text-decoration:none;
  font-weight:700;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.button:hover { transform: translateY(-3px); }
.button-primary { background:var(--green); color:white; box-shadow:0 14px 32px rgba(19,41,25,.24); }
.button-ghost { color:white; border:1px solid rgba(255,255,255,.72); background:rgba(255,255,255,.06); backdrop-filter:blur(8px); }
.button-dark { background:var(--ink); color:white; }
.button-light { background:white; color:var(--green-dark); }

.hero-proof {
  position:absolute;
  z-index:2;
  right:max(4vw, 28px);
  bottom:30px;
  display:flex;
  gap:32px;
  padding:18px 22px;
  border:1px solid rgba(255,255,255,.24);
  border-radius:20px;
  background:rgba(17,30,21,.28);
  backdrop-filter:blur(14px);
}
.hero-proof div { display:flex; flex-direction:column; gap:2px; }
.hero-proof strong { font-family:"Manrope"; font-size:1.05rem; }
.hero-proof span { font-size:.77rem; color:rgba(255,255,255,.7); }
.scroll-cue {
  position:absolute;
  z-index:3;
  left:50%;
  bottom:34px;
  width:28px;
  height:45px;
  border:1px solid rgba(255,255,255,.52);
  border-radius:999px;
}
.scroll-cue span {
  position:absolute; left:50%; top:9px;
  width:4px; height:8px;
  border-radius:9px;
  background:white;
  transform:translateX(-50%);
  animation:scroll 1.8s infinite;
}
@keyframes scroll { 0%{opacity:0;transform:translate(-50%,0)} 30%{opacity:1} 100%{opacity:0;transform:translate(-50%,16px)} }

.section { padding: 120px max(7vw, 28px); }
.section-kicker { color:var(--green); margin-bottom:28px; }
.intro { background:var(--paper); }
.intro-grid {
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:clamp(40px, 8vw, 130px);
  align-items:start;
}
h2 {
  margin:0;
  font-family:"Manrope",sans-serif;
  font-size:clamp(2.5rem,5vw,5rem);
  line-height:1.04;
  letter-spacing:-.045em;
}
.intro-grid p, .service-intro p, .about-copy p, .contact p {
  color:var(--muted);
  font-size:1.08rem;
  line-height:1.75;
}
.values {
  margin-top:90px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  border-top:1px solid var(--line);
}
.values article {
  padding:34px 30px 10px 0;
  border-right:1px solid var(--line);
}
.values article + article { padding-left:30px; }
.values article:last-child { border-right:0; }
.values span { color:var(--wood); font-weight:700; font-size:.8rem; }
.values h3 { margin:28px 0 12px; font-family:"Manrope"; font-size:1.3rem; }
.values p { color:var(--muted); line-height:1.6; }

.projects { background:var(--cream); }
.projects-head {
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:30px;
  margin-bottom:50px;
}
.projects-head h2 { max-width:820px; }
.text-link { text-decoration:none; font-weight:700; white-space:nowrap; border-bottom:1px solid currentColor; padding-bottom:6px; }
.project-grid {
  display:grid;
  grid-template-columns:1.35fr .65fr;
  grid-template-rows:repeat(2, 390px);
  gap:18px;
}
.project-card {
  position:relative;
  overflow:hidden;
  border-radius:var(--radius);
  min-height:360px;
}
.project-large { grid-row:1 / 3; }
.project-card img { height:100%; object-fit:cover; transition:transform .65s cubic-bezier(.2,.75,.25,1); }
.project-card:hover img { transform:scale(1.035); }
.project-card::after {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(0deg,rgba(11,21,14,.64),transparent 56%);
}
.project-copy { position:absolute; z-index:2; left:28px; right:28px; bottom:26px; color:white; }
.project-copy span { text-transform:uppercase; letter-spacing:.14em; font-size:.7rem; opacity:.74; }
.project-copy h3 { margin:8px 0 0; font-family:"Manrope"; font-size:clamp(1.4rem,2vw,2.2rem); }

.services { background:var(--paper); }
.services-grid { display:grid; grid-template-columns:.8fr 1.2fr; gap:clamp(50px,9vw,150px); }
.service-intro { position:sticky; top:130px; height:max-content; }
.service-list article {
  display:grid;
  grid-template-columns:70px 210px 1fr;
  gap:20px;
  padding:28px 0;
  border-top:1px solid var(--line);
}
.service-list article:last-child { border-bottom:1px solid var(--line); }
.service-list span { color:var(--wood); font-weight:700; }
.service-list h3 { margin:0; font-family:"Manrope"; font-size:1.25rem; }
.service-list p { margin:0; color:var(--muted); line-height:1.6; }

.about {
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:clamp(50px,8vw,120px);
  align-items:center;
  background:var(--green-dark);
  color:white;
}
.about-image img { min-height:620px; object-fit:cover; border-radius:var(--radius); }
.about-copy .section-kicker { color:#c5d5c7; }
.about-copy p { color:rgba(255,255,255,.72); }
.about-copy .button { margin-top:18px; background:white; color:var(--green-dark); }

.contact { background:var(--wood); color:white; text-align:center; }
.contact-inner { max-width:850px; margin:auto; }
.contact h2 { margin:20px auto; }
.contact p { color:rgba(255,255,255,.8); max-width:640px; margin:0 auto 30px; }

footer {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:30px;
  padding:28px max(7vw,28px);
  background:#181d19;
  color:rgba(255,255,255,.58);
  font-size:.85rem;
}
footer img { width:210px; filter:brightness(0) invert(1); opacity:.92; }

.reveal { animation:heroIn .9s .15s both cubic-bezier(.16,1,.3,1); }
@keyframes heroIn { from{opacity:0;transform:translateY(26px)} to{opacity:1;transform:none} }

@media (max-width: 980px) {
  .site-header { top:12px; }
  .brand img { width:185px; height:46px; }
  .menu-toggle {
    display:flex; width:46px;height:46px;border:0;border-radius:50%;
    background:rgba(255,255,255,.92); align-items:center;justify-content:center;flex-direction:column;gap:6px;
  }
  .menu-toggle span { width:19px;height:2px;background:var(--ink);transition:.25s; }
  .main-nav {
    position:absolute; top:64px; left:0; right:0;
    display:none; flex-direction:column; align-items:stretch; gap:0;
    padding:14px; border-radius:20px; background:var(--paper); box-shadow:0 18px 45px rgba(20,30,22,.18);
  }
  .main-nav.open { display:flex; }
  .main-nav a, .site-header.scrolled .main-nav a { color:var(--ink); padding:14px; }
  .main-nav .nav-cta { background:var(--green); color:white !important; text-align:center; border:0; }
  .hero-proof { display:none; }
  .scroll-cue { left:auto; right:28px; }
  .intro-grid, .services-grid, .about { grid-template-columns:1fr; }
  .service-intro { position:static; }
  .project-grid { grid-template-columns:1fr; grid-template-rows:none; }
  .project-large { grid-row:auto; }
  .project-card { min-height:470px; }
  .about-image img { min-height:480px; }
}

@media (max-width: 650px) {
  .site-header { width:calc(100% - 20px); }
  .brand img { width:155px; }
  .hero { background-position:58% center; }
  .hero-content { margin-left:22px; width:calc(100% - 44px); padding-top:90px; }
  .hero h1 { font-size:clamp(3.1rem,14vw,4.6rem); }
  .hero-actions { flex-direction:column; align-items:stretch; }
  .button { width:100%; }
  .section { padding:86px 22px; }
  .intro-grid { gap:28px; }
  .values { grid-template-columns:1fr; margin-top:58px; }
  .values article, .values article + article { padding:26px 0; border-right:0; border-bottom:1px solid var(--line); }
  .projects-head { align-items:start; flex-direction:column; }
  .project-card { min-height:390px; border-radius:20px; }
  .service-list article { grid-template-columns:48px 1fr; }
  .service-list article p { grid-column:2; }
  .about-image img { min-height:360px; border-radius:20px; }
  footer { flex-direction:column; text-align:center; }
}
