/* ==========================================================================
   CLB Property & Landscaping Services — styles
   Design tokens live on :root. Components only reference tokens.
   Brand: black / white / CLB green (#68901C from the logo)
   ========================================================================== */

:root {
  /* Color */
  --brand: #68901c; /* logo green */
  --brand-bright: #8cc03a; /* green on dark surfaces + button fill (7.9:1 with black text) */
  --brand-hover: #9fd04b;
  --brand-ink: #3f6a0e; /* green text on light surfaces (5.9:1 on white) */
  --tint-100: #f3f5ef; /* page background */
  --tint-200: #e6eddb;
  --tint-300: #d3e2bb;
  --ink: #0c0f0b;
  --ink-2: #1a2016;
  --dark: #0e120c; /* dark sections, like the black logo card */
  --dark-2: #182014;
  --muted: #4c5647; /* 7.1:1 on tint-100 */
  --surface: #ffffff;
  --surface-2: #f7f9f4;
  --line: rgba(12, 15, 11, 0.12);
  --on-dark: #ffffff;
  --on-dark-muted: rgba(255, 255, 255, 0.8);
  --focus: #3f6a0e;
  --danger: #b42318;

  /* Type */
  --font-display: "Barlow", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-hero: clamp(2.9rem, 1.6rem + 5.6vw, 6.4rem);
  --fs-h2: clamp(2.1rem, 1.4rem + 2.8vw, 3.5rem);
  --fs-h3: clamp(1.3rem, 1.15rem + 0.5vw, 1.55rem);
  --fs-lead: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);

  /* Space (8pt) */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1240px;

  /* Shape + depth */
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --r-pill: 999px;
  --shadow-1: 0 1px 2px rgba(12, 15, 11, 0.06), 0 4px 16px rgba(12, 15, 11, 0.06);
  --shadow-2: 0 2px 6px rgba(12, 15, 11, 0.08), 0 18px 48px rgba(12, 15, 11, 0.14);
  --shadow-3: 0 30px 80px rgba(12, 15, 11, 0.3);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --t-fast: 160ms;
  --t-med: 280ms;

  /* Layers */
  --z-nav: 40;
  --z-overlay: 100;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 96px;
}
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--tint-100);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img,
svg,
canvas {
  display: block;
  max-width: 100%;
}
/* <picture> only swaps in AVIF; it shouldn't add a layout box of its own */
picture {
  display: contents;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}
.on-dark :focus-visible,
.hero :focus-visible {
  outline-color: var(--brand-bright);
}

.skip-link {
  position: absolute;
  left: var(--s-4);
  top: -100px;
  z-index: var(--z-overlay);
  background: var(--ink);
  color: var(--on-dark);
  padding: var(--s-3) var(--s-4);
  border-radius: var(--r-sm);
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus {
  top: var(--s-4);
}

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.accent {
  color: var(--brand-ink);
}
.on-dark .accent,
.hero .accent {
  color: var(--brand-bright);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-ink);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
}
.on-dark .eyebrow {
  color: var(--brand-bright);
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--on-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: 52px;
  padding: 0 var(--s-6);
  border: 0;
  border-radius: var(--r-sm);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--t-fast) var(--ease-out), background-color var(--t-med) var(--ease-out),
    box-shadow var(--t-med) var(--ease-out), color var(--t-med);
  touch-action: manipulation;
  white-space: nowrap;
}
.btn:hover {
  --btn-bg: var(--ink-2);
  box-shadow: 0 10px 30px rgba(12, 15, 11, 0.25);
}
.btn:active {
  transform: scale(0.97);
}
.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
  transition: transform var(--t-med) var(--ease-out);
}
.btn:hover svg.arrow {
  transform: translateX(3px);
}
.btn--brand {
  --btn-bg: var(--brand-bright);
  --btn-fg: var(--ink);
}
.btn--brand:hover {
  --btn-bg: var(--brand-hover);
}
.btn--ghost {
  --btn-bg: rgba(255, 255, 255, 0.12);
  --btn-fg: var(--on-dark);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}
.btn--ghost:hover {
  --btn-bg: rgba(255, 255, 255, 0.22);
}
.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.btn--outline:hover {
  --btn-bg: var(--ink);
  --btn-fg: var(--on-dark);
}
.btn--block {
  width: 100%;
}

/* ---------- Brand lockup ---------- */
.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  text-decoration: none;
  min-height: 44px;
}
.brand__mark {
  position: relative;
  width: 84px;
  height: 36px;
  flex: none;
}
.brand__mark img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity var(--t-med) var(--ease-out);
}
.brand__mark .on-light {
  opacity: 0;
}
.brand__text {
  display: grid;
  line-height: 1.05;
  font-family: var(--font-display);
  text-transform: uppercase;
  padding-left: var(--s-3);
  border-left: 1.5px solid currentColor;
}
.brand__text b {
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
}
.brand__text span {
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.34em;
  color: var(--brand-bright);
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: var(--s-4) var(--s-4) auto;
  z-index: var(--z-nav);
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.nav__inner {
  pointer-events: auto;
  width: 100%;
  max-width: calc(var(--maxw) + 40px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  padding: var(--s-2) var(--s-2) var(--s-2) var(--s-5);
  border-radius: var(--r-md);
  color: var(--on-dark);
  transition: background-color var(--t-med) var(--ease-out), color var(--t-med) var(--ease-out),
    box-shadow var(--t-med) var(--ease-out);
}
.nav.is-scrolled:not(.is-open) .nav__inner {
  background: rgba(10, 12, 8, 0.62);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.nav.is-solid .nav__inner,
.nav.is-open .nav__inner {
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: var(--shadow-1), inset 0 0 0 1px var(--line);
}
.nav.is-solid .brand__mark .on-dark,
.nav.is-open .brand__mark .on-dark {
  opacity: 0;
}
.nav.is-solid .brand__mark .on-light,
.nav.is-open .brand__mark .on-light {
  opacity: 1;
}
.nav.is-solid .brand__text span,
.nav.is-open .brand__text span {
  color: var(--brand-ink);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: var(--s-1);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 var(--s-3);
  white-space: nowrap;
  border-radius: var(--r-pill);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: background-color var(--t-fast);
}
.nav__links a:hover {
  background: rgba(255, 255, 255, 0.14);
}
.nav.is-solid .nav__links a:hover {
  background: var(--tint-200);
}
.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--s-2);
}
.nav__phone {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  min-height: 44px;
  padding: 0 var(--s-3);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.nav__phone svg {
  width: 18px;
  height: 18px;
}
.nav .btn {
  min-height: 44px;
  padding: 0 var(--s-5);
  font-size: 0.98rem;
}
.nav:not(.is-solid):not(.is-open) .btn {
  --btn-bg: var(--brand-bright);
  --btn-fg: var(--ink);
}
.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--r-sm);
  background: transparent;
  cursor: pointer;
  place-items: center;
}
.nav__toggle svg {
  width: 24px;
  height: 24px;
}

/* phone number text drops first, then the links collapse into the menu */
@media (max-width: 1280px) {
  .nav__phone span {
    display: none;
  }
}
@media (max-width: 1080px) {
  .nav__links {
    display: none;
  }
  .nav__toggle {
    display: grid;
  }
  .nav.is-open .nav__inner {
    flex-wrap: wrap;
    box-shadow: var(--shadow-2);
  }
  .nav.is-open .nav__links {
    display: flex;
    order: 3;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding: var(--s-2) 0;
    border-top: 1px solid var(--line);
  }
  .nav.is-open .nav__links a {
    min-height: 48px;
    font-size: 1.05rem;
  }
}
@media (max-width: 560px) {
  .nav .btn,
  .brand__text {
    display: none;
  }
  .nav__inner {
    padding-left: var(--s-4);
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 620px;
  padding: var(--s-3);
}
.hero__card {
  position: relative;
  height: 100%;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--dark);
  box-shadow: var(--shadow-3);
  color: var(--on-dark);
  isolation: isolate;
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 50%;
  z-index: -2;
  background: var(--dark);
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(8, 10, 6, 0.78) 0%, rgba(8, 10, 6, 0.5) 40%, rgba(8, 10, 6, 0) 70%),
    linear-gradient(0deg, rgba(8, 10, 6, 0.6) 0%, rgba(8, 10, 6, 0) 36%),
    linear-gradient(180deg, rgba(8, 10, 6, 0.5) 0%, rgba(8, 10, 6, 0) 24%);
  pointer-events: none;
}
.hero__content {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  padding: 120px clamp(24px, 6vw, 96px) 120px;
}
.hero__inner {
  max-width: 700px;
}
.hero h1 {
  font-size: var(--fs-hero);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.005em;
  text-transform: uppercase;
}
.hero__lead {
  margin-top: var(--s-5);
  max-width: 520px;
  font-size: var(--fs-lead);
  color: var(--on-dark-muted);
}
.hero__ctas {
  margin-top: var(--s-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  margin-bottom: var(--s-5);
  padding: 6px 14px 6px 8px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  font-size: 0.875rem;
  font-weight: 500;
}
.kicker__dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand-bright);
  color: var(--ink);
}
.kicker__dot svg {
  width: 13px;
  height: 13px;
}
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-5);
  margin: var(--s-6) 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--on-dark-muted);
}
.hero__badges li {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
}
.hero__badges svg {
  width: 18px;
  height: 18px;
  color: var(--brand-bright);
}

/* Replay / play control, shown once the video ends (or if autoplay is blocked) */
.hero__replay {
  position: absolute;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: var(--r-pill);
  background: rgba(8, 10, 6, 0.5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  color: var(--on-dark);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--t-fast);
}
.hero__replay:hover {
  background: rgba(8, 10, 6, 0.7);
}
.hero__replay svg {
  width: 18px;
  height: 18px;
}
.hero__replay[hidden] {
  display: none;
}

/* keep the mower in frame on tall, narrow screens */
@media (max-width: 820px) {
  .hero__video {
    object-position: 72% 50%;
  }
}
@media (max-width: 720px) {
  .hero {
    padding: var(--s-2);
    min-height: 600px;
  }
  .hero__card {
    border-radius: var(--r-lg);
  }
  .hero__content {
    align-content: end;
    padding: 96px 20px 88px;
  }
  .hero__scrim {
    background: linear-gradient(0deg, rgba(8, 10, 6, 0.9) 0%, rgba(8, 10, 6, 0.6) 48%, rgba(8, 10, 6, 0.1) 78%),
      linear-gradient(180deg, rgba(8, 10, 6, 0.5) 0%, rgba(8, 10, 6, 0) 22%);
  }
  .hero__ctas .btn {
    flex: 1 1 auto;
  }
  .hero__badges {
    display: none;
  }
  .hero__replay {
    top: 88px;
    bottom: auto;
    right: 16px;
  }
}

/* ---------- Sections ---------- */
.section {
  padding-block: clamp(72px, 10vw, 136px);
}
.section-head {
  display: grid;
  gap: var(--s-4);
  max-width: 720px;
  margin-bottom: clamp(40px, 6vw, 64px);
}
.section-head h2 {
  font-size: var(--fs-h2);
  font-weight: 700;
}
.section-head p {
  font-size: var(--fs-lead);
  color: var(--muted);
  max-width: 60ch;
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
  justify-items: center;
}
.section-head--split {
  max-width: none;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: end;
  gap: var(--s-5) var(--s-7);
}
.section-head--split > p {
  max-width: 44ch;
  justify-self: end;
}
.on-dark .section-head p {
  color: var(--on-dark-muted);
}
@media (max-width: 760px) {
  .section-head--split {
    grid-template-columns: 1fr;
  }
  .section-head--split > p {
    justify-self: start;
  }
}

/* ---------- Trust strip ---------- */
.trust {
  padding-top: var(--s-7);
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-3);
  list-style: none;
  margin: 0;
  padding: 0;
}
.stat {
  display: flex;
  gap: var(--s-4);
  align-items: center;
  padding: var(--s-5);
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: var(--shadow-1);
}
.stat__icon {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--brand-bright);
}
.stat__icon svg {
  width: 24px;
  height: 24px;
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.2;
}
.stat span {
  font-size: 0.9rem;
  color: var(--muted);
}
@media (max-width: 1040px) {
  .trust__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  .trust__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Services ---------- */
/* 5 cards: two wide (real job photos) on top, three below */
.services__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--s-4);
}
.services__grid > .service {
  grid-column: span 2;
}
.services__grid > .service:nth-child(-n + 2) {
  grid-column: span 3;
}
.service {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 440px;
  border-radius: var(--r-lg);
  overflow: hidden;
  color: var(--on-dark);
  isolation: isolate;
  text-decoration: none;
  box-shadow: var(--shadow-1);
  transition: transform var(--t-med) var(--ease-out), box-shadow var(--t-med) var(--ease-out);
}
.service img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 900ms var(--ease-out);
}
.service::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(8, 10, 6, 0.94) 0%, rgba(8, 10, 6, 0.62) 40%, rgba(8, 10, 6, 0) 70%);
}
.service:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
}
.service:hover img {
  transform: scale(1.06);
}
.service__body {
  padding: var(--s-5);
}
.service__icon {
  width: 44px;
  height: 44px;
  margin-bottom: var(--s-4);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand-bright);
  color: var(--ink);
}
.service__icon svg {
  width: 22px;
  height: 22px;
}
.service h3 {
  font-size: var(--fs-h3);
  font-weight: 700;
}
.service p {
  margin-top: var(--s-2);
  font-size: 0.95rem;
  color: var(--on-dark-muted);
}
.service__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--s-4);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--brand-bright);
}
.service__more svg {
  width: 16px;
  height: 16px;
  transition: transform var(--t-med) var(--ease-out);
}
.service:hover .service__more svg {
  transform: translateX(3px);
}
@media (max-width: 1040px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services__grid > .service,
  .services__grid > .service:nth-child(-n + 2) {
    grid-column: auto;
  }
  .services__grid > .service:first-child {
    grid-column: 1 / -1;
  }
}
@media (max-width: 600px) {
  .services__grid {
    grid-template-columns: 1fr;
  }
  .service {
    min-height: 380px;
  }
}

/* ---------- Residential & commercial band ---------- */
.property-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.property-band__media {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-2);
}
.property-band__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.property-band__tag {
  position: absolute;
  left: var(--s-4);
  bottom: var(--s-4);
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 8px 14px;
  border-radius: var(--r-pill);
  background: rgba(8, 10, 6, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--on-dark);
  font-size: 0.85rem;
  font-weight: 500;
}
.property-band__tag svg {
  width: 16px;
  height: 16px;
  color: var(--brand-bright);
}
.property-band__body {
  display: grid;
  gap: var(--s-5);
}
.property-band__body h2 {
  font-size: var(--fs-h2);
  font-weight: 700;
}
.property-band__body > p {
  font-size: var(--fs-lead);
  color: var(--muted);
}
.segments {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-3);
}
.segment {
  display: flex;
  gap: var(--s-4);
  align-items: flex-start;
  padding: var(--s-5);
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: var(--shadow-1);
}
.segment__icon {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--brand-bright);
}
.segment__icon svg {
  width: 22px;
  height: 22px;
}
.segment h3 {
  font-size: 1.2rem;
  font-weight: 700;
}
.segment p {
  margin-top: 4px;
  font-size: 0.95rem;
  color: var(--muted);
}
@media (max-width: 520px) {
  .segments {
    grid-template-columns: 1fr;
  }
}
.checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-3) var(--s-5);
  list-style: none;
  margin: 0;
  padding: 0;
}
.checklist li {
  display: flex;
  gap: var(--s-3);
  align-items: flex-start;
  font-weight: 500;
}
.checklist svg {
  flex: none;
  width: 22px;
  height: 22px;
  padding: 3px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--brand-bright);
  margin-top: 1px;
}
.property-band__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-top: var(--s-2);
}
@media (max-width: 900px) {
  .property-band {
    grid-template-columns: 1fr;
  }
  .property-band__media {
    aspect-ratio: 4 / 3;
  }
}
@media (max-width: 520px) {
  .checklist {
    grid-template-columns: 1fr;
  }
}

/* ---------- Our work: before / after ---------- */
.results {
  background: var(--dark);
  color: var(--on-dark);
  border-radius: var(--r-xl);
  margin-inline: var(--s-3);
}
.work {
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.work__stage {
  position: relative;
}
.ba-item {
  margin: 0;
}
.ba-item[hidden] {
  display: none;
}
.ba-item figcaption {
  display: flex;
  justify-content: space-between;
  gap: var(--s-4);
  margin-top: var(--s-3);
  padding-inline: var(--s-1);
  font-size: 0.95rem;
  color: var(--on-dark-muted);
}
.ba-item figcaption strong {
  color: var(--on-dark);
  font-weight: 600;
}

.ba {
  --pos: 50%;
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--dark-2);
  cursor: ew-resize;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
.ba img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
}
.ba__before {
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.ba__label {
  position: absolute;
  top: var(--s-4);
  padding: 6px 12px;
  border-radius: var(--r-pill);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  pointer-events: none;
  transition: opacity var(--t-med);
}
.ba__label--before {
  left: var(--s-4);
  background: rgba(8, 10, 6, 0.65);
  color: var(--on-dark);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.ba__label--after {
  right: var(--s-4);
  background: var(--brand-bright);
  color: var(--ink);
}
.ba__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 0;
  pointer-events: none;
}
.ba__handle::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -1.5px;
  width: 3px;
  background: #fff;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.35);
}
.ba__knob {
  position: absolute;
  top: 50%;
  left: 0;
  width: 56px;
  height: 56px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
  transition: transform var(--t-fast) var(--ease-out), background-color var(--t-fast);
}
.ba__knob svg {
  width: 26px;
  height: 26px;
}
.ba.is-dragging .ba__knob {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--brand-bright);
}
.ba__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  pointer-events: none; /* pointer handled in JS so vertical scroll stays native */
}
.ba:has(.ba__range:focus-visible) .ba__knob {
  outline: 3px solid var(--brand-bright);
  outline-offset: 4px;
}

.work__side {
  display: grid;
  gap: var(--s-5);
}
.work__tabs {
  display: grid;
  gap: var(--s-2);
}
.work__tab {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  width: 100%;
  min-height: 88px;
  padding: var(--s-2) var(--s-4) var(--s-2) var(--s-2);
  border: 0;
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  color: var(--on-dark);
  text-align: left;
  cursor: pointer;
  transition: background-color var(--t-fast), box-shadow var(--t-fast);
}
.work__tab:hover {
  background: rgba(255, 255, 255, 0.09);
}
.work__tab[aria-selected="true"] {
  background: rgba(140, 192, 58, 0.14);
  box-shadow: inset 0 0 0 2px var(--brand-bright);
}
.work__tab img {
  width: 56px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
  flex: none;
}
.work__tab strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.2;
}
.work__tab span {
  display: block;
  margin-top: 2px;
  font-size: 0.875rem;
  color: var(--on-dark-muted);
}
.work__note {
  font-size: 0.9rem;
  color: var(--on-dark-muted);
}
@media (max-width: 900px) {
  .work {
    grid-template-columns: 1fr;
  }
  .work__stage {
    max-width: 520px;
    width: 100%;
    margin-inline: auto;
  }
  .work__side {
    order: -1;
  }
  .work__tabs {
    display: flex;
    overflow-x: auto;
    gap: var(--s-2);
    padding-bottom: var(--s-2);
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }
  .work__tab {
    flex: 0 0 min(78%, 300px);
    scroll-snap-align: start;
    min-height: 76px;
  }
  .work__tab img {
    width: 48px;
    height: 60px;
  }
}
@media (max-width: 760px) {
  .results {
    margin-inline: var(--s-2);
    border-radius: var(--r-lg);
  }
  .ba-item figcaption {
    flex-direction: column;
    gap: 2px;
  }
}

/* "Built by CLB" gallery inside the dark work section */
.builds {
  margin-top: clamp(56px, 8vw, 96px);
  padding-top: clamp(40px, 6vw, 64px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.builds__head {
  display: grid;
  gap: var(--s-3);
  max-width: 620px;
  margin-bottom: var(--s-6);
}
.builds__head h3 {
  font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem);
  font-weight: 700;
}
.builds__head p {
  color: var(--on-dark-muted);
  font-size: 1.05rem;
}
.builds__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
}
.builds__grid figure {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--dark-2);
}
.builds__grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease-out);
}
.builds__grid figure:hover img {
  transform: scale(1.04);
}
@media (max-width: 760px) {
  .builds__grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: var(--s-3);
    padding-bottom: var(--s-2);
  }
  .builds__grid figure {
    flex: 0 0 78%;
    scroll-snap-align: start;
  }
}

/* ---------- Process ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
  list-style: none;
  padding: 0;
  margin: 0;
}
.step {
  padding: var(--s-6);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-1);
}
.step__num {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand-ink);
  letter-spacing: 0.16em;
}
.step__icon {
  width: 56px;
  height: 56px;
  margin: var(--s-5) 0;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--brand-bright);
}
.step__icon svg {
  width: 28px;
  height: 28px;
}
.step h3 {
  font-size: var(--fs-h3);
  font-weight: 700;
}
.step p {
  margin-top: var(--s-2);
  color: var(--muted);
}
@media (max-width: 860px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* ---------- About ---------- */
.about {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.about__body {
  display: grid;
  gap: var(--s-5);
}
.about__body h2 {
  font-size: var(--fs-h2);
  font-weight: 700;
}
.about__body p {
  font-size: 1.075rem;
  color: var(--muted);
  max-width: 58ch;
}
.about__body p strong {
  color: var(--ink);
}
.about__card {
  position: relative;
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--r-xl);
  background: var(--dark);
  color: var(--on-dark);
  box-shadow: var(--shadow-2);
  overflow: hidden;
  isolation: isolate;
}
.about__card::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -40px;
  width: 280px;
  height: 180px;
  background: url("../assets/brand/mark-on-dark.png") center / contain no-repeat;
  opacity: 0.08;
  z-index: -1;
}
.about__quote-mark {
  width: 40px;
  height: 40px;
  color: var(--brand-bright);
}
.about__card blockquote {
  margin: var(--s-5) 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem);
  font-weight: 600;
  line-height: 1.35;
}
.about__card figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s-4);
  padding-top: var(--s-5);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.95rem;
  color: var(--on-dark-muted);
}
.about__card figcaption strong {
  display: block;
  color: var(--on-dark);
}
.fb-link {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  min-height: 44px;
  font-weight: 600;
  color: var(--brand-bright);
  text-decoration: none;
}
.fb-link:hover {
  text-decoration: underline;
}
.fb-link svg {
  width: 20px;
  height: 20px;
}
@media (max-width: 900px) {
  .about {
    grid-template-columns: 1fr;
  }
}

/* ---------- Quote ---------- */
.quote {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.quote__aside {
  position: sticky;
  top: 112px;
  display: grid;
  gap: var(--s-5);
}
.quote__aside h2 {
  font-size: var(--fs-h2);
  font-weight: 700;
}
.quote__aside > p {
  font-size: var(--fs-lead);
  color: var(--muted);
}
.contact-card {
  display: grid;
  gap: var(--s-2);
  padding: var(--s-5);
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: var(--shadow-1);
}
.contact-card__who {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding-bottom: var(--s-3);
  margin-bottom: var(--s-2);
  border-bottom: 1px solid var(--line);
}
.contact-card__who img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
}
.contact-card__who strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
}
.contact-card__who span {
  font-size: 0.875rem;
  color: var(--muted);
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--s-1);
}
.contact-list a,
.contact-list div {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  min-height: 44px;
  text-decoration: none;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.contact-list a:hover {
  color: var(--brand-ink);
}
.contact-list svg {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--brand-ink);
}

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-2);
}
.field {
  display: grid;
  gap: 6px;
  align-content: start;
}
.field--full {
  grid-column: 1 / -1;
}
.field label,
.field legend {
  font-size: 0.9rem;
  font-weight: 600;
}
.field .req {
  color: var(--brand-ink);
}
.field .opt {
  font-weight: 400;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1.5px solid #cfd6c8;
  border-radius: var(--r-sm);
  background: var(--surface-2);
  font-size: 1rem;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background-color var(--t-fast);
}
.field textarea {
  min-height: 112px;
  resize: vertical;
}
.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: #9ca894;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand-ink);
  background: var(--surface);
  box-shadow: 0 0 0 4px rgba(140, 192, 58, 0.35);
}
.field[data-invalid] input {
  border-color: var(--danger);
}
.field__error {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--danger);
}
.field__error svg {
  width: 16px;
  height: 16px;
  flex: none;
}
.field[data-invalid] .field__error {
  display: flex;
}
.field__hint {
  font-size: 0.85rem;
  color: var(--muted);
}
fieldset.field {
  border: 0;
  padding: 0;
  margin: 0;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-top: 6px;
}
.chip {
  position: relative;
}
.chip input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}
.chip span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--r-pill);
  border: 1.5px solid #cfd6c8;
  background: var(--surface-2);
  font-size: 0.95rem;
  font-weight: 500;
  transition: background-color var(--t-fast), border-color var(--t-fast);
}
.chip span svg {
  width: 16px;
  height: 16px;
  display: none;
}
.chip input:checked + span {
  background: var(--tint-300);
  border-color: var(--brand-ink);
}
.chip input:checked + span svg {
  display: block;
}
.chip input:focus-visible + span {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
.form .btn[aria-busy="true"] {
  opacity: 0.7;
  pointer-events: none;
}
.form__note {
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}
.form__success {
  grid-column: 1 / -1;
  display: none;
  gap: var(--s-3);
  justify-items: center;
  text-align: center;
  padding: var(--s-7) var(--s-4);
}
.form__success svg {
  width: 64px;
  height: 64px;
  color: var(--brand-ink);
}
.form__success h3 {
  font-size: 1.6rem;
}
.form__success p {
  color: var(--muted);
  max-width: 44ch;
}
.form.is-sent > *:not(.form__success) {
  display: none;
}
.form.is-sent .form__success {
  display: grid;
}
@media (max-width: 900px) {
  .quote {
    grid-template-columns: 1fr;
  }
  .quote__aside {
    position: static;
  }
}
@media (max-width: 560px) {
  .form {
    grid-template-columns: 1fr;
  }
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 820px;
  margin-inline: auto;
  display: grid;
  gap: var(--s-3);
}
.faq details {
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: var(--shadow-1);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-4);
  min-height: 64px;
  padding: var(--s-4) var(--s-5);
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 1.05rem;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary svg {
  flex: none;
  width: 22px;
  height: 22px;
  transition: transform var(--t-med) var(--ease-out);
}
.faq details[open] summary svg {
  transform: rotate(45deg);
}
.faq details p {
  padding: 0 var(--s-5) var(--s-5);
  color: var(--muted);
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  margin-inline: var(--s-3);
  border-radius: var(--r-xl);
  overflow: hidden;
  color: var(--on-dark);
  isolation: isolate;
}
.cta-band > picture > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 14%;
  z-index: -2;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(8, 10, 6, 0.9) 0%, rgba(8, 10, 6, 0.6) 55%, rgba(8, 10, 6, 0.25) 100%);
}
.cta-band__inner {
  padding: clamp(64px, 10vw, 128px) clamp(24px, 6vw, 96px);
  max-width: 760px;
}
.cta-band h2 {
  font-size: var(--fs-h2);
  font-weight: 800;
  text-transform: uppercase;
}
.cta-band p {
  margin-top: var(--s-4);
  font-size: var(--fs-lead);
  color: var(--on-dark-muted);
}
.cta-band .hero__ctas {
  margin-top: var(--s-6);
}
@media (max-width: 760px) {
  .cta-band {
    margin-inline: var(--s-2);
    border-radius: var(--r-lg);
  }
}

/* ---------- Footer ---------- */
.footer {
  padding: var(--s-9) 0 var(--s-6);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.8fr 1.3fr;
  gap: var(--s-6);
}
.footer__logo {
  width: 200px;
  height: auto;
  margin-bottom: var(--s-4);
}
.footer p,
.footer li {
  color: var(--muted);
  font-size: 0.95rem;
}
.footer h3 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: var(--s-4);
}
.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--s-1);
}
.footer a {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  min-height: 36px;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.footer a:hover {
  color: var(--brand-ink);
  text-decoration: underline;
}
.footer a svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.footer__tagline {
  margin-top: var(--s-3);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink) !important;
}
.footer__tagline span {
  color: var(--brand-ink);
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s-4);
  margin-top: var(--s-8);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--muted);
}
@media (max-width: 860px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 520px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-1) var(--s-4);
}
.footer__legal a {
  min-height: 24px;
}

/* ---------- Legal pages ---------- */
.legal {
  padding: calc(var(--s-9) + var(--s-6)) 0 var(--s-6);
}
.legal__doc {
  max-width: 760px;
  margin-inline: auto;
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
  padding: clamp(var(--s-5), 5vw, var(--s-8));
}
.legal h1 {
  font-size: var(--fs-h2);
  margin: var(--s-3) 0 var(--s-3);
}
.legal__updated {
  color: var(--muted);
  font-size: 0.95rem;
}
.legal__toc {
  margin: var(--s-6) 0 0;
  padding: var(--s-4) var(--s-5);
  background: var(--surface-2);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
}
.legal__toc ol {
  margin: var(--s-2) 0 0;
  padding-left: 1.2em;
  columns: 2 220px;
}
.legal__toc a {
  color: var(--brand-ink);
}
.legal h2 {
  font-size: var(--fs-h3);
  margin: var(--s-7) 0 var(--s-3);
  scroll-margin-top: 110px;
}
.legal h3 {
  font-size: 1.1rem;
  margin: var(--s-5) 0 var(--s-2);
}
.legal p,
.legal li {
  color: var(--ink-2);
  max-width: 68ch;
}
.legal p + p,
.legal p + ul,
.legal ul + p {
  margin-top: var(--s-3);
}
.legal ul {
  margin: var(--s-3) 0 0;
  padding-left: 1.2em;
}
.legal li + li {
  margin-top: var(--s-2);
}
.legal__doc a {
  color: var(--brand-ink);
  text-underline-offset: 2px;
  overflow-wrap: anywhere;
}
.legal__contact {
  margin-top: var(--s-4);
  padding: var(--s-4) var(--s-5);
  border-left: 3px solid var(--brand);
  background: var(--surface-2);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.legal__contact p + p {
  margin-top: var(--s-1);
}
.form__consent {
  margin-top: var(--s-3);
  font-size: 0.85rem;
  color: var(--muted);
}
.form__consent a {
  color: var(--brand-ink);
}

/* ---------- Reveal on scroll ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Spam honeypot: off-screen for people, still visible to naive bots */
.hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
