/* Strategic Business Advisors: Herrington-style components for core blocks.
   Tokens come from theme.json presets. Class names are set in the block editor under Advanced > Additional CSS class(es). */

:root {
	--sba-ink: var(--wp--preset--color--contrast);
	--sba-ink-deep: var(--wp--preset--color--ink-deep);
	--sba-ground: var(--wp--preset--color--ground);
	--sba-white: var(--wp--preset--color--base);
	--sba-muted: var(--wp--preset--color--muted);
	--sba-line: var(--wp--preset--color--line);
	--sba-green: var(--wp--preset--color--accent);
	--sba-green-ink: var(--wp--preset--color--accent-ink);
	--sba-dark-muted: var(--wp--preset--color--on-dark-muted);
	--sba-wide: 1240px;
	--sba-radius: 4px;
	--sba-section: clamp(64px, 8vw, 112px);
	--sba-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23121C27' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

html { scroll-behavior: auto; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
::selection { background: var(--sba-green); color: var(--sba-ink); }
:where(a):focus-visible { outline: 2px solid var(--sba-green-ink); outline-offset: 3px; }

/* Stack top-level sections flush */
.sba-main > .wp-block-post-content > .alignfull,
.sba-main > .alignfull { margin-block-start: 0 !important; margin-block-end: 0 !important; }
.sba-main > .wp-block-post-content { margin-block-start: 0; }
.wp-site-blocks > * + * { margin-block-start: 0; }

/* ---------- Shared ---------- */
.sba-section { padding-block: var(--sba-section); }
.sba-section--tight { padding-block: clamp(48px, 6vw, 80px); }
.sba-eyebrow,
.sba-eyebrow a {
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	text-decoration: none;
}
.sba-eyebrow { margin-block-end: 1rem !important; }
.sba-lede { font-size: 1.125rem; line-height: 1.6; max-width: 36rem; color: var(--sba-muted); }
.sba-measure { max-width: 40rem; }
.sba-center { text-align: center; margin-inline: auto !important; }
.sba-process > h2, .sba-faq > h2 { text-align: center; }
.sba-muted { color: var(--sba-muted); }
.sba-rule { border: 0; border-top: 1px solid var(--sba-line); margin-block: 2rem !important; width: 100%; max-width: none !important; }
.sba-link-arrow a { font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.sba-link-arrow a::after { content: " \2192"; }

/* Buttons */
.wp-block-button .wp-block-button__link { border-radius: var(--sba-radius); transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	color: var(--sba-ink);
	border: 1px solid var(--sba-ink);
	padding: 0.95rem 1.6rem;
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--sba-ink); color: var(--sba-white); }

/* Dark grounds */
.sba-dark { color: var(--sba-white); }
.sba-dark :where(h1, h2, h3, h4) { color: var(--sba-white); }
.sba-dark .sba-lede,
.sba-dark .sba-muted,
.sba-dark p.sba-soft { color: var(--sba-dark-muted); }
.sba-dark .sba-eyebrow { color: var(--sba-green); }
.sba-dark .wp-block-button:not(.is-style-outline) > .wp-block-button__link { background: var(--sba-green); color: var(--sba-ink); border-color: var(--sba-green); }
.sba-dark .wp-block-button:not(.is-style-outline) > .wp-block-button__link:hover { background: var(--sba-white); border-color: var(--sba-white); color: var(--sba-ink); }
.sba-dark .wp-block-button.is-style-outline > .wp-block-button__link { color: var(--sba-white); border-color: rgba(255,255,255,.45); }
.sba-dark .wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--sba-white); color: var(--sba-ink); }
.sba-dark a:where(:not(.wp-element-button)) { color: var(--sba-white); }

/* ---------- HD02 header ---------- */
.sba-header { position: relative; z-index: 20; }
.sba-utility {
	display: grid !important;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 24px;
	padding-block: 18px 14px;
}
.sba-utility > * { margin: 0 !important; }
.sba-utility__note { font-size: 0.875rem; color: var(--sba-muted); }
.sba-utility__logo { justify-self: center; }
.sba-utility__logo img { display: block; height: auto; }
.sba-utility__actions { justify-self: end; gap: 22px !important; }
.sba-utility__phone a { font-weight: 600; text-decoration: none; white-space: nowrap; }
.sba-utility__phone a::before {
	content: "";
	display: inline-block;
	width: 0.95em; height: 0.95em;
	margin-right: 0.45em;
	vertical-align: -0.12em;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233B6A24' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.5c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.sba-utility__cta .wp-block-button__link { padding: 0.8rem 1.2rem; white-space: nowrap; }

.sba-navbar-wrap { position: relative; z-index: 5; margin-block: 0 -31px !important; }
.sba-navbar {
	background: var(--sba-white);
	border-radius: 8px;
	padding: 0 14px;
	box-shadow: 0 12px 32px rgba(18, 28, 39, 0.08);
	min-height: 62px;
}
.sba-navbar .wp-block-navigation__container { gap: 0; }
.sba-navbar .wp-block-navigation-item__content { padding: 20px 16px; text-decoration: none; }
.sba-navbar .wp-block-navigation-item__content:hover,
.sba-navbar .current-menu-item > .wp-block-navigation-item__content { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--sba-green-ink); }
.sba-navbar .wp-block-navigation__submenu-container {
	border: 1px solid var(--sba-line) !important;
	border-radius: var(--sba-radius);
	padding: 8px 0 !important;
	min-width: 220px !important;
	box-shadow: 0 12px 32px rgba(18, 28, 39, 0.08);
}
.sba-navbar .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 10px 20px; }
.sba-navbar .wp-block-navigation-submenu__toggle { margin-left: -10px; margin-right: 8px; }

/* first section sits under the floating nav */
.sba-hero,
.sba-pagehero { padding-top: 31px; }
.sba-pagehero { padding: 120px 0 clamp(56px, 7vw, 88px) !important; }
.sba-pagehero h1 { max-width: 52rem; margin-block: 0.25rem 1rem; }
.sba-pagehero .sba-lede { margin-block-end: 0; }
.sba-postmeta { color: var(--sba-dark-muted); font-size: 0.9375rem; }

/* ---------- H02 hero ---------- */
.sba-hero { background: var(--sba-ground); padding-bottom: 0; }
.sba-hero__frame { gap: 0 !important; margin-block: 0 !important; align-items: stretch !important; }
.sba-hero__text {
	position: relative;
	background: var(--sba-ink);
	padding: clamp(88px, 9vw, 128px) clamp(28px, 5vw, 72px) clamp(64px, 7vw, 96px) !important;
	overflow: hidden;
}
.sba-hero__text > * { position: relative; z-index: 1; }
.sba-hero__text::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 0;
	width: 30%;
	height: 52%;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 160' preserveAspectRatio='none'%3E%3Cg stroke='%23A9D08E' stroke-width='1'%3E%3Cpath d='M4 160V132M16 160V118M28 160V140M40 160V104M52 160V124M64 160V92M76 160V112M88 160V80M100 160V120M112 160V70M124 160V98M136 160V58M148 160V88M160 160V46M172 160V76M184 160V36M196 160V64M208 160V26M220 160V52M232 160V14'/%3E%3C/g%3E%3C/svg%3E") bottom right/100% 100% no-repeat;
	opacity: 0.22;
	pointer-events: none;
	z-index: 0;
}
.sba-hero__text h1 { margin-block: 0 1.25rem; max-width: 15ch; font-size: clamp(2.25rem, 3.7vw, 3.35rem); line-height: 1.05; }
.sba-hero__text .sba-lede { color: var(--sba-dark-muted); max-width: 30rem; margin-block-end: 2rem; }
.sba-hero__media { position: relative; min-height: 520px; background: var(--sba-ink-deep); }
.sba-hero__media .wp-block-image,
.sba-hero__media figure { position: absolute; inset: 0; margin: 0 !important; height: 100%; }
.sba-hero__media img { width: 100%; height: 100% !important; object-fit: cover; object-position: 50% 22%; border-radius: 0 !important; display: block; }
.sba-hero__proof { margin-block-start: 2.25rem !important; font-size: 0.9375rem; color: var(--sba-dark-muted); }
.sba-hero__proof strong { color: var(--sba-white); font-weight: 600; }

/* ---------- ST01 stats ---------- */
.sba-stats { background: var(--sba-ground); }
.sba-stats__row { gap: 0 !important; margin-block: 0 !important; }
.sba-stats__row > .wp-block-column { padding: 8px clamp(16px, 2.5vw, 32px); text-align: center; }
.sba-stats__row > .wp-block-column + .wp-block-column { border-left: 1px solid var(--sba-line); }
.sba-stat__num { font-family: var(--wp--preset--font-family--source-serif-4); font-size: var(--wp--preset--font-size--stat); font-weight: 500; line-height: 1; letter-spacing: -0.02em; margin: 0 0 0.6rem !important; color: var(--sba-ink); }
.sba-stat__label { font-family: var(--wp--preset--font-family--source-serif-4); font-weight: 600; font-size: 1.0625rem; margin: 0 0 0.4rem !important; }
.sba-stat__desc { font-size: 0.9375rem; color: var(--sba-muted); margin: 0 !important; max-width: 17rem; margin-inline: auto !important; }

/* ---------- PP02 tag cloud ---------- */
.sba-tags { list-style: none; padding: 0 !important; margin: 1.25rem 0 2rem !important; display: flex; flex-wrap: wrap; gap: 12px; }
.sba-tags li {
	margin: 0;
	padding: 0.8rem 1.35rem;
	border: 1px solid var(--sba-line);
	border-radius: 999px;
	background: var(--sba-white);
	font-size: 0.9375rem;
	font-weight: 500;
	line-height: 1.2;
}
.sba-prompt { font-family: var(--wp--preset--font-family--source-serif-4); font-weight: 600; font-size: 1.125rem; margin-block: 2rem 0 !important; }
.sba-split { gap: clamp(32px, 6vw, 88px) !important; align-items: center; }
.sba-split--top { align-items: flex-start; }
.sba-photo img { width: 100%; height: 100%; object-fit: cover; }
.sba-photo--tall img { aspect-ratio: 4 / 5; }
.sba-photo--wide img { aspect-ratio: 5 / 4; }

/* ---------- S01 tabbed services ---------- */
.sba-services { background: var(--sba-ink-deep); position: relative; }
.sba-services__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.sba-services__head > * { margin: 0 !important; }
.sba-services .wp-block-tabs { margin-block-start: 2.5rem !important; }
.sba-services .wp-block-tab-list { display: flex; flex-wrap: wrap; gap: 10px; border: 0; margin-bottom: 18px; }
.sba-services .wp-block-tab-list :is(button, [role="tab"]) {
	font-family: var(--wp--preset--font-family--public-sans);
	font-size: 0.9375rem;
	font-weight: 500;
	color: var(--sba-white);
	background: rgba(255,255,255,0.06);
	border: 1px solid rgba(255,255,255,0.16);
	border-radius: var(--sba-radius);
	padding: 0.85rem 1.3rem;
	cursor: pointer;
}
.sba-services .wp-block-tab-list :is(button, [role="tab"])[aria-selected="true"] { background: var(--sba-white); color: var(--sba-ink); border-color: var(--sba-white); }
.sba-services .wp-block-tab-list :is(button, [role="tab"]):focus-visible { outline: 2px solid var(--sba-green); outline-offset: 3px; }
.sba-services .wp-block-tab-panel,
.sba-services .wp-block-tab-panels { color: var(--sba-ink); }
.sba-panel {
	background: var(--sba-white);
	border-radius: var(--sba-radius);
	padding: clamp(20px, 3vw, 36px) !important;
	gap: clamp(28px, 5vw, 72px) !important;
	align-items: center !important;
	margin: 0 !important;
}
.sba-panel h3 { color: var(--sba-ink) !important; font-size: var(--wp--preset--font-size--xx-large); margin-block: 0 1rem; }
.sba-panel p { color: var(--sba-muted); }
.sba-panel .wp-block-button__link { background: var(--sba-ink) !important; color: var(--sba-white) !important; border-color: var(--sba-ink) !important; }
.sba-panel .wp-block-button__link:hover { background: var(--sba-ink-deep) !important; }
.sba-panel img { aspect-ratio: 5 / 4; object-fit: cover; width: 100%; }
.sba-dark .sba-panel .sba-dots li { color: var(--sba-ink); }
.sba-dark .sba-panel .sba-dots li::before { background: var(--sba-green-ink); }

/* dot bullets (Herrington service lists) */
.sba-dots { list-style: none; padding: 0 !important; margin: 1.25rem 0 1.75rem !important; }
.sba-dots li { position: relative; padding-left: 16px; margin: 0 0 0.5rem; color: var(--sba-ink); font-size: 0.9688rem; }
.sba-dots li::before { content: ""; position: absolute; left: 0; top: 0.68em; width: 5px; height: 5px; border-radius: 50%; background: var(--sba-green-ink); }
.sba-dark .sba-dots li { color: var(--sba-white); }
.sba-dark .sba-dots li::before { background: var(--sba-green); }

/* ---------- A04 bio ---------- */
.sba-bio__name { color: var(--sba-green-ink); }
.sba-bio__quote { margin: 0 !important; padding: 0 !important; border: 0 !important; }
.sba-bio__quote p { font-family: var(--wp--preset--font-family--source-serif-4); font-size: clamp(1.625rem, 2.6vw, 2.25rem); line-height: 1.22; font-weight: 500; letter-spacing: -0.015em; color: var(--sba-ink); }
.sba-bio__quote cite { display: block; margin-top: 1.25rem; font-style: normal; font-size: 0.9375rem; color: var(--sba-muted); }
.sba-bio__quote p::before { content: "\201C"; display: block; font-size: 4.5rem; line-height: 0.6; margin-bottom: 0.9rem; color: var(--sba-green-ink); }
.sba-creds { list-style: none; padding: 0 !important; margin: 1.75rem 0 !important; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--sba-line); }
.sba-creds li { margin: 0; padding: 16px 16px 16px 0; border-bottom: 1px solid var(--sba-line); font-size: 0.9375rem; color: var(--sba-muted); line-height: 1.45; }
.sba-creds li strong { display: block; color: var(--sba-ink); font-family: var(--wp--preset--font-family--source-serif-4); font-size: 1.0625rem; font-weight: 600; }
.sba-portrait img { aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 20%; width: 100%; }
.sba-portrait figcaption { text-align: center; margin-top: 0.85rem; }

/* ---------- P01 process ---------- */
.sba-process__rule { position: relative; height: 1px; background: var(--sba-line); max-width: 420px !important; margin: 1.5rem auto 0 !important; }
.sba-process__rule::after { content: ""; position: absolute; left: 50%; top: -1px; width: 120px; height: 3px; transform: translateX(-50%); background: var(--sba-ink); }
.sba-steps { gap: 0 !important; margin-block-start: clamp(40px, 5vw, 64px) !important; }
.sba-steps > .wp-block-column { position: relative; text-align: center; padding: 0 clamp(12px, 2vw, 28px); }
hr.sba-process__rule, hr.sba-step__line { border: 0 !important; opacity: 1 !important; width: auto !important; overflow: visible !important; color: transparent !important; }
.sba-steps > .wp-block-column::before { content: ""; display: block; width: 26px; height: 26px; margin: 0 auto 0.9rem; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233B6A24' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E") center/contain no-repeat; }
.sba-steps h3 { font-size: 1.375rem; margin-block: 0 !important; min-height: 2.6em; display: flex; align-items: flex-end; justify-content: center; }
.sba-step__line { position: relative; height: 1px; background: var(--sba-line); margin: 1.4rem calc(-1 * clamp(12px, 2vw, 28px)) 1.6rem !important; }
.sba-step__line::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 11px; border-radius: 50%; background: var(--sba-ink); transform: translate(-50%, -50%); box-shadow: 0 0 0 5px var(--sba-ground); }
.sba-steps p { color: var(--sba-muted); font-size: 0.9688rem; margin: 0 auto; max-width: 17rem; }
.sba-process .wp-block-buttons { margin-block-start: clamp(40px, 5vw, 56px) !important; }

/* ---------- A03 checklist ---------- */
.sba-checklist { list-style: none; padding: 0 !important; margin: 1.75rem 0 2rem !important; }
.sba-checklist li { position: relative; padding: 0.35rem 0 0.35rem 56px; margin: 0 0 1.1rem; min-height: 40px; display: flex; flex-direction: column; justify-content: center; }
.sba-checklist li::before { content: ""; position: absolute; left: 0; top: 50%; width: 40px; height: 40px; margin-top: -20px; border-radius: 50%; background: var(--sba-green) var(--sba-check) center/18px no-repeat; }
.sba-checklist li strong { font-family: var(--wp--preset--font-family--source-serif-4); font-size: 1.125rem; font-weight: 600; }
.sba-checklist li span { color: var(--sba-muted); font-size: 0.9375rem; line-height: 1.45; }

/* ---------- T01 testimonials ---------- */
.sba-testimonials { background: var(--sba-ground); }
.sba-testimonials__stat a,
.sba-testimonials__stat strong { color: var(--sba-ink); text-decoration: underline; text-underline-offset: 4px; font-weight: 500; }
.sba-quotes { gap: clamp(32px, 6vw, 96px) !important; margin-block-start: clamp(40px, 5vw, 64px) !important; }
.sba-quote { margin: 0 !important; padding: 0 !important; border: 0 !important; }
.sba-quote p { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); line-height: 1.55; color: var(--sba-ink); margin: 0 0 1.75rem; }
.sba-quote cite { display: block; font-style: normal; font-family: var(--wp--preset--font-family--source-serif-4); font-size: 1.125rem; font-weight: 600; color: var(--sba-ink); }
.sba-quote cite::before { content: "\201C"; display: block; font-size: 3.75rem; line-height: 0.5; margin-bottom: 1.1rem; color: var(--sba-ink); font-family: var(--wp--preset--font-family--source-serif-4); font-weight: 700; }
.sba-quote cite span { display: block; font-family: var(--wp--preset--font-family--public-sans); font-size: 0.9375rem; font-weight: 400; color: var(--sba-muted); margin-top: 0.2rem; }
.sba-cta-row { border-top: 1px solid var(--sba-line); margin-block-start: clamp(40px, 5vw, 64px) !important; padding-top: 32px; align-items: center !important; }
.sba-cta-row h3 { font-size: 1.25rem; margin: 0 0 0.25rem !important; }
.sba-cta-row p { margin: 0 !important; color: var(--sba-muted); }

/* ---------- F01 FAQ ---------- */
.sba-faq .wp-block-accordion { margin-block-start: clamp(32px, 4vw, 56px) !important; display: grid; gap: 16px; }
.sba-faq .wp-block-accordion-item { border: 1px solid var(--sba-line); border-radius: var(--sba-radius); background: var(--sba-white); margin: 0 !important; }
.sba-faq .wp-block-accordion-heading { margin: 0 !important; font-size: 1.125rem; }
.sba-faq .wp-block-accordion-heading button,
.sba-faq .wp-block-accordion-heading__toggle { padding: 22px 28px !important; font-family: var(--wp--preset--font-family--source-serif-4); font-weight: 600; font-size: 1.125rem; color: var(--sba-ink); width: 100%; text-align: left; }
.sba-faq .wp-block-accordion-panel { padding: 0 28px 24px !important; color: var(--sba-muted); }
.sba-faq .wp-block-accordion-panel p { margin: 0; padding-top: 18px; border-top: 1px solid var(--sba-line); }
.sba-faq__contact { margin-block-start: 40px !important; align-items: center !important; }
.sba-faq__avatar img { width: 72px !important; height: 72px !important; border-radius: 50% !important; object-fit: cover; object-position: 50% 18%; }
.sba-faq__hello { font-family: var(--wp--preset--font-family--source-serif-4); font-weight: 600; font-size: 1.1875rem; margin: 0 !important; }
.sba-faq__hello + p { margin: 0.2rem 0 0 !important; color: var(--sba-muted); }

/* ---------- C02 contact band ---------- */
.sba-band h2 { margin-block: 0 1rem; }
.sba-band__grid { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px clamp(32px, 6vw, 96px); margin-block-start: clamp(40px, 5vw, 64px) !important; }
.sba-band__item { position: relative; padding-left: 68px; margin: 0 !important; min-height: 48px; }
.sba-band__item::before { content: ""; position: absolute; left: 0; top: 2px; width: 48px; height: 48px; border-radius: 50%; background: var(--sba-green) var(--sba-icon, var(--sba-check)) center/20px no-repeat; }
.sba-band__item h3 { font-size: 1.1875rem; margin: 0 0 0.45rem !important; color: var(--sba-white); }
.sba-band__item p { margin: 0 !important; color: var(--sba-dark-muted); }
.sba-band__item a { color: var(--sba-white); }
.sba-icon-pin { --sba-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23121C27' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12S4 16 4 10a8 8 0 0 1 16 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); }
.sba-icon-phone { --sba-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23121C27' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.5c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E"); }
.sba-icon-mail { --sba-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23121C27' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='M22 7l-10 6L2 7'/%3E%3C/svg%3E"); }
.sba-icon-clock { --sba-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23121C27' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 6v6l4 2'/%3E%3C/svg%3E"); }
.sba-band__social { margin-block-start: clamp(40px, 5vw, 56px) !important; font-size: 0.9375rem; }

/* ---------- S04 service list (service pages) ---------- */
.sba-included { gap: 0 !important; margin-block-start: clamp(40px, 5vw, 64px) !important; }
.sba-included > .wp-block-column { padding: 0 clamp(16px, 2vw, 28px); }
.sba-included > .wp-block-column + .wp-block-column { border-left: 1px solid rgba(255,255,255,0.12); }
.sba-included h3 { font-size: 1.3125rem; padding-bottom: 1.1rem; margin-block: 0 1.1rem !important; border-bottom: 1px solid rgba(255,255,255,0.14); }
.sba-included .sba-dots { margin: 0 !important; }
.sba-included .sba-dots li { color: var(--sba-dark-muted); }
.sba-num { font-family: var(--wp--preset--font-family--source-serif-4); color: var(--sba-green); font-weight: 600; font-size: 0.875rem; margin: 0 0 0.75rem !important; letter-spacing: 0.08em; }

/* ---------- PP01 problem grid (service pages) ---------- */
.sba-problems { gap: 20px !important; margin-block-start: clamp(40px, 5vw, 56px) !important; }
.sba-problems > .wp-block-column { position: relative; background: var(--sba-white); border: 1px solid var(--sba-line); border-radius: var(--sba-radius); padding: 32px 26px 34px; text-align: center; }
.sba-problems > .wp-block-column::before { content: ""; display: block; width: 56px; height: 56px; margin: 0 auto 1.4rem; border-radius: 50%; background: var(--sba-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center/22px no-repeat; }
.sba-problems h3 { font-size: 1.25rem; margin-block: 0 0.9rem !important; }
.sba-problems p { color: var(--sba-muted); font-size: 0.9688rem; margin: 0 !important; }
.sba-problems-line { position: relative; height: 1px; background: var(--sba-line); margin: 0 12.5% !important; top: -1px; }

/* ---------- P02 timeline (about) ---------- */
.sba-timeline { gap: clamp(24px, 3vw, 44px) !important; margin-block-start: clamp(40px, 5vw, 56px) !important; }
.sba-timeline__date { font-size: 0.875rem; color: var(--sba-muted); margin: 0 0 0.6rem !important; }
.sba-timeline h3 { font-size: 1.3125rem; margin-block: 0 !important; padding-bottom: 1.25rem; border-bottom: 1px solid var(--sba-line); position: relative; }
.sba-timeline h3::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 64%; height: 1px; background: var(--sba-ink); }
.sba-timeline p:not(.sba-timeline__date) { color: var(--sba-muted); font-size: 0.9688rem; margin-top: 1.25rem; }

/* ---------- Blog grid ---------- */
.sba-postgrid .wp-block-post-template { gap: 40px 28px; }
.sba-postgrid .wp-block-post-featured-image img { border-radius: var(--sba-radius); }
.sba-postgrid__date { font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sba-muted); margin-block: 1rem 0.35rem; }
.sba-postgrid__title { font-size: 1.375rem; margin: 0 0 0.6rem; }
.sba-postgrid__title a { text-decoration: none; }
.sba-postgrid .wp-block-post-excerpt { color: var(--sba-muted); font-size: 0.9688rem; }
.sba-postgrid .wp-block-post-excerpt__more-link { font-weight: 600; color: var(--sba-ink); }
.sba-empty { max-width: 40rem; font-size: 1.125rem; color: var(--sba-muted); }
.sba-postcta { border-top: 1px solid var(--sba-line); margin-block: clamp(48px, 6vw, 80px) 2rem !important; padding-top: clamp(32px, 4vw, 48px); }
.single .sba-section .wp-block-post-content { font-size: 1.125rem; }

/* ---------- Booking ---------- */
.sba-booking { background: var(--sba-white); border: 1px solid var(--sba-line); border-radius: var(--sba-radius); padding: clamp(8px, 1.5vw, 16px); min-height: 640px; }
.sba-booking iframe { display: block; width: 100%; min-height: 620px; border: 0; }

/* ---------- Footer ---------- */
.sba-footer { font-size: 0.9375rem; }
.sba-footer__cols { gap: clamp(32px, 5vw, 72px) !important; }
.sba-footer__blurb { color: var(--sba-dark-muted); max-width: 22rem; margin-top: 1.25rem; }
.sba-footer__label { font-family: var(--wp--preset--font-family--source-serif-4); font-weight: 600; font-size: 1rem; margin: 0 0 1rem !important; color: var(--sba-white); }
.sba-footer__links { list-style: none; padding: 0 !important; margin: 0 !important; }
.sba-footer__links li { margin: 0 0 0.55rem; }
.sba-footer a { color: var(--sba-dark-muted); text-decoration: none; }
.sba-footer a:hover { color: var(--sba-white); text-decoration: underline; }
.sba-footer__contact { color: var(--sba-dark-muted); line-height: 1.9; }
.sba-footer__social a { color: var(--sba-green); font-weight: 600; }
.sba-footer__areas { color: var(--sba-dark-muted); border-top: 1px solid rgba(255,255,255,0.1); padding-top: 28px; margin-block-start: clamp(40px, 5vw, 64px) !important; font-size: 0.875rem; }
.sba-footer__bottom { color: var(--sba-dark-muted); font-size: 0.8125rem; margin-block-start: 12px !important; }
.sba-footer__bottom p { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.sba-utility__note { display: none; }
	.sba-utility { grid-template-columns: auto 1fr; }
	.sba-utility__logo { justify-self: start; }
	.sba-navbar .wp-block-navigation-item__content { padding: 20px 11px; }
}
@media (max-width: 781px) {
	.sba-header { display: grid !important; grid-template-columns: 1fr auto; align-items: center; padding-inline: 20px !important; }
	.sba-header > * { margin: 0 !important; max-width: none !important; }
	.sba-utility { display: flex !important; padding-block: 14px; }
	.sba-utility__actions { display: none !important; }
	.sba-utility__logo img { width: 140px !important; }
	.sba-navbar-wrap { margin: 0 !important; }
	.sba-navbar { background: transparent; box-shadow: none; min-height: 0; padding: 0; }
	.sba-navbar .wp-block-navigation__responsive-container-open { width: 44px; height: 44px; border: 1px solid var(--sba-line); border-radius: var(--sba-radius); background: var(--sba-white); display: flex; align-items: center; justify-content: center; }
	.sba-navbar .wp-block-navigation__responsive-container.is-menu-open { padding: 24px; }
	.sba-navbar .is-menu-open .wp-block-navigation-item__content { padding: 12px 0; font-size: 1.25rem; }
	.sba-hero, .sba-pagehero { padding-top: 0; }
	.sba-pagehero { padding: 64px 0 56px !important; }
	.sba-hero { padding-inline: 0 !important; }
	.sba-hero__frame { flex-direction: column-reverse; }
	.sba-hero__text { padding: 48px 24px 56px !important; }
	.wp-block-columns.sba-hero__frame > .wp-block-column.sba-hero__media { min-height: 0; flex-basis: auto !important; height: 440px; }
	.wp-block-columns.sba-hero__frame > .wp-block-column.sba-hero__text { flex-basis: auto !important; }
	.sba-stats__row > .wp-block-column + .wp-block-column { border-left: 0; border-top: 1px solid var(--sba-line); padding-top: 28px; }
	.sba-stats__row { gap: 28px !important; }
	.sba-steps { gap: 36px !important; }
	.sba-steps h3 { min-height: 0; }
	.sba-step__line { margin-inline: 0 !important; }
	.sba-band__grid, .sba-creds { grid-template-columns: 1fr; }
	.sba-included > .wp-block-column + .wp-block-column { border-left: 0; padding-top: 8px; }
	.sba-included { gap: 36px !important; }
	.sba-problems-line { display: none; }
	.sba-services .wp-block-tab-list { overflow-x: auto; flex-wrap: nowrap; }
	.sba-services .wp-block-tab-list :is(button, [role="tab"]) { white-space: nowrap; }
	.sba-faq .wp-block-accordion-heading button, .sba-faq .wp-block-accordion-heading__toggle { padding: 18px 20px !important; }
	.sba-faq .wp-block-accordion-panel { padding: 0 20px 20px !important; }
}
@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; animation: none !important; }
}

/* Elementor pages */
.wp-block-post-content > .elementor { max-width: none !important; width: 100%; margin: 0 !important; }
.wp-block-post-content:has(> .elementor) { padding: 0 !important; margin-inline: 0 !important; width: 100% !important; max-width: none !important; }
.sba-main:has(.elementor) { padding-inline: 0 !important; }
.elementor :where(h1,h2,h3,h4,h5,h6,p) { margin-block: 0; }
/* Elementor nested tabs: its core CSS resolves the active tab color from the kit accent after page CSS loads; pin the tab colors here. */
.elementor-widget-n-tabs[data-id] { --n-tabs-title-background-color: rgba(255,255,255,.06); --n-tabs-title-background-color-hover: rgba(255,255,255,.12); --n-tabs-title-background-color-active: #FFFFFF; }
.sba-pagehero { padding-inline: 24px !important; }
/* Legal pages */
.sba-legal-text p { margin: 0 0 1rem; }
.sba-legal-text ul { margin: 0 0 1rem; padding-left: 1.25rem; }
.sba-legal-text li { margin: 0 0 .5rem; padding-left: .25rem; }
.sba-legal-text li::marker { color: var(--sba-green-ink); }
.sba-legal-text a { color: var(--sba-ink); text-decoration: underline; text-underline-offset: 3px; word-break: break-word; }
.sba-legal-text strong { color: var(--sba-ink); }
/* Footer spacing */
.sba-footer.sba-footer { padding-top: clamp(72px, 8vw, 104px) !important; padding-bottom: 32px !important; }

/* Anchor offset for homepage services section */
#services, #book { scroll-margin-top: 96px; }

/* Services is a menu title only (no page) */
.sba-navbar .wp-block-navigation-submenu > a:not([href]) { cursor: default; }

/* ==========================================================
   Motion: hover states and entrance animations
   (entrance classes are added by assets/js/motion.js)
   ========================================================== */
:root { --sba-ease: cubic-bezier(.2,.7,.2,1); }

/* Focus stays visible for keyboard users */
.sba-btn:focus-visible, .sba-btn-green:focus-visible, .sba-btn-ghost:focus-visible, .sba-btn-ghost-light:focus-visible,
.wp-element-button:focus-visible, .elementor-button:focus-visible { outline: 2px solid #FAB200; outline-offset: 3px; }

@media (prefers-reduced-motion: no-preference) {

	/* Buttons: lift and tint */
	.sba-btn, .sba-btn-green, .sba-btn-ghost, .sba-btn-ghost-light,
	.wp-block-button__link, .elementor-widget-button .elementor-button {
		transition: transform .25s var(--sba-ease), background-color .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease !important;
	}
	.sba-btn:hover, .sba-btn-green:hover, .sba-btn-ghost:hover, .sba-btn-ghost-light:hover,
	.wp-block-button__link:hover, .elementor-widget-button .elementor-button:hover {
		transform: translateY(-2px);
		box-shadow: 0 10px 22px -12px rgba(10,17,25,.45);
	}
	.sba-btn:active, .sba-btn-green:active, .sba-btn-ghost:active, .sba-btn-ghost-light:active,
	.wp-block-button__link:active, .elementor-widget-button .elementor-button:active { transform: translateY(0); box-shadow: none; }
	.sba-btn-green:hover { background-color: #FFC533 !important; }
	.sba-btn-ghost-light:hover { background-color: #FFFFFF !important; color: #16324F !important; border-color: #FFFFFF !important; }
	.sba-btn-ghost:hover { background-color: #16324F !important; color: #FFFFFF !important; }

	/* Text links with an underline: the line eases down */
	.elementor a.e-paragraph-link-base, .sba-footer a, .sba-legal-text a {
		text-decoration-thickness: 1px; text-underline-offset: 4px;
		transition: text-underline-offset .2s ease, color .2s ease, opacity .2s ease;
	}
	.elementor a.e-paragraph-link-base:hover, .sba-legal-text a:hover { text-underline-offset: 7px; }
	.sba-footer a:hover { color: #FAB200; }

	/* Clickable cards: lift with a soft shadow */
	.sba-card { transition: transform .35s var(--sba-ease), box-shadow .35s ease, border-color .35s ease; }
	.sba-card:has(a):hover { transform: translateY(-4px); box-shadow: 0 18px 36px -24px rgba(10,17,25,.35); border-color: #16324F; }

	/* Linked tags (nearby cities) */
	a.sba-tag, .sba-tag a, a:has(> .sba-tag) { transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
	a.sba-tag:hover, a:hover > .sba-tag { background-color: #16324F; border-color: #16324F; color: #FFFFFF; }

	/* Header nav: underline grows from the left */
	.sba-navbar .wp-block-navigation-item__content {
		background-image: linear-gradient(currentColor, currentColor);
		background-repeat: no-repeat; background-position: 0 100%; background-size: 0 1px;
		transition: background-size .3s var(--sba-ease), color .2s ease;
	}
	.sba-navbar .wp-block-navigation-item__content:hover,
	.sba-navbar .current-menu-item > .wp-block-navigation-item__content { background-size: 100% 1px; }
	.sba-navbar .wp-block-navigation__submenu-container .wp-block-navigation-item__content { background-image: none; transition: padding-left .2s ease, color .2s ease; }
	.sba-navbar .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { padding-left: 1.4em; }

	/* Photos: slow zoom inside their frame */
	[data-id$="-media"] { overflow: hidden; border-radius: 4px; }
	[data-id$="-media"] img { transition: transform 1.2s var(--sba-ease); }
	[data-id$="-media"]:hover img { transform: scale(1.035); }
	.e-n-tabs img { transition: transform 1.2s var(--sba-ease); }
	.e-n-tabs .elementor-widget-image { overflow: hidden; border-radius: 4px; }
	.e-n-tabs .elementor-widget-image:hover img { transform: scale(1.035); }

	/* Icon rows: the icon nudges when the row is hovered */
	.sba-icon-circle { transition: transform .3s var(--sba-ease), background-color .3s ease; }
	[data-id^="who-item-"]:hover .sba-icon-circle, [data-id^="band-"]:hover .sba-icon-circle,
	[data-id^="inc-"]:hover .sba-icon-circle, [data-id^="prob-"]:hover .sba-icon-circle { transform: scale(1.08); }

	/* Tabs and FAQ */
	.e-n-tab-title { transition: background-color .25s ease, color .25s ease, border-color .25s ease; }
	.e-n-accordion-item { transition: border-color .25s ease, background-color .25s ease; }
	.e-n-accordion-item:hover { border-color: #16324F !important; }
	.e-n-accordion-item-title-icon { transition: transform .3s var(--sba-ease); }
	.e-n-accordion-item-title:hover .e-n-accordion-item-title-icon { transform: rotate(90deg); }

	/* Blog cards */
	.wp-block-post-template > li { transition: transform .35s var(--sba-ease); }
	.wp-block-post-template > li:hover { transform: translateY(-4px); }
	.wp-block-post-template .wp-block-post-featured-image { overflow: hidden; }
	.wp-block-post-template .wp-block-post-featured-image img { transition: transform 1.2s var(--sba-ease); }
	.wp-block-post-template > li:hover .wp-block-post-featured-image img { transform: scale(1.04); }

	/* Hero: a short, one-time intro on load (text stays readable immediately) */
	@keyframes sba-rise { from { transform: translateY(14px); } to { transform: none; } }
	@keyframes sba-fade { from { opacity: 0; } to { opacity: 1; } }
	[data-id="hero-text"] > * { animation: sba-rise .8s var(--sba-ease) both; }
	[data-id="hero-text"] > :nth-child(3) { animation-delay: .06s; }
	[data-id="hero-text"] > :nth-child(4) { animation-delay: .12s; }
	[data-id="hero-text"] > :nth-child(5) { animation-delay: .18s; }
	[data-id="hero-media"] img { animation: sba-fade 1s ease both; }
	[data-id="hero-card"] { animation: sba-rise .9s var(--sba-ease) .15s both, sba-fade .9s ease .15s both; }
	[data-id="hero-bars"] { animation: sba-fade 1.6s ease .3s both; }

	/* Entrance on scroll */
	.sba-anim [data-sba-reveal] {
		opacity: 0;
		transform: translateY(22px);
		transition: opacity .7s ease, transform .8s var(--sba-ease);
		transition-delay: var(--sba-delay, 0ms);
		will-change: opacity, transform;
	}
	.sba-anim [data-sba-reveal="media"] { transform: translateY(18px) scale(.985); }
	.sba-anim [data-sba-reveal].is-in { opacity: 1; transform: none; will-change: auto; }
	/* Cards that lift on hover keep their hover transition after they arrive */
	.sba-anim .sba-card[data-sba-reveal].is-in { transition: transform .35s var(--sba-ease), box-shadow .35s ease, border-color .35s ease, opacity .7s ease; transition-delay: 0ms; }
	.sba-anim .sba-card[data-sba-reveal].is-in:has(a):hover { transform: translateY(-4px); }
	.sba-anim .wp-block-post-template > li.is-in:hover { transform: translateY(-4px); }
}

/* ==========================================================
   SBA v3 widget styling (tabs, accordion, icon lists)
   ========================================================== */
.elementor .e-n-tabs { --n-tabs-title-color: #AFC0D4; --n-tabs-title-color-hover: #FFFFFF; --n-tabs-title-color-active: #16324F; --n-tabs-title-background-color: transparent; --n-tabs-title-background-color-hover: rgba(255,255,255,.12); --n-tabs-title-background-color-active: #FAB200; --n-tabs-title-padding-block-start: 14px; --n-tabs-title-padding-block-end: 14px; --n-tabs-title-padding-inline-start: 22px; --n-tabs-title-padding-inline-end: 22px; --n-tabs-title-border-radius: 4px; --n-tabs-gap: 18px; --n-tabs-heading-gap: 22px; }
.elementor .e-n-tabs-heading { flex-wrap: wrap; gap: 10px; }
.elementor .e-n-tab-title { font-family: 'Public Sans', sans-serif; font-weight: 600; font-size: 16px; }
.elementor .e-n-tabs-content > div { background: #FFFFFF; border-radius: 4px; }
.elementor .e-n-accordion-item { border: 1px solid #D7DFE8; border-radius: 4px; margin-bottom: 12px; background: #FFFFFF; }
.elementor .e-n-accordion-item-title { padding: 18px 20px; font-family: 'Source Serif 4', Georgia, serif; font-weight: 600; font-size: 19px; color: #16324F; }
.elementor .e-n-accordion-item[open] .e-n-accordion-item-title { color: #16324F; }
.elementor .e-n-accordion-item > .e-con { padding: 0 20px 18px; }
.elementor .elementor-icon-list-item { align-items: flex-start; }
.elementor .elementor-icon-list-icon { padding-top: 3px; }


/* Podcast episode embeds */
.sba-embed{margin:0 auto;max-width:var(--wp--style--global--wide-size,1100px);}
.sba-embed--video{position:relative;aspect-ratio:16/9;border-radius:6px;overflow:hidden;background:var(--wp--preset--color--ink-deep,#0E2035);}
.sba-embed--video iframe{position:absolute;inset:0;width:100%;height:100%;border:0;}
.sba-embed--audio iframe{width:100%;max-width:100%;border:0;border-radius:10px;display:block;}
.sba-embed--audio{min-height:175px;}
.sba-postgrid .wp-block-post-featured-image img{border-radius:6px;}
.sba-episodes .sba-postgrid__title{font-size:1.05rem;line-height:1.35;}

/* ---------- SBA block template headings (podcast, blog, single) ---------- */
.sba-main .wp-block-heading,
.sba-main .wp-block-post-title,
.sba-main .sba-postgrid__title,
.sba-main .wp-block-post-navigation-link {
	font-family: var(--wp--preset--font-family--source-serif-4, 'Source Serif 4', Georgia, serif);
	font-weight: 500;
	letter-spacing: -0.015em;
}
.sba-pagehero h1.wp-block-heading,
.sba-pagehero h1.wp-block-post-title {
	font-size: clamp(2rem, 1.35rem + 2.4vw, 2.6rem);
	line-height: 1.14;
}
.sba-main .sba-postcta h2,
.sba-main .sba-band h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.05rem); line-height: 1.2; }
.sba-postimage { margin-block: clamp(32px, 4vw, 52px) clamp(24px, 3vw, 40px); }
.sba-postimage img { border-radius: var(--sba-radius); width: 100%; }

/* ---------- SBA contact band on small screens ---------- */
/* Two narrow columns squeeze the email address and the service-area list into one word per line. */
@media (max-width: 680px) {
	.s-band-grid { grid-template-columns: 1fr !important; }
}
.s-band-grid a[href^="mailto:"] { overflow-wrap: anywhere; word-break: break-word; }
.s-band-grid p, .s-band-grid a { hyphens: none; }

/* ---------- SBA long strings and embeds ---------- */
/* A pasted URL in the legal pages was pushing the layout wider than the phone. */
.sba-text, .sba-lede, .sba-text-dark, .sba-lede-dark, .e-paragraph-base, .wp-block-list li, .sba-main p, .sba-main li { overflow-wrap: anywhere; }
/* The booking widget reports its own width; never let it exceed its column. */
iframe[src*="leadconnectorhq"], iframe[id^="u4bgkfaX98AY5dVhkeTh"], .sba-main iframe { max-width: 100% !important; width: 100% !important; display: block; }

/* ---------- SBA footer build credit ---------- */
.sba-footer__credit {
	margin: 0 !important;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: 0.875rem;
	letter-spacing: 0.01em;
	color: var(--sba-white);
}
.sba-footer__credit a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--sba-green);
	font-weight: 600;
	text-decoration: none;
	transition: color .2s ease, opacity .2s ease;
}
.sba-footer__credit a span {
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
}
.sba-footer__credit img {
	display: block;
	height: 24px;
	width: auto;
	flex: 0 0 auto;
}
.sba-footer__credit a:hover,
.sba-footer__credit a:focus-visible { color: var(--sba-white); }
.sba-footer__credit a:hover img { opacity: .85; }
@media (max-width: 782px) {
	.sba-footer__bottom { row-gap: 10px; }
	.sba-footer__credit { padding-top: 4px; }
}
