/*
Theme Name: Vision Fox Valuations
Theme URI: https://visionfoxvaluations.com/
Author: Vision Fox Business Advisors
Author URI: https://visionfox.com/
Description: Fast, accessible theme for visionfoxvaluations.com with built-in structured data, llms.txt for AI assistants, a no-plugin inquiry form, and Stripe Payment Link checkout. Activating it creates the site's pages automatically.
Version: 1.2.0
Requires at least: 6.4
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: visionfox-valuations
*/

/* ---------- Fonts (self-hosted, SIL Open Font License) ---------- */
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/public-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/public-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/public-sans-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Spectral"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/spectral-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Spectral"; font-style: italic; font-weight: 500; font-display: swap; src: url("assets/fonts/spectral-latin-500-italic.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
	--navy: #112F45;
	--navy-deep: #0C2333;
	--navy-soft: #1D4361;
	--copper: #C65F32;
	--rust: #98452C;
	--slate: #5D6A72;
	--ivory: #F7F4EE;
	--paper: #FFFFFF;
	--page: #FBFAF7;
	--tint: #F1ECE3;
	--line: #DDD5C8;
	--ink: #14283A;
	--ink-soft: #46545E;
	--on-navy: #F7F4EE;
	--on-navy-soft: #C3CDD4;

	--serif: "Spectral", Georgia, "Times New Roman", serif;
	--sans: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

	--wrap: 1180px;
	--gutter: clamp(1rem, 4vw, 2.5rem);
	--radius: 6px;
	--space: clamp(4rem, 8vw, 6.5rem);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 6rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
	margin: 0;
	background: var(--page);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 1.0625rem;
	line-height: 1.65;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}
@media (min-width: 900px) { body { font-size: 1.125rem; } }
img, svg { max-width: 100%; height: auto; }
a { color: var(--rust); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4 { margin: 0 0 0.5em; color: var(--navy); line-height: 1.15; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.012em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 3.9rem); line-height: 1.06; }
h2 { font-size: clamp(1.75rem, 3.1vw, 2.45rem); }
h3 { font-family: var(--sans); font-size: 1.125rem; font-weight: 700; letter-spacing: -0.005em; line-height: 1.3; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
.screen-reader-text, .form__hp {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--paper); color: var(--navy); padding: .75rem 1rem; border-radius: var(--radius); font-weight: 700; }
.skip-link:focus { top: 1rem; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 820px; }
.lead { font-size: 1.2em; line-height: 1.55; color: var(--ink); }
.prose { max-width: 68ch; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.25em; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }

/* ---------- Buttons & links ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	min-height: 3rem; padding: .8rem 1.4rem;
	background: var(--copper); color: #fff;
	border: 2px solid var(--copper); border-radius: var(--radius);
	font: 700 1rem/1.2 var(--sans); text-decoration: none; text-align: center;
	cursor: pointer; transition: background-color .15s, border-color .15s, color .15s;
}
.btn:hover { background: var(--rust); border-color: var(--rust); color: #fff; }
.btn--large { min-height: 3.5rem; padding: 1rem 1.75rem; font-size: 1.0625rem; }
.btn--small { min-height: 2.5rem; padding: .55rem 1rem; font-size: .9375rem; }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn--light { background: var(--ivory); color: var(--navy); border-color: var(--ivory); }
.btn--light:hover { background: #fff; border-color: #fff; color: var(--navy); }
.text-link { color: var(--rust); font-weight: 600; }
.text-link:hover { color: var(--navy); }

.icon-check { width: 1.15em; height: 1.15em; flex: none; color: var(--copper); margin-top: .22em; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); color: var(--on-navy); border-bottom: 1px solid rgba(247, 244, 238, .1); }
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: 4.5rem; }
.site-header__brand { flex: none; margin-right: auto; }
.brand { display: block; line-height: 0; }
.brand-logo { display: block; height: 50px; width: auto; }
@media (max-width: 520px) { .brand-logo { height: 42px; } }
.wordmark { display: flex; flex-direction: column; text-decoration: none; color: var(--on-navy); line-height: 1.05; }
.wordmark__name { font: 600 1.45rem/1 var(--serif); letter-spacing: -.01em; }
.wordmark__sub { font-size: .78rem; color: var(--on-navy-soft); margin-top: .25rem; letter-spacing: .02em; }
.wordmark:hover { color: #fff; }
.site-nav__list { display: flex; gap: 0; list-style: none; }
.site-nav a { display: block; white-space: nowrap; padding: .5rem .6rem; color: var(--on-navy); text-decoration: none; font-size: .9375rem; font-weight: 600; border-radius: 4px; }
.site-nav a:hover { background: rgba(247, 244, 238, .1); color: #fff; }
.site-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--copper); border-radius: 0; }
.site-header__actions { display: flex; align-items: center; gap: 1rem; white-space: nowrap; }
.site-header__phone { color: var(--on-navy); font-weight: 700; font-size: .9375rem; text-decoration: none; white-space: nowrap; }
.site-header__phone:hover { color: #fff; text-decoration: underline; }
.mobile-nav { display: none; }

@media (max-width: 1240px) {
	.site-nav, .site-header__actions { display: none; }
	.mobile-nav { display: block; }
	.mobile-nav__toggle {
		list-style: none; cursor: pointer; display: flex; align-items: center; gap: .6rem;
		padding: .6rem .85rem; border: 1px solid rgba(247, 244, 238, .35); border-radius: var(--radius);
		font-weight: 700; font-size: .9375rem; color: var(--on-navy);
	}
	.mobile-nav__toggle::-webkit-details-marker { display: none; }
	.mobile-nav__bars, .mobile-nav__bars::before, .mobile-nav__bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; content: ""; }
	.mobile-nav__bars::before { position: absolute; top: -6px; }
	.mobile-nav__bars::after { position: absolute; top: 6px; }
	.mobile-nav[open] .mobile-nav__bars { background: transparent; }
	.mobile-nav[open] .mobile-nav__bars::before { top: 0; transform: rotate(45deg); }
	.mobile-nav[open] .mobile-nav__bars::after { top: 0; transform: rotate(-45deg); }
	.mobile-nav__panel {
		position: absolute; left: 0; right: 0; top: 100%;
		background: var(--navy); border-top: 1px solid rgba(247, 244, 238, .12);
		padding: 1rem var(--gutter) 1.75rem; box-shadow: 0 18px 30px rgba(12, 35, 51, .35);
	}
	.mobile-nav__panel ul { list-style: none; margin-bottom: 1.25rem; }
	.mobile-nav__panel li a { display: block; padding: .8rem 0; color: var(--on-navy); text-decoration: none; font-weight: 600; font-size: 1.0625rem; border-bottom: 1px solid rgba(247, 244, 238, .1); }
	.mobile-nav__panel li a[aria-current="page"] { color: #fff; box-shadow: inset 3px 0 0 var(--copper); padding-left: .75rem; }
	.mobile-nav__panel .btn { width: 100%; }
	.mobile-nav__call { margin: 1rem 0 0; color: var(--on-navy-soft); text-align: center; }
	.mobile-nav__call a { color: var(--on-navy); font-weight: 700; }
}

/* ---------- Hero ---------- */
.hero { background: var(--navy); color: var(--on-navy); padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3.5rem, 8vw, 6rem); overflow: hidden; }
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { color: var(--on-navy); max-width: 13ch; }
.hero__lead { font-size: clamp(1.125rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--on-navy); max-width: 36em; opacity: .92; }
.hero__actions { margin: 2rem 0 2.25rem; }
.hero__call { margin: 1rem 0 0; color: var(--on-navy-soft); font-size: 1rem; }
.hero__call a { color: var(--on-navy); font-weight: 700; }
.hero__facts { list-style: none; display: grid; gap: .75rem; padding-top: 1.75rem; border-top: 1px solid rgba(247, 244, 238, .16); color: var(--on-navy-soft); font-size: .975rem; max-width: 36em; }
.hero__facts strong { color: var(--on-navy); font-weight: 700; }

/* The report: the one bold element on the page */
.report { position: relative; margin: 0; padding: 1.5rem 1.5rem 0; }
.report__sheet { background: var(--paper); border-radius: 3px; }
.report__sheet--back, .report__sheet--mid { position: absolute; inset: 1.5rem 1.5rem 3rem; }
.report__sheet--back { transform: rotate(-4deg) translate(-10px, 10px); background: #E6DFD3; }
.report__sheet--mid { transform: rotate(2.2deg) translate(8px, 4px); background: #EFEAE1; }
.report__sheet--front {
	position: relative; color: var(--ink); padding: clamp(1.4rem, 3vw, 2.1rem);
	box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 30px 60px -20px rgba(4, 16, 26, .65), 0 8px 18px -8px rgba(4, 16, 26, .4);
	border-top: 5px solid var(--copper);
}
.report__head { display: flex; justify-content: space-between; font-size: .75rem; color: var(--slate); padding-bottom: .75rem; border-bottom: 1px solid var(--line); margin-bottom: 1.2rem; }
.report__brand { font-family: var(--serif); font-weight: 600; color: var(--navy); font-size: .875rem; }
.report__title { font: 600 1.6rem/1.1 var(--serif); color: var(--navy); margin: 0 0 .2rem; }
.report__client { font-size: .8125rem; color: var(--slate); margin: 0 0 1.4rem; }
.report__value { display: flex; flex-direction: column; margin-bottom: 1rem; }
.report__value-label { font-size: .78rem; color: var(--slate); font-weight: 600; }
.report__value-num { font: 600 clamp(1.9rem, 3.6vw, 2.5rem)/1.05 var(--serif); color: var(--navy); font-variant-numeric: lining-nums tabular-nums; letter-spacing: -.01em; }
.report__scale { margin-bottom: 1.4rem; }
.report__track { position: relative; height: 10px; background: #ECE7DE; border-radius: 5px; margin: .5rem 0 .4rem; }
.report__range { position: absolute; top: -3px; bottom: -3px; background: var(--copper); border-radius: 4px; }
.report__liq { position: absolute; top: -6px; bottom: -6px; width: 3px; margin-left: -1px; background: var(--slate); border-radius: 2px; }
.report__ticks { display: flex; justify-content: space-between; font-size: .6875rem; color: var(--slate); font-variant-numeric: tabular-nums; }
.report__legend { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; margin-top: .7rem; font-size: .75rem; color: var(--ink-soft); }
.report__key { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: .4rem; vertical-align: -1px; }
.report__key--liq { background: var(--slate); width: 3px; }
.report__key--fmv { background: var(--copper); }
.report__table { width: 100%; border-collapse: collapse; font-size: .8125rem; }
.report__table caption { text-align: left; font-weight: 700; color: var(--navy); font-size: .8125rem; padding-bottom: .4rem; }
.report__table th, .report__table td { padding: .45rem 0; border-top: 1px solid var(--line); text-align: left; font-weight: 400; color: var(--ink-soft); }
.report__table td { text-align: right; font-weight: 700; color: var(--navy); }
.report__table td.up { color: #2F6B4F; }
.report__table td.down { color: var(--rust); }
.report__caption { text-align: center; font-size: .78rem; color: var(--on-navy-soft); margin-top: 1.1rem; }

@media (prefers-reduced-motion: no-preference) {
	.report__sheet--front { animation: report-in .9s cubic-bezier(.2, .7, .2, 1) both .1s; }
	.report__range { animation: range-in 1.1s cubic-bezier(.2, .7, .2, 1) both .7s; transform-origin: left center; }
	@keyframes report-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
	@keyframes range-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

@media (max-width: 900px) {
	.hero__inner { grid-template-columns: 1fr; }
	.hero h1 { max-width: 16ch; }
	.hero__visual { max-width: 520px; }
}
@media (max-width: 520px) {
	.report { padding: 1rem .5rem 0; }
	.report__sheet--back, .report__sheet--mid { inset: 1rem .5rem 3rem; }
}

/* ---------- Sections ---------- */
.section { padding: var(--space) 0; }
.section--tint { background: var(--tint); }
.section--flush-top { padding-top: clamp(2.5rem, 5vw, 3.5rem); }
.section__head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__head p { color: var(--ink-soft); font-size: 1.0625em; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.split__head p { color: var(--ink-soft); }
@media (min-width: 901px) { .split__head { position: sticky; top: 7rem; } }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* Situations / uses: a quiet ruled list, not cards */
.situations, .uses { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.5rem; }
.situation, .uses li { padding: 1.5rem 0 1.75rem; border-top: 2px solid var(--navy); }
.situation h3, .uses h3 { font-size: 1.1875rem; margin-bottom: .45rem; }
.situation p, .uses p { color: var(--ink-soft); margin-bottom: .75rem; }
.uses p { margin-bottom: 0; }
.situation .text-link { font-size: .975rem; }
@media (max-width: 640px) { .situations, .uses { grid-template-columns: 1fr; } }

/* Steps: a real sequence, so it gets numbers */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; counter-reset: none; }
.step { position: relative; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.step__num { display: block; font: 600 3.25rem/1 var(--serif); color: var(--copper); margin-bottom: .9rem; font-variant-numeric: lining-nums; }
.step__title { font-size: 1.1875rem; }
.step p { color: var(--ink-soft); margin: 0; font-size: .975em; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; gap: 1.5rem; } .step__num { font-size: 2.5rem; } }

/* ---------- Plans ---------- */
.plans { display: grid; grid-template-columns: 1fr 1.08fr 1fr; gap: 1.25rem; align-items: stretch; }
.plan {
	display: flex; flex-direction: column; background: var(--paper);
	border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.75rem 1.75rem;
}
.plan--featured { background: var(--navy); color: var(--on-navy); border-color: var(--navy); position: relative; }
.plan--featured .plan__name, .plan--featured .plan__amount { color: var(--on-navy); }
.plan--featured .plan__summary, .plan--featured .plan__best, .plan--featured .plan__inherits, .plan--featured .plan__terms { color: var(--on-navy-soft); }
.plan--featured .plan__best strong, .plan--featured .plan__list span { color: var(--on-navy); }
.plan--featured .plan__list li { border-color: rgba(247, 244, 238, .14); }
.plan--featured .icon-check { color: #E58A5E; }
.plan__flag { margin: -.5rem 0 1rem; font-size: .8125rem; font-weight: 700; color: #F0A27C; }
.plan__name { font: 600 1.6rem/1.1 var(--serif); color: var(--navy); margin-bottom: .6rem; }
.plan__price { margin: 0 0 1rem; display: flex; align-items: baseline; gap: .5rem; }
.plan__amount { font: 600 2.75rem/1 var(--serif); color: var(--navy); font-variant-numeric: lining-nums; letter-spacing: -.02em; }
.plan__terms { font-size: .875rem; color: var(--slate); }
.plan__summary { color: var(--ink-soft); font-size: .975rem; }
.plan__best { font-size: .9375rem; color: var(--ink-soft); padding: .75rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.plan--featured .plan__best { border-color: rgba(247, 244, 238, .14); }
.plan__best strong { color: var(--navy); }
.plan__inherits { font-size: .875rem; font-weight: 700; color: var(--slate); margin: .25rem 0 .25rem; }
.plan__list { list-style: none; margin-bottom: 1.75rem; }
.plan__list li { display: flex; gap: .65rem; padding: .55rem 0; font-size: .9575rem; line-height: 1.45; border-bottom: 1px solid #EEE8DE; }
.plan__list li:last-child { border-bottom: 0; }
.plan__cta { margin-top: auto; width: 100%; }
.plan--featured .btn--outline { color: var(--on-navy); border-color: var(--on-navy); }
@media (max-width: 980px) { .plans { grid-template-columns: 1fr; max-width: 560px; } .plan--featured { order: -1; } }

.certified-band {
	margin-top: 1.25rem; display: flex; gap: 2rem; align-items: center; justify-content: space-between;
	background: var(--rust); color: var(--ivory); border-radius: var(--radius); padding: 1.75rem 2rem;
}
.certified-band h3 { font: 600 1.45rem/1.2 var(--serif); color: #fff; margin-bottom: .35rem; }
.certified-band p { margin: 0; color: #F3E3DA; max-width: 44rem; }
.certified-band__actions { display: flex; flex-direction: column; align-items: center; gap: .6rem; flex: none; }
.certified-band__link { color: #fff; font-weight: 700; font-size: .9375rem; }
.certified-band__link:hover { color: var(--ivory); }
@media (max-width: 980px) { .certified-band { flex-direction: column; align-items: flex-start; max-width: 560px; } .certified-band__actions { align-items: flex-start; } }

/* ---------- Inside the report ---------- */
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem 2rem; flex-wrap: wrap; }
.section__head--row > div { max-width: 46rem; }
.section__head--row p { margin-bottom: 0; }
.inside__pages { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2.5vw, 1.75rem); }
.inside__page { margin: 0; }
.inside__page a { display: block; border-radius: 3px; background: #fff; box-shadow: 0 1px 2px rgba(17, 47, 69, .08), 0 14px 28px -12px rgba(17, 47, 69, .35); transition: transform .2s, box-shadow .2s; }
.inside__page a:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(17, 47, 69, .08), 0 20px 34px -12px rgba(17, 47, 69, .42); }
.inside__page img { display: block; width: 100%; height: auto; border-radius: 3px; }
.inside__page figcaption { margin-top: .8rem; font-weight: 700; font-size: .975rem; color: var(--navy); }
.inside__note { margin: 1.5rem 0 0; font-size: .875rem; color: var(--slate); }
.inside__contents { margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 2rem; border-top: 2px solid var(--navy); }
.inside__contents h3 { font: 600 1.6rem/1.2 var(--serif); margin-bottom: 1.25rem; }
.contents { columns: 2; column-gap: 3rem; padding-left: 1.4em; }
.contents li { break-inside: avoid; margin-bottom: 1rem; color: var(--ink-soft); padding-left: .25rem; }
.contents li::marker { color: var(--copper); font-weight: 700; }
.contents strong { color: var(--navy); }
@media (max-width: 900px) { .inside__pages { grid-template-columns: repeat(2, 1fr); } .contents { columns: 1; } }
@media (prefers-reduced-motion: reduce) { .inside__page a { transition: none; } }

/* ---------- Comparison table ---------- */
.table-scroll { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.compare { width: 100%; min-width: 600px; border-collapse: collapse; font-size: .975rem; }
.compare th, .compare td { padding: .95rem 1.1rem; border-bottom: 1px solid #EEE8DE; text-align: center; vertical-align: middle; }
.compare thead th { background: var(--navy); color: var(--on-navy); font: 600 1.15rem/1.2 var(--serif); }
.compare thead th span { display: block; font: 600 .875rem/1.3 var(--sans); color: var(--on-navy-soft); margin-top: .2rem; }
.compare thead th:first-child, .compare tbody th { text-align: left; }
.compare tbody th { font-weight: 600; color: var(--ink); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare tbody tr:nth-child(even) { background: #FCFAF6; }
.compare .icon-check { margin: 0 auto; display: block; width: 1.35em; height: 1.35em; }
.compare__no { color: #B7AE9F; }
.compare--two { min-width: 480px; }
.compare--two td { text-align: left; font-weight: 600; }

/* ---------- Founder ---------- */
.founder { display: grid; grid-template-columns: minmax(220px, 4fr) 8fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.portrait { position: relative; }
.portrait__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); display: block; }
.portrait__placeholder { aspect-ratio: 4 / 5; border-radius: var(--radius); background: var(--navy); display: grid; place-items: center; }
.portrait__placeholder span { font: 600 4rem/1 var(--serif); color: var(--on-navy); opacity: .9; }
.founder__text { max-width: 40rem; }
.founder__text p { color: var(--ink-soft); }
.founder__text .lead { color: var(--ink); }
.credentials { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0; }
.credentials li { padding: .4rem .8rem; border: 1px solid var(--navy); border-radius: 999px; font-size: .875rem; font-weight: 600; color: var(--navy); }
@media (max-width: 760px) { .founder { grid-template-columns: 1fr; } .portrait { max-width: 300px; } }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.quote { margin: 0; }
.quote blockquote { margin: 0 0 1rem; }
.quote blockquote p { margin: 0; }
.quote figcaption { display: flex; flex-direction: column; font-size: .9375rem; }
.quote figcaption strong { color: var(--navy); }
.quote figcaption span { color: var(--slate); }
.quote--lead blockquote p { font: 500 italic clamp(1.4rem, 2.4vw, 1.85rem)/1.4 var(--serif); color: var(--navy); }
.quote--lead { padding-left: clamp(1.25rem, 3vw, 2rem); border-left: 4px solid var(--copper); }
.quotes__rest { display: grid; gap: 2rem; }
.quotes__rest .quote { padding-top: 1.5rem; border-top: 1px solid var(--line); }
.quotes__rest blockquote p { color: var(--ink-soft); font-size: 1rem; }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem; padding: 1.2rem 0; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
	content: ""; flex: none; width: 14px; height: 14px; margin-top: .45rem;
	background: linear-gradient(var(--copper), var(--copper)) center/14px 2px no-repeat, linear-gradient(var(--copper), var(--copper)) center/2px 14px no-repeat;
	transition: transform .2s;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__q { margin: 0; font-size: 1.125rem; }
.faq__item summary:hover .faq__q { color: var(--rust); }
.faq__a { margin: 0; padding: 0 2.5rem 1.4rem 0; color: var(--ink-soft); max-width: 62ch; }

/* ---------- Page head ---------- */
.page-head { background: var(--navy); color: var(--on-navy); padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2.5rem, 5vw, 3.75rem); }
.page-head h1 { color: var(--on-navy); max-width: 20ch; font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.page-head__lead { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); color: var(--on-navy); opacity: .9; max-width: 44rem; margin: 0; }
.page-head + .section--flush-top { padding-top: clamp(2.5rem, 5vw, 4rem); }
.crumbs { display: flex; gap: .5rem; font-size: .875rem; color: var(--on-navy-soft); margin-bottom: 1.25rem; }
.crumbs a { color: var(--on-navy-soft); }
.crumbs a:hover { color: #fff; }
.post-meta { color: var(--on-navy-soft); font-size: .9375rem; margin: 0; }

/* ---------- Closing CTA ---------- */
.closing { background: var(--navy-deep); color: var(--on-navy); padding: clamp(3.5rem, 7vw, 5rem) 0; }
.closing__inner { display: flex; gap: 2rem; align-items: center; justify-content: space-between; }
.closing h2 { color: var(--on-navy); max-width: 22ch; margin-bottom: .4rem; }
.closing p { color: var(--on-navy-soft); margin: 0; }
.closing__actions { display: flex; flex-direction: column; align-items: center; gap: .75rem; flex: none; }
.closing__actions a:not(.btn) { color: var(--on-navy); font-weight: 700; }
@media (max-width: 760px) { .closing__inner { flex-direction: column; align-items: flex-start; } .closing__actions { align-items: flex-start; } }

/* ---------- Form ---------- */
.form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.25rem); }
.form-title { font-size: 1.5rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 700; font-size: .9375rem; color: var(--navy); margin-bottom: .35rem; }
.req { font-weight: 400; color: var(--slate); font-size: .8125rem; margin-left: .25rem; }
.field input, .field select, .field textarea {
	width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
	padding: .75rem .85rem; border: 1px solid #BFB6A8; border-radius: var(--radius); background: #fff;
}
.field textarea { resize: vertical; min-height: 8rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--copper); outline-offset: 0; border-color: var(--copper); }
.form .btn { width: 100%; margin-top: .25rem; }
.form__note { font-size: .875rem; color: var(--slate); margin: 1rem 0 0; text-align: center; }
.form__error { background: #FBEDE6; border-left: 4px solid var(--rust); color: var(--rust); font-weight: 600; padding: .85rem 1rem; border-radius: 4px; }
.contact-details h2 { font-size: 1.5rem; margin-top: 0; }
.contact-details h2 + p, .contact-details address { margin-bottom: 1.5rem; }
.contact-details__phone a { font: 600 2rem/1.1 var(--serif); color: var(--navy); text-decoration: none; }
.contact-details address { color: var(--ink-soft); }

/* ---------- Misc ---------- */
.next-steps { padding-left: 1.4em; margin-bottom: 2rem; }
.next-steps li { margin-bottom: .75rem; }
.link-list { list-style: none; display: grid; gap: .75rem; font-size: 1.125rem; }
.post-list { list-style: none; }
.post-list li { padding: 1.75rem 0; border-bottom: 1px solid var(--line); }
.post-list h2 { font-size: 1.6rem; margin-bottom: .25rem; }
.post-list h2 a { color: var(--navy); text-decoration: none; }
.post-list h2 a:hover { color: var(--rust); }
.post-list .post-meta { color: var(--slate); margin-bottom: .5rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: var(--on-navy-soft); padding: clamp(3rem, 6vw, 4.5rem) 0 1.5rem; font-size: .9375rem; border-top: 1px solid rgba(247, 244, 238, .08); }
.site-footer a { color: var(--on-navy); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2rem; }
.site-footer__logo { margin-bottom: 1rem; }
.site-footer__logo .brand-logo { height: 58px; }
.site-footer__name { font: 600 1.15rem/1.2 var(--serif); color: var(--on-navy); }
.site-footer__about p { max-width: 30rem; }
.site-footer__heading { color: var(--on-navy); font-weight: 700; margin-bottom: .75rem; }
.site-footer ul { list-style: none; display: grid; gap: .5rem; }
.site-footer__base { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(247, 244, 238, .1); font-size: .8125rem; }
.site-footer__base p { margin: 0; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__about { grid-column: 1 / -1; } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* WordPress core classes used in post content */
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { display: block; margin: 0 auto 1rem; }
.wp-caption-text { font-size: .875rem; color: var(--slate); }
.custom-logo-link { display: block; }


/* ---------- Added: secondary buttons, notes ---------- */
.btn--ghost { background: transparent; color: var(--on-navy); border-color: rgba(247, 244, 238, .55); }
.btn--ghost:hover { background: rgba(247, 244, 238, .1); border-color: var(--on-navy); color: #fff; }
.mobile-nav__panel .btn--ghost { margin-top: .75rem; }
.hero__buttons { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (max-width: 520px) { .hero__buttons .btn { width: 100%; } }
.hero__call a { color: var(--on-navy); font-weight: 700; }
.closing p a { color: var(--on-navy); font-weight: 700; }
.credit-note { display: flex; gap: .65rem; align-items: flex-start; margin: 1.25rem 0 0; padding: 1rem 1.25rem; background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--copper); border-radius: var(--radius); font-size: .975rem; color: var(--ink-soft); }
.credit-note strong { color: var(--navy); }
.reviews-link { margin: 2rem 0 0; }
.small-note { font-size: .875rem; color: var(--slate); }
.h3-like { font: 700 1.25rem/1.3 var(--sans); }

/* ---------- Estimator ---------- */
.form__step { font: 600 1.2rem/1.3 var(--serif); color: var(--navy); margin: .25rem 0 1rem; padding-bottom: .5rem; border-bottom: 1px solid var(--line); }
.form__step:not(:first-of-type) { margin-top: 1.75rem; }
.field__help { font-size: .8125rem; color: var(--slate); margin: .35rem 0 0; }
.choice { border: 0; padding: 0; margin: 0 0 1.25rem; }
.choice legend { font-weight: 700; font-size: .9375rem; color: var(--navy); margin-bottom: .5rem; padding: 0; }
.choice__opt { display: flex; align-items: center; gap: .65rem; padding: .6rem .8rem; border: 1px solid #CFC7BA; border-radius: var(--radius); margin-bottom: .4rem; cursor: pointer; font-size: .975rem; background: #fff; }
.choice__opt:hover { border-color: var(--navy); }
.choice__opt input { accent-color: var(--copper); width: 1.1rem; height: 1.1rem; margin: 0; flex: none; }
.choice__opt:has(input:checked) { border-color: var(--copper); background: #FDF6F2; box-shadow: inset 0 0 0 1px var(--copper); }
.sde-help { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.4rem; margin: 1.5rem 0; }
.sde-help h3 { margin-bottom: .4rem; }
.sde-help p, .sde-help li { font-size: .9575rem; color: var(--ink-soft); }
.sde-help ul { padding-left: 1.2em; margin: 0 0 .75rem; }
.sde-help p:last-child { margin: 0; }

.estimate { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.estimate__main { background: var(--navy); color: var(--on-navy); border-radius: var(--radius); padding: clamp(1.75rem, 4vw, 2.75rem); border-top: 5px solid var(--copper); }
.estimate__label { color: var(--on-navy-soft); font-weight: 600; margin-bottom: .5rem; }
.estimate__range { font: 600 clamp(2.6rem, 6vw, 4.25rem)/1.02 var(--serif); color: #fff; margin: 0 0 1rem; font-variant-numeric: lining-nums; letter-spacing: -.015em; }
.estimate__basis { color: var(--on-navy-soft); }
.estimate__basis strong { color: var(--on-navy); }
.estimate__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 1rem; }
.estimate__call { margin: 0; color: var(--on-navy-soft); font-size: .975rem; }
.estimate__call a { color: var(--on-navy); font-weight: 700; }
.estimate__breakdown h2 { font-size: 1.5rem; }
.breakdown { width: 100%; border-collapse: collapse; margin-bottom: 1rem; font-size: .975rem; }
.breakdown th, .breakdown td { padding: .8rem 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.breakdown th { font-weight: 600; color: var(--ink); padding-right: 1rem; }
.breakdown th span { display: block; font-weight: 400; font-size: .875rem; color: var(--slate); margin-top: .15rem; }
.breakdown td { text-align: right; font-weight: 700; color: var(--navy); white-space: nowrap; font-variant-numeric: tabular-nums; }
.breakdown td.up { color: #2F6B4F; }
.breakdown td.down { color: var(--rust); }
.breakdown__total th, .breakdown__total td { border-bottom: 2px solid var(--navy); font-size: 1.0625rem; color: var(--navy); }
@media (max-width: 900px) { .estimate { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .estimate__actions .btn { width: 100%; } }

/* Free guide */
.guide-cover { display: block; width: 100%; height: auto; border-radius: 3px; box-shadow: 0 1px 2px rgba(17,47,69,.18), 0 14px 30px -12px rgba(17,47,69,.45); }
.guide-promo { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; background: var(--tint); border: 1px solid var(--line); border-left: 4px solid var(--copper); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.75rem); }
.guide-promo__cover { transform: rotate(-2deg); }
.guide-promo__label { font-weight: 700; color: var(--rust); margin-bottom: .35rem; font-size: .95rem; }
.guide-promo h2 { margin-bottom: .6rem; }
.guide-promo p { color: var(--ink-soft); max-width: 46ch; }
.guide-promo .btn { margin-top: .5rem; }
.guide-hero { display: grid; grid-template-columns: 220px minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.guide-list { list-style: none; padding: 0; margin: 0 0 1.25rem; }
.guide-list li { position: relative; padding: .55rem 0 .55rem 1.4rem; border-bottom: 1px solid var(--line); }
.guide-list li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: .55rem; height: .55rem; border-radius: 1px; background: var(--copper); }
.guide-ten { list-style: none; counter-reset: ten; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(1.5rem, 4vw, 3rem); }
.guide-ten li { counter-increment: ten; display: flex; gap: 1rem; align-items: baseline; padding: .85rem 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.guide-ten li::before { content: counter(ten); font: 600 1.5rem/1 var(--serif); color: var(--copper); min-width: 1.6rem; }
.guide-sent .btn { width: auto; }
@media (max-width: 1000px) { .guide-hero { grid-template-columns: 180px minmax(0, 1fr); } .guide-hero__form { grid-column: 1 / -1; } }
@media (max-width: 640px) {
	.guide-promo { grid-template-columns: 1fr; text-align: left; }
	.guide-promo__cover { width: 130px; }
	.guide-hero { grid-template-columns: 1fr; }
	.guide-hero__cover { width: 150px; }
	.guide-ten { grid-template-columns: 1fr; }
}

@media print {
	.site-header, .site-footer, .closing, .mobile-nav { display: none; }
	.hero, .page-head { background: none; color: #000; }
}
