/*
Theme Name: Brehm Media
Theme URI: https://brehmmedia.com
Author: Brehm Media
Description: Custom theme for Brehm Media, the agency behind your agency. White-label social media and email marketing.
Version: 1.5.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: brehm
*/

/* ---------- Brand tokens ---------- */
:root {
	--black: #110707;
	--ink: #1A1414;
	--slate: #1D2930;
	--slate-light: #647883;
	--gold: #E4AC24;
	--gold-deep: #815C25;
	--cream: #F2EFEA;
	--sand: #E4DFDA;
	--stone: #A39A90;
	--rule: #DCD5CC;
	--muted: #4A433E;
	--muted-light: #C9C1B8;
	--label: #5A524C;
	--line-dark: #3A302B;
	--card-dark: #1C1414;
	--white: #FFFFFF;

	--serif: 'DM Serif Display', Georgia, 'Times New Roman', serif;
	--sans: 'Chalet London NineteenSixty', 'Questrial', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--sans-alt: 'Chalet Paris NineteenSixty', 'Questrial', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--script: 'Breathing', 'Mrs Saint Delafield', cursive;

	--wrap: 1200px;
	--pad: 40px;
	--section: 120px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
	margin: 0;
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.6;
	color: var(--ink);
	background: var(--cream);
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-deep); }
a:hover { color: #4F3814; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; margin: 0; line-height: 1.08; }
p { margin: 0; }
ul { margin: 0; }

.screen-reader-text {
	position: absolute; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; z-index: 100;
	top: 12px; left: 12px; padding: 12px 20px;
	background: var(--black); color: var(--cream); border-radius: 8px;
}

/* ---------- Layout ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.section { padding: var(--section) 0; }
.bg-black { background: var(--black); color: var(--cream); }
.bg-slate { background: var(--slate); color: var(--cream); }
.bg-cream { background: var(--cream); }
.bg-sand { background: var(--sand); }
.bg-white { background: var(--white); }
.goldbar { height: 4px; background: linear-gradient(90deg, var(--gold-deep), var(--gold)); }

.stack { display: flex; flex-direction: column; gap: 20px; }
.stack-lg { display: flex; flex-direction: column; gap: 28px; }
.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-end; }
.split > .grow { flex: 1 1 560px; min-width: 0; }
.split > .side { flex: 1 1 380px; min-width: 0; }
.section-head { margin-bottom: 56px; }
.section-head--narrow { max-width: 780px; }
.head-row { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: flex-end; margin-bottom: 56px; }

.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.grid--wide { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 20px; }

/* ---------- Type ---------- */
.eyebrow {
	font-family: var(--sans);
	font-size: 13px;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--gold-deep);
}
.bg-black .eyebrow, .bg-slate .eyebrow { color: var(--gold); }
.display { font-size: clamp(46px, 6.4vw, 78px); line-height: 1.02; letter-spacing: -0.01em; }
.display--page { font-size: clamp(42px, 5.4vw, 68px); }
.h2 { font-size: clamp(34px, 4.4vw, 52px); }
.h3 { font-size: 26px; line-height: 1.2; }
.lead { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.6; color: var(--muted); max-width: 620px; }
.bg-black .lead, .bg-slate .lead { color: var(--muted-light); }
.muted { color: var(--muted); }
.bg-black .muted, .bg-slate .muted { color: var(--muted-light); }
.text-link { color: inherit; text-decoration: underline; text-underline-offset: 6px; letter-spacing: 0.04em; }
.text-link:hover { color: inherit; text-decoration-thickness: 2px; }
.script { font-family: var(--script); line-height: 1; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 48px; padding: 14px 30px;
	border-radius: 999px; border: 1px solid transparent;
	font-family: var(--sans); font-size: 16px; letter-spacing: 0.04em; line-height: 1.2;
	text-decoration: none; cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn--sm { min-height: 44px; padding: 11px 22px; font-size: 15px; }
.btn--gold { background: var(--gold); color: var(--black); }
.btn--gold:hover { background: #F0BE45; color: var(--black); }
.btn--dark { background: var(--black); color: var(--cream); }
.btn--dark:hover { background: #2C1F1B; color: var(--cream); }
.btn--ghost { background: transparent; border-color: #6E655C; color: var(--cream); }
.btn--ghost:hover { border-color: var(--cream); color: var(--cream); }
.btn--outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--cream); }
.btn-row { display: flex; flex-wrap: wrap; gap: 16px; padding-top: 8px; }

/* ---------- Header ---------- */
.site-header { background: var(--cream); border-bottom: 1px solid var(--rule); position: relative; z-index: 30; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: flex; align-items: center; flex: 0 0 auto; }
.brand img { height: 40px; width: auto; }
.primary-nav { display: flex; align-items: center; gap: 28px; }
.nav-list { list-style: none; padding: 0; display: flex; gap: 28px; font-size: 15px; letter-spacing: 0.04em; }
.nav-list a { color: var(--ink); text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav-list a:hover,
.nav-list .current-menu-item > a,
.nav-list .current_page_item > a { border-bottom-color: var(--gold-deep); color: var(--ink); }
.nav-list .sub-menu { display: none; }
.nav-toggle {
	display: none; align-items: center; gap: 10px;
	min-height: 44px; padding: 8px 16px;
	background: transparent; border: 1px solid var(--ink); border-radius: 999px;
	font: inherit; font-size: 15px; color: var(--ink); cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
	display: block; width: 18px; height: 2px; background: var(--ink); position: relative; content: '';
}
.nav-toggle-bars::before { position: absolute; top: -6px; }
.nav-toggle-bars::after { position: absolute; top: 6px; }

@media (max-width: 1100px) {
	.nav-toggle { display: inline-flex; }
	.primary-nav {
		display: none; position: absolute; left: 0; right: 0; top: 100%;
		flex-direction: column; align-items: flex-start; gap: 20px;
		background: var(--cream); border-bottom: 1px solid var(--rule);
		padding: 20px var(--pad) 32px;
	}
	.site-header.is-open .primary-nav { display: flex; }
	.nav-list { flex-direction: column; gap: 4px; font-size: 19px; }
	.nav-list a { display: inline-block; padding: 8px 0; }
}

/* ---------- Hero (home) ---------- */
.hero { padding: 112px 0 120px; }
.hero-grid { display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.hero-copy { flex: 1 1 520px; min-width: 0; }
.hero-panel { flex: 1 1 400px; min-width: 0; }
.panel-top { background: var(--cream); color: var(--ink); border-radius: 20px 20px 0 0; padding: 32px 36px; }
.panel-label { font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--label); margin-bottom: 10px; }
.panel-title { font-family: var(--serif); font-size: 34px; line-height: 1.15; }
.panel-bottom { background: var(--slate); border-radius: 0 0 20px 20px; padding: 32px 36px; }
.panel-bottom .panel-label { color: var(--muted-light); margin-bottom: 18px; }
.panel-list { list-style: none; padding: 0; margin-bottom: 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; font-size: 16px; }
.panel-list li { border-top: 1px solid #3C4A54; padding-top: 10px; }
.panel-sign { font-family: var(--script); font-size: 46px; line-height: 1; color: var(--gold); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 104px 0 104px; }
.page-hero .lead { max-width: 680px; }

/* ---------- Cards ---------- */
.card-sand { background: var(--sand); border-radius: 16px; padding: 36px; display: flex; flex-direction: column; gap: 12px; }
.card-sand p { color: var(--muted); }
.card-white { background: var(--white); border-radius: 16px; padding: 36px; display: flex; flex-direction: column; gap: 12px; }
.card-white p { color: var(--muted); }
.card-dark { background: var(--card-dark); border: 1px solid var(--line-dark); border-radius: 16px; padding: 36px; display: flex; flex-direction: column; gap: 14px; }
.card-dark h3 { font-size: 28px; color: var(--gold); line-height: 1.15; }
.card-dark p:not(.eyebrow) { color: var(--muted-light); font-size: 16px; }
.card-dark .text-link { color: var(--cream); font-size: 15px; margin-top: auto; padding-top: 6px; }
.tag-new { align-self: flex-start; font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--black); background: var(--gold); border-radius: 999px; padding: 4px 12px; }

/* ---------- Rule grid (pillars, values) ---------- */
.rule-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); border-top: 1px solid var(--ink); }
.rule-grid > div { padding: 32px 28px 8px 0; display: flex; flex-direction: column; gap: 12px; }
.rule-grid h3 { font-size: 24px; line-height: 1.2; }
.rule-grid p:not(.eyebrow) { color: var(--muted); font-size: 16px; }

/* ---------- Eleven years ---------- */
.eleven-top { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; margin-bottom: 64px; }
.big-11 {
	flex: 0 0 auto; font-family: var(--serif); font-size: clamp(150px, 18vw, 220px); line-height: 0.85;
	background: linear-gradient(180deg, var(--gold), var(--gold-deep));
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
.eleven-copy { flex: 1 1 560px; min-width: 0; }
.col-rules { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 40px; }
.col-rules > div { border-top: 1px solid var(--slate-light); padding-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.col-rules h3 { font-size: 30px; color: var(--gold); }
.col-rules p { color: #D3CCC4; font-size: 16px; }
.eleven-foot { margin-top: 48px; border-top: 1px solid var(--slate-light); padding-top: 28px; font-size: 18px; }

/* ---------- Pricing band ---------- */
.price-band {
	background: var(--gold); color: var(--black); border-radius: 20px; padding: 48px; margin-top: 24px;
	display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: center; justify-content: space-between;
}
.price-band .eyebrow { color: var(--black); }
.price-band-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.price-band h2, .price-band h3 { font-size: clamp(34px, 3.6vw, 44px); }
.price-band-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.price-band p:not(.eyebrow) { font-size: 18px; max-width: 620px; }

/* ---------- Process ---------- */
.steps { display: flex; flex-wrap: wrap; row-gap: 40px; list-style: none; padding: 0; }
.step { flex: 1 1 150px; min-width: 0; border-top: 2px solid var(--ink); padding: 20px 20px 0 0; display: flex; flex-direction: column; gap: 8px; }
.steps--stack { flex-direction: column; row-gap: 28px; }
.step-num { font-size: 14px; color: var(--gold-deep); }
.step h3 { font-size: 21px; }
.step p { color: var(--muted); font-size: 15px; }

/* ---------- Industries ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; list-style: none; padding: 0; }
.chips-label { font-size: 13px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--label); margin-right: 12px; }
.chip { border: 1px solid var(--stone); border-radius: 999px; padding: 8px 18px; font-size: 15px; }
.industries { margin-top: 56px; }

/* ---------- Founder ---------- */
.founder { display: flex; flex-wrap: wrap; gap: 72px; align-items: center; }
.founder-media { flex: 1 1 380px; min-width: 0; position: relative; }
.founder-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; }
.founder-placeholder {
	aspect-ratio: 4 / 5; background: #CFC7BE; border-radius: 16px;
	display: flex; align-items: center; justify-content: center; padding: 32px; text-align: center;
	color: var(--muted); font-size: 15px;
}
.founder-script { position: absolute; right: -16px; top: 28px; font-family: var(--script); font-size: 64px; line-height: 1; color: var(--gold); text-shadow: 0 1px 2px rgba(17, 7, 7, 0.45), 0 0 14px rgba(17, 7, 7, 0.35); }
.founder-copy { flex: 1 1 520px; min-width: 0; }
.founder-copy p:not(.eyebrow) { color: var(--muted); font-size: 18px; }

/* ---------- Case studies ---------- */
.cs-card { background: var(--white); border: 1px solid var(--rule); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; color: var(--ink); text-decoration: none; }
.cs-card:hover { border-color: var(--gold-deep); color: var(--ink); }
.cs-media { aspect-ratio: 4 / 3; background: var(--sand); display: flex; align-items: center; justify-content: center; padding: 48px; }
.cs-media img { max-height: 100%; width: auto; object-fit: contain; }
.cs-media-fallback { font-family: var(--serif); font-size: 32px; text-align: center; }
.cs-body { padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.cs-type { font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold-deep); }
.cs-body h3 { font-size: 24px; }
.cs-body p { color: var(--muted); font-size: 15px; }
.cs-results { font-size: clamp(22px, 2.4vw, 30px); font-family: var(--serif); line-height: 1.25; max-width: 760px; }
.quote { font-family: var(--serif); font-size: clamp(26px, 3vw, 36px); line-height: 1.3; margin: 0; }
.quote-by { margin-top: 20px; font-family: var(--sans-alt); color: var(--muted-light); font-size: 16px; }

/* ---------- Insights ---------- */
.post-card { color: var(--ink); text-decoration: none; border-top: 1px solid var(--ink); padding-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.post-card:hover { color: var(--ink); }
.post-card:hover .post-title { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.post-thumb { aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; width: 100%; margin-bottom: 8px; }
.post-date { font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--label); }
.post-title { font-family: var(--serif); font-size: 26px; line-height: 1.2; }
.post-excerpt { color: var(--muted); font-size: 16px; }
.pagination { margin-top: 64px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px; border: 1px solid var(--stone); border-radius: 999px; color: var(--ink); text-decoration: none; }
.pagination .page-numbers.current { background: var(--ink); border-color: var(--ink); color: var(--cream); }

/* ---------- Article ---------- */
.eyebrow-link { color: inherit; text-decoration: none; }
.eyebrow-link:hover { color: inherit; text-decoration: underline; }
.article-title { margin-top: 20px; }
.article-body { padding-top: 56px; }
.article-body--lg { padding-top: 80px; }
.article-hero { padding: 96px 0 56px; }
.article-hero .wrap, .prose-wrap { max-width: 800px; }
.article-meta { font-family: var(--sans-alt); color: var(--label); font-size: 15px; margin-top: 24px; }
.article-image { max-width: 1000px; margin: 0 auto; padding: 0 var(--pad); }
.article-image img { border-radius: 16px; width: 100%; }
.prose { font-size: 18px; line-height: 1.75; padding-bottom: var(--section); }
.prose > * + * { margin-top: 1.2em; }
.prose h2 { font-size: 36px; margin-top: 1.6em; }
.prose h3 { font-size: 26px; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.4em; }
.prose blockquote { margin: 1.6em 0; font-family: var(--serif); font-size: 28px; line-height: 1.35; }
.prose img { border-radius: 12px; }

/* ---------- Services page ---------- */
.service-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; padding: 64px 0; border-top: 1px solid #CFC7BE; scroll-margin-top: 24px; }
.service-row:last-child { border-bottom: 1px solid #CFC7BE; }
.service-row h2 { font-size: clamp(30px, 3.2vw, 40px); }
.service-row .lead { margin-bottom: 28px; }
.include-list { list-style: none; padding: 0; columns: 2 240px; column-gap: 32px; }
.include-list li { position: relative; padding-left: 22px; font-size: 16px; break-inside: avoid; margin-bottom: 14px; }
.include-list li::before { content: ''; position: absolute; left: 0; top: 0.62em; width: 8px; height: 8px; background: var(--gold-deep); border-radius: 2px; }
.service-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; list-style: none; padding: 0; }
.service-jump a { display: inline-flex; min-height: 44px; align-items: center; padding: 8px 18px; border: 1px solid #6E655C; border-radius: 999px; color: var(--cream); text-decoration: none; font-size: 15px; }
.service-jump a:hover { border-color: var(--cream); color: var(--cream); }

/* ---------- FAQ ---------- */
.faq-list { border-bottom: 1px solid var(--ink); max-width: 900px; }
.faq-item { border-top: 1px solid var(--ink); }
.faq-item summary {
	list-style: none; cursor: pointer; position: relative;
	padding: 28px 56px 28px 0; font-family: var(--serif); font-size: clamp(21px, 2.2vw, 26px); line-height: 1.25;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
	content: '+'; position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
	font-family: var(--sans); font-size: 30px; color: var(--gold-deep); transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-answer { padding: 0 56px 32px 0; color: var(--muted); font-size: 17px; max-width: 760px; }
.faq-answer p + p { margin-top: 1em; }

/* ---------- Partner page ---------- */
.contact-grid { display: flex; flex-wrap: wrap; gap: 64px; align-items: flex-start; }
.contact-steps { flex: 1 1 420px; min-width: 0; }
.contact-form { flex: 1 1 480px; min-width: 0; background: var(--white); border-radius: 20px; padding: 44px; }
.contact-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 6px; font-family: var(--sans-alt); font-size: 16px; }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form input[type="tel"], .contact-form input[type="url"], .contact-form select, .contact-form textarea {
	width: 100%; padding: 14px 16px; border: 1px solid #CFC7BE; border-radius: 10px; font: inherit; background: var(--white); color: var(--ink);
}
.contact-form input[type="submit"], .contact-form button[type="submit"] {
	min-height: 48px; padding: 14px 30px; border: 0; border-radius: 999px; background: var(--gold); color: var(--black);
	font: inherit; letter-spacing: 0.04em; cursor: pointer;
}


/* ---------- Profit calculator ---------- */
.calc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.calc-card { background: var(--white); border-radius: 20px; padding: 40px; display: flex; flex-direction: column; gap: 24px; }
.quote-section .calc-card { background: var(--cream); }
.field { display: flex; flex-direction: column; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-size: 16px; color: var(--ink); padding: 0; }
.field legend { margin-bottom: 8px; }
.field-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 24px; }
.field-hint { font-size: 14px; color: var(--label); }
.optional { color: var(--label); }
.calc-card input[type="text"], .calc-card input[type="number"], .calc-card input[type="email"], .calc-card input[type="url"] {
	width: 100%; min-height: 52px; padding: 12px 16px; font: inherit; font-size: 18px; color: var(--ink);
	background: var(--white); border: 1px solid #BDB4AA; border-radius: 10px;
}
.calc-card input:focus-visible { outline: 3px solid var(--gold); outline-offset: 1px; border-color: var(--ink); }
.input-prefix { position: relative; }
.input-prefix span { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-size: 18px; color: var(--label); pointer-events: none; }
.input-prefix input { padding-left: 34px !important; }
.check-row { display: flex; flex-wrap: wrap; gap: 10px; }
.check { position: relative; cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border: 1px solid #BDB4AA; border-radius: 999px; font-size: 15px; background: var(--white); }
.check input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.check input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: 16px; min-height: 1.6em; }
.form-status.is-error { color: #9B2C1F; }
.form-status.is-success { color: #2F5D34; }
.calc-card button[type="submit"] { align-self: flex-start; }
.calc-card button:disabled { opacity: 0.6; cursor: wait; }

.calc-results { background: var(--slate); color: var(--cream); border-radius: 20px; padding: 40px; position: sticky; top: 24px; }
.calc-results .panel-label { color: var(--muted-light); }
.result-big { font-family: var(--serif); font-size: clamp(48px, 5.5vw, 68px); line-height: 1; color: var(--gold); margin: 8px 0 28px; }
.result-unit { font-family: var(--sans); font-size: 18px; color: var(--muted-light); }
.result-rows { margin: 0; display: flex; flex-direction: column; }
.result-rows > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid #3C4A54; font-size: 16px; }
.result-rows dt { color: #D3CCC4; }
.result-rows dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.result-strong dt, .result-strong dd { color: var(--cream); font-size: 18px; }
.result-pct { color: var(--muted-light); font-size: 15px; }
.result-note { margin-top: 20px; font-size: 14px; color: var(--muted-light); }
.calc-actions { margin-top: 20px; }

@media (max-width: 900px) {
	.calc-grid { grid-template-columns: 1fr; }
	.calc-results { position: static; }
}
@media (max-width: 720px) {
	.calc-card, .calc-results { padding: 28px 22px; }
}
@media print {
	.site-header, .site-footer, .quote-section, .calc-actions, .goldbar, .page-hero .lead { display: none !important; }
	.page-hero { padding: 0 0 24px; background: none; color: #000; }
	.section { padding: 0; }
	.calc-grid { grid-template-columns: 1fr 1fr; }
	.calc-results { position: static; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}


/* ---------- Hire or partner (Profit Calculator) ---------- */
.calc-hero .wrap { align-items: center; text-align: center; }
.calc-hero .lead { margin: 0 auto; }
.calc-script { font-family: var(--script); font-size: 58px; line-height: 1; color: var(--gold); }
.calc-inputs-section { padding-top: 64px; }
.calc-inputs { background: var(--white); border-radius: 20px; padding: 32px 36px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 28px; align-items: end; }
.calc-inputs input { width: 100%; min-height: 56px; padding: 12px 16px; font: inherit; font-size: 22px; color: var(--ink); background: var(--white); border: 1px solid #BDB4AA; border-radius: 10px; }
.calc-inputs .input-prefix span { font-size: 22px; }
.calc-inputs .input-prefix input { padding-left: 36px !important; }
.calc-inputs input:focus-visible { outline: 3px solid var(--gold); outline-offset: 1px; border-color: var(--ink); }
.calc-presets { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 18px; font-size: 14px; color: var(--label); }
.preset { min-height: 40px; padding: 6px 16px; border-radius: 999px; border: 1px solid #BDB4AA; background: var(--white); color: var(--ink); font: inherit; font-size: 15px; cursor: pointer; }
.preset.is-on { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.calc-compare-section { padding: 40px 0 104px; }
.compare-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.compare-card { border-radius: 24px; padding: 44px; display: flex; flex-direction: column; gap: 28px; position: relative; overflow: hidden; }
.compare-card--hire { background: var(--white); border: 1px solid var(--rule); }
.compare-card--partner { background: var(--slate); color: var(--cream); }
.compare-card--partner::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--gold-deep), var(--gold)); }
.compare-label { font-size: 13px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--label); }
.compare-card--partner .compare-label { color: var(--gold); }
.compare-big { font-family: var(--serif); font-size: clamp(56px, 6vw, 80px); line-height: 1; }
.compare-card--partner .compare-big { color: var(--gold); }
.compare-sub { margin-top: 6px; font-size: 18px; color: var(--muted); }
.compare-card--partner .compare-sub { color: #D3CCC4; }
.seat-grid { display: grid; gap: 8px; }
.seat { border-radius: 12px; min-height: 64px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 8px; font-size: 14px; line-height: 1.25; }
.seat--filled { background: var(--slate); color: var(--cream); }
.seat--empty { background: repeating-linear-gradient(135deg, var(--cream) 0 10px, var(--sand) 10px 20px); color: var(--label); border: 1px dashed var(--stone); }
.seat--gold { background: linear-gradient(135deg, var(--gold), #BC8834); color: var(--black); }
.seat--add { color: var(--stone); border: 1px dashed var(--slate-light); }
.compare-message { border-top: 1px solid var(--rule); padding-top: 22px; display: flex; flex-direction: column; gap: 6px; }
.compare-card--partner .compare-message { border-top-color: #3C4A54; }
.compare-headline { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 32px); line-height: 1.15; }
.compare-detail { color: var(--muted); }
.compare-card--partner .compare-detail { color: #D3CCC4; }
.compare-list { list-style: none; padding: 0; border-top: 1px solid var(--rule); font-size: 16px; }
.compare-list li { padding: 12px 0; border-bottom: 1px solid var(--rule); color: var(--muted); }
.compare-list li:last-child { border-bottom: 0; }
.compare-card--partner .compare-list { border-top-color: #3C4A54; }
.compare-card--partner .compare-list li { border-bottom-color: #3C4A54; color: var(--cream); }
.compare-foot { font-size: 14px; color: var(--label); }
.chart-headline { font-size: clamp(30px, 3.6vw, 48px); line-height: 1.12; }
.bars-scroll { overflow-x: auto; }
.bars { display: flex; gap: 6px; align-items: stretch; min-width: 560px; }
.bar-col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 8px; text-align: center; }
.bar-value { font-family: var(--serif); font-size: 18px; }
.bars--dense .bar-value { font-size: 13px; }
.is-pos .bar-value { color: var(--gold-deep); }
.bar-top, .bar-bottom { height: 110px; display: flex; justify-content: center; }
.bar-top { align-items: flex-end; }
.bar-bottom { align-items: flex-start; }
.bar { width: 70%; }
.is-pos .bar-top .bar { background: linear-gradient(180deg, var(--gold), var(--gold-deep)); border-radius: 6px 6px 0 0; }
.is-neg .bar-bottom .bar { background: #CFC7BE; border-radius: 0 0 6px 6px; }
.is-here.is-pos .bar-top .bar, .is-here.is-neg .bar-bottom .bar { box-shadow: 0 0 0 3px var(--ink); }
.is-here .bar-value, .is-here .bar-n { font-weight: 700; color: var(--black); }
.bar-zero { height: 2px; background: var(--ink); }
.bar-n { font-size: 15px; color: var(--muted); }
.bar-note { font-size: 12px; line-height: 1.3; color: var(--gold-deep); min-height: 32px; }
.bars-caption { margin-top: 16px; }
.calc-cta-section { padding: 104px 0; }
.calc-cta { background: var(--black); color: var(--cream); border-radius: 20px; padding: 44px; display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; }
.calc-cta > div:first-child { flex: 1 1 520px; min-width: 0; }
.calc-cta-headline { font-family: var(--serif); font-size: clamp(32px, 3.6vw, 44px); line-height: 1.1; }
.calc-cta-sub { margin-top: 8px; font-size: 18px; color: var(--muted-light); }
.calc-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.calc-footnote { margin-top: 20px; }
@media (max-width: 960px) {
	.calc-inputs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.compare-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.calc-inputs { grid-template-columns: 1fr; padding: 24px 22px; }
	.compare-card { padding: 28px 22px; }
	.calc-cta { padding: 28px 22px; }
	.calc-script { font-size: 46px; }
}
@media print {
	.calc-presets, .calc-cta-actions, .calc-cta-sub { display: none !important; }
	.compare-grid { grid-template-columns: 1fr 1fr; }
	.compare-card, .seat, .bar, .calc-cta { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ---------- Calculator sign-up ---------- */
.gate-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: start; }
.gate-list { list-style: none; padding: 0; border-top: 1px solid var(--ink); }
.gate-list li { padding: 18px 0; border-bottom: 1px solid #CFC7BE; display: flex; flex-direction: column; gap: 4px; }
.gate-list strong { font-family: var(--serif); font-weight: 400; font-size: 22px; }
.gate-list span { color: var(--muted); }
.gate-preview { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; max-width: 460px; }
.gate-done:focus { outline: none; }
@media (max-width: 900px) { .gate-grid { grid-template-columns: 1fr; } }

/* ---------- CTA ---------- */
.cta { padding: 128px 0; text-align: center; }
.cta .wrap { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.cta-script { font-family: var(--script); font-size: 56px; line-height: 1; color: var(--gold); }
.cta h2 { font-size: clamp(40px, 5vw, 64px); line-height: 1.05; max-width: 820px; }
.cta p:not(.cta-script) { color: var(--muted-light); font-size: 19px; max-width: 620px; }
.cta .btn-row { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: var(--muted-light); }
.footer-top { display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; padding-top: 64px; padding-bottom: 48px; }
.footer-brand { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.footer-wordmark { font-size: 18px; letter-spacing: 0.4em; color: var(--gold); }
.footer-tagline { font-family: var(--serif); font-size: 22px; color: var(--cream); }
.footer-contact { font-family: var(--sans-alt); font-size: 15px; font-style: normal; }
.footer-contact a { color: var(--muted-light); text-decoration: none; }
.footer-contact a:hover { color: var(--cream); }
.footer-cols { display: flex; flex-wrap: wrap; gap: 64px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer-col h2 { font-family: var(--sans); font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; color: #8F867D; margin-bottom: 4px; }
.footer-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--cream); text-decoration: none; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; border-top: 1px solid var(--line-dark); padding-top: 24px; padding-bottom: 40px; font-size: 13px; color: #8F867D; }
.footer-bottom a { color: #8F867D; }
.footer-bottom a:hover { color: var(--cream); }
.footer-legal { display: flex; gap: 24px; }

/* ---------- Empty state / 404 ---------- */
.empty-state { max-width: 640px; }

/* ---------- Small screens ---------- */
@media (max-width: 720px) {
	:root { --pad: 22px; --section: 80px; }
	.hero { padding: 72px 0 80px; }
	.page-hero { padding: 72px 0; }
	.price-band { padding: 32px 26px; }
	.panel-top, .panel-bottom { padding: 26px; }
	.founder { gap: 48px; }
	.founder-script { right: 8px; font-size: 52px; }
	.service-row { grid-template-columns: 1fr; gap: 20px; padding: 48px 0; }
	.contact-form { padding: 28px 22px; }
	.cta { padding: 88px 0; }
	.faq-item summary { padding-right: 44px; }
	.faq-answer { padding-right: 0; }
}

/* ---------- About: our story timeline ---------- */
.timeline { list-style: none; padding: 0; margin: 0; max-width: 960px; border-left: 2px solid var(--gold); }
.timeline-item { position: relative; display: grid; grid-template-columns: minmax(0, 190px) minmax(0, 1fr); gap: 8px 40px; padding: 0 0 44px 40px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before { content: ''; position: absolute; left: -9px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--gold); border: 3px solid var(--sand); }
.timeline-when { font-family: var(--sans-alt); font-size: 14px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-deep); padding-top: 2px; }
.timeline-when span { color: var(--label); margin-right: 6px; }
.timeline-body { display: flex; flex-direction: column; gap: 10px; }
.timeline-body h3 { font-size: 26px; line-height: 1.2; }
.timeline-body p { color: var(--muted); font-size: 17px; max-width: 620px; }
@media (max-width: 720px) {
	.timeline-item { grid-template-columns: minmax(0, 1fr); padding-left: 28px; }
}

/* ---------- Partner inquiry form (Contact Form 7) ---------- */
.contact-form .bf p { display: contents; }
.contact-form .wpcf7-form br { display: none; }
.bf { display: flex; flex-direction: column; gap: 22px; }
.bf-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 22px 18px; }
.bf-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.bf-row .bf-field { justify-content: flex-end; }
.bf-label { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--label); }
.bf-label em { font-style: normal; color: var(--gold-deep); }
.contact-form .wpcf7-form-control-wrap { display: block; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 3px solid rgba(228, 172, 36, 0.45); outline-offset: 1px; border-color: var(--gold-deep); }
.contact-form select {
	appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23815C25' stroke-width='1.6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 16px center;
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form ::placeholder { color: #9A9088; }
.bf-pills .wpcf7-checkbox, .bf-pills .wpcf7-radio { display: flex; flex-wrap: wrap; gap: 10px; }
.bf-pills .wpcf7-list-item { margin: 0; }
.bf-pills .wpcf7-list-item label { position: relative; display: inline-flex; cursor: pointer; }
.bf-pills .wpcf7-list-item input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bf-pills .wpcf7-list-item-label {
	display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; border: 1px solid #CFC7BE; border-radius: 999px;
	font-size: 15px; line-height: 1.3; color: var(--ink); background: var(--white); transition: background 0.15s ease, border-color 0.15s ease;
}
.bf-pills .wpcf7-list-item-label:hover { border-color: var(--gold-deep); }
.bf-pills input:checked + .wpcf7-list-item-label { background: var(--gold); border-color: var(--gold); color: var(--black); }
.bf-pills input:focus-visible + .wpcf7-list-item-label { outline: 3px solid rgba(228, 172, 36, 0.45); outline-offset: 2px; }
.bf-submit { display: flex; align-items: center; gap: 12px; padding-top: 6px; }
.contact-form input[type="submit"]:hover { background: #F0BE45; }
.contact-form .wpcf7-not-valid { border-color: #A3281B; }
.contact-form .wpcf7-not-valid-tip { color: #A3281B; font-size: 14px; margin-top: 6px; }
.contact-form .wpcf7 form .wpcf7-response-output { margin: 24px 0 0; padding: 14px 18px; border-radius: 10px; border: 1px solid #CFC7BE; font-size: 15px; }
.contact-form .wpcf7 form.sent .wpcf7-response-output { border-color: var(--gold); background: #FBF3DF; }
.contact-form .wpcf7 form.invalid .wpcf7-response-output, .contact-form .wpcf7 form.failed .wpcf7-response-output { border-color: #A3281B; color: #A3281B; }

/* ---------- Partner page: what happens next ---------- */
.next-card { background: var(--black); color: var(--cream); border-radius: 20px; padding: 44px; display: flex; flex-direction: column; gap: 28px; }
.next-card .eyebrow { color: var(--gold); }
.next-card .h2 { color: var(--cream); font-size: clamp(30px, 3vw, 40px); }
.next-steps { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--gold); }
.next-steps li { position: relative; padding: 0 0 30px 32px; display: flex; flex-direction: column; gap: 6px; }
.next-steps li:last-child { padding-bottom: 0; }
.next-steps li::before { content: ''; position: absolute; left: -9px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--gold); border: 3px solid var(--black); }
.next-when { font-family: var(--sans-alt); font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.next-steps h3 { font-size: 22px; color: var(--cream); }
.next-steps p { color: var(--muted-light); font-size: 16px; }
.next-promise { border-top: 1px solid var(--line-dark); padding-top: 24px; display: flex; gap: 14px; align-items: flex-start; color: var(--gold); }
.next-promise svg { flex: 0 0 22px; margin-top: 2px; }
.next-promise p { color: var(--muted-light); font-size: 15px; }
.next-promise strong { display: block; margin-bottom: 2px; color: var(--cream); font-weight: 400; font-size: 17px; }
.next-contact { display: flex; flex-direction: column; gap: 12px; }
.next-label, .next-city { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: #8F867D; }
.next-city { letter-spacing: 0.04em; text-transform: none; font-size: 14px; }
.next-links { display: flex; flex-wrap: wrap; gap: 10px; }
.next-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 20px; border: 1px solid #6E655C; border-radius: 999px; color: var(--cream); text-decoration: none; font-size: 15px; }
.next-links a:hover { border-color: var(--gold); color: var(--cream); }
@media (max-width: 720px) { .next-card { padding: 30px 22px; } }
