/* ============================================================
   Greenville Landscaping - Landing Page Template
   Palette: ink #121212 | lime #BAC869 | teal #1B8E6A | cream #F7F4ED
   Type: Righteous (display) + Lato (body)
   ============================================================ */

:root {
  --ink: #121212;
  --lime: #bac869;
  --teal: #157a5a;
  --cream: #f7f4ed;
  --white: #ffffff;

  --teal-dark: #157a5a;
  --teal-btn: #157a5a;       /* primary green; ~5.3:1 with white for button labels */
  --teal-btn-hover: #0f5b42;
  --ink-soft: #1c1c1c;
  --ink-card: #1f1f1f;
  --line: rgba(18, 18, 18, 0.12);
  --text: #2a2a2a;
  --text-mute: #5a5a5a;

  --radius: 10px;
  --radius-lg: 16px;
  --container: 1240px;
  --section-y: clamp(4.5rem, 9vw, 9rem);

  --font-display: "Righteous", system-ui, sans-serif;
  --font-body: "Lato", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3 { margin: 0; line-height: 1.05; }

.display { font-family: var(--font-display); font-weight: 400; letter-spacing: 0.01em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }

.section { padding-block: var(--section-y); }

.lime { color: var(--lime); }
.teal { color: var(--teal); }

/* ---------- Accessibility helpers ---------- */
.skip-link {
  position: absolute; left: 1rem; top: -3rem; z-index: 200;
  background: var(--ink); color: #fff; padding: 0.6rem 1rem; border-radius: var(--radius);
  transition: top 0.2s ease;
}
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
.section-dark :focus-visible, .hero :focus-visible, .cta-bar :focus-visible, .site-footer :focus-visible { outline-color: var(--lime); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--teal);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-family: var(--font-body); font-weight: 700; font-size: 0.95rem;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 0.95rem 1.7rem; border-radius: var(--radius); border: 2px solid transparent;
  background: var(--btn-bg); color: var(--btn-fg); cursor: pointer;
  transition: transform 0.18s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(18,18,18,0.18); }
.btn:active { transform: translateY(0); }
.btn .ico { width: 0.9em; height: 0.9em; fill: currentColor; flex: none; }

.btn-teal { --btn-bg: var(--teal-btn); --btn-fg: #fff; }
.btn-teal:hover { background: var(--teal-btn-hover); }
.btn-lime { --btn-bg: var(--lime); --btn-fg: var(--ink); }
.btn-lime:hover { background: #c9d680; }
.btn-phone { --btn-bg: var(--teal-btn); --btn-fg: #fff; letter-spacing: 0.02em; }
.btn-phone .ico { width: 0.78em; }
.btn-ghost {
  --btn-bg: transparent; --btn-fg: #fff; border-color: rgba(255,255,255,0.55);
  backdrop-filter: blur(2px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.btn-block { width: 100%; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 1.5rem; }
.brand-logo { height: 40px; width: auto; }

.primary-nav { display: flex; align-items: center; }
.nav-menu {
  display: flex; align-items: center; gap: clamp(1.1rem, 2.6vw, 2.4rem);
  list-style: none; margin: 0; padding: 0;
}
.nav-menu a:not(.btn) {
  font-weight: 700; font-size: 0.92rem; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--ink); padding: 0.4rem 0; position: relative; white-space: nowrap;
}
.nav-menu a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--teal); transition: width 0.25s ease;
}
.nav-menu a:not(.btn):hover::after, .nav-menu a:not(.btn):focus-visible::after { width: 100%; }

/* Menu trigger — present at every breakpoint, opens the drawer */
.menu-btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-body); font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink);
  background: none; border: 2px solid var(--line); border-radius: 999px;
  padding: 0.58rem 1.1rem; margin-left: clamp(1.1rem, 2.6vw, 2.4rem); cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.menu-btn:hover { border-color: var(--teal); color: var(--teal); }
.menu-bars { display: flex; flex-direction: column; gap: 4px; width: 18px; }
.menu-bars span {
  display: block; height: 2px; background: currentColor; border-radius: 2px;
  transition: width 0.25s ease;
}
.menu-bars span:nth-child(2) { width: 65%; }
.menu-btn:hover .menu-bars span:nth-child(2) { width: 100%; }

/* Once the inline links crowd the logo they fold into the drawer instead */
@media (max-width: 1080px) {
  .nav-menu { display: none; }
  .menu-btn { margin-left: 0; }
}

/* ============================================================
   MENU DRAWER
   ============================================================ */
.drawer-backdrop {
  position: fixed; inset: 0; z-index: 199;
  background: rgba(18, 18, 18, 0.5);
  opacity: 0; visibility: hidden;
  transition: opacity 0.38s ease, visibility 0s linear 0.38s;
}
.drawer-backdrop.open { opacity: 1; visibility: visible; transition: opacity 0.38s ease, visibility 0s; }

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 200;
  width: min(420px, 88vw);
  background: var(--cream);
  border-left: 1px solid var(--line);
  box-shadow: -30px 0 60px rgba(18, 18, 18, 0.18);
  overflow-y: auto; overscroll-behavior: contain;
  transform: translateX(100%); visibility: hidden;
  transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0.42s;
}
.drawer.open { transform: none; visibility: visible; transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s; }
.drawer-inner { padding: 1.6rem clamp(1.5rem, 4vw, 2.2rem) 2.4rem; }

.drawer-head { display: flex; align-items: center; justify-content: space-between; height: 44px; margin-bottom: 1.6rem; }
.drawer-eyebrow {
  font-weight: 700; font-size: 0.72rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--text-mute);
}
.drawer-close {
  display: grid; place-items: center; width: 42px; height: 42px; margin-right: -9px;
  background: none; border: 0; border-radius: 50%; cursor: pointer; color: var(--ink);
  transition: background 0.2s ease;
}
.drawer-close:hover { background: rgba(18, 18, 18, 0.07); }
.drawer-close svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; }

.drawer-section + .drawer-section { margin-top: 2rem; }
.drawer-title {
  font-family: var(--font-body); font-weight: 700; font-size: 0.72rem;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-mute);
  margin: 0 0 0.9rem; padding-bottom: 0.7rem; border-bottom: 1px solid var(--line);
}
.drawer-list { list-style: none; margin: 0; padding: 0; }

/* Primary destinations — display type carries the hierarchy */
.drawer-primary a {
  display: block; font-family: var(--font-display); font-size: 1.5rem;
  color: var(--ink); padding: 0.5rem 0; transition: color 0.2s ease, transform 0.2s ease;
}
.drawer-primary a:hover { color: var(--teal); transform: translateX(6px); }
.drawer-primary a[aria-current="page"] { color: var(--teal); }

/* Service shortcuts — quieter, one step down the hierarchy */
.drawer-services a {
  display: block; font-weight: 700; font-size: 0.98rem; color: var(--text);
  padding: 0.52rem 0; transition: color 0.2s ease, transform 0.2s ease;
}
.drawer-services a:hover { color: var(--teal); transform: translateX(6px); }

.drawer-tel {
  display: block; font-family: var(--font-display); font-size: 1.45rem;
  color: var(--ink); transition: color 0.2s ease;
}
.drawer-tel:hover { color: var(--teal); }
.drawer-mail { display: block; margin-top: 0.35rem; color: var(--text); font-weight: 700; }
.drawer-mail:hover { color: var(--teal); }
.drawer-hours { margin: 0.6rem 0 0; color: var(--text-mute); font-size: 0.92rem; }

.drawer-cta { margin-top: 2rem; }

/* Deep links from the drawer clear the sticky header */
.svc-item { scroll-margin-top: 96px; }

body.drawer-locked { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .drawer, .drawer-backdrop { transition: none; }
  .drawer-primary a:hover, .drawer-services a:hover { transform: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: clamp(640px, 94vh, 940px);
  display: flex; align-items: center; color: #fff; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
/* Oversized + vertically centered so the parallax shift never exposes a gap above/below. */
.hero-bg img, .hero-video { position: absolute; top: -15%; left: 0; width: 100%; height: 130%; object-fit: cover; object-position: center 35%; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(18,18,18,0.55) 0%, rgba(18,18,18,0.25) 45%, rgba(18,18,18,0.78) 100%),
    radial-gradient(120% 90% at 30% 40%, rgba(18,18,18,0.15), rgba(18,18,18,0.6));
}
.hero-content { position: relative; z-index: 2; padding-block: 7rem 9rem; max-width: 940px; }
.hero-title { font-size: clamp(2.7rem, 7vw, 6rem); text-shadow: 0 2px 30px rgba(0,0,0,0.4); }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.35rem); max-width: 40ch; margin: 1.4rem 0 2.2rem; color: rgba(255,255,255,0.92); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 2; line-height: 0; }
.hero-wave svg { width: 100%; height: clamp(50px, 8vw, 110px); display: block; }

/* ============================================================
   SHARED SECTION BITS
   ============================================================ */
.eyebrow {
  display: flex; align-items: center; gap: 0.75rem;
  font-family: var(--font-display); font-size: 0.85rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink); margin: 0 0 1.1rem;
}
.section-dark .eyebrow, .contact .eyebrow { color: #fff; }
.eyebrow-center { justify-content: center; }
.eyebrow-dash { width: 34px; height: 3px; background: var(--teal); flex: none; }
.section-dark .eyebrow-dash, .legal-hero .eyebrow-dash { background: var(--lime); }
.section-title { font-size: clamp(2rem, 4.6vw, 3.6rem); letter-spacing: 0.01em; }

.centered-head { text-align: center; max-width: 820px; margin: 0 auto clamp(2.5rem, 5vw, 4rem); }
.centered-head .section-title { margin-inline: auto; }

.section-dark { background: var(--ink); color: #fff; position: relative; }
.section-dark .section-title, .section-dark h3 { color: #fff; }
.section-cream { background: var(--cream); }

/* leaf pattern overlay */
.pattern::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: url("img/features-pattern.png") center / 760px repeat;
  opacity: 0.16; pointer-events: none;
}
.pattern > .container { position: relative; z-index: 1; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.about-body p { color: var(--text-mute); font-size: 1.05rem; max-width: 60ch; }

.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  margin-top: clamp(2rem, 4vw, 2.8rem); padding-top: clamp(1.6rem, 3vw, 2.2rem);
  border-top: 1px solid var(--line);
}
.stat { display: flex; flex-direction: column; gap: 0.2rem; }
.stat-num { font-size: clamp(1.7rem, 3vw, 2.1rem); color: var(--teal); line-height: 1; }
.stat-label { font-weight: 500; font-size: 0.9rem; letter-spacing: 0.02em; color: var(--ink); }

/* ============================================================
   SERVICES
   ============================================================ */
.services { padding-block: clamp(6rem, 11vw, 11rem) clamp(5.5rem, 10vw, 10rem); }
/* Deck breaks past the 1240px site container: cards run up to 2200px wide on large/4K screens */
.services .container { max-width: calc(2200px + 2 * clamp(1.25rem, 4vw, 2.5rem)); }

/* Sticky card deck: cards pin below the 76px header (staggered so the deck
   edges peek) while the next card scrolls up and covers the previous one.
   GSAP scales/dims the covered card; the CSS works standalone without JS. */
.services-stack { --stack-top: calc(76px + clamp(1rem, 3vh, 2rem)); display: grid; gap: clamp(3rem, 12vh, 8rem); }
.stack-card {
  position: sticky; top: var(--stack-top);
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: stretch;
  /* Large cards at ~78% of the viewport: big presence, with room to see the next card coming */
  min-height: 78vh;
  min-height: 78svh;
  background: var(--ink-card); border: 1px solid rgba(255,255,255,0.1);
  border-radius: calc(var(--radius-lg) + 8px); overflow: hidden;
  box-shadow: 0 -16px 44px rgba(0, 0, 0, 0.45);
  will-change: transform;
}
.stack-card:nth-child(2) { top: calc(var(--stack-top) + 18px); }
.stack-card:nth-child(3) { top: calc(var(--stack-top) + 36px); }
.stack-card.reverse { grid-template-columns: 1fr 1.05fr; }
.stack-card.reverse .stack-media { order: 2; }
.stack-media { overflow: hidden; }
.stack-media img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; }
.stack-body { padding: clamp(1.8rem, 4vw, 3.6rem); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.stack-body h3 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); margin-bottom: 1rem; }
.service-tag { color: var(--lime); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.82rem; margin: 0 0 1.1rem; }
.stack-lead { color: rgba(255,255,255,0.85); font-size: clamp(1.02rem, 1.15vw, 1.15rem); line-height: 1.7; max-width: 52ch; margin: 0 0 1.6rem; }
/* Hairline splits pitch from proof: lead copy above, scannable benefits below */
.stack-benefits {
  list-style: none; margin: 0 0 2rem; padding: 1.5rem 0 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: grid; gap: 0.85rem; align-self: stretch; max-width: 52ch;
}
.stack-benefits li { display: flex; align-items: center; gap: 0.75rem; font-weight: 700; color: var(--white); font-size: 0.98rem; }
.stack-check { width: 22px; height: 22px; border-radius: 50%; background: var(--lime); flex: none; position: relative; }
.stack-check::after {
  content: ""; position: absolute; left: 7px; top: 4px; width: 5px; height: 10px;
  border: solid var(--ink); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}
.stack-link {
  display: inline-flex; align-items: center; gap: 0.6rem;
  color: var(--lime); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.88rem;
}
.stack-link-arrow {
  width: 8px; height: 8px; border-right: 2.5px solid currentColor; border-top: 2.5px solid currentColor;
  transform: rotate(45deg); transition: transform 0.3s ease; flex: none;
}
.stack-link:hover .stack-link-arrow, .stack-link:focus-visible .stack-link-arrow { transform: translateX(5px) rotate(45deg); }

/* 4K / very large screens: scale card type and padding up with the 2200px cards */
@media (min-width: 2000px) {
  .stack-body { padding: 6rem; }
  .stack-body h3 { font-size: 4rem; margin-bottom: 1.4rem; }
  .stack-lead { font-size: 1.45rem; max-width: 56ch; margin-bottom: 2.2rem; }
  .stack-benefits { padding-top: 2.2rem; margin-bottom: 2.8rem; gap: 1.2rem; }
  .stack-benefits li { font-size: 1.25rem; }
  .stack-check { width: 30px; height: 30px; }
  .stack-check::after { left: 10px; top: 5px; width: 7px; height: 14px; }
  .stack-link { font-size: 1.1rem; }
}
.services-cta { text-align: center; margin-top: clamp(1rem, 3vw, 2rem); }

/* ============================================================
   WHY
   ============================================================ */
.why-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: stretch; }
.why-lead { color: var(--text-mute); margin: 1.4rem 0 1.8rem; max-width: 52ch; }
.check-list { list-style: none; margin: 0 0 2.2rem; padding: 0; display: grid; gap: 0.9rem; }
.check-list li { display: flex; align-items: center; gap: 0.75rem; font-weight: 700; color: var(--ink); }
.check {
  width: 24px; height: 24px; border-radius: 50%; background: var(--teal); flex: none; position: relative;
}
.check::after {
  content: ""; position: absolute; left: 8px; top: 4px; width: 6px; height: 11px;
  border-right: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: rotate(45deg);
}
.why-media { border-radius: var(--radius-lg); overflow: hidden; }
.why-media img { width: 100%; height: 100%; min-height: 540px; object-fit: cover; }

/* ============================================================
   REVIEWS (bento)
   ============================================================ */
.rating-row { display: flex; align-items: center; justify-content: center; gap: 4px; margin-top: 1.2rem; }
.rev-badge { width: 38px; height: 38px; }

.reviews-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 1.25rem;
}
.review-card, .stat-card {
  margin: 0; border-radius: var(--radius-lg); padding: clamp(1.5rem, 2.6vw, 2.1rem);
  display: flex; flex-direction: column; gap: 0.9rem; min-height: 250px; height: 100%;
}
.review-card { background: var(--ink); color: #fff; justify-content: space-between; }
.stars { color: var(--lime); letter-spacing: 0.15em; font-size: 1.2rem; }
.review-card blockquote { margin: 0; font-size: 1.02rem; line-height: 1.5; color: rgba(255,255,255,0.9); }
.reviewer { display: flex; align-items: center; gap: 0.75rem; font-weight: 700; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%; background: var(--teal); flex: none;
  display: grid; place-items: center; font-family: var(--font-display); font-size: 0.85rem; color: #fff;
}
.stat-card { position: relative; gap: 0.35rem; }
.stat-card-light { background: #fff; box-shadow: 0 14px 40px rgba(18,18,18,0.08); justify-content: flex-end; }
.stat-card-green { background: var(--teal); color: #fff; justify-content: flex-end; }
.stat-card .stat-num { font-size: clamp(2.6rem, 5vw, 3.6rem); }
.stat-card-green .stat-num { color: #fff; }
.stat-card .stat-label { max-width: 16ch; }
.stat-card-green .stat-label { color: rgba(255,255,255,0.92); }
.stat-ico { position: absolute; opacity: 0.95; width: 78px; height: 78px; right: 1.3rem; top: 1.3rem; }
.stat-card-green .stat-ico path { fill: rgba(255,255,255,0.92); }

/* ============================================================
   PROJECTS
   ============================================================ */
.projects-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem;
  flex-wrap: wrap; margin-bottom: clamp(2rem, 4vw, 3rem);
}
.projects-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem;
  max-width: min(1680px, 95vw); margin-inline: auto; padding-inline: clamp(1rem, 2.5vw, 2rem);
}
.project-tile { margin: 0; overflow: hidden; aspect-ratio: 3 / 4.3; border-radius: var(--radius-lg); }
.project-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.16,1,0.3,1); }
.project-tile:hover img { transform: scale(1.07); }

/* ============================================================
   SERVICE MAP
   ============================================================ */
.map-wrap { position: relative; overflow: hidden; min-height: clamp(480px, 64vh, 680px); background: var(--cream); }
.map-fallback { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.2); transition: opacity 0.6s ease; }
.map-canvas { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; }
.map-canvas .leaflet-container { background: var(--cream); font-family: var(--font-body); }

/* Green service-area POI dots (Leaflet divIcon) */
.poi-icon { background: transparent; border: 0; }
.area-poi {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--teal); border: 3px solid #fff; cursor: pointer;
  box-shadow: 0 2px 8px rgba(18,18,18,0.35); position: relative;
}
.area-poi::after {
  content: ""; position: absolute; inset: -3px; border-radius: 50%;
  border: 2px solid rgba(21,122,90,0.6); animation: poiPulse 2.4s ease-out infinite;
}
@keyframes poiPulse { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(2.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .area-poi::after { animation: none; } }

/* Brand-styled map popups */
.leaflet-popup-content { font-family: var(--font-body); margin: 0.55rem 0.85rem; line-height: 1.4; }
.leaflet-popup-content strong { font-family: var(--font-display); font-weight: 400; color: var(--teal); letter-spacing: 0.01em; }
.leaflet-popup-content-wrapper { border-radius: 8px; box-shadow: 0 6px 20px rgba(18,18,18,0.2); }
.leaflet-control-attribution { font-size: 10px; }
/* Light edge vignette for legibility, never blocks map interaction */
.map-fade {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(247,244,237,0) 50%, rgba(247,244,237,0.5) 80%, rgba(247,244,237,0.9) 100%),
    linear-gradient(180deg, rgba(247,244,237,0.6) 0%, rgba(247,244,237,0) 14%, rgba(247,244,237,0) 86%, rgba(247,244,237,0.6) 100%);
}
.map-inner {
  position: relative; z-index: 3; display: flex; justify-content: flex-end;
  padding-block: clamp(2rem, 4vw, 3.5rem); pointer-events: none; min-height: inherit; align-items: center;
}
.area-card { pointer-events: auto; }
.area-card {
  background: #f7f4edf2; backdrop-filter: blur(6px);
  border-radius: var(--radius-lg); padding: clamp(1.8rem, 3vw, 2.6rem);
  width: min(420px, 100%); box-shadow: 0 20px 60px rgba(18,18,18,0.16);
}
.area-card h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--ink); margin-bottom: 0.6rem; }
.area-card > p { color: var(--text-mute); margin: 0 0 1.5rem; }
.area-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.area-btn {
  display: block; width: 100%; text-align: center; background: #fff; color: var(--ink); cursor: pointer;
  font-family: var(--font-display); font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.85rem 1rem; border-radius: var(--radius); border: 1px solid var(--line);
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.area-btn:hover { transform: translateY(-2px); background: var(--cream); }
.area-btn-active { background: var(--teal-btn); color: #fff; border-color: var(--teal-btn); }
.area-btn-active:hover { background: var(--teal-btn-hover); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact-lead { color: rgba(255,255,255,0.78); margin: 1.3rem 0 2rem; max-width: 44ch; }
.contact-card {
  display: flex; align-items: center; gap: 1.1rem;
  background: var(--teal-btn); border-radius: var(--radius); padding: 1rem 1.4rem; margin-bottom: 1rem;
  transition: transform 0.18s ease, background 0.2s ease;
}
a.contact-card:hover { transform: translateY(-2px); background: var(--teal-btn-hover); }
.contact-card-static { cursor: default; }
.contact-ico { width: 48px; height: 48px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; flex: none; }
.contact-ico svg { width: 22px; height: 22px; }
.contact-ico svg path { fill: var(--ink); }
.contact-text { display: flex; flex-direction: column; line-height: 1.3; }
.contact-kicker { font-family: var(--font-display); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lime); }
.contact-value { font-weight: 700; font-size: 1.05rem; color: #fff; }

.contact-form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 700; font-size: 0.9rem; color: rgba(255,255,255,0.92); }
.req { color: var(--lime); margin-left: 2px; }
.field input, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: var(--cream); border: 2px solid transparent; border-radius: var(--radius);
  padding: 0.9rem 1rem; width: 100%; transition: border-color 0.2s ease, background 0.2s ease;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--lime); background: #fff; }
.field textarea { resize: vertical; min-height: 130px; }
.hp-field { position: absolute; left: -9999px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.faq-lead { color: var(--text-mute); margin: 1.3rem 0 2rem; max-width: 36ch; }
.faq-list { display: grid; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: none; border: 0; cursor: pointer; text-align: left;
  font-size: clamp(1rem, 1.8vw, 1.2rem); color: var(--ink); padding: 1.4rem 0; letter-spacing: 0.02em;
}
.faq-arrow { width: 14px; height: 14px; border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(45deg); transition: transform 0.3s ease; flex: none; margin-top: -4px; }
.faq-q[aria-expanded="true"] .faq-arrow { transform: rotate(-135deg); margin-top: 4px; }
.faq-q[aria-expanded="true"] { color: var(--teal); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height 0.35s ease; }
.faq-a p { margin: 0 0 1.4rem; color: var(--text-mute); max-width: 60ch; }

/* ============================================================
   CTA BAR
   ============================================================ */
.cta-bar { background: var(--teal); color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding-block: clamp(2.2rem, 4vw, 3.2rem); }
.cta-text { display: flex; flex-direction: column; margin: 0; }
.cta-ready { font-size: 1.1rem; opacity: 0.9; }
.cta-big { font-size: clamp(1.8rem, 4vw, 3rem); letter-spacing: 0.03em; }
.cta-phone { display: inline-flex; align-items: center; gap: 0.7rem; font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
.cta-phone svg { width: 0.8em; height: 0.8em; fill: currentColor; }
.cta-phone:hover { opacity: 0.88; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.8); padding-top: clamp(3rem, 5vw, 4rem); }
.footer-grid {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
  padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand img { height: 46px; width: auto; }
.footer-center { text-align: center; display: grid; gap: 0.9rem; justify-items: center; }
.footer-name { font-weight: 700; color: #fff; margin: 0; letter-spacing: 0.03em; }
.social { display: flex; gap: 1rem; list-style: none; margin: 0; padding: 0; }
.social a { width: 22px; height: 22px; display: grid; place-items: center; color: rgba(255,255,255,0.85); transition: color 0.2s ease, transform 0.2s ease; }
.social svg { width: 18px; height: 18px; }
.social a:hover { color: var(--lime); transform: translateY(-2px); }
.footer-license { margin: 0; font-size: 0.85rem; line-height: 1.4; }
.footer-license strong { color: #fff; }
.footer-contact { display: grid; gap: 0.4rem; justify-items: end; text-align: right; }
.footer-contact a:hover { color: var(--lime); }

.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1.6rem; }
.copyright { margin: 0; font-size: 0.85rem; }
.footer-legal { display: flex; gap: 1.5rem; flex-wrap: wrap; font-size: 0.85rem; }
.footer-legal a { position: relative; }
.footer-legal a:hover { color: var(--lime); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); }
.reveal.is-in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .about-grid, .why-grid, .contact-grid, .faq-grid { grid-template-columns: 1fr; }
  .why-media { order: -1; }
  .why-media img { min-height: 360px; }
  .reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .projects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {

  .stack-card, .stack-card.reverse { grid-template-columns: 1fr; min-height: 0; }
  /* No deck-peek stagger on phones: every card pins at the same offset so the tallest still fits */
  .services-stack { --stack-top: calc(76px + 0.75rem); }
  .stack-card:nth-child(2), .stack-card:nth-child(3) { top: var(--stack-top); }
  .stack-card.reverse .stack-media { order: 0; }
  .stack-media img { height: 220px; min-height: 0; }
  .stack-body { padding-block: 1.8rem 2.2rem; }
  .stats { grid-template-columns: 1fr; gap: 1.6rem; text-align: left; }
  .projects-head { align-items: flex-start; }
  .cta-inner { justify-content: center; text-align: center; }
  .cta-text { align-items: center; }

  /* Map: stack the live map above the area card so the card never blocks interaction */
  .map-wrap { min-height: 0; display: block; }
  .map-canvas { position: relative; height: 340px; z-index: 1; }
  .map-fallback { height: 340px; bottom: auto; }
  .map-fade { display: none; }
  .map-inner { position: static; display: block; padding: 1.4rem 0 0; pointer-events: auto; }
  .area-card { width: 100%; }
}

@media (max-width: 540px) {
  .reviews-grid, .projects-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .footer-contact { justify-items: center; text-align: center; }
  .footer-bottom { justify-content: center; text-align: center; }
  .hero-content { padding-block: 5rem 7rem; }
}

/* ============================================================
   INNER-PAGE STYLES (Services / About / Gallery / Contact)
   ============================================================ */

/* Active nav state for the current page */
.nav-menu a[aria-current="page"]:not(.btn) { color: var(--teal); }
.nav-menu a[aria-current="page"]:not(.btn)::after { width: 100%; }

/* ---------- Shared inner-page hero ---------- */
.page-hero {
  position: relative; background: var(--ink); color: #fff; overflow: hidden;
  text-align: center;
  padding-block: clamp(4.5rem, 11vw, 9rem) clamp(6rem, 13vw, 11rem);
}
.page-hero .container { position: relative; z-index: 1; max-width: 900px; }
.page-hero .eyebrow { color: #fff; }
.page-hero .eyebrow-dash { background: var(--lime); }
.page-hero-title { font-size: clamp(2.2rem, 5.6vw, 4.6rem); text-shadow: 0 2px 30px rgba(0,0,0,0.35); }
.page-hero-sub { font-size: clamp(1.02rem, 1.9vw, 1.3rem); color: rgba(255,255,255,0.82); max-width: 60ch; margin: 1.3rem auto 0; }
.page-hero .hero-wave svg path { fill: var(--cream); }
.page-hero-light .hero-wave svg path { fill: var(--white); }
.page-hero .hero-wave { bottom: -1px; }
/* Interior pages: the page-hero wave fills cream, so the quick-estimate directly below it
   must also be cream to avoid a seam. The light page-hero (gallery) fills white, so its
   quick-estimate stays white. The homepage quick-estimate follows .hero, so it is unaffected. */
.page-hero:not(.page-hero-light) + .quick-estimate { background: var(--cream); }

/* ---------- Services page ---------- */
.svc-list { background: var(--cream); }
.svc-item {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center; padding-block: clamp(2.5rem, 5vw, 4rem);
}
.svc-item + .svc-item { border-top: 1px solid var(--line); }
.svc-item.reverse .svc-media { order: 2; }
.svc-media { border-radius: var(--radius-lg); overflow: hidden; }
.svc-media img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; transition: transform 0.8s cubic-bezier(0.16,1,0.3,1); }
.svc-item:hover .svc-media img { transform: scale(1.05); }
.svc-copy h3 { font-family: var(--font-display); font-weight: 400; color: var(--ink); font-size: clamp(1.5rem, 3vw, 2.3rem); letter-spacing: 0.01em; }
.svc-copy .service-tag { color: var(--teal); margin: 0.55rem 0 1.1rem; }
.svc-copy > p { color: var(--text-mute); max-width: 56ch; }
.whatwedo-head {
  font-family: var(--font-display); font-weight: 400; color: var(--ink);
  font-size: 1.15rem; letter-spacing: 0.04em; text-transform: uppercase;
  margin: 1.8rem 0 1rem; padding-bottom: 0.7rem; border-bottom: 1px solid var(--line);
}
.whatwedo-list {
  list-style: none; margin: 0 0 1.8rem; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem 1.6rem;
}
.whatwedo-list li { display: flex; align-items: flex-start; gap: 0.6rem; font-weight: 700; color: var(--ink); font-size: 0.95rem; }
.whatwedo-list .check { width: 18px; height: 18px; margin-top: 2px; }
.whatwedo-list .check::after { left: 6px; top: 3px; width: 4px; height: 8px; border-right-width: 2px; border-bottom-width: 2px; }

/* ---------- About page bands ---------- */
.about-intro .about-grid { grid-template-columns: 1.05fr 0.95fr; }
.about-intro .about-media { border-radius: var(--radius-lg); overflow: hidden; }
.about-intro .about-media img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }

.banner-photo {
  position: relative; color: #fff; text-align: center; overflow: hidden;
  display: grid; place-items: center;
  padding-block: clamp(5rem, 11vw, 9rem);
}
.banner-photo-bg { position: absolute; inset: 0; z-index: 0; }
.banner-photo-bg img { width: 100%; height: 100%; object-fit: cover; }
.banner-photo::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(18,18,18,0.72), rgba(18,18,18,0.78));
}
.banner-photo .container { position: relative; z-index: 2; max-width: 820px; }
.banner-photo .section-title { color: #fff; }
.banner-photo p { color: rgba(255,255,255,0.85); margin: 1.2rem auto 0; max-width: 60ch; }

.banner-green { background: var(--teal); color: #fff; text-align: center; }
.banner-green .container { max-width: 820px; }
.banner-green .section-title { color: #fff; }
.banner-green p { color: rgba(255,255,255,0.92); margin: 1.2rem auto 0; max-width: 60ch; }

.values-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.values-grid .why-lead { color: var(--text-mute); margin: 1.4rem 0 0; }

/* ---------- Shared "not sure where to start" CTA ---------- */
.start-cta { text-align: center; }
.start-cta .container { max-width: 720px; }
.start-cta p { color: rgba(255,255,255,0.8); margin: 1.1rem auto 2rem; max-width: 50ch; }

/* ---------- Gallery page ---------- */
.gallery { background: var(--white); }
.gallery-filters {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.filter-btn {
  font-family: var(--font-display); font-weight: 400; font-size: 0.85rem;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 0.6rem 1.4rem; cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.filter-btn:hover { background: var(--cream); transform: translateY(-2px); }
.filter-btn.active { background: var(--teal-btn); color: #fff; border-color: var(--teal-btn); }
.filter-btn.active:hover { background: var(--teal-btn-hover); }
.gallery-tile.hide { display: none; }
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem;
  grid-auto-flow: dense;
}
.gallery-tile {
  margin: 0; position: relative; overflow: hidden; border-radius: var(--radius-lg);
  cursor: pointer; aspect-ratio: 4 / 3; background: var(--cream);
}
.gallery-tile.tall { grid-row: span 2; aspect-ratio: 4 / 5; }
.gallery-tile.wide { grid-column: span 2; aspect-ratio: 16 / 9; }
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.16,1,0.3,1); }
.gallery-tile:hover img, .gallery-tile:focus-visible img { transform: scale(1.06); }
.gallery-tile figcaption {
  position: absolute; inset: auto 0 0 0; z-index: 2;
  font-family: var(--font-display); letter-spacing: 0.02em; color: #fff;
  padding: 1.4rem 1.2rem 1rem; font-size: 1rem;
  background: linear-gradient(180deg, rgba(18,18,18,0), rgba(18,18,18,0.72));
  opacity: 0; transform: translateY(8px); transition: opacity 0.3s ease, transform 0.3s ease;
}
.gallery-tile:hover figcaption, .gallery-tile:focus-within figcaption { opacity: 1; transform: none; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: none;
  align-items: center; justify-content: center; padding: clamp(1rem, 4vw, 3rem);
  background: rgba(18,18,18,0.92); backdrop-filter: blur(4px);
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 86vh; border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.lightbox-close {
  position: absolute; top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem);
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,0.12); color: #fff; font-size: 1.5rem; line-height: 1;
  display: grid; place-items: center; transition: background 0.2s ease;
}
.lightbox-close:hover { background: rgba(255,255,255,0.25); }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,0.12); color: #fff; font-size: 1.6rem;
  display: grid; place-items: center; transition: background 0.2s ease;
}
.lightbox-nav:hover { background: rgba(255,255,255,0.25); }
.lightbox-prev { left: clamp(0.5rem, 3vw, 2rem); }
.lightbox-next { right: clamp(0.5rem, 3vw, 2rem); }

/* ---------- Contact page ---------- */
.contact-page { background: var(--cream); }
.contact-page .contact-split {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start;
}
.contact-page .contact-call h2 { color: var(--ink); }
.contact-page .contact-phone-big {
  display: block; font-family: var(--font-display); color: var(--teal);
  font-size: clamp(1.4rem, 3vw, 2rem); margin-top: 0.6rem; letter-spacing: 0.01em;
}
.contact-page .contact-phone-big span { color: var(--text-mute); font-size: 0.9rem; letter-spacing: 0.04em; }
.contact-page .contact-photo {
  margin-top: clamp(1.6rem, 3vw, 2.4rem);
  border-radius: 50%; overflow: hidden;
  width: min(460px, 95%); aspect-ratio: 1; box-shadow: 0 24px 60px rgba(18,18,18,0.18);
}
.contact-page .contact-photo img { width: 100%; height: 100%; object-fit: cover; }
.contact-page .contact-extra { display: grid; gap: 0.5rem; margin-top: 1.6rem; color: var(--text-mute); }
.contact-page .contact-extra a:hover { color: var(--teal); }
.contact-card-form {
  display: grid; gap: 1.1rem;
  background: #f7f4edf2; border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.6rem);
}
.contact-card-form .btn-block { margin-top: 0.6rem; }
.contact-card-form .field label { color: var(--ink); }
.contact-card-form .req { color: var(--teal); }
.contact-card-form .field input, .contact-card-form .field textarea {
  background: var(--cream); border-color: var(--line);
}
.contact-card-form .field input:focus, .contact-card-form .field textarea:focus { border-color: var(--teal); background: #fff; }

/* ---------- Inner-page responsive ---------- */
@media (max-width: 980px) {
  .svc-item, .svc-item.reverse, .values-grid, .contact-page .contact-split { grid-template-columns: 1fr; }
  .svc-item.reverse .svc-media { order: 0; }
  .about-intro .about-grid { grid-template-columns: 1fr; }
  .about-intro .about-media { order: -1; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-tile.wide { grid-column: span 2; }
}
@media (max-width: 600px) {
  .whatwedo-list { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-tile, .gallery-tile.tall, .gallery-tile.wide { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 3; }
  .contact-page .contact-photo { margin-inline: auto; }
}

/* ============================================================
   LEAD-CAPTURE ADD-ONS (Premium)
   Hero trust chips, quick-estimate card (overlaps hero wave), mobile sticky bar.
   Additive: new classes only. Re-skinned in the landscaping system so it stays
   distinct from the roofing theme. Does not touch existing components or
   Deluxe / Starter / interior pages.
   ============================================================ */

/* Hero trust chips */
.hero-trust { display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; margin-top: 1.9rem; padding: 0; list-style: none; }
.hero-trust li { display: inline-flex; align-items: center; gap: 0.5rem; color: #fff; font-weight: 700; font-size: 0.95rem; text-shadow: 0 1px 12px rgba(0,0,0,0.4); }
.hero-trust .ht-check { width: 22px; height: 22px; border-radius: 50%; background: var(--lime); flex: none; position: relative; }
.hero-trust .ht-check::after { content: ""; position: absolute; left: 7px; top: 4px; width: 5px; height: 10px; border: solid var(--ink); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }

/* Quick-estimate card, pulled up to overlap the hero wave */
.quick-estimate { position: relative; z-index: 3; margin-top: clamp(-90px, -7vw, -50px); margin-bottom: clamp(1rem, 3vw, 2.5rem); }
.qe-card {
  background: #fff; border-radius: var(--radius-lg); border-top: 5px solid var(--lime);
  box-shadow: 0 30px 60px -25px rgba(18,18,18,0.4);
  padding: clamp(1.4rem, 3vw, 2.3rem);
  display: grid; grid-template-columns: minmax(220px, 0.85fr) 1.4fr; gap: clamp(1.2rem, 3vw, 2.4rem); align-items: center;
}
.qe-head h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); color: var(--ink); line-height: 1.1; }
.qe-head p { margin: 0.55rem 0 0; color: var(--text-mute); font-size: 0.95rem; }
.qe-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.8rem; }
.qe-fields .field label { color: var(--ink); }            /* override the dark-section white label */
.qe-fields .req { color: var(--teal); }                    /* lime is low-contrast on the white card */
.qe-fields .field select {
  width: 100%; font: inherit; padding: 0.8rem 0.9rem; background: var(--cream);
  border: 2px solid transparent; border-radius: var(--radius); color: var(--text);
}
.qe-fields .field input:focus, .qe-fields .field select:focus { outline: none; border-color: var(--teal); background: #fff; }
.qe-fields .qe-span { grid-column: 1 / -1; }
.qe-fields .btn { grid-column: 1 / -1; }
.qe-note { grid-column: 1 / -1; margin: 0.2rem 0 0; font-size: 0.8rem; color: var(--text-mute); text-align: center; }

@media (max-width: 860px) {
  .qe-card { grid-template-columns: 1fr; }
  .quick-estimate { margin-top: clamp(-60px, -9vw, -36px); }
}
@media (max-width: 460px) {
  .qe-fields { grid-template-columns: 1fr; }
}

/* Mobile sticky call / estimate bar */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar {
    display: flex; gap: 0.5rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
    background: var(--ink); padding: 0.55rem; box-shadow: 0 -10px 30px -12px rgba(0,0,0,0.5);
  }
  .mobile-bar .btn { flex: 1; padding: 0.85rem 0.8rem; font-size: 0.85rem; }
  body { padding-bottom: 72px; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  /* No scroll-pinned deck: cards sit in normal flow as plain large cards */
  .stack-card { position: relative; top: 0 !important; transform: none !important; filter: none !important; }
}
/* ==========================================================================
   FORM SUCCESS (Netlify confirmation)
   The form redirects back to its own page with ?submitted=<form name>;
   main.js swaps the fields for this confirmation. See main.js.
   ========================================================================== */
form.is-submitted { opacity: 1 !important; transform: none !important; }
form.is-submitted > :not(.form-success) { display: none; }
.form-success { text-align: center; padding: clamp(1rem, 3vw, 2rem) 0.5rem; }
.form-success[hidden] { display: none; }
.form-success-ico {
  display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 1.1rem;
  border-radius: 50%; background: var(--lime); color: var(--teal);
  font-size: 1.6rem; font-weight: 700; line-height: 1;
}
.form-success-h {
  font-family: var(--font-display, inherit); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.06em; font-size: 1.3rem; margin: 0 0 0.6rem; color: var(--ink);
}
.form-success-body { color: var(--text, #2a2a2a); margin: 0 auto; max-width: 34ch; }
.form-success-body a { color: var(--teal); font-weight: 600; }
.form-success-body a:hover { text-decoration: underline; }

/* ============================================================
   SERVICE DETAIL PAGE (V1 — editorial band layout)
   Used by service-details.html and any per-service clones.
   Additive: new .sd-* / .breadcrumbs / .svc-details-link classes only.
   ============================================================ */

/* Breadcrumb trail inside the dark page hero */
.breadcrumbs { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.55rem; list-style: none; margin: 0 0 1.5rem; padding: 0; font-size: 0.85rem; color: rgba(255,255,255,0.65); }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 0.55rem; }
.breadcrumbs li + li::before { content: "/"; opacity: 0.45; }
.breadcrumbs a:hover, .breadcrumbs a:focus-visible { color: var(--lime); }
.breadcrumbs [aria-current="page"] { color: #fff; font-weight: 700; }

/* "Full Service Details" text link on the services list page */
.svc-details-link {
  display: inline-flex; align-items: center; gap: 0.55rem; margin-left: 1.4rem;
  color: var(--teal); font-weight: 700; font-size: 0.88rem; letter-spacing: 0.06em; text-transform: uppercase;
}
.svc-details-link .stack-link-arrow { border-color: currentColor; }
.svc-details-link:hover, .svc-details-link:focus-visible { color: var(--teal-btn-hover); }
.svc-details-link:hover .stack-link-arrow, .svc-details-link:focus-visible .stack-link-arrow { transform: translateX(5px) rotate(45deg); }

/* Overview band: long-form copy + photo with an at-a-glance facts card */
.sd-overview { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.sd-overview-copy > p { color: var(--text-mute); max-width: 58ch; }
.sd-overview-copy .section-title { margin-bottom: 1.2rem; }
.sd-side { display: grid; gap: 1.4rem; }
.sd-media { border-radius: var(--radius-lg); overflow: hidden; }
.sd-media img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }

.sd-facts {
  background: #fff; border-radius: var(--radius-lg); border-top: 5px solid var(--lime);
  box-shadow: 0 24px 50px -30px rgba(18,18,18,0.35);
  padding: clamp(1.4rem, 2.5vw, 1.9rem); margin: 0; display: grid; gap: 1.05rem;
}
.sd-facts-title {
  font-family: var(--font-display); font-weight: 400; font-size: 1.05rem; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--ink); margin: 0; padding-bottom: 0.65rem; border-bottom: 1px solid var(--line);
}
.sd-fact { display: grid; gap: 0.15rem; }
.sd-fact dt { font-family: var(--font-display); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal); }
.sd-fact dd { margin: 0; font-weight: 700; color: var(--ink); }

/* What's-included card grid */
.sd-includes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.sd-include { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem 1.6rem; }
.section-cream .sd-include { border-color: transparent; box-shadow: 0 14px 34px -22px rgba(18,18,18,0.25); }
.sd-include .check { margin-bottom: 0.85rem; }
.sd-include h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.05rem; letter-spacing: 0.02em; color: var(--ink); margin: 0 0 0.45rem; }
.sd-include p { margin: 0; color: var(--text-mute); font-size: 0.95rem; }

/* Benefits band (dark) */
.sd-benefits-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.sd-benefits-lead { color: rgba(255,255,255,0.8); max-width: 44ch; margin: 1.3rem 0 0; }
.sd-benefits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.6rem; }
.sd-benefits li { display: flex; align-items: flex-start; gap: 0.75rem; font-weight: 700; color: #fff; }
.sd-benefits .stack-check { margin-top: 1px; }

/* Numbered process steps */
.sd-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.4rem, 3vw, 2.2rem); counter-reset: sdstep; }
.sd-step { counter-increment: sdstep; border-top: 3px solid var(--lime); padding-top: 1.1rem; }
.sd-step::before {
  content: counter(sdstep, decimal-leading-zero);
  font-family: var(--font-display); font-size: 2rem; color: var(--teal); line-height: 1;
  display: block; margin-bottom: 0.55rem;
}
.sd-step h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.12rem; letter-spacing: 0.02em; margin-bottom: 0.4rem; }
.sd-step p { margin: 0; color: var(--text-mute); font-size: 0.95rem; }

/* Recent-work strip (3-up, links to the full gallery) */
.sd-projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.sd-projects .project-tile { aspect-ratio: 4 / 3; }

@media (max-width: 980px) {
  .sd-overview, .sd-benefits-grid { grid-template-columns: 1fr; }
  .sd-includes { grid-template-columns: repeat(2, 1fr); }
  .sd-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .sd-includes, .sd-benefits, .sd-steps, .sd-projects { grid-template-columns: 1fr; }
  .svc-details-link { margin-left: 0; margin-top: 1rem; display: flex; }
}
