/* ============================================================
   6L Power Washing
   Navy + water cyan come from the logo; the warm limestone
   neutral matches the stone and stucco in the job photos.
   ============================================================ */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0c1220;
  --ink-2: #121a2a;
  --ink-3: #1c2537;
  --ink-deep: #080c15;
  --paper: #f2efe8;
  --paper-2: #e7e1d5;
  --white: #ffffff;

  --text: #0c1220;
  --text-2: #4c5363;
  --on-dark: #f2efe8;
  --on-dark-2: #a9b1bf;

  --line: rgba(12, 18, 32, 0.14);
  --line-strong: rgba(12, 18, 32, 0.34);
  --line-dark: rgba(242, 239, 232, 0.16);

  --cyan: #1ab3e5;
  --cyan-hover: #5ccaef;
  --focus: #1ab3e5;

  --font: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --gutter: clamp(20px, 4.4vw, 72px);
  --max: 1360px;
  --gap: clamp(16px, 2.2vw, 32px);
  --section: clamp(96px, 11vw, 176px);
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
}

@media (max-width: 760px) {
  :root { --header-h: 64px; }
}

/* ---------- base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--header-h);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body.menu-open { overflow: hidden; }

img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
figure { margin: 0; }
picture { display: block; }

h1, h2, h3 {
  margin: 0;
  font-weight: 720;
  font-stretch: 112%;
  letter-spacing: -0.03em;
  line-height: 0.98;
  text-wrap: balance;
}

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

a { color: inherit; text-underline-offset: 0.2em; }

button { font: inherit; color: inherit; }

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

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

.skip {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--white);
  color: var(--ink);
  font-weight: 650;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s;
}
.skip:focus { transform: none; }

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- type ---------- */

.label {
  margin: 0 0 22px;
  font-size: 0.75rem;
  line-height: 1.3;
  font-weight: 650;
  font-stretch: 100%;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-2);
}
.label--light { color: var(--on-dark-2); }

.h-display {
  font-size: clamp(3.1rem, 0.9rem + 8vw, 8.75rem);
  font-weight: 760;
  font-stretch: 116%;
  letter-spacing: -0.045em;
  line-height: 0.88;
}

.h-page {
  font-size: clamp(3.25rem, 1.2rem + 6.4vw, 7.25rem);
  font-weight: 760;
  font-stretch: 116%;
  letter-spacing: -0.045em;
  line-height: 0.9;
}

.h-section {
  font-size: clamp(2.5rem, 1.35rem + 3.9vw, 5.25rem);
  font-weight: 740;
  font-stretch: 114%;
  letter-spacing: -0.042em;
  line-height: 0.92;
}

.h-svc {
  font-size: clamp(2.4rem, 1.3rem + 2.9vw, 4.25rem);
  font-weight: 730;
  font-stretch: 112%;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.caption {
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--text-2);
}

/* ---------- buttons & links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 0.9375rem;
  font-weight: 640;
  font-stretch: 104%;
  letter-spacing: 0.005em;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.25s, border-color 0.25s, color 0.25s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn .i-arrow { transition: transform 0.35s var(--ease); }
.btn:hover .i-arrow { transform: translateX(3px); }

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

.btn--light { border-color: rgba(255, 255, 255, 0.42); color: var(--white); }
.btn--light:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); }

.btn--dark { border-color: var(--line-strong); color: var(--ink); }
.btn--dark:hover { border-color: var(--ink); }

.btn--sm { min-height: 44px; padding: 0 18px; font-size: 0.875rem; }

.link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  font-weight: 640;
  font-stretch: 104%;
  text-decoration: none;
  white-space: nowrap;
}
.link svg { width: 18px; height: 18px; transition: transform 0.35s var(--ease); }
.link:hover svg { transform: translateX(4px); }

/* ---------- header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  color: var(--white);
  transition: background-color 0.35s, box-shadow 0.35s;
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 -48px;
  background: linear-gradient(rgba(6, 10, 18, 0.5), rgba(6, 10, 18, 0));
  pointer-events: none;
  transition: opacity 0.35s;
}
.site-header.is-solid,
body.menu-open .site-header {
  background: rgba(12, 18, 32, 0.95);
  box-shadow: 0 1px 0 var(--line-dark);
}
.site-header.is-solid::before,
body.menu-open .site-header::before { opacity: 0; }

@supports (backdrop-filter: blur(1px)) {
  .site-header.is-solid { background: rgba(12, 18, 32, 0.86); backdrop-filter: saturate(150%) blur(14px); }
}

.header__inner {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex: none;
}
.brand img { width: 44px; height: 44px; border-radius: 50%; }
.brand__name {
  font-size: 1rem;
  font-weight: 720;
  font-stretch: 114%;
  letter-spacing: -0.02em;
  line-height: 1;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 2.6vw, 40px);
  margin-left: auto;
}
.nav a {
  position: relative;
  padding: 10px 0;
  font-size: 0.9375rem;
  font-weight: 540;
  text-decoration: none;
  opacity: 0.84;
  transition: opacity 0.2s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav a:hover { opacity: 1; }
.nav a:hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { opacity: 1; }

.header__actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.header__phone {
  font-size: 0.9375rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  opacity: 0.9;
}
.header__phone:hover { opacity: 1; text-decoration: underline; }

.icon-btn {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  cursor: pointer;
}
.icon-btn svg { width: 18px; height: 18px; }

.menu-toggle__bars,
.menu-toggle__bars::before {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.35s var(--ease);
}
.menu-toggle__bars { position: relative; transform: translateY(-3px); }
.menu-toggle__bars::before { content: ""; position: absolute; top: 6px; left: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { transform: translateY(0) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(-6px) rotate(-90deg); }

@media (max-width: 1180px) {
  .header__phone { display: none; }
}
@media (max-width: 960px) {
  .nav, .header__cta { display: none; }
  .icon-btn { display: grid; }
  .header__actions { gap: 10px; }
}
@media (max-width: 380px) {
  .brand__name { font-size: 0.9375rem; }
  .brand img { width: 38px; height: 38px; }
}

/* mobile menu */
.menu {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 49;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  padding: 28px var(--gutter) calc(32px + env(safe-area-inset-bottom));
  background: var(--ink);
  color: var(--on-dark);
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.3s var(--ease), transform 0.4s var(--ease);
}
.menu[hidden] { display: none; }
.menu.is-open { opacity: 1; transform: none; }
.menu__nav { display: grid; }
.menu__nav a {
  padding: 14px 0;
  border-bottom: 1px solid var(--line-dark);
  font-size: clamp(1.75rem, 1rem + 4vw, 2.5rem);
  font-weight: 700;
  font-stretch: 112%;
  letter-spacing: -0.035em;
  line-height: 1.1;
  text-decoration: none;
}
.menu__nav a[aria-current="page"] { color: var(--cyan); }
.menu__foot { display: grid; gap: 18px; }
.menu__foot .btn { width: 100%; }
.menu__contact { display: grid; gap: 6px; color: var(--on-dark-2); }
.menu__contact a { text-decoration: none; }
.menu__phone { font-size: 1.5rem; font-weight: 680; font-stretch: 108%; color: var(--on-dark); }

/* ---------- reveal ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease);
}
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   HOME
   ============================================================ */

/* ---------- hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: max(560px, 100svh);
  color: var(--white);
  background: var(--ink);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media picture, .hero__media img { width: 100%; height: 100%; }
.hero__media img { object-fit: cover; object-position: 62% 46%; }
/* shade only the corner the type sits in; the house stays untouched */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(115% 85% at 0% 100%, rgba(7, 11, 19, 0.78) 0%, rgba(7, 11, 19, 0.5) 38%, rgba(7, 11, 19, 0) 72%),
    linear-gradient(to top, rgba(7, 11, 19, 0.55) 0%, rgba(7, 11, 19, 0) 34%);
}
.hero__content { text-shadow: 0 1px 24px rgba(7, 11, 19, 0.25); }

/* Split hero: a tall photo fills the right half on desktop; on phones and
   tablets the whole photo sits on top and the type follows on dark ground,
   so nothing covers the spray or the man. */
.hero--split .hero__content { text-shadow: none; }
@media (min-width: 961px) {
  .hero--split { align-items: center; }
  .hero--split .hero__media { left: 50%; }
  .hero--split .hero__media img { object-position: 50% 40%; }
  .hero--split::after { content: none; }
  .hero--split .hero__content {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gap);
  }
  .hero--split .hero__title,
  .hero--split .hero__row { grid-column: 1 / span 6; }
  .hero--split .hero__row { grid-template-columns: 1fr; gap: 28px; }
  .hero--split .hero__title { font-size: clamp(3.25rem, 0.6rem + 5.6vw, 7rem); }
}
@media (max-width: 960px) {
  .hero--split { display: block; min-height: 0; }
  .hero--split .hero__media { position: relative; }
  .hero--split .hero__media img { aspect-ratio: 4 / 5; max-height: 78svh; object-position: 50% 40%; }
  .hero--split::after { content: none; }
  .hero--split .hero__content { padding-top: 40px; padding-bottom: 64px; }
}

.hero__content {
  padding-top: calc(var(--header-h) + 48px);
  padding-bottom: clamp(36px, 6.5vh, 80px);
}
.hero__title { margin-bottom: 0; max-width: 9ch; font-size: clamp(3.1rem, 0.9rem + 6.8vw, 7.75rem); }
.hero__row {
  display: grid;
  gap: 28px;
  margin-top: clamp(28px, 4vh, 44px);
  padding-top: clamp(22px, 3vh, 30px);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}
.hero__where { margin-bottom: 12px; color: rgba(255, 255, 255, 0.78); }
.hero__tagline {
  max-width: 32ch;
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.92);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (min-width: 961px) {
  .hero__row { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
}
@media (max-width: 520px) {
  .hero__actions .btn { flex: 1 1 100%; }
}

/* ---------- services overview ---------- */

.overview { padding-block: var(--section); }
.overview__grid { display: grid; gap: 56px; }
.overview__lead {
  margin-top: 30px;
  max-width: 31ch;
  font-size: clamp(1.25rem, 1rem + 0.85vw, 1.75rem);
  line-height: 1.36;
  letter-spacing: -0.012em;
}
.overview__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }
.overview__all { margin-top: 36px; }

@media (min-width: 961px) {
  .overview__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gap);
    row-gap: 64px;
    align-items: start;
  }
  .overview__head { grid-column: 1 / span 7; }
  .overview__list { grid-column: 1 / span 7; }
  .overview__media {
    grid-column: 9 / span 4;
    grid-row: 1 / span 2;
    position: sticky;
    top: calc(var(--header-h) + 40px);
  }
}
@media (max-width: 960px) {
  .overview__media { max-width: 560px; }
}

.svc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.svc-list a {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: clamp(18px, 2vw, 26px) 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.svc-list__num {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-2);
  font-variant-numeric: tabular-nums;
}
.svc-list__name {
  font-size: clamp(1.625rem, 1.05rem + 2vw, 2.875rem);
  font-weight: 700;
  font-stretch: 112%;
  letter-spacing: -0.038em;
  line-height: 1;
  transition: transform 0.5s var(--ease);
}
.svc-list svg { width: 26px; height: 26px; opacity: 0.5; transition: transform 0.5s var(--ease), opacity 0.3s; }
.svc-list a:hover .svc-list__name { transform: translateX(10px); }
.svc-list a:hover svg { transform: translateX(4px); opacity: 1; }

/* ---------- before / after: featured ---------- */

.proof { padding-bottom: var(--section); }
.proof__head {
  display: grid;
  gap: 18px;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.proof__sub {
  max-width: 24ch;
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  color: var(--text-2);
}
@media (min-width: 761px) {
  .proof__head { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
  .proof__sub { text-align: right; }
}

/* ---------- why choose us ---------- */

.why {
  padding-block: var(--section);
  background: var(--ink);
  color: var(--on-dark);
}
.why__grid { display: grid; gap: 48px; }
.why__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-dark);
}
.why__item {
  display: grid;
  gap: 6px 32px;
  padding: clamp(20px, 2.2vw, 28px) 0;
  border-bottom: 1px solid var(--line-dark);
}
.why__item h3 {
  font-size: clamp(1.3rem, 1rem + 0.9vw, 1.75rem);
  font-weight: 680;
  font-stretch: 110%;
  letter-spacing: -0.024em;
  line-height: 1.1;
}
.why__item p { color: var(--on-dark-2); }

@media (min-width: 641px) {
  .why__item { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: baseline; }
}
@media (min-width: 961px) {
  .why__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gap);
    row-gap: 72px;
    align-items: start;
  }
  .why__head { grid-column: 1 / span 7; }
  .why__list { grid-column: 1 / span 7; }
  .why__media { grid-column: 9 / span 4; grid-row: 1 / span 2; }
}
@media (max-width: 960px) {
  .why__media { --ar: 4 / 5; max-width: 560px; }
}

/* ---------- about ---------- */

.about { padding-block: var(--section); overflow: hidden; }
.about__grid { display: grid; gap: 40px; }
.about__quote {
  max-width: 17ch;
  font-size: clamp(2.1rem, 1.2rem + 3.3vw, 4.5rem);
  font-weight: 640;
  font-stretch: 108%;
  letter-spacing: -0.04em;
  line-height: 1;
  text-wrap: balance;
}
.about__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 28% 50%; }
.about__body { display: grid; gap: 1.1em; max-width: 54ch; color: var(--text-2); }
.about__body p:first-child { color: var(--text); font-size: 1.1875rem; line-height: 1.55; }

@media (min-width: 961px) {
  .about__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gap);
    row-gap: 72px;
  }
  .about__head { grid-column: 1 / span 4; }
  .about__quote { grid-column: 5 / span 8; }
  .about__media {
    grid-column: 1 / span 6;
    /* run the photo off the left edge of the viewport */
    margin-left: calc(-1 * (max(0px, (100vw - var(--max) - 2 * var(--gutter)) / 2) + var(--gutter)));
  }
  .about__media img { aspect-ratio: 5 / 4; height: 100%; }
  .about__body { grid-column: 8 / span 5; align-self: center; }
}

/* ---------- contact ---------- */

.contact {
  padding-block: var(--section);
  background: var(--ink);
  color: var(--on-dark);
}
.contact__grid { display: grid; gap: 56px; }

/* the two ways to reach Chris are the headline itself */
.contact__title {
  display: grid;
  border-top: 1px solid var(--line-dark);
  font-size: clamp(2.25rem, 1rem + 4.2vw, 5rem);
  font-weight: 740;
  font-stretch: 114%;
  letter-spacing: -0.042em;
  line-height: 1;
}
.contact__action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(18px, 2.2vw, 30px) 0;
  border-bottom: 1px solid var(--line-dark);
  text-decoration: none;
  transition: color 0.3s;
}
.contact__action svg {
  flex: none;
  width: 0.62em;
  height: 0.62em;
  color: var(--cyan);
  transition: transform 0.5s var(--ease);
}
.contact__action:hover { color: var(--cyan); }
.contact__action:hover svg { transform: translateX(8px); }

.contact__sub { margin-top: 28px; max-width: 30ch; font-size: 1.1875rem; color: var(--on-dark-2); }
.contact__details {
  display: grid;
  gap: 26px;
  margin: 0;
}
.contact__details dt {
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--on-dark-2);
}
.contact__details dd {
  margin: 6px 0 0;
  font-size: clamp(1.2rem, 1rem + 0.7vw, 1.6rem);
  font-weight: 620;
  font-stretch: 106%;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}
.contact__details dd a { text-decoration: none; border-bottom: 1px solid var(--line-dark); transition: border-color 0.2s; }
.contact__details dd a:hover { border-color: var(--on-dark); }
.contact__details .is-phone dd {
  font-size: clamp(2rem, 1.2rem + 2.6vw, 3.25rem);
  font-weight: 700;
  font-stretch: 110%;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}

@media (min-width: 961px) {
  .contact__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gap);
    align-items: end;
  }
  .contact__intro { grid-column: 1 / span 7; }
  .contact__details { grid-column: 9 / span 4; }
}

/* ============================================================
   SHARED COMPONENTS
   ============================================================ */

/* ---------- before / after slider ---------- */

.ba { margin: 0; }
.ba__stage {
  --pos: 50%;
  position: relative;
  width: 100%;
  aspect-ratio: var(--ar, 16 / 9);
  max-height: var(--max-h, none);
  overflow: hidden;
  background: var(--ink-3);
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  cursor: ew-resize;
}
@media (max-width: 640px) {
  .ba__stage { aspect-ratio: var(--ar-m, var(--ar, 4 / 3)); }
}
.ba__stage picture,
.ba__before { position: absolute; inset: 0; }
.ba__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--focus, 50% 50%);
  pointer-events: none;
  -webkit-user-drag: none;
}
.ba__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }

.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: -1px;
  width: 2px;
  background: var(--white);
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.28);
}
.ba__knob {
  position: absolute;
  top: 50%;
  left: 0;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: -27px 0 0 -27px;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 8px 28px rgba(8, 12, 20, 0.3);
  transition: transform 0.3s var(--ease);
}
.ba__knob svg { width: 26px; height: 26px; }
.ba__stage.is-dragging .ba__knob { transform: scale(0.9); }

.ba__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}
.ba__range:focus-visible + .ba__handle .ba__knob {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.ba__tag {
  position: absolute;
  top: clamp(12px, 1.6vw, 20px);
  z-index: 2;
  padding: 7px 11px 6px;
  border-radius: 2px;
  background: rgba(12, 18, 32, 0.66);
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
  pointer-events: none;
  transition: opacity 0.3s;
}
@supports (backdrop-filter: blur(1px)) {
  .ba__tag { background: rgba(12, 18, 32, 0.5); backdrop-filter: blur(8px); }
}
.ba__tag--before { left: clamp(12px, 1.6vw, 20px); }
.ba__tag--after { right: clamp(12px, 1.6vw, 20px); }
.ba__stage.hide-before .ba__tag--before,
.ba__stage.hide-after .ba__tag--after { opacity: 0; }

.ba__caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px 24px;
  margin-top: 18px;
}

.ba--bleed .ba__stage { max-height: min(78vh, 880px); }

/* ---------- static before / after pair (different angles) ---------- */

.pair { margin: 0; }
.pair__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(6px, 0.8vw, 12px);
}
.pair__item { position: relative; }
.pair__item img { width: 100%; aspect-ratio: var(--ar, 3 / 5); object-fit: cover; }
.pair__item .ba__tag { left: 12px; right: auto; }
.pair figcaption { margin-top: 16px; }

/* ---------- video frame ---------- */

.vframe {
  position: relative;
  margin: 0;
  aspect-ratio: var(--ar, 9 / 16);
  overflow: hidden;
  background: var(--ink-3);
}
.vframe picture,
.vframe video { position: absolute; inset: 0; width: 100%; height: 100%; }
.vframe img,
.vframe video { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 50%); }
.vframe video { opacity: 0; transition: opacity 0.9s var(--ease); }
.vframe.has-started video { opacity: 1; }

.vframe__toggle {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(12, 18, 32, 0.45);
  color: var(--white);
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}
@supports (backdrop-filter: blur(1px)) {
  .vframe__toggle { background: rgba(12, 18, 32, 0.3); backdrop-filter: blur(8px); }
}
.vframe__toggle:hover { background: rgba(12, 18, 32, 0.7); border-color: var(--white); }
.vframe__toggle svg { width: 16px; height: 16px; }
.vframe__toggle .i-pause { display: none; }
.vframe.is-playing .vframe__toggle .i-pause { display: block; }
.vframe.is-playing .vframe__toggle .i-play { display: none; }

.vframe .ba__tag { left: 14px; }

/* ---------- page hero (services / work) ---------- */

.page-hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(56px, 9vw, 128px)) 0 clamp(64px, 8vw, 120px);
  background: var(--ink);
  color: var(--on-dark);
}
.page-hero__lead {
  max-width: 30ch;
  margin-top: 30px;
  font-size: clamp(1.1875rem, 1rem + 0.6vw, 1.5rem);
  line-height: 1.4;
  color: var(--on-dark-2);
}

/* ---------- closing call to action ---------- */

.cta-band {
  display: grid;
  background: var(--ink);
  color: var(--on-dark);
}
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band__content {
  padding: clamp(56px, 7vw, 104px) var(--gutter);
}
.cta-band__content h2 { margin-bottom: 24px; }
.cta-band__content p:not(.label) { max-width: 30ch; font-size: 1.1875rem; color: var(--on-dark-2); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

@media (min-width: 861px) {
  .cta-band { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); min-height: min(86vh, 780px); }
  .cta-band__media { position: relative; }
  .cta-band__media img { position: absolute; inset: 0; object-position: 38% 30%; }
  .cta-band__content { align-self: center; padding-left: clamp(40px, 5vw, 88px); max-width: 640px; }
}
@media (max-width: 860px) {
  .cta-band__media img { aspect-ratio: 4 / 5; max-height: 72vh; object-position: 30% 35%; }
}
@media (max-width: 520px) {
  .cta-band__actions .btn { flex: 1 1 100%; }
}

/* ---------- footer ---------- */

.site-footer {
  padding: clamp(64px, 8vw, 104px) 0 32px;
  background: var(--ink-deep);
  color: var(--on-dark-2);
  font-size: 0.9375rem;
}
.footer__grid { display: grid; gap: 44px; }
.footer__brand img { width: 72px; height: 72px; border-radius: 50%; }
.footer__name {
  margin-top: 20px;
  color: var(--on-dark);
  font-size: 1.375rem;
  font-weight: 720;
  font-stretch: 114%;
  letter-spacing: -0.025em;
}
.footer__tag { margin-top: 10px; max-width: 30ch; }
.footer__h {
  margin-bottom: 16px;
  font-size: 0.75rem;
  font-weight: 650;
  font-stretch: 100%;
  letter-spacing: 0.18em;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--on-dark);
}
.footer__list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.site-footer a { text-decoration: none; transition: color 0.2s; }
.site-footer a:hover { color: var(--white); }
.site-footer address { font-style: normal; display: grid; gap: 10px; }
.footer__legal {
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  font-size: 0.8125rem;
}

@media (min-width: 761px) {
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1081px) {
  .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.25fr; }
}

/* ============================================================
   SERVICES PAGE
   ============================================================ */

.services-hero__grid { display: grid; gap: 40px; }
.jump {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-dark);
}
.jump a {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-dark);
  font-size: 1.125rem;
  font-weight: 600;
  font-stretch: 106%;
  text-decoration: none;
  transition: color 0.2s;
}
.jump a:hover { color: var(--white); }
.jump span { font-size: 0.8125rem; color: var(--on-dark-2); font-variant-numeric: tabular-nums; }
.jump svg { width: 18px; height: 18px; transform: rotate(90deg); opacity: 0.5; }
.services-hero__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 40%; }

@media (min-width: 641px) and (max-width: 960px), (min-width: 1200px) {
  .jump { grid-template-columns: 1fr 1fr; column-gap: var(--gap); }
}
@media (min-width: 961px) {
  .services-hero { padding-bottom: 0; }
  .services-hero__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gap);
    row-gap: 48px;
  }
  .services-hero__text { grid-column: 1 / span 6; grid-row: 1; }
  .jump { grid-column: 1 / span 6; grid-row: 2; align-self: start; margin-bottom: clamp(64px, 7vw, 112px); }
  /* the photo hangs over the edge into the first service */
  .services-hero__media { grid-column: 8 / span 5; grid-row: 1 / span 2; align-self: end; margin-bottom: -120px; }
}
@media (max-width: 960px) {
  .services-hero__media { max-width: 560px; }
}

/* each service */
.svc { padding-block: var(--section); scroll-margin-top: calc(var(--header-h) - 1px); }
.svc--alt { background: var(--paper-2); }
.svc--dark { background: var(--ink); color: var(--on-dark); }
@media (min-width: 961px) {
  .services-hero + .svc { padding-top: calc(var(--section) + 72px); }
}

.svc__head { display: flex; align-items: baseline; gap: 18px; }
.svc__num {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-2);
  font-variant-numeric: tabular-nums;
}
.svc--dark .svc__num { color: var(--on-dark-2); }
.svc__text { display: grid; gap: 22px; align-content: start; justify-items: start; }
.svc__text .caption { max-width: 34ch; }
.svc--dark .caption { color: var(--on-dark-2); }

/* 01 driveways – heading bar over a wide slider */
.svc-wide__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px 40px;
  margin-bottom: clamp(28px, 3.6vw, 48px);
}

/* 02 sidewalks – staggered video + photo */
.svc-duo { display: grid; gap: 40px; }
.svc-duo__video { --ar: 3 / 4; }
.svc-duo__photo img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; object-position: 50% 45%; }
@media (min-width: 961px) {
  .svc-duo { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
  .svc-duo .svc__text { grid-column: 1 / span 4; position: sticky; top: calc(var(--header-h) + 40px); }
  .svc-duo__video { grid-column: 5 / span 4; }
  .svc-duo__photo { grid-column: 9 / span 4; margin-top: clamp(80px, 10vw, 160px); }
}
@media (max-width: 640px) {
  /* stagger the still against the clip so the pair doesn't read as one long column */
  .svc-duo__photo { width: 76%; margin-left: auto; }
}
@media (min-width: 641px) and (max-width: 960px) {
  .svc-duo { grid-template-columns: 1fr 1fr; }
  .svc-duo .svc__text { grid-column: 1 / -1; }
  .svc-duo__photo { margin-top: 64px; }
}

/* 03 fences – type only, no photo on file */
.svc-type { display: grid; gap: 32px; align-items: end; }
.svc-type__name {
  font-size: clamp(4rem, 1.5rem + 11vw, 12.5rem);
  font-weight: 760;
  font-stretch: 118%;
  letter-spacing: -0.055em;
  line-height: 0.82;
}
@media (min-width: 961px) {
  .svc-type { grid-template-columns: minmax(0, 1fr) auto; }
}

/* 04 patios – full-bleed photograph */
.svc-photo {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: min(92vh, 960px);
  padding-block: var(--section) clamp(40px, 6vw, 80px);
  color: var(--white);
  background: var(--ink);
}
.svc-photo__media { position: absolute; inset: 0; z-index: -2; }
.svc-photo__media picture { height: 100%; }
.svc-photo__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.svc-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(7, 11, 19, 0.7) 0%, rgba(7, 11, 19, 0.25) 34%, rgba(7, 11, 19, 0) 58%);
}
.svc-photo .svc__num { color: rgba(255, 255, 255, 0.8); }
.svc-photo__bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px 40px;
}
.svc-photo .caption { color: rgba(255, 255, 255, 0.82); }

/* 05 / 06 – slider beside a text column */
.svc-split { display: grid; gap: 36px; }
@media (max-width: 960px) {
  .svc-split > .svc__text { order: -1; }
}
@media (min-width: 961px) {
  .svc-split { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
  .svc-split > .ba { grid-column: 1 / span 8; }
  .svc-split > .svc__text { grid-column: 9 / span 4; padding-left: clamp(0px, 2vw, 32px); padding-bottom: 52px; }
  .svc-split--flip > .ba { grid-column: 5 / span 8; grid-row: 1; }
  .svc-split--flip > .svc__text { grid-column: 1 / span 4; grid-row: 1; padding-left: 0; padding-right: clamp(0px, 2vw, 32px); }
}

/* ============================================================
   WORK PAGE
   ============================================================ */

.work-hero { padding-bottom: clamp(140px, 16vw, 260px); }
.work-hero__grid { display: grid; gap: 24px; }
.work-hero__sub { font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem); color: var(--on-dark-2); max-width: 22ch; }
@media (min-width: 761px) {
  .work-hero__grid { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
  .work-hero__sub { text-align: right; }
}

.work-lead { margin-top: calc(-1 * clamp(110px, 13vw, 210px)); position: relative; padding-bottom: var(--section); }

.project { padding-block: var(--section); background: var(--paper-2); }
.project__top {
  display: grid;
  gap: 20px;
  margin-bottom: clamp(36px, 5vw, 72px);
}
@media (min-width: 761px) {
  .project__top { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
}
.project__grid { display: grid; gap: 48px; }
@media (min-width: 961px) {
  .project__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: var(--gap);
    row-gap: clamp(56px, 6vw, 96px);
    align-items: start;
  }
  /* the walkthrough stays in view while the stills scroll past it */
  .project__video {
    grid-column: 1 / span 4;
    grid-row: 1 / span 2;
    position: sticky;
    top: calc(var(--header-h) + 32px);
  }
  .project__pair { grid-column: 6 / span 7; }
  .project__pool { grid-column: 6 / span 4; }
  .project__note { grid-column: 10 / span 3; align-self: end; padding-bottom: 52px; }
}
.project__note h3 {
  font-size: clamp(1.6rem, 1.1rem + 1.4vw, 2.25rem);
  font-weight: 700;
  font-stretch: 110%;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 14px;
}
@media (min-width: 641px) and (max-width: 960px) {
  .project__grid { grid-template-columns: 1fr 1fr; }
  .project__pair { grid-column: 1 / -1; }
}

.more { padding-block: var(--section); }
.more__head { margin-bottom: clamp(32px, 4vw, 56px); }
.more .pair__item img { --ar: 4 / 3; }
@media (max-width: 640px) {
  .more .pair__grid { grid-template-columns: 1fr; }
}
