@font-face {
	font-family: "HB Manrope";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url("../fonts/manrope-latin-var.woff2") format("woff2");
}

@font-face {
	font-family: "HB Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/inter-latin-var.woff2") format("woff2");
}

:root {
	--hb-color-ink: #17191b;
	--hb-color-slate: #4d5357;
	--hb-color-cement: #d7d5d0;
	--hb-color-cloud: #f5f4f0;
	--hb-color-primary: #b76332;
	--hb-color-accent: #b76332;
	--hb-color-white: #ffffff;
	--hb-color-paper: #fbfaf7;
	--hb-color-rule: #d8d4cb;
	--hb-font-display: "HB Manrope", "Segoe UI", Helvetica, Arial, sans-serif;
	--hb-font-sans: "HB Inter", "Segoe UI", Helvetica, Arial, sans-serif;
	--hb-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
	--hb-space-2xs: 0.5rem;
	--hb-space-xs: 0.75rem;
	--hb-space-sm: 1rem;
	--hb-space-md: 1.5rem;
	--hb-space-lg: 2.25rem;
	--hb-space-xl: 3.5rem;
	--hb-space-2xl: 5.5rem;
	--hb-content-width: 760px;
	--hb-wide-width: 1240px;
	--hb-reading-measure: 68ch;
	--hb-radius-sm: 0;
	--hb-radius-md: 0;
	--hb-border: 1px solid color-mix(in srgb, var(--hb-color-slate) 24%, transparent);
	--hb-shadow-sm: 0 0.75rem 2rem rgba(23, 25, 27, 0.05);
	--hb-shadow-lg: 0 1.5rem 4rem rgba(23, 25, 27, 0.1);
	--hb-transition-fast: 150ms ease;
	--hb-transition-ui: 180ms ease;
	--hb-header-height: 6rem;
	--hb-z-header: 20;
	--hb-z-overlay: 100;

	/*
	 * Fallbacks for legacy Gutenberg markup. WordPress normally creates these
	 * variables from theme.json; explicit aliases keep copied block content
	 * readable even if global styles are disabled in Bricks.
	 */
	--wp--preset--color--ink: var(--hb-color-ink);
	--wp--preset--color--slate: var(--hb-color-slate);
	--wp--preset--color--cement: var(--hb-color-cement);
	--wp--preset--color--cloud: var(--hb-color-cloud);
	--wp--preset--color--technical-blue: var(--hb-color-primary);
	--wp--preset--color--copper: var(--hb-color-accent);
	--wp--preset--color--white: var(--hb-color-white);
	--wp--preset--font-family--system-sans: var(--hb-font-sans);
	--wp--preset--font-family--mono: var(--hb-font-mono);
	--wp--preset--font-size--small: 0.875rem;
	--wp--preset--font-size--medium: 1.125rem;
	--wp--preset--font-size--large: 1.5rem;
	--wp--preset--font-size--x-large: 2.25rem;
	--wp--preset--font-size--display: 3.75rem;
	--wp--preset--spacing--10: var(--hb-space-2xs);
	--wp--preset--spacing--20: var(--hb-space-xs);
	--wp--preset--spacing--30: var(--hb-space-sm);
	--wp--preset--spacing--40: var(--hb-space-md);
	--wp--preset--spacing--50: var(--hb-space-lg);
	--wp--preset--spacing--60: var(--hb-space-xl);
	--wp--preset--spacing--70: var(--hb-space-2xl);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	font-size: 100%;
	scroll-behavior: smooth;
}

body {
	color: var(--hb-color-ink);
	background: var(--hb-color-cloud);
	font-family: var(--hb-font-sans);
	font-size: 1.0625rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

:where(h1, h2, h3, h4, h5, h6) {
	color: var(--hb-color-ink);
	font-family: var(--hb-font-display);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.1;
	text-wrap: balance;
}

:where(img, video, iframe) {
	max-width: 100%;
}

img {
	height: auto;
}

a {
	color: var(--hb-color-primary);
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.18em;
}

a:hover {
	text-decoration-thickness: 0.14em;
}

:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
	outline: 3px solid var(--hb-color-white);
	outline-offset: 2px;
	box-shadow: 0 0 0 7px var(--hb-color-ink);
}

::selection {
	color: var(--hb-color-white);
	background: var(--hb-color-accent);
}

:target {
	scroll-margin-block-start: calc(var(--hb-header-height) + var(--hb-space-md));
}

.screen-reader-text,
.hb-visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	border: 0;
	white-space: nowrap;
}

.screen-reader-text:focus,
.hb-visually-hidden:focus {
	z-index: var(--hb-z-overlay);
	top: var(--hb-space-sm);
	left: var(--hb-space-sm);
	width: auto;
	height: auto;
	padding: var(--hb-space-xs) var(--hb-space-sm);
	clip: auto;
	clip-path: none;
	color: var(--hb-color-white);
	background: var(--hb-color-ink);
	white-space: normal;
}

.hb-container {
	width: min(calc(100% - clamp(2.2rem, 8vw, 5rem)), var(--hb-wide-width));
	margin-inline: auto;
}

.hb-container--content {
	max-width: var(--hb-content-width);
}

.hb-section {
	padding-block: clamp(4rem, 8vw, 7.5rem);
}

.hb-section--compact {
	padding-block: clamp(3rem, 6vw, 5rem);
}

.hb-section--bordered {
	border-block: var(--hb-border);
}

.hb-kicker {
	margin-block: 0 var(--hb-space-xs);
	color: var(--hb-color-primary);
	font-size: 0.875rem;
	font-weight: 750;
	letter-spacing: 0.12em;
	line-height: 1.4;
	text-transform: uppercase;
}

.hb-kicker--light {
	color: var(--hb-color-cement);
}

.hb-section-heading {
	max-width: 18ch;
	margin-block-start: 0;
}

.hb-section-intro,
.hb-lead {
	max-width: var(--hb-reading-measure);
	color: var(--hb-color-slate);
	font-size: clamp(1.125rem, 2vw, 1.4rem);
	line-height: 1.65;
}

.hb-btn,
.brxe-button.hb-btn,
.wp-element-button,
.wp-block-button__link {
	display: inline-flex;
	min-height: 2.9rem;
	align-items: center;
	justify-content: center;
	padding: 0.78rem 1.2rem;
	border: 1px solid transparent;
	border-radius: var(--hb-radius-sm);
	font: 700 0.95rem/1.3 var(--hb-font-sans);
	text-align: center;
	text-decoration: none;
	transition:
		color var(--hb-transition-fast),
		background-color var(--hb-transition-fast),
		border-color var(--hb-transition-fast),
		transform var(--hb-transition-fast);
}

.hb-btn--primary,
.brxe-button.hb-btn--primary,
.wp-element-button,
.wp-block-button:not(.is-style-outline) .wp-block-button__link {
	color: var(--hb-color-white);
	background: var(--hb-color-primary);
}

.hb-btn--primary:hover,
.brxe-button.hb-btn--primary:hover,
.wp-element-button:hover,
.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
	color: var(--hb-color-white);
	background: var(--hb-color-ink);
}

.hb-btn--secondary,
.brxe-button.hb-btn--secondary,
.wp-block-button.is-style-outline .wp-block-button__link {
	border-color: currentColor;
	color: var(--hb-color-primary);
	background: transparent;
}

.hb-btn--secondary:hover,
.brxe-button.hb-btn--secondary:hover,
.wp-block-button.is-style-outline .wp-block-button__link:hover {
	color: var(--hb-color-white);
	border-color: var(--hb-color-primary);
	background: var(--hb-color-primary);
}

.hb-btn--text,
.brxe-button.hb-btn--text {
	min-height: auto;
	padding: 0;
	border: 0;
	color: var(--hb-color-primary);
	background: transparent;
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.hb-card-grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 1.25rem;
}

.hb-card {
	grid-column: span 3;
	height: 100%;
	padding: clamp(1.4rem, 3vw, 2rem);
	border: var(--hb-border);
	border-radius: var(--hb-radius-md);
	background: var(--hb-color-white);
	transition:
		border-color var(--hb-transition-ui),
		background-color var(--hb-transition-ui);
}

.hb-card:hover {
	border-color: var(--hb-color-accent);
	background: var(--hb-color-paper);
}

.hb-card__index {
	display: inline-block;
	margin-block-end: var(--hb-space-lg);
	color: var(--hb-color-primary);
	font: 700 0.875rem/1.4 var(--hb-font-mono);
}

.hb-card :where(h2, h3),
.hb-service-card :where(h2, h3) {
	margin-block-start: 0;
}

.hb-card p,
.hb-service-card p {
	color: var(--hb-color-slate);
}

.hb-service-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.25rem;
}

.hb-service-card {
	position: relative;
	min-height: 16rem;
	padding: clamp(1.6rem, 4vw, 2.6rem);
	overflow: hidden;
	border: var(--hb-border);
	border-inline-start: 0.2rem solid var(--hb-color-primary);
	background: var(--hb-color-white);
}

.hb-service-card::after {
	content: none;
}

.hb-service-card > * {
	position: relative;
	z-index: 1;
}

.hb-process {
	padding: 0;
	list-style: none;
	counter-reset: hb-process;
}

/* Retained for backward compatibility with managed templates from kit 0.1.2. */
.hb-system-list {
	padding-inline-start: 1.2rem;
}

.hb-process > li,
.hb-process-step {
	position: relative;
	padding: 0 0 var(--hb-space-lg) 4.5rem;
	counter-increment: hb-process;
}

.hb-process > li:not(:last-child)::before,
.hb-process-step:not(:last-child)::before {
	position: absolute;
	top: 2.7rem;
	bottom: 0;
	left: 1.35rem;
	width: 1px;
	background: color-mix(in srgb, var(--hb-color-primary) 30%, transparent);
	content: "";
}

.hb-process > li::after,
.hb-process-step::after {
	position: absolute;
	top: 0;
	left: 0;
	display: grid;
	width: 2.7rem;
	height: 2.7rem;
	place-items: center;
	border: 1px solid var(--hb-color-primary);
	border-radius: 50%;
	color: var(--hb-color-primary);
	background: var(--hb-color-white);
	content: "0" counter(hb-process);
	font: 700 0.75rem/1 var(--hb-font-mono);
}

.hb-article-card {
	height: 100%;
	overflow: hidden;
	border: var(--hb-border);
	border-radius: var(--hb-radius-md);
	background: var(--hb-color-white);
}

.hb-article-card :where(img, .wp-block-post-featured-image img) {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.hb-article-card__body {
	padding: var(--hb-space-md);
}

.hb-article-card :where(h2, h3, .wp-block-post-title) a {
	color: inherit;
	text-decoration: none;
}

.hb-article-card :where(h2, h3, .wp-block-post-title) a:hover {
	color: var(--hb-color-primary);
	text-decoration: underline;
}

.hb-author-card {
	display: grid;
	grid-template-columns: minmax(9rem, 0.75fr) minmax(0, 2.25fr);
	gap: clamp(1.5rem, 4vw, 3.5rem);
	align-items: stretch;
	padding: clamp(1.5rem, 4vw, 3rem);
	border: var(--hb-border);
	background: var(--hb-color-white);
	box-shadow: var(--hb-shadow-sm);
}

.hb-author-mark {
	position: relative;
	display: grid;
	min-height: 15rem;
	place-items: center;
	overflow: hidden;
	color: var(--hb-color-white);
	background: var(--hb-color-ink);
	font-size: clamp(2.8rem, 7vw, 5rem);
	font-weight: 750;
	letter-spacing: -0.08em;
}

.hb-author-mark img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: inherit;
	object-fit: cover;
	object-position: 50% 30%;
}

.hb-profile-portrait {
	margin: 0 0 clamp(2rem, 5vw, 4rem);
}

.hb-profile-portrait img {
	display: block;
	width: 100%;
	max-height: min(72vh, 52rem);
	border: var(--hb-border);
	object-fit: cover;
	object-position: center 24%;
}

.hb-profile-portrait--about img {
	aspect-ratio: 16 / 10;
	object-position: center 28%;
}

.hb-profile-portrait--background img {
	aspect-ratio: 16 / 9;
	object-position: center 32%;
}

.hb-profile-portrait--training img {
	aspect-ratio: 16 / 10;
	object-position: center 22%;
}

.hb-profile-portrait figcaption {
	margin-block-start: var(--hb-space-2xs);
	color: var(--hb-color-slate);
	font-size: 0.82rem;
}

.hb-principles {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--hb-space-sm);
	margin-block-start: var(--hb-space-md);
}

.hb-principle {
	padding-block-start: var(--hb-space-sm);
	border-block-start: 2px solid var(--hb-color-accent);
	color: var(--hb-color-slate);
	font-size: 0.875rem;
}

.hb-cta {
	position: relative;
	overflow: hidden;
	padding: clamp(2rem, 5vw, 4.5rem);
	color: var(--hb-color-white);
	background: var(--hb-color-primary);
}

.hb-cta > * {
	position: relative;
	z-index: 1;
}

.hb-cta :where(h1, h2, h3) {
	max-width: 18ch;
	margin-block-start: 0;
	color: var(--hb-color-white);
}

.hb-cta p {
	max-width: 58ch;
	color: rgba(255, 255, 255, 0.86);
}

.hb-cta .hb-btn,
.hb-cta .brxe-button,
.hb-cta .wp-block-button__link {
	color: var(--hb-color-ink);
	background: var(--hb-color-white);
}

.hb-cta .hb-btn:hover,
.hb-cta .brxe-button:hover,
.hb-cta .wp-block-button__link:hover {
	color: var(--hb-color-ink);
	background: var(--hb-color-cement);
}

.hb-entry-header {
	padding-block: clamp(3.5rem, 7vw, 6.5rem);
	border-block-end: var(--hb-border);
}

.hb-entry-header :where(h1, .wp-block-post-title, .wp-block-query-title) {
	max-width: 22ch;
}

.hb-post-meta {
	color: var(--hb-color-slate);
	font-size: 0.875rem;
}

.hb-post-content {
	padding-block: clamp(3rem, 7vw, 6rem);
	overflow-wrap: anywhere;
}

.hb-post-content > :where(p, ul, ol, blockquote, .wp-block-quote),
.hb-post-content > .brxe-post-content > :where(p, ul, ol, blockquote, .wp-block-quote) {
	max-width: var(--hb-reading-measure);
}

.hb-post-content :where(h2, h3, h4) {
	scroll-margin-block-start: calc(var(--hb-header-height) + var(--hb-space-md));
}

.hb-post-content h2 {
	margin-block-start: 2.4em;
}

.hb-post-content h3 {
	margin-block-start: 1.8em;
}

.hb-post-content :where(figure) {
	margin-inline: 0;
}

.hb-post-content :where(table) {
	width: 100%;
	border-collapse: collapse;
	font-variant-numeric: tabular-nums;
}

.hb-post-content :where(th, td) {
	padding: 0.8rem;
	border: var(--hb-border);
	text-align: start;
	vertical-align: top;
}

.hb-post-content th {
	color: var(--hb-color-white);
	background: var(--hb-color-ink);
}

.hb-post-content :where(.wp-block-table, .wp-block-math, .hb-equation, pre) {
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.hb-post-content :where(pre, code, .wp-block-code, .wp-block-math, .hb-equation) {
	font-family: var(--hb-font-mono);
}

.hb-post-content :where(.wp-block-math, .hb-equation) {
	padding: var(--hb-space-sm);
	border: var(--hb-border);
	background: var(--hb-color-cloud);
	font-variant-numeric: tabular-nums;
}

.hb-post-content :where(blockquote, .wp-block-quote) {
	margin-inline: 0;
	padding-inline-start: var(--hb-space-md);
	border-inline-start: 4px solid var(--hb-color-accent);
}

.hb-post-content :where(figcaption, .wp-element-caption) {
	color: var(--hb-color-slate);
	font-size: 0.82rem;
	line-height: 1.5;
}

.hb-post-content .alignwide {
	width: min(100%, var(--hb-wide-width));
	max-width: var(--hb-wide-width);
}

.hb-post-content .alignfull {
	width: 100%;
	max-width: none;
}

.hb-toc,
.hb-related {
	max-width: var(--hb-reading-measure);
	margin-block: var(--hb-space-lg);
	padding: var(--hb-space-md);
	border: var(--hb-border);
	border-inline-start: 0.3rem solid var(--hb-color-primary);
	border-radius: var(--hb-radius-md);
	background: var(--hb-color-white);
	box-shadow: var(--hb-shadow-sm);
}

.hb-toc :where(ol, ul),
.hb-related :where(ol, ul) {
	margin-block: 0.8rem 0;
	padding-inline-start: 1.35rem;
}

.hb-toc li + li,
.hb-related li + li {
	margin-block-start: 0.45rem;
}

.hb-consultation-form {
	max-width: 70rem;
	margin-block: var(--hb-space-lg);
	padding: clamp(1.25rem, 3vw, 2.5rem);
	border: var(--hb-border);
	border-radius: var(--hb-radius-md);
	background: var(--hb-color-white);
	box-shadow: var(--hb-shadow-sm);
}

.hb-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 1.25rem;
}

.hb-consultation-form fieldset {
	min-width: 0;
	margin: 0 0 var(--hb-space-md);
	padding: 0;
	border: 0;
}

.hb-consultation-form legend {
	width: 100%;
	margin-block-end: var(--hb-space-sm);
	padding-block-end: var(--hb-space-xs);
	border-block-end: var(--hb-border);
	color: var(--hb-color-ink);
	font-size: 1.125rem;
	font-weight: 730;
}

.hb-consultation-form label {
	display: block;
	margin-block-end: 0.35rem;
	color: var(--hb-color-ink);
	font-weight: 650;
}

.hb-consultation-form :where(
	input[type="text"],
	input[type="email"],
	input[type="tel"],
	input[type="url"],
	input[type="number"],
	input[type="file"],
	select,
	textarea
) {
	width: 100%;
	min-height: 3rem;
	padding: 0.75rem;
	border: 1px solid color-mix(in srgb, var(--hb-color-slate) 62%, transparent);
	border-radius: 0.25rem;
	color: var(--hb-color-ink);
	background: var(--hb-color-white);
	font: inherit;
}

.hb-consultation-form textarea {
	resize: vertical;
}

.hb-consultation-form :where(input, select, textarea):focus-visible {
	border-color: var(--hb-color-primary);
	outline: 3px solid var(--hb-color-primary);
	outline-offset: 2px;
	box-shadow: 0 0 0 2px var(--hb-color-white);
}

.hb-form-small,
.hb-form-help {
	color: var(--hb-color-slate);
	font-size: 0.9rem;
}

.hb-consent {
	padding: var(--hb-space-sm);
	border-radius: 0.25rem;
	background: color-mix(in srgb, var(--hb-color-primary) 8%, var(--hb-color-white));
}

.hb-form-message {
	max-width: 70rem;
	margin-block: var(--hb-space-sm);
	padding: var(--hb-space-sm) 1.25rem;
	border-radius: 0.3rem;
}

.hb-form-message--success {
	border: 1px solid #2f7969;
	background: #e8f5f1;
}

.hb-form-message--error {
	border: 1px solid #9a4f3d;
	background: #fff0ec;
}

.hb-empty-state {
	padding: clamp(1.5rem, 4vw, 3rem);
	border: var(--hb-border);
	border-inline-start: 0.3rem solid var(--hb-color-copper, var(--hb-color-accent));
	background: var(--hb-color-white);
}

[aria-current="page"] {
	font-weight: 700;
	text-decoration-thickness: 0.14em;
}

/*
 * Bricks template-kit layout contracts.
 *
 * Bricks owns menu visibility and positioning. These rules intentionally
 * avoid overriding display, opacity, visibility, or position on the closed
 * nested-menu panel.
 */
.site-header {
	position: relative;
	z-index: var(--hb-z-header);
	min-height: var(--hb-header-height);
	border-block-end: 1px solid var(--hb-color-rule);
	background: var(--hb-color-paper);
}

.site-header__inner {
	width: min(calc(100% - clamp(2.5rem, 10vw, 5rem)), 86.5rem);
	min-height: var(--hb-header-height);
	flex-flow: row nowrap;
	align-items: center;
	justify-content: space-between;
	gap: clamp(0.75rem, 2vw, 1.5rem);
}

.site-brand-lockup {
	display: flex;
	flex: 0 1 auto;
	min-width: 0;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.15rem;
}

.site-brand {
	flex: 0 1 auto;
	min-width: 0;
	color: var(--hb-color-ink);
	font-family: var(--hb-font-display);
	font-size: clamp(1.35rem, 1.8vw, 1.65rem);
	font-weight: 750;
	letter-spacing: -0.035em;
	line-height: 1.05;
	text-decoration: none;
	overflow-wrap: anywhere;
}

.site-brand-tagline {
	margin: 0;
	color: var(--hb-color-slate);
	font-size: 0.78rem;
	letter-spacing: 0;
	line-height: 1.3;
}

.primary-navigation {
	flex: 0 0 auto;
	margin-inline-start: auto;
}

.primary-navigation .brx-nav-nested-items {
	flex-wrap: nowrap;
	gap: clamp(0.65rem, 1.5vw, 1.5rem);
}

.primary-navigation .brx-nav-nested-items > li > a:not(.hb-btn) {
	min-height: 44px;
	padding-block: 0.5rem;
	color: var(--hb-color-ink);
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.primary-navigation .brx-nav-nested-items > li > a:not(.hb-btn):hover {
	color: var(--hb-color-primary);
	text-decoration: underline;
}

.primary-navigation > .brxe-toggle,
.primary-navigation .brx-toggle-div {
	min-width: 44px;
	min-height: 44px;
	align-items: center;
	justify-content: center;
}

.site-header__cta {
	margin-inline-start: var(--hb-space-xs);
	border-color: var(--hb-color-accent);
	color: var(--hb-color-accent);
	background: transparent;
}

.site-header__cta:hover {
	border-color: var(--hb-color-ink);
	color: var(--hb-color-white);
	background: var(--hb-color-ink);
}

.site-footer {
	padding-block: var(--hb-space-xl) var(--hb-space-lg);
	color: var(--hb-color-cement);
	background: var(--hb-color-ink);
}

.site-footer__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.75fr);
	gap: clamp(2rem, 6vw, 5rem);
	align-items: start;
}

.site-footer .site-brand {
	color: var(--hb-color-white);
	font-size: clamp(1.4rem, 3vw, 2rem);
}

.site-footer__brand,
.site-footer__nav {
	min-width: 0;
}

.site-footer__brand p {
	max-width: 58ch;
	color: var(--hb-color-cement);
}

.site-footer__nav {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--hb-space-2xs) var(--hb-space-md);
}

.site-footer__nav a {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	color: var(--hb-color-cement);
	text-decoration: none;
}

.site-footer__nav a:hover {
	color: var(--hb-color-white);
	text-decoration: underline;
}

.site-footer__legal {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: var(--hb-space-sm) var(--hb-space-lg);
	margin-block-start: var(--hb-space-xl);
	padding-block-start: var(--hb-space-md);
	border-block-start: 1px solid rgba(255, 255, 255, 0.2);
	font-size: 0.82rem;
}

.site-footer__legal p {
	max-width: 58ch;
	margin: 0;
	color: var(--hb-color-cement);
}

.hb-hero {
	position: relative;
	overflow: hidden;
	padding: 0;
	border-block-end: 1px solid var(--hb-color-rule);
	color: var(--hb-color-ink);
	background: var(--hb-color-paper);
}

.hb-home-shell {
	width: min(calc(100% - clamp(2.5rem, 10vw, 5rem)), 86.5rem);
	margin-inline: auto;
}

.hb-hero__layout {
	display: grid;
	min-height: 33rem;
	grid-template-columns: minmax(30rem, 35rem) minmax(0, 1fr);
	gap: clamp(2rem, 4vw, 4rem);
	align-items: stretch;
}

.hb-hero__copy,
.hb-hero__layout > * {
	min-width: 0;
}

.hb-hero__copy {
	display: flex;
	padding-block: 4rem 3rem;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
}

.hb-hero .hb-kicker {
	font-size: 0.75rem;
}

.hb-hero :where(h1, h2, h3) {
	color: var(--hb-color-ink);
}

.hb-hero h1 {
	max-width: 9em;
	margin-block: 0 var(--hb-space-md);
	font-size: clamp(3rem, 4.25vw, 4.25rem);
	font-weight: 700;
	line-height: 0.95;
	letter-spacing: -0.06em;
}

.hb-hero__lede {
	max-width: 52ch;
	margin: 0;
	color: var(--hb-color-slate);
	font-size: 1rem;
	line-height: 1.72;
}

.hb-hero__actions,
.hb-error-actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--hb-space-sm);
	margin-block-start: var(--hb-space-lg);
}

.hb-hero__actions {
	margin-block-start: 1.125rem;
}

.hb-hero .hb-btn--primary {
	color: var(--hb-color-white);
	background: var(--hb-color-accent);
}

.hb-hero .hb-btn--primary:hover {
	color: var(--hb-color-white);
	background: var(--hb-color-ink);
}

.hb-hero .hb-btn--secondary {
	color: var(--hb-color-ink);
	border-color: var(--hb-color-slate);
	background: transparent;
}

.hb-hero .hb-btn--secondary:hover {
	color: var(--hb-color-white);
	border-color: var(--hb-color-ink);
	background: var(--hb-color-ink);
}

.hb-hero-media {
	display: grid;
	width: 100%;
	height: 33rem;
	grid-template-columns: minmax(0, 1fr) minmax(6.5rem, 8.5rem);
	align-items: stretch;
	margin: 0;
}

/* Retained for backward compatibility with managed templates from kit 0.1.2. */
.hb-hero-diagram {
	position: relative;
}

.hb-hero-media__image {
	width: 100%;
	height: 100%;
	margin: 0;
	overflow: hidden;
}

.hb-hero-media__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 58% center;
}

.hb-hero-caption {
	align-self: center;
	margin: 0;
	padding-block-start: 0.8rem;
	border-block-start: 1px solid var(--hb-color-slate);
	color: var(--hb-color-slate);
	font-size: 0.7rem;
	line-height: 1.55;
}

.hb-home-focus {
	padding-block: 2.25rem 3rem;
	border-block-end: 1px solid var(--hb-color-rule);
	background: var(--hb-color-paper);
}

.hb-focus-layout {
	display: grid;
	grid-template-columns:
		minmax(17rem, 0.8fr)
		minmax(35rem, 1.55fr)
		minmax(19rem, 0.85fr);
	gap: 2rem;
	align-items: stretch;
}

.hb-focus-intro {
	display: flex;
	min-width: 0;
	padding-inline-end: 2rem;
	border-inline-end: 1px solid var(--hb-color-rule);
	flex-direction: column;
	align-items: flex-start;
}

.hb-focus-intro .hb-section-heading {
	max-width: 14ch;
	margin-block: 0 0.75rem;
	font-size: clamp(1.65rem, 2vw, 2rem);
	line-height: 1.08;
}

.hb-focus-intro .hb-section-intro {
	margin: 0;
	color: var(--hb-color-slate);
	font-size: 0.9rem;
	line-height: 1.65;
}

.hb-focus-intro .hb-btn--text {
	margin-block-start: auto;
	padding-block-end: 0.45rem;
	border-block-end: 2px solid var(--hb-color-accent);
	color: var(--hb-color-ink);
	font-size: 0.85rem;
	text-decoration: none;
}

.hb-focus-intro .hb-btn--text:hover {
	color: var(--hb-color-accent);
}

.hb-focus-list {
	display: flex;
	min-width: 0;
	margin: 0;
	padding: 0 2rem 0 0;
	border-inline-end: 1px solid var(--hb-color-rule);
	flex-direction: column;
	list-style: none;
}

.hb-focus-row {
	display: grid;
	min-height: 5.15rem;
	grid-template-columns: 4rem minmax(13rem, 0.9fr) minmax(17rem, 1.2fr);
	gap: 1rem;
	align-items: center;
	padding-block: 0.75rem;
	border-block-end: 1px solid var(--hb-color-rule);
}

.hb-focus-row:last-child {
	border-block-end: 0;
}

.hb-focus-row .hb-card__index {
	margin: 0;
	color: var(--hb-color-accent);
	font-family: var(--hb-font-display);
	font-size: 1.5rem;
	font-weight: 450;
	line-height: 1;
}

.hb-focus-row h3 {
	margin: 0;
	font-size: 1.05rem;
	line-height: 1.25;
}

.hb-focus-row p {
	margin: 0;
	color: var(--hb-color-slate);
	font-size: 0.78rem;
	line-height: 1.45;
}

.hb-latest-card {
	display: flex;
	min-width: 0;
	flex-direction: column;
}

.hb-latest-card > .hb-kicker {
	margin-block-end: 0.75rem;
	font-size: 0.7rem;
}

.hb-latest-card__image {
	width: 100%;
	margin: 0;
	overflow: hidden;
}

.hb-latest-card__image img {
	width: 100%;
	aspect-ratio: 2.4 / 1;
	object-fit: cover;
}

.hb-latest-card__body {
	display: flex;
	min-height: 0;
	padding-block-start: 0.9rem;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
}

.hb-latest-card__body .hb-kicker {
	margin-block-end: 0.55rem;
	font-size: 0.67rem;
}

.hb-latest-card__body h3 {
	margin: 0;
	font-size: 1.15rem;
	line-height: 1.18;
}

.hb-latest-card__body h3 a {
	color: inherit;
	text-decoration: none;
}

.hb-latest-card__body h3 a:hover {
	color: var(--hb-color-accent);
	text-decoration: underline;
}

.hb-latest-card__body .hb-btn--text {
	margin-block-start: auto;
	padding-block-start: 1rem;
	color: var(--hb-color-slate);
	font-size: 0.8rem;
}

.hb-split {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: clamp(2rem, 6vw, 5rem);
	align-items: start;
}

.hb-split__content,
.hb-split > * {
	min-width: 0;
}

.hb-section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: end;
	justify-content: space-between;
	gap: var(--hb-space-md);
	margin-block-end: var(--hb-space-lg);
}

.hb-note {
	grid-column: 1 / -1;
	padding: 1rem 1.15rem;
	border-inline-start: 0.25rem solid var(--hb-color-accent);
	color: var(--hb-color-slate);
	background: var(--hb-color-cement);
	background: color-mix(in srgb, var(--hb-color-cement) 58%, var(--hb-color-cloud));
}

.hb-article-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1rem, 2vw, 1.5rem);
	align-items: stretch;
}

.hb-article-grid > *,
.hb-article-card {
	min-width: 0;
}

.hb-article-card {
	display: flex;
	flex-direction: column;
}

.hb-article-card > .brxe-image {
	display: block;
	width: 100%;
	margin: 0;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: var(--hb-color-cement);
}

.hb-article-card > .brxe-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hb-article-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 0.75rem;
}

.hb-article-card .brxe-post-excerpt {
	color: var(--hb-color-slate);
}

.hb-article-card:focus-within {
	border-color: var(--hb-color-primary);
	box-shadow: var(--hb-shadow-sm);
}

.hb-query-shell {
	min-height: 50vh;
}

.hb-query-heading {
	max-width: 22ch;
	margin-block: 0;
	font-size: clamp(2.4rem, 5vw, 4.5rem);
}

.hb-pagination {
	margin-block-start: var(--hb-space-xl);
}

.hb-pagination .bricks-pagination ul {
	display: flex;
	flex-wrap: wrap;
	gap: var(--hb-space-2xs);
	padding: 0;
	list-style: none;
}

.hb-pagination .page-numbers {
	display: inline-grid;
	min-width: 44px;
	min-height: 44px;
	place-items: center;
	border: var(--hb-border);
	text-decoration: none;
}

.hb-pagination :where(a.page-numbers:hover, .page-numbers.current) {
	color: var(--hb-color-white);
	border-color: var(--hb-color-primary);
	background: var(--hb-color-primary);
}

.brxe-search.hb-search-form {
	width: 100%;
	min-width: 0;
	max-width: 44rem;
	margin-block-start: var(--hb-space-lg);
	align-self: stretch;
}

.brxe-search.hb-search-form .bricks-search-form {
	display: grid;
	width: 100%;
	min-width: 0;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: var(--hb-space-xs);
}

.hb-search-form label {
	grid-column: 1 / -1;
	font-weight: 700;
}

.hb-search-form input[type="search"] {
	min-width: 0;
	min-height: 3rem;
	padding: 0.7rem 0.85rem;
	border: 1px solid var(--hb-color-slate);
	border-radius: var(--hb-radius-sm);
	font: inherit;
}

.hb-search-form :where(button, input[type="submit"]) {
	width: auto;
	min-width: 60px;
	height: auto;
	min-height: 3rem;
	padding-inline: 1.2rem;
	border: 1px solid var(--hb-color-primary);
	border-radius: var(--hb-radius-sm);
	color: var(--hb-color-white);
	background: var(--hb-color-primary);
	font: 700 0.95rem/1 var(--hb-font-sans);
}

.hb-error-page {
	min-height: 60vh;
}

.hb-error-page .hb-lead {
	width: 100%;
	max-width: 100%;
}

.hb-error-page h1 {
	max-width: 14ch;
	font-size: clamp(2.8rem, 7vw, 6rem);
}

.hb-breadcrumbs {
	margin-block-end: var(--hb-space-md);
	color: var(--hb-color-slate);
	font-size: 0.875rem;
}

.hb-single-excerpt {
	max-width: var(--hb-reading-measure);
	color: var(--hb-color-slate);
	font-size: clamp(1.125rem, 2vw, 1.4rem);
}

.hb-entry-header .hb-post-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 1rem;
}

.hb-single-featured {
	display: block;
	width: min(calc(100% - clamp(2.2rem, 8vw, 5rem)), var(--hb-wide-width));
	margin: clamp(2rem, 5vw, 4rem) auto 0;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	border-radius: var(--hb-radius-md);
	background: var(--hb-color-cement);
}

.hb-single-featured img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hb-consultation-content .hb-post-content,
.hb-generic-page .hb-post-content {
	min-height: 45vh;
}

@media (max-width: 1280px) {
	.hb-focus-layout {
		grid-template-columns: minmax(16rem, 0.72fr) minmax(0, 1.5fr);
	}

	.hb-focus-list {
		padding-inline-end: 0;
		border-inline-end: 0;
	}

	.hb-latest-card {
		display: grid;
		grid-column: 1 / -1;
		grid-template-columns: minmax(15rem, 0.8fr) minmax(0, 1.2fr);
		column-gap: 1.5rem;
		padding-block-start: 1.75rem;
		border-block-start: 1px solid var(--hb-color-rule);
	}

	.hb-latest-card > .hb-kicker {
		grid-column: 1 / -1;
	}

	.hb-latest-card__image img {
		aspect-ratio: 16 / 7;
	}
}

@media (max-width: 1100px) {
	.primary-navigation.brx-open .brx-nav-nested-items {
		z-index: var(--hb-z-overlay);
		padding: clamp(4.5rem, 10vw, 6rem) clamp(1.1rem, 5vw, 3rem);
		align-items: stretch;
		justify-content: flex-start;
		gap: 0.25rem;
		overflow-y: auto;
		background: var(--hb-color-cloud);
		box-shadow: var(--hb-shadow-lg);
	}

	.primary-navigation.brx-open .brx-nav-nested-items > li {
		width: min(100%, 32rem);
		margin-inline: auto;
	}

	.primary-navigation.brx-open .brx-nav-nested-items > li > a {
		width: 100%;
		min-height: 44px;
		justify-content: flex-start;
		padding: 0.75rem 1rem;
		font-size: 1.1rem;
		white-space: normal;
	}

	.primary-navigation.brx-open .site-header__cta {
		margin: var(--hb-space-md) 0 0;
		justify-content: center;
	}

	.primary-navigation.brx-open .brx-toggle-div {
		position: absolute;
		inset-block-start: 1rem;
		inset-inline-end: 1rem;
		z-index: calc(var(--hb-z-overlay) + 1);
	}
}

@media (max-width: 960px) {
	.hb-card {
		grid-column: span 6;
	}

	.hb-hero__layout,
	.hb-split {
		grid-template-columns: 1fr;
	}

	.hb-hero__layout {
		gap: 0;
	}

	.hb-hero__copy {
		padding-block: 3.5rem;
	}

	.hb-hero-media {
		height: 25rem;
	}

	.hb-focus-layout {
		grid-template-columns: 1fr;
	}

	.hb-focus-intro,
	.hb-focus-list {
		padding-inline-end: 0;
		border-inline-end: 0;
	}

	.hb-focus-intro .hb-btn--text {
		margin-block-start: 1.75rem;
	}

	.hb-latest-card {
		grid-column: auto;
	}

	.hb-article-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hb-author-card {
		grid-template-columns: minmax(8rem, 0.65fr) minmax(0, 1.6fr);
	}

	.hb-principles {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 782px) {
	:root {
		--hb-header-height: 4.5rem;
	}

	.hb-service-grid,
	.hb-author-card,
	.hb-form-grid {
		grid-template-columns: 1fr;
	}

	.site-footer__inner {
		grid-template-columns: 1fr;
	}

	.hb-author-mark {
		min-height: 10rem;
	}

	.site-brand {
		font-size: 1.15rem;
	}

	.site-brand-tagline {
		font-size: 0.7rem;
	}

	.hb-latest-card {
		display: flex;
	}
}

@media (max-width: 560px) {
	.hb-home-shell,
	.site-header__inner {
		width: calc(100% - 2.5rem);
	}

	.hb-card {
		grid-column: 1 / -1;
	}

	.hb-article-grid {
		grid-template-columns: 1fr;
	}

	.hb-process > li,
	.hb-process-step {
		padding-inline-start: 3.75rem;
	}

	.hb-hero__actions,
	.hb-error-actions {
		flex-direction: column;
	}

	.hb-hero h1 {
		max-width: 12ch;
		font-size: clamp(2.5rem, 12vw, 2.85rem);
	}

	.hb-hero__copy {
		padding-block: 3rem;
	}

	.hb-hero-media {
		height: auto;
		grid-template-columns: 1fr;
	}

	.hb-hero-media__image {
		height: auto;
	}

	.hb-hero-media__image img {
		aspect-ratio: 16 / 10;
	}

	.hb-hero-caption {
		display: none;
	}

	.hb-home-focus {
		padding-block: 2.5rem 3rem;
	}

	.hb-focus-row {
		grid-template-columns: 3rem minmax(0, 1fr);
		gap: 0.4rem 0.8rem;
		padding-block: 1rem;
	}

	.hb-focus-row p {
		grid-column: 2;
	}

	.hb-latest-card__image img {
		aspect-ratio: 16 / 9;
	}

	.site-brand-tagline {
		display: none;
	}

	.hb-btn,
	.brxe-button.hb-btn,
	.wp-block-buttons > .wp-block-button,
	.wp-block-buttons > .wp-block-button .wp-block-button__link {
		width: 100%;
	}
}

@media (max-width: 478px) {
	.brxe-search.hb-search-form .bricks-search-form {
		grid-template-columns: 1fr;
	}

	.hb-search-form :where(button, input[type="submit"]) {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}

	.hb-card:hover {
		transform: none;
	}
}

@media (forced-colors: active) {
	:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
		outline: 2px solid CanvasText;
		box-shadow: none;
	}
}

@media print {
	.hb-no-print,
	.hb-cta,
	.site-header,
	.site-footer,
	.hb-search-form,
	.hb-pagination,
	.hb-error-actions,
	.brxe-nav-menu,
	.wp-block-navigation,
	.wp-block-buttons {
		display: none !important;
	}

	body {
		color: #000;
		background: #fff;
	}

	a {
		color: inherit;
		text-decoration: underline;
	}

	.hb-post-content {
		padding: 0;
	}

	.hb-entry-header,
	.hb-toc,
	.hb-related,
	.hb-author-card,
	figure,
	table {
		break-inside: avoid;
	}
}
