
:root {
  --black: #06110b;
  --forest: #102017;
  --forest-2: #193425;
  --green: #79a85f;
  --lime: #b9d78a;
  --sand: #f4efe4;
  --sand-dark: #e7ddce;
  --timber: #b7804e;
  --charcoal: #252928;
  --white: #ffffff;
  --muted: #697266;
  --shadow: 0 28px 80px rgba(16, 32, 23, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  background: var(--sand);
  color: var(--forest);
}

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

a {
  color: inherit;
}

.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 6vw;
  color: white;
  background: linear-gradient(to bottom, rgba(6,17,11,.94), rgba(6,17,11,.12));
  backdrop-filter: blur(10px);
}

.brand {
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .14em;
  line-height: 1.05;
}

.brand span {
  display: block;
  font-size: .72rem;
  opacity: .82;
}

.brand strong {
  display: block;
  color: var(--lime);
  font-size: .94rem;
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
  font-weight: 900;
  font-size: .9rem;
}

.nav-links a {
  text-decoration: none;
  opacity: .9;
}

.nav-links a:hover {
  color: var(--lime);
  opacity: 1;
}

.nav-call {
  background: linear-gradient(135deg, var(--green), var(--lime));
  color: var(--black) !important;
  padding: 12px 16px;
  border-radius: 999px;
  opacity: 1 !important;
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(255,255,255,.24);
  background: rgba(255,255,255,.12);
  color: white;
  border-radius: 14px;
  padding: 8px 12px;
  font-size: 1.35rem;
}

.floating-call {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  background: linear-gradient(135deg, var(--green), var(--lime));
  color: var(--black);
  text-decoration: none;
  font-weight: 950;
  padding: 15px 20px;
  border-radius: 999px;
  box-shadow: 0 18px 48px rgba(0,0,0,.25);
}

.hero {
  min-height: 100vh;
  position: relative;
  color: white;
  display: grid;
  align-content: end;
  padding: 130px 6vw 48px;
  overflow: hidden;
}

.slider,
.slide,
.hero-shade {
  position: absolute;
  inset: 0;
}

.slide {
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.4s ease, transform 8s ease;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
}

.slide-1 { background-image: url('../images/projects/estate-retaining-wall/cover.jpg'); }
.slide-2 { background-image: url('../images/projects/backyard-revamp/cover.jpg'); }
.slide-3 { background-image: url('../images/projects/estate-retaining-wall/04.jpg'); }
.slide-4 { background-image: url('../images/projects/estate-retaining-wall/02.jpg'); }

.hero-shade {
  background:
    radial-gradient(circle at 20% 30%, rgba(185,215,138,.24), transparent 24%),
    linear-gradient(120deg, rgba(6,17,11,.97), rgba(6,17,11,.38), rgba(6,17,11,.84)),
    linear-gradient(to top, rgba(6,17,11,.98), transparent 46%);
  z-index: 1;
}

.hero-content,
.hero-proof {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  color: var(--lime);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 950;
  font-size: .78rem;
}

h1 {
  font-size: clamp(3.8rem, 9vw, 8.7rem);
  line-height: .82;
  letter-spacing: -.085em;
  margin: 22px 0 24px;
  max-width: 1100px;
}

h2 {
  font-size: clamp(2.2rem, 5vw, 5rem);
  letter-spacing: -.07em;
  line-height: .9;
  margin: 12px 0 0;
}

.hero p {
  max-width: 720px;
  font-size: 1.24rem;
  line-height: 1.68;
  color: #edf5e9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 16px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 950;
  border: 0;
  cursor: pointer;
  transition: .22s ease;
  box-shadow: 0 18px 46px rgba(0,0,0,.22);
}

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

.btn.primary {
  background: linear-gradient(135deg, var(--green), var(--lime));
  color: var(--black);
}

.btn.ghost {
  color: white;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.25);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 70px;
  max-width: 1080px;
}

.hero-proof div {
  flex: 1;
  min-width: 220px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(12px);
  border-radius: 24px;
  padding: 20px;
}

.hero-proof b {
  display: block;
  color: var(--lime);
  font-size: 1.12rem;
}

.hero-proof span {
  display: block;
  margin-top: 6px;
  color: #e4eee0;
  font-weight: 700;
}

section {
  padding: 92px 6vw;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
}

.split,
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 34px;
}

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

.section-head.center {
  display: block;
  text-align: center;
  max-width: 850px;
  margin-inline: auto;
}

.lead {
  font-size: 1.12rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 580px;
}

.featured-projects {
  background: var(--sand-dark);
}

.project-strip {
  display: grid;
  gap: 28px;
}

.project-feature {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  background: white;
  border-radius: 38px;
  overflow: hidden;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
}

.project-feature:nth-child(even) {
  grid-template-columns: .9fr 1.1fr;
}

.project-feature:nth-child(even) .project-feature-image {
  order: 2;
}

.project-feature-image {
  min-height: 540px;
  background-position: center;
  background-size: cover;
}

.project-feature-copy {
  padding: clamp(34px, 6vw, 70px);
  align-self: center;
}

.project-feature-copy span {
  color: var(--timber);
  text-transform: uppercase;
  letter-spacing: .15em;
  font-weight: 950;
  font-size: .8rem;
}

.project-feature-copy h3 {
  font-size: clamp(2.3rem, 4.5vw, 5rem);
  line-height: .9;
  letter-spacing: -.07em;
  margin: 12px 0 20px;
}

.project-feature-copy p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1.12rem;
}

.text-link {
  display: inline-block;
  color: var(--forest);
  font-weight: 950;
  margin-top: 16px;
  border-bottom: 2px solid var(--green);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-grid article {
  background: white;
  border-radius: 30px;
  padding: 30px;
  box-shadow: 0 18px 55px rgba(16,32,23,.08);
  border: 1px solid rgba(16,32,23,.08);
  transition: .22s ease;
}

.service-grid article:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.service-grid span {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  background: #e2eadb;
  border-radius: 20px;
  font-size: 1.6rem;
  margin-bottom: 24px;
}

.service-grid h3 {
  font-size: 1.35rem;
  margin: 0 0 10px;
}

.service-grid p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

.page-hero {
  min-height: 72vh;
  display: grid;
  align-items: end;
  padding: 130px 6vw 70px;
  color: white;
  background:
    linear-gradient(120deg, rgba(6,17,11,.96), rgba(6,17,11,.35), rgba(6,17,11,.86)),
    var(--hero-image) center/cover;
}

.page-hero p {
  max-width: 760px;
  font-size: 1.2rem;
  line-height: 1.7;
  color: #eef6e8;
}

.projects-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 90px 6vw;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.project-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: white;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(16,32,23,.08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 35px 100px rgba(16,32,23,.22);
}

.project-card img {
  width: 100%;
  height: 430px;
  object-fit: cover;
}

.project-card-copy {
  padding: 28px;
}

.project-card-copy span {
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 950;
  font-size: .78rem;
}

.project-card-copy h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  margin: 10px 0;
}

.project-card-copy p {
  color: var(--muted);
  line-height: 1.65;
}

.project-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 80px 6vw;
}

.back-link {
  display: inline-block;
  text-decoration: none;
  color: var(--forest);
  font-weight: 900;
  margin-bottom: 28px;
}

.project-layout {
  display: grid;
  grid-template-columns: 1fr .75fr;
  gap: 26px;
  align-items: start;
}

.main-gallery {
  background: white;
  border-radius: 34px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.main-gallery-image {
  width: 100%;
  height: 620px;
  object-fit: cover;
  border-radius: 24px;
  background: #111;
}

.gallery-controls {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 16px 0;
}

.gallery-controls button {
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  background: var(--forest);
  color: white;
  font-weight: 950;
  cursor: pointer;
}

.thumb-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.thumb-row button {
  border: 2px solid transparent;
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
  background: none;
  cursor: pointer;
}

.thumb-row button.active {
  border-color: var(--green);
}

.thumb-row img {
  width: 100%;
  height: 86px;
  object-fit: cover;
}

.detail-card,
.call-card {
  background: white;
  border-radius: 30px;
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(16,32,23,.08);
  margin-bottom: 18px;
}

.detail-card h2,
.call-card h2 {
  margin-top: 0;
  font-size: 2rem;
  letter-spacing: -.04em;
}

.detail-card p {
  color: var(--muted);
  line-height: 1.7;
}

.detail-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.detail-list div {
  border-bottom: 1px solid #eee;
  padding-bottom: 14px;
}

.detail-list b {
  display: block;
}

.detail-list span {
  display: block;
  color: var(--muted);
  margin-top: 3px;
}

.call-card {
  background: var(--forest);
  color: white;
}

.call-card p {
  color: #dcebd2;
}

.call-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.call-buttons a {
  text-decoration: none;
  padding: 14px 18px;
  border-radius: 999px;
  font-weight: 950;
}

.call-buttons .call {
  background: linear-gradient(135deg, var(--green), var(--lime));
  color: var(--black);
}

.call-buttons .text {
  border: 1px solid rgba(255,255,255,.25);
  color: white;
}

.story-block {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 6vw 90px;
}

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

.story-grid article {
  background: white;
  border-radius: 28px;
  padding: 24px;
  box-shadow: 0 16px 45px rgba(16,32,23,.08);
}

.story-grid span {
  display: block;
  color: var(--green);
  font-size: 2.2rem;
  font-weight: 950;
  letter-spacing: -.08em;
}

.story-grid h3 {
  margin: 6px 0 10px;
}

.story-grid p {
  color: var(--muted);
  line-height: 1.6;
}

.project-gallery-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 6vw 90px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.project-gallery-grid button {
  grid-column: span 4;
  padding: 0;
  border: 0;
  background: none;
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 18px 50px rgba(16,32,23,.12);
}

.project-gallery-grid button:nth-child(1),
.project-gallery-grid button:nth-child(6) {
  grid-column: span 8;
}

.project-gallery-grid img {
  width: 100%;
  height: 310px;
  object-fit: cover;
  transition: .25s ease;
}

.project-gallery-grid button:hover img {
  transform: scale(1.04);
}

.bottom-cta {
  margin: 0 6vw 80px;
  padding: clamp(34px, 6vw, 64px);
  border-radius: 38px;
  background:
    linear-gradient(120deg, rgba(6,17,11,.95), rgba(6,17,11,.74)),
    url('../images/projects/estate-retaining-wall/08.jpg') center/cover;
  color: white;
  display: grid;
  grid-template-columns: 1fr .9fr;
  align-items: center;
  gap: 32px;
}

.bottom-cta h2 {
  margin-top: 0;
}

.bottom-cta p {
  color: #dcebd2;
  line-height: 1.7;
  max-width: 600px;
}

.cta-actions {
  display: grid;
  gap: 18px;
  justify-items: start;
}

.phone-big {
  color: var(--lime);
  text-decoration: none;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  font-weight: 950;
  letter-spacing: -.06em;
  line-height: .9;
}

.cta-actions div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cta-actions span {
  color: #dcebd2;
  font-weight: 800;
}

.footer {
  background: var(--black);
  color: #cbd8c8;
  padding: 36px 6vw;
  text-align: center;
  display: grid;
  gap: 8px;
}

.footer strong {
  color: white;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0,0,0,.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-height: 90vh;
  max-width: 94vw;
  object-fit: contain;
  border-radius: 18px;
}

.close-lightbox {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 0;
  background: white;
  color: black;
  font-size: 2rem;
  cursor: pointer;
}

@media (max-width: 960px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    left: 5vw;
    right: 5vw;
    padding: 18px;
    border-radius: 20px;
    background: rgba(6,17,11,.96);
    display: none;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links.open {
    display: flex;
  }

  h1 {
    font-size: 4.2rem;
  }

  .split,
  .section-head,
  .project-feature,
  .project-feature:nth-child(even),
  .projects-grid,
  .project-layout,
  .story-grid,
  .service-grid,
  .bottom-cta {
    display: grid;
    grid-template-columns: 1fr;
  }

  .project-feature:nth-child(even) .project-feature-image {
    order: 0;
  }

  .project-feature-image,
  .project-card img,
  .main-gallery-image {
    height: 420px;
  }

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

  .project-gallery-grid button,
  .project-gallery-grid button:nth-child(1),
  .project-gallery-grid button:nth-child(6) {
    grid-column: span 12;
  }

  .floating-call {
    left: 18px;
    right: 18px;
    text-align: center;
  }
}

.corrected-grid{max-width:1180px;margin:0 auto;padding:90px 6vw;display:grid;grid-template-columns:repeat(2,1fr);gap:22px}.corrected-grid .project-card{display:block;text-decoration:none;background:white;border-radius:34px;overflow:hidden;box-shadow:var(--shadow);color:inherit}.corrected-grid .project-card:first-child{grid-column:span 2}.corrected-grid img{width:100%;height:420px;object-fit:cover}.corrected-grid .project-card:first-child img{height:590px}.corrected-copy{padding:28px}.corrected-copy span{color:var(--green);text-transform:uppercase;letter-spacing:.15em;font-weight:950;font-size:.78rem}.corrected-copy h2{font-size:clamp(2rem,4vw,4rem);margin:10px 0}.corrected-copy p{color:var(--muted);line-height:1.7}@media(max-width:900px){.corrected-grid{grid-template-columns:1fr}.corrected-grid .project-card:first-child{grid-column:span 1}.corrected-grid img,.corrected-grid .project-card:first-child img{height:420px}}
