:root {
  --blackgreen: #06110b;
  --forest: #102017;
  --eucalyptus: #274734;
  --leaf: #79a85f;
  --lime: #b9d78a;
  --sand: #f4efe4;
  --stone: #dbd5c7;
  --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; }

.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;
}

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

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

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

.nav-call {
  background: linear-gradient(135deg, var(--leaf), var(--lime));
  color: var(--blackgreen) !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(--leaf), var(--lime));
  color: var(--blackgreen);
  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-one { background-image: url('../images/estate-hero.jpg'); }
.slide-two { background-image: url('../images/backyard-finished.jpg'); }
.slide-three { background-image: url('../images/estate-stairs-premium.jpg'); }
.slide-four { background-image: url('../images/estate-wide-wall.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;
}

.kicker, .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;
}

.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(--leaf), var(--lime));
  color: var(--blackgreen);
}

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

.btn.ghost.dark {
  color: var(--forest);
  background: rgba(16,32,23,.08);
  border-color: rgba(16,32,23,.16);
}

.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;
  margin-bottom: 44px;
}

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

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

.feature-case {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 0;
  overflow: hidden;
  border-radius: 38px;
  background: white;
  box-shadow: var(--shadow);
  margin-bottom: 28px;
}

.feature-case.reverse {
  grid-template-columns: .9fr 1.1fr;
}

.feature-case.reverse .case-image {
  order: 2;
}

.case-image {
  min-height: 560px;
  background-position: center;
  background-size: cover;
}

.backyard-case .case-image {
  background-image: url('../images/backyard-finished.jpg');
}

.estate-case .case-image {
  background-image: url('../images/estate-wide-wall.jpg');
}

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

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

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

.case-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;
  text-decoration: none;
  border-bottom: 2px solid var(--leaf);
}

.story-section {
  background: var(--blackgreen);
  color: white;
}

.story-section .lead {
  color: #cbd8c8;
}

.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 42px;
}

.before-after article {
  min-height: 540px;
  border-radius: 34px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 30px 90px rgba(0,0,0,.25);
}

.before-after img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.before-after div {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  padding: 20px;
  border-radius: 24px;
  background: rgba(6,17,11,.76);
  backdrop-filter: blur(12px);
}

.before-after span {
  display: block;
  color: var(--lime);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-weight: 950;
  font-size: .78rem;
  margin-bottom: 7px;
}

.before-after strong {
  font-size: 1.25rem;
}

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

.timeline article {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 30px;
  overflow: hidden;
}

.timeline img {
  height: 250px;
  width: 100%;
  object-fit: cover;
}

.timeline span {
  display: block;
  padding: 22px 22px 0;
  color: var(--lime);
  font-size: 2.7rem;
  font-weight: 950;
  letter-spacing: -.08em;
}

.timeline h3 {
  font-size: 1.35rem;
  margin: 0;
  padding: 0 22px;
}

.timeline p {
  color: #d9e5d6;
  line-height: 1.65;
  padding: 0 22px 24px;
}

.estate-showcase {
  padding: 0;
  background: var(--charcoal);
  color: white;
}

.estate-hero {
  min-height: 86vh;
  display: grid;
  align-items: end;
  padding: 120px 6vw 72px;
  background:
    linear-gradient(120deg, rgba(6,17,11,.94), rgba(6,17,11,.26), rgba(6,17,11,.8)),
    url('../images/estate-stairs-wide.jpg') center/cover;
}

.estate-hero > div {
  max-width: 850px;
}

.estate-hero h2 {
  font-size: clamp(4rem, 9vw, 9rem);
}

.estate-hero p {
  color: #e4eee0;
  font-size: 1.22rem;
  line-height: 1.75;
  max-width: 720px;
}

.estate-grid {
  padding: 80px 0 96px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.estate-tile {
  position: relative;
  min-height: 430px;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.28);
}

.estate-tile.wide {
  grid-column: span 2;
  min-height: 580px;
}

.estate-tile img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.estate-tile div {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  padding: 20px;
  border-radius: 24px;
  background: rgba(6,17,11,.74);
  backdrop-filter: blur(12px);
}

.estate-tile b {
  display: block;
  font-size: 1.35rem;
}

.estate-tile span {
  color: #dcebd2;
  display: block;
  margin-top: 5px;
}

.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;
}

.gallery-section {
  background: #efe7d8;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.gallery button {
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 15px 42px rgba(16,32,23,.12);
}

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

.gallery button {
  grid-column: span 3;
}

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

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

.call-section {
  background:
    linear-gradient(120deg, rgba(6,17,11,.95), rgba(6,17,11,.72)),
    url('../images/estate-sunset-wall.jpg') center/cover;
  color: white;
}

.call-box {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 32px;
  align-items: center;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(14px);
  border-radius: 38px;
  padding: clamp(30px, 6vw, 64px);
}

.call-box p {
  color: #dcebd2;
  font-size: 1.15rem;
  line-height: 1.75;
  max-width: 560px;
}

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

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

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

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

.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 {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 0;
  background: white;
  color: black;
  font-size: 2rem;
  cursor: pointer;
}

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

footer strong {
  color: white;
}

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

  .navlinks {
    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;
  }

  .navlinks.open { display: flex; }

  .hero { padding-inline: 5vw; }

  h1 { font-size: 4.2rem; }

  .split,
  .section-head,
  .feature-case,
  .feature-case.reverse,
  .before-after,
  .timeline,
  .estate-grid,
  .service-grid,
  .call-box {
    grid-template-columns: 1fr;
    display: grid;
  }

  .feature-case.reverse .case-image { order: 0; }

  .case-image { min-height: 430px; }

  .before-after article { min-height: 430px; }

  .timeline { gap: 18px; }

  .estate-tile,
  .estate-tile.wide {
    grid-column: span 1;
    min-height: 430px;
  }

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

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