/* Baboon Pressure Washing: site styles */

@font-face {
  font-family: "Brygada 1918";
  src: url("../fonts/brygada.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Brygada 1918";
  src: url("../fonts/brygada-italic.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

/* Three core colors: charcoal, cream, green. Everything else is a tint of those. */
:root {
  --charcoal: #121212;
  --cream: #fbfbfa;
  --green-core: #2f5d3c;

  --ink: var(--charcoal);
  --ink-2: #1b1b1a;
  --ink-3: #2c2c2a;
  --paper: var(--cream);
  --mist: var(--cream);
  --mist-2: #f0f0ec;
  --line: #e2e1db;
  --sage: var(--green-core);
  --sage-hover: #244a30;
  --mint: #a6c9ab;
  --green: var(--green-core);
  --text: var(--charcoal);
  --muted: #56564f;
  --on-ink: var(--cream);
  --on-ink-muted: #b7b6ae;

  --display: "Brygada 1918", Georgia, "Times New Roman", serif;
  --body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-in-out-strong: cubic-bezier(0.77, 0, 0.175, 1);

  --wrap: 1240px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(4.5rem, 10vw, 9rem);
  --radius: 8px;
  --radius-lg: 12px;

  --z-bar: 20;
  --z-menu: 28;
  --z-header: 30;
}

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

html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

a { color: var(--green); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }

:focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 3px;
  border-radius: 6px;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-wrap: balance;
  margin: 0;
}
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); color: var(--green); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.1; color: var(--ink); }
p { margin: 0; text-wrap: pretty; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--section) calc(var(--section) * 1.08); }
.section--mist { background: var(--mist); }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 60ch; }
.stack > * + * { margin-top: 1.1rem; }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head p { margin-top: 1rem; }

.skip {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--ink); color: var(--on-ink); padding: 0.75rem 1rem; border-radius: 8px;
}
.skip:focus { top: 1rem; }

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

/* Icons */
.i { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.i--fill { fill: currentColor; stroke: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 52px; padding: 0.85rem 1.5rem;
  border-radius: 999px; border: 0;
  font: 600 1rem/1.1 var(--body);
  text-decoration: none; cursor: pointer;
  touch-action: manipulation; user-select: none; -webkit-user-select: none;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn--sage { background: var(--sage); color: var(--ink); }
.btn--ghost { background: transparent; color: var(--on-ink); box-shadow: inset 0 0 0 1.5px rgba(244, 247, 244, 0.55); }
.btn--ink { background: var(--ink); color: var(--on-ink); }
.btn--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .btn--sage:hover { background: var(--sage-hover); }
  .btn--ghost:hover { background: rgba(244, 247, 244, 0.1); }
  .btn--ink:hover { background: var(--ink-3); }
  .btn--line:hover { background: var(--ink); color: var(--on-ink); }
  a:hover { text-decoration-thickness: 2px; }
}

/* Promo bar */
.promo {
  background: var(--sage); color: var(--ink);
  font-size: clamp(0.82rem, 2.4vw, 0.9rem); font-weight: 600; text-align: center;
  padding: 0.55rem var(--gutter);
}
.promo a { color: inherit; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid rgba(18, 20, 18, 0.08);
}
.site-header__in { display: flex; align-items: center; gap: 1.5rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { width: 52px; height: 52px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.brand span { font-family: var(--display); text-transform: uppercase; font-size: 0.95rem; line-height: 1.05; letter-spacing: 0.01em; }
@media (min-width: 1200px) { .brand small { display: none !important; } }
@media (min-width: 1200px) { .brand span { max-width: 12.5rem; } .site-header__in { gap: 1rem; } .nav a { padding-inline: 0.7rem; } }
.brand small { display: block; font-family: var(--body); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.08em; color: var(--green); }

.nav { display: none; }
.nav ul { list-style: none; display: flex; gap: 0.25rem; margin: 0; padding: 0; }
.nav a {
  display: block; white-space: nowrap; padding: 0.55rem 0.8rem; border-radius: 999px;
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem;
  transition: background-color 200ms ease;
}
.nav a[aria-current="page"] { background: var(--mist-2); }
@media (hover: hover) and (pointer: fine) { .nav a:hover { background: var(--mist); } }
.header-call { display: none; white-space: nowrap; }

.menu-btn {
  display: inline-grid; place-items: center; width: 48px; height: 48px;
  border: 0; border-radius: 50%; background: var(--mist); color: var(--ink); cursor: pointer;
  touch-action: manipulation;
}
.menu-btn .bars { position: relative; width: 20px; height: 14px; }
.menu-btn .bars span {
  position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform 260ms var(--ease-out), opacity 160ms ease;
}
.menu-btn .bars span:nth-child(1) { top: 0; }
.menu-btn .bars span:nth-child(2) { top: 6px; }
.menu-btn .bars span:nth-child(3) { top: 12px; }
.menu-open .menu-btn .bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn .bars span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn .bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (min-width: 1200px) {
  .nav { display: block; }
  .header-call { display: inline-flex; min-height: 46px; padding: 0.7rem 1.15rem; }
  .menu-btn { display: none; }
}

/* Mobile menu sheet */
.sheet {
  position: fixed; inset: 0; z-index: var(--z-menu);
  background: var(--ink); color: var(--on-ink);
  padding: calc(env(safe-area-inset-top) + 150px) var(--gutter) calc(env(safe-area-inset-bottom) + 2rem);
  display: flex; flex-direction: column; gap: 2rem;
  overflow-y: auto; overscroll-behavior: contain;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 420ms var(--ease-drawer), visibility 0s linear 420ms;
}
.menu-open .sheet { transform: none; visibility: visible; transition: transform 420ms var(--ease-drawer); }
.menu-open .site-header { background: var(--ink); border-color: transparent; }
.menu-open .site-header .brand { color: var(--on-ink); }
.menu-open .site-header .brand small { color: var(--mint); }
.menu-open .menu-btn { background: var(--ink-3); color: var(--on-ink); }
.sheet ul { list-style: none; margin: 0; padding: 0; }
.sheet li a {
  display: block; padding: 0.6rem 0;
  font-family: var(--display); text-transform: uppercase; font-size: clamp(1.6rem, 7vw, 2.2rem); line-height: 1.1;
  color: var(--on-ink); text-decoration: none;
  opacity: 0; transform: translateY(14px);
  transition: opacity 300ms var(--ease-out), transform 420ms var(--ease-out);
}
.sheet li a[aria-current="page"] { color: var(--mint); }
.menu-open .sheet li a { opacity: 1; transform: none; }
.menu-open .sheet li:nth-child(2) a { transition-delay: 40ms; }
.menu-open .sheet li:nth-child(3) a { transition-delay: 80ms; }
.menu-open .sheet li:nth-child(4) a { transition-delay: 120ms; }
.menu-open .sheet li:nth-child(5) a { transition-delay: 160ms; }
.menu-open .sheet li:nth-child(6) a { transition-delay: 200ms; }
.menu-open .sheet li:nth-child(7) a { transition-delay: 240ms; }
.menu-open .sheet li:nth-child(8) a { transition-delay: 280ms; }
.sheet__cta { display: grid; gap: 0.75rem; margin-top: auto; }
.menu-open { overflow: hidden; }
@media (min-width: 1200px) { .sheet { display: none; } }

/* Hero */
.hero {
  position: relative; isolation: isolate;
  background: var(--ink); color: var(--on-ink);
  min-height: min(calc(100svh - 110px), 820px);
  display: grid; align-items: end;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(18, 20, 18, 0.96) 0%, rgba(18, 20, 18, 0.78) 34%, rgba(18, 20, 18, 0.2) 70%, rgba(18, 20, 18, 0.35) 100%),
    linear-gradient(to right, rgba(18, 20, 18, 0.6), rgba(18, 20, 18, 0) 65%);
}
.hero__in { padding-block: clamp(3rem, 12vh, 9rem) clamp(2rem, 6vh, 4.5rem); }
.hero h1 {
  font-size: clamp(2.1rem, 6vw, 4.75rem);
  line-height: 0.98;
  letter-spacing: -0.015em;
  max-width: 17ch;
  color: var(--cream);
}
.hero h1 em { font-style: normal; color: var(--mint); }
.hero__sub { margin-top: 1rem; font-size: clamp(1.08rem, 1.7vw, 1.3rem); color: var(--on-ink-muted); max-width: 40ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.6rem; }
@media (max-width: 520px) { .hero__cta .btn { flex: 1 1 100%; min-height: 50px; } .hero__sub { font-size: 1.02rem; } }
.hero .reveal { opacity: 0; transform: translateY(18px); filter: blur(6px); animation: rise 900ms var(--ease-out) forwards; }
.hero .reveal:nth-child(2) { animation-delay: 90ms; }
.hero .reveal:nth-child(3) { animation-delay: 180ms; }
@keyframes rise { to { opacity: 1; transform: none; filter: none; } }
@media (prefers-reduced-motion: reduce) { .hero .reveal { opacity: 1; transform: none; filter: none; animation: none; } }

.hero--page { min-height: 0; }
.hero--page .hero__in { padding-block: clamp(4.5rem, 12vw, 8rem) clamp(2.5rem, 6vw, 4rem); }
.hero--page h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); max-width: 16ch; }

/* Proof strip under hero */
.proof {
  background: var(--ink-2); color: var(--on-ink);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.proof__in { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 2.25rem; padding-block: 1.1rem; font-weight: 600; }
.proof__item { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--on-ink); text-decoration: none; }
.proof__item .i { color: var(--mint); }
.stars { display: inline-flex; gap: 2px; color: #f5c044; }
.stars .i { width: 1.05em; height: 1.05em; }

/* Before / after slider */
.ba-grid { display: grid; gap: clamp(1.25rem, 3vw, 2rem); }
@media (min-width: 760px) { .ba-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .ba-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.ba {
  margin: 0; background: var(--paper); border-radius: var(--radius-lg);
  box-shadow: 0 1px 0 rgba(18, 20, 18, 0.04), 0 18px 40px -26px rgba(30, 60, 36, 0.45);
  overflow: hidden;
}
.ba__slider {
  --pos: 50%;
  position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--ink);
  cursor: ew-resize; touch-action: pan-y;
  user-select: none; -webkit-user-select: none;
}
.ba__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 100%;
  pointer-events: none; -webkit-user-drag: none;
}
.ba__img--before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__tag {
  position: absolute; top: 14px; z-index: 2;
  padding: 0.35rem 0.75rem; border-radius: 999px;
  font: 700 0.8rem/1 var(--body); letter-spacing: 0.06em; text-transform: uppercase;
  background: rgba(18, 20, 18, 0.72); color: var(--cream);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: opacity 200ms ease;
}
.ba__tag--before { left: 14px; }
.ba__tag--after { right: 14px; background: var(--sage); color: var(--ink); }
.ba__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 3;
  width: 3px; margin-left: -1.5px; background: #fff;
  box-shadow: 0 0 0 1px rgba(18, 20, 18, 0.15), 0 0 18px rgba(18, 20, 18, 0.35);
  pointer-events: none;
}
.ba__knob {
  position: absolute; top: 50%; left: 50%;
  width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; color: var(--ink);
  box-shadow: 0 10px 24px -8px rgba(18, 20, 18, 0.55);
  transition: transform 220ms var(--ease-out), background-color 200ms ease;
}
.ba__knob .i { width: 22px; height: 22px; stroke-width: 2.2; }
.ba.is-dragging .ba__knob { transform: scale(1.12); background: var(--sage); }
.ba__range {
  position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; margin: 0;
}
.ba__range:focus-visible ~ .ba__handle .ba__knob { outline: 3px solid var(--mint); outline-offset: 3px; }
.ba.is-animating .ba__img--before { transition: clip-path 900ms var(--ease-in-out-strong); }
.ba.is-animating .ba__handle { transition: left 900ms var(--ease-in-out-strong); }
.ba__photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.ba figcaption { padding: 1rem 1.25rem 1.2rem; display: flex; flex-wrap: wrap; gap: 0.35rem 1rem; align-items: baseline; justify-content: space-between; }
.ba figcaption strong { font-family: var(--display); text-transform: uppercase; font-weight: 400; font-size: 1.05rem; }
.ba figcaption span { color: var(--muted); font-size: 0.95rem; }

/* Services */
.svc { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.svc-feature {
  display: grid; gap: 0; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--paper); box-shadow: 0 18px 40px -28px rgba(30, 60, 36, 0.5);
}
.svc-feature__img { position: relative; min-height: 320px; background: var(--ink); }
.svc-feature__img img, .svc-feature__img video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc-feature__img img.pos-bottom { object-position: 50% 85%; }
.svc-feature__body { padding: clamp(1.5rem, 4vw, 3rem); display: flex; flex-direction: column; gap: 1rem; }
.svc-feature__body h3 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.svc-feature__body p { color: var(--muted); max-width: 52ch; }
.svc-feature__body .btn { align-self: flex-start; margin-top: auto; }
.ticks { list-style: none; padding: 0; margin: 0.25rem 0 0.5rem; display: grid; gap: 0.5rem; }
.ticks li { display: flex; gap: 0.6rem; align-items: flex-start; }
.ticks .i { color: var(--green); margin-top: 0.2em; }
@media (min-width: 860px) {
  .svc-feature { grid-template-columns: 1fr 1fr; min-height: 520px; }
  .svc-feature--flip .svc-feature__img { order: 2; }
}
.svc-more {
  display: grid; gap: 1.5rem 3rem; padding: clamp(1.5rem, 4vw, 2.75rem);
  border-radius: var(--radius-lg); background: var(--ink); color: var(--on-ink);
}
.svc-more h3 { color: var(--cream); }
.svc-more p { color: var(--on-ink-muted); margin-top: 0.75rem; max-width: 40ch; }
.svc-more ul { list-style: none; margin: 0; padding: 0; columns: 2 12rem; column-gap: 2rem; }
.svc-more li { break-inside: avoid; padding: 0.55rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); display: flex; gap: 0.6rem; align-items: center; }
.svc-more li .i { color: var(--mint); }
.svc-more a { color: var(--mint); }
@media (min-width: 860px) { .svc-more { grid-template-columns: 0.9fr 1.4fr; align-items: start; } }

/* Soft wash process */
.process { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.process__media { border-radius: var(--radius-lg); overflow: hidden; background: var(--ink); max-width: 440px; justify-self: center; width: 100%; box-shadow: 0 30px 60px -36px rgba(18, 20, 18, 0.7); }
.process__media video, .process__media img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }
.steps { list-style: none; counter-reset: s; margin: 1.75rem 0 0; padding: 0; display: grid; gap: 1.1rem; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 2.75rem 1fr; gap: 1rem; align-items: start; }
.steps li::before {
  content: counter(s); display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%;
  background: var(--sage); color: var(--ink); font-family: var(--display); font-size: 1.05rem;
}
.steps strong { display: block; font-size: 1.1rem; color: var(--ink); }
.steps span { color: var(--muted); }
@media (min-width: 900px) { .process { grid-template-columns: 0.8fr 1.2fr; } }

/* Reviews */
.reviews-top { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.score { display: flex; align-items: center; gap: 1rem; }
.score b { font-family: var(--display); font-size: clamp(3rem, 6vw, 4.5rem); line-height: 1; color: var(--ink); }
.score div > span:not(.stars) { display: block; color: var(--muted); font-weight: 600; }
.score .stars { font-size: 1.15rem; }
.quotes { columns: 3 18rem; column-gap: 1.25rem; }
.quote {
  break-inside: avoid; margin: 0 0 1.25rem; padding: 1.5rem 1.5rem 1.35rem;
  background: var(--paper); border-radius: var(--radius); box-shadow: 0 1px 0 var(--line), 0 14px 30px -24px rgba(30, 60, 36, 0.45);
}
.quote blockquote { margin: 0.75rem 0 1rem; font-size: 1.05rem; line-height: 1.55; color: var(--text); }
.quote figcaption { font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.quote figcaption span { display: block; font-weight: 400; color: var(--muted); font-size: 0.88rem; }
.quote--big { background: var(--ink); color: var(--on-ink); box-shadow: none; }
.quote--big blockquote { color: var(--cream); font-size: 1.25rem; }
.quote--big figcaption { color: var(--cream); }
.quote--big figcaption span { color: var(--on-ink-muted); }

/* Owner */
.owner { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.owner__photo { position: relative; max-width: 460px; width: 100%; justify-self: center; }
.owner__photo img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.owner__seal {
  position: absolute; right: -14px; bottom: -18px; width: 112px; height: 112px; border-radius: 50%;
  background: #fff; box-shadow: 0 12px 30px -12px rgba(18, 20, 18, 0.5); padding: 4px;
}
.owner__seal img { border-radius: 50%; aspect-ratio: 1; }
.owner blockquote { margin: 0; font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.45; color: var(--ink); max-width: 36ch; }
@media (min-width: 900px) { .owner { grid-template-columns: 1fr 1.1fr; } }

/* Areas */
.areas { display: grid; gap: 1px; background: var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.area { background: var(--paper); padding: clamp(1.25rem, 3vw, 2rem); }
.area h3 { font-size: 1.15rem; color: var(--green); margin-bottom: 0.6rem; }
.area p { color: var(--muted); font-size: 0.98rem; }
@media (min-width: 760px) { .areas { grid-template-columns: 1fr 1fr; } }

/* FAQ */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq__item { display: grid; gap: 0.5rem 3rem; padding-block: 1.5rem; border-bottom: 1px solid var(--line); }
.faq__item h3 { font-family: var(--body); text-transform: none; font-weight: 700; font-size: 1.15rem; line-height: 1.35; letter-spacing: 0; }
.faq__item p { color: var(--muted); max-width: 64ch; }
@media (min-width: 860px) { .faq__item { grid-template-columns: 0.9fr 1.3fr; } }

/* Quote form */
.cta-band { background: var(--ink); color: var(--on-ink); }
.cta-band h2 { color: var(--cream); }
.cta-band .lede { color: var(--on-ink-muted); }
.quote-wrap { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (min-width: 960px) { .quote-wrap { grid-template-columns: 0.85fr 1.15fr; } }
.contact-lines { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 0.9rem; }
.contact-lines a { color: var(--cream); text-decoration: none; display: inline-flex; align-items: center; gap: 0.75rem; font-weight: 600; font-size: 1.1rem; }
.contact-lines .i { color: var(--mint); width: 1.4em; height: 1.4em; }
.contact-lines small { display: block; color: var(--on-ink-muted); font-weight: 400; font-size: 0.9rem; margin-left: 2.15rem; }
@media (hover: hover) and (pointer: fine) { .contact-lines a:hover { color: var(--mint); } }

.form {
  background: var(--paper); color: var(--text); border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 4vw, 2.5rem);
  display: grid; gap: 1.1rem;
}
.form h3 { color: var(--ink); }
.form .row { display: grid; gap: 1.1rem; }
@media (min-width: 620px) { .form .row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.4rem; }
.field label, .field legend { font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 52px; padding: 0.8rem 1rem;
  font: 400 16px/1.4 var(--body); color: var(--text);
  background: var(--mist); border: 1.5px solid transparent; border-radius: 12px;
  transition: border-color 200ms ease, background-color 200ms ease;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--green); background: #fff; }
.field input::placeholder, .field textarea::placeholder { color: #5a655b; }
.field[data-invalid] input, .field[data-invalid] textarea { border-color: #b3261e; background: #fff6f5; }
.field .err { color: #b3261e; font-size: 0.9rem; font-weight: 600; display: none; }
.field[data-invalid] .err { display: block; }
.checks { display: flex; flex-wrap: wrap; gap: 0.5rem; border: 0; margin: 0; padding: 0; }
.checks legend { display: block; width: 100%; margin-bottom: 0.5rem; padding: 0; font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0.5rem 0.95rem;
  border-radius: 999px; background: var(--mist); font-weight: 600; font-size: 0.95rem;
  transition: background-color 200ms ease, color 200ms ease, transform 160ms var(--ease-out);
  user-select: none; -webkit-user-select: none;
}
.chip input:checked + span { background: var(--green); color: var(--cream); }
.chip input:focus-visible + span { outline: 3px solid var(--mint); outline-offset: 2px; }
.chip:active span { transform: scale(0.97); }
.file {
  display: grid; gap: 0.35rem; padding: 1rem; border-radius: 12px;
  border: 1.5px dashed var(--line); background: var(--mist);
}
.file input { font: inherit; font-size: 15px; }
.file small { color: var(--muted); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { width: 100%; min-height: 56px; font-size: 1.05rem; }
.form .btn[disabled] { opacity: 0.6; cursor: progress; }
.form__note { color: var(--muted); font-size: 0.9rem; text-align: center; }
.alert { padding: 1rem 1.15rem; border-radius: 12px; font-weight: 600; }
.alert--err { background: #fff0ee; color: #8c1d18; }

/* Page content */
.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1.15rem; }
.prose h2 { margin-top: 3rem; font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.prose h3 { margin-top: 2rem; }
.prose ul { padding-left: 1.2rem; }
.prose li + li { margin-top: 0.45rem; }
.two-col { display: grid; gap: clamp(2rem, 5vw, 4rem); }
@media (min-width: 960px) { .two-col { grid-template-columns: 1.35fr 0.9fr; align-items: start; } }
.aside-card { background: var(--mist); border-radius: var(--radius-lg); padding: clamp(1.25rem, 3vw, 2rem); position: sticky; top: 100px; }
.aside-card h3 { margin-bottom: 0.75rem; }
.aside-card .btn { width: 100%; margin-top: 0.75rem; }
.aside-card p { color: var(--muted); }
.crumbs { font-size: 0.92rem; color: var(--on-ink-muted); margin-bottom: 1.25rem; }
.crumbs a { color: var(--on-ink-muted); }
.crumbs span[aria-current] { color: var(--cream); }

.gallery-grid { display: grid; gap: clamp(1.25rem, 3vw, 2rem); }
@media (min-width: 900px) { .gallery-grid { grid-template-columns: 1fr 1fr; } }
.photo-row { display: grid; gap: 1rem; margin-top: clamp(2rem, 4vw, 3rem); }
.photo-row figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink); position: relative; }
.photo-row img, .photo-row video { width: 100%; aspect-ratio: 9 / 14; object-fit: cover; }
.photo-row figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1.1rem 1rem; color: var(--cream); font-weight: 600; background: linear-gradient(to top, rgba(18,20,18,.85), transparent); }
@media (min-width: 760px) { .photo-row { grid-template-columns: repeat(3, 1fr); } }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-ink-muted); padding-block: clamp(3.5rem, 7vw, 5rem) calc(2rem + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, 0.06); }
.site-footer a { color: var(--on-ink); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .site-footer a:hover { color: var(--mint); } }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.footer-brand { display: flex; gap: 1rem; align-items: center; }
.footer-brand img { width: 76px; height: 76px; border-radius: 50%; background: #fff; }
.footer-brand b { font-family: var(--display); font-weight: 400; text-transform: uppercase; color: var(--cream); font-size: 1.1rem; line-height: 1.1; }
.site-footer h2 { font-family: var(--body); text-transform: none; font-size: 0.85rem; letter-spacing: 0.08em; color: var(--mint); font-weight: 700; margin-bottom: 0.9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.socials { display: flex; gap: 0.5rem; margin-top: 1.25rem; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink-3); color: var(--cream); transition: background-color 200ms ease, transform 160ms var(--ease-out); }
.socials a:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) { .socials a:hover { background: var(--green); color: var(--cream); } }
.footer-legal { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.08); display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; font-size: 0.9rem; }

/* Sticky mobile action bar */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-bar);
  display: grid; grid-template-columns: 1fr 1fr 1.35fr; gap: 0.5rem;
  padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom));
  background: rgba(18, 20, 18, 0.94);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transform: translateY(110%); transition: transform 420ms var(--ease-drawer);
}
.action-bar.is-on { transform: none; }
.action-bar .btn { min-height: 48px; padding: 0.6rem 0.5rem; font-size: 0.95rem; gap: 0.4rem; }
.action-bar .btn--ghost { box-shadow: inset 0 0 0 1.5px rgba(244, 247, 244, 0.35); }
@media (min-width: 1200px) { .action-bar { display: none; } }
@media (max-width: 1199px) { .site-footer { padding-bottom: calc(6.5rem + env(safe-area-inset-bottom)); } }

/* Scroll reveals (only when JS is running and motion is welcome) */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0; transform: translateY(28px); filter: blur(6px);
    transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out), filter 700ms var(--ease-out);
    transition-delay: var(--d, 0ms);
  }
  .js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
  .js [data-reveal="wipe"] {
    opacity: 1; filter: none; transform: none;
    clip-path: inset(100% 0 0 0 round var(--radius-lg));
    transition: clip-path 1100ms var(--ease-in-out-strong);
    transition-delay: var(--d, 0ms);
  }
  .js [data-reveal="wipe"].is-in { clip-path: inset(0 0 0 0 round var(--radius-lg)); }
  .js [data-reveal="wipe"] img, .js [data-reveal="wipe"] video { transform: scale(1.12); transition: transform 1400ms var(--ease-out); transition-delay: var(--d, 0ms); }
  .js [data-reveal="wipe"].is-in img, .js [data-reveal="wipe"].is-in video { transform: none; }
}

/* Smooth page-to-page transitions (Chrome, Edge, Safari 18+) */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
.promo { view-transition-name: promo; }
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) { animation: vt-out 260ms var(--ease-out) both; }
  ::view-transition-new(root) { animation: vt-in 520ms var(--ease-out) both; }
}
@keyframes vt-out { to { opacity: 0; transform: translateY(-12px); filter: blur(4px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } }

/* Hover details (mouse only) */
.btn .i { transition: transform 220ms var(--ease-out); }
.svc-feature__img img { transition: transform 900ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover .i:last-child { transform: translateX(3px); }
  .svc-feature:hover .svc-feature__img img { transform: scale(1.04); }
  .quote { transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out); }
  .quote:hover { transform: translateY(-3px); box-shadow: 0 1px 0 var(--line), 0 22px 40px -24px rgba(30, 60, 36, 0.55); }
  .ba__slider:hover .ba__knob { transform: scale(1.06); }
}
.ba.hide-before .ba__tag--before, .ba.hide-after .ba__tag--after { opacity: 0; }

/* Centered before/after photos (no baked-in labels) */
.ba--center .ba__img { object-position: 50% 50%; }
@media (min-width: 760px) { .ba-grid--2 { grid-template-columns: repeat(2, 1fr); max-width: 980px; } }

/* Inline photo / video inside prose */
.inline-photo, .inline-video { margin: 1.5rem 0 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink); }
.inline-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.inline-photo figcaption { padding: 0.75rem 1rem; color: var(--on-ink-muted); font-size: 0.92rem; }
.inline-video { max-width: 360px; }
.inline-video video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; }

/* Rig band on home */
.rig-band { background: var(--ink); color: var(--on-ink); }
.rig-band h2 { color: var(--cream); }
.rig-band .lede { color: var(--on-ink-muted); margin-top: 1rem; }
.rig-band__in { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.rig-band__media { border-radius: var(--radius-lg); overflow: hidden; max-width: 460px; width: 100%; justify-self: center; }
.rig-band__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.rig-chips { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.rig-chips li { padding: 0.5rem 0.9rem; border-radius: 999px; background: var(--ink-3); color: var(--cream); font-weight: 600; font-size: 0.95rem; }
.rig-chips li::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); margin-right: 0.5rem; vertical-align: 1px; }
.rig-band__links { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
@media (min-width: 900px) { .rig-band__in { grid-template-columns: 0.85fr 1.15fr; } }

/* Rig specs */
.specs { display: grid; gap: 1rem; }
@media (min-width: 640px) { .specs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .specs { grid-template-columns: repeat(3, 1fr); } }
.spec { padding: clamp(1.25rem, 3vw, 1.75rem); border-radius: var(--radius-lg); background: var(--mist); }
.spec:nth-child(1), .spec:nth-child(4) { background: var(--ink); color: var(--on-ink); }
.spec b { display: block; font-family: var(--display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.05; color: var(--green); }
.spec:nth-child(1) b, .spec:nth-child(4) b { color: var(--mint); }
.spec p { margin-top: 0.6rem; color: var(--muted); }
.spec:nth-child(1) p, .spec:nth-child(4) p { color: var(--on-ink-muted); }
.photo-row img[width="1400"] { aspect-ratio: 9 / 14; }

/* Rig band video */
.rig-band__media video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }

/* Service area map */
.map-wrap { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.map-fig { margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: 0 1px 0 var(--line), 0 24px 50px -30px rgba(30, 60, 36, 0.55); max-width: 640px; justify-self: center; width: 100%; }
.map-fig img { width: 100%; height: auto; }
@media (min-width: 900px) { .map-wrap { grid-template-columns: 0.8fr 1.2fr; } }

/* Promo popup */
.promo-pop {
  border: 0; padding: 0; margin: auto;
  width: min(100% - 2rem, 820px); max-height: calc(100dvh - 2rem);
  border-radius: var(--radius-lg); overflow: auto; overscroll-behavior: contain;
  background: var(--paper); color: var(--text);
  box-shadow: 0 40px 90px -30px rgba(18, 20, 18, 0.7);
}
.promo-pop[open] { display: grid; }
.promo-pop::backdrop { background: rgba(18, 20, 18, 0.62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.promo-pop__img { background: var(--ink); }
.promo-pop__img img { width: 100%; height: 230px; object-fit: cover; object-position: 50% 45%; }
.promo-pop__body { padding: clamp(1.5rem, 4vw, 2.5rem); display: grid; gap: 1rem; align-content: center; }
.promo-pop__body h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); color: var(--green); }
.promo-pop__body p { color: var(--muted); }
.promo-pop__body .btn { justify-self: start; margin-top: 0.5rem; }
.promo-pop__x {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 44px; height: 44px; border: 0; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: rgba(255, 255, 255, 0.92); color: var(--ink);
  box-shadow: 0 6px 16px -8px rgba(18, 20, 18, 0.6);
  transition: transform 160ms var(--ease-out), background-color 200ms ease;
}
.promo-pop__x:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) { .promo-pop__x:hover { background: #fff; } }
@media (min-width: 700px) {
  .promo-pop[open] { grid-template-columns: 0.85fr 1.15fr; }
  .promo-pop__img img { height: 100%; min-height: 420px; }
}
@media (prefers-reduced-motion: no-preference) {
  .promo-pop[open] { animation: pop-in 520ms var(--ease-out) both; }
  .promo-pop[open]::backdrop { animation: fade-in 400ms ease both; }
  .promo-pop.is-closing { animation: pop-out 200ms ease-in both; }
}
@keyframes pop-in { from { opacity: 0; transform: translateY(18px) scale(0.96); filter: blur(4px); } }
@keyframes pop-out { to { opacity: 0; transform: translateY(8px) scale(0.98); } }
@keyframes fade-in { from { opacity: 0; } }
@media (max-width: 699px) {
  .promo-pop__img img { height: 30dvh; max-height: 220px; object-position: 50% 30%; }
  .promo-pop__body { gap: 0.75rem; padding: 1.25rem 1.25rem 1.5rem; }
  .promo-pop__body h2 { font-size: 1.55rem; }
  .promo-pop__body p { font-size: 0.98rem; line-height: 1.5; }
  .promo-pop__body .btn { justify-self: stretch; }
}
.promo-pop__body:focus { outline: none; }


/* ===== Editorial layer: serif display, cream ground, three colors ===== */
h1, h2, h3 {
  font-family: var(--display); font-weight: 560; text-transform: none;
  letter-spacing: -0.03em; line-height: 1;
}
h2 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); color: var(--charcoal); }
h2 em, h1 em { font-style: italic; font-weight: 400; color: var(--green); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); letter-spacing: -0.02em; }

.overline {
  display: block; margin: 0 0 1.1rem;
  font: 600 0.74rem/1 var(--body); letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--green);
}
.cta-band .overline, .rig-band .overline, .hero .overline { color: var(--mint); }

@media (min-width: 900px) {
  .section-head { max-width: none; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); column-gap: clamp(2rem, 6vw, 6rem); align-items: end; }
  .section-head > .overline, .section-head > h2 { grid-column: 1; }
  .section-head > p:not(.overline) { grid-column: 2; margin-top: 0; padding-bottom: 0.4rem; }
}
.section--mist + .section, .section + .section--mist, .section + .section { border-top: 1px solid var(--line); }
.cta-band, .rig-band, .hero + .proof + .section { border-top: 0 !important; }

/* Hero */
.hero h1 {
  font-size: clamp(2.7rem, 7.4vw, 6.6rem); line-height: 0.94; letter-spacing: -0.04em;
  font-weight: 520; max-width: 12ch; color: var(--cream);
}
.hero h1 em { color: var(--mint); }
.hero--page h1 { font-size: clamp(2.5rem, 6.2vw, 5.4rem); max-width: 14ch; }

/* Buttons: squared editorial pills */
.btn { border-radius: 6px; letter-spacing: 0.01em; }
.btn--sage { color: var(--cream); }
.btn--sage:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .btn--sage:hover { background: var(--sage-hover); } }

/* Promo bar */
.promo { background: var(--green); color: var(--cream); }

/* Header wordmark */
.brand span { font-family: var(--display); text-transform: none; font-size: 1.15rem; font-weight: 600; letter-spacing: -0.02em; }
.brand small { font-family: var(--body); letter-spacing: 0.2em; font-size: 0.66rem; color: var(--green); }
.sheet li a { font-family: var(--display); text-transform: none; font-weight: 480; letter-spacing: -0.03em; font-size: clamp(2rem, 9vw, 2.8rem); }
.footer-brand b { font-family: var(--display); text-transform: none; font-weight: 560; font-size: 1.3rem; }

/* Stars and score in brand green, not a fourth color */
.stars { color: var(--mint); }
.quotes .stars, .reviews-top .stars { color: var(--green); }
.score b { font-family: var(--display); font-weight: 500; letter-spacing: -0.04em; }

/* Flatter surfaces: hairlines instead of soft shadows */
.ba, .quote, .svc-feature, .map-fig { box-shadow: none; border: 1px solid var(--line); }
.ba figcaption strong { font-family: var(--display); text-transform: none; font-weight: 560; font-size: 1.2rem; letter-spacing: -0.02em; }
.ba__tag { border-radius: 4px; letter-spacing: 0.16em; font-size: 0.7rem; }
.ba__tag--after { background: var(--green); color: var(--cream); }
.ba.is-dragging .ba__knob { background: var(--green); color: var(--cream); }

/* Reviews: editorial pull quotes */
.quote blockquote { font-family: var(--display); font-style: italic; font-weight: 400; font-size: 1.2rem; line-height: 1.45; letter-spacing: -0.01em; }
.quote--big blockquote { font-size: clamp(1.4rem, 2.2vw, 1.75rem); }
.quote--big { background: var(--charcoal); border-color: var(--charcoal); }

/* Services */
.svc-feature__body h3 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
.svc-more h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.svc-more li .i, .ticks .i { color: var(--green); }
.svc-more li .i { color: var(--mint); }

/* Process steps */
.steps li::before { background: transparent; color: var(--green); border: 1px solid var(--green); font-family: var(--display); font-style: italic; font-weight: 500; font-size: 1.25rem; }

/* FAQ in serif */
.faq__item h3 { font-family: var(--display); font-weight: 520; font-size: clamp(1.25rem, 1.8vw, 1.5rem); letter-spacing: -0.015em; line-height: 1.2; }

/* Areas, specs, owner */
.area h3 { font-family: var(--display); text-transform: none; font-size: 1.35rem; color: var(--charcoal); }
.areas { background: var(--line); }
.spec { background: var(--mist-2); }
.spec:nth-child(1), .spec:nth-child(4) { background: var(--charcoal); }
.spec b { font-family: var(--display); text-transform: none; font-weight: 520; letter-spacing: -0.03em; color: var(--charcoal); font-size: clamp(1.6rem, 9cqi, 2.6rem); }
.spec:nth-child(1) b, .spec:nth-child(4) b { color: var(--cream); }
.spec { container-type: inline-size; }
.owner blockquote { font-family: var(--display); font-style: italic; font-weight: 400; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.3; letter-spacing: -0.015em; }
.owner__seal { box-shadow: 0 0 0 1px var(--line); }

/* Form */
.form h3 { font-size: clamp(1.6rem, 2.6vw, 2rem); }
.field input, .field textarea, .field select, .chip span, .file { background: var(--mist-2); }
.chip input:checked + span { background: var(--green); color: var(--cream); }

/* Popup */
.promo-pop__body h2 { color: var(--charcoal); font-size: clamp(1.9rem, 4vw, 2.8rem); }

/* Rig band chips */
.rig-chips li { border-radius: 4px; background: var(--ink-3); }
.rig-chips li::before { background: var(--mint); }

/* Container-aware cards */
.ba, .svc-feature__body, .quote { container-type: inline-size; }
@container (max-width: 340px) {
  .ba figcaption { flex-direction: column; }
  .svc-feature__body .btn { width: 100%; }
}
.hero h1 { letter-spacing: -0.028em; }
.owner .stack > blockquote { margin-top: 1.6rem; }

/* ===== Pop pass: rounded media, bolder motion, more green ===== */
:root { --radius-lg: 22px; --radius: 14px; }
.photo-row figure, .ba, .svc-feature, .process__media, .owner__photo img, .map-fig,
.inline-photo, .inline-video, .ba__photo, .rig-band__media, .spec, .quote, .aside-card, .form { border-radius: var(--radius-lg); }
.svc-feature__img { border-radius: 0; }
.ba__slider { border-radius: calc(var(--radius-lg) - 1px) calc(var(--radius-lg) - 1px) 0 0; }

/* Rig video: whole frame, rounded, tilted until it scrolls in */
.rig-band__media {
  max-width: 340px; aspect-ratio: 9 / 16; border-radius: 28px; overflow: hidden;
  box-shadow: 0 0 0 6px rgba(251, 251, 250, 0.06), 0 40px 80px -30px rgba(0, 0, 0, 0.8);
  transform: rotate(-4deg) scale(0.94);
  transition: transform 1200ms var(--ease-out);
}
.rig-band__media.is-level { transform: none; }
.rig-band__media video { aspect-ratio: 9 / 16; height: 100%; width: 100%; object-fit: cover; }
@media (prefers-reduced-motion: reduce) { .rig-band__media { transform: none; } }

/* Hero video eases out of a zoom on load */
@media (prefers-reduced-motion: no-preference) {
  .hero__media video, .hero__media img { animation: hero-zoom 2600ms var(--ease-out) both; }
}
@keyframes hero-zoom { from { transform: scale(1.18); } }

/* Headlines: word-by-word rise */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 0.06em 0.14em 0; margin: 0 -0.06em -0.14em 0; }
.split .w__i { display: inline-block; transform: translateY(110%) rotate(4deg); transform-origin: 0 100%; transition: transform 1000ms var(--ease-out); transition-delay: calc(var(--i, 0) * 60ms); }
.split.words-in .w__i { transform: none; }
.section-head[data-reveal], .reviews-top[data-reveal] { filter: none !important; }

/* Bolder card entrances */
@media (prefers-reduced-motion: no-preference) {
  .js .ba[data-reveal], .js .spec[data-reveal] { transform: translateY(48px) rotate(1.2deg) scale(0.97); }
  .js .ba[data-reveal].is-in, .js .spec[data-reveal].is-in { transform: none; }
}

/* Photos drift as you scroll (browsers with scroll-driven animations) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .photo-row img, .photo-row video, .svc-feature__img img, .owner__photo img, .inline-photo img {
      animation: drift linear both; animation-timeline: view(); animation-range: cover 0% cover 100%;
    }
    .js [data-reveal="wipe"] img, .js [data-reveal="wipe"] video { transition: none; }
  }
}
@keyframes drift { from { transform: scale(1.14) translateY(-5%); } to { transform: scale(1.14) translateY(5%); } }

/* Hover lifts (mouse only) */
.ba, .photo-row figure, .spec { transition: transform 450ms var(--ease-out), box-shadow 450ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .ba:hover, .spec:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -36px rgba(18, 18, 18, 0.55); }
  .photo-row figure:hover { transform: translateY(-6px) rotate(-0.6deg); }
  .btn--sage:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(47, 93, 60, 0.7); }
  .btn--sage:active { transform: scale(0.97); }
}

/* Slider: pulse ring on the knob until someone touches it */
.ba__knob::after {
  content: ""; position: absolute; inset: -8px; border-radius: 50%;
  border: 2px solid rgba(251, 251, 250, 0.9); opacity: 0; pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .ba:not(.was-touched) .ba__knob::after { animation: knob-pulse 1800ms var(--ease-out) 2600ms infinite; }
}
@keyframes knob-pulse { 0% { opacity: 0.9; transform: scale(0.85); } 100% { opacity: 0; transform: scale(1.5); } }
.ba__knob { width: 56px; height: 56px; margin: -28px 0 0 -28px; }

/* Green scrolling service band */
.marquee {
  display: flex; overflow: hidden; background: var(--green); color: var(--cream);
  padding-block: clamp(0.9rem, 2vw, 1.3rem); user-select: none; -webkit-user-select: none;
}
.marquee__track {
  list-style: none; margin: 0; padding: 0; display: flex; flex: none; gap: 0; min-width: 100%;
  animation: marquee 38s linear infinite;
}
.marquee li {
  display: flex; align-items: center; white-space: nowrap;
  font-family: var(--display); font-style: italic; font-weight: 400; letter-spacing: -0.02em;
  font-size: clamp(1.4rem, 3vw, 2.2rem); padding-right: clamp(1.5rem, 3vw, 2.5rem);
}
.marquee li::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--mint); margin-left: clamp(1.5rem, 3vw, 2.5rem); }
@media (hover: hover) { .marquee:hover .marquee__track { animation-play-state: paused; } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }
@keyframes marquee { to { transform: translateX(-100%); } }

/* Quote band in brand green */
.cta-band { background: var(--green); }
.cta-band .lede, .cta-band .contact-lines small { color: rgba(251, 251, 250, 0.82); }
.cta-band .overline { color: rgba(251, 251, 250, 0.75); }
.cta-band h2 em { color: var(--mint); }
.cta-band .contact-lines .i { color: var(--mint); }
.cta-band .form .btn--sage { background: var(--charcoal); }
@media (hover: hover) and (pointer: fine) { .cta-band .form .btn--sage:hover { background: var(--ink-3); } }
.quote--big .stars { color: var(--mint); }
.hero h1 { max-width: 15ch; }
#nl-badge-frame { display: none !important; }

/* Hero video: sit closer on the roof, slow push-in instead of zoom-out */
.hero__media video { transform: scale(1.12); transform-origin: 45% 40%; }
@media (prefers-reduced-motion: no-preference) {
  .hero__media video { animation: hero-push 14s linear both; }
}
@keyframes hero-push { from { transform: scale(1.12); } to { transform: scale(1.22); } }

/* Reviews: stable grid (columns reflowed while cards animated in) */
.quotes { columns: auto; display: grid; gap: 1.25rem; align-items: start; }
@media (min-width: 720px) { .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); } .quote--big { grid-row: span 2; } }
.quote { margin: 0; }
.js .quote[data-reveal] { filter: none !important; }
.score b { font-variant-numeric: tabular-nums; min-width: 2.2ch; display: inline-block; }
@media (max-width: 899px) {
  .hero__media video { transform: scale(1.45); transform-origin: 60% 70%; }
  @keyframes hero-push-m { from { transform: scale(1.45); } to { transform: scale(1.55); } }
  @media (prefers-reduced-motion: no-preference) { .hero__media video { animation-name: hero-push-m; } }
}

/* Hero video v4: full-bleed background video, plus on wide screens a sharp full view blended in on the right */
.hero__media video { transform: none !important; animation: none !important; }
.hero__media .hero__fg { display: none; }
@media (min-width: 900px) {
  .hero__media .hero__bg { filter: blur(6px) brightness(0.8); transform: scale(1.06) !important; }
  .hero__media .hero__fg {
    display: block; position: absolute; top: 0; bottom: 0; right: 4%; left: auto;
    height: 100%; width: auto; aspect-ratio: 9 / 16; object-fit: cover;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 22%, #000 78%, transparent 100%);
            mask-image: linear-gradient(to right, transparent 0%, #000 22%, #000 78%, transparent 100%);
  }
  .hero::after { background: linear-gradient(to right, rgba(18, 18, 18, 0.82) 0%, rgba(18, 18, 18, 0.45) 45%, rgba(18, 18, 18, 0.05) 70%, rgba(18, 18, 18, 0) 100%), linear-gradient(to top, rgba(18, 18, 18, 0.6), rgba(18, 18, 18, 0) 40%); }
}

/* Quick quote */
.quick { background: var(--mist-2); }
.quick__in { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 960px) { .quick__in { grid-template-columns: 1fr 1fr; } }
.form--quick { border: 1px solid var(--line); }
.form--quick .field select { width: 100%; min-height: 52px; padding: 0.8rem 1rem; font: 400 16px/1.4 var(--body); color: var(--text); background: var(--mist-2); border: 1.5px solid transparent; border-radius: 12px; }
.btn--big { min-height: 60px; padding-inline: 1.6rem; font-size: 1.05rem; }
.quick__photos { margin-top: 1.75rem; }

/* Google map */
.gmap { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; padding: clamp(1.5rem, 4vw, 2.5rem); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--mist-2); }
.gmap__note { width: 100%; color: var(--muted); font-size: 0.9rem; }
.gmap iframe { width: 100%; height: clamp(320px, 50vh, 480px); border: 0; border-radius: calc(var(--radius-lg) - 8px); }

/* Guides */
.guide-meta { color: var(--muted); font-size: 0.95rem; }
.guide-list { list-style: none; padding: 0; margin: 0.5rem 0 1rem; display: grid; gap: 0.6rem; }
.guide-grid { display: grid; gap: clamp(1rem, 3vw, 1.5rem); }
@media (min-width: 760px) { .guide-grid { grid-template-columns: repeat(2, 1fr); } }
.guide-card { display: grid; grid-template-columns: 120px 1fr; gap: 1.1rem; align-items: center; padding: 0.75rem; border: 1px solid var(--line); border-radius: var(--radius-lg); text-decoration: none; color: var(--text); background: var(--paper); transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out); }
.guide-card img { width: 120px; height: 120px; object-fit: cover; border-radius: calc(var(--radius-lg) - 6px); }
.guide-card strong { display: block; font-family: var(--display); font-weight: 600; font-size: 1.25rem; line-height: 1.2; }
.guide-card small { display: block; margin-top: 0.4rem; color: var(--muted); font-size: 0.92rem; line-height: 1.45; }
@media (hover: hover) and (pointer: fine) { .guide-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(18, 18, 18, 0.5); } }

/* Neighborhood links */
.nb-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
@media (min-width: 640px) { .nb-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .nb-grid { grid-template-columns: repeat(4, 1fr); } }
.nb-grid a { display: flex; flex-direction: column; gap: 0.25rem; padding: 1.1rem 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); color: var(--text); text-decoration: none; transition: transform 300ms var(--ease-out), border-color 200ms ease; }
.nb-grid strong { font-family: var(--display); font-weight: 600; font-size: 1.3rem; }
.nb-grid span { color: var(--muted); font-size: 0.9rem; }
@media (hover: hover) and (pointer: fine) { .nb-grid a:hover { transform: translateY(-3px); border-color: var(--green); } }

/* Language switch */
.lang-switch {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 0.85rem;
  border-radius: 999px; border: 1px solid var(--line); color: var(--ink); text-decoration: none;
  font-weight: 600; font-size: 0.88rem; white-space: nowrap; margin-left: auto;
  transition: background-color 200ms ease, border-color 200ms ease;
}
@media (hover: hover) and (pointer: fine) { .lang-switch:hover { border-color: var(--green); background: var(--mist-2); } }
@media (min-width: 1200px) { .lang-switch { margin-left: 0; } }
@media (max-width: 1199px) { .brand { margin-right: 0; } .brand span { font-size: 1rem; } }
@media (max-width: 420px) { .lang-switch { padding: 0 0.6rem; font-size: 0.8rem; } .brand small { display: none; } }
@media (min-width: 1200px) and (max-width: 1499px) {
  .nav a { padding-inline: 0.5rem; font-size: 0.9rem; }
  .site-header__in { gap: 0.75rem; }
  .lang-switch { padding: 0 0.7rem; }
}
@media (min-width: 1200px) { .brand span { min-width: 9.5rem; } }
@media (min-width: 1200px) { .nav a { padding-inline: 0.5rem; font-size: 0.9rem; } .site-header__in { gap: 0.75rem; } }
@media (min-width: 1200px) and (max-width: 1299px) { .nav a { padding-inline: 0.4rem; font-size: 0.85rem; } .header-call { padding-inline: 0.9rem; } }
