/*
Theme Name: HM Agency
Theme URI: https://leadgenbee.com
Description: Lightweight agency theme for LeadGenBee. Homepage copy in inc/content.php; Autopilot articles styled by article-components.css.
Version: 1.3.3
Requires at least: 6.3
Requires PHP: 7.4
Author: HM Digital
Text Domain: hm-agency
*/

/* ---------- Tokens ---------- */
:root {
	--ink: #0B1B30;
	--ink-2: #13263F;
	--honey: #FDCD04;
	--honey-soft: #FFF3BF;
	--slate: #5F6E7F;
	--mist: #D1D3D7;
	--paper: #FDFDFD;
	--wash: #F2F3F5;

	--font: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
	--mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

	--wrap: 1180px;
	--text: 720px;
	--gutter: clamp(16px, 4vw, 32px);
	--section: clamp(64px, 9vw, 120px);
	--radius: 6px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font: 400 17px/1.6 var(--font);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--honey); }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--honey); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--honey); color: var(--ink); }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--text { max-width: calc(var(--text) + var(--gutter) * 2); }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: var(--radius); }
.skip-link:focus { top: 12px; }

.eyebrow, .label {
	font: 500 13px/1.4 var(--mono);
	letter-spacing: 0.02em;
	color: var(--slate);
	margin: 0 0 14px;
}
.eyebrow--link { display: inline-block; text-decoration: none; }
.eyebrow--link:hover { color: var(--ink); }

/* Hexagon check: the "verified" mark */
.hex-check { width: 18px; height: 18px; flex: none; }
.hex-check .hex { fill: var(--honey); }
.hex-check .tick { fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 10px 18px;
	border: 1px solid transparent; border-radius: var(--radius);
	font: 600 15px/1.2 var(--font); text-decoration: none; cursor: pointer;
	transition: background-color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--lg { min-height: 52px; padding: 14px 24px; font-size: 16px; }
.btn--honey { background: var(--honey); color: var(--ink); }
.btn--honey:hover { background: #F2C300; }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--ink-2); }

.copy-email {
	display: inline-flex; align-items: center; gap: 10px;
	min-height: 52px; padding: 0 16px;
	background: transparent; border: 1px solid var(--mist); border-radius: var(--radius);
	font: 500 14px/1 var(--mono); color: var(--ink); cursor: pointer;
	transition: border-color .2s var(--ease);
}
.copy-email:hover { border-color: var(--ink); }
.copy-email__hint { color: var(--slate); font-size: 12px; padding-left: 10px; border-left: 1px solid var(--mist); }
.copy-email.is-copied .copy-email__hint { color: var(--ink); }
.copy-email--dark { border-color: rgba(253,253,253,.25); color: var(--paper); }
.copy-email--dark:hover { border-color: var(--paper); }
.copy-email--dark .copy-email__hint { color: var(--mist); border: 0; padding: 0; font-size: 14px; }
.copy-email--dark.is-copied .copy-email__hint { color: var(--honey); }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(253,253,253,.94);
	backdrop-filter: saturate(1.4) blur(8px);
	border-bottom: 1px solid var(--wash);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand img { width: auto; height: 40px; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav__list { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.site-nav__list a { font-size: 15px; font-weight: 500; text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav__list a:hover, .site-nav__list .current-menu-item a { border-bottom-color: var(--honey); }
.nav-toggle { display: none; }

@media (max-width: 900px) {
	.brand img { height: 34px; }
	.nav-toggle {
		display: inline-flex; align-items: center; justify-content: center;
		width: 44px; height: 44px; border: 1px solid var(--mist); border-radius: var(--radius);
		background: var(--paper); cursor: pointer;
	}
	.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
		display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative;
		transition: transform .2s var(--ease), background-color .2s;
	}
	.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
	.nav-toggle__bars::before { top: -6px; }
	.nav-toggle__bars::after { top: 6px; }
	.nav-open .nav-toggle__bars { background: transparent; }
	.nav-open .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
	.nav-open .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

	.site-nav {
		display: none; position: absolute; left: 0; right: 0; top: 100%;
		flex-direction: column; align-items: stretch; gap: 0;
		background: var(--paper); border-bottom: 1px solid var(--mist);
		padding: 8px var(--gutter) 20px;
	}
	.nav-open .site-nav { display: flex; }
	.site-nav__list { flex-direction: column; gap: 0; }
	.site-nav__list a { display: block; padding: 14px 0; border-bottom: 1px solid var(--wash); font-size: 17px; }
	.site-nav__cta { margin-top: 16px; }
}

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 7vw, 96px) 0 0; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero__title {
	font-size: clamp(2.4rem, 5vw, 4rem);
	font-weight: 800; line-height: 1.04; letter-spacing: -0.035em;
	margin-bottom: 22px;
	text-wrap: balance;
}
/* Highlighter stroke, as a researcher marks a row they've checked */
.hero__title mark {
	color: inherit;
	background: linear-gradient(transparent 58%, var(--honey) 58%, var(--honey) 92%, transparent 92%) no-repeat 0 0 / 100% 100%;
	-webkit-box-decoration-break: clone; box-decoration-break: clone;
	padding: 0 .06em;
	animation: highlight 900ms var(--ease) 350ms both;
}
@keyframes highlight { from { background-size: 0% 100%; } to { background-size: 100% 100%; } }
.hero__lede { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: #33435A; max-width: 34em; margin-bottom: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* The signature: a slice of a delivered spreadsheet */
.sheet {
	margin: 0; min-width: 0;
	background: #fff; border: 1px solid var(--mist); border-radius: 8px;
	box-shadow: 0 1px 0 var(--mist), 0 24px 48px -28px rgba(11,27,48,.35);
	overflow: hidden;
}
.sheet__bar {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	padding: 10px 14px; background: var(--ink); color: var(--paper);
	font: 500 12px/1.3 var(--mono);
}
.sheet__file { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; opacity: .85; }
.sheet__status { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; color: var(--honey); }
.sheet__status .hex-check { width: 15px; height: 15px; }
.sheet__scroll { overflow-x: auto; scrollbar-width: none; }
.sheet__scroll::-webkit-scrollbar { display: none; }
/* On wide screens the sheet runs off the right edge, like a spreadsheet that keeps going */
@media (min-width: 961px) {
	.sheet {
		margin-right: calc(-1 * var(--gutter) - max(0px, (100vw - var(--wrap) - var(--gutter) * 2) / 2));
		border-right: 0; border-radius: 8px 0 0 8px;
	}
}
.sheet__table { width: 100%; border-collapse: collapse; font: 400 12.5px/1.35 var(--mono); white-space: nowrap; }
.sheet__table th {
	text-align: left; font-weight: 500; color: var(--slate);
	background: var(--wash); padding: 9px 12px; border-bottom: 1px solid var(--mist);
}
.sheet__table th + th, .sheet__table td + td { border-left: 1px solid var(--wash); }
.sheet__table td { padding: 12px; border-bottom: 1px solid var(--wash); }
.sheet__table tr:last-child td { border-bottom: 0; }
.sheet__table td.is-verified { display: flex; align-items: center; gap: 6px; }
.sheet__table td.is-verified .hex-check { width: 15px; height: 15px; }
/* One pass down the rows: each is marked, then its email gets the check */
.sheet__table tbody tr { animation: row-check 1.4s var(--ease) both; animation-delay: calc(900ms + var(--row) * 380ms); }
.sheet__table tbody .hex-check { animation: pop .35s var(--ease) both; animation-delay: calc(1250ms + var(--row) * 380ms); }
@keyframes row-check { 0% { background: transparent; } 25% { background: var(--honey-soft); } 100% { background: transparent; } }
@keyframes pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: scale(1); } }
.sheet__caption { padding: 10px 14px; font: 400 11.5px/1.4 var(--mono); color: var(--slate); border-top: 1px solid var(--wash); background: #fff; }

/* Track record line */
.proof {
	display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 40px;
	list-style: none; margin: clamp(48px, 6vw, 80px) 0 0; padding: 22px 0;
	border-top: 1px solid var(--mist); border-bottom: 1px solid var(--mist);
	color: var(--slate); font-size: 15px;
}
.proof strong { color: var(--ink); font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; margin-right: 4px; }
.proof__link { margin-left: auto; }
.proof__link a { color: var(--ink); font-weight: 600; }

@media (max-width: 960px) {
	.hero__grid { grid-template-columns: 1fr; }
	.proof__link { margin-left: 0; flex-basis: 100%; }
}
@media (max-width: 560px) {
	.hero__actions { flex-direction: column; align-items: stretch; }
	.copy-email { justify-content: space-between; }
	.proof { gap: 8px 24px; }
	.proof li { flex-basis: 100%; }
}

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section--wash { background: var(--wash); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink .eyebrow, .section--ink .label { color: var(--mist); }
.section__head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.section__head--row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; max-width: none; }
.section__title { font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 750; letter-spacing: -0.03em; line-height: 1.08; margin-bottom: 14px; }
.section__title--sm { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 0 0 10px; }
.section__head--row .section__title--sm { margin: 0; }
.section__lede { font-size: 1.1rem; color: var(--slate); margin: 0; }
.more-link { font-weight: 600; white-space: nowrap; }

/* Services as the columns of a list */
.spec { border-top: 2px solid var(--ink); }
.spec__row {
	display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr);
	gap: 32px; padding: 26px 0; border-bottom: 1px solid var(--mist);
}
.spec__row--head { padding: 12px 0; font: 500 13px/1.4 var(--mono); color: var(--slate); }
.spec__field h3, .spec__field h4 { font-size: 1.25rem; font-weight: 700; margin-bottom: 6px; }
.spec__field p { margin: 0; color: var(--slate); }
.spec__source { font: 400 14px/1.6 var(--mono); color: #33435A; padding-top: 4px; }
.spec__check { display: flex; gap: 10px; align-items: flex-start; padding-top: 3px; font-weight: 500; }
.spec__check .hex-check { margin-top: 2px; }
.spec__mobile-label { display: none; }
.cleanup { margin: 32px 0 0; max-width: 820px; font-size: 1.05rem; color: #33435A; }
.cleanup strong { color: var(--ink); }

@media (max-width: 860px) {
	.spec__row { grid-template-columns: 1fr; gap: 14px; }
	.spec__row--head { display: none; }
	.spec__mobile-label { display: block; font: 500 12px/1.4 var(--mono); color: var(--slate); margin-bottom: 4px; }
	.spec__check { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; }
	.spec__check .spec__mobile-label { grid-column: 1 / -1; }
}

/* Process: a real sequence, so it's numbered */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
.steps__item { counter-increment: step; position: relative; padding-top: 52px; }
.steps__item::before {
	content: counter(step);
	position: absolute; top: 0; left: 0;
	display: grid; place-items: center; width: 34px; height: 38px;
	clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
	background: var(--honey); color: var(--ink); font: 600 15px/1 var(--mono);
}
.steps__item::after { content: ""; position: absolute; top: 19px; left: 46px; right: -16px; height: 1px; background: rgba(253,253,253,.18); }
.steps__item:last-child::after { display: none; }
.steps__item h3 { font-size: 1.15rem; margin-bottom: 10px; }
.steps__item p { margin: 0; color: var(--mist); font-size: 15.5px; }

@media (max-width: 1060px) {
	.steps { grid-template-columns: 1fr; gap: 0; max-width: 640px; }
	.steps__item { padding: 0 0 32px 58px; }
	.steps__item::after { top: 46px; bottom: 6px; left: 17px; right: auto; width: 1px; height: auto; }
	.steps__item:last-child { padding-bottom: 0; }
}

/* Tools */
.tools { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.tools__copy p:last-child { color: #33435A; font-size: 1.08rem; }
.tools__lists { display: grid; gap: 28px; padding-top: 6px; }
.taglist { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.taglist li { font: 400 13.5px/1 var(--mono); padding: 9px 12px; border: 1px solid var(--mist); border-radius: 4px; background: #fff; }
@media (max-width: 860px) { .tools { grid-template-columns: 1fr; } }

/* Team */
.team { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.team__copy p:not(.eyebrow) { font-size: 1.08rem; color: #33435A; }
.case { background: var(--ink); color: var(--paper); padding: clamp(28px, 4vw, 44px); border-radius: 8px; position: relative; }
.case .label { color: var(--honey); }
.case__text { font-size: clamp(1.25rem, 2vw, 1.55rem); font-weight: 600; line-height: 1.35; letter-spacing: -0.015em; margin: 0; }
.audience__label { margin-top: clamp(48px, 6vw, 72px); }
.audience { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--mist); }
.audience li { padding: 22px 24px 4px 0; display: grid; gap: 6px; }
.audience li + li { padding-left: 24px; border-left: 1px solid var(--mist); }
.audience strong { font-size: 1.1rem; }
.audience span { color: var(--slate); }
@media (max-width: 860px) {
	.team { grid-template-columns: 1fr; }
	.audience { grid-template-columns: 1fr; }
	.audience li, .audience li + li { padding: 18px 0; border-left: 0; border-bottom: 1px solid var(--mist); }
}

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(24px, 6vw, 88px); align-items: start; }
.faq .section__head { position: sticky; top: 100px; }
.faq__list { border-top: 1px solid var(--mist); }
.faq__item { border-bottom: 1px solid var(--mist); }
.faq__item summary {
	list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
	padding: 22px 0; font-size: 1.12rem; font-weight: 600;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font: 400 24px/1 var(--mono); color: var(--slate); transition: transform .2s var(--ease); }
.faq__item[open] summary::after { transform: rotate(45deg); color: var(--ink); }
.faq__item p { margin: 0; padding: 0 40px 24px 0; color: #33435A; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } .faq .section__head { position: static; margin-bottom: 8px; } }

/* Contact */
.cta { background: var(--ink); color: var(--paper); padding: var(--section) 0; }
.cta__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.cta__title { font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; margin-bottom: 16px; }
.cta__lede { color: var(--mist); font-size: 1.1rem; margin-bottom: 28px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta__brief { border: 1px solid rgba(253,253,253,.16); border-radius: 8px; padding: 24px 26px; }
.cta__brief .label { color: var(--honey); }
.cta__brief ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cta__brief li { display: flex; gap: 10px; align-items: center; color: var(--paper); }
@media (max-width: 860px) { .cta__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .cta__actions { flex-direction: column; align-items: stretch; } .cta .btn--lg { font-size: 15px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--mist); font-size: 15px; border-top: 1px solid rgba(253,253,253,.1); }
.site-footer__inner { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding-top: 56px; padding-bottom: 40px; }
.site-footer__brand img { height: 34px; width: auto; margin-bottom: 16px; }
.site-footer__brand p { max-width: 30em; margin: 0; }
.site-footer .label { color: var(--paper); margin-bottom: 12px; }
.site-footer__col { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--paper); text-decoration: underline; text-decoration-color: var(--honey); }
.site-footer__email { color: var(--paper); font-weight: 600; }
.site-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer__base { display: flex; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 28px; border-top: 1px solid rgba(253,253,253,.1); font-size: 13px; }
@media (max-width: 760px) { .site-footer__inner { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Blog ---------- */
.listing { padding-top: clamp(40px, 6vw, 72px); }
.listing > .wrap { padding-bottom: var(--section); }
.page-head { margin-bottom: 40px; }
.page-head__title { font-size: clamp(2.1rem, 4.4vw, 3.2rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.06; margin-bottom: 12px; }
.page-head__lede { color: var(--slate); font-size: 1.12rem; margin: 0; }

.post-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.post-list--stack { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--mist); }
.post-row__link { display: grid; gap: 14px; text-decoration: none; height: 100%; }
.post-row__thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius); background: var(--wash); }
.post-row__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.post-row__link:hover .post-row__thumb img { transform: scale(1.03); }
.post-row__body { display: grid; gap: 8px; align-content: start; }
.post-row__meta { font: 400 12.5px/1.4 var(--mono); color: var(--slate); }
.post-row__title { font-size: 1.2rem; font-weight: 700; line-height: 1.25; letter-spacing: -0.015em; }
.post-row__link:hover .post-row__title { text-decoration: underline; text-decoration-color: var(--honey); text-decoration-thickness: 2px; }
.post-row__excerpt { color: var(--slate); font-size: 15.5px; }
.post-list--stack .post-row { border-bottom: 1px solid var(--mist); }
.post-list--stack .post-row__link { grid-template-columns: 200px minmax(0, 1fr); gap: 24px; padding: 24px 0; align-items: start; }
.post-list--stack .post-row__link:not(:has(.post-row__thumb)) { grid-template-columns: 1fr; }
@media (max-width: 860px) { .post-list { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .post-list--stack .post-row__link { grid-template-columns: 1fr; gap: 12px; } }

.nav-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.nav-links .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--mist); border-radius: var(--radius); text-decoration: none; font-weight: 600; }
.nav-links .current { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.empty { padding: 32px; background: var(--wash); border-radius: 8px; }
.empty p { color: #33435A; }
.search-form { display: flex; gap: 8px; max-width: 520px; }
.search-form input {
	flex: 1; min-width: 0; min-height: 44px; padding: 10px 14px;
	border: 1px solid var(--mist); border-radius: var(--radius); font: inherit; background: #fff; color: var(--ink);
}
.search-form input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--honey-soft); }
.back-home { margin-top: 24px; }

/* Single article */
.article__head { padding-top: clamp(40px, 6vw, 72px); margin-bottom: 28px; }
.article__title { font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; margin-bottom: 18px; }
.article__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font: 400 13px/1.5 var(--mono); color: var(--slate); padding-bottom: 22px; border-bottom: 1px solid var(--mist); margin: 0; }
.article__image { margin-top: 0; margin-bottom: 32px; }
.article__image img { width: 100%; border-radius: 8px; }
.entry-content { padding-bottom: var(--section); font-size: 18px; line-height: 1.75; color: #1D2C42; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2 { font-size: 1.75rem; margin-top: 2em; letter-spacing: -0.025em; }
.entry-content h3 { font-size: 1.3rem; margin-top: 1.6em; }
.entry-content a { color: var(--ink); text-decoration-color: var(--honey); text-decoration-thickness: 2px; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li + li { margin-top: .4em; }
.entry-content blockquote { margin: 1.6em 0; padding: 0; font-size: 1.2em; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.entry-content blockquote::before { content: "\201C"; display: block; height: .5em; font-size: 2.4em; line-height: 1; color: var(--honey); }
.entry-content img { border-radius: var(--radius); }
.entry-content table:not(.comparison-matrix) { width: 100%; border-collapse: collapse; font-size: 15px; }
.entry-content table:not(.comparison-matrix) th, .entry-content table:not(.comparison-matrix) td { padding: 10px 12px; border-bottom: 1px solid var(--mist); text-align: left; }
.entry-content table:not(.comparison-matrix) th { background: var(--wash); font-weight: 600; }
.entry-content code { font-family: var(--mono); font-size: .9em; background: var(--wash); padding: .1em .35em; border-radius: 3px; }

/* ---------- Two-step services ---------- */
.stage + .stage { margin-top: clamp(40px, 5vw, 64px); }
.stage__head { display: grid; grid-template-columns: 120px minmax(0, 1fr); column-gap: 32px; margin-bottom: 18px; align-items: baseline; }
.stage__label { grid-row: span 2; margin: 0; font: 500 13px/1.4 var(--mono); color: var(--ink); }
.stage__label::before { content: ""; display: inline-block; width: 11px; height: 12px; margin-right: 8px; vertical-align: -1px; background: var(--honey); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.stage__title { font-size: 1.6rem; letter-spacing: -0.025em; margin-bottom: 6px; }
.stage__text { margin: 0; color: var(--slate); max-width: 46em; }
@media (max-width: 860px) { .stage__head { grid-template-columns: 1fr; } .stage__label { grid-row: auto; margin-bottom: 6px; } }

.btn--ghost { background: transparent; border-color: var(--mist); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.more-row { margin: 24px 0 0; }

/* ---------- Brief builder ---------- */
.brief-wrap { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.brief-wrap__head { position: sticky; top: 100px; }
.brief-wrap__label { margin-top: 28px; }
.brief {
	background: #fff; border: 1px solid var(--mist); border-radius: 8px;
	padding: clamp(20px, 3vw, 32px); box-shadow: 0 24px 48px -32px rgba(11,27,48,.3);
}
.brief__row { border: 0; margin: 0 0 22px; padding: 0; min-width: 0; }
.brief__row--split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 14px; }
.brief__label { display: block; padding: 0; margin: 0 0 8px; font: 500 13px/1.4 var(--mono); color: var(--ink); }
.brief__input {
	width: 100%; min-height: 46px; padding: 10px 13px;
	border: 1px solid var(--mist); border-radius: var(--radius); background: #fff;
	font: 400 16px/1.3 var(--font); color: var(--ink);
	transition: border-color .15s, box-shadow .15s;
}
.brief__input::placeholder { color: #8C97A4; }
.brief__input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--honey-soft); }
select.brief__input { appearance: none; background: #fff 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 1.5 6 6.5l5-5' fill='none' stroke='%230B1B30' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 13px center; padding-right: 36px; }
.brief__input--short { max-width: 180px; }
.brief__help { margin: 6px 0 0; font-size: 13.5px; color: var(--slate); }
.brief__url { margin-top: 10px; }
.brief__more { border-top: 1px solid var(--wash); padding-top: 14px; margin-bottom: 22px; }
.brief__more summary { cursor: pointer; font-weight: 600; font-size: 15px; list-style: none; display: inline-flex; gap: 8px; align-items: center; min-height: 32px; }
.brief__more summary::-webkit-details-marker { display: none; }
.brief__more summary::before { content: "+"; font: 400 18px/1 var(--mono); color: var(--slate); }
.brief__more[open] summary::before { content: "\2212"; }
.brief__more[open] summary { margin-bottom: 18px; }
.brief__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.brief__actions .copy-email__hint { border: 0; padding: 0; font-size: 13px; }
.brief__note { margin: 12px 0 0; font-size: 13px; color: var(--slate); }

.combo { position: relative; }
.combo__list {
	position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 4px);
	max-height: 280px; overflow-y: auto; margin: 0; padding: 6px; list-style: none;
	background: #fff; border: 1px solid var(--mist); border-radius: var(--radius);
	box-shadow: 0 18px 40px -18px rgba(11,27,48,.35);
}
.combo__list li { padding: 9px 10px; border-radius: 4px; cursor: pointer; font-size: 15px; }
.combo__list li:hover, .combo__list li[aria-selected="true"] { background: var(--honey-soft); }
.combo__list .combo__empty { cursor: default; color: var(--slate); font-size: 14px; }
.combo__list .combo__empty:hover { background: none; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chip {
	min-height: 32px; padding: 5px 11px; border: 1px solid var(--mist); border-radius: 4px; background: #fff;
	font: 400 13.5px/1.2 var(--font); color: var(--ink); cursor: pointer; transition: background-color .15s, border-color .15s;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chips--flush { margin-top: 0; }
.chip--level { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 8px 12px; text-align: left; }
.chip--level small { font-size: 12px; color: var(--slate); line-height: 1.3; }
.chip--level[aria-pressed="true"] small { color: var(--mist); }
.brief__optional { color: var(--slate); font-weight: 400; }
.brief__custom { margin-top: 10px; }
.segmented--count span { min-width: 46px; text-align: center; }
.chip[aria-pressed="true"]::before { content: "\2713  "; white-space: pre; color: var(--honey); }

.segmented { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--mist); border-radius: var(--radius); overflow: hidden; }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.segmented span { display: block; padding: 10px 16px; min-height: 44px; font-size: 14.5px; line-height: 24px; cursor: pointer; border-right: 1px solid var(--mist); }
.segmented label:last-child span { border-right: 0; }
.segmented input:checked + span { background: var(--ink); color: var(--paper); }
.segmented input:focus-visible + span { outline: 3px solid var(--honey); outline-offset: -3px; }
.segmented--wrap { display: flex; flex-direction: column; width: 100%; }
.segmented--wrap span { border-right: 0; border-bottom: 1px solid var(--mist); }
.segmented--wrap label:last-child span { border-bottom: 0; }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
.checks label { display: flex; gap: 10px; align-items: center; min-height: 32px; font-size: 15px; cursor: pointer; }
.checks input { width: 18px; height: 18px; accent-color: var(--ink); }

@media (max-width: 960px) { .brief-wrap { grid-template-columns: 1fr; } .brief-wrap__head { position: static; } }
@media (max-width: 560px) {
	.brief__row--split { grid-template-columns: 1fr; }
	.segmented { display: flex; width: 100%; }
	.segmented label { flex: 1; }
	.segmented span { padding: 10px 8px; text-align: center; font-size: 14px; }
	.segmented--wrap span { text-align: left; padding: 10px 14px; }
	.checks { grid-template-columns: 1fr; }
	.brief__actions { flex-direction: column; align-items: stretch; }
}

/* ---------- Industries ---------- */
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; font: 400 13px/1.4 var(--mono); color: var(--slate); }
.crumbs a { color: var(--slate); }
.crumbs a:hover { color: var(--ink); }
.industry__hero { padding: clamp(40px, 6vw, 80px) 0 clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--wash); }
.industry__hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 80px); align-items: end; }
.industry__title { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.04; margin-bottom: 20px; text-wrap: balance; }
.industry__intro { font-size: 1.1rem; color: #33435A; max-width: 38em; margin-bottom: 28px; }
.industry__body { border-top: 1px solid var(--wash); }
.industry__body .entry-content { padding-bottom: 0; max-width: 760px; }
.industry__body .entry-content > h2:first-child { margin-top: 0; }
.industry__card { border: 1px solid var(--mist); border-radius: 8px; padding: 24px; background: #fff; }
.industry__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.industry__steps li { display: grid; gap: 4px; padding-left: 26px; position: relative; }
.industry__steps li::before { content: ""; position: absolute; left: 0; top: 5px; width: 13px; height: 14px; background: var(--honey); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.industry__steps span { color: var(--slate); font-size: 15px; }
@media (max-width: 860px) { .industry__hero-grid { grid-template-columns: 1fr; } }

.catlist { list-style: none; margin: 0; padding: 0; columns: 4 220px; column-gap: 28px; }
.catlist li { break-inside: avoid; padding: 6px 0; border-bottom: 1px solid var(--wash); font-size: 15px; }
.catlist a { text-decoration: none; }
.catlist a:hover { text-decoration: underline; text-decoration-color: var(--honey); text-decoration-thickness: 2px; }
.catlist__more { margin-top: 18px; }
.catlist__more summary { cursor: pointer; font-weight: 600; margin-bottom: 14px; }

.page-head--wide { max-width: 820px; }
.page-head__lede p:last-child { margin-bottom: 0; }
.industry-index { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--mist); }
.industry-index li { border-bottom: 1px solid var(--mist); }
.industry-index a { display: grid; gap: 4px; padding: 18px 20px 18px 0; text-decoration: none; height: 100%; }
.industry-index li:not(:nth-child(3n+1)) a { padding-left: 20px; border-left: 1px solid var(--mist); }
.industry-index__name { font-size: 1.12rem; font-weight: 700; letter-spacing: -0.01em; }
.industry-index a:hover .industry-index__name { text-decoration: underline; text-decoration-color: var(--honey); text-decoration-thickness: 2px; }
.industry-index__meta { font-size: 14px; color: var(--slate); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.industry-index--compact { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); border: 0; gap: 0 24px; }
.industry-index--compact li { border-bottom: 1px solid var(--mist); }
.industry-index--compact a, .industry-index--compact li:not(:nth-child(3n+1)) a { padding: 11px 0; border-left: 0; font-weight: 600; }
.brief-wrap .industry-index--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) {
	.industry-index { grid-template-columns: 1fr; }
	.industry-index li:not(:nth-child(3n+1)) a { padding-left: 0; border-left: 0; }
}
.az-promo { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 48px; padding: 28px; background: var(--wash); border-radius: 8px; }
.az-promo p { margin: 8px 0 0; color: var(--slate); }

.az__tools { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; position: sticky; top: 72px; z-index: 5; background: var(--paper); padding: 14px 0; border-bottom: 1px solid var(--wash); }
.az__filter { max-width: 420px; }
.az__count { margin: 0; font: 400 13px/1.4 var(--mono); color: var(--slate); }
.az__letters { display: flex; flex-wrap: wrap; gap: 4px; margin: 16px 0 8px; }
.az__letters a { display: inline-grid; place-items: center; min-width: 32px; height: 32px; border: 1px solid var(--mist); border-radius: 4px; font: 500 13px/1 var(--mono); text-decoration: none; }
.az__letters a:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.az { padding-bottom: 24px; }
.az__group { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--mist); scroll-margin-top: 150px; }
.az__letter { font-size: 2rem; font-weight: 800; }
.az__list { list-style: none; margin: 0; padding: 0; columns: 3 220px; column-gap: 28px; }
.az__list li { break-inside: avoid; padding: 4px 0; font-size: 15px; }
.az__list a { text-decoration: none; }
.az__list a:hover { text-decoration: underline; text-decoration-color: var(--honey); text-decoration-thickness: 2px; }
@media (max-width: 560px) { .az__group { grid-template-columns: 1fr; gap: 6px; } .az__tools { top: 64px; } }

/* ---------- Blog with sidebar ---------- */
.with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.with-sidebar--article { align-items: stretch; }
.with-sidebar--article .with-sidebar__main { max-width: 760px; }
.sidebar { display: grid; gap: 28px; padding-top: 8px; align-content: start; }
.with-sidebar--article .sidebar { padding-top: clamp(40px, 6vw, 72px); }
.sidebar .search-form { max-width: none; }
.sidebar__list { list-style: none; margin: 0 0 10px; padding: 0; }
.sidebar__list li { padding: 9px 0; border-bottom: 1px solid var(--wash); font-size: 15px; line-height: 1.4; }
.sidebar__list a { text-decoration: none; }
.sidebar__list a:hover { text-decoration: underline; text-decoration-color: var(--honey); }
.sidebar__sticky { position: sticky; top: 96px; }
.sidebar .more-link { font-size: 14px; }
.widget + .widget { margin-top: 24px; }

.house-ad { background: var(--ink); color: var(--paper); border-radius: 8px; padding: 24px; }
.house-ad__eyebrow { display: flex; gap: 8px; align-items: center; margin: 0 0 12px; font: 500 12.5px/1.4 var(--mono); color: var(--honey); }
.house-ad__eyebrow .hex-check { width: 16px; height: 16px; }
.house-ad__title { margin: 0 0 8px; font-size: 1.3rem; font-weight: 750; letter-spacing: -0.02em; line-height: 1.2; }
.house-ad__text { margin: 0 0 18px; color: var(--mist); font-size: 15px; line-height: 1.55; }
.entry-content .house-ad--inline { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; align-items: center; margin: 2.2em 0; }
.entry-content .house-ad--inline .house-ad__eyebrow, .entry-content .house-ad--inline .house-ad__title, .entry-content .house-ad--inline .house-ad__text { grid-column: 1; margin-top: 0; }
.entry-content .house-ad--inline .house-ad__text { margin-bottom: 0; }
.entry-content .house-ad--inline .btn { grid-column: 2; grid-row: 1 / span 3; color: var(--ink); text-decoration: none; }
@media (max-width: 1000px) {
	.with-sidebar { grid-template-columns: 1fr; }
	.with-sidebar--article .sidebar { padding-top: 0; padding-bottom: var(--section); }
	.sidebar__sticky { position: static; }
}
@media (max-width: 560px) {
	.entry-content .house-ad--inline { grid-template-columns: 1fr; }
	.entry-content .house-ad--inline .btn { grid-column: 1; grid-row: auto; margin-top: 16px; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; transition-duration: 1ms !important; }
}
