/* ==========================================================================
   High Value Home Insurance — Design tokens (STYLE-GUIDE.md, Design DNA: corporate-trust)
   ========================================================================== */
:root {
	--ink: #0E1B2C;
	--navy: #123C6D;
	--gold: #C9A227;
	--blue-link: #1D70D0;
	--bg: #FAFAF9;
	--surface: #FFFFFF;
	--border: #E7E5E4;
	--muted: #78716C;
	--success: #2F6B4F;
	--warning: #B45309;
	--danger: #9F1D1D;

	--font-display: 'Manrope', system-ui, sans-serif;
	--font-body: 'Inter', system-ui, sans-serif;

	--radius: 8px;
	--shadow-sm: 0 1px 2px rgba(14, 27, 44, 0.06);
	--shadow-md: 0 8px 24px rgba(14, 27, 44, 0.10);

	--container-max: 1200px;
}

/* ==========================================================================
   Reset & base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.6;
}
img, video, iframe, svg { max-width: 100%; height: auto; display: block; }
@media (max-width: 1023px) { body { padding-bottom: 56px; } }
a { color: var(--blue-link); text-decoration: none; }
h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 800;
	line-height: 1.1;
	margin: 0 0 0.5em;
	color: var(--ink);
}
p { margin: 0 0 1em; color: var(--ink); }

/* ==========================================================================
   Responsive foundation
   ========================================================================== */
.container {
	width: 100%;
	max-width: var(--container-max);
	margin-inline: auto;
	padding-inline: clamp(16px, 5vw, 48px);
}

.grid-2, .grid-3, .grid-4 {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(20px, 3vw, 32px);
}
@media (min-width: 768px) {
	.grid-2 { grid-template-columns: repeat(2, 1fr); }
	.grid-3 { grid-template-columns: repeat(2, 1fr); }
	.grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
	.grid-3 { grid-template-columns: repeat(3, 1fr); }
	.grid-4 { grid-template-columns: repeat(4, 1fr); }
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.85em 1.6em;
	border-radius: var(--radius);
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 0.95rem;
	min-height: 44px;
	transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s;
}
.btn-cta {
	background: var(--gold);
	color: var(--ink);
	box-shadow: var(--shadow-sm);
}
.btn-cta:hover { box-shadow: 0 6px 20px rgba(201, 162, 39, 0.35); }
.btn-ghost {
	background: transparent;
	color: var(--ink);
	border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--ink); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header { background: var(--surface); border-bottom: 1px solid var(--border); }
.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-block: 12px;
}
.brand { display: flex; align-items: center; color: var(--ink); }
.brand-logo { height: 88px; width: auto; max-width: 400px; max-height: 88px; }
.brand-logo--full { display: none; }
.brand-logo--mark { display: block; height: 56px; max-width: 56px; max-height: 56px; }
@media (min-width: 640px) {
	.brand-logo--full { display: block; }
	.brand-logo--mark { display: none; }
}
.primary-nav { display: none; }
.nav-list { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
.nav-list a { color: var(--ink); font-weight: 500; font-size: 0.92rem; }
.nav-list a:hover { color: var(--gold); }
.header-cta { display: none; }
@media (min-width: 1024px) {
	.primary-nav { display: block; }
	.header-cta { display: inline-flex; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { background: var(--surface); overflow: hidden; }
.hero-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(32px, 5vw, 56px);
	align-items: center;
	padding-block: clamp(40px, 8vw, 96px);
}
@media (min-width: 1024px) {
	.hero-grid { grid-template-columns: 1.1fr 1fr; }
}
.kicker {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 0.8rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--navy);
	margin-bottom: 0.75em;
}
.hero-copy h1 { max-width: 22ch; }
.hero-copy h1 em { font-style: normal; color: var(--navy); }
.lede { max-width: 42ch; color: var(--muted); font-size: 1.05rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.5em; }

.hero-image-frame {
	position: relative;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow-md);
	aspect-ratio: 4 / 4.5;
}
.hero-image-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-line-overlay {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: 200px;
	max-height: 25%;
	margin: auto;
	pointer-events: none;
}
@media (min-width: 768px) { .hero-line-overlay { max-width: 200px; max-height: 200px; } }
/* Fully visible by default — JS opts a path INTO the draw-on animation via .sonic-armed */
.line-path.sonic-armed { stroke-dasharray: 900; stroke-dashoffset: 900; }

.hero-badges {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 20px;
	margin: 1.75em 0 0;
	padding: 0;
}
.hero-badges li {
	font-size: 0.78rem;
	font-weight: 600;
	color: var(--navy);
	position: relative;
	padding-left: 16px;
}
.hero-badges li::before {
	content: "";
	position: absolute; left: 0; top: 0.5em;
	width: 7px; height: 7px; border-radius: 50%;
	background: var(--gold);
}

/* Trust stat bar */
.trust-bar { background: var(--ink); }
.trust-bar--inline { border-radius: var(--radius); overflow: hidden; margin-block: clamp(24px, 3vw, 40px); }
.trust-bar-inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px;
	padding-block: 32px;
}
@media (min-width: 768px) {
	.trust-bar-inner { grid-template-columns: repeat(3, 1fr); gap: 0; }
	.stat { text-align: center; padding-inline: 24px; position: relative; }
	.stat + .stat::before {
		content: "";
		position: absolute; left: 0; top: 50%; transform: translateY(-50%);
		width: 1px; height: 56px;
		background: rgba(255,255,255,0.14);
	}
}
.stat { color: #fff; text-align: center; }
.stat-num { font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: var(--gold); }
.stat-suffix { font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: var(--gold); }
.stat-label { display: block; font-size: 0.85rem; color: #cbd3dc; margin-top: 6px; max-width: 24ch; margin-inline: auto; }

/* ==========================================================================
   Article pages (Authority / Knowledge / Answer)
   ========================================================================== */
.article-hero {
	position: relative; overflow: hidden;
	background: linear-gradient(135deg, var(--ink) 0%, var(--navy) 100%);
	padding-block: clamp(48px, 7vw, 80px) clamp(36px, 5vw, 56px);
}
.article-hero-inner { position: relative; z-index: 1; }
.article-hero-lines { position: absolute; top: 0; right: 0; height: 100%; width: min(55%, 560px); opacity: 0.9; pointer-events: none; z-index: 0; }
.breadcrumb { font-size: 0.8rem; color: #93a2b5; margin-bottom: 1.5em; }
.breadcrumb a { color: #93a2b5; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { margin: 0 6px; color: rgba(255,255,255,0.2); }
.article-hero .kicker { color: var(--gold); }
.article-hero h1 { max-width: 24ch; color: #fff; }
.article-hero--knowledge h1, .article-hero--answer h1 { max-width: 28ch; font-size: clamp(1.75rem, 3.6vw, 2.6rem); }

.article-hero-grid { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 4vw, 48px); align-items: center; }
@media (min-width: 900px) { .article-hero-grid { grid-template-columns: 1.1fr 0.9fr; } }
.article-hero--authority .hero-badges { margin-top: 1.4em; }
.article-hero--authority .hero-badges li { color: #cbd3dc; }
.article-hero--authority .hero-badges li::before { background: var(--gold); }
.article-hero-visual .hero-image-frame {
	position: relative; border-radius: calc(var(--radius) + 6px); overflow: hidden;
	box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
.article-hero-visual img { aspect-ratio: 4 / 3; object-fit: cover; }
.article-body-wrap { padding-block: clamp(32px, 5vw, 56px); max-width: 760px; }
.article-body { font-size: 1.02rem; color: var(--ink); }
.article-body h2 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); margin: 1.6em 0 0.6em; }
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { font-size: 1.1rem; margin: 1.4em 0 0.5em; }
.article-body p { margin-bottom: 1.1em; color: var(--ink); }
.article-body ul, .article-body ol { margin: 0 0 1.1em; padding-left: 1.4em; }
.article-body li { margin-bottom: 0.5em; }
.article-body strong { color: var(--navy); }
.article-body a { color: var(--navy); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--navy) 40%, transparent); }
.article-body a:hover { color: var(--gold); }
.article-body blockquote {
	margin: 1.5em 0; padding: 16px 20px; border-left: 3px solid var(--gold);
	background: color-mix(in srgb, var(--gold) 6%, transparent); border-radius: 0 8px 8px 0;
	font-style: italic; color: var(--navy);
}
.article-sources { margin-top: 2.5em; padding-top: 1.5em; border-top: 1px solid var(--border); }
.sources-label { font-family: var(--font-display); font-weight: 800; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.75em; }
.article-sources ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.article-sources a { font-size: 0.85rem; color: var(--muted); }
.article-sources a:hover { color: var(--navy); }

/* ==========================================================================
   Local Market Snapshot (city pages, researched content)
   ========================================================================== */
.snapshot { padding-block: clamp(40px, 6vw, 72px); background: var(--surface); border-bottom: 1px solid var(--border); }
.snapshot h2 { max-width: 24ch; }
.snapshot-intro { color: var(--text-muted, var(--muted)); max-width: 68ch; margin-top: 0.75em; font-size: 1.05rem; line-height: 1.7; }
.snapshot-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 2em; }
@media (min-width: 768px) { .snapshot-grid { grid-template-columns: 1fr 1.3fr; } }
.snapshot-card {
	background: var(--bg); border: 1px solid var(--border); border-radius: calc(var(--radius) + 4px);
	padding: clamp(20px, 2.5vw, 28px);
}
.snapshot-card--accent {
	background: linear-gradient(135deg, var(--ink) 0%, var(--navy) 100%);
	border: none; position: relative; overflow: hidden;
}
.snapshot-card--accent::before { content: ""; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--gold); }
.snapshot-card-label { font-family: var(--font-display); font-weight: 800; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin: 0 0 1em; }
.snapshot-card--accent .snapshot-card-label { color: var(--gold); }
.snapshot-hoods { display: flex; flex-wrap: wrap; gap: 8px; }
.hood-pill {
	font-size: 0.82rem; font-weight: 600; color: var(--navy);
	background: color-mix(in srgb, var(--navy) 8%, transparent);
	padding: 5px 12px; border-radius: 20px;
}
.snapshot-card--accent .snapshot-note { margin: 0; color: #ffffff; font-size: 0.98rem; line-height: 1.65; }
.snapshot-sources { margin-top: 1em; font-size: 0.76rem; color: var(--muted); }
.snapshot-sources a { color: var(--navy); text-decoration: underline; }

/* ==========================================================================
   2. Problem
   ========================================================================== */
.problem { padding-block: clamp(48px, 7vw, 96px); background: var(--surface); border-bottom: 1px solid var(--border); }
.problem h2 { max-width: 22ch; }
.problem-intro { color: var(--muted); max-width: 46ch; }
.problem-list { list-style: none; margin: 1.75em 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 14px; max-width: 640px; }
@media (min-width: 768px) { .problem-list { grid-template-columns: repeat(2, 1fr); } }
.problem-list li { display: flex; gap: 10px; font-size: 0.98rem; color: var(--ink); }
.problem-mark { color: var(--gold); font-weight: 800; flex-shrink: 0; }
.problem-contrast { font-family: var(--font-display); font-weight: 700; color: var(--navy); font-size: 1.05rem; margin: 0; }

/* ==========================================================================
   3. Proof
   ========================================================================== */
.proof { padding-block: clamp(56px, 8vw, 104px); background: var(--bg); }
.proof h2 { max-width: 26ch; margin-bottom: 0.75em; }

/* ==========================================================================
   Carrier row
   ========================================================================== */
.carrier-row { padding-block: clamp(24px, 4vw, 40px); }
.carrier-row--inline { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); }
.carrier-row-label { text-align: center; color: var(--muted); font-size: 0.85rem; margin-bottom: 1.25em; }
.carrier-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.carrier-badge {
	font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
	padding: 12px 28px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
	color: var(--navy);
}

/* ==========================================================================
   4. Solution — named methodology
   ========================================================================== */
.solution { padding-block: clamp(56px, 8vw, 112px); background: var(--surface); }
.solution h2 { max-width: 22ch; margin-bottom: 0.4em; }
.solution-intro { color: var(--muted); max-width: 52ch; margin-bottom: 2em; }
.solution-steps { list-style: none; margin: 0 0 clamp(48px, 6vw, 72px); padding: 0; display: grid; grid-template-columns: 1fr; gap: 28px; counter-reset: step; }
@media (min-width: 768px) { .solution-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .solution-steps { grid-template-columns: repeat(4, 1fr); } }
.solution-steps li { border-top: 2px solid var(--gold); padding-top: 16px; }
.step-num { display: block; font-family: var(--font-display); font-weight: 800; font-size: 0.85rem; color: var(--gold); margin-bottom: 0.5em; }
.solution-steps h3 { font-size: 1.05rem; margin-bottom: 0.4em; }
.solution-steps p { color: var(--muted); font-size: 0.9rem; margin: 0; }
.coverage-subhead { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); margin-bottom: 1.25em; }
.card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: clamp(24px, 3vw, 32px);
	box-shadow: var(--shadow-sm);
}
.card-icon { max-width: 56px; max-height: 56px; margin-bottom: 1em; }
.card h3 { margin-bottom: 0.5em; }
.card p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* ==========================================================================
   5. Evidence
   ========================================================================== */
.evidence { padding-block: clamp(56px, 8vw, 104px); background: var(--ink); }
.evidence .kicker { color: var(--gold); }
.evidence h2 { color: #fff; max-width: 28ch; margin-bottom: 1.5em; }
.evidence-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 768px) { .evidence-grid { grid-template-columns: repeat(3, 1fr); } }
.evidence-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(201,162,39,0.3); border-radius: var(--radius); padding: clamp(20px, 3vw, 28px); }
.evidence-card h4 { color: var(--gold); font-size: 0.95rem; margin-bottom: 0.5em; }
.evidence-card p { color: #cbd3dc; font-size: 0.88rem; margin: 0; }
.evidence-disclaimer { color: #8b95a1; font-size: 0.78rem; margin: 1.5em 0 0; font-style: italic; }

/* ==========================================================================
   Founder block
   ========================================================================== */
.founder-block { background: var(--navy); padding-block: clamp(48px, 6vw, 88px); }
.founder-block--inline { background: transparent; padding: 0; margin-top: clamp(24px, 3vw, 40px); }
.founder-inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
	align-items: start;
	background: var(--navy);
	border: 1px solid var(--gold);
	border-radius: var(--radius);
	padding: clamp(28px, 4vw, 44px);
	box-shadow: var(--shadow-md);
}
@media (min-width: 768px) { .founder-inner { grid-template-columns: 120px 1fr; align-items: center; } }
.founder-photo { max-width: 120px; max-height: 120px; width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin-inline: auto; }
@media (min-width: 768px) { .founder-photo { margin-inline: 0; } }
.founder-copy { color: #fff; }
.founder-name { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; margin-bottom: 0.5em; }
.founder-title { font-weight: 600; color: var(--gold); font-size: 0.88rem; }
.founder-copy p { color: #d7dee6; font-size: 0.95rem; }
.founder-cta { color: var(--gold); font-weight: 700; font-size: 0.9rem; }

/* ==========================================================================
   Locations directory
   ========================================================================== */
.locations-directory { padding-block: clamp(56px, 8vw, 104px); }
.locations-directory h2 { margin-bottom: 1.25em; }
.locations-empty { color: var(--muted); }
.location-card { display: block; text-decoration: none; transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s; }
.location-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.location-card h3 { color: var(--ink); margin-bottom: 0.5em; }
.location-card p { color: var(--muted); font-weight: 400; font-size: 0.9rem; line-height: 1.55; margin: 0 0 1em; }
.location-card-link { color: var(--gold); font-weight: 700; font-size: 0.88rem; }

/* Locations hub — grouped-by-region directory */
.location-region { margin-bottom: clamp(36px, 5vw, 56px); }
.location-region:last-child { margin-bottom: 0; }
.location-region-title {
	font-size: 1.1rem; color: var(--navy); margin-bottom: 1em; padding-bottom: 0.6em;
	border-bottom: 2px solid var(--gold); display: inline-block;
}
.location-pin-card {
	display: flex; align-items: center; gap: 8px; padding: 14px 16px;
	background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
	color: var(--ink); font-weight: 600; font-size: 0.92rem; text-decoration: none;
	transition: transform 0.25s cubic-bezier(0.22,1,0.36,1), box-shadow 0.25s, border-color 0.25s;
}
.location-pin-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--gold); color: var(--navy); }
.location-pin-card svg { flex-shrink: 0; }

/* ==========================================================================
   Nearby cities (internal linking)
   ========================================================================== */
.nearby-cities { padding-block: clamp(32px, 4vw, 56px); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.nearby-label { font-size: 0.85rem; color: var(--muted); margin-bottom: 0.75em; }
.nearby-links { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.nearby-links a { font-size: 0.9rem; font-weight: 500; color: var(--navy); }
.nearby-links a:hover { color: var(--gold); }

/* ==========================================================================
   6. Action / Contact CTA
   ========================================================================== */
.contact-cta { padding-block: clamp(56px, 8vw, 112px); text-align: center; }
.contact-inner { max-width: 640px; margin-inline: auto; }
.contact-inner p { color: var(--muted); }
.contact-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 1.75em 0; }
.btn-text { background: transparent; color: var(--navy); font-weight: 600; min-height: auto; padding: 0.85em 0.5em; }
.btn-text:hover { color: var(--gold); }
.contact-trust-closer { color: var(--muted); font-size: 0.85rem; font-style: italic; margin: 0; }

/* ==========================================================================
   Mobile sticky CTA
   ========================================================================== */
.sticky-cta {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
	display: flex; align-items: stretch; gap: 1px;
	background: var(--border);
	box-shadow: 0 -4px 16px rgba(14,27,44,0.12);
}
@media (min-width: 1024px) { .sticky-cta { display: none; } }
.sticky-cta-call {
	flex: 0 0 64px;
	display: flex; align-items: center; justify-content: center;
	background: var(--ink); color: var(--gold);
	min-height: 56px;
}
.sticky-cta-book {
	flex: 1;
	border-radius: 0;
	min-height: 56px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ink); color: #cbd3dc; padding-block: clamp(48px, 6vw, 72px) 24px; }
.site-footer p { color: #cbd3dc; }
.footer-inner { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 768px) { .footer-inner { grid-template-columns: 1.2fr 2fr; } }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; max-width: 34ch; }
.footer-logo {
	height: 76px; width: auto; max-width: 340px; max-height: 76px;
	background: var(--bg);
	padding: 12px 16px;
	border-radius: 6px;
}
.footer-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (min-width: 640px) { .footer-cols { grid-template-columns: repeat(3, 1fr); } }
.footer-cols h3 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.75em; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; }
.footer-cols li { margin-bottom: 0.5em; font-size: 0.9rem; }
.footer-cols a { color: #cbd3dc; }
.footer-cols a:hover { color: var(--gold); }
.footer-legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.8rem; }
.footer-legal p { color: #8b95a1; }

/* ==========================================================================
   Motion — scroll reveal (base state; JS adds .is-visible)
   ========================================================================== */
.sonic-fade-on-scroll { opacity: 0; transform: translateY(16px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.sonic-fade-on-scroll.is-visible { opacity: 1; transform: translateY(0); }
.sonic-stagger-children > * { opacity: 0; transform: translateY(16px); }
.sonic-stagger-children.is-visible > * { opacity: 1; transform: translateY(0); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }

@media (prefers-reduced-motion: reduce) {
	.sonic-fade-on-scroll, .sonic-stagger-children > * {
		transition: opacity 0.4s ease !important;
		transform: none !important;
	}
	.line-path { stroke-dashoffset: 0 !important; }
}

/* ==========================================================================
   Sonic Boom retrofit — header phone + footer contact
   ========================================================================== */
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone {
	display: none;
	font-family: var(--font-display); font-weight: 700; font-size: 0.92rem;
	color: var(--navy); white-space: nowrap;
}
.header-phone::before {
	content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 6px; vertical-align: -2px;
	background-color: var(--gold);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.127.96.362 1.903.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.907.338 1.85.573 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.127.96.362 1.903.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.907.338 1.85.573 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.header-phone:hover { color: var(--gold); }
@media (min-width: 1180px) { .header-phone { display: inline-flex; align-items: center; } }

.footer-phone-line { display: flex; flex-direction: column; gap: 2px; margin-top: 4px; }
.footer-phone-line a { color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.footer-phone-line a:hover { color: var(--gold); }
.footer-hours { color: #8b95a1; font-size: 0.8rem; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; }
.footer-legal-phone a { color: #8b95a1; }
.footer-legal-phone a:hover { color: var(--gold); }

/* ==========================================================================
   Sonic Boom retrofit — richer content chunking (article body)
   ========================================================================== */
.article-body { display: flex; flex-direction: column; gap: clamp(20px, 3vw, 28px); }
.content-block {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: calc(var(--radius) + 4px);
	padding: clamp(24px, 3.5vw, 40px);
	box-shadow: var(--shadow-sm);
	position: relative;
	font-size: 1.02rem;
}
.content-block::before {
	content: ""; position: absolute; top: 0; left: clamp(24px, 3.5vw, 40px); width: 40px; height: 3px;
	background: var(--gold); border-radius: 0 0 3px 3px;
}
.content-block--tint { background: color-mix(in srgb, var(--navy) 5%, var(--surface)); }
.content-block h2 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); margin: 0 0 0.6em; padding-top: 0.35em; }
.content-block h2:first-child { padding-top: 0; }
.content-block h3 { font-size: 1.05rem; margin: 1.2em 0 0.5em; }
.content-block p { margin-bottom: 1.05em; line-height: 1.7; }
.content-block p:last-child { margin-bottom: 0; }
.content-block ul, .content-block ol { margin: 0 0 1.05em; padding-left: 0; list-style: none; }
.content-block ul li, .content-block ol li {
	position: relative; padding-left: 1.6em; margin-bottom: 0.6em; line-height: 1.6;
}
.content-block ul li::before {
	content: ""; position: absolute; left: 0; top: 0.55em; width: 7px; height: 7px;
	background: var(--gold); border-radius: 50%;
}
.content-block ol { counter-reset: hvhi-ol; }
.content-block ol li { counter-increment: hvhi-ol; }
.content-block ol li::before {
	content: counter(hvhi-ol); position: absolute; left: 0; top: -0.05em;
	font-family: var(--font-display); font-weight: 800; font-size: 0.78rem; color: var(--gold);
	width: 1.3em;
}
.content-block strong { color: var(--navy); }
.content-block a { color: var(--navy); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--navy) 40%, transparent); }
.content-block a:hover { color: var(--gold); }
.content-block blockquote {
	margin: 0.4em 0 0; padding: 18px 22px; border-left: 3px solid var(--gold);
	background: color-mix(in srgb, var(--gold) 6%, transparent); border-radius: 0 8px 8px 0;
	font-style: italic; color: var(--navy); font-size: 1.05rem;
}

.inline-cta-card {
	position: relative; overflow: hidden;
	background: linear-gradient(135deg, var(--ink) 0%, var(--navy) 100%);
	border: 1px solid rgba(201, 162, 39, 0.35);
	border-radius: calc(var(--radius) + 4px);
	padding: clamp(24px, 3.5vw, 32px);
	display: flex; flex-direction: column; gap: 18px;
	box-shadow: 0 12px 32px rgba(14, 27, 44, 0.25);
}
.inline-cta-card::before {
	content: ""; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--gold);
}
@media (min-width: 640px) { .inline-cta-card { flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; } }
.inline-cta-card .inline-cta-kicker { font-family: var(--font-display); font-weight: 800; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); margin: 0 0 0.4em; }
.inline-cta-card .inline-cta-line { color: #ffffff; font-size: 0.98rem; font-weight: 500; margin: 0; max-width: 48ch; }
.inline-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; flex-shrink: 0; }
.inline-cta-actions .btn-ghost { color: #fff; border: 1.5px solid rgba(255,255,255,0.5); font-weight: 700; }
.inline-cta-actions .btn-ghost:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,162,39,0.1); }

/* ==========================================================================
   Sonic Boom retrofit — general richness polish
   ========================================================================== */
.card { transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.evidence-card, .solution-steps li { transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1); }
.evidence-card:hover { transform: translateY(-3px); }
.founder-block--inline {
	background: var(--surface); border: 1px solid var(--border); border-radius: calc(var(--radius) + 4px);
	padding: clamp(24px, 3vw, 32px); box-shadow: var(--shadow-sm); position: relative;
}
.founder-block--inline::before {
	content: ""; position: absolute; top: 0; left: clamp(24px, 3vw, 32px); width: 40px; height: 3px;
	background: var(--gold); border-radius: 0 0 3px 3px;
}

/* ==========================================================================
   Sonic Boom retrofit — Get a Quote page
   ========================================================================== */
.quote-hero { background: var(--ink); color: #fff; padding-block: clamp(48px, 7vw, 88px) clamp(32px, 5vw, 56px); }
.quote-hero .kicker { color: var(--gold); }
.quote-hero h1 { color: #fff; max-width: 20ch; font-size: clamp(2rem, 4.4vw, 3rem); }
.quote-hero .lede { color: #cbd3dc; max-width: 58ch; font-size: 1.05rem; margin-top: 0.75em; }
.quote-hero .hero-badges { margin-top: 1.5em; }
.quote-hero .hero-badges li { color: #cbd3dc; }
.quote-hero .hero-badges li::before { background: var(--gold); }

.quote-body { padding-block: clamp(40px, 6vw, 72px); }
.quote-grid { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 4vw, 40px); align-items: start; }
@media (min-width: 960px) { .quote-grid { grid-template-columns: 0.85fr 1.15fr; } }

.quote-aside { display: flex; flex-direction: column; gap: 20px; }
.quote-aside-card {
	background: var(--surface); border: 1px solid var(--border); border-radius: calc(var(--radius) + 4px);
	padding: clamp(20px, 2.5vw, 28px); box-shadow: var(--shadow-sm);
}
.quote-aside-kicker { font-family: var(--font-display); font-weight: 800; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin: 0 0 0.9em; }
.quote-aside-steps { list-style: none; margin: 0; padding: 0; counter-reset: hvhi-step; display: flex; flex-direction: column; gap: 14px; }
.quote-aside-steps li { position: relative; padding-left: 2em; font-size: 0.92rem; color: var(--muted); line-height: 1.55; counter-increment: hvhi-step; }
.quote-aside-steps li::before {
	content: counter(hvhi-step); position: absolute; left: 0; top: 0;
	width: 1.5em; height: 1.5em; border-radius: 50%; background: color-mix(in srgb, var(--gold) 15%, transparent);
	color: var(--navy); font-family: var(--font-display); font-weight: 800; font-size: 0.78rem;
	display: flex; align-items: center; justify-content: center;
}
.quote-aside-steps strong { color: var(--ink); }
.quote-aside-direct { text-align: center; }
.quote-aside-phone { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; color: var(--navy); margin: 0.2em 0; }
.quote-aside-phone:hover { color: var(--gold); }
.quote-aside-hours { color: var(--muted); font-size: 0.82rem; margin: 0; }
.quote-aside-founder { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; background: color-mix(in srgb, var(--navy) 5%, var(--surface)); }
.quote-aside-founder-photo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.quote-aside-founder-quote { font-style: italic; color: var(--ink); font-size: 0.94rem; margin: 0; }
.quote-aside-founder-name { color: var(--muted); font-size: 0.82rem; font-weight: 600; margin: 0; }

.quote-form-wrap {
	background: var(--surface); border: 1px solid var(--border); border-radius: calc(var(--radius) + 6px);
	padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow-md);
}
.quote-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: block; }
.form-row--split { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 560px) { .form-row--split { grid-template-columns: 1fr 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; color: var(--ink); }
.form-field label span[aria-hidden] { color: var(--gold); margin-left: 2px; }
.form-optional { font-weight: 500; color: var(--muted); font-size: 0.8rem; }
.form-field-hint { font-size: 0.78rem; color: var(--muted); margin: 2px 0 0; }
/* Google Places autocomplete dropdown is appended to <body>, not this form. */
.pac-container { z-index: 10000; font-family: var(--font-body); }
.form-field input, .form-field select, .form-field textarea {
	font-family: var(--font-body); font-size: 0.98rem; color: var(--ink);
	padding: 0.75em 0.9em; border: 1px solid var(--border); border-radius: var(--radius);
	background: var(--bg); transition: border-color 0.2s, box-shadow 0.2s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
	outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 20%, transparent);
}
.form-field textarea { resize: vertical; min-height: 88px; }
.form-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.quote-submit { width: 100%; margin-top: 4px; }
.form-privacy-note { text-align: center; color: var(--muted); font-size: 0.82rem; margin: 0; }
.form-status { min-height: 0; }
.form-status--error { color: var(--danger); font-size: 0.9rem; font-weight: 600; padding: 10px 14px; background: color-mix(in srgb, var(--danger) 8%, transparent); border-radius: var(--radius); }
.quote-form-success { text-align: center; padding: clamp(24px, 4vw, 40px) 0; }
.quote-form-success h2 { color: var(--navy); }
.quote-form-success p { color: var(--muted); max-width: 48ch; margin: 0.5em auto 0; }
.quote-form-success a { color: var(--navy); font-weight: 700; text-decoration: underline; }

/* ==========================================================================
   Thank-you page (post-submission confirmation)
   ========================================================================== */
.thank-you-hero { text-align: center; }
.thank-you-hero-inner { max-width: 640px; margin-inline: auto; }
.thank-you-hero .lede { margin-inline: auto; text-align: center; }
.thank-you-hero .hero-badges { justify-content: center; }
.thank-you-check {
	width: 68px; height: 68px; border-radius: 50%; background: var(--gold);
	display: flex; align-items: center; justify-content: center;
	margin: 0 auto 1.25rem;
}
.thank-you-body { padding-block: clamp(48px, 7vw, 88px); }
.thank-you-cta {
	text-align: center; margin-top: clamp(40px, 6vw, 64px);
	padding-top: clamp(32px, 5vw, 48px); border-top: 1px solid var(--border);
}
.thank-you-cta-label { font-weight: 700; color: var(--navy); margin: 0 0 1rem; }
.thank-you-cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   Sonic Boom retrofit — Answer/FAQ tier richness
   ========================================================================== */
.quick-answer-card {
	display: flex; gap: 18px; align-items: flex-start;
	background: linear-gradient(135deg, color-mix(in srgb, var(--gold) 12%, var(--surface)) 0%, var(--surface) 60%);
	border: 1px solid rgba(201, 162, 39, 0.35);
	border-radius: calc(var(--radius) + 4px);
	padding: clamp(24px, 3.5vw, 32px);
	box-shadow: var(--shadow-sm);
}
.quick-answer-badge {
	flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%;
	background: var(--gold); color: var(--ink);
	display: flex; align-items: center; justify-content: center;
}
.quick-answer-label { font-family: var(--font-display); font-weight: 800; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--navy); margin: 0 0 0.5em; }
.quick-answer-copy p:not(.quick-answer-label) { font-size: 1.08rem; line-height: 1.65; color: var(--ink); margin: 0; }

.related-questions { padding-block: clamp(40px, 6vw, 64px); background: var(--surface); border-top: 1px solid var(--border); }
.related-questions .kicker { color: var(--gold); }
.related-question-card {
	display: flex; align-items: center; gap: 12px;
	background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
	padding: 18px 20px; text-decoration: none;
	transition: transform 0.25s cubic-bezier(0.22,1,0.36,1), box-shadow 0.25s, border-color 0.25s;
}
.related-question-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.related-question-icon { flex-shrink: 0; }
.related-question-title { color: var(--ink); font-weight: 600; font-size: 0.92rem; line-height: 1.4; flex: 1; }
.related-question-arrow { color: var(--gold); font-weight: 700; flex-shrink: 0; transition: transform 0.25s; }
.related-question-card:hover .related-question-arrow { transform: translateX(4px); }

/* ==========================================================================
   AEO framework — EEAT byline + local Q-A-P FAQ layer
   ========================================================================== */
.reviewed-by-line { font-size: 0.8rem; color: var(--muted); margin: 1em 0 0; }
.reviewed-by-line span[itemprop] { color: var(--navy); font-weight: 600; }

.local-faq { padding-block: clamp(56px, 8vw, 104px); background: var(--surface); border-bottom: 1px solid var(--border); }
.local-faq h2 { max-width: 32ch; margin-bottom: 1.5em; }
.local-faq-list { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 900px) { .local-faq-list { grid-template-columns: repeat(2, 1fr); } }
.local-faq-item {
	background: var(--bg); border: 1px solid var(--border); border-radius: calc(var(--radius) + 4px);
	padding: clamp(20px, 2.5vw, 28px);
}
.local-faq-item h3 { font-size: 1.02rem; color: var(--ink); margin-bottom: 0.6em; line-height: 1.4; }
.local-faq-item p { font-size: 0.92rem; color: var(--muted); line-height: 1.65; margin: 0; }
.local-faq-item strong { color: var(--navy); }

/* ==========================================================================
   Structural reorder — merged Problem+Evidence (now one dark section),
   centered Proof, and clickable neighborhood pills
   ========================================================================== */
.evidence .evidence-intro { color: #cbd3dc; max-width: 46ch; }
.evidence .problem-list li { color: #fff; }
.evidence .problem-contrast { font-family: var(--font-display); font-weight: 700; color: var(--gold); font-size: 1.05rem; margin: 1.5em 0 0; }
.evidence-subhead { color: #fff; font-size: 1.25rem; margin: 2.5em 0 1em; max-width: 28ch; }

.proof--centered { text-align: center; }
.proof--centered h2 { max-width: 32ch; margin-inline: auto; }
.proof--centered .trust-bar,
.proof--centered .carrier-row { text-align: left; }

.snapshot-card-hint { font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--muted); font-size: 0.72rem; }
.hood-pill--interactive {
	border: none; cursor: pointer; font-family: var(--font-body);
	transition: background 0.2s, color 0.2s, transform 0.2s;
}
.hood-pill--interactive:hover { transform: translateY(-1px); }
.hood-pill--interactive.is-active {
	background: var(--navy); color: #fff;
}

/* ==========================================================================
   Interactive 4-step roadmap (replaces the plain 01-04 numbered list)
   ========================================================================== */
.roadmap { margin: 2.5em 0 3em; }
.roadmap-hint {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 0.82rem; font-weight: 600; color: var(--gold);
	margin: 0 0 1.5em;
}
.roadmap-hint svg { flex-shrink: 0; }
.roadmap-track {
	display: grid;
	grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
	align-items: center;
	width: 100%;
}
.roadmap-stop {
	background: none; border: none; cursor: pointer; padding: 0;
	display: flex; justify-content: center;
}
.roadmap-stop-marker {
	width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
	display: flex; align-items: center; justify-content: center;
	font-family: var(--font-display); font-weight: 800; font-size: 1rem;
	border: 2px solid var(--border); color: var(--muted); background: var(--surface);
	transition: background 0.3s, border-color 0.3s, color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.roadmap-stop:hover .roadmap-stop-marker { border-color: var(--gold); }
.roadmap-stop.is-active .roadmap-stop-marker {
	background: var(--navy); border-color: var(--navy); color: #fff;
	transform: scale(1.14);
	box-shadow: 0 0 0 6px color-mix(in srgb, var(--navy) 14%, transparent);
}
.roadmap-stop.is-complete .roadmap-stop-marker {
	background: var(--gold); border-color: var(--gold); color: var(--ink);
}
.roadmap-line { height: 2px; background: var(--border); margin: 0 6px; transition: background 0.4s; }
.roadmap-line.is-filled { background: var(--gold); }

.roadmap-labels {
	display: grid;
	grid-template-columns: auto 1fr auto 1fr auto 1fr auto;
	margin-top: 10px;
}
.roadmap-labels :nth-child(1) { grid-column: 1; }
.roadmap-labels :nth-child(2) { grid-column: 3; }
.roadmap-labels :nth-child(3) { grid-column: 5; }
.roadmap-labels :nth-child(4) { grid-column: 7; }
.roadmap-stop-label {
	font-size: 0.8rem; font-weight: 700; color: var(--muted); text-align: center;
	transition: color 0.3s; white-space: nowrap; justify-self: center;
}
.roadmap-stop-label.is-active { color: var(--navy); }

.roadmap-panels { margin-top: clamp(28px, 4vw, 40px); }
.roadmap-panel {
	background: var(--bg); border: 1px solid var(--border); border-radius: calc(var(--radius) + 4px);
	padding: clamp(24px, 3.5vw, 36px);
}
.roadmap-panel-kicker {
	font-family: var(--font-display); font-weight: 800; font-size: 0.72rem;
	letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); margin: 0 0 0.5em;
}
.roadmap-panel-kicker--impact { margin-top: 1.5em; color: var(--navy); }
.roadmap-panel-what { font-size: 1.05rem; color: var(--ink); line-height: 1.6; margin: 0; }
.roadmap-panel-impact { font-size: 1rem; color: var(--muted); line-height: 1.6; margin: 0; font-style: italic; }

@media (max-width: 480px) {
	.roadmap-stop-marker { width: 40px; height: 40px; font-size: 0.85rem; }
	.roadmap-stop-label { font-size: 0.7rem; }
}
