:root {
  --green: #00B512;          /* brand green, from the logo */
  --green-text: #0B7A1E;     /* darker green for text on light backgrounds */
  --charcoal: #262A27;
  --charcoal-2: #3D3D3D;     /* brand charcoal */
  --stone: #F5F3EF;
  --stone-2: #EAE6DF;
  --line: #DCD6CC;
  --ink: #1E221F;
  --muted: #5E6560;
  --white: #FFFFFF;
  --radius: 14px;
  --head: "Montserrat", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6;
  color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 800; }
h1 em { font-style: normal; color: var(--green); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font: 700 .75rem var(--head); letter-spacing: .18em; text-transform: uppercase;
  color: var(--green-text); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--green); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .95rem 1.6rem; border-radius: 999px; border: 2px solid var(--green);
  background: var(--green); color: var(--white); font: 700 .98rem var(--head); letter-spacing: .01em;
  text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.btn:hover { background: #009A10; border-color: #009A10; transform: translateY(-1px); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.35); color: var(--white); }
.btn-ghost:hover { background: var(--white); border-color: var(--white); color: var(--charcoal); }
.btn-small { padding: .55rem 1.1rem; font-size: .9rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(38, 42, 39, .94); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08); color: var(--white);
}
.header-inner { display: flex; align-items: center; gap: 2rem; height: 70px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; }
.brand img { width: 40px; height: 40px; }
.brand-text { font: 800 1.2rem/1 var(--head); text-transform: uppercase; letter-spacing: .04em; display: flex; flex-direction: column; }
.brand-text small { font-size: .56rem; font-weight: 700; letter-spacing: .3em; color: #C9CFCA; margin-top: .35rem; }
.nav { display: flex; gap: 1.6rem; }
.nav a { text-decoration: none; font-weight: 500; font-size: .94rem; color: #C9CFCA; transition: color .2s; }
.nav a:hover { color: var(--white); }

/* Hero: full-bleed photo with tile-build intro */
.site-header { transition: background .3s, border-color .3s, backdrop-filter .3s; }
.site-header.is-top { background: transparent; border-bottom-color: transparent; backdrop-filter: none; }
.hero {
  position: relative; margin-top: -70px; min-height: max(640px, 100svh); max-height: 1000px;
  display: flex; align-items: flex-end; overflow: hidden; color: var(--white); background: #161917; isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.08); transition: opacity 1.6s ease, transform 9s ease-out;
}
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.js .hero-media.is-building .hero-slide.is-active { opacity: 0; transition: none; }
.hero-tiles { position: absolute; inset: 0; display: grid; gap: 4px; pointer-events: none; }
.hero-tiles span {
  background-repeat: no-repeat; opacity: 0; transform: translateY(-24px) scale(.9);
  transition: opacity .5s ease, transform .6s cubic-bezier(.2,.8,.2,1);
}
.hero-tiles span.in { opacity: 1; transform: none; }
.hero-tiles.done { opacity: 0; transition: opacity .7s ease .2s; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(to top, rgba(18,21,19,.95) 0%, rgba(18,21,19,.75) 32%, rgba(18,21,19,.15) 65%, rgba(18,21,19,.45) 100%),
    linear-gradient(to right, rgba(18,21,19,.72) 0%, rgba(18,21,19,.35) 40%, rgba(18,21,19,0) 70%);
}
.hero-inner {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem;
  padding: 140px 0 clamp(2.5rem, 6vh, 4.5rem);
}
.hero-copy { max-width: 760px; }
.hero h1 { font-size: clamp(2.8rem, 7vw, 5.6rem); text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.hero .eyebrow { color: var(--green); }
.lede { font-size: 1.18rem; color: #DDE2DE; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 2rem; }
.hero-facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; font-size: .92rem; font-weight: 500; color: #DDE2DE; }
.hero-facts li { display: flex; align-items: center; gap: .55rem; }
.hero-facts li::before { content: ""; width: 8px; height: 8px; background: var(--green); transform: rotate(45deg); }
.hero-meta { display: flex; flex-direction: column; align-items: flex-end; gap: .7rem; flex: none; padding-bottom: .4rem; }
.hero-caption {
  padding: .4rem .85rem; border-radius: 999px; background: rgba(38,42,39,.7); backdrop-filter: blur(6px);
  font-size: .82rem; font-weight: 500; color: #DDE2DE; transition: opacity .4s;
}
.hero-dots { display: flex; gap: 8px; }
.hero-dots span { width: 9px; height: 9px; background: rgba(255,255,255,.35); transform: rotate(45deg); transition: background .3s; }
.hero-dots span.is-on { background: var(--green); }

/* Sections */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.section-head { max-width: 660px; margin-bottom: 2.8rem; }
.section-head-row { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.5rem; }
.section-head-row h2 { margin: 0; }
.section-stone { background: var(--stone); }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.service {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); transition: transform .25s, box-shadow .25s;
}
.service:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -26px rgba(30,34,31,.45); }
.service img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.service-body { padding: 1.3rem 1.4rem 1.5rem; }
.service p { color: var(--muted); font-size: .97rem; margin: 0; }

/* Before / after */
.section-dark { background: var(--charcoal); color: var(--white); }
.section-dark .eyebrow { color: var(--green); }
.ba-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.ba-copy p { color: #C9CFCA; }
.ba { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: #111; user-select: none; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px;
  background: var(--white); pointer-events: none;
}
.ba-handle::after {
  content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: var(--white);
  display: grid; place-items: center; font: 700 1.1rem var(--head); letter-spacing: .1em;
  box-shadow: 0 6px 18px rgba(0,0,0,.35);
}
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-tag {
  position: absolute; top: 14px; padding: .3rem .75rem; border-radius: 999px; pointer-events: none;
  background: rgba(38,42,39,.85); font: 700 .72rem var(--head); letter-spacing: .14em; text-transform: uppercase;
}
.ba-tag-before { left: 14px; }
.ba-tag-after { right: 14px; }

/* Gallery */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  font: 600 .88rem var(--sans); padding: .5rem 1rem; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--line); background: var(--white); color: var(--muted); transition: all .2s;
}
.chip:hover { border-color: var(--charcoal); color: var(--charcoal); }
.chip.is-on { background: var(--charcoal); border-color: var(--charcoal); color: var(--white); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; grid-auto-flow: dense; gap: 12px; }
.g { position: relative; border-radius: 12px; overflow: hidden; background: var(--stone-2); }
.g.tall { grid-row: span 2; }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.g:hover img { transform: scale(1.05); }
.g.is-hidden { display: none; }

/* Process */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; }
.steps li { padding-top: 1.3rem; border-top: 2px solid var(--charcoal); }
.step-n { display: block; font: 800 .9rem var(--head); color: var(--green-text); letter-spacing: .1em; margin-bottom: .8rem; }
.steps p { color: var(--muted); font-size: .97rem; margin: 0; }
.owner {
  display: flex; align-items: center; gap: 1.2rem; margin-top: 3.5rem; padding: 1.4rem 1.6rem;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); max-width: 760px;
}
.owner img { flex: none; }
.owner p { margin: 0; color: var(--muted); }
.owner strong { color: var(--ink); }

/* Quote */
.quote-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.quote-copy p { color: var(--muted); }
.phone-big { display: block; font: 800 clamp(2rem, 3.4vw, 2.6rem) var(--head); color: var(--charcoal); text-decoration: none; margin-top: 1.2rem; letter-spacing: -0.02em; }
.phone-big:hover { color: var(--green-text); }
.email { display: inline-block; color: var(--green-text); font-weight: 600; margin: .3rem 0 2rem; word-break: break-all; }
.area h3 { font-size: .95rem; margin-bottom: .3rem; }

.quote-form {
  background: var(--stone); border-radius: 18px; padding: clamp(1.4rem, 3vw, 2.2rem);
  display: grid; gap: 1rem; border: 1px solid var(--line);
}
.quote-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.quote-form label { display: grid; gap: .35rem; font-size: .86rem; font-weight: 600; color: var(--charcoal-2); }
.quote-form input, .quote-form select, .quote-form textarea {
  font: 400 1rem var(--sans); color: var(--ink); width: 100%;
  padding: .75rem .85rem; border: 1.5px solid var(--line); border-radius: 10px; background: var(--white);
}
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(0,181,18,.15); }
.quote-form .file input { padding: .6rem; }
.quote-form .btn { justify-self: start; margin-top: .3rem; }
.hp { position: absolute; left: -9999px; }

/* Footer */
.site-footer { background: var(--charcoal); color: #AEB5AF; padding: 3rem 0 2rem; font-size: .95rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; }
.footer-logo { width: 120px; height: auto; }
.footer-contact { display: flex; flex-direction: column; align-items: flex-end; gap: .25rem; text-align: right; }
.footer-contact a { color: var(--white); text-decoration: none; font-weight: 600; }
.footer-contact a:hover { color: var(--green); }
.footer-contact .fb { display: inline-flex; align-items: center; gap: .4rem; margin-top: .4rem; }
.copy { width: 100%; font-size: .82rem; border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.2rem; margin: .5rem 0 0; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 92vw; max-height: 92vh; }
.lightbox::backdrop { background: rgba(15,17,16,.9); }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 10px; }
.lb-close {
  position: fixed; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: var(--white); color: var(--charcoal); font-size: 1.6rem; line-height: 1; cursor: pointer;
}

.call-fab { display: none; }


/* Porch before/after pair */
.porch { display: grid; grid-template-columns: .8fr 1fr 1fr; gap: 14px; align-items: center; margin-top: 3rem; }
.porch-copy p { color: #C9CFCA; margin: 0; font-size: .97rem; }
.porch-img { margin: 0; position: relative; border-radius: 12px; overflow: hidden; }
.porch-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.porch-img figcaption {
  position: absolute; top: 10px; left: 10px; padding: .25rem .65rem; border-radius: 999px;
  background: rgba(38,42,39,.85); font: 700 .68rem var(--head); letter-spacing: .14em; text-transform: uppercase;
}

/* Design your wall */
.designer { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.designer-copy > p { color: #C9CFCA; }
.opt { border: 0; padding: 0; margin: 0 0 1.4rem; }
.opt legend { font: 700 .75rem var(--head); letter-spacing: .14em; text-transform: uppercase; color: #AEB5AF; margin-bottom: .6rem; padding: 0; }
.opt-val { color: var(--white); letter-spacing: .04em; text-transform: none; font-family: var(--sans); font-weight: 600; margin-left: .4rem; }
.opt-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.opt-btn {
  font: 600 .88rem var(--sans); padding: .5rem .95rem; border-radius: 999px; cursor: pointer;
  border: 1.5px solid rgba(255,255,255,.2); background: transparent; color: #DDE2DE; transition: all .2s;
}
.opt-btn:hover { border-color: rgba(255,255,255,.6); }
.opt-btn.is-on { background: var(--white); border-color: var(--white); color: var(--charcoal); }
.swatch-btn {
  width: 36px; height: 36px; border-radius: 8px; cursor: pointer; transform: rotate(45deg) scale(.82);
  border: 2px solid rgba(255,255,255,.15); background: var(--c); transition: transform .2s, border-color .2s;
}
.swatch-btn:hover { transform: rotate(45deg) scale(.92); }
.swatch-btn.is-on { border-color: var(--green); box-shadow: 0 0 0 2px var(--charcoal), 0 0 0 4px var(--green); transform: rotate(45deg) scale(.86); }
.designer .btn { margin-top: .4rem; }
.designer-stage { position: relative; }
.designer-canvas { width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: var(--radius); display: block; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.designer-note { font-size: .8rem; color: #8E968F; margin: .8rem 0 0; }

/* Behind the tile */
.prep { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.prep li { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.prep img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.prep .step-n { margin: 1.2rem 1.3rem .5rem; }
.prep h3, .prep p { margin-left: 1.3rem; margin-right: 1.3rem; }
.prep p { color: var(--muted); font-size: .95rem; margin-bottom: 1.4rem; }
.how { margin-top: 3rem; display: grid; grid-template-columns: .5fr 1.5fr; gap: 2rem; align-items: start; padding-top: 2rem; border-top: 2px solid var(--charcoal); }
.how h3 { margin: 0; }
.how ol { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; counter-reset: how; }
.how li { color: var(--muted); font-size: .97rem; counter-increment: how; }
.how li::before { content: counter(how, decimal-leading-zero); display: block; font: 800 .85rem var(--head); color: var(--green-text); letter-spacing: .1em; margin-bottom: .4rem; }
.how strong { color: var(--ink); }

/* Areas */
.areas-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.areas .section-sub { color: #C9CFCA; }
.town-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.town-list li {
  padding: .45rem .9rem; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.16);
  font-size: .92rem; font-weight: 500; color: #DDE2DE;
}
.town-list li:first-child { background: var(--green); border-color: var(--green); color: var(--white); }

/* FAQ */
.faq { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.2rem 2.5rem 1.2rem 0; position: relative;
  font: 700 1.05rem var(--head); letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--green-text); border-bottom: 2px solid var(--green-text); transform: rotate(45deg); transition: transform .25s;
}
.faq-item[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq-item p { color: var(--muted); margin: 0 0 1.3rem; max-width: 62ch; }

/* Scroll reveal: images wipe in like tiles being set */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .g, .js .service { opacity: 0; transform: translateY(20px) scale(.97); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1), box-shadow .25s; }
.js .g.in, .js .service.in { opacity: 1; transform: none; }
.js .service.in:hover { transform: translateY(-4px); }

@media (max-width: 980px) {
  .designer, .areas-inner, .faq { grid-template-columns: 1fr; }
  .prep { grid-template-columns: repeat(2, 1fr); }
  .porch { grid-template-columns: 1fr 1fr; }
  .porch-copy { grid-column: 1 / -1; }
  .how { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .prep, .how ol, .porch { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .g, .js .service { opacity: 1; transform: none; }
  .hero-slide { transform: none; }
}

/* Responsive */
@media (max-width: 980px) {
  .nav { display: none; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .ba-inner { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .quote-inner { grid-template-columns: 1fr; }
  .hero { min-height: 0; max-height: none; display: block; }
  .hero-media, .hero-shade { bottom: auto; height: 60svh; }
  .hero-shade { background: linear-gradient(to bottom, rgba(18,21,19,.55) 0%, rgba(18,21,19,0) 28%, rgba(18,21,19,.6) 58%, #161917 92%); }
  .hero-meta { display: none; }
  .hero-inner { padding: calc(60svh - 150px) 0 3rem; }
  .hero .eyebrow { font-size: .68rem; }
  .services { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .quote-form .row { grid-template-columns: 1fr; }
  .header-inner .btn-small { display: none; }
  .footer-contact { align-items: flex-start; text-align: left; }
  .call-fab {
    display: flex; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
    justify-content: center; padding: 1rem; border-radius: 999px;
    background: var(--green); color: var(--white); font: 700 1rem var(--head); text-decoration: none;
    box-shadow: 0 12px 30px -10px rgba(0,0,0,.5);
    transition: transform .35s cubic-bezier(.2,.8,.2,1), opacity .35s;
  }
  .call-fab.is-hidden { transform: translateY(140%); opacity: 0; pointer-events: none; }
  .site-footer { padding-bottom: 6rem; }
}
@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
