/* FewerLabs contractor sites: shared component system.
   Do not edit per site. Look and feel come from one theme file (css/theme-*.css) plus css/site.css.
   Every value that changes per site is a custom property set by the theme or site.css. */

/* ───── Reset ───── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { min-height: 100vh; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg, video { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
a { color: inherit; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
:target { scroll-margin-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

/* ───── Defaults (themes override) ───── */
:root {
  --font-head: system-ui, sans-serif;
  --font-body: system-ui, sans-serif;
  --head-weight: 700;
  --head-tracking: -0.02em;
  --head-transform: none;
  --head-leading: 1.08;
  --bg: #ffffff;
  --surface: #f6f6f4;
  --surface-2: #ecebe7;
  --text: #16181d;
  --muted: #5b606b;
  --line: #e3e2dd;
  --brand: #1f4e79;
  --brand-ink: #ffffff;      /* text on --brand */
  --brand-dark: #163a5a;
  --accent: #f2a900;
  --accent-ink: #16181d;     /* text on --accent */
  --radius: 10px;
  --radius-lg: 18px;
  --shadow: 0 1px 2px rgb(0 0 0 / 0.06), 0 8px 24px rgb(0 0 0 / 0.06);
  --hero-overlay: linear-gradient(90deg, rgb(10 12 16 / 0.82), rgb(10 12 16 / 0.35));
  --max: 1160px;
  --gutter: clamp(18px, 4vw, 32px);
  --section: clamp(56px, 9vw, 112px);
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.5rem, 2.6vw, 1.875rem);
  --step-3: clamp(1.875rem, 4vw, 2.75rem);
  --step-4: clamp(2.375rem, 6vw, 4rem);
}

body { background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: var(--step-0); }
h1, h2, h3, h4 {
  font-family: var(--font-head); font-weight: var(--head-weight); letter-spacing: var(--head-tracking);
  text-transform: var(--head-transform); line-height: var(--head-leading); text-wrap: balance;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); line-height: 1.25; }
p { text-wrap: pretty; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px;
}
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 10px 16px; background: var(--text); color: var(--bg); border-radius: var(--radius); }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }
.center { text-align: center; }
.center .lead, .center .section-head p { margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: var(--step--1); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ───── Type helpers ───── */
.eyebrow { display: inline-block; font-size: var(--step--1); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand); }
.lead { font-size: var(--step-1); line-height: 1.55; color: var(--muted); max-width: 40rem; }
.prose { max-width: 44rem; }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 1.6em; font-size: var(--step-2); }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: 0.4em; }

/* ───── Buttons ───── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px;
  border: 2px solid var(--accent); border-radius: var(--radius); background: var(--accent); color: var(--accent-ink);
  font-weight: 700; text-decoration: none; cursor: pointer; transition: transform 0.15s, filter 0.15s;
}
.btn:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn--brand { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn--block { width: 100%; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.text-link { font-weight: 600; color: var(--brand); text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* ───── Header ───── */
.topbar { background: var(--brand-dark); color: var(--brand-ink); font-size: var(--step--1); }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-block: 8px; }
.topbar a { text-decoration: none; font-weight: 600; }
@media (max-width: 640px) { .topbar .topbar-areas { display: none; } .topbar .wrap { justify-content: center; } }
.nav { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; text-decoration: none; font-family: var(--font-head); font-weight: var(--head-weight); font-size: 1.25rem; letter-spacing: var(--head-tracking); text-transform: var(--head-transform); }
.brand img { max-height: 48px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 22px; padding: 0; list-style: none; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: 0.9375rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--brand); }
.nav-call { white-space: nowrap; }
.nav-menu { display: none; }
@media (max-width: 900px) {
  .nav .nav-links, .nav .nav-call { display: none; }
  .nav-menu { display: block; position: relative; }
  .nav-menu > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--radius); font-weight: 600; }
  .nav-menu > summary::-webkit-details-marker { display: none; }
  .nav-menu[open] .nav-panel { display: grid; }
  .nav-panel { display: none; position: absolute; right: 0; top: calc(100% + 8px); width: min(86vw, 320px); gap: 4px; padding: 12px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
  .nav-panel a { display: block; padding: 10px 12px; border-radius: var(--radius); text-decoration: none; font-weight: 600; }
  .nav-panel a:hover { background: var(--surface); }
  .nav-panel .btn { margin-top: 6px; }
}

/* ───── Breadcrumbs ───── */
.breadcrumbs { font-size: var(--step--1); color: var(--muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; list-style: none; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: 0.5; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

/* ───── Hero ───── */
.hero { position: relative; color: #fff; background: var(--text) center / cover no-repeat; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; background: var(--hero-overlay); z-index: -1; }
.hero .wrap { padding-block: clamp(72px, 12vw, 152px); }
.hero h1 { max-width: 15ch; }
.hero .lead { color: rgb(255 255 255 / 0.86); margin-top: 20px; }
.hero .eyebrow { color: var(--accent); }
.hero--plain { color: var(--text); background: var(--surface); }
.hero--plain::before { display: none; }
.hero--plain .lead { color: var(--muted); }
.hero--plain .eyebrow { color: var(--brand); }
.hero--split { color: var(--text); background: var(--surface); }
.hero--split::before { display: none; }
.hero--split .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding-block: clamp(48px, 8vw, 96px); }
.hero--split .lead { color: var(--muted); }
.hero--split .eyebrow { color: var(--brand); }
.hero--split .hero-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
@media (max-width: 860px) { .hero--split .wrap { grid-template-columns: 1fr; } .hero--split .hero-media img { aspect-ratio: 4 / 3; } }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; padding: 0; list-style: none; font-weight: 600; font-size: 0.9375rem; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust li::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%2316181d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* Inner page hero */
.page-hero { background: var(--surface); border-bottom: 1px solid var(--line); }
.page-hero .wrap { padding-block: clamp(36px, 6vw, 72px); }
.page-hero h1 { margin-top: 14px; font-size: var(--step-4); max-width: 20ch; }
.page-hero .lead { margin-top: 16px; }
.page-hero--photo { position: relative; color: #fff; background: var(--text) center / cover no-repeat; isolation: isolate; border-bottom: 0; }
.page-hero--photo::before { content: ""; position: absolute; inset: 0; background: var(--hero-overlay); z-index: -1; }
.page-hero--photo .lead, .page-hero--photo .breadcrumbs { color: rgb(255 255 255 / 0.85); }

/* ───── Sections ───── */
.section { padding-block: var(--section); }
.section--alt { background: var(--surface); }
.section--brand { background: var(--brand); color: var(--brand-ink); }
.section--brand .lead, .section--brand .muted { color: color-mix(in srgb, var(--brand-ink) 82%, transparent); }
.section--brand .eyebrow { color: var(--accent); }
.section-head { max-width: 46rem; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2 { margin-top: 10px; }
.section-head p { margin-top: 14px; color: var(--muted); font-size: var(--step-1); line-height: 1.55; }
.section--brand .section-head p { color: color-mix(in srgb, var(--brand-ink) 82%, transparent); }

/* Trust bar under the hero */
.trust-bar { border-bottom: 1px solid var(--line); background: var(--bg); }
.trust-bar ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; padding: 18px 0; list-style: none; font-weight: 600; font-size: 0.9375rem; }
.trust-bar li { display: inline-flex; align-items: center; gap: 10px; }
.trust-bar li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* ───── Cards (services) ───── */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 18px; padding: 0; list-style: none; }
.card { position: relative; display: flex; flex-direction: column; gap: 10px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; }
.section--alt .card { background: var(--bg); }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card-body { display: flex; flex-direction: column; gap: 10px; padding: 22px; flex: 1; }
.card-body p { color: var(--muted); font-size: 0.9375rem; }
.card-link { margin-top: auto; font-weight: 700; color: var(--brand); text-decoration: none; }
.card-link::after { content: ""; position: absolute; inset: 0; } /* whole card is clickable */
.card-link span { transition: margin 0.15s; }
.card:hover .card-link span { margin-left: 4px; }
.card--icon .card-body::before { content: ""; width: 40px; height: 4px; border-radius: 2px; background: var(--accent); }

/* ───── Split (text + image) ───── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split--flip > :first-child { order: 2; }
.split img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); }
.split h2 { margin-top: 10px; }
.split p { margin-top: 16px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--flip > :first-child { order: 0; } }

.checklist { display: grid; gap: 12px; margin-top: 22px; padding: 0; list-style: none; }
.checklist li { display: flex; gap: 12px; }
.checklist li::before { content: ""; width: 22px; height: 22px; flex: none; margin-top: 2px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* ───── Process steps ───── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 18px; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; padding: 24px; border-top: 3px solid var(--accent); background: var(--bg); border-radius: 0 0 var(--radius) var(--radius); }
.section--alt .steps li { background: var(--bg); }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; margin-bottom: 12px; font-family: var(--font-head); font-weight: var(--head-weight); font-size: 1.5rem; color: var(--brand); }
.steps p { margin-top: 8px; color: var(--muted); font-size: 0.9375rem; }

/* ───── Gallery & before/after ───── */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 12px; padding: 0; list-style: none; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-lg); }
/* A big first photo only works with 5+ photos; with fewer, photos share the row evenly. */
.gallery:has(> li:nth-child(5)) > li:first-child { grid-column: span 2; grid-row: span 2; }
.gallery:not(:has(> li:nth-child(5))) { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.gallery:not(:has(> li:nth-child(5))) img { aspect-ratio: 4 / 3; }
@media (max-width: 600px) { .gallery > li:first-child { grid-column: auto !important; grid-row: auto !important; } }
.ba { display: grid; gap: 24px; padding: 0; list-style: none; }
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ba-pair figure { position: relative; }
.ba-pair img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); }
.ba-pair figcaption { position: absolute; left: 10px; top: 10px; padding: 4px 10px; border-radius: 999px; background: rgb(0 0 0 / 0.7); color: #fff; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }

/* ───── Reviews ───── */
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 18px; padding: 0; list-style: none; }
.review { display: flex; flex-direction: column; gap: 14px; padding: 26px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.review blockquote { font-size: 1.0625rem; line-height: 1.6; }
.review blockquote::before { content: "\201C"; display: block; height: 0.5em; font-family: var(--font-head); font-size: 3rem; line-height: 1; color: var(--accent); }
.review cite { margin-top: auto; font-style: normal; font-weight: 700; }
.review cite small { display: block; font-weight: 400; color: var(--muted); }

/* ───── FAQ ───── */
.faq { max-width: 52rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 18px; padding: 20px 0; cursor: pointer; list-style: none; font-family: var(--font-head); font-weight: var(--head-weight); font-size: var(--step-1); letter-spacing: var(--head-tracking); text-transform: var(--head-transform); line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 1.5rem; line-height: 1; color: var(--brand); }
.faq details[open] summary::after { content: "\2013"; }
.faq details > div { padding: 0 0 22px; color: var(--muted); max-width: 46rem; }
.faq details > div > * + * { margin-top: 0.8em; }

/* ───── Areas ───── */
.area-list { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none; }
.area-list a, .area-list span { display: inline-block; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); text-decoration: none; font-weight: 600; font-size: 0.9375rem; }
.area-list a { border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); color: var(--brand); }
.area-list a::after { content: " \2192"; }
.area-list a:hover { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 6%, var(--bg)); }
.map { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius-lg); background: var(--surface-2); }

/* ───── Facts (about / contact) ───── */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.facts li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.facts dt, .facts .k { font-size: var(--step--1); color: var(--muted); }
.facts dd, .facts .v { margin: 4px 0 0; font-weight: 600; }

/* ───── CTA band ───── */
.cta-band { background: var(--brand); color: var(--brand-ink); }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block: clamp(40px, 6vw, 64px); }
.cta-band h2 { font-size: var(--step-3); max-width: 22ch; }
.cta-band p { margin-top: 10px; color: color-mix(in srgb, var(--brand-ink) 82%, transparent); }
.cta-band .cta-row { margin-top: 0; }
.cta-band .btn--ghost { color: var(--brand-ink); }

/* ───── Quote section + form (markup is fixed: see the skill's components reference) ───── */
.quote-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .quote-wrap { grid-template-columns: 1fr; } }
.big-phone { margin-top: 18px; font-family: var(--font-head); font-weight: var(--head-weight); font-size: var(--step-3); letter-spacing: var(--head-tracking); }
.big-phone a { text-decoration: none; }
.form { display: grid; gap: 16px; padding: clamp(22px, 3vw, 32px); background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.form fieldset { display: grid; gap: 12px; border: 0; padding: 0; min-width: 0; }
.form [hidden] { display: none !important; } /* js/main.js hides inactive steps with the hidden attribute */
.form legend { margin-bottom: 4px; font-family: var(--font-head); font-weight: var(--head-weight); font-size: var(--step-1); letter-spacing: var(--head-tracking); text-transform: var(--head-transform); }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 0.9375rem; }
.form input:not([type="radio"]), .form textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); font-weight: 400; }
.form input:focus, .form textarea:focus { border-color: var(--brand); outline: 2px solid color-mix(in srgb, var(--brand) 30%, transparent); outline-offset: 0; }
.form .opt { font-weight: 400; color: var(--muted); }
.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); gap: 10px; }
.choice { position: relative; display: block !important; cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: flex; align-items: center; min-height: 52px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); font-weight: 600; transition: border-color 0.15s, background 0.15s; }
.choice input:checked + span { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 8%, var(--bg)); box-shadow: inset 0 0 0 1px var(--brand); }
.choice input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.form-progress { font-size: var(--step--1); font-weight: 600; color: var(--muted); }
.form:not(.is-stepped) .form-progress { display: none; }
.form-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.form-nav:empty { display: none; }
.link-btn { background: none; border: 0; padding: 8px 0; cursor: pointer; font-weight: 600; color: var(--muted); }
.form .btn-next { margin-left: auto; min-height: 48px; padding: 12px 22px; border: 0; border-radius: var(--radius); background: var(--brand); color: var(--brand-ink); font-weight: 700; cursor: pointer; }
.form-status:empty { display: none; }
.form-status { font-weight: 600; }
.form-status.ok { color: #1a7f45; }
.form-status.err { color: #b42318; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ───── Footer ───── */
.footer { background: var(--text); color: color-mix(in srgb, var(--bg) 78%, transparent); font-size: 0.9375rem; }
.footer .wrap { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; padding-block: clamp(48px, 7vw, 80px) 28px; }
@media (max-width: 860px) { .footer .wrap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer .wrap { grid-template-columns: 1fr; } }
.footer h2, .footer h3 { color: var(--bg); font-size: 1rem; letter-spacing: 0.04em; margin-bottom: 14px; }
.footer .footer-brand { font-family: var(--font-head); font-weight: var(--head-weight); font-size: 1.375rem; color: var(--bg); text-transform: var(--head-transform); letter-spacing: var(--head-tracking); }
.footer ul { display: grid; gap: 8px; padding: 0; list-style: none; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--bg); text-decoration: underline; }
.footer-bottom { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / 0.12); font-size: var(--step--1); }

/* ───── Mobile call bar ───── */
.sticky-call { display: none; }
@media (max-width: 760px) {
  .sticky-call { position: fixed; inset: auto 12px 12px; z-index: 50; display: flex; gap: 8px; }
  .sticky-call a { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 52px; border-radius: var(--radius); font-weight: 700; text-decoration: none; box-shadow: 0 6px 20px rgb(0 0 0 / 0.25); }
  .sticky-call .call { background: var(--accent); color: var(--accent-ink); }
  .sticky-call .quote { background: var(--brand); color: var(--brand-ink); }
  body { padding-bottom: 80px; }
}

/* ───── 404 ───── */
.not-found { min-height: 60vh; display: grid; place-items: center; text-align: center; }

/* ═════════ Conversion components ═════════
   Built to sell: lead capture above the fold, pain → stakes → fix → proof → objections → risk reversal. */

/* Icons (sprite in /assets/icons.svg) */
.icon { width: 1.25em; height: 1.25em; flex: none; display: inline-block; vertical-align: -0.2em; }
.icon-badge { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: var(--radius); background: color-mix(in srgb, var(--brand) 10%, var(--bg)); color: var(--brand); }
.icon-badge .icon { width: 24px; height: 24px; }

/* Hero with the quote form inside (best for conversion: the form is visible without scrolling).
   The form card carries id="quote", so every "#quote" link on the page lands here. */
.hero--form .wrap { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding-block: clamp(48px, 8vw, 104px); }
.hero--form h1 { max-width: 13ch; }
.hero--form .form { box-shadow: 0 24px 60px rgb(0 0 0 / 0.28); }
.hero--form .form-head { margin-bottom: 4px; }
.hero--form .form-head strong { display: block; font-family: var(--font-head); font-weight: var(--head-weight); font-size: var(--step-2); letter-spacing: var(--head-tracking); text-transform: var(--head-transform); line-height: 1.1; }
.hero--form .form-head span { display: block; margin-top: 6px; color: var(--muted); font-size: 0.9375rem; }
@media (max-width: 960px) { .hero--form .wrap { grid-template-columns: 1fr; } .hero--form h1 { max-width: 18ch; } }

/* Bold brand hero for sites without photos: color, pattern and type do the work. */
.hero--brand { color: var(--brand-ink); background: radial-gradient(120% 90% at 85% 10%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 55%), linear-gradient(160deg, var(--brand) 0%, var(--brand-dark) 100%); }
.hero--brand::before { background: repeating-linear-gradient(135deg, rgb(255 255 255 / 0.035) 0 2px, transparent 2px 22px); }
.hero--brand .lead { color: color-mix(in srgb, var(--brand-ink) 84%, transparent); }
.hero--brand .eyebrow { color: var(--accent); }
.hero--brand .btn--ghost { color: var(--brand-ink); }
.hero h1 .hl, .page-hero h1 .hl, .section-head h2 .hl, .stakes h2 .hl { color: var(--accent); }

/* Rating / proof line under hero CTAs (only real reviews: "3 homeowner reviews", never a made-up score) */
.proof-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 22px; font-size: 0.9375rem; font-weight: 600; }
.proof-line .stars { display: inline-flex; gap: 2px; color: var(--accent); }
.proof-line .stars .icon { width: 18px; height: 18px; }

/* Facts band: big true numbers/words (since 2016, 5 towns, 2-year warranty) */
.facts-band { background: var(--text); color: var(--bg); }
.facts-band ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 0; padding: 0; list-style: none; }
.facts-band li { padding: clamp(22px, 3vw, 34px) clamp(14px, 2vw, 24px); border-left: 1px solid rgb(255 255 255 / 0.1); }
.facts-band li:first-child { border-left: 0; }
.facts-band b { display: block; font-family: var(--font-head); font-weight: var(--head-weight); font-size: var(--step-3); letter-spacing: var(--head-tracking); text-transform: var(--head-transform); line-height: 1; color: var(--accent); }
.facts-band span { display: block; margin-top: 8px; font-size: 0.9375rem; color: color-mix(in srgb, var(--bg) 75%, transparent); }
@media (max-width: 600px) { .facts-band li { border-left: 0; border-top: 1px solid rgb(255 255 255 / 0.1); } .facts-band li:first-child { border-top: 0; } }

/* Pain cards: "Sound familiar?" Problems the homeowner lives with, in their words. */
.pain { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 14px; padding: 0; list-style: none; }
.pain li { display: flex; gap: 14px; align-items: flex-start; padding: 22px; background: var(--bg); border: 1px solid var(--line); border-left: 4px solid #d6453d; border-radius: var(--radius-lg); }
.pain .icon { width: 22px; height: 22px; margin-top: 2px; color: #d6453d; }
.pain h3 { font-size: 1.0625rem; line-height: 1.3; }
.pain p { margin-top: 6px; color: var(--muted); font-size: 0.9375rem; }
.pain-turn { margin-top: clamp(28px, 4vw, 44px); font-family: var(--font-head); font-weight: var(--head-weight); font-size: var(--step-2); letter-spacing: var(--head-tracking); text-transform: var(--head-transform); line-height: 1.2; max-width: 32ch; }
.pain-turn em { font-style: normal; color: var(--brand); }

/* Stakes: the dark "what waiting costs you" section */
.stakes { background: var(--text); color: var(--bg); }
.stakes .wrap { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 860px) { .stakes .wrap { grid-template-columns: 1fr; } }
.stakes .eyebrow { color: var(--accent); }
.stakes h2 { margin-top: 10px; }
.stakes p { margin-top: 16px; color: color-mix(in srgb, var(--bg) 78%, transparent); }
.stakes-list { display: grid; gap: 0; padding: 0; list-style: none; border-top: 1px solid rgb(255 255 255 / 0.12); }
.stakes-list li { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid rgb(255 255 255 / 0.12); }
.stakes-list .icon { width: 22px; height: 22px; color: var(--accent); margin-top: 2px; }
.stakes-list b { display: block; color: var(--bg); }
.stakes-list span { display: block; margin-top: 4px; font-size: 0.9375rem; color: color-mix(in srgb, var(--bg) 70%, transparent); }

/* Featured review: one big quote that does the convincing */
.feature-review { position: relative; max-width: 54rem; margin-inline: auto; text-align: center; }
.feature-review .icon { width: 44px; height: 44px; margin: 0 auto 18px; color: var(--accent); }
.feature-review blockquote { font-family: var(--font-head); font-weight: var(--head-weight); font-size: var(--step-3); letter-spacing: var(--head-tracking); line-height: 1.18; text-transform: none; }
.feature-review cite { display: block; margin-top: 22px; font-style: normal; font-weight: 700; }
.feature-review cite small { display: block; margin-top: 2px; font-weight: 400; color: var(--muted); }
.section--brand .feature-review cite small { color: color-mix(in srgb, var(--brand-ink) 75%, transparent); }

/* Objections: worry → straight answer */
.objections { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; padding: 0; list-style: none; }
.objections li { padding: 24px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.objections .worry { display: flex; gap: 10px; align-items: flex-start; font-family: var(--font-head); font-weight: var(--head-weight); font-size: var(--step-1); letter-spacing: var(--head-tracking); text-transform: var(--head-transform); line-height: 1.25; }
.objections .worry::before { content: "\201C"; color: var(--accent); font-size: 1.6em; line-height: 0.8; }
.objections .answer { display: flex; gap: 10px; margin-top: 14px; color: var(--muted); }
.objections .answer .icon { color: #1a7f45; margin-top: 3px; }

/* Risk reversal: what makes saying yes safe (free estimate, written quote, warranty: only real ones) */
.assurance { display: grid; grid-template-columns: auto 1fr; gap: 20px 24px; align-items: center; padding: clamp(22px, 3.5vw, 36px); border: 2px dashed color-mix(in srgb, var(--brand) 45%, transparent); border-radius: var(--radius-lg); background: color-mix(in srgb, var(--brand) 5%, var(--bg)); }
.assurance > .icon { width: 56px; height: 56px; color: var(--brand); }
.assurance h3 { font-size: var(--step-2); }
.assurance ul { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 12px; padding: 0; list-style: none; font-weight: 600; }
.assurance li { display: inline-flex; align-items: center; gap: 8px; }
.assurance li .icon { color: #1a7f45; }
@media (max-width: 600px) { .assurance { grid-template-columns: 1fr; } }

/* Benefit cards with icon (the fix) */
.benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 24px 28px; padding: 0; list-style: none; }
.benefits li h3 { margin-top: 16px; }
.benefits li p { margin-top: 8px; color: var(--muted); font-size: 0.9375rem; }

/* Final CTA: big, dark, urgent-but-honest close */
.final-cta { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--brand), var(--brand-dark)); color: var(--brand-ink); text-align: center; }
.final-cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 50% 120%, color-mix(in srgb, var(--accent) 35%, transparent), transparent 70%); }
.final-cta .wrap { position: relative; padding-block: clamp(64px, 10vw, 120px); }
.final-cta h2 { font-size: var(--step-4); max-width: 18ch; margin-inline: auto; }
.final-cta p { margin: 18px auto 0; max-width: 36rem; font-size: var(--step-1); color: color-mix(in srgb, var(--brand-ink) 84%, transparent); }
.final-cta .cta-row { justify-content: center; }
.final-cta .btn--ghost { color: var(--brand-ink); }

/* Section heads with a punchy highlighted word */
.section-head.center { margin-inline: auto; text-align: center; }

/* ═════════ Premium layer ═════════
   The details that separate a $10k agency site from a template: editorial type with an italic accent word,
   floating pill nav, image-led sections, motion, sticky storytelling, a big brand footer. */

@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("/demos/summit-decks/assets/fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("/demos/summit-decks/assets/fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); }
:root { --font-accent: "Instrument Serif", Georgia, serif; --accent-style: italic; --accent-weight: 400; --accent-word: inherit; }

/* Accent word in any headline: <h1>Your backyard, <em>finished.</em></h1> */
h1 em, h2 em, h3 em, .big em, .footer-word em, .pain-turn em {
  font-family: var(--font-accent); font-style: var(--accent-style); font-weight: var(--accent-weight);
  letter-spacing: -0.01em; text-transform: none; color: var(--accent-word);
}
.eyebrow--dot { display: inline-flex; align-items: center; gap: 8px; }
.eyebrow--dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 20%, transparent); }

/* Button with a circle arrow: <a class="btn btn--arrow" href="#quote">Get my quote <span class="btn-arrow"><svg class="icon"><use href="/demos/summit-decks/assets/icons.svg#arrow-right"/></svg></span></a> */
.btn--arrow { padding-right: 8px; gap: 12px; border-radius: 999px; }
.btn-arrow { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent-ink); color: var(--accent); transition: transform 0.2s; }
.btn--brand .btn-arrow { background: var(--brand-ink); color: var(--brand); }
.btn--ghost .btn-arrow { background: currentColor; }
.btn--ghost .btn-arrow .icon { color: var(--bg); }
.btn--arrow:hover .btn-arrow { transform: translateX(3px) rotate(-8deg); }
.btn-arrow .icon { width: 16px; height: 16px; }

/* Floating pill nav: <header class="nav nav--float"><div class="wrap"><div class="nav-pill">…</div></div></header> */
.nav--float { position: sticky; top: 0; height: 0; overflow: visible; background: none; border: 0; backdrop-filter: none; z-index: 60; }
.nav--float .wrap { display: block; min-height: 0; padding-top: 14px; }
.nav-pill { display: flex; align-items: center; gap: 22px; min-height: 64px; padding: 8px 8px 8px 22px; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(14px) saturate(1.4); border: 1px solid color-mix(in srgb, var(--line) 80%, transparent); border-radius: 999px; box-shadow: 0 10px 30px rgb(0 0 0 / 0.08); }
.nav-pill .btn { min-height: 48px; }
.nav--float ~ main > .page-hero .wrap, .nav--float ~ main > .hero--plain .wrap, .nav--float ~ main > .hero--split .wrap { padding-top: calc(clamp(36px, 6vw, 72px) + 92px); }
.nav--float ~ main > .hero--form .wrap, .nav--float ~ main > .hero--brand .wrap, .nav--float ~ main > .hero:not(.hero--cinematic) .wrap { padding-top: calc(clamp(48px, 8vw, 104px) + 92px); }
@media (max-width: 900px) { .nav-pill { padding-left: 18px; } }

/* Mega menu for services (inside .nav-links): <li><details class="mega"><summary>Services</summary><div class="mega-panel">…</div></details></li> */
.mega { position: relative; }
.mega summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 0.9375rem; }
.mega summary::-webkit-details-marker { display: none; }
.mega summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: 0.6; }
.mega-panel { position: absolute; left: 50%; top: calc(100% + 22px); transform: translateX(-35%); width: min(760px, 86vw); display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; padding: 10px; background: var(--bg); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 30px 60px rgb(0 0 0 / 0.14); }
.mega-panel ul { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 0; list-style: none; }
.mega-panel li a { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; padding: 12px; border-radius: 14px; text-decoration: none; }
.mega-panel li a:hover { background: var(--surface); }
.mega-panel li .icon-badge { grid-row: span 2; width: 40px; height: 40px; }
.mega-panel li b { font-size: 0.9375rem; }
.mega-panel li small { font-size: 0.8125rem; color: var(--muted); line-height: 1.4; }
.mega-feature { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 220px; padding: 18px; border-radius: 16px; overflow: hidden; color: #fff; text-decoration: none; background: var(--brand) center / cover; isolation: isolate; }
.mega-feature::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgb(0 0 0 / 0.75)); }
.mega-feature b { font-family: var(--font-head); font-weight: var(--head-weight); font-size: 1.25rem; line-height: 1.15; }
.mega-feature small { margin-top: 6px; opacity: 0.85; }

/* Cinematic hero: full-bleed photo, giant headline anchored low, floating proof card */
.hero--cinematic { min-height: min(92svh, 920px); display: flex; align-items: flex-end; }
.hero--cinematic::before { background: linear-gradient(180deg, rgb(0 0 0 / 0.35) 0%, rgb(0 0 0 / 0.1) 35%, rgb(0 0 0 / 0.78) 100%); }
.hero--cinematic .wrap { position: relative; width: 100%; padding-block: 140px clamp(36px, 6vw, 72px); }
.hero--cinematic h1 { max-width: 14ch; font-size: clamp(3rem, 8.5vw, 7.5rem); line-height: 0.92; letter-spacing: calc(var(--head-tracking) - 0.02em); }
.hero--cinematic .hero-bottom { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-top: 28px; }
.hero--cinematic .lead { margin-top: 0; max-width: 34rem; }
.hero--cinematic .cta-row { margin-top: 0; }
.hero-card { position: absolute; right: var(--gutter); top: 120px; width: min(320px, 40vw); padding: 18px; color: var(--text); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); border-radius: 20px; box-shadow: 0 20px 50px rgb(0 0 0 / 0.25); }
.hero-card .tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 0.75rem; font-weight: 700; }
.hero-card blockquote { margin-top: 12px; font-size: 0.9375rem; line-height: 1.5; }
.hero-card cite { display: block; margin-top: 10px; font-style: normal; font-weight: 700; font-size: 0.875rem; }
.hero-card cite small { font-weight: 400; color: var(--muted); }
@media (max-width: 860px) { .hero-card { position: static; width: auto; margin-bottom: 24px; } .hero--cinematic .wrap { padding-top: 120px; } }

/* Hero form refinements: reassurance under the form */
.form-assure { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 0; list-style: none; font-size: 0.8125rem; color: var(--muted); }
.form-assure li { display: inline-flex; align-items: center; gap: 6px; }
.form-assure .icon { width: 15px; height: 15px; color: #1a7f45; }
.hero--form .form { border-radius: calc(var(--radius-lg) + 6px); }

/* Ticker / marquee: duplicate the items once inside .marquee-track (the second copy gets aria-hidden="true") */
.marquee { overflow: hidden; white-space: nowrap; border-block: 1px solid var(--line); background: var(--bg); }
.marquee-track { display: inline-flex; gap: 48px; padding-block: 18px; padding-right: 48px; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track > * { display: inline-flex; align-items: center; gap: 48px; font-family: var(--font-head); font-weight: var(--head-weight); font-size: var(--step-2); letter-spacing: var(--head-tracking); text-transform: var(--head-transform); }
.marquee-track > *::after { content: "\2726"; font-size: 0.6em; color: var(--accent); }
.marquee--accent { background: var(--accent); color: var(--accent-ink); border: 0; }
.marquee--accent .marquee-track > *::after { color: var(--accent-ink); }
.marquee--accent a { color: inherit; }
.marquee--outline .marquee-track > * { font-size: clamp(2.5rem, 6vw, 5rem); color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--text) 45%, transparent); }
.marquee--outline .marquee-track > *:nth-child(2n) { color: var(--text); -webkit-text-stroke: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* Media with a stat or label laid over the photo */
.media { position: relative; }
.media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); }
.media-stat { position: absolute; left: 18px; bottom: 18px; min-width: 170px; padding: 18px 20px; background: var(--bg); color: var(--text); border-radius: 18px; box-shadow: 0 16px 40px rgb(0 0 0 / 0.18); }
.media-stat b { display: block; font-family: var(--font-head); font-weight: var(--head-weight); font-size: var(--step-3); letter-spacing: var(--head-tracking); line-height: 1; }
.media-stat span { display: block; margin-top: 6px; font-size: 0.875rem; color: var(--muted); }
.collage { display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px; align-items: end; }
.collage img { width: 100%; object-fit: cover; border-radius: var(--radius-lg); }
.collage img:first-child { aspect-ratio: 4 / 5; }
.collage img:nth-child(2) { aspect-ratio: 1; }

/* Numbered service rows (an editorial alternative to cards) */
.service-rows { padding: 0; list-style: none; border-top: 1px solid var(--line); counter-reset: srow; }
.service-rows li { counter-increment: srow; border-bottom: 1px solid var(--line); }
.service-rows a { display: grid; grid-template-columns: 64px 1fr 1.1fr 48px; gap: 18px; align-items: center; padding: 26px 0; text-decoration: none; transition: padding 0.25s, background 0.25s; }
.service-rows a::before { content: counter(srow, decimal-leading-zero) "/"; font-family: var(--font-head); font-weight: var(--head-weight); color: var(--muted); }
.service-rows h3 { font-size: var(--step-2); }
.service-rows p { color: var(--muted); font-size: 0.9375rem; }
.service-rows .row-arrow { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); transition: background 0.2s, color 0.2s, transform 0.2s; }
.service-rows a:hover { padding-inline: 14px; background: var(--surface); }
.service-rows a:hover .row-arrow { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); transform: rotate(-35deg); }
@media (max-width: 760px) { .service-rows a { grid-template-columns: 36px minmax(0, 1fr) 44px; } .service-rows p { grid-column: 2 / -1; grid-row: 2; } }

/* Sticky storytelling timeline (process) */
.timeline { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(28px, 6vw, 96px); align-items: start; }
.timeline-head { position: sticky; top: 110px; }
.timeline-head .count { display: block; margin-bottom: 18px; font-family: var(--font-accent); font-style: var(--accent-style); font-size: var(--step-3); color: var(--muted); }
.timeline-head h2 { margin-top: 10px; }
.timeline-head p { margin-top: 16px; color: var(--muted); }
.timeline ol { position: relative; display: grid; gap: 34px; padding: 0 0 0 52px; list-style: none; counter-reset: tl; }
.timeline ol::before { content: ""; position: absolute; left: 17px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline li { position: relative; counter-increment: tl; }
.timeline li::before { content: counter(tl, decimal-leading-zero); position: absolute; left: -52px; top: -2px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: 0.75rem; font-weight: 700; box-shadow: 0 0 0 6px var(--bg); }
.section--alt .timeline li::before { box-shadow: 0 0 0 6px var(--surface); }
.timeline li p { margin-top: 8px; color: var(--muted); }
@media (max-width: 860px) { .timeline { grid-template-columns: 1fr; } .timeline-head { position: static; } }

/* Reviews carousel: scroll-snap, arrow buttons wired by js/motion.js */
.carousel-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 28px; }
.carousel-nav { display: flex; gap: 8px; }
.carousel-nav button { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg); cursor: pointer; }
.carousel-nav button:hover { background: var(--text); color: var(--bg); }
.carousel-nav [data-prev] .icon { transform: rotate(180deg); }
.carousel-track { display: grid; grid-auto-flow: column; grid-auto-columns: min(420px, 84%); gap: 16px; padding: 0 0 8px; margin: 0; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { scroll-snap-align: start; }

/* Dark CTA card with a fine line pattern (inset, rounded) */
.cta-card { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: center; padding: clamp(32px, 6vw, 72px); border-radius: 28px; background: var(--brand-dark); color: var(--brand-ink); isolation: isolate; }
.cta-card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.18;
  background: repeating-radial-gradient(circle at 85% 40%, transparent 0 38px, color-mix(in srgb, var(--brand-ink) 60%, transparent) 38px 39px); }
.cta-card h2 { font-size: var(--step-3); max-width: 18ch; }
.cta-card p { margin-top: 14px; color: color-mix(in srgb, var(--brand-ink) 78%, transparent); max-width: 34rem; }
.cta-card .cta-row { justify-content: flex-end; margin-top: 0; }
.cta-card .btn--ghost { color: var(--brand-ink); }
@media (max-width: 760px) { .cta-card { grid-template-columns: 1fr; } .cta-card .cta-row { justify-content: flex-start; } }

/* Giant brand wordmark at the bottom of the footer */
.footer-word { grid-column: 1 / -1; margin-top: 12px; font-family: var(--font-head); font-weight: var(--head-weight); text-transform: var(--head-transform); font-size: clamp(3.2rem, 13vw, 12rem); line-height: 0.85; letter-spacing: -0.045em; color: var(--bg); white-space: nowrap; overflow: hidden; text-overflow: clip; }
.footer-word em { color: var(--accent); }

/* Section inset as a rounded card (dark, used for stakes or proof) */
.section--inset { margin-inline: clamp(8px, 1.5vw, 20px); border-radius: 32px; }

/* Scroll reveal: only hidden when js/motion.js runs (no JS = everything visible) */
.motion [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.7s cubic-bezier(.2,.7,.2,1), transform 0.7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0ms); }
.motion [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .motion [data-reveal] { opacity: 1; transform: none; transition: none; } }

/* ═════════ Interaction & motion layer ═════════
   Every interactive thing answers the cursor; scrolling feels smooth and alive. Shared by every site, so it
   works even on pages that don't add any classes. All of it switches off under prefers-reduced-motion. */

:root { --ease: cubic-bezier(.2, .7, .2, 1); --ease-out: cubic-bezier(.16, 1, .3, 1); }
html { scroll-padding-top: 104px; interpolate-size: allow-keywords; }
@view-transition { navigation: auto; }  /* smooth fade between pages (supported browsers) */
::selection { background: color-mix(in srgb, var(--accent) 35%, transparent); }

/* Nav links: sliding underline + color */
.nav-links a, .mega summary { position: relative; transition: color 0.25s var(--ease); }
.nav-links > li > a::after, .mega summary::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: right; transition: transform 0.35s var(--ease-out);
}
.nav-links > li > a:hover::after, .nav-links > li > a[aria-current="page"]::after, .mega:hover summary::before, .mega[open] summary::before { transform: scaleX(1); transform-origin: left; }
.mega summary::after { transition: transform 0.3s var(--ease-out); }
.mega[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.mega[open] .mega-panel { animation: dropIn 0.35s var(--ease-out); }
.mega-panel li a { transition: background 0.2s, transform 0.25s var(--ease-out); }
.mega-panel li a:hover { transform: translateX(3px); }
.mega-panel li a .icon-badge { transition: background 0.2s, color 0.2s, transform 0.3s var(--ease-out); }
.mega-panel li a:hover .icon-badge { background: var(--accent); color: var(--accent-ink); transform: rotate(-6deg); }
.mega-feature { transition: transform 0.4s var(--ease-out); background-size: cover; }
.mega-feature:hover { transform: scale(0.985); }
.nav-menu[open] .nav-panel { animation: dropIn 0.3s var(--ease-out); }
@keyframes dropIn { from { opacity: 0; transform: translate(var(--tx, 0), -8px) scale(0.98); } }
.mega-panel { --tx: -35%; }

/* Floating nav tightens on scroll (class set by js/motion.js) */
.nav-pill { transition: box-shadow 0.35s var(--ease), background 0.35s var(--ease), min-height 0.35s var(--ease), transform 0.35s var(--ease); }
.nav--float.scrolled .nav-pill { min-height: 58px; background: color-mix(in srgb, var(--bg) 94%, transparent); box-shadow: 0 14px 40px rgb(0 0 0 / 0.14); }
.nav:not(.nav--float).scrolled { box-shadow: 0 8px 24px rgb(0 0 0 / 0.08); }

/* Buttons: lift, glow, press */
.btn { transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), filter 0.2s, background 0.2s, color 0.2s; will-change: transform; }
.btn:hover { transform: translateY(-2px); filter: none; box-shadow: 0 10px 24px color-mix(in srgb, var(--accent) 35%, transparent); }
.btn--brand:hover { box-shadow: 0 10px 24px color-mix(in srgb, var(--brand) 35%, transparent); }
/* Ghost buttons fill on hover: dark fill on light sections, white fill on dark/photo sections */
.btn--ghost:hover { background: var(--text); border-color: var(--text); color: var(--bg); box-shadow: none; }
.hero .btn--ghost:hover, .page-hero--photo .btn--ghost:hover, .final-cta .btn--ghost:hover, .cta-card .btn--ghost:hover,
.cta-band .btn--ghost:hover, .stakes .btn--ghost:hover, .section--brand .btn--ghost:hover { background: #fff; border-color: #fff; color: #16181d; }
.hero--plain .btn--ghost:hover, .hero--split .btn--ghost:hover { background: var(--text); border-color: var(--text); color: var(--bg); }
.btn--ghost:hover .icon { color: inherit; }
.btn--ghost:hover .btn-arrow .icon { color: var(--bg); }
.btn:active { transform: translateY(0) scale(0.98); transition-duration: 0.08s; }
.btn-arrow { transition: transform 0.35s var(--ease-out); }

/* Text links: underline that grows */
.text-link, .card-link, .prose a, .footer ul a, .breadcrumbs a {
  text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size 0.35s var(--ease-out), color 0.2s;
}
.text-link:hover, .card-link:hover, .prose a:hover, .footer ul a:hover, .breadcrumbs a:hover, .card:hover .card-link { background-size: 100% 1.5px; text-decoration: none; }
.footer ul a:hover { color: var(--bg); }

/* Cards: lift, border warms, photo zooms inside its frame */
.card, .review, .pain li, .objections li, .steps li, .benefits li, .facts-band li, .area-list a, .choice span, .assurance {
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.3s, background 0.3s;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgb(0 0 0 / 0.10); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.card img, .gallery img, .media img, .split img, .collage img, .hero-media img, .ba-pair img { transition: transform 0.9s var(--ease-out), clip-path 1.1s var(--ease-out); }
.card { isolation: isolate; }
.card:hover img { transform: scale(1.06); }
.gallery li, .media, .collage > *, .hero-media, .ba-pair figure { overflow: hidden; border-radius: var(--radius-lg); }
.gallery li:hover img, .media:hover img, .collage img:hover, .ba-pair figure:hover img { transform: scale(1.05); }
.review:hover, .objections li:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pain li:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgb(214 69 61 / 0.12); }
.benefits li .icon-badge, .card--icon .card-body::before { transition: transform 0.4s var(--ease-out), background 0.3s, color 0.3s; }
.benefits li:hover .icon-badge { transform: translateY(-3px) rotate(-6deg); background: var(--accent); color: var(--accent-ink); }
.steps li:hover { transform: translateY(-4px); }
.area-list a:hover { transform: translateY(-2px); }
.choice:hover span { border-color: color-mix(in srgb, var(--brand) 50%, var(--line)); transform: translateY(-1px); }
.facts-band li:hover b { color: var(--bg); }
.facts-band b { transition: color 0.3s; }
.carousel-nav button { transition: background 0.25s, color 0.25s, transform 0.25s var(--ease-out); }
.carousel-nav button:hover { transform: scale(1.06); }
.timeline li::before { transition: transform 0.4s var(--ease-out); }
.timeline li:hover::before { transform: scale(1.12); }
.timeline li h3 { transition: color 0.25s; }
.timeline li:hover h3 { color: var(--brand); }

/* FAQ: smooth open/close (where supported) and a rotating plus */
.faq summary { transition: color 0.2s; }
.faq summary:hover { color: var(--brand); }
.faq summary::after { transition: transform 0.35s var(--ease-out); }
.faq details[open] summary::after { content: "+"; transform: rotate(45deg); }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size 0.45s var(--ease-out), content-visibility 0.45s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }

/* Hero entrance on page load (CSS only) */
@keyframes riseIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero .wrap > div > *, .hero--cinematic .wrap > *, .page-hero .wrap > *, .hero--form #quote, .hero-media { animation: riseIn 0.9s var(--ease-out) both; }
.hero .wrap > div > :nth-child(2), .hero--cinematic .wrap > :nth-child(2), .page-hero .wrap > :nth-child(2) { animation-delay: 0.08s; }
.hero .wrap > div > :nth-child(3), .hero--cinematic .wrap > :nth-child(3), .page-hero .wrap > :nth-child(3) { animation-delay: 0.16s; }
.hero .wrap > div > :nth-child(4), .hero--cinematic .wrap > :nth-child(4), .page-hero .wrap > :nth-child(4) { animation-delay: 0.24s; }
.hero .wrap > div > :nth-child(n+5), .hero--cinematic .wrap > :nth-child(n+5), .page-hero .wrap > :nth-child(n+5) { animation-delay: 0.32s; }
.hero--form #quote, .hero-media { animation-delay: 0.22s; }
.hero-card { animation: riseIn 1s var(--ease-out) 0.45s both; }

/* Scroll reveals: richer variants (js/motion.js adds .in; it also auto-tags common elements) */
.motion [data-reveal="left"] { transform: translateX(-28px); }
.motion [data-reveal="right"] { transform: translateX(28px); }
.motion [data-reveal="zoom"] { transform: scale(0.96); }
.motion .media[data-reveal] img, .motion .split > img[data-reveal], .motion .collage[data-reveal] img, .motion .gallery [data-reveal] img { clip-path: inset(12% 0 0 0 round var(--radius-lg)); transform: scale(1.08); }
.motion .media[data-reveal].in img, .motion .split > img[data-reveal].in, .motion .collage[data-reveal].in img, .motion .gallery [data-reveal].in img { clip-path: inset(0 0 0 0 round var(--radius-lg)); transform: none; }


@media (prefers-reduced-motion: reduce) {
  .hero .wrap > div > *, .hero--cinematic .wrap > *, .page-hero .wrap > *, .hero--form #quote, .hero-media, .hero-card { animation: none !important; }
  .card:hover, .review:hover, .pain li:hover, .btn:hover { transform: none; }
  .card:hover img, .gallery li:hover img, .media:hover img { transform: none; }
  .faq details::details-content { transition: none; }
}

/* ═════════ Guides (articles) ═════════ */
.byline { margin-top: 14px; font-size: 0.9375rem; color: var(--muted); }
.page-hero--photo .byline { color: rgb(255 255 255 / 0.8); }
.quick-answer { position: relative; margin-top: 28px; padding: 22px 24px 22px 26px; border-radius: var(--radius-lg); background: var(--bg); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--text); max-width: 46rem; }
.quick-answer::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 4px; border-radius: 0 4px 4px 0; background: var(--accent); }
.quick-answer strong:first-child { display: block; margin-bottom: 6px; font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand); }
.quick-answer p { font-size: var(--step-1); line-height: 1.5; }
.takeaways { margin: 0 0 8px; padding: 22px 24px; border-radius: var(--radius-lg); background: var(--surface); }
.takeaways h2 { margin: 0 0 4px; font-size: var(--step-1); }
.prose { font-size: 1.0625rem; line-height: 1.75; }
.prose h2 { scroll-margin-top: 110px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; line-height: 1.5; }
.prose th, .prose td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose thead th { background: var(--surface); font-family: var(--font-head); font-weight: var(--head-weight); text-transform: var(--head-transform); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.prose blockquote { padding-left: 18px; border-left: 3px solid var(--accent); color: var(--muted); }
.guide-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 10px; font-size: 0.875rem; color: var(--muted); }

/* ═════════ Mobile layer ═════════
   Most local searches happen on phones, so the phone version must feel as premium as desktop:
   a full-sheet menu, tap feedback instead of hover, comfortable tap targets, tighter rhythm. */

/* Comfortable tap targets */
.brand { min-height: 44px; }
.facts .v a, .area-list a, .area-list span { display: inline-flex; align-items: center; min-height: 44px; }
.footer ul a { display: inline-block; padding-block: 4px; }

/* Menu button: "Menu" / "Close" with an animated icon.
   Markup: <summary><span class="m-open">Menu</span><span class="m-close">Close</span></summary> (plain "Menu" also works) */
.nav-menu > summary { gap: 10px; }
.nav-menu > summary::before { content: ""; width: 18px; height: 12px; flex: none; background:
  linear-gradient(currentColor, currentColor) 0 0 / 100% 2px no-repeat,
  linear-gradient(currentColor, currentColor) 0 50% / 70% 2px no-repeat,
  linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat; transition: transform 0.3s var(--ease-out); }
.nav-menu[open] > summary::before { transform: rotate(90deg); }
.nav-menu .m-close, .nav-menu[open] .m-open { display: none; }
.nav-menu[open] .m-close { display: inline; }

@media (max-width: 900px) {
  /* Full-sheet menu under the floating pill */
  .nav--float .nav-menu { position: static; }
  .nav--float .nav-menu[open] .nav-panel {
    position: fixed; left: 10px; right: 10px; top: 86px; bottom: 10px; width: auto; display: flex; flex-direction: column; gap: 0;
    padding: 18px 20px 20px; overflow-y: auto; overscroll-behavior: contain; border-radius: 26px;
    background: var(--bg); box-shadow: 0 30px 80px rgb(0 0 0 / 0.35); animation: sheetIn 0.45s var(--ease-out);
  }
  .nav--float .nav-panel a:not(.btn) {
    display: flex; align-items: center; justify-content: space-between; padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line);
    font-family: var(--font-head); font-weight: var(--head-weight); font-size: 1.375rem; letter-spacing: var(--head-tracking); text-transform: var(--head-transform);
  }
  .nav--float .nav-panel a:not(.btn)::after { content: "\2192"; font-family: var(--font-body); font-size: 1rem; color: var(--muted); transition: transform 0.25s var(--ease-out); }
  .nav--float .nav-panel a:not(.btn):active::after { transform: translateX(4px); color: var(--accent); }
  .nav--float .nav-panel a:not(.btn):hover { background: none; }
  .nav-group { margin: 18px 0 2px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
  .nav-group:first-child { margin-top: 0; }
  .nav-panel .nav-sub a:not(.btn) { font-size: 1.0625rem; font-family: var(--font-body); font-weight: 600; letter-spacing: 0; text-transform: none; padding-block: 12px; }
  .nav--float .nav-panel .btn { margin-top: 18px; min-height: 56px; font-size: 1.0625rem; }
  .nav--float .nav-panel .btn + .btn { margin-top: 10px; }
  .nav-panel > * { animation: riseIn 0.5s var(--ease-out) both; }
  .nav-panel > :nth-child(2) { animation-delay: 0.03s; } .nav-panel > :nth-child(3) { animation-delay: 0.06s; }
  .nav-panel > :nth-child(4) { animation-delay: 0.09s; } .nav-panel > :nth-child(5) { animation-delay: 0.12s; }
  .nav-panel > :nth-child(n+6) { animation-delay: 0.15s; }
  html.menu-open { overflow: hidden; }
  html.menu-open .sticky-call { opacity: 0; pointer-events: none; }
  .sticky-call { transition: opacity 0.25s; }
}
@keyframes sheetIn { from { opacity: 0; transform: translateY(-12px) scale(0.98); } }

/* Phones: tighter vertical rhythm, hero copy that fits, sections that breathe less */
@media (max-width: 640px) {
  :root { --section: 64px; }
  .hero--form .wrap { padding-bottom: 40px; gap: 28px; }
  .hero .lead, .page-hero .lead { font-size: 1.0625rem; }
  .hero .cta-row .btn, .page-hero .cta-row .btn { flex: 1 1 auto; }
  .trust { gap: 8px 16px; font-size: 0.875rem; }
  .section-head { margin-bottom: 24px; }
  .section-head p { font-size: 1.0625rem; }
  .facts-band b { font-size: 2rem; }
  .facts-band ul { grid-template-columns: 1fr 1fr; }
  .facts-band li { border-left: 0; border-top: 1px solid rgb(255 255 255 / 0.1); }
  .facts-band li:nth-child(-n+2) { border-top: 0; }
  .facts-band li:nth-child(2n) { border-left: 1px solid rgb(255 255 255 / 0.1); }
  .marquee-track > * { font-size: 1.25rem; gap: 32px; }
  .marquee-track { gap: 32px; padding-block: 14px; }
  .service-rows a { padding: 20px 0; gap: 6px 14px; }
  .service-rows h3 { font-size: 1.375rem; }
  .feature-review blockquote { font-size: 1.5rem; }
  .final-cta h2 { font-size: 2.5rem; }
  .cta-card { padding: 28px 22px; }
  .pain-turn { font-size: 1.375rem; }
  .media img { aspect-ratio: 4 / 3; }
}

/* Touch screens: no sticky hover; give tap feedback instead */
@media (hover: none) {
  .card:hover, .review:hover, .pain li:hover, .objections li:hover, .steps li:hover, .area-list a:hover, .choice:hover span, .btn:hover { transform: none; box-shadow: none; }
  .card:hover img, .gallery li:hover img, .media:hover img, .collage img:hover { transform: none; }
  .service-rows a:hover { padding-inline: 0; background: none; }
  .service-rows a:hover .row-arrow { background: none; color: inherit; border-color: var(--line); transform: none; }
  .btn:active, .card:active, .service-rows a:active, .review:active, .area-list a:active, .choice:active span, .carousel-nav button:active, .mega-panel li a:active {
    transform: scale(0.97); transition-duration: 0.1s;
  }
  .service-rows a:active .row-arrow { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
  .card:active { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
  a, button, summary, label { -webkit-tap-highlight-color: transparent; }
}

/* Long FAQ questions wrap inside their line instead of pushing past it */
.faq summary { min-width: 0; overflow-wrap: anywhere; }
.faq summary::after { width: 1em; text-align: center; }
/* backdrop-filter makes the pill the containing block for fixed children, which would shrink the menu sheet
   to the pill's height. Drop the blur while the menu is open. */
.nav-pill:has(.nav-menu[open]) { backdrop-filter: none; background: var(--bg); }

/* Accent words on dark backgrounds (photo heroes, brand sections, stakes, CTAs) use the accent color:
   a navy or green accent word would disappear on a dark photo. */
.hero:not(.hero--plain):not(.hero--split) h1 em, .page-hero--photo h1 em, .section--brand em, .stakes h2 em, .final-cta h2 em,
.cta-card h2 em, .facts-band em, .feature-review em { color: var(--accent); }

/* Review rating line (from synced Google data only) */
.rating-line { margin: 0 0 22px; }
.rating-line a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: 0.9375rem; background: var(--bg); transition: border-color 0.2s, transform 0.3s var(--ease-out); }
.rating-line a:hover { border-color: var(--accent); transform: translateY(-1px); }
.rating-line .stars { color: #f5b301; letter-spacing: 1px; }
.section--brand .rating-line a { background: transparent; border-color: rgb(255 255 255 / 0.3); }

/* =====================================================================================================
   ATMOSPHERE: depth instead of flat color. Film grain, soft glows on tinted sections, a faded dot field on
   plain ones, cards that sit on the page (highlight + layered shadow), pill eyebrows. Colors come from the
   theme tokens, so every direction gets its own version.
   ===================================================================================================== */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: 0.055; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main > .section { position: relative; isolation: isolate; }
/* Plain sections: a dot field that fades out from one corner (alternating sides down the page) */
main > .section:not(.section--alt):not(.section--brand)::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(color-mix(in srgb, var(--text) 13%, transparent) 1px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(55% 60% at 100% 0%, #000, transparent 75%); mask-image: radial-gradient(55% 60% at 100% 0%, #000, transparent 75%);
}
main > .section:not(.section--alt):not(.section--brand):nth-of-type(even)::before {
  -webkit-mask-image: radial-gradient(55% 60% at 0% 100%, #000, transparent 75%); mask-image: radial-gradient(55% 60% at 0% 100%, #000, transparent 75%);
}
/* Tinted sections: two soft glows in the brand and accent colors */
.section--alt {
  background:
    radial-gradient(55% 45% at 100% 0%, color-mix(in srgb, var(--accent) 13%, transparent), transparent 72%),
    radial-gradient(50% 45% at 0% 100%, color-mix(in srgb, var(--brand) 10%, transparent), transparent 72%),
    var(--surface);
}
.section--brand {
  background:
    radial-gradient(60% 70% at 85% 110%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 70%),
    radial-gradient(45% 55% at 0% 0%, rgb(255 255 255 / 0.07), transparent 70%),
    var(--brand);
}
/* Cards that sit on the page */
.card, .review, .pain li, .objections li, .steps li {
  background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 100%, #fff 0%), color-mix(in srgb, var(--bg) 94%, var(--surface)));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.65), 0 1px 2px rgb(0 0 0 / 0.04), 0 12px 28px -16px rgb(0 0 0 / 0.18);
}
.section--brand .review, .section--brand .card { box-shadow: 0 18px 40px -20px rgb(0 0 0 / 0.5); }
.icon-badge { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 22%, transparent), 0 6px 16px -8px color-mix(in srgb, var(--accent) 60%, transparent); }
/* Pill eyebrows above section headings */
.section-head .eyebrow, .split .eyebrow, .timeline-head .eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border-radius: 999px;
  background: color-mix(in srgb, var(--bg) 80%, transparent); border: 1px solid var(--line); box-shadow: 0 4px 14px -8px rgb(0 0 0 / 0.2);
}
.section-head .eyebrow::before, .split .eyebrow::before, .timeline-head .eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
}
.section--brand .section-head .eyebrow { background: rgb(255 255 255 / 0.08); border-color: rgb(255 255 255 / 0.18); }

/* Swipe dots exist only for the phone rails (hidden if the window is widened after loading at phone size) */
.rail-dots { display: none; }

/* =====================================================================================================
   PHONE LAYER: the phone gets its own layout, not a squeezed desktop.
   - card groups become swipe rails (next card peeks in, dots below; motion.js adds the dots)
   - tighter rhythm, compact benefits, two-column footer lists, nav tucks away while scrolling down
   ===================================================================================================== */
@media (max-width: 640px) {
  :root { --section: 52px; }
  .rail-ready:is(.pain, .cards, .objections, .reviews) {
    display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1); padding: 6px var(--gutter) 14px; scroll-padding-inline: var(--gutter); scrollbar-width: none;
  }
  .rail-ready::-webkit-scrollbar { display: none; }
  .rail-ready > li { flex: 0 0 84%; scroll-snap-align: start; }
  .rail-ready.cards > li { flex-basis: 80%; }
  .rail-dots { display: flex !important; justify-content: center; gap: 6px; margin-top: 4px; }
  .rail-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 999px; background: color-mix(in srgb, var(--text) 22%, transparent); transition: width 0.35s var(--ease-out), background 0.3s; }
  .rail-dots button[aria-current="true"] { width: 22px; background: var(--accent); }
  .section--brand .rail-dots button { background: rgb(255 255 255 / 0.3); }
  .section--brand .rail-dots button[aria-current="true"] { background: var(--accent); }

  .benefits { gap: 18px; }
  .benefits li { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; align-items: start; }
  .benefits li .icon-badge { grid-row: span 2; }
  .benefits li h3 { margin-top: 2px; }
  .benefits li p { margin-top: 4px; }

  .footer .wrap { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer .wrap > :first-child, .footer-bottom, .footer-word { grid-column: 1 / -1; }

  .nav--float { transition: transform 0.45s var(--ease-out); }
  .nav--float.nav--away { transform: translateY(-120%); }
  .split, .stakes .wrap { gap: 24px; }
  .faq summary { padding-block: 16px; }
}

/* Phone hero with a photo: the photo shows at its natural scale under the nav (not zoomed to cover the whole tall
   hero + form), then fades into a solid dark base; the headline and copy sit on the dark part, so they stay legible
   on any photo. Trust points become glass pills. */
@media (max-width: 640px) {
  .hero[style*="background-image"] {
    background-color: var(--text); background-size: auto 470px; background-position: center top; background-repeat: no-repeat;
  }
  .hero[style*="background-image"]::before {
    background: linear-gradient(180deg, rgb(0 0 0 / 0.28) 0px, rgb(0 0 0 / 0.08) 110px, color-mix(in srgb, var(--text) 55%, transparent) 230px,
      color-mix(in srgb, var(--text) 92%, transparent) 360px, var(--text) 470px);
  }
  .hero[style*="background-image"] .wrap { padding-top: 205px; }
  .hero[style*="background-image"].hero--cinematic { min-height: 0; }
  .hero[style*="background-image"] h1, .hero[style*="background-image"] .lead, .hero[style*="background-image"] .eyebrow { text-shadow: 0 2px 18px rgb(0 0 0 / 0.45); }
  .hero[style*="background-image"] .lead { color: rgb(255 255 255 / 0.9); }
  .hero .trust { gap: 8px; }
  .hero .trust li {
    padding: 6px 11px 6px 9px; border-radius: 999px; font-size: 0.8125rem; line-height: 1.2;
    background: rgb(255 255 255 / 0.09); border: 1px solid rgb(255 255 255 / 0.16); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  }
}
@media (max-width: 640px) {
  .hero[style*="background-image"] { background-size: auto 540px; }
  .hero[style*="background-image"]::before {
    background: linear-gradient(180deg, rgb(0 0 0 / 0.28) 0px, rgb(0 0 0 / 0.04) 120px, color-mix(in srgb, var(--text) 50%, transparent) 270px,
      color-mix(in srgb, var(--text) 92%, transparent) 410px, var(--text) 540px);
  }
  .hero[style*="background-image"] .wrap { padding-top: 250px; }
  /* Eyebrow over the photo: a dark glass pill so it reads on any image */
  .hero[style*="background-image"] .eyebrow {
    display: inline-flex; align-items: center; gap: 7px; max-width: 100%; padding: 6px 12px; border-radius: 999px; font-size: 0.6875rem; line-height: 1.3;
    background: rgb(0 0 0 / 0.42); border: 1px solid rgb(255 255 255 / 0.14); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); text-shadow: none;
  }
  /* Long business names stay on one line in the nav pill */
  .nav .brand { font-size: 1.0625rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
}

/* Scroll-linked motion support (js/motion.js) */
.float-img { scale: 1.14; }                                  /* room for the photo to float inside its card */
.rail-auto { scroll-snap-type: none !important; }            /* auto-glide is smooth; snapping returns on touch */
.cards > li, .pain > li, .objections > li, .reviews > li, .benefits > li, .steps > li { will-change: translate; }
/* Cards arrive with more life: rise + scale, staggered */
.motion :is(.cards, .pain, .objections, .reviews, .benefits, .steps) > [data-reveal] { transform: translateY(42px) scale(0.94); }
.motion :is(.cards, .pain, .objections, .reviews, .benefits, .steps) > [data-reveal].in { transform: none; }
.motion .rail-ready[data-reveal] { transform: translateX(60px); }
.motion .rail-ready[data-reveal].in { transform: none; }

/* =====================================================================================================
   CHAPTERS: every section type has its own color world, so scrolling feels like moving through a story
   instead of cream-on-cream. The renderer tags sections with data-sec="<type>". Colors come from the
   site's own tokens (captured below before chapters re-scope them), so every brand gets its version.
     pain → dark, hot glow (the problem)        services/cards → accent field with color blobs
     benefits → light with brand glow           reviews → warm accent tint + giant quote mark
     process → dark with a line that fills       objections/areas → soft tinted
   ===================================================================================================== */
:root { --c-ink: var(--text); --c-paper: var(--bg); --c-brand: var(--brand); --c-accent: var(--accent); --c-hot: #e2483d; }
main > .section { overflow-x: clip; }

/* Dark chapters: tokens re-scoped so every component inside adapts (cards, text, lines, counters) */
main > [data-sec="pain"], main > [data-sec="process"] {
  --text: #f7f4ee; --muted: rgb(247 244 238 / 0.7); --line: rgb(255 255 255 / 0.12);
  --bg: color-mix(in srgb, var(--c-ink) 88%, #fff); --surface: color-mix(in srgb, var(--c-ink) 93%, #fff);
  --brand: color-mix(in srgb, var(--c-accent) 82%, #fff);
  color: var(--text);
}
main > [data-sec="pain"] {
  background:
    radial-gradient(45% 60% at 0% 0%, color-mix(in srgb, var(--c-hot) 34%, transparent), transparent 70%),
    radial-gradient(40% 55% at 100% 100%, color-mix(in srgb, var(--c-accent) 26%, transparent), transparent 70%),
    color-mix(in srgb, var(--c-ink) 94%, #000) !important;
}
main > [data-sec="process"] {
  background:
    radial-gradient(50% 60% at 100% 0%, color-mix(in srgb, var(--c-accent) 30%, transparent), transparent 70%),
    radial-gradient(45% 55% at 0% 100%, color-mix(in srgb, var(--c-brand) 55%, transparent), transparent 70%),
    color-mix(in srgb, var(--c-ink) 94%, #000) !important;
}
main > :is([data-sec="pain"], [data-sec="process"]) :is(.card, .review, .pain li, .objections li, .steps li) {
  background: linear-gradient(180deg, rgb(255 255 255 / 0.075), rgb(255 255 255 / 0.03));
  border-color: rgb(255 255 255 / 0.12); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.08), 0 20px 40px -24px rgb(0 0 0 / 0.6);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
main > [data-sec="pain"] .pain li { border-left-color: var(--c-hot); }
main > [data-sec="pain"] .pain .icon { color: #ff7a6e; }
main > [data-sec="pain"] .pain-turn em, main > [data-sec="pain"] h2 em, main > [data-sec="process"] h2 em { color: var(--c-accent); }
main > :is([data-sec="pain"], [data-sec="process"]) .section-head .eyebrow,
main > [data-sec="process"] .timeline-head .eyebrow { background: rgb(255 255 255 / 0.07); border-color: rgb(255 255 255 / 0.16); }

/* Accent field */
main > :is([data-sec="services"], [data-sec="cards"]) {
  background:
    radial-gradient(38% 50% at 6% 8%, color-mix(in srgb, var(--c-accent) 28%, transparent), transparent 70%),
    radial-gradient(42% 55% at 96% 92%, color-mix(in srgb, var(--c-brand) 20%, transparent), transparent 70%),
    color-mix(in srgb, var(--c-accent) 8%, var(--c-paper)) !important;
}
/* Light with a brand glow */
main > [data-sec="benefits"] {
  background:
    radial-gradient(45% 60% at 0% 50%, color-mix(in srgb, var(--c-brand) 18%, transparent), transparent 70%),
    radial-gradient(35% 45% at 100% 0%, color-mix(in srgb, var(--c-accent) 18%, transparent), transparent 70%),
    var(--c-paper) !important;
}
/* Warm tint + giant quote mark */
main > [data-sec="reviews"] {
  background:
    radial-gradient(50% 60% at 100% 0%, color-mix(in srgb, var(--c-accent) 24%, transparent), transparent 70%),
    color-mix(in srgb, var(--c-accent) 13%, var(--c-paper)) !important;
}
main > [data-sec="reviews"]::after {
  content: "\201C"; position: absolute; right: 3%; top: -0.12em; z-index: -1; pointer-events: none;
  font-family: var(--font-head); font-size: clamp(14rem, 30vw, 30rem); line-height: 1; color: color-mix(in srgb, var(--c-accent) 26%, transparent);
}
/* Soft tints */
main > :is([data-sec="objections"], [data-sec="faq"]) {
  background:
    radial-gradient(40% 50% at 100% 100%, color-mix(in srgb, var(--c-accent) 14%, transparent), transparent 70%),
    radial-gradient(40% 50% at 0% 0%, color-mix(in srgb, var(--c-brand) 10%, transparent), transparent 70%),
    var(--c-paper) !important;
}
main > :is([data-sec="areas"], [data-sec="map"]) { background: color-mix(in srgb, var(--c-brand) 7%, var(--c-paper)) !important; }

/* Colored icon badges and card accents */
.icon-badge { background: linear-gradient(140deg, var(--c-accent), color-mix(in srgb, var(--c-accent) 55%, var(--c-brand))) !important; color: var(--accent-ink) !important; }
.card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--c-accent), color-mix(in srgb, var(--c-accent) 40%, var(--c-brand))); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease-out); }
.card:hover::after, .motion .in .card::after, .motion .card.in::after { transform: scaleX(1); }

/* ---- Scroll effects (js/motion.js) ---- */
/* Headings fill in word by word as they scroll into view */
.w { opacity: 0.16; transition: opacity 0.45s var(--ease-out); }
.w.lit { opacity: 1; }
/* Giant label word sliding sideways behind a section */
.bg-word {
  position: absolute; top: clamp(6px, 2.5vw, 34px); left: 0; z-index: -1; pointer-events: none; white-space: nowrap;
  font-family: var(--font-head); font-weight: var(--head-weight); text-transform: var(--head-transform);
  font-size: clamp(5.5rem, 16vw, 17rem); line-height: 0.85; letter-spacing: -0.04em;
  color: color-mix(in srgb, var(--c-accent) 11%, transparent);
}
:is([data-sec="pain"], [data-sec="process"]) .bg-word { color: rgb(255 255 255 / 0.05); }
/* Drifting color blobs */
.blob { position: absolute; z-index: -1; pointer-events: none; width: clamp(240px, 34vw, 520px); aspect-ratio: 1; border-radius: 50%; filter: blur(60px); opacity: 0.5; animation: blobFloat 14s ease-in-out infinite alternate; }
.blob--a { left: -8%; top: 10%; background: radial-gradient(circle, var(--c-accent), transparent 68%); }
.blob--b { right: -10%; bottom: -10%; background: radial-gradient(circle, var(--c-brand), transparent 68%); animation-duration: 18s; }
:is([data-sec="pain"]) .blob--a { background: radial-gradient(circle, var(--c-hot), transparent 68%); }
@keyframes blobFloat { from { transform: translate(0, 0) scale(1); } to { transform: translate(40px, -30px) scale(1.15); } }
/* Process line fills as you scroll */
.timeline ol::after { content: ""; position: absolute; left: 17px; top: 8px; width: 2px; height: calc((100% - 16px) * var(--fill, 0)); background: linear-gradient(var(--c-accent), color-mix(in srgb, var(--c-accent) 50%, #fff)); box-shadow: 0 0 14px var(--c-accent); border-radius: 2px; }
@media (prefers-reduced-motion: reduce) { .w { opacity: 1; } .blob { animation: none; } .timeline ol::after { height: calc(100% - 16px); } }
@media (max-width: 640px) { .bg-word { font-size: 6.5rem; } .blob { filter: blur(44px); opacity: 0.4; } }
.timeline li::before { z-index: 1; }

/* Phone menu: Services and Areas are tap-to-open dropdowns (one open at a time; motion.js) */
@media (max-width: 900px) {
  .nav--float .m-acc { border-bottom: 1px solid var(--line); }
  .nav--float .m-acc > summary {
    list-style: none; display: flex; align-items: center; justify-content: space-between; padding: 14px 4px; cursor: pointer;
    font-family: var(--font-head); font-weight: var(--head-weight); font-size: 1.375rem; letter-spacing: var(--head-tracking); text-transform: var(--head-transform);
  }
  .m-acc > summary::-webkit-details-marker { display: none; }
  .m-acc > summary::after {
    content: ""; width: 9px; height: 9px; margin-right: 4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    color: var(--muted); transform: translateY(-3px) rotate(45deg); transition: transform 0.35s var(--ease-out), color 0.2s;
  }
  .m-acc[open] > summary::after { transform: translateY(2px) rotate(225deg); color: var(--accent); }
  .m-acc[open] > summary { color: var(--accent); }
  .m-acc .nav-sub { margin: 0 0 12px 4px; padding-left: 14px; border-left: 2px solid color-mix(in srgb, var(--accent) 45%, transparent); animation: accIn 0.4s var(--ease-out); }
  .m-acc .nav-sub a:last-child { border-bottom: 0; }
}
@keyframes accIn { from { opacity: 0; transform: translateY(-8px); } }
@media (max-width: 640px) { .bg-word { left: 6%; } }

/* Phones: keep scrolling smooth on mobile GPUs. No full-screen blended grain layer, no blurred/animated blobs
   (soft radial gradients look the same without the filter), no background blur behind cards, no will-change. */
@media (max-width: 640px) {
  body::after { display: none; }
  .blob { filter: none; animation: none; opacity: 0.35; }
  main > :is([data-sec="pain"], [data-sec="process"]) :is(.card, .review, .pain li, .objections li, .steps li) { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgb(255 255 255 / 0.06); }
  .hero .trust li, .hero[style*="background-image"] .eyebrow { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .cards > li, .pain > li, .objections > li, .reviews > li, .benefits > li, .steps > li { will-change: auto; }
}
/* Pinned phone rails (motion.js): the stick holds the rail mid-screen while the page scroll moves the cards.
   While pinned, the scroll drives the cards (no competing sideways swipe); the dots jump to a card. */
.rail-pin { position: relative; }
.rail-stick { position: sticky; }
.rail-auto { overflow-x: hidden !important; }
