/* Components */
.lightbox{position:fixed;inset:0;background:rgba(0,0,0,.8);display:none;align-items:center;justify-content:center}
.lightbox img{max-width:90vw;max-height:90vh}
.results{padding:10px;border-radius:6px;background:#fff;border:1px solid var(--brand-stone);margin-top:10px}
.error{color:#a40000;font-size:.9rem}

/* Hero */
.hero{
  background:#050505;
  color:#fff;
  overflow:hidden;
  position:relative
}
.hero-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:clamp(28px,6vw,64px);
  max-width:1200px;
  margin:0 auto;
  padding:clamp(68px,10vw,120px) clamp(24px,6vw,72px);
  min-height:clamp(560px,86vh,780px)
}
.hero-image{
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative
}
.hero-image svg{
  width:100%;
  max-width:580px;
  height:auto;
  aspect-ratio:600/530;
  filter:drop-shadow(0 36px 62px rgba(5,5,5,.45))
}
.hero-content{
  flex:1;
  display:flex;
  align-items:center;
  justify-content:flex-start
}
.hero-copy{max-width:32rem}
.hero-eyebrow{
  margin:0 0 14px;
  font-size:.95rem;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:rgba(255,255,255,.62)
}
.hero h1{
  font-size:clamp(2.9rem,5vw,4.1rem);
  line-height:1.05;
  margin:0 0 22px;
  letter-spacing:-0.02em;
  text-shadow:0 18px 38px rgba(0,0,0,.42)
}
.hero-description{
  margin:0 0 34px;
  font-size:1.18rem;
  color:rgba(255,255,255,.88);
  max-width:42ch
}
.hero-ctas{display:flex;flex-wrap:wrap;gap:16px}
.hero-ctas .btn{margin:0}
.hero-ctas .btn.secondary{
  background:rgba(255,255,255,.08);
  border-color:rgba(255,255,255,.24);
  text-decoration:none
}
.hero-ctas .btn.secondary:hover{background:rgba(255,255,255,.18)}
@media (max-width:1080px){
  .hero-inner{
    min-height:auto;
    padding:clamp(56px,12vw,102px) clamp(20px,5vw,58px)
  }
  .hero-image svg{max-width:540px}
}

@media (max-width:860px){
  .hero-inner{
    flex-direction:column-reverse;
    align-items:center;
    text-align:center;
    gap:clamp(32px,10vw,54px);
    padding:clamp(50px,14vw,90px) clamp(18px,6vw,44px)
  }
  .hero-content{justify-content:center}
  .hero-copy{max-width:36rem}
  .hero-eyebrow{margin-bottom:10px}
  .hero-description{margin-left:auto;margin-right:auto;margin-bottom:30px}
  .hero-ctas{justify-content:center}
  .hero-ctas .btn{width:100%;max-width:320px}
  .hero-image svg{max-width:520px}
}

@media (max-width:520px){
  .hero-inner{
    padding:clamp(40px,16vw,68px) clamp(16px,6vw,28px);
    gap:clamp(28px,12vw,46px)
  }
  .hero h1{font-size:clamp(2.3rem,8vw,3rem)}
  .hero-description{font-size:1.05rem}
  .hero-ctas{gap:12px}
  .hero-ctas .btn{max-width:none}
}


.section-header{text-align:center;margin:0 auto clamp(28px,4vw,48px);max-width:720px}
.section-header h2{display:inline-block;padding-bottom:12px;position:relative}
.section-header h2::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:0;
  width:58px;
  height:3px;
  border-radius:999px;
  background:linear-gradient(135deg,var(--brand-rust),var(--brand-rust-deep));
  transform:translateX(-50%);
  box-shadow:0 8px 18px rgba(184,90,42,.25)
}
.section-header p{margin:12px auto 0;color:var(--muted)}

/* Feature Cards */
.features{
  background:#fff;
  padding-block:clamp(48px,8vw,96px)
}
.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(18px,2.5vw,28px)}
.feature-card{
  display:flex;
  flex-direction:column;
  border-radius:22px;
  background:#fff;
  border:1px solid rgba(13,13,13,.06);
  overflow:hidden;
  position:relative;
  isolation:isolate;
  box-shadow:var(--shadow-subtle);
  transition:transform .25s ease,box-shadow .25s ease
}
.feature-card::after{
  content:"";
  position:absolute;
  inset:auto 16px 16px 16px;
  height:100px;
  border-radius:18px;
  background:linear-gradient(180deg,rgba(0,0,0,0) 0%,rgba(0,0,0,.35) 100%);
  opacity:0;
  transition:opacity .25s ease;
  pointer-events:none;
  z-index:1
}
.feature-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-soft);text-decoration:none}
.feature-card:hover::after{opacity:1}
.feature-card img{width:100%;aspect-ratio:3/2;object-fit:cover;transition:transform .3s ease;filter:saturate(108%)}
.feature-card:hover img{transform:scale(1.04)}
.feature-card h3{margin:18px 22px 8px}
.feature-card p{margin:0 22px 38px;color:var(--muted)}
.feature-link{position:absolute;left:24px;bottom:24px;right:24px;color:#fff;font-weight:600;z-index:2}

/* Showcase Gallery */
.showcase{overflow:hidden;background:var(--brand-porcelain)}
.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;overflow:hidden}
.showcase .gallery-grid{scrollbar-width:none;-ms-overflow-style:none}
.showcase .gallery-grid::-webkit-scrollbar{display:none}
.gallery-item{display:block}
.gallery-item figure{position:relative;margin:0;border-radius:20px;overflow:hidden;box-shadow:var(--shadow-subtle)}
.gallery-item img{width:100%;aspect-ratio:4/3;object-fit:cover;transition:transform .3s ease}
.gallery-item:hover img{transform:scale(1.04)}
.gallery-item figcaption{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  color:#fff;
  background:linear-gradient(180deg,rgba(0,0,0,0) 0%, rgba(0,0,0,.7) 70%);
  padding:18px 18px 16px;
  opacity:0;
  transition:opacity .3s ease
}
.gallery-item:hover figcaption{opacity:1}

/* Trust */
.trust{background:#fff}
.trust-badges{display:flex;flex-wrap:wrap;gap:12px 16px;list-style:none;margin:0 0 12px;padding:0}
.trust-badges li{border:1px solid rgba(13,13,13,.08);border-radius:999px;padding:10px 16px;background:#fff;font-weight:500}
.trust .microcopy{max-width:800px;margin:0}

/* Trust Bar */
.trust-bar{background:var(--brand-porcelain);border-block:1px solid rgba(13,13,13,.05)}
.trust-logos{display:flex;flex-wrap:wrap;gap:12px 16px;list-style:none;margin:0;padding:0;align-items:center;justify-content:center}
.trust-bar .container{padding-block:clamp(36px,6vw,68px)}
.trust-logos li{
  border:1px solid rgba(13,13,13,.08);
  border-radius:999px;
  padding:12px 18px;
  background:#fff;
  color:#333;
  font-weight:600;
  letter-spacing:.01em;
  box-shadow:0 10px 24px rgba(0,0,0,.05)
}

/* Featured Project Before/After */
.featured-project{background:#fffaf4}
.ba-wrap{width:100vw;margin-left:calc(50% - 50vw);padding-inline:clamp(20px,6vw,72px)}
.ba-container{
  position:relative;
  max-height:70vh;
  overflow:hidden;
  border-radius:28px;
  border:1px solid rgba(13,13,13,.05);
  box-shadow:0 28px 48px rgba(26,26,26,.16)
}
.ba-container img{width:100%;object-fit:cover}
.ba-container .ba-after{position:relative;z-index:1}
.ba-container .ba-before{position:absolute;inset:0;width:50%;height:100%;object-fit:cover;z-index:2;box-shadow:12px 0 24px rgba(0,0,0,.18)}
.ba-container .ba-divider{
  position:absolute;
  top:0;
  bottom:0;
  left:50%;
  width:3px;
  background:rgba(255,255,255,.95);
  z-index:3;
  box-shadow:0 0 0 3px rgba(0,0,0,.18);
  border-radius:999px
}
.ba-control{display:flex;flex-direction:column;gap:16px;padding:18px clamp(18px,4vw,36px);max-width:var(--maxw);margin:0 auto}
.ba-control input[type=range]{width:100%;max-width:480px}
.project-meta{
  display:flex;
  flex-wrap:wrap;
  gap:12px 18px;
  font-size:.95rem;
  color:var(--muted)
}
.project-meta span{
  padding:8px 14px;
  border-radius:999px;
  background:#fff;
  border:1px solid rgba(13,13,13,.08);
  box-shadow:0 8px 18px rgba(0,0,0,.04)
}

/* Social Proof */
.social-proof{background:#fff}
.testimonial-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:clamp(16px,3vw,28px)}
.testimonial{
  border:1px solid rgba(13,13,13,.06);
  border-radius:24px;
  padding:28px;
  background:#fff;
  box-shadow:var(--shadow-subtle);
  transition:transform .25s ease,box-shadow .25s ease
}
.testimonial:hover{transform:translateY(-4px);box-shadow:var(--shadow-soft)}
.testimonial blockquote{margin:0 0 16px;font-size:1.08rem;font-weight:500;color:var(--brand-ink)}
.testimonial figcaption{color:var(--muted);font-size:.95rem;letter-spacing:.01em}
.avatar{
  width:48px;
  height:48px;
  border-radius:999px;
  background:linear-gradient(135deg,var(--brand-rust),var(--brand-sand));
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
  margin-bottom:18px;
  box-shadow:0 12px 26px rgba(184,90,42,.25)
}

/* FAQ */
.faq{background:var(--brand-porcelain)}
.faq-list{display:grid;gap:18px;margin:0}
.faq-item{
  background:#fff;
  border:1px solid rgba(13,13,13,.05);
  border-radius:20px;
  box-shadow:0 12px 24px rgba(0,0,0,.05);
  padding:0;
  overflow:hidden
}
.faq-item h3{
  margin:0;
  padding:24px clamp(20px,4vw,28px);
  background:#fff;
  border-bottom:1px solid rgba(13,13,13,.06);
  position:relative
}
.faq-item h3::after{
  content:"";
  position:absolute;
  left:22px;
  bottom:18px;
  width:42px;
  height:2px;
  background:linear-gradient(135deg,var(--brand-rust),var(--brand-sand));
  border-radius:999px
}
.faq-answer{
  margin:0;
  padding:24px clamp(20px,4vw,28px);
  background:#fff
}

/* Process Journey */
.process-intro{background:#fff;text-align:center;padding-bottom:clamp(36px,8vw,60px)}
.process-intro .microcopy{margin:12px auto 0}
.process-step{
  background:#fbf9f4;
  position:relative;
  overflow:hidden;
  padding:clamp(52px,12vw,110px) 0
}
.process-step:nth-of-type(even){background:#f4efe6}
.process-step::before{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(ellipse at center,rgba(255,255,255,.6) 0%,rgba(255,255,255,0) 70%);
  pointer-events:none
}
.process-step .container{
  display:flex;
  align-items:center;
  gap:clamp(24px,6vw,60px);
  max-width:960px
}
.process-index{
  font-family:"Playfair Display","Times New Roman",serif;
  font-size:clamp(2.8rem,5vw,4.2rem);
  font-weight:600;
  color:var(--brand-rust);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:96px;
  min-height:96px;
  border-radius:32px;
  background:rgba(255,255,255,.65);
  box-shadow:0 18px 40px rgba(0,0,0,.12);
  border:1px solid rgba(184,90,42,.16)
}
.process-copy h3{margin:0 0 14px}
.process-copy p{margin:0;color:var(--muted);font-size:1.05rem;max-width:54ch}
.process-step-plan{background:linear-gradient(135deg,#fbf9f4,#f9f3ea)}
.process-step-design{background:linear-gradient(135deg,#f6f2ea,#ece6db)}
.process-step-build{background:linear-gradient(135deg,#f5efe7,#e8e3d8)}
.process-step-love{background:linear-gradient(135deg,#f3ece2,#e4ddd2)}
.process-step .container::after{
  content:"";
  position:absolute;
  top:50%;
  right:-160px;
  width:320px;
  height:320px;
  background:radial-gradient(circle,rgba(184,90,42,.16) 0%,rgba(184,90,42,0) 65%);
  transform:translateY(-50%);
  pointer-events:none
}
.process-step:nth-of-type(even) .container::after{left:-160px;right:auto}

/* Neighborhood Grid */
.neighborhoods{background:#fff}
.neighborhoods-wrap{width:100vw;margin-left:calc(50% - 50vw)}
.neighborhood-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;padding:0 clamp(20px,4vw,40px)}
.neighborhood-card{
  position:relative;
  display:block;
  border-radius:24px;
  overflow:hidden;
  box-shadow:var(--shadow-subtle);
  transition:transform .25s ease,box-shadow .25s ease
}
.neighborhood-card::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,0) 20%,rgba(0,0,0,.65) 100%);
  opacity:.75;
  transition:opacity .3s ease
}
.neighborhood-card img{
  width:100%;
  aspect-ratio:3/2;
  object-fit:cover;
  filter:saturate(110%);
  transition:transform .3s ease
}
.neighborhood-card span{
  position:absolute;
  left:18px;
  bottom:20px;
  right:18px;
  color:#fff;
  font-weight:600;
  letter-spacing:.01em;
  z-index:1
}
.neighborhood-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-soft)}
.neighborhood-card:hover::after{opacity:1}
.neighborhood-card:hover img{transform:scale(1.05)}

/* CTA Bar */
.cta-bar{
  background:linear-gradient(135deg,#1b1b1b,#090909);
  color:#fff;
  padding:clamp(60px,10vw,98px) 0
}
.cta-inner{display:flex;align-items:center;justify-content:space-between;gap:clamp(16px,4vw,28px)}
.cta-inner h2{color:#fff;margin:0}
.cta-actions{display:flex;flex-direction:column;align-items:flex-start;gap:12px;max-width:480px}
.cta-bar .btn{background:#fff;color:#0d0d0d;padding:14px 28px;box-shadow:none}
.cta-bar .btn:hover{background:#f3f3f3}
.cta-bar .muted{color:rgba(255,255,255,.7);margin:0}

/* Reveal animations */
.reveal{opacity:0;transform:translateY(16px);transition:opacity .6s ease, transform .6s ease}
.reveal.is-visible{opacity:1;transform:none}

@media (max-width:1280px){
  .feature-grid{grid-template-columns:repeat(2,1fr)}
  .gallery-grid{grid-template-columns:repeat(2,1fr)}
  .testimonial-grid{grid-template-columns:repeat(2,1fr)}
}

@media (max-width:900px){
  .section-header{padding-inline:12px}
  .feature-grid{grid-template-columns:1fr}
  .gallery-grid{grid-template-columns:1fr}
  .neighborhood-cards{grid-template-columns:repeat(2,1fr)}
  .testimonial-grid{grid-template-columns:1fr}
  .cta-inner{flex-direction:column;align-items:flex-start}
  .cta-actions{width:100%}
  .process-step .container{
    flex-direction:column;
    align-items:flex-start
  }
  .process-index{
    min-width:72px;
    min-height:72px;
    font-size:clamp(2.2rem,6vw,3rem)
  }
}

@media (max-width:640px){
  .neighborhood-cards{grid-template-columns:1fr}
  .ba-container{max-height:55vh}
  .cta-actions .btn{width:100%}
  .process-step .container{gap:20px}
}

