/* ═══════════════════════════════════════════════════════
   CAVANAUGH CURB APPEAL — style.css
   ═══════════════════════════════════════════════════════ */

:root {
  --green: #699e41;
  --green-deep: #45682a;
  --green-soft: #dcead0;
  --ink: #141412;
  --ink-2: #2a2a28;
  --paper: #f6f4ef;
  --paper-2: #efece4;
  --line: rgba(20, 20, 18, 0.12);
  --line-light: rgba(246, 244, 239, 0.16);
  --font-display: "Sora", sans-serif;
  --font-body: "Inter", sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 84px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; font-weight: 700; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
::selection { background: var(--green-deep); color: #fff; }

/* hide native cursor when custom cursor active */
body.has-cursor, body.has-cursor a, body.has-cursor button,
body.has-cursor input, body.has-cursor select, body.has-cursor textarea,
body.has-cursor label { cursor: none; }

/* ═══════════ SKIP LINK ═══════════ */
.skip-link {
  position: fixed; top: -60px; left: 12px; z-index: 1100;
  background: var(--ink); color: var(--paper); font-family: var(--font-display);
  font-weight: 700; font-size: 0.9rem; padding: 14px 22px; border-radius: 10px;
  transition: top .25s var(--ease-out);
}
.skip-link:focus {
  top: 12px; outline: 3px solid var(--green); outline-offset: 2px;
}

/* ═══════════ PRELOADER ═══════════ */
.preloader {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  background: var(--ink);
  color: var(--paper);
}
.preloader-inner { text-align: center; position: relative; z-index: 2; }
.preloader-mark { width: 130px; height: auto; margin-bottom: 18px; display: block; }
.preloader-word {
  font-family: var(--font-display); font-weight: 800; letter-spacing: 0.35em;
  font-size: 0.85rem;
}
.preloader-word span { color: var(--green); }
.preloader-count {
  margin-top: 14px; font-family: var(--font-display); font-weight: 300;
  font-size: 2.6rem; letter-spacing: 0.05em; color: rgba(246,244,239,.85);
  font-variant-numeric: tabular-nums;
}
.preloader-curtain { position: absolute; inset: 0; background: var(--green); transform: scaleY(0); transform-origin: top; }

/* ═══════════ CURSOR ═══════════ */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 999;
  border-radius: 100px;
  will-change: transform;
}
.cursor-dot {
  width: 8px; height: 8px; background: var(--green);
  transform: translate(-50%, -50%);
}
.cursor-ring {
  width: 42px; height: 42px;
  border: 1.5px solid rgba(105, 158, 65, 0.9);
  display: flex; align-items: center; justify-content: center;
  transition: width .35s var(--ease-out), height .35s var(--ease-out),
              background-color .35s, border-color .35s;
  background: transparent;
}
.cursor-label {
  font-family: var(--font-display); font-size: 0; font-weight: 600;
  color: #fff; white-space: nowrap; transition: font-size .2s;
  letter-spacing: 0.02em;
}
/* states */
.cursor-ring.is-link { width: 64px; height: 64px; background: rgba(105,158,65,.12); }
.cursor-ring.is-label { width: auto; height: 44px; padding: 0 20px; background: var(--green-deep); border-color: var(--green-deep); }
.cursor-ring.is-label .cursor-label { font-size: 0.8rem; }
.cursor-ring.is-hidden, .cursor-dot.is-hidden { opacity: 0; }
.cursor-ring.is-press { transform-origin: center; }
.cursor-dot.is-press { background: var(--ink); }
@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none !important; }
}

/* ═══════════ SCROLL PROGRESS ═══════════ */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%;
  background: var(--green); transform: scaleX(0); transform-origin: left;
  z-index: 998;
}

/* ═══════════ NAV ═══════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 56px);
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: transform .5s var(--ease-out);
}
.nav.nav-hidden { transform: translateY(-100%); }
.nav-brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-mark { width: 54px; height: auto; flex-shrink: 0; display: block; }
.nav-word {
  font-family: var(--font-display); font-weight: 800; font-size: 0.95rem;
  line-height: 1.05; letter-spacing: 0.02em; white-space: nowrap;
}
.nav-word em { font-style: normal; color: var(--green); font-weight: 600; }
.nav-links { display: flex; gap: clamp(16px, 2.4vw, 36px); }
.nav-link {
  font-size: 0.9rem; font-weight: 500; position: relative; padding: 6px 0; white-space: nowrap;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--green); transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease-out);
}
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); transform-origin: left; }
.nav-right { display: flex; align-items: center; gap: 22px; }
.nav-phone { font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; }
.nav-burger { display: none; background: none; border: 0; width: 42px; height: 42px; position: relative; z-index: 950; }
.nav-burger span { display: block; width: 26px; height: 2px; background: var(--ink); margin: 6px auto; transition: .3s; }
body.menu-open .nav-burger span:first-child { transform: translateY(4px) rotate(45deg); }
body.menu-open .nav-burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 940; background: var(--ink); color: var(--paper);
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
  padding: 0 32px; clip-path: circle(0% at calc(100% - 44px) 42px);
  transition: clip-path .6s var(--ease-out);
}
body.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 44px) 42px); }
.mobile-menu a { font-family: var(--font-display); font-size: 2rem; font-weight: 700; padding: 8px 0; }
/* class-based rather than nth-child so adding a menu item never silently
   moves the green CTA highlight onto the wrong link */
.mobile-menu a.mm-cta { color: var(--green); }
.mm-phone { font-size: 1.1rem !important; opacity: .7; margin-top: 24px; }

.mobile-cta-bar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 950;
  padding: 10px clamp(14px, 4vw, 22px) max(10px, env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--ink) 94%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(246,244,239,.12);
  gap: 10px;
}
.mcb-btn {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.92rem;
  padding: 13px 10px; border-radius: 12px; text-align: center; border: none; cursor: pointer;
}
.mcb-call { background: transparent; color: var(--paper); border: 1.5px solid rgba(246,244,239,.4); }
.mcb-estimate { background: var(--green-deep); color: #fff; }
body.menu-open .mobile-cta-bar { display: none; }

.fab-cta {
  position: fixed; right: 28px; bottom: 28px; z-index: 930; border: none; cursor: pointer;
  background: var(--green-deep); color: #fff; font-family: var(--font-display);
  font-weight: 700; font-size: 0.92rem; padding: 16px 26px; border-radius: 100px;
  box-shadow: 0 18px 40px -14px rgba(105,158,65,.6);
  opacity: 0; transform: translateY(16px) scale(.94); pointer-events: none;
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-out), box-shadow .3s;
}
.fab-cta.show { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.fab-cta:hover { box-shadow: 0 22px 48px -14px rgba(105,158,65,.75); transform: translateY(-3px) scale(1.03); }
/* matches the nav-collapse breakpoint below: once the mobile CTA bar appears,
   the desktop floating CTA must be gone or both show at once */
@media (max-width: 1200px) { .fab-cta { display: none; } }

/* ═══════════ BUTTONS ═══════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; font-size: 0.9rem;
  padding: 14px 28px; border-radius: 100px; border: 1.5px solid var(--ink);
  position: relative; overflow: hidden; transition: color .35s;
  will-change: transform; cursor: pointer;
}
.btn span { position: relative; z-index: 2; transition: color .35s; }
.btn::before {
  content: ""; position: absolute; inset: -2px; border-radius: 100px;
  background: var(--green-deep); transform: translateY(101%);
  transition: transform .45s var(--ease-out);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover span { color: #fff; }
.btn-solid { background: var(--ink); color: var(--paper); }
.btn-ghost { background: transparent; color: var(--ink); }

/* ═══════════ SOFT CONVERSION BANNERS ═══════════ */
.soft-cta { background: var(--paper-2); padding: clamp(34px, 5vw, 54px) clamp(20px, 6vw, 90px); }
.soft-cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 26px;
  flex-wrap: wrap; max-width: 1200px; margin: 0 auto;
}
.soft-cta-text { font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 46ch; }
.soft-cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-lg { padding: 18px 38px; font-size: 1rem; }

/* ═══════════ SECTION SHARED ═══════════ */
.section-kicker {
  font-family: var(--font-display); text-transform: uppercase; font-weight: 600;
  letter-spacing: 0.3em; font-size: 0.75rem; color: var(--green-deep);
  margin-bottom: 18px;
}
.section-title {
  font-size: clamp(2rem, 4.6vw, 3.8rem); font-weight: 800;
  letter-spacing: -0.02em; margin-bottom: 22px; max-width: 20ch;
}
.section-sub { max-width: 56ch; font-size: 1.05rem; color: rgba(20,20,18,.72); }
.split-title .word { display: inline-block; overflow: hidden; vertical-align: bottom; }
.split-title .word > i { display: inline-block; font-style: normal; }

/* ═══════════ HERO ═══════════ */
.hero {
  min-height: 100vh; min-height: 100dvh; position: relative; display: flex;
  align-items: center; overflow: hidden;
}
.hero-scene { position: absolute; inset: 0; z-index: 0; }
.hero-svg { width: 100%; height: 100%; }
.hero-content {
  position: relative; z-index: 2;
  padding: calc(var(--nav-h) + 40px) clamp(20px, 6vw, 90px) 120px;
  max-width: 900px;
}
.hero-eyebrow {
  font-family: var(--font-display); font-weight: 600; font-size: 0.8rem;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--green-deep);
  margin-bottom: 26px; overflow: hidden;
}
.hero-eyebrow span { display: inline-block; }
.hero-title {
  font-size: clamp(2.6rem, 6.4vw, 5.4rem); font-weight: 800;
  letter-spacing: -0.03em; margin-bottom: 28px;
  text-shadow: 0 2px 30px rgba(246,244,239,.6);
}
.hero-title .word { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
.hero-title .word > i { display: inline-block; font-style: normal; }
.hero-sub {
  font-size: clamp(1rem, 1.4vw, 1.2rem); max-width: 52ch;
  color: rgba(20,20,18,.78); margin-bottom: 40px;
}
.hero-cta { display: flex; gap: 18px; flex-wrap: wrap; }
.hero-scrollcue {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px; z-index: 2;
  font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase;
  font-family: var(--font-display); font-weight: 600; color: rgba(20,20,18,.55);
}
.scrollcue-track {
  width: 26px; height: 44px; border: 2px solid rgba(20,20,18,.4);
  border-radius: 20px; display: flex; justify-content: center; padding-top: 8px;
}
.scrollcue-dot {
  width: 5px; height: 5px; border-radius: 50%; background: var(--green);
  animation: cueDrop 1.8s var(--ease-out) infinite;
}
@keyframes cueDrop { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(18px); opacity: 0; } 100% { opacity: 0; } }

/* ═══════════ TRUST ROW ═══════════ */
.trust-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: clamp(20px, 4vw, 48px); padding: 26px clamp(20px, 6vw, 90px);
  background: var(--paper-2); border-bottom: 1px solid var(--line);
}
.trust-item { display: flex; align-items: center; gap: 10px; color: var(--ink); }
.trust-item svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--green-deep); }
.trust-item span { font-family: var(--font-display); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.01em; }
.footer-trust {
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; margin-top: 18px; padding-top: 18px;
  border-top: 1px solid var(--line-light);
}
.footer-trust .trust-item { color: rgba(246,244,239,.75); }
.footer-trust .trust-item svg { width: 18px; height: 18px; color: var(--green); }
.footer-trust .trust-item span { font-size: 0.75rem; }
.footer-social { display: flex; gap: 12px; margin-left: auto; }
.social-icon {
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 1px solid var(--line-light); color: var(--paper);
  transition: background .3s, color .3s, transform .3s;
}
.social-icon svg { width: 18px; height: 18px; }
.social-icon:hover { background: var(--green); color: #fff; transform: translateY(-3px); }

/* ═══════════ MARQUEE ═══════════ */
.marquee {
  background: var(--ink); color: var(--paper); overflow: hidden;
  padding: 22px 0; border-top: 1px solid var(--line); white-space: nowrap;
}
.marquee-track { display: inline-flex; align-items: center; gap: 34px; will-change: transform; }
.marquee-track span {
  font-family: var(--font-display); font-weight: 700; font-size: 1.2rem;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.marquee-track i { color: var(--green); font-style: normal; font-size: 0.7rem; }

/* ═══════════ MISSION ═══════════ */
.mission { padding: clamp(90px, 14vw, 170px) clamp(20px, 8vw, 130px); }
.mission-kicker {
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.3em;
  font-size: 0.75rem; font-weight: 600; color: var(--green-deep); margin-bottom: 30px;
}
.mission-text {
  font-size: clamp(1.5rem, 3.1vw, 2.7rem); font-weight: 600; line-height: 1.35;
  letter-spacing: -0.01em; max-width: 30ch;
}
.mission-text .m-word { color: rgba(20,20,18,.5); transition: color .3s; }
.mission-text .m-word.lit { color: var(--ink); }
.mission-audience { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 48px; }
.aud-chip {
  font-family: var(--font-display); font-weight: 600; font-size: 0.85rem;
  border: 1.5px solid var(--line); padding: 12px 24px; border-radius: 100px;
  transition: background .3s, color .3s, border-color .3s;
}
.aud-chip:hover { background: var(--green-deep); border-color: var(--green-deep); color: #fff; }

/* ═══════════ CRAFT INTRO ═══════════ */
.craft-intro {
  padding: clamp(80px, 10vw, 140px) clamp(20px, 6vw, 90px) clamp(50px, 6vw, 80px);
  background: var(--ink); color: var(--paper);
}
.craft-intro .section-sub { color: rgba(246,244,239,.65); }
.craft-intro .section-kicker { color: var(--green); }

/* ═══════════ CHAPTERS ═══════════ */
.chapter { position: relative; }
.chapter-dark { background: var(--ink); color: var(--paper); }
.chapter-light { background: var(--paper); color: var(--ink); }
.chapter-pin {
  height: 100vh; height: 100dvh; display: grid; overflow: hidden;
  grid-template-columns: minmax(320px, 5fr) 7fr;
  gap: clamp(24px, 4vw, 70px); align-items: center;
  padding: calc(var(--nav-h) + 20px) clamp(20px, 5vw, 80px) 40px;
}
.chapter-num {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(3rem, 6vw, 5rem); color: var(--green); opacity: .9;
  line-height: 1;
}
.chapter-light .chapter-num { color: var(--green-deep); opacity: 1;
}
.chapter-title {
  font-size: clamp(1.9rem, 3.4vw, 3rem); font-weight: 800;
  letter-spacing: -0.02em; margin: 12px 0 34px;
}
.chapter-steps { display: flex; flex-direction: column; gap: 4px; }
.chapter-steps li {
  padding: 13px 0 13px 22px; border-left: 2px solid var(--line-light);
  transition: border-color .5s var(--ease-out), opacity .5s, padding-left .5s var(--ease-out);
  opacity: .5;
}
.chapter-light .chapter-steps li { border-left-color: var(--line); opacity: .65; }
.chapter-steps li.active {
  opacity: 1; border-left-color: var(--green); padding-left: 30px;
}
.chapter-steps b { display: block; font-family: var(--font-display); font-size: 1.02rem; margin-bottom: 4px; }
.chapter-steps span { font-size: 0.88rem; line-height: 1.5; display: block; }
.chapter-link {
  display: inline-block; margin-top: 30px; font-family: var(--font-display);
  font-weight: 600; font-size: 0.92rem; color: var(--green);
  border-bottom: 1.5px solid transparent; transition: border-color .3s;
}
.chapter-link:hover { border-color: var(--green); }
.chapter-light .chapter-link { color: var(--green-deep); }
.chapter-light .chapter-link:hover { border-color: var(--green-deep); }
/* on shorter laptop-height viewports (900px and below, 1920x1080 is fine but
   1440x900 / 1366x768 are not) the full 6-step text column plus image was
   taller than the pinned viewport and got clipped top/bottom. Scale the
   whole content stack down rather than letting it overflow. */
@media (max-height: 900px) {
  .chapter-pin { padding-top: calc(var(--nav-h) + 6px); padding-bottom: 16px; gap: clamp(16px, 3vw, 40px); }
  .chapter-num { font-size: clamp(1.8rem, 4vw, 2.6rem); }
  .chapter-title { font-size: clamp(1.3rem, 2.4vw, 1.8rem); margin: 4px 0 10px; }
  .chapter-steps li { padding: 6px 0 6px 16px; }
  .chapter-steps b { font-size: 0.86rem; margin-bottom: 1px; }
  .chapter-steps span { font-size: 0.74rem; line-height: 1.3; }
  .chapter-link { margin-top: 10px; font-size: 0.78rem; }
  .cine-frame { max-height: 62vh; }
}
@media (max-height: 820px) {
  .chapter-steps span { display: none; }
  .chapter-steps li { padding: 5px 0 5px 14px; }
  .chapter-title { margin-bottom: 6px; }
}
.chapter-stage { position: relative; }
.stage-caption {
  margin-top: 16px; text-align: center; font-family: var(--font-display);
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--paper); opacity: .75;
}

/* chapter HUD: scene progress + step counter */
.stage-hud {
  position: absolute; top: 18px; left: 22px; right: 22px;
  display: flex; align-items: center; gap: 14px; pointer-events: none; z-index: 3;
}
.stage-progress {
  flex: 1; height: 3px; border-radius: 3px;
  background: rgba(127,127,120,.3); overflow: hidden;
}
.stage-progress i {
  display: block; height: 100%; background: var(--green);
  transform: scaleX(0); transform-origin: left;
}
.stage-step {
  font-family: var(--font-display); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--paper); opacity: .85; white-space: nowrap;
}

/* spec callouts that pop over the scene */
.spec-pop {
  position: absolute; z-index: 3; max-width: 260px;
  background: rgba(13,13,12,.9); color: var(--paper);
  border-left: 3px solid var(--green);
  padding: 10px 16px; border-radius: 0 12px 12px 0;
  font-family: var(--font-display); font-weight: 600; font-size: 0.8rem; line-height: 1.4;
  opacity: 0; transform: translateY(14px);
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-out);
  pointer-events: none; box-shadow: 0 14px 30px -12px rgba(0,0,0,.45);
}
.spec-pop.on { opacity: 1; transform: translateY(0); }
.chapter-light .spec-pop { background: rgba(255,255,255,.95); color: var(--ink); }
@media (max-width: 1024px) {
  .spec-pop { display: none; }
}

/* pin-spacer backgrounds inherit chapter bg */
.chapter-dark .pin-spacer, .chapter-light .pin-spacer { background: inherit; }

/* ═══════════ SERVICES ═══════════ */
.services { padding: clamp(90px, 12vw, 160px) clamp(20px, 6vw, 90px); }
.svc-groups { margin-top: clamp(40px, 6vw, 80px); border-top: 1px solid var(--line); }
.svc-group { border-bottom: 1px solid var(--line); }
.svc-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: clamp(24px, 3.4vw, 44px) 8px; gap: 20px;
  transition: padding-left .4s var(--ease-out);
}
.svc-head:hover { padding-left: 26px; }
.svc-head-left { display: flex; align-items: baseline; gap: clamp(16px, 3vw, 40px); }
.svc-index {
  font-family: var(--font-display); font-weight: 300; font-size: clamp(1.2rem, 2vw, 1.7rem);
  color: var(--green-deep);
}
.svc-head h3 { font-size: clamp(1.4rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -0.02em; }
.svc-head p { font-size: 0.95rem; color: rgba(20,20,18,.6); margin-top: 6px; max-width: 60ch; }
.svc-toggle {
  flex: 0 0 auto; width: 54px; height: 54px; border: 1.5px solid var(--line);
  border-radius: 50%; position: relative; transition: background .3s, border-color .3s, transform .5s var(--ease-out);
}
.svc-toggle span { position: absolute; top: 50%; left: 50%; width: 18px; height: 2px; background: var(--ink); transform: translate(-50%,-50%); transition: .35s; }
.svc-toggle span:last-child { transform: translate(-50%,-50%) rotate(90deg); }
.svc-group.open .svc-toggle { background: var(--green); border-color: var(--green); transform: rotate(180deg); }
.svc-group.open .svc-toggle span { background: #fff; }
.svc-group.open .svc-toggle span:last-child { transform: translate(-50%,-50%) rotate(0deg); }
.svc-body { max-height: 0; overflow: hidden; transition: max-height .8s var(--ease-out); }
.svc-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px; padding: 6px 8px 46px;
}
.svc-card {
  position: relative; border: 1px solid var(--line); border-radius: 16px;
  padding: 24px 22px; background: #fff; overflow: hidden;
  transition: transform .4s var(--ease-out), box-shadow .4s, border-color .4s;
}
.svc-card:hover {
  transform: translateY(-5px); border-color: rgba(105,158,65,.5);
  box-shadow: 0 18px 44px -18px rgba(20,20,18,.25);
}
.svc-card h4 { font-size: 1.05rem; margin-bottom: 8px; position: relative; z-index: 1; }
.svc-card p { font-size: 0.87rem; color: rgba(20,20,18,.68); position: relative; z-index: 1; }
.svc-price {
  display: block; margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line);
  font-family: var(--font-display); font-weight: 700; font-size: 0.76rem;
  color: var(--green-deep); position: relative; z-index: 1;
}
/* cursor-follow spotlight */
.spotlight::before {
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: 0;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(105,158,65,.14), transparent 65%);
  transition: opacity .35s;
}
.spotlight:hover::before { opacity: 1; }

/* ═══════════ PROCESS ═══════════ */
.process {
  padding: clamp(90px, 12vw, 160px) clamp(20px, 6vw, 90px);
  background: var(--ink); color: var(--paper);
}
.process .section-kicker { color: var(--green); }
.gallery .section-kicker { color: var(--green); }
.process-rail { position: relative; margin-top: clamp(50px, 7vw, 90px); }
.process-line {
  position: absolute; left: 27px; top: 0; bottom: 0; width: 2px;
  background: var(--line-light);
}
.process-line-fill { width: 100%; height: 100%; background: var(--green); transform: scaleY(0); transform-origin: top; }
.process-steps { display: flex; flex-direction: column; gap: clamp(40px, 6vw, 70px); }
.pstep { position: relative; padding-left: 90px; max-width: 640px; }
.pstep-num {
  position: absolute; left: 0; top: 0; width: 56px; height: 56px;
  border: 1.5px solid var(--line-light); border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 600; font-size: 0.9rem;
  background: var(--ink); transition: background .4s, border-color .4s, color .4s;
}
.pstep.lit .pstep-num { background: var(--green-deep); border-color: var(--green-deep); color: #fff; }
.pstep h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); margin-bottom: 8px; }
.pstep p { color: rgba(246,244,239,.66); font-size: 0.95rem; }

/* ═══════════ AREA ═══════════ */
.area { padding: clamp(90px, 12vw, 160px) clamp(20px, 6vw, 90px); background: var(--paper-2); }
.area-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 90px); align-items: center;
}
.area-counties { margin-top: 40px; border-top: 1px solid var(--line); }
.area-counties li {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 10px; border-bottom: 1px solid var(--line);
  transition: padding-left .35s var(--ease-out), background .35s;
}
.area-counties li:hover, .area-counties li.hovered { padding-left: 24px; background: rgba(105,158,65,.07); }
.area-counties b { font-family: var(--font-display); font-size: 1.05rem; }
.area-counties span {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--green-deep);
}
.area-map { display: grid; place-items: center; }
#miMap { width: min(100%, 420px); overflow: visible; }
#miOutline { stroke-dasharray: 2000; stroke-dashoffset: 2000; fill: rgba(105,158,65,.06); }
.mi-pin text {
  font-family: var(--font-display); font-size: 15px; font-weight: 700;
  text-anchor: middle; fill: var(--ink);
}
.pin-dot { fill: var(--green); }
.pin-halo { fill: rgba(105,158,65,.22); transform-origin: center; animation: haloPulse 2.4s ease-out infinite; }
.mi-pin { opacity: 0; }
.mi-pin.on { opacity: 1; }
@keyframes haloPulse { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(1.4); opacity: 0; } }

/* ═══════════ WARRANTY ═══════════ */
.warranty { padding: clamp(90px, 12vw, 170px) clamp(20px, 6vw, 90px); }
.warranty-inner {
  display: grid; grid-template-columns: minmax(220px, 320px) 1fr;
  gap: clamp(40px, 6vw, 90px); align-items: center; max-width: 1200px; margin: 0 auto;
}
.warranty-badge { width: 100%; }
#wShield { stroke-dasharray: 700; stroke-dashoffset: 700; }
#wCheck { stroke-dasharray: 100; stroke-dashoffset: 100; }
.w-years { font-family: var(--font-display); font-weight: 800; font-size: 44px; fill: var(--ink); }
.w-sub { font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: 4px; fill: var(--green-deep); }
.warranty-text p { margin-bottom: 18px; max-width: 58ch; color: rgba(20,20,18,.78); }
.warranty-text b { color: var(--ink); }
.warranty-fine { font-size: 0.88rem; color: rgba(20,20,18,.72) !important; }
.warranty-text .btn { margin-top: 12px; }

/* ═══════════ STATS ═══════════ */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--ink); color: var(--paper);
  padding: clamp(50px, 7vw, 90px) clamp(20px, 6vw, 90px);
  gap: 30px;
}
.stat { text-align: center; }
.stat-num {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.6rem, 5.4vw, 4.4rem); letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.stat-plus { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 2.6vw, 2.2rem); color: var(--green); }
.stat p { margin-top: 6px; font-size: 0.88rem; color: rgba(246,244,239,.6); }

/* ═══════════ FINANCING ═══════════ */
.financing { background: var(--green-soft); padding: clamp(50px, 7vw, 80px) clamp(20px, 6vw, 90px); }
.financing-inner {
  max-width: 1200px; margin: 0 auto; display: flex; align-items: center;
  justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.financing-text h2 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); font-weight: 800; letter-spacing: -0.02em; margin: 6px 0 8px; }
.financing-text p { max-width: 56ch; color: rgba(20,20,18,.7); }

/* ═══════════ FAQ ═══════════ */
.faq { padding: clamp(80px, 10vw, 140px) clamp(20px, 6vw, 90px); max-width: 900px; margin: 0 auto; }
.faq-list { margin-top: 40px; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  border: 1px solid var(--line); border-radius: 16px; padding: 6px 26px;
  transition: border-color .3s, background .3s;
}
.faq-item[open] { background: var(--paper-2); border-color: var(--green); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; border-radius: 4px; }
.faq-plus { position: relative; width: 20px; height: 20px; flex-shrink: 0; }
.faq-plus::before, .faq-plus::after {
  content: ""; position: absolute; background: var(--green-deep); border-radius: 2px;
  transition: transform .3s var(--ease-out);
}
.faq-plus::before { top: 9px; left: 0; width: 20px; height: 2px; }
.faq-plus::after { left: 9px; top: 0; width: 2px; height: 20px; }
.faq-item[open] .faq-plus::after { transform: rotate(90deg); opacity: 0; }
.faq-item p { padding: 0 0 22px; color: rgba(20,20,18,.72); line-height: 1.65; font-size: 0.96rem; }

/* ═══════════ CONTACT ═══════════ */
.contact { padding: clamp(90px, 12vw, 160px) clamp(20px, 6vw, 90px); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px); align-items: start;
}
.contact-cards { display: flex; flex-direction: column; gap: 16px; margin-top: 40px; }
.person-card {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 4px;
  border: 1px solid var(--line); border-radius: 18px; padding: 26px 28px;
  background: #fff; transition: transform .4s var(--ease-out), box-shadow .4s, border-color .4s;
}
.person-card:hover {
  transform: translateY(-4px); border-color: rgba(105,158,65,.5);
  box-shadow: 0 18px 44px -18px rgba(20,20,18,.25);
}
.person-role {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--green-deep); position: relative; z-index: 1;
}
.person-name { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; margin: 4px 0 6px; position: relative; z-index: 1; }
.person-line { font-size: 0.95rem; color: rgba(20,20,18,.7); position: relative; z-index: 1; }
.person-link { display: inline-block; width: fit-content; }
.person-link:hover { color: var(--green-deep); text-decoration: underline; text-underline-offset: 3px; }
.contact-form {
  background: var(--ink); color: var(--paper); border-radius: 24px;
  padding: clamp(28px, 3.6vw, 48px); display: flex; flex-direction: column; gap: 18px;
}
.contact-form h3 { font-size: 1.5rem; margin-bottom: 4px; }
.contact-form label {
  display: flex; flex-direction: column; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.8rem;
  letter-spacing: 0.08em; text-transform: uppercase; color: rgba(246,244,239,.7);
  flex: 1;
}
.form-row { display: flex; gap: 16px; }
.contact-form input, .contact-form select, .contact-form textarea {
  font-family: var(--font-body); font-size: 0.98rem; color: var(--paper);
  background: rgba(246,244,239,.06); border: 1px solid var(--line-light);
  border-radius: 12px; padding: 14px 16px; outline: none; resize: vertical;
  transition: border-color .3s, background .3s;
}
.contact-form select { appearance: none; }
.contact-form select option { color: var(--ink); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  border-color: var(--green); background: rgba(105,158,65,.08);
  box-shadow: 0 0 0 3px rgba(105,158,65,.35);
}
.photo-upload-hint { text-transform: none; letter-spacing: normal; font-weight: 400; font-size: 0.72rem; color: rgba(246,244,239,.72); margin-top: -2px; }
.contact-form input[type="file"] {
  padding: 10px 14px; font-size: 0.85rem; color: rgba(246,244,239,.7);
}
.contact-form input[type="file"]::file-selector-button {
  font-family: var(--font-display); font-weight: 600; font-size: 0.8rem;
  padding: 8px 16px; border-radius: 100px; border: 1px solid var(--green);
  background: transparent; color: var(--paper); margin-right: 12px; cursor: pointer;
  transition: background .3s, color .3s;
}
.contact-form input[type="file"]::file-selector-button:hover { background: var(--green-deep); color: #fff; }
.photo-upload-note { font-size: 0.76rem; color: rgba(246,244,239,.72); margin-top: -8px; }
.photo-previews { display: flex; flex-wrap: wrap; gap: 10px; }
.photo-thumb { position: relative; width: 72px; height: 72px; border-radius: 10px; overflow: hidden; }
.photo-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-thumb button {
  position: absolute; top: 2px; right: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: rgba(13,13,12,.85); color: #fff; font-size: 12px; line-height: 1;
  border: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.photo-thumb button:hover { background: #b03a2e; }
.form-submit { border-color: var(--green-deep); background: var(--green-deep); margin-top: 6px; }
.form-submit::before { background: var(--paper); }
.form-submit:hover span { color: var(--ink); }
.form-note { font-size: 0.78rem; color: rgba(246,244,239,.5); font-family: var(--font-body); }
.form-note a { text-decoration: underline; text-underline-offset: 2px; }
.form-note-ok { color: var(--green); font-weight: 600; }
.form-note-error { color: #e08a5c; font-weight: 600; }

/* ═══════════ FOOTER ═══════════ */
.footer { background: #0d0d0c; color: var(--paper); padding: clamp(60px, 8vw, 100px) clamp(20px, 6vw, 90px) 40px; }
.footer-top { display: flex; justify-content: space-between; gap: 50px; flex-wrap: wrap; }
.footer-brand { display: flex; gap: 14px; align-items: center; }
.footer-brand b { font-family: var(--font-display); font-size: 1.15rem; display: block; }
.footer-brand span { font-size: 0.8rem; color: var(--green); }
.footer-cols { display: flex; gap: clamp(40px, 6vw, 90px); flex-wrap: wrap; }
.footer-cols h4 { font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(246,244,239,.72); margin-bottom: 16px; }
.footer-cols a { display: block; padding: 5px 0; font-size: 0.92rem; color: rgba(246,244,239,.8); transition: color .3s, transform .3s; }
.footer-cols a:hover { color: var(--green); transform: translateX(6px); }
.footer-bottom { margin-top: 60px; padding-top: 26px; border-top: 1px solid var(--line-light); }
.footer-bottom p { font-size: 0.82rem; color: rgba(246,244,239,.5); }
.footer-fine { margin-top: 8px; font-size: 0.74rem !important; color: rgba(246,244,239,.7) !important; max-width: 90ch; }

/* ═══════════ REVEALS ═══════════ */
.reveal-fade { opacity: 0; transform: translateY(34px); }
.reveal-line span { display: inline-block; transform: translateY(110%); }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1024px) {
  .chapter-pin { grid-template-columns: 1fr; align-content: start; gap: 26px; padding-top: calc(var(--nav-h) + 16px); }
  .chapter-title { margin-bottom: 18px; }
  .chapter-steps span { display: none; }
  .cine-frame { max-height: 46vh; }
  .area-grid, .contact-grid { grid-template-columns: 1fr; }
  .warranty-inner { grid-template-columns: 1fr; text-align: left; }
  .warranty-badge { max-width: 240px; }
}
/* nav collapses to the hamburger well above the general mobile breakpoint —
   the full nav-links + nav-right row needs ~1170px of clear space (brand +
   7 links incl. Holiday Lighting + phone + CTA button); below that it starts
   squeezing the brand lockup until "Curb Appeal" wraps onto its own line.
   Collapsing earlier avoids that dead zone entirely instead of fighting it
   with flex-shrink. Re-measure this number if a nav link is ever added. */
@media (max-width: 1200px) {
  .nav-links, .nav-right { display: none; }
  .nav-burger { display: block; }
  .mobile-cta-bar { display: flex; }
  body { padding-bottom: 72px; }
}
@media (max-width: 860px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .form-row { flex-direction: column; }
  /* hero photo stays full-bleed on mobile; text reads over the shade */
  .hero-shade {
    background: linear-gradient(to top, rgba(10,10,9,.88) 30%, rgba(10,10,9,.45) 60%, rgba(10,10,9,.2));
  }
}

/* ═══════════ DREAM BOARD (horizontal gallery) ═══════════ */
.gallery { background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
.gal-pin {
  height: 100vh; height: 100dvh; display: flex; flex-direction: column;
  justify-content: center; overflow: hidden; padding-top: var(--nav-h);
}
.gal-head { padding: 0 clamp(20px, 6vw, 90px) 34px; }
.gal-title { font-size: clamp(1.8rem, 3.6vw, 3rem); font-weight: 800; letter-spacing: -0.02em; }
.gal-note { margin-top: 10px; font-size: 0.85rem; color: rgba(246,244,239,.5); }
.gal-track {
  display: flex; gap: clamp(18px, 2.4vw, 34px);
  padding: 0 clamp(20px, 6vw, 90px); will-change: transform; width: max-content;
}
.gal-panel {
  position: relative; width: clamp(300px, 34vw, 520px); flex: 0 0 auto;
}
.gal-imgwrap {
  width: 100%; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 20px;
  box-shadow: 0 24px 60px -24px rgba(0,0,0,.6);
}
.gal-imgwrap img {
  width: 116%; height: 100%; object-fit: cover; display: block;
  will-change: transform;
}
.gal-panel figcaption {
  display: flex; align-items: baseline; gap: 14px; margin-top: 16px;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
}
.gal-panel figcaption span { color: var(--green); font-weight: 300; font-size: 1.3rem; }
.gal-cta {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  gap: 16px; padding: 40px; border: 1.5px dashed rgba(105,158,65,.5); border-radius: 20px;
}
.gal-cta h3 { font-size: clamp(1.6rem, 2.6vw, 2.4rem); }
.gal-cta p { color: rgba(246,244,239,.6); font-size: 0.95rem; }
.gal-progress {
  margin: 36px clamp(20px, 6vw, 90px) 0; height: 3px; border-radius: 3px;
  background: rgba(246,244,239,.14); overflow: hidden;
}
.gal-progress i { display: block; height: 100%; background: var(--green); transform: scaleX(0); transform-origin: left; }

/* ═══════════ TESTIMONIALS ═══════════ */
.testimonials { padding: clamp(80px, 10vw, 140px) clamp(20px, 6vw, 90px); }
.testi-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.testi-highlights { margin-top: 18px; display: flex; align-items: center; justify-content: center; gap: 8px 24px; flex-wrap: wrap; }
.testi-highlights span { font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; color: rgba(20,20,18,.7); position: relative; }
.testi-highlights span:not(:last-child)::after { content: "•"; position: absolute; right: -17px; color: var(--green); font-weight: 400; }
.testi-photo {
  max-width: 900px; margin: 0 auto 44px; border-radius: 20px; overflow: hidden; position: relative;
}
.testi-photo img { width: 100%; height: clamp(200px, 30vw, 320px); object-fit: cover; display: block; }
.testi-photo figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 24px;
  background: linear-gradient(to top, rgba(20,20,18,.78), transparent);
  color: var(--paper); font-size: 0.85rem; line-height: 1.4;
}
.testi-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px; max-width: 1300px; margin: 0 auto 40px;
}
.testi-card {
  border: 1px solid var(--line); border-radius: 18px; padding: 28px 26px;
  display: flex; flex-direction: column; gap: 12px; background: var(--paper);
}
.testi-stars { color: var(--green); font-size: 1.05rem; letter-spacing: 2px; }
.testi-quote { font-size: 0.98rem; line-height: 1.6; color: rgba(20,20,18,.85); flex: 1; }
.testi-meta { display: flex; flex-direction: column; gap: 2px; }
.testi-name { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; }
.testi-loc { font-size: 0.8rem; color: rgba(20,20,18,.55); }
.testi-tag {
  align-self: flex-start; font-family: var(--font-display); font-weight: 600;
  font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--green-deep); background: var(--green-soft); padding: 5px 12px; border-radius: 100px;
}
.testi-promise {
  max-width: 820px; margin: 0 auto; text-align: center;
  border: 1px solid var(--line); border-radius: 20px;
  padding: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 52px); background: var(--paper);
}
.testi-promise-lead {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem); line-height: 1.35; margin-bottom: 18px;
}
.testi-promise-body {
  font-size: 1rem; line-height: 1.65; color: rgba(20,20,18,.78); margin-bottom: 14px;
}
.testi-promise-actions {
  margin-top: 26px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center;
}
.testimonials > .btn { display: flex; width: fit-content; margin: 0 auto; }

/* ═══════════ BEFORE / AFTER ═══════════ */
.ba { background: var(--paper-2); position: relative; }
.ba-pin {
  height: 100vh; height: 100dvh; display: flex; flex-direction: column; justify-content: center; overflow: hidden;
  padding: calc(var(--nav-h) + 20px) clamp(20px, 6vw, 90px) 50px; gap: 30px;
}
.ba-title { font-size: clamp(1.9rem, 3.8vw, 3.2rem); font-weight: 800; letter-spacing: -0.02em; }
.ba-sub { color: rgba(20,20,18,.6); margin-top: 8px; font-size: 0.95rem; }
.ba-stage { position: relative; max-width: 1050px; width: 100%; margin: 0 auto; }
.ba-svg {
  width: 100%; height: auto; display: block; border-radius: 22px;
  box-shadow: 0 30px 70px -30px rgba(20,20,18,.4), inset 0 0 0 1px var(--line);
}
.ba-tag {
  position: absolute; top: 18px; font-family: var(--font-display); font-weight: 700;
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  padding: 8px 16px; border-radius: 100px; pointer-events: none;
}
.ba-tag-before { right: 18px; background: rgba(20,20,18,.75); color: var(--paper); }
.ba-tag-after { left: 18px; background: var(--green-deep); color: #fff; }
.ba-note {
  position: absolute; z-index: 2; pointer-events: none;
  background: rgba(13,13,12,.9); color: var(--paper); border-left: 3px solid var(--green);
  padding: 9px 15px; border-radius: 0 12px 12px 0;
  font-family: var(--font-display); font-weight: 600; font-size: 0.78rem;
  opacity: 0; transform: translateY(12px);
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-out);
}
.ba-note.on { opacity: 1; transform: none; }
.ba-payoff {
  max-width: 1050px; margin: 0 auto; padding: 0 clamp(20px, 6vw, 90px) clamp(50px, 7vw, 90px);
  text-align: center;
}
.ba-payoff h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 800; letter-spacing: -0.02em; }
.ba-payoff p { margin: 12px 0 22px; color: rgba(20,20,18,.65); font-size: 1rem; }
.ba-payoff p a { color: var(--green-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
@media (max-height: 900px) {
  .ba-pin { padding-top: calc(var(--nav-h) + 10px); padding-bottom: 20px; gap: 14px; }
  .ba-title { font-size: clamp(1.4rem, 2.8vw, 2.1rem); }
  .ba-sub { font-size: 0.85rem; margin-top: 4px; }
  .ba-stage { max-width: 820px; }
}

/* ═══════════ SEASONS ═══════════ */
.seasons .chapter-title { margin-top: 10px; }

/* ═══════════ HOVER PEEK (photo follows cursor) ═══════════ */
.hover-peek {
  position: fixed; top: 0; left: 0; z-index: 990; pointer-events: none;
  width: 300px; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden;
  opacity: 0; transition: opacity .35s var(--ease-out);
  box-shadow: 0 30px 60px -20px rgba(20,20,18,.5);
  will-change: transform;
}
.hover-peek.on { opacity: 1; }
.hover-peek img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transform: scale(1.18) rotate(-3deg);
  transition: transform .5s var(--ease-out);
}
.hover-peek.on img { transform: scale(1) rotate(0deg); }

/* ═══════════ CURSOR EXTRAS ═══════════ */
.cursor-ring.is-tool {
  width: 54px; height: 54px; background: var(--green); border-color: var(--green);
}
.cursor-ring.is-tool .cursor-label { font-size: 0; }
.cursor-ring.is-tool .cursor-label svg { display: block; width: 24px; height: 24px; }
.cursor-ripple {
  position: fixed; z-index: 998; pointer-events: none;
  width: 10px; height: 10px; border-radius: 50%;
  border: 2px solid var(--green); transform: translate(-50%, -50%);
  animation: rippleOut .6s var(--ease-out) forwards;
}
@keyframes rippleOut {
  0% { opacity: .9; scale: 1; }
  100% { opacity: 0; scale: 9; }
}
.cursor-trail {
  position: fixed; z-index: 997; pointer-events: none;
  width: 6px; height: 6px; border-radius: 50%; background: var(--green);
  transform: translate(-50%, -50%); opacity: 0;
}
.cursor-trail.live { animation: trailFade .5s ease-out forwards; }
@keyframes trailFade {
  0% { opacity: .55; scale: 1; }
  100% { opacity: 0; scale: .2; }
}

/* ═══════════ STATS PHOTO BACKDROP ═══════════ */
.stats { position: relative; overflow: hidden; }
.stats::before {
  content: ""; position: absolute; inset: 0;
  background: url("../assets/img/retaining-wall.jpg") center / cover no-repeat;
  opacity: .14;
}
.stat { position: relative; z-index: 1; }

/* ═══════════ NEW RESPONSIVE ═══════════ */
@media (max-width: 1024px) {
  .ba-note { display: none; }
  .gal-panel { width: min(74vw, 420px); }
}

/* ═══════════ CINEMATIC HERO (photo) ═══════════ */
.hero-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transform-origin: 62% 42%; will-change: transform;
}
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(78deg, rgba(10,10,9,.88) 0%, rgba(10,10,9,.55) 42%, rgba(10,10,9,.1) 78%),
    linear-gradient(to top, rgba(10,10,9,.72), transparent 45%);
}
.hero-title { color: var(--paper); text-shadow: none; }
.hero-sub { color: rgba(246,244,239,.82); }
.hero-eyebrow { color: #93c766; }
.hero .btn-ghost { border-color: rgba(246,244,239,.55); color: var(--paper); }
.hero-scrollcue { color: rgba(246,244,239,.7); }
.hero .scrollcue-track { border-color: rgba(246,244,239,.5); }

/* ═══════════ CINE FRAMES (chapter photo scenes) ═══════════ */
.cine-frame {
  position: relative; width: 100%; aspect-ratio: 15 / 10;
  border-radius: 20px; overflow: hidden; background: #0d0d0c;
  box-shadow: 0 44px 90px -44px rgba(0,0,0,.85), inset 0 0 0 1px rgba(246,244,239,.08);
}
.chapter-light .cine-frame { box-shadow: 0 40px 80px -40px rgba(20,20,18,.5), inset 0 0 0 1px var(--line); }
.cine-layer { position: absolute; inset: 0; margin: 0; opacity: 0; }
.cine-layer img {
  width: 100%; height: 100%; object-fit: cover;
  will-change: transform; transform-origin: center;
}
.cine-layer::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 90% at 50% 38%, transparent 55%, rgba(0,0,0,.4));
}
.cine-layer figcaption {
  position: absolute; left: 18px; bottom: 16px; z-index: 2;
  font-family: var(--font-display); font-size: 0.74rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: #fff;
  background: rgba(13,13,12,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  padding: 9px 16px; border-radius: 100px; border-left: 3px solid var(--green);
}

/* ═══════════ BA PHOTO SLIDER ═══════════ */
.ba-stage {
  aspect-ratio: 16 / 9; overflow: hidden; border-radius: 22px;
  box-shadow: 0 30px 70px -30px rgba(20,20,18,.5), inset 0 0 0 1px var(--line);
  background: #0d0d0c;
}
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-reveal { position: absolute; top: 0; bottom: 0; left: 0; width: 0%; overflow: hidden; }
.ba-line {
  position: absolute; top: 0; bottom: 0; left: 0; width: 4px; cursor: ew-resize;
  background: var(--paper); box-shadow: 0 0 24px rgba(0,0,0,.55);
}
.ba-line:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }
.ba-line:focus-visible .ba-handle { box-shadow: 0 0 0 4px rgba(105,158,65,.5), 0 12px 30px rgba(0,0,0,.45); }
.ba-handle {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--paper); color: var(--ink);
  display: grid; place-items: center; font-size: 19px; font-weight: 700;
  box-shadow: 0 12px 30px rgba(0,0,0,.45);
}

/* ═══════════ FILM GRAIN ═══════════ */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 996; pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.6 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

@media (max-width: 1024px) {
  .cine-frame { aspect-ratio: 16 / 9; }
  .ba-stage { aspect-ratio: 4 / 3; }

  /* pinned chapters: photo first, compact text, everything above the fold */
  .chapter-pin { align-content: start; gap: 18px; }
  .chapter-stage { order: -1; }
  .chapter-num { display: none; }
  .chapter-title { font-size: 1.45rem; margin: 0 0 12px; }
  .chapter-steps { gap: 0; }
  .chapter-steps li { padding: 8px 0 8px 16px; }
  .chapter-steps li.active { padding-left: 22px; }
  .chapter-steps b { font-size: 0.92rem; margin-bottom: 0; }
  .chapter-link { margin-top: 14px; font-size: 0.85rem; }
  .stage-caption { display: none; }
}

/* ═══════════ INSTANT ESTIMATE QUIZ ═══════════ */
.quiz-modal { position: fixed; inset: 0; z-index: 1050; display: flex; align-items: center; justify-content: center; padding: 20px; }
.quiz-modal[hidden] { display: none; }
.quiz-backdrop { position: absolute; inset: 0; background: rgba(13,13,12,.72); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.quiz-panel {
  position: relative; background: var(--paper); color: var(--ink); border-radius: 22px;
  padding: 40px clamp(24px, 4vw, 48px) 30px; width: min(560px, 100%); max-height: 88vh; overflow-y: auto;
  box-shadow: 0 60px 120px -40px rgba(0,0,0,.5);
}
.quiz-close {
  position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line); background: transparent; font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background .2s;
}
.quiz-close:hover { background: var(--paper-2); }
.quiz-progress { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; margin-bottom: 10px; }
.quiz-progress i { display: block; height: 100%; width: 20%; background: var(--green); transition: width .4s var(--ease-out); }
.quiz-step-label { font-family: var(--font-display); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green-deep); margin-bottom: 18px; }
.quiz-step h3 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); font-weight: 800; letter-spacing: -0.02em; }
.quiz-sub { color: rgba(20,20,18,.6); margin-top: 6px; font-size: 0.92rem; }
.quiz-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.quiz-chip {
  font-family: var(--font-display); font-weight: 600; font-size: 0.86rem;
  padding: 11px 18px; border-radius: 100px; border: 1.5px solid var(--line);
  background: transparent; color: var(--ink); cursor: pointer; transition: all .25s;
}
.quiz-chip[aria-pressed="true"] { background: var(--green-deep); border-color: var(--green-deep); color: #fff; }
.quiz-radio-group { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.quiz-radio {
  display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 14px;
  border: 1.5px solid var(--line); cursor: pointer; font-size: 0.94rem; transition: border-color .25s, background .25s;
}
.quiz-radio:has(input:checked) { border-color: var(--green); background: var(--green-soft); }
.quiz-radio input { accent-color: var(--green); width: 18px; height: 18px; }
.quiz-field { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; font-family: var(--font-display); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(20,20,18,.6); }
.quiz-field input {
  font-family: var(--font-body); font-size: 0.98rem; color: var(--ink); text-transform: none; letter-spacing: normal;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 13px 16px;
}
.quiz-field input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(105,158,65,.25); outline: none; }
.quiz-result { text-align: center; }
.quiz-range { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 5vw, 2.8rem); color: var(--green-deep); margin: 14px 0 10px; }
.quiz-fine { color: rgba(20,20,18,.6); font-size: 0.88rem; max-width: 46ch; margin: 0 auto 20px; }
.quiz-abandon-note { margin-top: 14px; font-size: 0.85rem; color: rgba(20,20,18,.6); }
.quiz-hint { color: #b5502f; font-size: 0.85rem; margin-top: 16px; }
.quiz-nav { display: flex; justify-content: space-between; margin-top: 30px; }
.quiz-back, .quiz-next {
  font-family: var(--font-display); font-weight: 700; font-size: 0.9rem;
  padding: 13px 24px; border-radius: 100px; cursor: pointer; transition: opacity .2s, background .25s;
}
.quiz-back { background: transparent; border: 1px solid var(--line); color: var(--ink); }
.quiz-back[hidden] { visibility: hidden; }
.quiz-next { background: var(--ink); border: 1px solid var(--ink); color: var(--paper); margin-left: auto; }
.quiz-next:hover { background: var(--green-deep); border-color: var(--green-deep); }
.quiz-next:disabled { opacity: 0.4; cursor: not-allowed; }
@media (max-width: 640px) { .quiz-panel { padding: 32px 20px 24px; } }

/* ═══════════ REDUCED MOTION ═══════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .gal-pin { height: auto; }
  .gal-track { overflow-x: auto; width: auto; }
}
