/* ==========================================================================
   Basler & Willis Junk Removal — shared styles (structure ported from SWFL Removal Co.)
   Mobile-first. Breakpoints: 768px (tablet), 1024px (desktop).
   Light by default; `.on-dark` re-maps the tokens for navy bands.
   ========================================================================== */

:root {
  /* brand (see assets/brand/tokens.css) */
  --red: #C8102E;
  --red-hover: #A50D26;
  --navy: #0B2545;
  --navy-2: #13315C;
  --paper: #F4F6F9;
  --ink: #0E1726;

  /* semantic */
  --bg: #fff;
  --surface: var(--paper);
  --surface-2: #e9edf3;
  --line: #dde2ea;
  --text: var(--ink);
  --muted: #5B6575;
  --heading: var(--navy);
  --accent: var(--red);           /* fills, borders, rules */
  --accent-hover: var(--red-hover);
  --accent-text: var(--red);      /* accent used as text color */
  --on-accent: #fff;
  --header-bg: rgba(255, 255, 255, .96);
  --error: var(--error);
  --stripe: #e9edf3;
  color-scheme: light;

  --font-head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1200px;
  --gutter: 20px;
  --header-h: 64px;
  --radius: 6px;
  --section-y: 72px;
  --bar-h: 0px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* Navy bands. Red text on navy fails contrast (2.6:1), so accents turn white there. */
.on-dark {
  --bg: var(--navy);
  --surface: var(--navy-2);
  --surface-2: #1b3d6e;
  --line: rgba(255, 255, 255, .16);
  --text: #fff;
  --muted: #c3cddb;
  --heading: #fff;
  --accent-text: #fff;
  color: var(--text);
}
.on-dark :focus-visible { outline-color: #fff; }

/* Dark mode: follows the system setting unless the visitor picked one (data-theme on <html>). */
:root[data-theme="dark"] {
  --bg: #0A1628;
  --surface: #101F36;
  --surface-2: #172A47;
  --line: rgba(255, 255, 255, .13);
  --text: #E8EDF4;
  --muted: #A9B4C4;
  --heading: #fff;
  --accent-text: #FF6B7F;   /* brand red is too dark to read on navy; this tint is 6.7:1 */
  --header-bg: rgba(10, 22, 40, .94);
  --error: #FF8A80;
  --stripe: #172A47;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0A1628;
    --surface: #101F36;
    --surface-2: #172A47;
    --line: rgba(255, 255, 255, .13);
    --text: #E8EDF4;
    --muted: #A9B4C4;
    --heading: #fff;
    --accent-text: #FF6B7F;
    --header-bg: rgba(10, 22, 40, .94);
    --error: #FF8A80;
    --stripe: #172A47;
    color-scheme: dark;
  }
}

@media (min-width: 768px) {
  :root { --gutter: 32px; --header-h: 76px; --section-y: 104px; }
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
/* Lock sideways panning on phones. `clip` (unlike `hidden`) doesn't create a scroll container,
   so the sticky header keeps working; older Safari falls back to the body-only `hidden` below. */
html { overflow-x: clip; overscroll-behavior-x: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
  overflow-x: clip;
  overscroll-behavior-x: none;
  padding-bottom: var(--bar-h);
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: .95;
  text-transform: uppercase;
  letter-spacing: .005em;
  margin: 0;
  color: var(--heading);
  text-wrap: balance;
}
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 3px; border-radius: 2px; }

.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;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--accent); color: var(--on-accent); padding: 10px 16px; font-weight: 600; border-radius: var(--radius);
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* Visible placeholder for unknown business info — replace before launch */
.ph {
  display: inline-block;
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: .8em;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.4;
  color: var(--accent-text);
  border: 1px dashed currentColor;
  border-radius: 3px;
  padding: 0 .4em;
}

/* ---------- Icons ---------- */
.i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: var(--h);
  padding: 0 1.4em;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--red { background: var(--accent); color: var(--on-accent); }
.btn--red:hover { background: var(--accent-hover); }
.btn--line { border-color: var(--text); color: var(--text); background: rgba(11,37,69,.35); }
.btn--line:hover { background: var(--text); color: var(--bg); }
.btn--dark { background: var(--bg); color: var(--text); border-color: var(--line); }
.btn--dark:hover { border-color: var(--accent); }
.btn--sm { --h: 42px; font-size: 1rem; padding: 0 1em; }
.btn--lg { --h: 60px; font-size: 1.3rem; }
.btn--block { width: 100%; }

.text-link {
  display: inline-flex; align-items: center; gap: .4em;
  color: var(--text);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.text-link:hover { color: var(--accent-text); }
.text-link .i { color: var(--accent-text); }

/* ---------- Section scaffolding ---------- */
.section { padding-block: var(--section-y); position: relative; }
.section--alt { background: var(--surface); }
.section-head { margin-bottom: 40px; max-width: 720px; }
.section-head--center { margin-inline: auto; text-align: center; }

/* Wide-tracked label with a red rule */
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin: 0 0 14px;
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .eyebrow::after { content: ""; width: 32px; height: 1px; background: currentColor; }

.h2 { font-size: clamp(2.6rem, 8vw, 4.25rem); }
.lede { color: var(--muted); font-size: 1.125rem; margin-top: 16px; max-width: 60ch; }
.section-head--center .lede { margin-inline: auto; }

/* Section-closing call to action */
.section-cta {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
}
.section-cta__text { font-family: var(--font-head); font-weight: 700; font-size: 1.7rem; text-transform: uppercase; line-height: 1.05; margin: 0; }
.section-cta__text span { color: var(--accent-text); }
.section-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
@media (min-width: 1024px) {
  .section-cta { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* Trust line shown next to CTAs */
.trust { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .95rem; color: var(--muted); }
.trust li { display: inline-flex; align-items: center; gap: 6px; }
.trust .i { color: var(--accent-text); width: 1.05em; height: 1.05em; stroke-width: 2.5; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { height: 40px; width: auto; }
@media (min-width: 768px) { .logo img { height: 48px; } }
.logo--footer img { height: auto; width: 200px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 16px; }
.site-header .logo { margin-right: auto; }

.nav { display: none; }
.nav__list { display: flex; gap: 4px; }
.nav__link {
  display: block; padding: 8px 12px;
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem;
  letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: var(--text);
  border-radius: 4px; position: relative;
}
.nav__link::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--accent-text); }
/* About Us: red outlined button, sibling to the solid Call button */
.nav__link--about {
  margin-left: 6px; padding: 6px 14px;
  border: 2px solid var(--accent); border-radius: var(--radius);
  color: var(--accent-text); transition: background-color .2s, color .2s;
}
.nav__link--about:hover { background: rgba(200,16,46,.14); }
.nav__link--about::after { left: 0; right: 0; bottom: -10px; }
.nav__link--about[aria-current="page"] { background: rgba(200,16,46,.14); }

.menu-toggle {
  width: 44px; height: 44px; display: inline-grid; place-items: center;
  background: none; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer;
}
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after {
  display: block; width: 20px; height: 2px; background: var(--text); transition: transform .25s var(--ease), opacity .2s;
}
.menu-toggle__bars { position: relative; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle__bars::before { top: -6px; }
.menu-toggle__bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Mobile menu panel */
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: var(--bg);
  padding: 24px var(--gutter) calc(24px + env(safe-area-inset-bottom));
  overflow-y: auto;
  display: flex; flex-direction: column; gap: 28px;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__list a {
  display: block; padding: 14px 0; border-bottom: 1px solid var(--line);
  font-family: var(--font-head); font-weight: 700; font-size: 1.9rem; text-transform: uppercase; text-decoration: none;
}
.mobile-menu__list a:hover { color: var(--accent-text); }
.mobile-menu__actions { display: grid; gap: 12px; }
body.menu-open { overflow: hidden; }

@media (min-width: 1024px) {
  .nav { display: block; }
  .menu-toggle, .mobile-menu { display: none !important; }
}
@media (max-width: 380px) {
  .site-header .btn--sm .btn__long { display: none; }
}
@media (min-width: 381px) {
  .site-header .btn--sm .btn__short { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(calc(100svh - var(--header-h)), 780px);
  display: flex; align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}
@media (min-height: 1000px) and (max-width: 767px) { .hero { min-height: 700px; } }
.hero__slides { position: absolute; inset: 0; z-index: -2; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(11,37,69,.97) 0%, rgba(11,37,69,.82) 38%, rgba(11,37,69,.25) 70%, rgba(11,37,69,.35) 100%);
}
@media (min-width: 768px) {
  .hero::after {
    background:
      linear-gradient(90deg, rgba(11,37,69,.93) 0%, rgba(11,37,69,.72) 42%, rgba(11,37,69,.1) 75%),
      linear-gradient(to top, rgba(11,37,69,.8) 0%, rgba(11,37,69,0) 45%);
  }
  .hero { align-items: center; }
}
.hero__content { padding-block: 48px 40px; }
.hero__eyebrow { margin-bottom: 18px; }
.hero__title {
  font-size: clamp(4.1rem, 19vw, 8.5rem);
  line-height: .85;
  margin-bottom: 18px;
}
.hero__title em { font-style: italic; color: #fff; text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: .08em; text-underline-offset: .1em; }
.hero__sub { font-size: 1.15rem; max-width: 34ch; color: var(--text); margin-bottom: 28px; }
.hero__actions { display: grid; gap: 12px; max-width: 420px; }
.hero__text-link { margin-top: 18px; }
.hero__trust { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.18); max-width: 620px; }
.hero__dots { position: absolute; right: var(--gutter); bottom: 22px; display: flex; gap: 6px; z-index: 2; }
.hero__dot {
  width: 34px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center;
}
.hero__dot::before { content: ""; width: 100%; height: 3px; background: rgba(255,255,255,.35); border-radius: 2px; transition: background .3s; }
.hero__dot[aria-current="true"]::before { background: var(--accent); }
@media (min-width: 768px) {
  .hero__actions { display: flex; flex-wrap: wrap; max-width: none; }
  .hero__content { padding-block: 80px; }
  .hero__sub { font-size: 1.3rem; }
  .hero__dots { bottom: 32px; }
}

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service {
  padding: 26px 16px 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; align-items: flex-start;
  transition: background-color .25s;
}
.service:hover { background: var(--surface); }
.service__icon { width: 56px; height: 56px; color: var(--text); margin-bottom: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.service__title { font-size: 1.45rem; font-weight: 700; line-height: 1; margin-bottom: 8px; }
.service__desc { font-size: .95rem; color: var(--muted); margin: 0; }
.service__extra { display: block; margin-top: 8px; color: var(--text); font-size: .9rem; }
@media (min-width: 768px) {
  .services { grid-template-columns: repeat(3, 1fr); }
  .service { padding: 36px 32px 34px; }
  .service__icon { width: 64px; height: 64px; }
  .service__title { font-size: 1.75rem; }
  .service__desc { font-size: 1rem; }
}
/* Services grid rules */
.services .service { border-color: var(--line); }

/* ---------- Before / After ---------- */
/* Stacked on phones (no sideways carousel, so vertical scrolling never drifts) */
.work-grid { display: grid; gap: 28px; max-width: 480px; margin-inline: auto; }

@media (min-width: 768px) {
  .work-grid { grid-template-columns: 1fr 1fr; max-width: 1000px; }
  .work-grid.work-grid--single { grid-template-columns: 1fr; max-width: 860px; }
}
.work-grid--single { max-width: 860px; }
/* Landscape before/after pairs (phone photos taken sideways) */
.ba__frame.ba__frame--wide { aspect-ratio: 1200 / 740; }

.ba { margin: 0; }
.ba__frame {
  --pos: 50%;
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-x pan-y;
}
.ba__frame picture, .ba__frame img { position: absolute; inset: 0; width: 100%; height: 100%; }
.ba__frame img { object-fit: cover; pointer-events: none; }
.ba__after { clip-path: inset(0 0 0 var(--pos)); }
.ba__tag {
  position: absolute; top: 12px; z-index: 2;
  font-family: var(--font-head); font-weight: 700; font-size: .85rem; letter-spacing: .2em; text-transform: uppercase;
  padding: 5px 10px 4px; border-radius: 3px;
  background: rgba(11,37,69,.86); color: #fff;
  pointer-events: none;
}
.ba__tag--before { left: 12px; }
.ba__tag--after { right: 12px; background: var(--accent); color: var(--on-accent); }
.ba__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos);
  width: 48px; margin-left: -24px; z-index: 3;
  cursor: ew-resize; touch-action: none;
  display: grid; place-items: center;
}
.ba__handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; margin-left: -1.5px; background: var(--accent); box-shadow: 0 0 0 1px rgba(0,0,0,.25); }
.ba__knob {
  position: relative; width: 46px; height: 46px; border-radius: 50%;
  background: var(--accent); color: var(--on-accent);
  display: grid; place-items: center;
  box-shadow: 0 4px 18px rgba(0,0,0,.45);
  transition: transform .2s var(--ease);
}
.ba__knob .i { width: 26px; height: 26px; stroke-width: 2.5; }
.ba__handle:hover .ba__knob, .ba.is-dragging .ba__knob { transform: scale(1.08); }
.ba__handle:focus-visible { outline: none; }
.ba__handle:focus-visible .ba__knob { outline: 3px solid var(--text); outline-offset: 3px; }
.ba figcaption, .ba-split figcaption { margin-top: 12px; display: flex; flex-direction: column; gap: 2px; }
.ba__job { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; text-transform: uppercase; line-height: 1.1; }
.ba__where { color: var(--muted); font-size: .92rem; }

/* Job 4: angle shifts between shots, so show it as a stacked before/after pair */
.ba-split { margin: 0; }
.ba-split__pair {
  display: grid; grid-template-rows: 1fr 1fr; gap: 4px;
  aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden;
}
.ba-split__cell { position: relative; overflow: hidden; background: var(--surface); }
.ba-split__cell img { width: 100%; height: 100%; object-fit: cover; }
.ba-split__cell .ba__tag { left: 12px; right: auto; }

/* ---------- Service area ---------- */
.area { display: grid; gap: 36px; }
.towns { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 32px; }
.towns li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg);
  font-weight: 500;
}
.towns .i { color: var(--accent-text); width: 1em; height: 1em; }
.map {
  position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  aspect-ratio: 4 / 3; background: var(--bg);
}
.map iframe { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.05); transition: opacity .5s ease; }
.js .map iframe { opacity: 0; }
.js .map.is-loaded iframe { opacity: 1; }
.map__still, .map__still img { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__still img { object-fit: cover; filter: grayscale(.35) contrast(1.05); }
.map__credit { position: absolute; right: 0; bottom: 0; z-index: 1; padding: 2px 6px; font-size: .7rem; color: #333; background: rgba(255,255,255,.8); }
@media (min-width: 1024px) {
  .area { grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; }
  .map { aspect-ratio: auto; height: 100%; min-height: 460px; }
}

/* ---------- Quote form ---------- */
.quote { display: grid; gap: 40px; }
.quote__aside { display: grid; gap: 14px; align-content: start; }
.contact-card {
  display: flex; align-items: center; gap: 16px;
  padding: 20px; border-radius: var(--radius); text-decoration: none;
  border: 1px solid var(--line); background: var(--bg);
  transition: border-color .2s, transform .2s var(--ease);
}
.contact-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.contact-card__icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); flex: none; }
.contact-card__icon .i { width: 24px; height: 24px; }
.contact-card__label { display: block; font-family: var(--font-head); font-size: .9rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.contact-card__value { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.8rem; line-height: 1.05; text-transform: uppercase; }
.quote__aside .trust { flex-direction: column; margin-top: 10px; }

.form { display: grid; gap: 20px; }
.form__row { display: grid; gap: 20px; }
@media (min-width: 768px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 7px; }
.field > label, .field > legend, .field__label {
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; letter-spacing: .08em; text-transform: uppercase;
}
.req { color: var(--accent-text); }
.opt { color: var(--muted); font-family: var(--font-body); font-size: .85rem; letter-spacing: 0; text-transform: none; font-weight: 400; }
.input {
  width: 100%; min-height: 52px; padding: 12px 14px;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 1.0625rem; /* 17px — no iOS zoom */
  transition: border-color .2s, box-shadow .2s;
}
.input::placeholder { color: #7b8494; }
.input:hover { border-color: #aab4c3; }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(200,16,46,.25); }
textarea.input { min-height: 130px; resize: vertical; }
.input[aria-invalid="true"] { border-color: var(--error); }
.field__error { color: var(--error); font-size: .92rem; min-height: 0; }
.field__error:empty { display: none; }

fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.field > legend { padding: 0; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 8px 14px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--bg); font-size: .95rem; font-weight: 500;
  transition: background-color .15s, border-color .15s, color .15s;
}
.chip span::before {
  content: ""; width: 14px; height: 14px; border-radius: 3px; border: 1.5px solid var(--muted); flex: none;
  transition: background-color .15s, border-color .15s;
}
.chip input:hover + span { border-color: #aab4c3; }
.chip input:checked + span { border-color: var(--accent); color: var(--text); background: rgba(200,16,46,.12); }
.chip input:checked + span::before {
  border-color: var(--accent);
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.chip input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }

.photo-callout {
  display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  padding: 16px 18px; border: 1px dashed rgba(200,16,46,.6); border-radius: var(--radius); background: rgba(200,16,46,.06);
}
.photo-callout p { margin: 0; font-size: .98rem; }
.photo-callout strong { display: block; font-family: var(--font-head); font-size: 1.2rem; text-transform: uppercase; letter-spacing: .03em; }
.form__foot { display: grid; gap: 12px; }
.form__note { color: var(--muted); font-size: .9rem; margin: 0; }
.honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form-status { padding: 16px 18px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg); }
.form-status[hidden] { display: none; }
.form-status--warn { border-color: var(--accent); }
.form-status--error { border-color: var(--error); }
.form-status p { margin-bottom: 10px; }
.form-status .btn { margin-top: 4px; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }

@media (min-width: 1024px) {
  .quote { grid-template-columns: 1.55fr 1fr; gap: 64px; align-items: start; }
  .quote__aside { position: sticky; top: calc(var(--header-h) + 24px); }
}

/* ---------- Footer ---------- */
.site-footer { padding: 64px 0 32px; background: var(--navy); }
.footer-grid { display: grid; gap: 40px; }
.footer-brand { display: grid; gap: 18px; justify-items: start; }
.footer-brand p { color: var(--muted); margin: 0; }
.footer-h { font-family: var(--font-head); font-weight: 600; font-size: .95rem; letter-spacing: .24em; text-transform: uppercase; color: var(--accent-text); margin: 0 0 14px; }
.footer-list { display: grid; gap: 10px; }
.footer-list a { text-decoration: none; }
.footer-list a:hover { color: var(--accent-text); }
.footer-phone { font-family: var(--font-head); font-weight: 800; font-size: 2rem; text-decoration: none; line-height: 1; }
.footer-phone:hover { color: var(--accent-text); }
.footer-bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; color: var(--muted); font-size: .9rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* ---------- Mobile sticky action bar ---------- */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: var(--navy); border-top: 1px solid rgba(255,255,255,.16);
  transition: transform .3s var(--ease);
}
.action-bar .btn { --h: 50px; font-size: 1.05rem; padding: 0 .6em; gap: .4em; }
@media (max-width: 767px) { :root { --bar-h: calc(70px + env(safe-area-inset-bottom)); } }
@media (min-width: 768px) { .action-bar { display: none; } }

/* ---------- Inner pages (about / thank-you) ---------- */
.page-hero { padding: 56px 0 40px; }
.page-hero .h1 { font-size: clamp(3.4rem, 13vw, 6.5rem); line-height: .88; }
.team-photo { border-radius: var(--radius); overflow: hidden; margin-top: 36px; }
.team-photo img { width: 100%; }
.team-photo--portrait { max-width: 520px; margin: 0 auto 36px; }
.team { display: grid; gap: 18px; }
.member { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.member img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.member__body { padding: 18px 20px 22px; display: grid; gap: 8px; justify-items: start; }
.member__name { font-size: 1.7rem; }
@media (min-width: 768px) { .team { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.story { display: grid; gap: 28px; }
.story p { font-size: 1.15rem; max-width: 62ch; }
.values { display: grid; gap: 14px; }
.value { padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.value h3 { font-size: 2.4rem; margin-bottom: 8px; }
.value:nth-child(2) h3 { color: var(--accent-text); }
.value p { color: var(--muted); }
@media (min-width: 768px) { .values { grid-template-columns: repeat(3, 1fr); } }

.cta-band { text-align: center; }
.cta-band .h2 { margin-bottom: 16px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }
.cta-band .trust { justify-content: center; margin-top: 24px; }

.thanks { min-height: calc(100svh - var(--header-h) - 200px); display: grid; align-items: center; text-align: center; padding: 72px 0; }
.thanks__check { width: 76px; height: 76px; border-radius: 50%; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; margin: 0 auto 28px; }
.thanks__check .i { width: 38px; height: 38px; stroke-width: 3; }
.thanks .h1 { font-size: clamp(3rem, 11vw, 5.5rem); margin-bottom: 18px; }
.thanks p { color: var(--muted); font-size: 1.15rem; max-width: 46ch; margin-inline: auto; }

/* ---------- Pop-in on scroll (main.js adds .reveal below the fold) ---------- */
.js .reveal { opacity: 0; transform: translateY(28px) scale(.96); transition: opacity .55s ease-out, transform .7s cubic-bezier(.34, 1.45, .64, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero__slide { transition: none; }
}
.thanks .cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 32px; }
.thanks__home { margin-top: 28px; }
.member__role { font-family: var(--font-head); font-weight: 600; font-size: .95rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-text); }

/* ==========================================================================
   B&W additions
   ========================================================================== */

/* Small red star, as on the truck sticker */
.star { width: .8em; height: .8em; fill: var(--red); flex: none; }
.on-dark .star { fill: var(--red); }

/* "And more!" note under the services grid */
.services-more { margin-top: 18px; color: var(--muted); }
.services-more strong { font-family: var(--font-head); font-size: 1.35rem; text-transform: uppercase; color: var(--heading); margin-right: 6px; }

/* Before/after placeholders until Brooks sends real pairs */
.ba__ph {
  position: absolute; inset: 0; display: grid; place-content: center; gap: 8px; text-align: center; padding: 24px;
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
}
.ba__ph .i { width: 44px; height: 44px; margin: 0 auto; stroke-width: 1.6; }
.ba__ph small { font-family: ui-monospace, Consolas, monospace; font-weight: 500; font-size: .75rem; letter-spacing: 0; text-transform: none; }
.ba__ph--before { background: repeating-linear-gradient(-45deg, var(--surface) 0 14px, var(--stripe) 14px 28px); color: var(--muted); }
.ba__ph--after { background: var(--navy); color: #fff; }
.ba__ph--after small { color: #c3cddb; }

/* Sample-photo note on hero slides */
.photo-note {
  position: absolute; right: var(--gutter); top: 12px; z-index: 2; margin: 0;
  font-size: .72rem; letter-spacing: .04em; color: rgba(255,255,255,.75);
}

/* SMS consent checkbox (optional, unchecked by default, as A2P 10DLC requires) */
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--muted); cursor: pointer; }
.consent input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--red); cursor: pointer; }
.consent a { color: var(--text); }

/* Legal pages (privacy, SMS terms) */
.prose { max-width: 72ch; padding-bottom: var(--section-y); }
.prose h2 { font-size: 1.9rem; margin: 40px 0 12px; }
.prose p, .prose li { color: var(--text); }
.prose ul { list-style: disc; padding-left: 1.3em; margin: 0 0 1em; display: grid; gap: 6px; }
.prose .updated { color: var(--muted); }

/* Team placeholders on about.html */
.member__ph { aspect-ratio: 1; display: grid; place-items: center; background: var(--surface); color: var(--muted); }
.member__ph .i { width: 56px; height: 56px; stroke-width: 1.4; }

/* Header fits logo + Call + menu at 375px */
@media (max-width: 400px) { .site-header .logo img { height: 30px; } .site-header__inner { gap: 10px; } }

/* ---------- Dark mode toggle + logo swap ---------- */
.logo__dark { display: none; }
:root[data-theme="dark"] .logo__light { display: none; }
:root[data-theme="dark"] .logo__dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo__light { display: none; }
  :root:not([data-theme="light"]) .logo__dark { display: block; }
}
.theme-toggle {
  width: 42px; height: 42px; display: none; place-items: center; flex: none;
  background: none; border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); cursor: pointer;
}
.theme-toggle:hover { border-color: var(--accent); }
@media (min-width: 1024px) { .theme-toggle { display: inline-grid; } }
.theme-toggle__sun { display: none; }
:root[data-theme="dark"] .theme-toggle__sun { display: block; }
:root[data-theme="dark"] .theme-toggle__moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle__sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle__moon { display: none; }
}
:root[data-theme="dark"] .map iframe, :root[data-theme="dark"] .map__still img { filter: grayscale(.4) brightness(.8); }

/* ---------- Hero with the crew photo as a panel (no text over the photo) ---------- */
.hero--panel { display: block; min-height: 0; background: var(--navy); }
.hero--panel::after { display: none; }
.hero--panel .hero__inner { display: flex; flex-direction: column; }
.hero__photo {
  margin: 0 calc(var(--gutter) * -1);
  aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-2);
}
/* Source is portrait 3:4; the crew, truck and trailer sit in the band just below the middle */
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 54%; }
.hero--panel .hero__content { padding-block: 28px 40px; }
.hero--panel .hero__title { font-size: clamp(3.6rem, 16vw, 7rem); }
@media (min-width: 768px) {
  .hero__photo { aspect-ratio: 16 / 9; }
}
@media (min-width: 1024px) {
  .hero--panel .hero__inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; padding-block: 64px; }
  .hero__photo { order: 2; margin: 0; aspect-ratio: 4 / 3; border-radius: var(--radius); }
  .hero--panel .hero__content { padding-block: 0; }
}

/* ---------- Attention animations (home hero + quote buttons) ----------
   Play once on load: header drops in, headline punches up line by line, the red underline draws
   under "It All.", the crew photo slides in and slowly zooms, then the main quote button pulses.
   Everything is skipped for people who ask for reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  .site-header { animation: bw-drop .5s cubic-bezier(.2, .8, .2, 1) both; }

  .hero__eyebrow { animation: bw-rise .5s .1s cubic-bezier(.2, .8, .2, 1) both; }
  .hero__title .hero__line { display: inline-block; animation: bw-punch .65s cubic-bezier(.34, 1.56, .64, 1) both; }
  .hero__title .hero__line:first-child { animation-delay: .2s; }
  .hero__title em.hero__line {
    text-decoration: none;
    background: linear-gradient(var(--red), var(--red)) no-repeat 0 96% / 0 .08em;
    animation: bw-punch .65s .42s cubic-bezier(.34, 1.56, .64, 1) both, bw-underline .55s 1s ease-out forwards;
  }
  .hero__sub { animation: bw-rise .55s .7s cubic-bezier(.2, .8, .2, 1) both; }
  .hero__actions > * { animation: bw-pop .5s cubic-bezier(.34, 1.56, .64, 1) both; }
  .hero__actions > :nth-child(1) { animation-delay: .9s; }
  .hero__actions > :nth-child(2) { animation-delay: 1.02s; }
  .hero__text-link { animation: bw-rise .5s 1.15s ease-out both; }
  .hero__trust li { animation: bw-rise .45s ease-out both; }
  .hero__trust li:nth-child(1) { animation-delay: 1.25s; }
  .hero__trust li:nth-child(2) { animation-delay: 1.35s; }
  .hero__trust li:nth-child(3) { animation-delay: 1.45s; }

  .hero__photo { animation: bw-slide-in .9s .15s cubic-bezier(.2, .8, .2, 1) both; }
  .hero__photo img { animation: bw-kenburns 14s 1s ease-in-out infinite alternate; }

  /* Quote buttons: a glow ring every few seconds plus a light sweep across the button */
  .btn--pulse { position: relative; overflow: hidden; isolation: isolate; animation: bw-ring 2.8s 1.8s ease-out infinite; }
  .hero__actions > .btn--pulse { animation: bw-pop .5s .9s cubic-bezier(.34, 1.56, .64, 1) both, bw-ring 2.8s 1.8s ease-out infinite; }
  .btn--pulse::after {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .35) 50%, transparent 65%);
    transform: translateX(-120%); animation: bw-shine 2.8s 1.8s ease-in-out infinite;
  }
}

@keyframes bw-drop { from { transform: translateY(-100%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes bw-rise { from { transform: translateY(18px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes bw-punch { from { transform: translateY(40px) scale(.9); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes bw-pop { from { transform: scale(.85); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes bw-underline { to { background-size: 100% .08em; } }
@keyframes bw-slide-in { from { transform: translateX(60px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes bw-kenburns { from { transform: scale(1); } to { transform: scale(1.08); } }
@keyframes bw-ring {
  0% { box-shadow: 0 0 0 0 rgba(200, 16, 46, .55); }
  70% { box-shadow: 0 0 0 16px rgba(200, 16, 46, 0); }
  100% { box-shadow: 0 0 0 0 rgba(200, 16, 46, 0); }
}
@keyframes bw-shine { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
