/* ==========================================================================
   RemodeLeads — marketing site design system
   Static CSS. No build step, no framework. Brand palette derived from the logo
   (deep navy + orange). Edit tokens below to re-skin the whole site.
   ========================================================================== */

/* ---------- 1. Tokens ---------------------------------------------------- */
:root {
  /* Brand */
  --navy-900: #0d2137;
  --navy-800: #13304b;
  --navy-700: #1b3f60;
  --navy-600: #24527b;
  --navy-500: #356a97;
  --navy-100: #e8eef5;
  --navy-050: #f3f7fb;

  --orange-600: #cc6a1a;
  --orange-500: #e8822c;
  --orange-400: #f29a4e;
  --orange-100: #fdeedf;
  --orange-050: #fef7f1;

  /* Neutrals */
  --ink: #0e1b2a;
  --slate-700: #3d4d5e;
  --slate-600: #5a6b7d;
  --slate-500: #7b8a9a;
  --slate-400: #9aa8b6;
  --line: #e3e9f0;
  --line-soft: #eef2f7;
  --white: #ffffff;
  --bg-soft: #f7f9fc;

  /* Semantic */
  --green-600: #0f8a5f;
  --green-500: #17a673;
  --green-050: #e9f8f1;
  --red-500: #d9534f;
  --red-050: #fdefee;

  /* Type */
  --font-display: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Shape */
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 18px;
  --r-xl: 26px;
  --r-pill: 999px;

  /* Elevation — soft, layered, never harsh */
  --sh-xs: 0 1px 2px rgba(13, 33, 55, .06);
  --sh-sm: 0 1px 3px rgba(13, 33, 55, .07), 0 4px 12px rgba(13, 33, 55, .05);
  --sh-md: 0 2px 6px rgba(13, 33, 55, .06), 0 12px 28px rgba(13, 33, 55, .08);
  --sh-lg: 0 4px 10px rgba(13, 33, 55, .07), 0 24px 56px rgba(13, 33, 55, .12);
  --sh-orange: 0 6px 18px rgba(232, 130, 44, .32);

  /* Layout */
  --container: 1160px;
  --container-narrow: 860px;
  --header-h: 76px;

  --ease: cubic-bezier(.22, .8, .3, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--slate-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, video { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0 0 .5em;
  line-height: 1.14;
  letter-spacing: -.028em;
  font-weight: 800;
}

h1 { font-size: clamp(2.35rem, 5.1vw, 3.85rem); }
h2 { font-size: clamp(1.85rem, 3.5vw, 2.7rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); letter-spacing: -.02em; }
h4 { font-size: 1.07rem; letter-spacing: -.012em; font-weight: 700; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--navy-600); text-decoration: none; transition: color .16s var(--ease); }
a:hover { color: var(--orange-500); }

ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
li { margin-bottom: .45em; }

strong, b { color: var(--ink); font-weight: 700; }

::selection { background: var(--orange-100); color: var(--navy-900); }

:focus-visible {
  outline: 3px solid var(--orange-400);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- 3. Layout helpers -------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding: clamp(60px, 8vw, 104px) 0; }
.section--tight { padding: clamp(44px, 5vw, 68px) 0; }
.section--soft { background: var(--bg-soft); }
.section--navy {
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: rgba(255, 255, 255, .82);
}
.section--navy h1, .section--navy h2, .section--navy h3, .section--navy h4 { color: var(--white); }
.section--navy strong { color: var(--white); }
.section--navy a { color: var(--orange-400); }

.section-head { max-width: 720px; margin: 0 auto clamp(36px, 4.5vw, 60px); text-align: center; }
.section-head--left { margin-inline: 0; text-align: left; }
.section-head p { font-size: 1.1rem; color: var(--slate-600); }
.section--navy .section-head p { color: rgba(255, 255, 255, .78); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--orange-600);
  margin-bottom: 14px;
}
.section--navy .eyebrow { color: var(--orange-400); }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-3 { margin-top: 28px; }
.mt-4 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }
.lead { font-size: 1.16rem; color: var(--slate-600); line-height: 1.6; }
.small { font-size: .88rem; }
.muted { color: var(--slate-500); }
.nowrap { white-space: nowrap; }

/* ---------- 4. Buttons --------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .97rem;
  letter-spacing: -.008em;
  padding: 14px 26px;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  text-align: center;
  transition: transform .16s var(--ease), box-shadow .2s var(--ease),
              background-color .16s var(--ease), color .16s var(--ease),
              border-color .16s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--orange-500);
  color: var(--white);
  box-shadow: var(--sh-orange);
}
.btn--primary:hover { background: var(--orange-600); color: var(--white); box-shadow: 0 10px 26px rgba(232, 130, 44, .4); }

.btn--navy { background: var(--navy-800); color: var(--white); box-shadow: var(--sh-sm); }
.btn--navy:hover { background: var(--navy-900); color: var(--white); }

.btn--outline { background: transparent; color: var(--navy-800); border-color: var(--line); }
.btn--outline:hover { border-color: var(--navy-600); color: var(--navy-900); background: var(--navy-050); }

.btn--white { background: var(--white); color: var(--navy-900); box-shadow: var(--sh-md); }
.btn--white:hover { color: var(--navy-900); background: #fff; }

.btn--ghost-light { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .16); color: #fff; }

.btn--lg { padding: 17px 34px; font-size: 1.04rem; }
.btn--sm { padding: 10px 18px; font-size: .88rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn-row--center { justify-content: center; }

.link-arrow {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy-700);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.link-arrow span { transition: transform .18s var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }

/* ---------- 5. Badges & pills -------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: var(--navy-050);
  color: var(--navy-700);
  border: 1px solid var(--line);
}
.badge--orange { background: var(--orange-100); color: var(--orange-600); border-color: #f7dcc4; }
.badge--green { background: var(--green-050); color: var(--green-600); border-color: #c9ecdd; }
.badge--light { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .24); }

.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green-500); flex: none;
  box-shadow: 0 0 0 3px rgba(23, 166, 115, .18);
}
.dot--pulse { animation: pulse 2s infinite; }
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(23, 166, 115, .45); }
  70%  { box-shadow: 0 0 0 8px rgba(23, 166, 115, 0); }
  100% { box-shadow: 0 0 0 0 rgba(23, 166, 115, 0); }
}

/* ---------- 6. Cards ----------------------------------------------------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px;
  box-shadow: var(--sh-xs);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: #d6e0ea; }
.card h3, .card h4 { margin-bottom: .45em; }
.card p:last-child { margin-bottom: 0; }
.card--flush { padding: 0; overflow: hidden; }
.card--dark {
  background: var(--navy-800);
  border-color: rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .8);
}
.card--dark h3, .card--dark h4 { color: #fff; }

.icon-box {
  width: 50px; height: 50px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--navy-050);
  color: var(--navy-700);
  margin-bottom: 18px;
  font-size: 1.35rem;
}
.icon-box--orange { background: var(--orange-100); color: var(--orange-600); }
.icon-box--green { background: var(--green-050); color: var(--green-600); }
.icon-box svg { width: 24px; height: 24px; }

/* ---------- 7. Header ---------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 1px 12px rgba(13, 33, 55, .06); }

.nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav__logo { display: flex; align-items: center; flex: none; }
.nav__logo img { height: 46px; width: auto; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 14px;
  list-style: none;
  padding: 0;
  margin-bottom: 0;
}
.nav__links li { margin: 0; }
.nav__links a {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .94rem;
  color: var(--slate-700);
  padding: 9px 13px;
  border-radius: var(--r-sm);
  transition: background-color .16s var(--ease), color .16s var(--ease);
}
.nav__links a:hover { background: var(--navy-050); color: var(--navy-900); }
.nav__links a.is-active { color: var(--navy-900); background: var(--navy-050); }

.nav__spacer { flex: 1; }
.nav__actions { display: flex; align-items: center; gap: 12px; flex: none; }

.nav__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .94rem;
  color: var(--navy-800);
}
.nav__phone:hover { color: var(--orange-600); }
.nav__phone svg { width: 17px; height: 17px; flex: none; }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--white);
  place-items: center;
}
.nav__toggle span { display: block; width: 18px; height: 2px; background: var(--navy-800); border-radius: 2px; position: relative; transition: background-color .16s; }
.nav__toggle span::before, .nav__toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px;
  background: var(--navy-800); border-radius: 2px; transition: transform .22s var(--ease);
}
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }
.nav__toggle.is-open span { background: transparent; }
.nav__toggle.is-open span::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle.is-open span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--white);
  padding: 14px 0 22px;
}
.mobile-menu.is-open { display: block; }
.mobile-menu ul { list-style: none; padding: 0; margin: 0 0 16px; }
.mobile-menu li { margin: 0; }
.mobile-menu a {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 12px 4px;
  color: var(--navy-800);
  border-bottom: 1px solid var(--line-soft);
}

/* Announcement strip above the header */
.topbar {
  background: var(--navy-900);
  color: rgba(255, 255, 255, .84);
  font-size: .84rem;
  text-align: center;
  padding: 9px 0;
}
.topbar strong { color: #fff; }
.topbar a { color: var(--orange-400); font-weight: 600; }
.topbar__inner { display: flex; align-items: center; justify-content: center; gap: 10px 22px; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; }

/* ---------- 8. Cinematic hero (full-bleed photo slideshow) --------------- */
.hero {
  position: relative;
  overflow: hidden;
  /* Sized so the search bar — the primary CTA — stays above the fold on a
     720px-tall laptop viewport. Don't raise the padding without re-measuring. */
  min-height: min(86vh, 840px);
  display: flex;
  align-items: center;
  padding: clamp(64px, 8vh, 104px) 0 clamp(72px, 9vh, 104px);
  background: var(--navy-900);
  isolation: isolate;
}

/* --- the moving photography --- */
.hero__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.8s var(--ease);
  will-change: opacity, transform;
}
.hero__slide.is-active {
  opacity: 1;
  /* slow, continuous drift — the luxury cue. Runs the full life of the slide. */
  animation: kenburns 13s linear forwards;
}
@keyframes kenburns {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to   { transform: scale(1.155) translate3d(-1.1%, -1.4%, 0); }
}
/* alternate slides drift the other way so it never feels mechanical */
.hero__slide:nth-child(even).is-active { animation-name: kenburns-alt; }
@keyframes kenburns-alt {
  from { transform: scale(1.14) translate3d(1%, .8%, 0); }
  to   { transform: scale(1.06) translate3d(0, 0, 0); }
}

/* --- scrim: dark enough to read white type, light enough to keep the photo --- */
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(8, 22, 38, .93) 0%, rgba(8, 22, 38, .78) 32%, rgba(8, 22, 38, .34) 62%, rgba(8, 22, 38, .18) 100%),
    linear-gradient(to top, rgba(8, 22, 38, .72) 0%, transparent 42%);
}

.hero__inner { position: relative; z-index: 1; max-width: 680px; }

.hero h1 {
  color: #fff;
  margin-bottom: .32em;
  text-shadow: 0 2px 28px rgba(0, 0, 0, .34);
  font-size: clamp(2.15rem, 4.4vw, 3.5rem);
}
.hero h1 em { font-style: normal; color: var(--orange-400); }
.hero__sub {
  font-size: clamp(1rem, 1.35vw, 1.13rem);
  color: rgba(255, 255, 255, .88);
  max-width: 570px;
  margin-bottom: 26px;
  text-shadow: 0 1px 16px rgba(0, 0, 0, .3);
}

.hero__proof { display: flex; flex-wrap: wrap; gap: 9px 24px; margin-top: 22px; }
.hero__proof-item {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .91rem; font-weight: 600; color: rgba(255, 255, 255, .84);
}
.hero__proof-item svg { width: 18px; height: 18px; color: var(--orange-400); flex: none; }

/* --- Thumbtack-style search bar floating on the photo --- */
.hero-search {
  display: flex;
  align-items: stretch;
  gap: 10px;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--r-xl);
  padding: 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .2), 0 32px 70px rgba(0, 0, 0, .3);
  max-width: 660px;
}
.hero-search__field { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; padding: 2px 6px 2px 14px; }
.hero-search__field + .hero-search__field { border-left: 1px solid var(--line); }
.hero-search__label {
  font-family: var(--font-display);
  font-size: .68rem; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--slate-500); margin-bottom: 1px;
}
.hero-search select {
  width: 100%;
  border: 0; background: transparent; padding: 2px 22px 2px 0;
  font-family: var(--font-display); font-weight: 700; font-size: .95rem;
  color: var(--ink); cursor: pointer;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a6b7d' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 2px center; background-size: 15px;
  text-overflow: ellipsis;
}
.hero-search select:focus { outline: none; }
.hero-search__btn { flex: none; padding: 15px 28px; }

.hero__result {
  display: none;
  margin-top: 14px;
  max-width: 660px;
  border-radius: var(--r);
  padding: 15px 18px;
  font-size: .93rem;
  background: rgba(255, 255, 255, .96);
  border-left: 4px solid var(--green-500);
  color: var(--navy-800);
  box-shadow: var(--sh-md);
}
.hero__result.is-open { display: block; animation: fadeUp .4s var(--ease); }
.hero__result strong { color: var(--navy-900); }
.hero__result.is-warn { border-left-color: var(--orange-500); }

/* --- caption chip, bottom-right, Thumbtack-style --- */
.hero__caption {
  position: absolute;
  right: 24px; bottom: 26px;
  z-index: 2;
  text-align: right;
  background: rgba(8, 22, 38, .42);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--r);
  padding: 11px 16px;
  max-width: 290px;
  transition: opacity .5s var(--ease);
}
.hero__caption-title {
  font-family: var(--font-display);
  font-size: .72rem; font-weight: 800; letter-spacing: .13em;
  text-transform: uppercase; color: #fff;
}
.hero__caption-sub { font-size: .8rem; color: rgba(255, 255, 255, .72); margin-top: 2px; }

/* --- slide indicators --- */
.hero__dots { position: absolute; left: 24px; bottom: 30px; z-index: 2; display: flex; gap: 9px; }
.hero__dot {
  width: 30px; height: 3px; border-radius: 3px; border: 0; padding: 0;
  background: rgba(255, 255, 255, .28);
  position: relative;
  transition: background-color .3s var(--ease);
}
.hero__dot::before {
  /* 44x44 touch target over a 3px-tall control. Apple/WCAG minimum; without
     it these are effectively untappable on a phone. */
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  /* as wide as the dot plus its gap, so neighbouring targets never overlap
     and a tap can't activate the wrong slide */
  width: calc(100% + 9px); height: 44px;
  transform: translate(-50%, -50%);
}
.hero__dot:hover { background: rgba(255, 255, 255, .5); }
.hero__dot.is-active { background: rgba(255, 255, 255, .3); }
.hero__dot.is-active::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  overflow: hidden;
  background: var(--orange-500);
  transform-origin: left;
  animation: dotfill 13s linear forwards;
}
@keyframes dotfill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (prefers-reduced-motion: reduce) {
  .hero__slide.is-active { animation: none; transform: scale(1.06); }
  .hero__dot.is-active::after { animation: none; transform: scaleX(1); }
}

/* Price badge block under the hero copy */
.price-strip {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  background: var(--navy-050);
  border: 1px solid var(--navy-100);
  border-radius: var(--r-lg);
  padding: 18px 24px;
  margin-top: 30px;
}
.price-strip__main {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.12rem;
  color: var(--navy-900);
  letter-spacing: -.02em;
}
.price-strip__main span { color: var(--orange-600); }
.price-strip__sub { font-size: .87rem; color: var(--slate-600); }

/* ---------- 9. Hero widget (territory check) ----------------------------- */
.widget {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-lg);
  padding: 28px;
}
.widget__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.widget__title { font-family: var(--font-display); font-weight: 800; font-size: 1.12rem; color: var(--ink); letter-spacing: -.02em; }

.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: var(--r);
  background: var(--white);
  font-size: .98rem;
  color: var(--ink);
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
  appearance: none;
  -webkit-appearance: none;
}
.field textarea { min-height: 112px; resize: vertical; line-height: 1.55; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a6b7d' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 17px;
  padding-right: 42px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--navy-500);
  box-shadow: 0 0 0 4px rgba(53, 106, 151, .13);
}
.field__hint { font-size: .82rem; color: var(--slate-500); margin-top: 6px; }
.field--error input, .field--error select, .field--error textarea { border-color: var(--red-500); }
.field__error { display: none; font-size: .82rem; color: var(--red-500); margin-top: 6px; font-weight: 600; }
.field--error .field__error { display: block; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.widget__result {
  display: none;
  margin-top: 18px;
  border-radius: var(--r);
  padding: 16px 18px;
  font-size: .93rem;
  border: 1px solid var(--green-500);
  background: var(--green-050);
  color: var(--green-600);
}
.widget__result.is-open { display: block; animation: fadeUp .34s var(--ease); }
.widget__result strong { color: var(--green-600); }
.widget__result.is-warn { border-color: var(--orange-500); background: var(--orange-050); color: var(--orange-600); }
.widget__result.is-warn strong { color: var(--orange-600); }

.widget__foot { margin-top: 16px; font-size: .82rem; color: var(--slate-500); text-align: center; }

/* ---------- 10. Stats ---------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.stat { background: var(--white); padding: 28px 22px; text-align: center; }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 800;
  color: var(--navy-800);
  letter-spacing: -.03em;
  line-height: 1.05;
}
.stat__num span { color: var(--orange-500); }
.stat__label { font-size: .89rem; color: var(--slate-600); margin-top: 6px; }
.section--navy .stats { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .14); }
.section--navy .stat { background: transparent; }
.section--navy .stat__num { color: #fff; }
.section--navy .stat__label { color: rgba(255, 255, 255, .7); }

/* ---------- 11. Live activity ticker ------------------------------------- */
.ticker { display: grid; gap: 14px; }
.ticker__item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 16px 20px;
  box-shadow: var(--sh-xs);
  animation: fadeUp .45s var(--ease) both;
}
.ticker__item--new { border-color: #bfe6d5; box-shadow: 0 0 0 4px rgba(23, 166, 115, .09); }
.ticker__body { flex: 1; min-width: 0; }
.ticker__title { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: .97rem; }
.ticker__meta { font-size: .86rem; color: var(--slate-500); }
.ticker__when {
  flex: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .85rem;
  color: var(--navy-700);
  background: var(--navy-050);
  border-radius: var(--r-pill);
  padding: 6px 13px;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- 12. Steps ---------------------------------------------------- */
.steps { counter-reset: step; display: grid; gap: 18px; }
.step {
  position: relative;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 20px;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px 26px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.step:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.step__num {
  counter-increment: step;
  width: 46px; height: 46px;
  border-radius: 14px;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.12rem;
  background: var(--navy-800);
  color: #fff;
}
.step--them .step__num { background: var(--orange-500); }
.step--you .step__num { background: var(--green-500); }
.step h4 { margin-bottom: .3em; }
.step p { font-size: .96rem; margin-bottom: 0; }
.step__tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  margin-bottom: 8px;
}
.step__tag--us { background: var(--orange-100); color: var(--orange-600); }
.step__tag--you { background: var(--green-050); color: var(--green-600); }

/* ---------- 13. Compare tabs / table ------------------------------------- */
.tabs { display: inline-flex; gap: 4px; background: var(--navy-050); border: 1px solid var(--line); padding: 5px; border-radius: var(--r-pill); margin-bottom: 30px; }
.tabs button {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .93rem;
  padding: 10px 22px;
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--slate-600);
  transition: background-color .18s var(--ease), color .18s var(--ease), box-shadow .18s var(--ease);
}
.tabs button.is-active { background: var(--white); color: var(--navy-900); box-shadow: var(--sh-sm); }

.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fadeUp .3s var(--ease); }

.compare {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  font-size: .95rem;
}
.compare th, .compare td { padding: 17px 20px; text-align: left; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.compare thead th {
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--slate-500);
  background: var(--bg-soft);
}
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare tbody th { font-weight: 600; color: var(--slate-700); font-family: var(--font-body); width: 26%; }
.compare .col-ours { background: var(--orange-050); }
.compare thead .col-ours { background: var(--orange-100); color: var(--orange-600); }
.compare .col-ours td, .compare td.col-ours { color: var(--navy-900); font-weight: 600; }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---------- 14. Checklists ----------------------------------------------- */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 13px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; margin: 0; font-size: .97rem; }
.check-list svg { width: 21px; height: 21px; flex: none; margin-top: 2px; }
.check-list--yes svg { color: var(--green-500); }
.check-list--no svg { color: var(--red-500); }
.check-list--light li { color: rgba(255, 255, 255, .84); }

/* ---------- 15. Pricing -------------------------------------------------- */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; align-items: start; }

.plan {
  position: relative;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--r-xl);
  padding: 34px 32px;
  box-shadow: var(--sh-sm);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }

.plan--featured {
  border-color: var(--orange-500);
  box-shadow: var(--sh-lg);
  background:
    linear-gradient(180deg, var(--orange-050) 0%, var(--white) 190px);
}
.plan--featured:hover { box-shadow: 0 8px 20px rgba(13,33,55,.09), 0 30px 70px rgba(232,130,44,.2); }

.plan__flag {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--orange-500);
  color: #fff;
  font-family: var(--font-display);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: var(--r-pill);
  box-shadow: var(--sh-orange);
  white-space: nowrap;
}
.plan__name { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: var(--ink); letter-spacing: -.022em; margin-bottom: 6px; }
.plan__for { font-size: .92rem; color: var(--slate-500); margin-bottom: 22px; min-height: 44px; }
.plan__price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; }
.plan__amount { font-family: var(--font-display); font-size: 3.15rem; font-weight: 800; color: var(--navy-900); letter-spacing: -.04em; line-height: 1; }
.plan--featured .plan__amount { color: var(--orange-600); }
.plan__unit { font-size: .97rem; color: var(--slate-600); font-weight: 600; }
.plan__budget {
  font-size: .93rem;
  font-weight: 700;
  color: var(--navy-700);
  background: var(--navy-050);
  border-radius: var(--r-sm);
  padding: 9px 13px;
  margin: 14px 0 22px;
}
.plan--featured .plan__budget { background: var(--orange-100); color: var(--orange-600); }
.plan__divider { height: 1px; background: var(--line); margin: 6px 0 22px; }
.plan .check-list { margin-bottom: 26px; }
.plan__cta { margin-top: auto; }

.plan__gate {
  border: 1px dashed #e0c4a4;
  background: var(--orange-050);
  border-radius: var(--r);
  padding: 15px 17px;
  margin-bottom: 24px;
}
.plan__gate-title {
  font-family: var(--font-display);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--orange-600);
  margin-bottom: 9px;
  display: flex; align-items: center; gap: 7px;
}
.plan__gate ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.plan__gate li { font-size: .89rem; color: var(--navy-800); font-weight: 600; margin: 0; display: flex; gap: 8px; align-items: flex-start; }
.plan__gate li::before { content: "▸"; color: var(--orange-500); font-weight: 800; flex: none; }

/* ---------- 16. ROI calculator ------------------------------------------- */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }

.calc__inputs, .calc__output {
  border-radius: var(--r-xl);
  padding: 32px;
}
.calc__inputs { background: var(--white); border: 1px solid var(--line); box-shadow: var(--sh-sm); }
.calc__output {
  background: linear-gradient(158deg, var(--navy-900), var(--navy-700));
  color: rgba(255, 255, 255, .82);
  box-shadow: var(--sh-lg);
  display: flex;
  flex-direction: column;
}

.slider-field { margin-bottom: 28px; }
.slider-field:last-of-type { margin-bottom: 20px; }
.slider-field__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.slider-field__label { font-family: var(--font-display); font-weight: 700; font-size: .96rem; color: var(--ink); }
.slider-field__value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.22rem;
  color: var(--orange-600);
  letter-spacing: -.02em;
}
.slider-field__scale { display: flex; justify-content: space-between; font-size: .78rem; color: var(--slate-400); margin-top: 7px; }

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 7px;
  border-radius: var(--r-pill);
  background: var(--line);
  outline: none;
  margin: 0;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 25px; height: 25px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--orange-500);
  box-shadow: 0 2px 8px rgba(13, 33, 55, .2);
  cursor: grab;
  transition: transform .14s var(--ease);
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.12); }
input[type="range"]::-webkit-slider-thumb:active { cursor: grabbing; transform: scale(1.02); }
input[type="range"]::-moz-range-thumb {
  width: 25px; height: 25px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--orange-500);
  box-shadow: 0 2px 8px rgba(13, 33, 55, .2);
  cursor: grab;
}

.calc__result-main { text-align: center; padding-bottom: 22px; border-bottom: 1px solid rgba(255, 255, 255, .15); margin-bottom: 22px; }
.calc__result-label { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: rgba(255, 255, 255, .6); font-family: var(--font-display); }
.calc__result-big {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 3.6rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -.04em;
  line-height: 1.05;
  margin-top: 6px;
}
.calc__rows { display: grid; gap: 2px; }
.calc__row { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: .95rem; }
.calc__row:last-child { border-bottom: 0; }
.calc__row span:first-child { color: rgba(255, 255, 255, .72); }
.calc__row span:last-child { font-family: var(--font-display); font-weight: 800; color: #fff; font-size: 1.06rem; }
.calc__row--accent span:last-child { color: var(--orange-400); }
.calc__foot { margin-top: auto; padding-top: 22px; font-size: .78rem; color: rgba(255, 255, 255, .5); line-height: 1.5; }

/* ---------- 17. Accordion / FAQ ------------------------------------------ */
.accordion { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--white); }
.acc-item + .acc-item { border-top: 1px solid var(--line-soft); }
.acc-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 22px 26px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.03rem;
  color: var(--ink);
  letter-spacing: -.015em;
  transition: background-color .16s var(--ease);
}
.acc-btn:hover { background: var(--bg-soft); }
.acc-btn__icon {
  flex: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--navy-050);
  color: var(--navy-700);
  display: grid; place-items: center;
  font-size: 1.1rem; font-weight: 700;
  transition: transform .26s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}
.acc-btn[aria-expanded="true"] .acc-btn__icon { transform: rotate(45deg); background: var(--orange-500); color: #fff; }
.acc-panel { max-height: 0; overflow: hidden; transition: max-height .34s var(--ease); }
.acc-panel__inner { padding: 0 26px 24px; color: var(--slate-600); font-size: .98rem; }
.acc-panel__inner p:last-child { margin-bottom: 0; }

/* ---------- 18. App preview ---------------------------------------------- */
.phone {
  width: 300px;
  max-width: 100%;
  margin-inline: auto;
  background: var(--navy-900);
  border-radius: 38px;
  padding: 11px;
  box-shadow: var(--sh-lg), 0 0 0 1px rgba(13, 33, 55, .1);
}
.phone__screen { background: var(--bg-soft); border-radius: 28px; overflow: hidden; }
.phone__bar {
  background: var(--navy-800);
  color: #fff;
  padding: 16px 18px 14px;
  display: flex; align-items: center; justify-content: space-between;
}
.phone__bar-title { font-family: var(--font-display); font-weight: 800; font-size: .94rem; }
.phone__body { padding: 15px; display: grid; gap: 11px; }
.appt-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--green-500);
  border-radius: var(--r);
  padding: 13px 14px;
  box-shadow: var(--sh-xs);
}
.appt-card__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 5px; }
.appt-card__name { font-family: var(--font-display); font-weight: 700; font-size: .87rem; color: var(--ink); }
.appt-card__time { font-size: .72rem; font-weight: 700; color: var(--green-600); background: var(--green-050); padding: 3px 8px; border-radius: var(--r-pill); }
.appt-card__meta { font-size: .76rem; color: var(--slate-500); line-height: 1.45; }
.appt-card--pending { border-left-color: var(--orange-500); }
.appt-card--pending .appt-card__time { color: var(--orange-600); background: var(--orange-100); }

.phone__controls { padding: 4px 15px 18px; display: grid; gap: 9px; }
.ctrl {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 11px 13px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.ctrl__label { font-size: .78rem; font-weight: 600; color: var(--slate-600); }
.ctrl__value { font-family: var(--font-display); font-size: .82rem; font-weight: 800; color: var(--navy-800); }
.switch { width: 38px; height: 22px; border-radius: var(--r-pill); background: var(--green-500); position: relative; flex: none; }
.switch::after { content: ""; position: absolute; top: 3px; right: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; }

/* ---------- 18b. Project gallery ---------------------------------------- */
/* 4 cols × 2 rows: one 2×2 feature tile on the left, a clean 2×2 block of
   four beside it. `dense` is a safety net so a future span change can never
   punch holes in the grid the way a mixed tall/wide layout did. */
.work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 214px;
  grid-auto-flow: dense;
  gap: 16px;
}
.work {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--navy-800);
  display: block;
  box-shadow: var(--sh-sm);
}
.work--feature { grid-column: span 2; grid-row: span 2; }

.work__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease), filter .5s var(--ease);
}
.work:hover .work__img { transform: scale(1.07); }

/* Remodeling photography is overwhelmingly bright — white cabinetry, white
   tile, big windows. The veil has to be genuinely dark at the bottom or the
   white caption disappears into the worktop behind it. */
.work__veil {
  position: absolute; inset: 0;
  background: linear-gradient(to top,
    rgba(8, 22, 38, .93) 0%,
    rgba(8, 22, 38, .80) 26%,
    rgba(8, 22, 38, .42) 52%,
    rgba(8, 22, 38, .06) 78%,
    rgba(8, 22, 38, 0) 100%);
  transition: opacity .4s var(--ease);
}
.work:hover .work__veil { opacity: .94; }

.work__body {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 20px 22px; z-index: 1;
  text-shadow: 0 1px 12px rgba(8, 22, 38, .55);
}
.work__tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: .65rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase;
  color: var(--orange-400);
  margin-bottom: 6px;
}
.work__title { font-family: var(--font-display); font-weight: 800; color: #fff; font-size: 1.02rem; letter-spacing: -.02em; line-height: 1.25; }
.work__meta { font-size: .81rem; color: rgba(255, 255, 255, .72); margin-top: 3px; }

/* ---------- 18f. Long-form story disclosure ----------------------------- */
.story { margin-top: 34px; }
.story__toggle {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: transparent;
  border: 1.5px solid var(--line);
  border-radius: var(--r-pill);
  padding: 13px 24px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .96rem;
  color: var(--navy-800);
  transition: border-color .18s var(--ease), background-color .18s var(--ease), color .18s var(--ease);
}
.story__toggle:hover { border-color: var(--navy-600); background: var(--navy-050); }
.story__toggle-icon {
  width: 24px; height: 24px; flex: none;
  border-radius: 50%;
  background: var(--orange-500); color: #fff;
  display: grid; place-items: center;
  font-size: 1rem; font-weight: 800; line-height: 1;
  transition: transform .3s var(--ease);
}
.story__toggle[aria-expanded="true"] .story__toggle-icon { transform: rotate(45deg); }

.story__panel { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.story__inner {
  padding-top: 34px;
  max-width: 760px;
  border-top: 1px solid var(--line);
  margin-top: 26px;
}
.story__inner h3 {
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange-600);
  margin: 0 0 14px;
}
.story__inner h3 + p { margin-top: 0; }
.story__part + .story__part { margin-top: 46px; padding-top: 42px; border-top: 1px solid var(--line-soft); }
.story__inner p { font-size: 1.04rem; line-height: 1.72; color: var(--slate-700); margin-bottom: 1.15em; }
.story__lead {
  font-family: var(--font-display);
  font-size: 1.24rem !important;
  font-weight: 700;
  line-height: 1.45 !important;
  color: var(--ink) !important;
  letter-spacing: -.018em;
}
.story__pull {
  border-left: 3px solid var(--orange-500);
  padding: 4px 0 4px 22px;
  margin: 26px 0;
  font-family: var(--font-display);
  font-size: 1.12rem !important;
  font-weight: 700;
  line-height: 1.5 !important;
  color: var(--ink) !important;
  letter-spacing: -.015em;
}
.story__truths { display: grid; gap: 16px; margin: 24px 0 8px; }
.story__truth {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 18px 22px;
}
.story__truth strong { display: block; font-family: var(--font-display); color: var(--ink); margin-bottom: 5px; }
.story__truth p { font-size: .97rem !important; margin-bottom: 0 !important; }
.story__sign {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.02em;
  margin-top: 30px;
}
.story__sign span { display: block; font-weight: 600; font-size: .86rem; color: var(--slate-500); letter-spacing: 0; margin-top: 2px; }

@media (max-width: 680px) {
  .story__inner p { font-size: .99rem; }
  .story__lead { font-size: 1.1rem !important; }
  .story__toggle { width: 100%; justify-content: center; }
}

/* ---------- 18e. Client logo marquee ------------------------------------ */
/* Hidden by default — site.js only reveals it once at least one logo actually
   loads, so a half-finished logo folder can never ship a broken row of icons. */
.logo-band { display: none; }
.logo-band.is-ready { display: block; }

.marquee {
  position: relative;
  overflow: hidden;
  /* fade the logos out at both edges so they drift in and out of nothing */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marquee__track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: clamp(38px, 5vw, 76px);
  animation: marquee var(--marquee-duration, 42s) linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translate3d(0, 0, 0); }
  /* the track holds exactly two copies, so -50% is one seamless loop */
  to   { transform: translate3d(-50%, 0, 0); }
}

.marquee__item { flex: none; display: grid; place-items: center; }
.marquee__item img {
  height: clamp(34px, 4.2vw, 46px);
  width: auto;
  max-width: 190px;
  object-fit: contain;
  /* neutralise clashing brand colours into one calm row; colour on hover.
     .52 was too washed out for detailed contractor marks to read. */
  filter: grayscale(1) opacity(.66);
  transition: filter .28s var(--ease), transform .28s var(--ease);
}
.marquee__item:hover img { filter: grayscale(0) opacity(1); transform: translateY(-2px); }
.section--navy .marquee__item img,
.photo-band .marquee__item img { filter: grayscale(1) brightness(0) invert(1) opacity(.62); }
.section--navy .marquee__item:hover img,
.photo-band .marquee__item:hover img { filter: brightness(0) invert(1) opacity(1); }

@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: 100%; }
}

/* ---------- 18d. Founders / team ---------------------------------------- */
/* Two conference shots stacked. They're deliberately different shapes — a wide
   portrait of the two owners above a squarer group shot at the booth — so the
   pair reads as a photo essay rather than a duplicated component. */
.founder-stack { display: grid; gap: 18px; }
.founder-stack .founder-photo:nth-child(2) { box-shadow: var(--sh-md); }

.founder-photo {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  background: var(--navy-800);
}
.founder-photo img { width: 100%; height: auto; display: block; }
.founder-photo__cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 30px 24px 18px;
  background: linear-gradient(to top, rgba(8, 22, 38, .92) 0%, rgba(8, 22, 38, .58) 58%, transparent 100%);
  color: #fff;
}
.founder-photo__names { font-family: var(--font-display); font-weight: 800; font-size: 1.02rem; letter-spacing: -.015em; }
.founder-photo__role { font-size: .84rem; color: rgba(255, 255, 255, .74); margin-top: 2px; }

.person { display: flex; gap: 16px; align-items: flex-start; }
.person + .person { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.person__initials {
  flex: none;
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.02rem;
  background: var(--navy-800); color: #fff;
  letter-spacing: -.02em;
}
.person__initials--alt { background: var(--orange-500); }
.person__name { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; color: var(--ink); letter-spacing: -.02em; line-height: 1.25; }
.person__role {
  font-family: var(--font-display);
  font-size: .72rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase;
  color: var(--orange-600); margin: 3px 0 9px;
}
.person p { font-size: .95rem; margin-bottom: 0; }

/* ---------- 18c. Photo band (image-backed section) ---------------------- */
.photo-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(64px, 9vw, 118px) 0;
  background: var(--navy-900);
  color: rgba(255, 255, 255, .84);
}
.photo-band__img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
}
.photo-band::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(95deg, rgba(8, 22, 38, .95) 0%, rgba(8, 22, 38, .82) 40%, rgba(8, 22, 38, .46) 100%);
}
.photo-band h2, .photo-band h3, .photo-band h4 { color: #fff; }
.photo-band strong { color: #fff; }
.photo-band .eyebrow { color: var(--orange-400); }


/* ---------- 18g. Video embed ------------------------------------------- */
.video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--navy-900);
  box-shadow: var(--sh-lg);
}
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Fallback for browsers without aspect-ratio (older Safari) */
@supports not (aspect-ratio: 16 / 9) {
  .video-wrap { height: 0; padding-bottom: 56.25%; }
}

@media (max-width: 680px) {
  .video-wrap { border-radius: var(--r-lg); }
}


/* ---------- 18h. Quote (builder preview + shareable quote page) --------- */
.quote-page { background: var(--bg-soft); padding: clamp(24px, 4vw, 52px) 0; min-height: 100vh; }

.quote {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-md);
  padding: clamp(26px, 4vw, 48px);
  max-width: 760px;
  margin-inline: auto;
}
.quote__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding-bottom: 22px; border-bottom: 2px solid var(--navy-900); }
.quote__logo { height: 44px; width: auto; }
.quote__meta { text-align: right; }
.quote__label { font-family: var(--font-display); font-weight: 800; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-600); }
.quote__date { font-size: .84rem; color: var(--slate-500); margin-top: 3px; }

.quote__for { margin: 26px 0 8px; }
.quote__for-label { font-family: var(--font-display); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--slate-500); margin-bottom: 5px; }
.quote__company { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--ink); letter-spacing: -.025em; line-height: 1.2; }
.quote__contact { font-size: .92rem; color: var(--slate-600); margin-top: 3px; }

.quote__note { background: var(--orange-050); border-left: 3px solid var(--orange-500); border-radius: 0 var(--r) var(--r) 0; padding: 15px 18px; margin: 22px 0 0; font-size: .95rem; color: var(--navy-800); }

.quote__h { font-size: .78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; color: var(--orange-600); margin: 34px 0 14px; }

.quote__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.quote__list li { position: relative; padding-left: 26px; font-size: .96rem; color: var(--slate-700); margin: 0; }
.quote__list li::before { content: "✓"; position: absolute; left: 0; top: -1px; color: var(--green-500); font-weight: 800; }

.quote__table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.quote__table th, .quote__table td { text-align: left; padding: 13px 0; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.quote__table th { font-weight: 600; color: var(--slate-700); font-family: var(--font-body); padding-right: 18px; }
.quote__table th span { display: block; font-weight: 400; font-size: .83rem; color: var(--slate-500); margin-top: 3px; line-height: 1.45; }
.quote__table td { text-align: right; white-space: nowrap; font-family: var(--font-display); font-weight: 700; color: var(--ink); }
.quote__sub { display: block; font-family: var(--font-body); font-weight: 400; font-size: .8rem; color: var(--slate-500); margin-top: 2px; }
.quote__total th, .quote__total td { border-top: 2px solid var(--navy-900); border-bottom: 0; padding-top: 15px; font-size: 1.1rem; }
.quote__total th { font-family: var(--font-display); font-weight: 800; color: var(--ink); }
.quote__total td { color: var(--orange-600); font-size: 1.32rem; }

.quote__fine { font-size: .83rem; color: var(--slate-500); margin: 12px 0 0; line-height: 1.55; }
.quote__nots { display: flex; flex-wrap: wrap; gap: 8px; }
.quote__not { font-family: var(--font-display); font-size: .8rem; font-weight: 700; color: var(--navy-700); background: var(--navy-050); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 6px 14px; }

.quote__cta { margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); text-align: center; }
.quote__foot { margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--line-soft); text-align: center; font-size: .82rem; color: var(--slate-500); }

.quote__body { font-size: .96rem; color: var(--slate-700); line-height: 1.65; margin: 0; }
.quote__inc { margin: 0; }
.quote__inc dt { font-family: var(--font-display); font-weight: 800; font-size: .95rem; color: var(--ink); margin-top: 15px; }
.quote__inc dt:first-child { margin-top: 0; }
.quote__inc dd { margin: 4px 0 0; font-size: .92rem; color: var(--slate-600); line-height: 1.6; }
.quote__steps { counter-reset: qs; list-style: none; padding: 0; margin: 0; }
.quote__steps li { counter-increment: qs; position: relative; padding-left: 34px; margin-bottom: 13px; font-size: .92rem; color: var(--slate-600); line-height: 1.6; }
.quote__steps li::before {
  content: counter(qs, decimal-leading-zero);
  position: absolute; left: 0; top: 1px;
  font-family: var(--font-display); font-weight: 800; font-size: .78rem; color: var(--orange-600);
}
.quote__steps strong { display: block; color: var(--ink); font-family: var(--font-display); font-weight: 700; margin-bottom: 2px; }

/* Shown only in the printed/PDF copy — the live page gets the real button. */
.quote__printonly { display: none; }
@media print {
  .quote__printonly {
    display: block;
    margin-top: 30px; padding: 16px 18px;
    border: 1.5px solid var(--navy-800); border-radius: 8px;
    font-size: .92rem; color: #000;
  }
}

.quote__tiers { width: 100%; border-collapse: collapse; font-size: .94rem; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.quote__tiers thead th { background: var(--navy-900); color: #fff; font-family: var(--font-display); font-size: .74rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; padding: 11px 16px; text-align: left; }
.quote__tiers thead th:last-child { text-align: right; }
.quote__tiers tbody th { font-weight: 600; color: var(--slate-700); font-family: var(--font-body); padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line-soft); }
.quote__tiers tbody td { font-family: var(--font-display); font-weight: 800; font-size: 1.12rem; color: var(--ink); padding: 13px 16px; text-align: right; border-bottom: 1px solid var(--line-soft); white-space: nowrap; }
.quote__tiers tbody tr:last-child th, .quote__tiers tbody tr:last-child td { border-bottom: 0; }
.quote__tiers tr.is-applied th, .quote__tiers tr.is-applied td { background: var(--orange-050); }
.quote__tiers tr.is-applied td { color: var(--orange-600); }
.quote__tierflag { display: inline-block; font-family: var(--font-display); font-size: .64rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: #fff; background: var(--orange-500); border-radius: var(--r-pill); padding: 3px 9px; margin-left: 8px; vertical-align: middle; }
.studio__tier { display: grid; grid-template-columns: 1fr 92px; gap: 8px; align-items: center; margin-bottom: 8px; }
.studio__tier input { padding: 7px 10px; border: 1.5px solid var(--line); border-radius: var(--r-sm); font-size: .86rem; }
.studio__tier input:last-child { text-align: right; }

/* --- the private builder --- */
.studio { display: grid; grid-template-columns: 420px 1fr; gap: 28px; align-items: start; }
.studio__panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--sh-sm); position: sticky; top: 20px; max-height: calc(100vh - 40px); overflow-y: auto; }
.studio__group { margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--line-soft); }
.studio__group:last-of-type { border-bottom: 0; }
.studio__legend { font-family: var(--font-display); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--slate-500); margin-bottom: 12px; }
.studio__addon { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line-soft); }
.studio__addon:last-child { border-bottom: 0; }
.studio__addon input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--orange-500); flex: none; }
.studio__addon label { flex: 1; font-size: .92rem; font-weight: 600; color: var(--ink); cursor: pointer; }
.studio__addon input[type="number"] { width: 86px; flex: none; padding: 7px 10px; border: 1.5px solid var(--line); border-radius: var(--r-sm); font-size: .88rem; text-align: right; }
.studio__actions { display: grid; gap: 9px; margin-top: 6px; }
.studio__link { width: 100%; font-size: .8rem; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--bg-soft); color: var(--slate-600); word-break: break-all; }

@media (max-width: 1040px) {
  .studio { grid-template-columns: 1fr; }
  .studio__panel { position: static; max-height: none; }
}

/* --- Save as PDF: strip the furniture, keep the document --- */
@media print {
  @page { margin: 14mm; }
  .quote-page { background: #fff; padding: 0; min-height: 0; }
  .studio__panel, .studio__noprint, .site-header, .topbar, .site-footer { display: none !important; }
  .studio { display: block; }
  .quote { border: 0; box-shadow: none; padding: 0; max-width: none; border-radius: 0; }
  .quote__cta .btn { border: 1.5px solid var(--navy-800) !important; color: var(--navy-900) !important; background: #fff !important; box-shadow: none !important; }
  .quote__h { break-after: avoid; }
  .quote__table { break-inside: avoid; }
}

/* ---------- 19. CTA band ------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg, var(--navy-900) 0%, var(--navy-700) 58%, var(--navy-600) 100%);
  color: rgba(255, 255, 255, .84);
  padding: clamp(52px, 6.5vw, 86px) 0;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: auto -10% -60% auto;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 130, 44, .28), transparent 66%);
  pointer-events: none;
}
.cta-band h2 { color: #fff; margin-bottom: .35em; }
.cta-band__inner { position: relative; z-index: 1; max-width: 720px; margin-inline: auto; text-align: center; }
.cta-band p { font-size: 1.1rem; color: rgba(255, 255, 255, .8); margin-bottom: 30px; }
.cta-band__note { font-size: .86rem; color: rgba(255, 255, 255, .55); margin-top: 20px; margin-bottom: 0; }

/* ---------- 20. Footer --------------------------------------------------- */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, .66); padding: clamp(46px, 5.5vw, 70px) 0 30px; font-size: .93rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 34px; margin-bottom: 42px; }
.footer__brand img { height: 52px; width: auto; margin-bottom: 18px; filter: brightness(0) invert(1); opacity: .95; }
.footer__brand p { font-size: .92rem; color: rgba(255, 255, 255, .6); max-width: 300px; }
.footer h5 {
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 16px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer li { margin: 0; }
.footer a { color: rgba(255, 255, 255, .66); }
.footer a:hover { color: var(--orange-400); }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  font-size: .85rem;
  color: rgba(255, 255, 255, .45);
}
.footer__bottom a { color: rgba(255, 255, 255, .5); }

/* ---------- 21. Misc blocks ---------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 62px); align-items: center; }
.split--wide-left { grid-template-columns: 1.15fr .85fr; }
.split--wide-right { grid-template-columns: .85fr 1.15fr; }

.quote {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 30px;
  box-shadow: var(--sh-xs);
}
.quote__text { font-size: 1.03rem; color: var(--slate-700); font-style: italic; margin-bottom: 18px; }
.quote__by { display: flex; align-items: center; gap: 12px; }
.quote__avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--navy-800); color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: .95rem;
  flex: none;
}
.quote__name { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: .94rem; line-height: 1.3; }
.quote__role { font-size: .84rem; color: var(--slate-500); }

.county-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.county {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 15px 18px;
  transition: border-color .18s var(--ease), transform .18s var(--ease);
}
.county:hover { border-color: var(--navy-500); transform: translateY(-2px); }
.county__name { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: .97rem; }
.county__status { font-size: .8rem; font-weight: 700; }
.county__status--open { color: var(--green-600); }
.county__status--limited { color: var(--orange-600); }

.note {
  border-left: 3px solid var(--orange-500);
  background: var(--orange-050);
  border-radius: 0 var(--r) var(--r) 0;
  padding: 18px 22px;
  font-size: .95rem;
  color: var(--navy-800);
}
.note strong { color: var(--navy-900); }

.page-hero {
  background:
    radial-gradient(700px 380px at 82% -20%, rgba(232, 130, 44, .09), transparent 60%),
    var(--bg-soft);
  border-bottom: 1px solid var(--line);
  padding: clamp(46px, 6vw, 78px) 0 clamp(42px, 5.5vw, 66px);
  text-align: center;
}
.page-hero p { font-size: 1.12rem; color: var(--slate-600); max-width: 660px; margin-inline: auto; }

.embed-slot {
  border: 2px dashed var(--line);
  border-radius: var(--r-lg);
  background: var(--bg-soft);
  min-height: 620px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 40px 28px;
}
.embed-slot__inner { max-width: 420px; }
.embed-slot iframe { width: 100%; min-height: 620px; border: 0; border-radius: var(--r-lg); }
.embed-slot.is-live { border: 1px solid var(--line); background: var(--white); padding: 0; display: block;
  /* never collapse: GHL hides the iframe while it loads, and a 2px-tall
     slot reads as a broken page. Holds the space until it reveals. */
  min-height: 620px; }
.embed-slot.is-rescued iframe { height: 780px !important; }

/* ---------- 22. Scroll reveal -------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .07s; }
.reveal[data-delay="2"] { transition-delay: .14s; }
.reveal[data-delay="3"] { transition-delay: .21s; }
.reveal[data-delay="4"] { transition-delay: .28s; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 23. Responsive ----------------------------------------------- */
@media (max-width: 1040px) {
  .nav__links { display: none; }
  .nav__toggle { display: grid; }
  .nav__phone span { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 900px) {
  .hero__sub { max-width: none; }
  .work-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 196px; }
  .work--feature { grid-column: span 2; grid-row: span 1; }
  .split, .split--wide-left, .split--wide-right, .calc { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; }
  .plan--featured { order: -1; }
  .county-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Phones: the header row (logo + phone + CTA + burger) does not fit 375px at
   full size — it overflowed by 35px on EVERY page, giving the whole site a
   horizontal scroll. The phone number is already a tappable link in the topbar,
   so it comes out of the header here and the CTA tightens up. */
@media (max-width: 560px) {
  .container { padding-inline: 18px; }
  .nav__logo img { height: 40px; }
  .nav__phone { display: none; }
  .nav__actions { gap: 8px; }
  .nav__actions .btn--sm { padding: 9px 14px; font-size: .82rem; }
  .nav { gap: 10px; }

  /* Buttons are nowrap by default. In a single-column grid that makes a long
     label like "Start Getting Appointments" the item's min-content width, which
     pushed the pricing cards wider than the screen. Let them wrap down here. */
  .btn { white-space: normal; }
  .btn--lg { padding: 15px 22px; font-size: .97rem; }
  .plan { padding: 24px 18px; }

  /* The calculator is driven entirely by dragging. A 25px thumb is under the
     44px touch guideline, so it gets bigger and the track gets taller — this
     is the one control on the site that is unusable if it's fiddly. */
  input[type="range"] { height: 10px; }
  input[type="range"]::-webkit-slider-thumb { width: 32px; height: 32px; border-width: 4px; }
  input[type="range"]::-moz-range-thumb { width: 32px; height: 32px; border-width: 4px; }
  .slider-field { margin-bottom: 30px; }
  .slider-field__value { font-size: 1.14rem; }

  /* Tap targets */
  .acc-btn { padding: 19px 18px; }
  .tabs button { padding: 12px 10px; }
}

/* Smallest phones still in the wild (iPhone SE 1st gen). */
@media (max-width: 380px) {
  .container { padding-inline: 14px; }
  .nav__actions .btn--sm { padding: 8px 11px; font-size: .77rem; }
  .nav__logo img { height: 36px; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }

  /* The "now booking across 6 counties" line wraps to 3 rows on a phone and
     pushes the hero down. Keep only the phone number up there. */
  .topbar__item:first-child { display: none; }

  /* Hero: stack the search bar, drop the chrome that crowds a phone screen */
  .hero { min-height: 0; padding: clamp(46px, 8vh, 72px) 0 40px; }
  .hero__sub { font-size: .97rem; line-height: 1.55; margin-bottom: 22px; }
  .hero-search { flex-direction: column; gap: 4px; padding: 10px; border-radius: var(--r-lg); }
  .hero-search__field { padding: 8px 12px; }
  .hero-search__field + .hero-search__field { border-left: 0; border-top: 1px solid var(--line); }
  .hero-search__btn { width: 100%; padding: 14px 20px; margin-top: 4px; }
  .hero__caption { display: none; }
  .hero__dots { left: 50%; transform: translateX(-50%); bottom: 14px; }
  .hero__proof { gap: 8px 18px; }
  .hero__proof-item { font-size: .84rem; }

  .work-grid { grid-template-columns: 1fr; grid-auto-rows: 210px; }
  .work--feature { grid-row: span 1; grid-column: span 1; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .county-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; gap: 14px; }
  .widget, .calc__inputs, .calc__output, .plan { padding: 24px 20px; }
  .card { padding: 24px 22px; }
  .tabs { width: 100%; }
  .tabs button { flex: 1; padding: 10px 12px; font-size: .86rem; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .nav__actions .btn { width: auto; }
  .acc-btn { padding: 18px 20px; font-size: .97rem; }
  .acc-panel__inner { padding: 0 20px 20px; }
  .topbar { font-size: .78rem; }
}

/* ---------- 24. Print ---------------------------------------------------- */
@media print {
  .site-header, .topbar, .cta-band, .site-footer, .nav__toggle { display: none !important; }
  body { font-size: 12pt; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------------------------
   Mobile legibility
   Uppercase labels with wide tracking were rendering at 11.8-12.5px on a
   phone, below the point where they stay comfortably readable. Desktop sizes
   are unchanged - this only lifts them where the screen is small.
   --------------------------------------------------------------------------- */
@media (max-width: 640px) {
  /* the header CTA sat at 42px - just under the 44px minimum, and it is
     the most-tapped control on the site */
  .btn--sm   { padding: 12px 18px; min-height: 44px; }
  .eyebrow     { font-size: .82rem; letter-spacing: .11em; }
  .plan__flag  { font-size: .8rem; }
  .ctrl__label { font-size: .84rem; }
  .small, .muted.small { font-size: .9rem; }
}

/* ---------------------------------------------------------------------------
   Live filter picker
   Mirrors the "Add-ons & filters" screen in the contractor app. Every text
   colour here is declared explicitly: the global `strong, b { color: ink }`
   rule would otherwise paint the option names near-black on this dark card,
   which is exactly what happened the first time round.
   --------------------------------------------------------------------------- */
.picker {
  background: #11202f;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-lg);
  overflow: hidden;
  color: #fff;
}
.picker__bar {
  display: flex; align-items: center; gap: 12px;
  padding: 15px 18px;
  background: #0d1a26;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.picker__bar-title { font-weight: 700; font-size: .95rem; color: #fff; }
.picker__live {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: #5fd49a;
}

/* price summary */
.picker__head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 18px;
  padding: 20px 18px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.picker__head-main { min-width: 0; }
.picker__label {
  font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
  margin-bottom: 8px;
}
.picker__label--mt { margin-top: 24px; }
.picker__hint {
  float: right;
  letter-spacing: .02em; text-transform: none; font-weight: 600;
  color: rgba(255, 255, 255, .42);
}
.picker__total {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 6vw, 2.8rem); font-weight: 800; line-height: 1;
  color: #fff;
}
.picker__badge {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 12px; padding: 6px 12px;
  border-radius: var(--r-pill);
  background: rgba(37, 173, 112, .18);
  font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: #5fd49a;
}
.picker__head-side { text-align: right; flex: none; }
.picker__line {
  display: flex; gap: 14px; justify-content: flex-end;
  font-size: .82rem; line-height: 1.5;
  color: rgba(255, 255, 255, .62);
}
.picker__line strong { color: #fff; font-weight: 700; }

.picker__body { padding: 20px 18px 8px; }
.picker__desc { font-size: .86rem; line-height: 1.6; color: rgba(255, 255, 255, .66); margin: 0; }

/* options */
.picker__opts { list-style: none; margin: 0; padding: 0; }
.picker__opts li + li { margin-top: 9px; }
.picker__opt {
  width: 100%;
  display: flex; align-items: center; gap: 14px;
  padding: 14px 15px; text-align: left;
  background: rgba(255, 255, 255, .045);
  border: 1.5px solid rgba(255, 255, 255, .1);
  border-radius: var(--r);
  cursor: pointer;
  transition: border-color .18s var(--ease), background-color .18s var(--ease);
}
.picker__opt--service { align-items: flex-start; margin-bottom: 4px; }
.picker__opt:hover { background: rgba(255, 255, 255, .08); }
.picker__opt[aria-pressed="true"] { border-color: var(--orange-500); background: rgba(240, 122, 44, .13); }

.picker__opt-text { min-width: 0; flex: 1; }
/* explicit, so the global strong/em rules cannot darken these */
.picker__opt-name {
  display: block; font-size: .95rem; font-weight: 700; color: #fff;
}
.picker__opt-sub {
  display: block; font-style: normal;
  font-size: .8rem; line-height: 1.55; color: rgba(255, 255, 255, .58); margin-top: 3px;
}
.picker__opt-right { display: flex; align-items: center; gap: 13px; flex: none; }
.picker__opt--service .picker__opt-right { margin-top: 2px; }
.picker__opt-price { font-size: .92rem; font-weight: 800; color: var(--orange-400); }

.picker__sw {
  width: 44px; height: 26px; flex: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, .17);
  position: relative;
  transition: background-color .2s var(--ease);
}
.picker__sw::after {
  content: ""; position: absolute; top: 3px; left: 3px;
  width: 20px; height: 20px; border-radius: 50%;
  background: #fff;
  transition: transform .2s var(--ease);
}
.picker__opt[aria-pressed="true"] .picker__sw { background: var(--orange-500); }
.picker__opt[aria-pressed="true"] .picker__sw::after { transform: translateX(18px); }

.picker__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 20px; padding: 16px 18px;
  background: #0d1a26;
  border-top: 1px solid rgba(255, 255, 255, .07);
}
.picker__total-label {
  font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255, 255, 255, .52);
}
.picker__note { font-size: .8rem; color: #5fd49a; margin-top: 3px; }
.picker__foot-total {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 5vw, 2.1rem); font-weight: 800; line-height: 1; color: #fff;
}
.picker__foot-total.is-bump, .picker__total.is-bump { animation: pickerBump .32s var(--ease); }
@keyframes pickerBump {
  0%   { transform: scale(1);    color: #fff; }
  40%  { transform: scale(1.08); color: var(--orange-400); }
  100% { transform: scale(1);    color: #fff; }
}

@media (max-width: 560px) {
  .picker__head { flex-direction: column; gap: 14px; }
  .picker__head-side { text-align: left; width: 100%; }
  .picker__line { justify-content: space-between; }
  .picker__hint { float: none; display: block; margin-top: 4px; }
  .picker__opt { flex-wrap: wrap; }
  .picker__opt-right { width: 100%; justify-content: space-between; margin-top: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .picker__foot-total.is-bump, .picker__total.is-bump { animation: none; }
}

/* live badge inside the phone mock — reads as a running screen, not a picture */
.phone__live {
  display: inline-flex; align-items: center; gap: 6px;
  margin-left: auto; margin-right: 10px;
  font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: #19a463;
}

/* ---------------------------------------------------------------------------
   Getting-started flow
   Four cards in a row read as four unrelated boxes. This draws a rail behind
   the nodes and animates it in with the section, so the sequence is legible
   as a sequence. The old markup reused .step here, which is built as a
   horizontal 54px/1fr row - inside a 4-column grid its text column collapsed
   and every line broke after one word.
   --------------------------------------------------------------------------- */
.flowsec { overflow: hidden; }

.flow {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  position: relative;
}

/* the rail sits behind the nodes, centred on them */
.flow::before,
.flow::after {
  content: "";
  position: absolute;
  top: 29px; left: 0; right: 0; height: 2px;
  border-radius: 2px;
}
.flow::before { background: var(--line); }
.flow::after {
  background: linear-gradient(90deg, var(--navy-700), var(--orange-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.5s cubic-bezier(.22, .61, .36, 1) .15s;
}
.flow.is-in::after { transform: scaleX(1); }

.flow__step { position: relative; padding-right: 10px; }

.flow__node {
  position: relative;
  z-index: 1;
  display: grid; place-items: center;
  width: 58px; height: 58px;
  border-radius: 19px;
  background: var(--navy-900);
  color: #fff;
  box-shadow: 0 10px 22px -10px rgba(16, 36, 56, .55);
  margin-bottom: 20px;
  transform: scale(.7);
  opacity: 0;
  transition: transform .55s cubic-bezier(.34, 1.56, .64, 1), opacity .4s ease;
}
.flow.is-in .flow__node { transform: scale(1); opacity: 1; }
.flow__step:nth-child(2) .flow__node { transition-delay: .18s; }
.flow__step:nth-child(3) .flow__node { transition-delay: .36s; }
.flow__step:nth-child(4) .flow__node { transition-delay: .54s; }

/* the last node is the payoff — mark it */
.flow__step--last .flow__node { background: var(--orange-500); }

.flow__num {
  font-family: var(--font-display);
  font-weight: 800; font-size: 1.3rem; line-height: 1;
}

.flow__title {
  font-size: 1.08rem;
  margin: 0 0 .4em;
}
.flow__copy {
  font-size: .95rem;
  line-height: 1.6;
  color: var(--slate-600);
  margin: 0;
  max-width: 30ch;
}

/* reassurance strip */
.assure {
  list-style: none; margin: 46px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.assure li {
  background: var(--white);
  padding: 22px 24px;
  transition: background-color .2s var(--ease);
}
.assure li:hover { background: #fbfcfd; }
.assure strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem; color: var(--ink); margin-bottom: 5px;
}
.assure span { display: block; font-size: .9rem; line-height: 1.55; color: var(--slate-600); }

@media (max-width: 900px) {
  .flow { grid-template-columns: repeat(2, 1fr); gap: 34px 26px; }
  /* a rail across two rows would point at nothing — drop it */
  .flow::before, .flow::after { display: none; }
  .assure { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  /* vertical rail: the sequence still reads top-to-bottom */
  .flow { grid-template-columns: 1fr; gap: 0; }
  .flow__step { padding: 0 0 30px 64px; }
  .flow__step::before {
    content: "";
    position: absolute; left: 28px; top: 8px; bottom: -8px;
    width: 2px; background: var(--line);
  }
  .flow__step--last::before { display: none; }
  .flow__node {
    position: absolute; left: 0; top: 0;
    width: 56px; height: 56px; margin-bottom: 0;
  }
  .flow__title { margin-top: 10px; }
  .flow__copy { max-width: none; }
  .assure { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .flow::after { transition: none; transform: scaleX(1); }
  .flow__node { transition: none; transform: none; opacity: 1; }
}
