/* ==========================================================================
   White Pressure Washing, LLC — site stylesheet
   One file for every page. No framework.
   ========================================================================== */

/* ---- Tokens ------------------------------------------------------------ */
:root {
  --blue: #0059cd;          /* main brand color: the dark blue of the "W" logo */
  --blue-bright: #1f6fe0;
  --blue-dark: #00469f;
  --charcoal: #232323;
  --green: #336335;
  --ink: #1a1a1a;
  --text: #555;
  --muted: #888;
  --line: #ddd;
  --bg: #fff;
  --bg-soft: #f5f5f5;
  --white: #fff;

  --font-head: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Merriweather", Georgia, serif;

  --radius: 10px;
  --radius-sm: 8px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --header-h: 72px;
  --container: 1200px;
  --gutter: 20px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1.25em; }

a { color: var(--blue); }
a:hover { color: var(--blue-dark); }

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

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

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 2000;
  background: var(--white); color: var(--ink);
  padding: 0.5rem 1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; }

/* ---- Layout ------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container--narrow { max-width: 760px; }

.section { padding: 64px 0; }
.section--tight { padding: 40px 0; }
.section--dark { background: var(--charcoal); color: #ddd; }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
.section--soft { background: var(--bg-soft); }

.center { text-align: center; }

.section-title {
  font-family: var(--font-head);
  text-transform: uppercase;
  text-align: center;
}

.rule { border: 0; border-top: 1px solid #666; margin: 0 0 2rem; }
.rule--light { border-top-color: rgba(255, 255, 255, 0.8); }

/* ---- Buttons ----------------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  line-height: 1.3;
  transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

/* Main blue CTA */
.btn--primary {
  display: block;
  width: 100%;
  padding: 14px 28px;
  font-size: 1.15rem;
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}
.btn--primary:hover, .btn--primary:focus-visible { color: var(--white); opacity: 0.9; }

/* White outline (hero) */
.btn--outline {
  padding: 12px 40px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  background: transparent;
  border-color: var(--white);
}
.btn--outline:hover, .btn--outline:focus-visible { background: var(--white); color: #000; }

/* Small dark (header) */
.btn--small {
  padding: 8px 18px;
  font-size: 0.85rem;
  color: var(--white);
  background: var(--charcoal);
}
.btn--small:hover, .btn--small:focus-visible { color: var(--white); background: #000; }

/* ---- Header ------------------------------------------------------------ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--header-h);
  background: var(--white);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-logo { flex: none; display: flex; align-items: center; }
.site-logo img { height: 50px; width: auto; }

.site-nav { margin-left: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2rem; }
.site-nav a {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--ink);
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--blue); }

.header-cta { flex: none; }

.nav-toggle {
  display: none;
  flex: none;
  width: 44px; height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle svg { width: 26px; height: 26px; }

/* Transparent header over a hero; turns solid on scroll (assets/js/site.js) */
.site-header--overlay:not(.is-scrolled):not(.is-open) { background: transparent; box-shadow: none; }
.site-header--overlay:not(.is-scrolled):not(.is-open) .site-nav a,
.site-header--overlay:not(.is-scrolled):not(.is-open) .nav-toggle { color: var(--white); }

/* Pages without a hero need room under the fixed header */
.has-solid-header main { padding-top: var(--header-h); }

@media (max-width: 960px) {
  .site-header .container { gap: 0.75rem; }
  .site-logo img { height: 40px; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .header-cta { margin-left: auto; }

  .site-nav {
    position: absolute;
    top: var(--header-h); left: 0; right: 0;
    background: var(--white);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    display: none;
  }
  .site-header.is-open .site-nav { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 0.5rem 0; }
  .site-nav a { display: block; padding: 0.9rem var(--gutter); font-size: 0.9rem; }
  .site-header.is-open .site-nav a { color: var(--ink); }
}

/* ---- Masthead: main bar with dropdowns (index.html) ---------------------
   A dark, blurred bar that stays pinned. Below 1060px the nav collapses
   into a slide-in drawer (assets/js/site.js). */
:root {
  --mh-bg: rgba(20, 20, 20, 0.92);
  --mh-bar: #0f0f0f;
  --mh-panel: #1f1f1f;
  --mh-panel-2: #2b2b2b;
  --mh-line: #333;
  --mh-text: #eee;
  --mh-muted: #a8a8a8;
  --mh-accent: #b57bff;          /* lighter purple: readable on dark */
  --mainbar-h: 78px;
}

.masthead {
  position: sticky;
  top: 0;
  z-index: 1000;
  font-family: var(--font-head);
}
.masthead svg { fill: currentColor; }

/* Main bar */
.mainbar {
  background: var(--mh-bg);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--mh-line);
}
.mainbar__row {
  max-width: 1320px;
  min-height: var(--mainbar-h);
  display: flex;
  align-items: center;
  gap: 18px;
}
.mainbar__logo { flex: none; display: flex; }
.mainbar__logo img { height: 58px; width: auto; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4)); }

.mainnav { margin-left: auto; position: relative; }   /* dropdowns center on the nav, not the item */
.mainnav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.mainnav__link {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 10px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--mh-text);
  text-decoration: none;
  white-space: nowrap;
  border-radius: 4px;
}
.mainnav__link.has-mega::after {
  content: "";
  width: 9px; height: 9px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M1 3h8L5 8 1 3Z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M1 3h8L5 8 1 3Z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.mainnav__item:hover > .mainnav__link,
.mainnav__item:focus-within > .mainnav__link { color: var(--mh-accent); }
.mainnav__link.is-current { color: var(--mh-accent); box-shadow: inset 0 -2px 0 var(--mh-accent); }

/* Dropdown (mega) panels: open on hover or keyboard focus */
.mega {
  position: absolute;
  left: 50%; top: 100%;
  transform: translate(-50%, 8px);
  width: min(860px, 92vw);
  display: grid;
  grid-template-columns: 1fr 1fr 250px;
  gap: 28px;
  padding: 26px;
  background: var(--mh-panel);
  border: 1px solid var(--mh-line);
  border-top: 3px solid var(--blue);
  border-radius: 0 0 10px 10px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s, transform 0.22s, visibility 0.22s;
  z-index: 60;
}
.mega--sm { grid-template-columns: 1fr 1fr; width: min(500px, 92vw); }
.mainnav__item:hover .mega,
.mainnav__item:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

.mega__h {
  margin: 0 0 10px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mh-accent);
}
.mega__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mega__list a {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 8px;
  border-radius: 5px;
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--mh-text);
  text-decoration: none;
}
.mega__list a::before {
  content: "";
  width: 6px; height: 6px; flex: none;
  border-radius: 50%;
  background: var(--blue);
}
.mega__list a:hover { background: var(--mh-panel-2); color: var(--mh-accent); }

.mega__feat {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  background: var(--mh-bar);
  text-decoration: none;
}
.mega__feat img { width: 100%; height: 150px; object-fit: cover; border-bottom: 4px solid var(--blue); }
.mega__feat-txt { display: block; padding: 14px; }
.mega__feat-b { display: block; font-size: 1.05rem; font-weight: 700; text-transform: uppercase; color: var(--white); }
.mega__feat-s { display: block; margin-top: 4px; font-size: 0.8rem; line-height: 1.5; color: var(--mh-muted); }
.mega__feat:hover .mega__feat-b { color: var(--mh-accent); }

/* Phone + quote button */
.mainbar__cta { flex: none; display: flex; align-items: center; gap: 14px; }
.mainbar__phone { display: flex; flex-direction: column; line-height: 1.15; text-decoration: none; }
.mainbar__phone-s { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mh-muted); }
.mainbar__phone-n { font-size: 1.25rem; font-weight: 700; color: var(--white); }
.mainbar__phone:hover .mainbar__phone-n { color: var(--mh-accent); }
.mainbar__btn.btn--primary {
  display: inline-block;
  width: auto;
  padding: 13px 22px;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Burger */
.burger {
  display: none;
  place-items: center;
  flex: none;
  width: 44px; height: 44px;
  padding: 0;
  border: 1px solid var(--mh-line);
  border-radius: 6px;
  background: var(--mh-panel);
  color: var(--white);
  cursor: pointer;
}
.burger svg { width: 24px; height: 24px; fill: none; }
.burger:hover { background: var(--mh-panel-2); }

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: grid;
  grid-template-columns: 1fr min(88vw, 380px);
  visibility: hidden;
  transition: visibility 0s 0.32s;
  font-family: var(--font-head);
}
.drawer.is-open { visibility: visible; transition: none; }
.drawer__scrim {
  border: 0; padding: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: opacity 0.3s;
  cursor: pointer;
}
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer__panel {
  display: flex; flex-direction: column; gap: 6px;
  height: 100%;
  overflow-y: auto;
  padding: calc(18px + env(safe-area-inset-top, 0px)) 20px calc(24px + env(safe-area-inset-bottom, 0px));
  background: #141414;
  border-left: 1px solid var(--mh-line);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.drawer__top img { height: 56px; width: auto; }
.drawer__close {
  width: 44px; height: 44px;
  padding: 0;
  border: 1px solid var(--mh-line);
  border-radius: 8px;
  background: var(--mh-panel);
  color: var(--white);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.drawer__link {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 4px;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mh-text);
  text-decoration: none;
  border-bottom: 1px solid var(--mh-line);
  cursor: pointer;
}
.drawer__acc summary { list-style: none; }
.drawer__acc summary::-webkit-details-marker { display: none; }
.drawer__acc summary::after { content: "+"; color: var(--mh-accent); font-size: 1.6rem; line-height: 1; }
.drawer__acc[open] summary::after { content: "\2212"; }
.drawer__acc ul { list-style: none; margin: 0; padding: 8px 0 10px 10px; display: grid; }
.drawer__acc ul a {
  display: block;
  padding: 10px 4px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--mh-muted);
  text-decoration: none;
}
.drawer__acc ul a:hover { color: var(--mh-accent); }
.drawer__cta { display: grid; gap: 10px; margin-top: 18px; }
.btn--line {
  padding: 14px 28px;
  font-size: 1rem;
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
}
.btn--line:hover { color: var(--white); background: rgba(255, 255, 255, 0.08); }
body.drawer-open { overflow: hidden; }

/* Keep in-page anchors (#patio, #areas-title, ...) from hiding under the pinned bar */
html:has(body.has-masthead) { scroll-padding-top: calc(var(--mainbar-h) + 12px); }

/* Home hero sits below the masthead instead of under an overlay header */
.has-masthead .hero {
  min-height: calc(100vh - var(--mainbar-h));
  min-height: calc(100svh - var(--mainbar-h));
  padding-top: 3rem;
}

@media (max-width: 1060px) {
  .mainnav, .mainbar__phone { display: none; }
  .mainbar__cta { margin-left: auto; }
  .burger { display: grid; }
}
@media (max-width: 720px) {
  :root { --mainbar-h: 68px; }
  .mainbar__logo img { height: 48px; }
  .mainbar__btn { display: none !important; }
}

/* ---- Hero (home) ------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
  padding: calc(var(--header-h) + 2rem) var(--gutter) 3rem;
}
.hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: -1;
}
.hero h1 { margin: 0 0 2rem; line-height: 0; }
.hero__lockup {
  display: inline-block;
  border: 4px solid var(--white);
  padding: 1.25rem 1.75rem;
}
.hero__lockup img { width: 35vw; max-width: 300px; margin: 0 auto; }
.hero__stats {
  margin: 2rem 0 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  line-height: 1.9;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
  .hero__lockup img { width: 15vw; min-width: 260px; max-width: 400px; }
}
@media (max-width: 767px) {
  /* Keep content toward the bottom on phones, like before */
  .hero { align-items: flex-end; padding-bottom: 4rem; }
}

/* ---- Page intro banner (inner pages) ----------------------------------- */
.page-intro {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 3rem) 0 3rem;
  background-color: var(--charcoal);
  background-size: cover;
  background-position: center;
  isolation: isolate;
}
.page-intro::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.15));
  z-index: -1;
}
.page-intro h1 { color: var(--white); margin: 0; }

/* ---- Intro block (home) ------------------------------------------------ */
.intro { max-width: 640px; margin: 0 auto; text-align: center; }
.media-rounded { border-radius: var(--radius); width: 100%; margin: 1.25rem auto; }

/* ---- Services grid ----------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}
.service {
  padding-bottom: 30px;
  border-bottom: 1px solid #666;
  display: flex;
  flex-direction: column;
}
.service:last-child { border-bottom: 0; }
.service video { max-width: 600px; width: 100%; margin: 20px auto; border-radius: var(--radius); }
.service h3 { font-style: italic; margin: 1rem 0 0.5rem; }
.service .quote { flex-grow: 1; }
.service .btn--primary { margin-top: auto; }

@media (min-width: 768px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .service { border-bottom: 0; padding-bottom: 0; }
}
@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); column-gap: 40px; row-gap: 60px; }
}

/* ---- Quotes ------------------------------------------------------------ */
.quote { margin: 0 0 1.5rem; padding: 0; font-style: italic; }
.quote p { margin: 0 0 0.75rem; }
.quote cite {
  display: block;
  font-style: normal;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
}
.quote cite::before { content: "— "; }

/* ---- Review carousel (home) -------------------------------------------- */
.carousel { position: relative; max-width: 900px; margin: 0 auto; }
.carousel__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  list-style: none;
  margin: 0; padding: 0;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  padding: 1rem 3.5rem;
  text-align: center;
}
.carousel__slide .quote { font-size: 1.15rem; line-height: 1.8; }
.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}
.carousel__btn:hover { border-color: var(--blue); color: var(--blue); }
.carousel__btn--prev { left: 0; }
.carousel__btn--next { right: 0; }

@media (max-width: 600px) {
  .carousel__slide { padding: 1rem 0.5rem 4rem; }
  .carousel__slide .quote { font-size: 1rem; }
  .carousel__btn { top: auto; bottom: 0; transform: none; }
  .carousel__btn--prev { left: calc(50% - 52px); }
  .carousel__btn--next { right: calc(50% - 52px); }
}

.more-link {
  display: inline-block;
  margin: 2rem 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-style: italic;
  color: #666;
}

.mobile-banner { width: 100%; }
@media (min-width: 768px) { .mobile-banner { display: none; } }

/* ---- Service areas ----------------------------------------------------- */
.areas {
  display: grid;
  grid-template-columns: repeat(2, auto);
  justify-content: center;
  column-gap: 60px;
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 2.6;
  color: var(--white);
}

/* ---- Review cards (reviews page) --------------------------------------- */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 30px;
  list-style: none;
  margin: 0; padding: 0;
}
.review-card {
  background: var(--white);
  color: var(--text);
  border-radius: 12px;
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.review-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}
.review-card__name { font-family: var(--font-head); font-weight: 700; color: var(--ink); display: block; }
.review-card__loc { font-size: 0.85rem; color: var(--muted); }
.review-card p { margin: 0; font-size: 0.95rem; white-space: pre-line; }
.stars { color: #f5b301; letter-spacing: 2px; white-space: nowrap; font-size: 1rem; }

/* ---- Gallery ----------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr));
  gap: 24px;
  list-style: none;
  margin: 0; padding: 0;
}
.ba {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__after { opacity: 0; transition: opacity 0.35s ease; }
.ba[aria-pressed="true"] .ba__after { opacity: 1; }
.ba__label {
  position: absolute; left: 12px; top: 12px;
  padding: 4px 10px;
  border-radius: 4px;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(0, 0, 0, 0.65);
}
.ba[aria-pressed="true"] .ba__label { background: var(--blue); }
.ba__label::after { content: "Before — tap to see after"; }
.ba[aria-pressed="true"] .ba__label::after { content: "After"; }

/* ---- About cards ------------------------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr));
  gap: 30px;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.card img { width: 100%; aspect-ratio: 760 / 500; object-fit: cover; }
.card__body { padding: 24px 28px 28px; }
.card__body h2 { font-size: 1.15rem; margin-bottom: 0.25rem; }
.card__role {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue);
  margin-bottom: 1rem;
}
.card__body p { margin: 0; font-size: 0.95rem; }

/* ---- Video embed (vsl) ------------------------------------------------- */
.video-frame { max-width: 800px; margin: 0 auto; }
.video-frame video { width: 100%; border-radius: var(--radius-sm); box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); }

/* ---- Footer ------------------------------------------------------------ */
.site-footer {
  background: var(--charcoal);
  color: #aaa;
  text-align: center;
  padding: 48px 0;
  font-size: 0.9rem;
}
.site-footer h2 { color: var(--white); font-size: 1rem; text-transform: uppercase; letter-spacing: 0.08em; }
.site-footer a { color: inherit; }
.site-footer a:hover { color: var(--white); }
.site-footer address { font-style: normal; margin-bottom: 0.75rem; }
.footer-links { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; }
.footer-links li + li::before { content: "|"; margin: 0 0.6rem; opacity: 0.5; }
.site-footer small { font-size: 0.8rem; opacity: 0.8; }

/* ---- Quote dialog ------------------------------------------------------ */
.quote-dialog {
  width: min(92vw, 500px);
  max-height: 90vh;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: var(--bg-soft);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
.quote-dialog::backdrop { background: rgba(0, 0, 0, 0.7); }
.quote-dialog[open] { animation: dialog-in 0.3s ease; }
@keyframes dialog-in {
  from { transform: translateY(-40px); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.quote-dialog__close {
  position: absolute; top: 10px; right: 14px;
  width: 40px; height: 40px;
  border: 0; background: transparent;
  font-size: 2rem; line-height: 1;
  color: #666;
  cursor: pointer;
}
.quote-dialog__close:hover { color: #000; }

.quote-form { padding: 40px; }
.quote-form h2 { font-size: 1.6rem; margin: 0 0 0.5rem; padding-right: 2rem; }
.quote-form p { font-size: 0.95rem; margin-bottom: 1.5rem; }
.quote-form label {
  display: block;
  margin: 1.1rem 0 0.4rem;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--ink);
}
.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  padding: 12px;
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: 6px;
}
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus { outline: none; border-color: var(--blue-bright); }
.quote-form textarea { min-height: 100px; resize: vertical; }
.quote-form button[type="submit"] {
  width: 100%;
  margin-top: 1.5rem;
  padding: 16px;
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-bright), var(--blue-dark));
  border: 0;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform 0.2s ease;
}
.quote-form button[type="submit"]:hover { transform: scale(1.02); }
.quote-form .form-footer { text-align: center; margin: 1.25rem 0 0; }
.quote-form .form-footer a { font-weight: 700; text-decoration: none; }

@media (max-width: 768px) {
  .quote-form { padding: 30px 20px; }
}

/* ---- Reduced motion ---------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
