/* ==========================================================================
   Great Lakes Landscaping — Production Design System
   Grounded architectural palette · Barlow Condensed + Barlow
   ========================================================================== */

:root {
  /* Core Palette: Deep Slate Charcoal, Forest Moss, Limestone, Warm Brass */
  --bg: #161816;
  --surface: #212421;
  --surface-alt: #2b2f2b;
  --ink: #efeeea;
  --muted: #b3b4ab;
  --accent: #c49b57;
  --accent-hover: #d4ad69;
  --accent-ink: #141614;
  --accent-dark: #705018;

  /* Chapter Colour Fields */
  --field-1: #e6e5df;
  --field-1-ink: #161816;
  --field-1-muted: #494c45;
  --field-2: #202d23;
  --field-2-ink: #efeeea;
  --field-2-muted: #b8c2b7;

  /* Typography */
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, sans-serif;

  /* Five-step Type Scale (floor 14px) */
  --step-small: clamp(0.875rem, 0.85rem + 0.12vw, 0.9375rem);
  --step-body: clamp(1.0625rem, 1rem + 0.2vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.15rem + 0.55vw, 1.5625rem);
  --step-title: clamp(1.875rem, 1.45rem + 1.8vw, 2.75rem);
  --step-head: clamp(2.5rem, 1.5rem + 4.2vw, 4.75rem);

  /* Layout Grid & Rhythm */
  --margin: clamp(1.25rem, 3vw, 2.5rem);
  --gutter: clamp(1rem, 1.8vw, 1.75rem);
  --section-gap: clamp(5rem, 9vw, 9rem);
  --radius: 0px;
  --radius-btn: 0px;

  /* Motion Tokens */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-ui: 260ms;
  --t-reveal: 420ms;
}

/* Base Reset & Browser Surface Theming */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  background-color: var(--bg);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-body);
  font-weight: 400;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

::selection {
  background-color: var(--accent);
  color: var(--accent-ink);
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--surface-alt);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

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

a {
  color: inherit;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.22em;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Layout Primitives */
.wrap {
  width: 100%;
  padding-inline: var(--margin);
}

.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
}

/* Typography Rules (2 lines or fewer on all headings) */
h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  font-size: var(--step-head);
}

h2 {
  font-size: var(--step-title);
}

h3 {
  font-size: var(--step-lead);
  line-height: 1.08;
}

p {
  margin: 0;
  max-width: 66ch;
  text-wrap: pretty;
}

.text-small {
  font-size: var(--step-small);
}

.text-lead {
  font-size: var(--step-lead);
  line-height: 1.3;
}

.tabular {
  font-variant-numeric: tabular-nums;
}

/* Buttons (Single crisp rectangular style) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.78rem 1.5rem;
  border: 0;
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-size: var(--step-small);
  font-weight: 600;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color var(--t-hover) ease,
    color var(--t-hover) ease,
    transform var(--t-press) var(--ease-out);
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background-color: var(--accent);
  color: var(--accent-ink);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
}

.btn-secondary {
  background-color: var(--ink);
  color: var(--bg);
}

.btn-secondary:hover {
  background-color: var(--field-1);
}

.btn-ghost-dark {
  background-color: var(--surface-alt);
  color: var(--ink);
}

.btn-ghost-dark:hover {
  background-color: var(--ink);
  color: var(--bg);
}

.btn-on-light {
  background-color: var(--bg);
  color: var(--ink);
}

.btn-on-light:hover {
  background-color: var(--accent);
  color: var(--accent-ink);
}

/* ==========================================================================
   Synchronized Header & Mobile Navigation Drawer
   ========================================================================== */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  width: 100%;
  z-index: 90;
  background-color: transparent;
  color: var(--ink);
  transition: background-color 260ms ease, box-shadow 260ms ease;
}

.site-header.is-scrolled {
  background-color: #000000;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.7); /* taste-skill-ignore */
}

.site-header--overlay {
  background-color: transparent;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gutter);
  min-height: 80px;
  padding-inline: var(--margin);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  object-fit: cover;
  background-color: var(--ink);
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-size: var(--step-lead);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--ink);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2vw, 1.85rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link,
.nav-dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0;
  background: none;
  border: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-small);
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: color var(--t-hover) ease;
}

.nav-link:hover,
.nav-link[aria-current="page"],
.nav-dropdown-btn:hover {
  color: var(--accent);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: -0.75rem;
  min-width: 260px;
  padding: 0.65rem;
  background-color: var(--surface-alt);
  color: var(--ink);
  list-style: none;
  margin: 0;
  display: none;
  z-index: 80;
}

.nav-item.is-open .nav-dropdown-menu,
.nav-item:focus-within .nav-dropdown-menu {
  display: block;
}

@media (hover: hover) {
  .nav-item:hover .nav-dropdown-menu {
    display: block;
  }
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.55rem 0.75rem;
  font-size: var(--step-small);
  font-weight: 500;
  text-decoration: none;
  transition: background-color var(--t-hover) ease, color var(--t-hover) ease;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a[aria-current="page"] {
  background-color: var(--surface-alt);
  color: var(--accent);
}

.header-cta {
  white-space: nowrap;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.4vw, 1.35rem);
}

.header-email {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: var(--step-small);
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  padding: 0.4rem 0.2rem;
  transition: color var(--t-hover) ease;
}

.header-email svg {
  color: var(--accent);
  flex-shrink: 0;
}

.header-email:hover {
  color: var(--accent);
}

.drawer-email-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: var(--step-small);
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding: 0.75rem 1rem;
  background-color: var(--surface);
  transition: color var(--t-hover) ease;
}

.drawer-email-link svg {
  color: var(--accent);
  flex-shrink: 0;
}

.drawer-email-link:hover {
  color: var(--accent);
}

.hamburger-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  background-color: var(--surface);
  color: var(--ink);
  border: 0;
  cursor: pointer;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  background-color: var(--bg);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem var(--margin) 2rem;
  overflow-y: auto;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 320ms var(--ease-expo), visibility 320ms;
}

.mobile-drawer.is-open {
  transform: translateX(0);
  visibility: visible;
}

.drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
}

.drawer-close {
  width: 48px;
  height: 48px;
  background-color: var(--surface);
  color: var(--ink);
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.drawer-nav {
  margin-block: 1.75rem;
  display: grid;
  gap: 1.25rem;
}

.drawer-main-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.drawer-main-links a {
  display: block;
  padding-block: 0.45rem;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.08;
  text-decoration: none;
}

.drawer-main-links a[aria-current="page"] {
  color: var(--accent);
}

.drawer-services-group {
  background-color: var(--surface);
  padding: 1rem 1.15rem;
}

.drawer-services-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.drawer-service-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.drawer-service-links a {
  display: block;
  padding-block: 0.35rem;
  font-size: var(--step-small);
  text-decoration: none;
}

.drawer-actions {
  display: grid;
  gap: 0.75rem;
}

.drawer-actions .btn {
  width: 100%;
}

@media (max-width: 1060px) {
  .nav-desktop {
    display: none;
  }

  .hamburger-btn {
    display: inline-flex;
  }
}

/* ==========================================================================
   Hero — "The place carries it" (View with two cards in the corner)
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 112px;
  padding-bottom: clamp(3rem, 5vw, 4.5rem);
  overflow: hidden;
  background-color: var(--bg);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 1500ms var(--ease-soft), transform 7000ms linear;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient( /* taste-skill-ignore */
    90deg,
    rgba(16, 18, 16, 0.86) 0%,
    rgba(16, 18, 16, 0.64) 48%,
    rgba(16, 18, 16, 0.25) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: 2rem;
  align-items: end;
}

.hero-copy {
  grid-column: 1 / 10;
  max-width: 660px;
  display: grid;
  gap: 1.25rem;
}

.hero-copy h1 {
  max-width: 16ch;
  color: var(--ink);
}

.hero-lead {
  max-width: 48ch;
  color: var(--ink);
  font-size: var(--step-lead);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.25rem;
  margin-top: 0.25rem;
}

.hero-link-alt {
  font-size: var(--step-small);
  font-weight: 600;
  color: var(--ink);
  padding: 0.5rem 0;
}

.hero-link-alt:hover {
  color: var(--accent);
}

.hero-corner-cards {
  grid-column: 8 / 13;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.corner-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background-color: var(--field-1);
  color: var(--field-1-ink);
  transition: transform var(--t-ui) var(--ease-out);
}

.corner-card:hover {
  transform: translateY(-4px);
}

.corner-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.corner-card-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.7rem 0.85rem;
  font-size: var(--step-small);
  font-weight: 600;
  line-height: 1.2;
}

@media (max-width: 1024px) {
  .hero-copy {
    grid-column: 1 / 9;
  }

  .hero-corner-cards {
    grid-column: 1 / 13;
    max-width: 520px;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 100svh;
    min-height: 100dvh;
    padding-top: 96px;
    padding-bottom: 2.25rem;
  }

  .hero-scrim {
    background: linear-gradient( /* taste-skill-ignore */
      180deg,
      rgba(16, 18, 16, 0.45) 0%,
      rgba(16, 18, 16, 0.84) 52%,
      rgba(16, 18, 16, 0.94) 100%
    );
  }

  .hero-copy {
    grid-column: 1 / -1;
  }

  .hero-corner-cards {
    grid-column: 1 / -1;
  }
}

/* ==========================================================================
   Trust Band (Architectural Strip — No clip-art cards)
   ========================================================================== */
.trust-band {
  background-color: var(--surface);
  color: var(--ink);
  padding-block: 1.5rem;
}

.trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem var(--gutter);
}

.trust-item {
  display: grid;
  gap: 0.2rem;
}

.trust-value {
  font-family: var(--font-display);
  font-size: var(--step-lead);
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink);
}

.trust-label {
  font-size: var(--step-small);
  color: var(--muted);
}

@media (max-width: 820px) {
  .trust-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ==========================================================================
   Section 1: Intro — Split Right-half Statement + Crew Paver Photo
   ========================================================================== */
.section-intro {
  background-color: var(--field-1);
  color: var(--field-1-ink);
  padding-block: var(--section-gap);
}

.intro-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: 2.5rem;
  align-items: start;
}

.intro-media-col {
  grid-column: 1 / 5;
  display: grid;
  gap: 1.25rem;
}

.intro-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 20%;
}

.intro-note {
  font-size: var(--step-small);
  color: var(--field-1-muted);
  max-width: 34ch;
}

.intro-copy-col {
  grid-column: 6 / 13;
  display: grid;
  gap: 1.5rem;
  padding-top: clamp(0rem, 4vw, 3.5rem);
}

.intro-copy-col h2 {
  max-width: 16ch;
}

.intro-statement {
  font-size: var(--step-lead);
  line-height: 1.38;
  max-width: 44ch;
}

.intro-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 2rem;
  margin-top: 0.75rem;
}

.intro-fact strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--step-lead);
  font-weight: 700;
}

.intro-fact span {
  font-size: var(--step-small);
  color: var(--field-1-muted);
}

@media (max-width: 820px) {
  .intro-media-col,
  .intro-copy-col {
    grid-column: 1 / -1;
  }

  .intro-photo {
    aspect-ratio: 4 / 3;
  }
}

/* ==========================================================================
   Section 2: Services Architectural Showcase (Asymmetric Alternating Plates)
   ========================================================================== */
.section-services {
  background-color: var(--bg);
  color: var(--ink);
  padding-block: var(--section-gap);
}

.section-header-split {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: 1rem;
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.section-header-split h2 {
  grid-column: 1 / 7;
  max-width: 15ch;
}

.section-header-split p {
  grid-column: 7 / 13;
  color: var(--muted);
}

.service-plates {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
}

.service-plate {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  background-color: var(--surface);
  align-items: stretch;
}

.service-plate-media {
  grid-column: 1 / 8;
  overflow: hidden;
}

.service-plate:nth-child(even) .service-plate-media {
  grid-column: 6 / 13;
  order: 2;
}

.service-plate-media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  max-height: 480px;
  object-fit: cover;
  transition: transform 650ms var(--ease-soft);
}

.service-plate:hover .service-plate-media img {
  transform: scale(1.03);
}

.service-plate-body {
  grid-column: 8 / 13;
  padding: clamp(1.75rem, 3.2vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
}

.service-plate:nth-child(even) .service-plate-body {
  grid-column: 1 / 6;
  order: 1;
}

.service-plate-copy {
  display: grid;
  gap: 0.9rem;
}

.service-plate-scope {
  font-size: var(--step-small);
  font-weight: 600;
  color: var(--accent);
}

.service-plate-desc {
  color: var(--muted);
}

.service-plate-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.5rem;
}

@media (max-width: 900px) {
  .section-header-split h2,
  .section-header-split p,
  .service-plate-media,
  .service-plate-body,
  .service-plate:nth-child(even) .service-plate-media,
  .service-plate:nth-child(even) .service-plate-body {
    grid-column: 1 / -1;
    order: unset;
  }

  .service-plate-media img {
    min-height: 240px;
    max-height: 320px;
  }
}

/* ==========================================================================
   Section 3: Recent Projects & Before/After Gallery
   ========================================================================== */
.section-projects {
  background-color: var(--field-2);
  color: var(--field-2-ink);
  padding-block: var(--section-gap);
}

.projects-triptych {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: var(--gutter);
  align-items: end;
}

.project-frame {
  display: grid;
  gap: 0.75rem;
}

.project-frame img {
  width: 100%;
  object-fit: cover;
}

.project-frame--tall img {
  aspect-ratio: 4 / 5;
}

.project-frame--wide img {
  aspect-ratio: 4 / 3;
}

.project-caption {
  font-size: var(--step-small);
  color: var(--field-2-muted);
}

.project-caption strong {
  color: var(--field-2-ink);
  font-weight: 600;
}

.before-after-strip {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gutter);
}

.ba-figure {
  margin: 0;
  background-color: var(--bg);
  padding: 1rem;
  display: grid;
  gap: 0.75rem;
}

.ba-figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.ba-figure figcaption {
  font-size: var(--step-small);
  color: var(--muted);
}

@media (max-width: 820px) {
  .projects-triptych,
  .before-after-strip {
    grid-template-columns: 1fr;
  }

  .project-frame--tall img {
    aspect-ratio: 4 / 3;
  }
}

/* ==========================================================================
   Section 4: Verified Customer Reviews (Asymmetric Portrait + Quotation)
   ========================================================================== */
.section-reviews-home {
  background-color: var(--bg);
  color: var(--ink);
  padding-block: var(--section-gap);
}

.review-feature-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: 2.5rem;
  align-items: center;
}

.review-feature-photo {
  grid-column: 1 / 6;
}

.review-feature-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.review-feature-quote {
  grid-column: 7 / 13;
  display: grid;
  gap: 1.5rem;
}

.review-stars {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--accent);
}

.review-blockquote {
  margin: 0;
  font-size: var(--step-lead);
  line-height: 1.38;
  max-width: 38ch;
  color: var(--ink);
}

.review-attribution {
  font-size: var(--step-small);
  color: var(--muted);
}

.review-attribution strong {
  color: var(--ink);
  font-weight: 600;
}

.review-wall-row {
  margin-top: clamp(3rem, 5vw, 4.5rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gutter);
}

.review-panel {
  background-color: var(--surface);
  padding: clamp(1.5rem, 2.4vw, 2rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
}

.review-panel p {
  font-size: var(--step-body);
  color: var(--ink);
}

@media (max-width: 900px) {
  .review-feature-photo,
  .review-feature-quote {
    grid-column: 1 / -1;
  }

  .review-feature-photo img {
    aspect-ratio: 4 / 3;
  }

  .review-wall-row {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Section 5: Interactive Four-County Scope Builder + Quote Form
   ========================================================================== */
.section-quote {
  background-color: var(--field-1);
  color: var(--field-1-ink);
  padding-block: var(--section-gap);
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: 2.5rem;
  align-items: start;
}

.scope-builder {
  grid-column: 1 / 6;
  background-color: #dad9d3;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: grid;
  gap: 1.5rem;
}

.scope-group {
  display: grid;
  gap: 0.6rem;
}

.scope-label {
  font-size: var(--step-small);
  font-weight: 600;
  color: var(--field-1-ink);
}

.scope-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.scope-chip {
  min-height: 44px;
  padding: 0.5rem 0.9rem;
  border: 0;
  background-color: var(--field-1);
  color: var(--field-1-ink);
  font-family: var(--font-body);
  font-size: var(--step-small);
  font-weight: 500;
  cursor: pointer;
  transition: background-color var(--t-hover) ease, color var(--t-hover) ease;
}

.scope-chip[aria-pressed="true"] {
  background-color: var(--bg);
  color: var(--ink);
}

.scope-readout {
  background-color: var(--bg);
  color: var(--ink);
  padding: 1.25rem;
  display: grid;
  gap: 0.5rem;
}

.scope-readout-title {
  font-family: var(--font-display);
  font-size: var(--step-lead);
  font-weight: 700;
  line-height: 1.15;
  color: var(--accent);
}

.scope-readout-copy {
  font-size: var(--step-small);
  color: var(--muted);
}

.quote-form-wrap {
  grid-column: 7 / 13;
  display: grid;
  gap: 1.5rem;
}

.quote-form {
  display: grid;
  gap: 1.15rem;
}

.form-row-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-field {
  display: grid;
  gap: 0.4rem;
}

.form-field label {
  font-size: var(--step-small);
  font-weight: 600;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.9rem;
  border: 0;
  border-radius: 0;
  background-color: #ffffff;
  color: #161816;
  font-family: var(--font-body);
  font-size: var(--step-body);
}

.section-quote.section-dark-form {
  background-color: var(--bg);
  color: var(--ink);
}

.section-dark-form .scope-builder {
  background-color: var(--surface);
  color: var(--ink);
}

.contact-card-stack {
  display: grid;
  gap: 1rem;
}

.contact-card {
  background-color: var(--surface-alt);
  color: var(--ink);
  padding: 1.15rem 1.25rem;
  display: grid;
  gap: 0.35rem;
}

.contact-card strong {
  font-family: var(--font-display);
  font-size: var(--step-lead);
  color: var(--ink);
}

.contact-card span {
  font-size: var(--step-small);
  color: var(--muted);
}

.section-dark-form .form-input,
.section-dark-form .form-select,
.section-dark-form .form-textarea {
  background-color: var(--surface-alt);
  color: var(--ink);
}

.form-textarea {
  min-height: 118px;
  resize: vertical;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  padding: 0.45rem 0.75rem;
  background-color: #dad9d3;
  font-size: var(--step-small);
  font-weight: 500;
  cursor: pointer;
}

.section-dark-form .checkbox-item {
  background-color: var(--surface-alt);
  color: var(--ink);
}

.checkbox-item input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.form-status {
  padding: 1rem 1.15rem;
  background-color: var(--field-2);
  color: var(--field-2-ink);
  font-size: var(--step-small);
  display: none;
}

.form-status.is-visible {
  display: block;
}

@media (max-width: 900px) {
  .scope-builder,
  .quote-form-wrap {
    grid-column: 1 / -1;
  }

  .form-row-2,
  .checkbox-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Subpage Hero & Content Patterns (Service Pages, About, Reviews, Contact)
   ========================================================================== */
.page-hero {
  position: relative;
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding-top: clamp(6.5rem, 12vw, 8.5rem);
  padding-bottom: clamp(3.5rem, 6vw, 5rem);
  overflow: hidden;
  background-color: var(--bg);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient( /* taste-skill-ignore */
    90deg,
    rgba(16, 18, 16, 0.9) 0%,
    rgba(16, 18, 16, 0.68) 55%,
    rgba(16, 18, 16, 0.32) 100%
  );
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 1.1rem;
  max-width: 56ch;
}

.page-hero-inner h1 {
  color: var(--ink);
}

.page-hero-inner p {
  color: var(--ink);
  font-size: var(--step-lead);
  line-height: 1.38;
}

.section-band-dark {
  background-color: var(--bg);
  color: var(--ink);
  padding-block: var(--section-gap);
}

.section-band-surface {
  background-color: var(--surface);
  color: var(--ink);
  padding-block: var(--section-gap);
}

.section-band-light {
  background-color: var(--field-1);
  color: var(--field-1-ink);
  padding-block: var(--section-gap);
}

.section-band-light .section-header-split p {
  color: var(--field-1-muted);
}

.section-band-light .review-stars,
.section-band-light .star-line {
  color: var(--accent-dark);
}

.section-band-light .review-attribution,
.review-author {
  font-size: var(--step-small);
  color: var(--field-1-muted);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.star-line {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: var(--step-small);
  font-weight: 600;
  color: var(--accent);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gutter);
  margin-top: 2.5rem;
}

.process-step {
  background-color: var(--surface);
  color: var(--ink);
  padding: 1.5rem;
  display: grid;
  gap: 0.7rem;
  align-content: start;
}

.section-band-light .process-step {
  background-color: #dad9d3;
  color: var(--field-1-ink);
}

.process-step p {
  font-size: var(--step-small);
  color: var(--muted);
}

.section-band-light .process-step p {
  color: var(--field-1-muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gutter);
  margin-top: 2.5rem;
}

.gallery-figure {
  margin: 0;
  display: grid;
  gap: 0.6rem;
}

.gallery-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-figure figcaption {
  font-size: var(--step-small);
  color: var(--muted);
}

.section-band-light .gallery-figure figcaption {
  color: var(--field-1-muted);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.filter-btn {
  min-height: 44px;
  padding: 0.55rem 1rem;
  border: 0;
  background-color: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-small);
  font-weight: 600;
  cursor: pointer;
}

.filter-btn[aria-pressed="true"] {
  background-color: var(--accent);
  color: var(--accent-ink);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gutter);
  margin-top: 2rem;
}

.map-frame {
  width: 100%;
  min-height: 380px;
  border: 0;
  display: block;
}

@media (max-width: 960px) {
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .process-grid,
  .gallery-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Synchronized Architectural Footer
   ========================================================================== */
.site-footer {
  background-color: #111311;
  color: var(--ink);
  padding-block: clamp(3.5rem, 6vw, 5.5rem) 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 2.25rem var(--gutter);
}

.footer-brand {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.footer-col {
  display: grid;
  gap: 0.65rem;
  align-content: start;
}

.footer-col h3 {
  font-size: var(--step-lead);
  color: var(--accent);
  margin-bottom: 0.2rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.footer-links a {
  font-size: var(--step-small);
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--ink);
}

.footer-hours {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
  font-size: var(--step-small);
  color: var(--muted);
}

.footer-hours li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  max-width: 240px;
}

.footer-bottom {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: var(--step-small);
  color: var(--muted);
}

@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Choreographed Motion Layer (Accessible & Inspector-verified)
   ========================================================================== */
[data-reveal] {
  transition:
    opacity var(--t-reveal) var(--ease-expo),
    transform var(--t-reveal) var(--ease-expo);
}

.js-motion [data-reveal].is-pending {
  opacity: 0;
  transform: translateY(20px);
}

.js-motion [data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal],
  .js-motion [data-reveal].is-pending,
  .hero-slide {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
