/*
Theme Name: Broadpeak
Theme URI: https://broadpeakmedia.com/
Author: Broadpeak Media
Author URI: https://broadpeakmedia.com/
Description: Hand-built theme for Broadpeak Media. No page builder, no jQuery, self-hosted fonts.
Version: 1.8.8
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: broadpeak

Broadpeak WordPress theme, (C) 2026 Broadpeak Media.
Broadpeak is distributed under the terms of the GNU GPL v2 or later.
*/

/* ---------- Fonts (self-hosted, SIL Open Font License) ---------- */
@font-face {
	font-family: "Inter";
	src: url("assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Space Grotesk";
	src: url("assets/fonts/space-grotesk-latin-wght-normal.woff2") format("woff2");
	font-weight: 300 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "JetBrains Mono";
	src: url("assets/fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2");
	font-weight: 100 800;
	font-style: normal;
	font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
	--ink: #0a1020;
	--ink-2: #111a30;
	--line-dark: #2a3757;
	--bg: #f6f8fb;
	--white: #ffffff;
	--line: #dce2ec;
	--text: #0a1020;
	--text-2: #2b3550;
	--muted: #4b5568;
	--on-dark: #c9d2e3;
	--accent: #1f5af0;
	--accent-hover: #1747c2;
	--accent-on-dark: #9db8ff;
	--brand: #1e2632;
	--signal: #ff7a2f;
	--signal-text: #b8480f;
	--error: #9a3412;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
	--font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
	--wrap: 1200px;
	--gutter: clamp(20px, 4vw, 32px);
	--radius: 14px;
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.015em; line-height: 1.12; margin: 0; }
p { margin: 0; }
a { color: var(--accent); text-underline-offset: 4px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 4px; }
.screen-reader-text {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
	position: fixed; top: 8px; left: 8px; z-index: 100; width: auto; height: auto; clip: auto;
	padding: 12px 16px; margin: 0; background: var(--white); color: var(--ink); border-radius: 8px;
}

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 8vw, 104px); }
.section--white { background: var(--white); border-block: 1px solid var(--line); }
.section--dark { background: var(--ink); color: var(--white); }
.stack { display: flex; flex-direction: column; }
.eyebrow {
	font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em;
	text-transform: uppercase; color: var(--muted);
}
.section--dark .eyebrow, .hero .eyebrow { color: var(--accent-on-dark); }
.h-xl { font-size: clamp(2.3rem, 4.2vw, 3.6rem); line-height: 1.05; letter-spacing: -0.02em; text-wrap: balance; }
.h-lg { font-size: clamp(1.9rem, 3.2vw, 2.75rem); line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
.h-md { font-size: clamp(1.6rem, 2.4vw, 2rem); line-height: 1.15; }
.h-sm { font-size: 1.4rem; letter-spacing: -0.01em; }
.lede { font-size: 1.15rem; line-height: 1.6; color: var(--text-2); }
.section--dark .lede, .hero .lede { color: var(--on-dark); }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px;
	border: 0; border-radius: 10px; background: var(--accent); color: var(--white);
	font: 600 17px/1 var(--font-body); text-decoration: none; cursor: pointer;
	transition: background-color 0.15s ease, transform 0.15s ease;
}
.btn:hover { background: var(--accent-hover); color: var(--white); }
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; border-radius: 8px; }
.link-cta {
	display: inline-flex; align-items: center; min-height: 44px;
	font-weight: 500; text-decoration: underline; text-underline-offset: 5px;
}
.section--dark .link-cta, .hero .link-cta { color: var(--white); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }

/* ---------- Header ---------- */
.site-header { background: rgba(255, 255, 255, 0.94); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; transition: box-shadow 0.2s ease; }
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(255, 255, 255, 0.82); backdrop-filter: saturate(1.4) blur(10px); } }
.site-header.is-scrolled { box-shadow: 0 6px 24px -12px rgba(10, 16, 32, 0.25); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.site-header__inner {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
	gap: 4px 32px; padding-block: 12px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; text-decoration: none; }
.brand { gap: 14px; }
.brand .custom-logo, .brand__mark { display: block; width: auto; height: 40px; }
.brand__word { display: block; width: auto; height: 17px; }
.brand .custom-logo-link { display: inline-flex; min-height: 48px; align-items: center; }
.brand__name {
	font-family: var(--font-display); font-weight: 600; font-size: 15px; letter-spacing: 0.16em;
	text-transform: uppercase; color: var(--brand); white-space: nowrap;
}
.nav-toggle {
	display: none; align-items: center; justify-content: center; min-width: 48px; min-height: 48px;
	padding: 0 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--white);
	font: 600 15px/1 var(--font-body); color: var(--ink); cursor: pointer;
}
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; }
.site-nav a {
	display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 500;
	color: var(--text-2); text-decoration: none;
}
.site-nav a:hover, .site-nav .current-menu-item > a { color: var(--accent); }
.site-nav .menu-cta > a, .site-nav a.btn { color: var(--white); padding: 0 18px; border-radius: 8px; background: var(--accent); font-weight: 600; }
.site-nav .menu-cta > a:hover, .site-nav a.btn:hover { background: var(--accent-hover); color: var(--white); }
@media (max-width: 860px) {
	.js .nav-toggle { display: inline-flex; }
	.site-nav { flex-basis: 100%; padding-bottom: 12px; }
	.js .site-nav { display: none; }
	.js .site-nav.is-open { display: block; max-height: calc(100vh - 80px); overflow-y: auto; }
	.site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
	.site-nav a { min-height: 48px; width: 100%; border-top: 1px solid var(--line); }
	.site-nav .menu-cta > a, .site-nav a.btn { justify-content: center; margin-top: 12px; border-top: 0; }
}
@media (max-width: 420px) { .brand { gap: 10px; } .brand__mark { height: 34px; } .brand__word { height: 14px; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink); color: var(--white); }
.hero__contours { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.22; pointer-events: none; }
.hero__inner {
	position: relative; display: grid; align-items: center; gap: 48px 64px;
	grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr));
	padding-block: clamp(56px, 7vw, 96px) clamp(64px, 8vw, 104px);
}
.hero__copy { display: flex; flex-direction: column; gap: 24px; }
.hero__copy .lede { max-width: 34em; }
.hero--page .hero__inner { grid-template-columns: 1fr; padding-block: clamp(48px, 6vw, 80px); }
.hero--page .hero__copy { max-width: 46rem; }

.result-card {
	display: flex; flex-direction: column; gap: 22px; padding: clamp(22px, 3vw, 32px);
	background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 16px;
}
.result-card__name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; }
.result-card__sub { font-size: 15px; color: #b4bfd4; }
.result-card__best { padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 15px; color: #dfe6f3; }
.bar { display: flex; flex-direction: column; gap: 8px; }
.bar__label { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; font-size: 14px; color: var(--on-dark); }
.bar__label span:last-child { font-family: var(--font-mono); white-space: nowrap; }
.bar--after .bar__label { color: var(--white); }
.bar__track { height: 14px; border-radius: 4px; background: #1b2745; }
.bar__fill { height: 14px; border-radius: 4px; background: #7c8bab; min-width: 8px; width: var(--to, 100%); }
.pre-grow .bar__fill { width: 0; transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1); }
.pre-grow .bar--after .bar__fill { transition-delay: 0.25s; }
.pre-grow.is-in .bar__fill { width: var(--to, 100%); }
.bar--after .bar__fill { background: var(--signal); }
.result-card .link-cta { color: var(--accent-on-dark); font-size: 15px; }

/* ---------- Proof ---------- */
.proof { background: var(--white); border-bottom: 1px solid var(--line); }
.proof__inner { display: flex; flex-direction: column; gap: 36px; padding-block: 48px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 28px 32px; margin: 0; }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat dd { order: -1; }
.stat dd { margin: 0; font-family: var(--font-display); font-size: 2.5rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.stat dt { font-size: 15px; color: var(--muted); }
.brands { display: flex; flex-direction: column; gap: 14px; padding-top: 28px; border-top: 1px solid var(--line); }
.brands ul {
	list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 36px;
	font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--text-2);
}

/* ---------- Generic layouts ---------- */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 28px 72px; align-items: start; }
.split--center { align-items: center; }
.split__body { display: flex; flex-direction: column; gap: 18px; font-size: 1.1rem; line-height: 1.6; color: var(--text-2); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px; }
.section__head { margin-bottom: 40px; }

.card {
	display: flex; flex-direction: column; gap: 16px; padding: 28px;
	background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
}
.card__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card p { color: var(--text-2); font-size: 16px; }
.card ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; color: var(--muted); }
.card--plain { background: var(--bg); border: 0; gap: 10px; }
.card--plain h3 { font-family: var(--font-body); font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.card .figure, .figure { font-family: var(--font-display); font-size: clamp(1.7rem, 2.6vw, 2.25rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; color: var(--text) !important; }
.receipts { margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--line); }
.receipts__title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; letter-spacing: -0.01em; }
.receipts__lede { margin-top: 6px; color: var(--muted); }
.receipts__list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 48px 32px; align-items: start; }
@media (min-width: 760px) { .receipts__list { grid-template-columns: 1fr 1fr; } }
.receipt { margin: 0; display: flex; flex-direction: column; gap: 16px; }
.receipt figcaption { display: flex; flex-direction: column; gap: 4px; font-size: 15px; color: var(--muted); }
.receipt__label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--signal-text); }
.receipt__figure { font-family: var(--font-display); font-size: 1.75rem; line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; color: var(--text); }
.receipt__shot { display: block; cursor: zoom-in; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--white); box-shadow: 0 18px 40px -28px rgba(10, 16, 32, 0.45); }
.receipt__shot img { display: block; width: 100%; height: auto; }
@media (min-width: 760px) {
	.receipts__list.receipts__list--single { grid-template-columns: 1fr; }
	.receipts__list--single .receipt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 40px; align-items: center; }
	.receipts__list--single .receipt__figure { font-size: 2.25rem; }
}
.note { max-width: 46em; margin-top: 40px; font-size: 16px; color: var(--text-2); }

/* ---------- Calculator ---------- */
.calc { display: flex; flex-direction: column; gap: 22px; padding: clamp(22px, 3vw, 32px); background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
.calc__fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; color: var(--text-2); }
.field input, .field select, .field textarea {
	width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #8a95a8; border-radius: 8px;
	background: var(--white); color: var(--text); font: 400 17px/1.4 var(--font-body);
}
.field textarea { min-height: 120px; resize: vertical; }
.calc .field input { font-family: var(--font-mono); }
.calc__hint { font-size: 14px; color: var(--muted); }
.calc__out { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(140px, 100%), 1fr)); gap: 16px; padding-top: 22px; border-top: 1px solid var(--line); }
.calc__out div { display: flex; flex-direction: column; gap: 2px; }
.calc__out span { font-size: 14px; color: var(--muted); }
.calc__out strong { font-variant-numeric: tabular-nums; font-family: var(--font-display); font-size: 2.5rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.calc__out .is-key strong { color: var(--signal-text); }
.calc__error { font-size: 15px; color: var(--error); }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 32px; }
.steps li { display: flex; flex-direction: column; gap: 12px; padding-top: 20px; border-top: 2px solid var(--ink); }
.steps p { font-size: 16px; color: var(--text-2); }

/* ---------- Founder ---------- */
.founder { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 40px 72px; align-items: center; }
.founder__photo { max-width: 420px; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: var(--ink); position: relative; }
.founder__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; display: block; }
.founder__placeholder { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 28px; }
.founder__placeholder svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.3; }
.founder__placeholder span { position: relative; font-family: var(--font-display); font-size: 4rem; font-weight: 600; letter-spacing: -0.03em; color: var(--white); line-height: 1; }
.founder__body { display: flex; flex-direction: column; gap: 24px; }
.founder blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(1.4rem, 2.2vw, 1.8rem); font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; text-wrap: pretty; }
.founder__name { font-weight: 600; font-size: 16px; }
.facts { list-style: none; margin: 0; padding: 20px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--text-2); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 32px 72px; }
.faq div { display: flex; flex-direction: column; gap: 8px; }
.faq h3 { font-family: var(--font-body); font-size: 18px; font-weight: 600; letter-spacing: 0; line-height: 1.35; }
.faq p { font-size: 16px; color: var(--text-2); }

/* ---------- Closing CTA ---------- */
.closing .wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.closing h2 { max-width: 16em; font-size: clamp(2rem, 3.8vw, 3.2rem); line-height: 1.08; }
.closing .lede { max-width: 34em; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 24px; }
.card .price, .price { font-family: var(--font-display); font-size: 2.25rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; color: var(--text) !important; }
.price small { display: block; margin-top: 6px; font: 400 15px/1.4 var(--font-body); letter-spacing: 0; color: var(--muted); }
.price-grid .card .btn { margin-top: auto; align-self: flex-start; }
.price-grid--four { grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 20px; }
.price-grid--four .card { padding: 24px; }
.card--feature { border: 2px solid var(--accent); box-shadow: 0 18px 40px -28px rgba(31, 90, 240, 0.55); }
.card ul strong { color: var(--text); font-weight: 600; }
.terms { margin-top: 56px; }
.terms h2 { margin-bottom: 20px; }
.terms__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 24px; max-width: 760px; }
.terms__grid--single { max-width: 380px; }
.term { display: flex; flex-direction: column; gap: 10px; padding: 24px 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.term p { margin: 0; color: var(--text-2); font-size: 16px; }
.term .eyebrow { color: var(--muted); }
.term strong { color: var(--text); font-weight: 600; }
.term .term__price { font-family: var(--font-display); font-size: 1.75rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; color: var(--text) !important; }
.term__price span { font: 400 15px/1.4 var(--font-body); letter-spacing: 0; color: var(--muted); }
.term--best { border: 2px solid var(--accent); }
.term__rows { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.term__rows div { display: grid; grid-template-columns: 5.5em 1fr; gap: 12px; align-items: baseline; }
.term__rows dt { font-weight: 600; color: var(--text); }
.term__rows dd { margin: 0; color: var(--text-2); }
.term__rows strong { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: -0.01em; }
.term--best .eyebrow { color: var(--accent); }
.terms .note { margin-top: 20px; }

/* ---------- Text pages with a side card ---------- */
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: start; }
@media (min-width: 1000px) {
	.with-aside { grid-template-columns: minmax(0, 46rem) minmax(280px, 340px); justify-content: space-between; gap: 64px; }
	.page-aside { position: sticky; top: 104px; }
}
.page-aside__card { display: flex; flex-direction: column; gap: 14px; padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 24px 48px -36px rgba(11, 16, 32, 0.35); }
.page-aside__card .eyebrow { margin: 0; color: var(--muted); }
.page-aside__price { margin: 0; font-family: var(--font-display); font-size: 2rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; color: var(--text); }
.page-aside__price span { font: 400 16px/1.4 var(--font-body); letter-spacing: 0; color: var(--muted); }
.page-aside__note { margin: 0; font-size: 15px; line-height: 1.5; color: var(--text-2); }
.page-aside__proof { display: flex; flex-direction: column; gap: 2px; padding: 16px 0 2px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.page-aside__proof strong { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; letter-spacing: -0.01em; color: var(--text); }
.page-aside__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 6px; }
.page-aside__actions .link-cta { font-size: 15px; }
.facts { margin: 0; display: grid; gap: 14px; }
.facts div { display: grid; gap: 2px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.facts dt { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; color: var(--text); }
.facts dd { margin: 0; font-size: 14px; color: var(--muted); }

/* Two plain sections in a row share one gap instead of stacking two. */
.section:not(.section--white):not(.section--dark):not(.closing):not(.hero) + .section:not(.section--white):not(.section--dark):not(.closing):not(.hero) { padding-top: 0; }

/* Dashboards: a swipeable row on phones instead of four full-height screenshots. */
@media (max-width: 759px) {
	.receipts__list:not(.receipts__list--single) { grid-auto-flow: column; grid-auto-columns: 86%; grid-template-columns: none; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scroll-padding-inline: var(--gutter, 20px); margin-inline: calc(-1 * var(--gutter, 20px)); padding: 4px var(--gutter, 20px) 16px; scrollbar-width: thin; }
	.receipts__list:not(.receipts__list--single) > li { scroll-snap-align: start; }
	.receipts__list:not(.receipts__list--single) .receipt__shot img { max-height: 420px; width: 100%; object-fit: cover; object-position: top; }
}

/* ---------- Local pages ---------- */
.local__brands { margin: 0; font-size: 15px !important; color: var(--muted) !important; }
.meet { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px 48px; align-items: center; margin-top: 56px; padding: 32px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.meet__copy { display: flex; flex-direction: column; gap: 12px; }
.meet__copy p { margin: 0; max-width: 40em; color: var(--text-2); font-size: 1.05rem; line-height: 1.6; }
.meet__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
@media (max-width: 760px) { .meet { grid-template-columns: 1fr; padding: 24px; } }

/* ---------- Book a call ---------- */
.book { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 40px 56px; align-items: start; }
.book__embed { border: 1px solid var(--line); border-radius: 16px; background: var(--white); overflow: hidden; }
.book__embed iframe { display: block; width: 100%; height: 1060px; border: 0; transition: height 0.2s ease; }
.book__empty { padding: 28px; font-size: 16px; color: var(--text-2); }
.lead-form { display: flex; flex-direction: column; gap: 16px; padding: clamp(22px, 3vw, 32px); background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
.lead-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 16px 18px; border-radius: 10px; font-size: 16px; }
.notice--ok { background: #e7f4ec; color: #14532d; border: 1px solid #a7d7b8; }
.notice--err { background: #fdeee6; color: var(--error); border: 1px solid #f3c2a6; }
.contact-lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.contact-lines a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; }

/* ---------- Prose (editor content) ---------- */
.prose { max-width: 46rem; font-size: 1.08rem; line-height: 1.7; color: var(--text-2); }
/* Inside a page-width wrapper, keep the reading column left-aligned with the headings. */
.wrap.prose { max-width: var(--wrap); }
.wrap.prose > * { max-width: 46rem; }
.wrap.prose > .alignwide { max-width: 60rem; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 2em; font-size: 1.75rem; color: var(--text); }
.prose h3 { margin-top: 1.6em; font-size: 1.3rem; color: var(--text); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.4em; }
.prose blockquote { margin-inline: 0; padding-left: 1em; border-left: 3px solid var(--line); color: var(--text); }
.prose img { border-radius: 12px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.prose code { font-family: var(--font-mono); font-size: 0.9em; background: #eaeef5; padding: 2px 6px; border-radius: 4px; }
.alignwide { max-width: 60rem; }

/* ---------- Posts ---------- */
.post-list { display: flex; flex-direction: column; gap: 0; max-width: 46rem; }
.post-list article { padding-block: 28px; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.post-list h2 { font-size: 1.5rem; }
.post-list h2 a { color: var(--text); text-decoration: none; }
.post-list h2 a:hover { color: var(--accent); }
.post-meta { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.pagination { margin-top: 32px; display: flex; gap: 16px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark); border-top: 1px solid var(--line-dark); }
.site-footer__inner { display: flex; flex-direction: column; gap: 32px; padding-block: 48px 40px; }
.site-footer__cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px 48px; }
@media (min-width: 960px) { .site-footer__cols { grid-template-columns: minmax(220px, 1fr) minmax(0, 3fr); } }
.site-footer__brand { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
@media (min-width: 700px) { .footer-nav { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.profile-links { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; }
.profile-links a { color: var(--on-dark); text-decoration: underline; text-decoration-color: rgba(201, 210, 227, 0.35); text-underline-offset: 3px; }
.profile-links a:hover { color: #fff; text-decoration-color: currentColor; }
.footer-nav__title { margin: 0 0 6px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-on-dark); }
.site-footer__brand { display: flex; flex-direction: column; gap: 14px; font-size: 15px; }
.site-footer__brand img { display: block; width: 150px; height: auto; }
.site-footer a { color: var(--white); }
.site-footer .contact-lines a { font-size: 15px; font-weight: 400; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; color: var(--on-dark); text-decoration: none; }
.footer-nav a:hover { color: var(--white); text-decoration: underline; }
.site-footer__base {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; padding-top: 24px;
	border-top: 1px solid var(--line-dark); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; color: #a9b4c7;
}

/* ---------- Calculator split bar ---------- */
.split-bar { display: flex; flex-direction: column; gap: 10px; }
.split-bar[hidden] { display: none; }
.split-bar__track { height: 18px; border-radius: 5px; background: var(--signal); overflow: hidden; }
.split-bar__cost { height: 100%; background: var(--ink); transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1); }
.split-bar__legend { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 14px; color: var(--muted); }
.split-bar__legend span { display: inline-flex; align-items: center; gap: 8px; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; }
.dot--cost { background: var(--ink); }
.dot--left { background: var(--signal); }
.calc input[aria-invalid="true"] { border-color: var(--error); }

/* ---------- Motion ---------- */
.pre-reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.pre-reveal.is-in { opacity: 1; transform: none; }
@keyframes bpm-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.hero__contours path { stroke-dasharray: 1; animation: bpm-draw 2.6s cubic-bezier(0.45, 0, 0.2, 1) both; }
.hero__contours path:nth-child(3n+2) { animation-delay: 0.15s; }
.hero__contours path:nth-child(3n) { animation-delay: 0.3s; }
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) {
	.pre-reveal { opacity: 1; transform: none; }
	.hero__contours path { animation: none; stroke-dasharray: none; }
	@view-transition { navigation: none; }
}
::selection { background: #ffd8c2; color: var(--ink); }
.btn:focus-visible, .link-cta:focus-visible { outline-offset: 4px; }

/* ---------- Form ---------- */
.form-note { font-size: 14px; color: var(--muted); }
.form-note a { color: inherit; }

/* ---------- Editor content: WordPress core classes ---------- */
.alignleft { float: left; margin: 0.3em 1.5em 1em 0; max-width: 50%; }
.alignright { float: right; margin: 0.3em 0 1em 1.5em; max-width: 50%; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption, .wp-block-image figcaption { max-width: 100%; }
.wp-caption-text, .gallery-caption, .wp-element-caption { margin-top: 8px; font-size: 14px; color: var(--muted); }
.sticky .post-list h2::after { content: " · Pinned"; font-size: 0.6em; color: var(--muted); }
.bypostauthor { display: block; }
.prose::after { content: ""; display: table; clear: both; }
.page-links { margin-top: 24px; font-weight: 600; }
.case-figure { margin: 0 0 40px; max-width: 60rem; }
.case-figure img { display: block; width: 100%; height: auto; border-radius: 16px; }
.prose--case > p:first-child { font-family: var(--font-display); font-size: clamp(1.4rem, 2.2vw, 1.8rem); line-height: 1.3; color: var(--text); }

/* ---------- Reviews ---------- */
.reviews__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 32px; margin-bottom: 40px; }
.reviews__score { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 15px; color: var(--text-2); }
.reviews__score a { font-weight: 600; }
.stars { color: #b8480f; letter-spacing: 2px; font-size: 18px; }
.quote { margin: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.quote blockquote { margin: 0; }
.quote blockquote p { font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; line-height: 1.35; letter-spacing: -0.01em; color: var(--text); text-wrap: pretty; }
.quote figcaption { font-size: 15px; font-weight: 600; color: var(--text); }
.quote figcaption span { font-weight: 400; color: var(--muted); }
.reviews--compact { display: flex; flex-direction: column; gap: 16px; }
.reviews--compact .quote { padding: 22px; }
.reviews--compact .quote blockquote p { font-size: 1.1rem; }

/* ---------- Selected work ---------- */
.work__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-bottom: 36px; }
.work__head .lede { max-width: 38em; text-wrap: pretty; }
.work__controls { display: flex; align-items: center; gap: 12px; }
.rail-btn {
	display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
	border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--ink); cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}
.rail-btn:hover { border-color: var(--ink); }
.rail-btn[disabled] { opacity: 0.35; cursor: default; }
.rail-btn[hidden] { display: none; }
.work__controls .link-cta { margin-left: 8px; }
/* The rail starts aligned with the page grid and runs to the window edge. */
.rail { --edge: max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter))); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge); overscroll-behavior-x: contain; scrollbar-width: thin; }
.rail:focus-visible { outline-offset: -3px; }
.rail__list { list-style: none; margin: 0; padding: 4px var(--edge) 24px; display: grid; grid-auto-flow: column; grid-auto-columns: min(320px, 78vw); gap: 24px; align-items: start; width: max-content; }
.rail__list li { scroll-snap-align: start; }
.ad-grid { list-style: none; margin: 0; padding: 0; columns: 3 300px; column-gap: 24px; }
.ad-grid li { break-inside: avoid; margin-bottom: 28px; }
.ad-card { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.ad-card__shot { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--white); box-shadow: 0 18px 40px -28px rgba(10, 16, 32, 0.45); transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease; }
.ad-card__shot { position: relative; display: block; color: inherit; cursor: zoom-in; }
.ad-card__shot img { display: block; width: 100%; height: auto; }
.ad-card__shot:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.ad-card__zoom { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(10, 16, 32, 0.78); color: #fff; opacity: 0; transform: translateY(4px); transition: opacity 0.2s ease, transform 0.2s ease; }
.ad-card__shot:hover .ad-card__zoom, .ad-card__shot:focus-visible .ad-card__zoom { opacity: 1; transform: none; }
@media (hover: none) { .ad-card__zoom { opacity: 1; transform: none; } }

/* Industry pages */
.industry__result { gap: 8px; }
.industry__receipt { margin-top: 56px; }
.industry__receipt .receipt { max-width: 560px; }
.section > .industry__receipt { margin-top: 0; }
.industry__result .eyebrow { color: var(--signal-text); }
.industry-links { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: baseline; padding-top: 40px; font-size: 15px; color: var(--muted); }
.industry-links a { font-weight: 600; color: var(--accent); text-underline-offset: 3px; }

/* Free review: outline of the page */
.review-sample { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.review-sample img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 12px; }
.review-sample figcaption { font-size: 14px; color: var(--muted); }
.review-sample__page { display: flex; flex-direction: column; gap: 10px; padding: 28px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 24px 50px -32px rgba(10, 16, 32, 0.45); }
.review-sample__title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--text); }
.review-sample__h { margin-top: 8px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--signal-text); }
.review-sample__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.review-sample__stats span { padding: 10px 8px 22px; border-radius: 8px; background: var(--bg); font-size: 12px; color: var(--muted); }
.review-sample__line { display: block; height: 9px; border-radius: 5px; background: var(--bg); }
.review-sample__line--short { width: 62%; }
.review-sample__item { display: flex; gap: 10px; align-items: baseline; padding: 10px 12px; border-radius: 8px; background: var(--bg); font-size: 14px; color: var(--text-2); }
.review-sample__item b { color: var(--accent); }

/* Founder video, click to play. Prefixed: the old Avada/Fusion plugins put a
   "video" class on <html>, so a plain .video rule would lock the page's scroll. */
.bpm-video { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--ink); }
.bpm-video__play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; text-decoration: none; }
.bpm-video__play img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.72; }
.bpm-video__btn { position: relative; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--accent); box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.6); transition: transform 0.2s ease; }
.bpm-video__play:hover .bpm-video__btn, .bpm-video__play:focus-visible .bpm-video__btn { transform: scale(1.06); }
.bpm-video__play:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.bpm-video__label { position: absolute; left: 16px; bottom: 14px; font-size: 14px; font-weight: 600; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6); }
.bpm-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.founder__body .bpm-video { margin-top: 28px; max-width: 520px; }

/* Ad viewer */
.lightbox { padding: 0; border: 0; margin: 0; inset: 0; max-width: none; max-height: none; width: 100vw; height: 100vh; height: 100dvh; background: rgba(6, 10, 20, 0.92); color: #fff; overflow: hidden; }
.lightbox::backdrop { background: rgba(6, 10, 20, 0.6); }
.lightbox__inner { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; height: 100%; padding: clamp(12px, 3vw, 28px); gap: 14px; box-sizing: border-box; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 14px; color: rgba(255, 255, 255, 0.75); }
.lightbox__stage { position: relative; display: grid; place-items: center; min-height: 0; }
.lightbox__stage img { max-width: min(640px, calc(100% - 120px)); max-height: calc(100dvh - 150px); width: auto; height: auto; object-fit: contain; border-radius: 12px; background: #fff; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7); }
.lightbox__caption { text-align: center; font-size: 15px; color: rgba(255, 255, 255, 0.8); }
.lightbox__caption strong { color: #fff; }
.lightbox button { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.08); color: #fff; cursor: pointer; }
.lightbox button:hover { background: rgba(255, 255, 255, 0.18); }
.lightbox button:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 0; }
.lightbox__nav--next { right: 0; }
@media (max-width: 700px) { .lightbox__stage img { max-width: 100%; max-height: calc(100dvh - 210px); } .lightbox__nav { top: auto; bottom: -58px; transform: none; } .lightbox__inner { padding-bottom: 72px; } }
.ad-card:hover .ad-card__shot, .ad-card__shot:focus-visible { transform: translateY(-4px); box-shadow: 0 26px 48px -26px rgba(10, 16, 32, 0.5); }
.ad-card figcaption { display: flex; flex-direction: column; gap: 2px; font-size: 15px; color: var(--muted); }
.ad-card figcaption strong { font-size: 16px; color: var(--text); }
.ad-card__proof { margin-top: 4px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.03em; color: var(--signal-text); }
@media (prefers-reduced-motion: reduce) { .ad-card:hover .ad-card__shot { transform: none; } }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: -8px 0 32px; }
.filters[hidden] { display: none; }
.chip {
	display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px;
	border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--text-2);
	font: 500 15px/1 var(--font-body); cursor: pointer; transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.chip span { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.chip[aria-pressed="true"] span { color: #c9d2e3; }
.ad-grid li[hidden] { display: none; }
/* Newsletter signup: end of post, and the same box as a small panel near the end. */
.newsletter { position: relative; max-width: 46rem; margin-top: 56px; padding: clamp(22px, 3vw, 32px); background: var(--ink); color: var(--white); border-radius: 16px; }
.newsletter .eyebrow { margin: 0; color: var(--accent-on-dark); }
.newsletter__title { margin-top: 10px; font-size: clamp(1.45rem, 2.4vw, 1.85rem); color: var(--white); }
.newsletter__text { margin: 10px 0 0; font-size: 16px; line-height: 1.6; color: #c9d2e3; }
.newsletter__form { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.newsletter__input { flex: 1 1 220px; min-height: 52px; padding: 0 16px; font: inherit; font-size: 16px; color: var(--white); background: #121b33; border: 1px solid #2a3757; border-radius: 10px; }
.newsletter__input::placeholder { color: #7f8aa3; }
.newsletter__input:focus-visible { outline: 2px solid var(--accent-on-dark); outline-offset: 2px; }
.newsletter .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.newsletter__msg { margin: 12px 0 0; font-size: 15px; color: #ffc9ad; }
.newsletter__msg:empty { display: none; }
.newsletter .notice { margin-top: 18px; }
.newsletter--panel { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: min(400px, calc(100vw - 40px)); margin: 0; padding: 24px; box-shadow: 0 24px 60px rgba(10, 16, 32, 0.35); transform: translateY(calc(100% + 40px)); transition: transform 0.35s ease; }
.newsletter--panel.is-open { transform: none; }
.newsletter--panel .newsletter__title { font-size: 1.3rem; padding-right: 28px; }
.newsletter--panel .newsletter__text { font-size: 15px; }
.newsletter__close { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; font-size: 24px; line-height: 1; color: #c9d2e3; background: transparent; border: 0; border-radius: 50%; cursor: pointer; }
.newsletter__close:hover { color: var(--white); background: #1b2540; }
@media (max-width: 600px) { .newsletter--panel { right: 10px; left: 10px; bottom: 10px; width: auto; } }
@media (prefers-reduced-motion: reduce) { .newsletter--panel { transition: none; } }

/* Calculator note + post tool card (1.8.8) */
.calc__note { font-size: 15px; color: var(--muted); }
.tool-card { max-width: 46rem; margin-top: 48px; padding: clamp(22px, 3vw, 30px); background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--signal-text); border-radius: 16px; }
.tool-card .eyebrow { margin: 0; color: var(--signal-text); }
.tool-card__title { margin: 10px 0 0; font-family: var(--font-display); font-size: clamp(1.3rem, 2.2vw, 1.6rem); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; color: var(--ink); }
.tool-card__text { margin: 10px 0 18px; font-size: 16px; line-height: 1.6; color: var(--text-2); }
.tool-card + .newsletter { margin-top: 24px; }
.prose .wp-block-table { margin: 1.6em 0; overflow-x: auto; }
.prose .wp-block-table table { min-width: 540px; }
.prose th { font-size: 0.85rem; font-weight: 600; color: var(--muted); border-bottom-width: 2px; }
.prose td { font-variant-numeric: tabular-nums; }
.prose .wp-element-caption { margin-top: 10px; font-size: 14px; color: var(--muted); }
.calc__out { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 420px) { .calc__out strong { font-size: 2rem; } }
