:root {
	--vib-ink: #0b1220;
	--vib-navy: #142033;
	--vib-text: #1b2433;
	--vib-muted: #5d6878;
	--vib-blue: #1769e0;
	--vib-blue-hover: #0f52b8;
	--vib-red: #c92f3a;
	--vib-white: #fff;
	--vib-light: #f5f7fa;
	--vib-border: #dce2ea;
	--vib-trust: #1e7a4d;
	--vib-shadow-sm: 0 1px 2px rgba(11, 18, 32, 0.06);
	--vib-shadow-md: 0 14px 40px rgba(11, 18, 32, 0.11);
	--vib-radius-sm: 0.5rem;
	--vib-radius-md: 0.875rem;
	--vib-radius-lg: 1.25rem;
	--vib-content: 760px;
	--vib-wide: 1180px;
	--vib-header-height: 72px;
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--vib-header-height) + 1rem);
}

body {
	margin: 0;
	overflow-x: hidden;
	background: var(--vib-white);
	color: var(--vib-text);
	font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 1rem;
	line-height: 1.65;
	text-rendering: optimizeLegibility;
}

body.menu-open {
	overflow: hidden;
}

img,
svg,
video,
iframe {
	display: block;
	max-width: 100%;
}

img {
	height: auto;
}

a {
	color: var(--vib-blue-hover);
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.16em;
}

a:hover {
	color: #0b3d8c;
}

button,
input,
select,
textarea {
	font: inherit;
}

button,
.button,
.wp-element-button,
.wp-block-button__link,
input[type="button"],
input[type="submit"] {
	min-height: 44px;
}

:focus-visible {
	outline: 3px solid #ffbf47;
	outline-offset: 3px;
}

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

.screen-reader-text:focus,
.skip-link:focus {
	z-index: 100000;
	top: 0.75rem;
	left: 0.75rem;
	width: auto;
	height: auto;
	padding: 0.75rem 1rem;
	margin: 0;
	clip: auto;
	overflow: visible;
	background: var(--vib-white);
	color: var(--vib-ink);
	border-radius: var(--vib-radius-sm);
	box-shadow: var(--vib-shadow-md);
	font-weight: 700;
}

.content-width,
.entry-content > :where(:not(.alignwide):not(.alignfull)),
.comments-area {
	width: min(calc(100% - 2rem), var(--vib-content));
	margin-right: auto;
	margin-left: auto;
}

.wide-width,
.entry-content > .alignwide {
	width: min(calc(100% - 2rem), var(--vib-wide));
	margin-right: auto;
	margin-left: auto;
}

.entry-content > .alignfull {
	width: 100%;
	max-width: none;
	margin-right: 0;
	margin-left: 0;
}

.site-header {
	position: sticky;
	z-index: 1000;
	top: 0;
	min-height: var(--vib-header-height);
	background: rgba(255, 255, 255, 0.97);
	border-bottom: 1px solid var(--vib-border);
	box-shadow: var(--vib-shadow-sm);
	backdrop-filter: blur(12px);
}

.admin-bar .site-header {
	top: 32px;
}

.site-header__inner {
	display: grid;
	grid-template-columns: minmax(150px, 220px) 1fr auto;
	align-items: center;
	gap: clamp(1rem, 2vw, 2rem);
	width: min(calc(100% - 2rem), var(--vib-wide));
	min-height: var(--vib-header-height);
	margin: 0 auto;
}

.site-branding {
	min-width: 0;
}

.custom-logo-link {
	display: inline-flex;
	align-items: center;
}

.custom-logo {
	width: auto;
	max-width: 190px;
	max-height: 48px;
	object-fit: contain;
}

.site-name {
	color: var(--vib-ink);
	font-size: 1.125rem;
	font-weight: 800;
	line-height: 1.1;
	text-decoration: none;
}

.primary-navigation {
	justify-self: end;
}

.primary-menu,
.primary-menu ul,
.footer-menu {
	padding: 0;
	margin: 0;
	list-style: none;
}

.primary-menu {
	display: flex;
	align-items: center;
	gap: clamp(0.65rem, 1.4vw, 1.25rem);
}

.primary-menu a {
	display: flex;
	align-items: center;
	min-height: 44px;
	color: var(--vib-ink);
	font-size: 0.92rem;
	font-weight: 680;
	text-decoration: none;
}

.primary-menu a:hover,
.primary-menu .current-menu-item > a,
.primary-menu .current-menu-ancestor > a {
	color: var(--vib-blue);
}

.primary-menu .menu-item-has-children {
	position: relative;
}

.primary-menu .sub-menu {
	position: absolute;
	z-index: 10;
	top: calc(100% - 0.25rem);
	left: -1rem;
	display: none;
	min-width: 220px;
	padding: 0.5rem;
	background: var(--vib-white);
	border: 1px solid var(--vib-border);
	border-radius: var(--vib-radius-md);
	box-shadow: var(--vib-shadow-md);
}

.primary-menu .menu-item-has-children:hover > .sub-menu,
.primary-menu .menu-item-has-children:focus-within > .sub-menu {
	display: block;
}

.primary-menu .sub-menu a {
	padding: 0.45rem 0.65rem;
	border-radius: 0.35rem;
}

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.header-phone {
	color: var(--vib-ink);
	font-size: 0.9rem;
	font-weight: 750;
	text-decoration: none;
	white-space: nowrap;
}

.button,
.wp-element-button,
.wp-block-button__link,
input[type="button"],
input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	padding: 0.72rem 1.05rem;
	border: 2px solid transparent;
	border-radius: var(--vib-radius-sm);
	cursor: pointer;
	font-weight: 750;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover,
.wp-element-button:hover,
.wp-block-button__link:hover,
input[type="button"]:hover,
input[type="submit"]:hover {
	transform: translateY(-1px);
}

.button--primary,
.wp-block-button:not(.is-style-vibrance-secondary) .wp-block-button__link,
input[type="submit"] {
	background: var(--vib-blue);
	color: var(--vib-white);
}

.button--primary:hover,
.wp-block-button:not(.is-style-vibrance-secondary) .wp-block-button__link:hover,
input[type="submit"]:hover {
	background: var(--vib-blue-hover);
	color: var(--vib-white);
}

.button--secondary,
.is-style-vibrance-secondary .wp-block-button__link {
	background: transparent;
	color: var(--vib-blue-hover);
	border-color: var(--vib-blue);
}

.button--secondary:hover,
.is-style-vibrance-secondary .wp-block-button__link:hover {
	background: #edf4ff;
	color: #0b3d8c;
	border-color: var(--vib-blue-hover);
}

.menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	min-width: 76px;
	height: 44px;
	padding: 0.55rem 0.65rem;
	background: var(--vib-white);
	color: var(--vib-ink);
	border: 1px solid var(--vib-border);
	border-radius: var(--vib-radius-sm);
	cursor: pointer;
	font-size: 0.86rem;
	font-weight: 760;
}

.menu-toggle__icon {
	display: block;
	width: 20px;
}

.menu-toggle__icon > span {
	display: block;
	width: 20px;
	height: 2px;
	margin: 3px auto;
	background: var(--vib-ink);
	border-radius: 2px;
	transition: transform 160ms ease, opacity 160ms ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon > span:nth-child(1) {
	transform: translateY(5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon > span:nth-child(2) {
	opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon > span:nth-child(3) {
	transform: translateY(-5px) rotate(-45deg);
}

.site-main {
	min-height: 55vh;
}

.page-entry:not(.page-entry--builder),
.single-entry {
	padding: clamp(2.25rem, 6vw, 5rem) 0;
}

.page-entry--builder {
	padding: 0;
}

.entry-content--builder {
	width: 100%;
	max-width: none;
}

.entry-header {
	margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.entry-title,
.archive-header h1,
.state-panel h1 {
	margin: 0;
	color: var(--vib-ink);
	font-size: clamp(2.1rem, 5vw, 4rem);
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1.08;
}

.entry-meta,
.content-card__meta {
	color: var(--vib-muted);
	font-size: 0.875rem;
}

.entry-content {
	color: var(--vib-text);
	font-size: clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
}

.entry-content > * {
	margin-top: 0;
	margin-bottom: 1.5rem;
}

.entry-content :where(h2, h3, h4) {
	margin-top: 2.25em;
	margin-bottom: 0.65em;
	color: var(--vib-ink);
	line-height: 1.18;
}

.entry-content h2 {
	font-size: clamp(1.65rem, 3vw, 2.35rem);
	letter-spacing: -0.025em;
}

.entry-content h3 {
	font-size: clamp(1.3rem, 2.2vw, 1.75rem);
}

.entry-content :where(ul, ol) {
	padding-left: 1.35rem;
}

.entry-content li + li {
	margin-top: 0.45rem;
}

.entry-content img,
.entry-featured-image img {
	border-radius: var(--vib-radius-md);
}

.entry-content figure {
	margin-top: 2rem;
	margin-bottom: 2rem;
}

.entry-content figcaption {
	margin-top: 0.65rem;
	color: var(--vib-muted);
	font-size: 0.85rem;
	text-align: center;
}

.entry-content iframe,
.entry-content video {
	width: 100%;
	border: 0;
	border-radius: var(--vib-radius-md);
}

.wp-block-embed__wrapper {
	position: relative;
	overflow: hidden;
}

.entry-content blockquote,
.wp-block-quote {
	padding: 1rem 0 1rem 1.25rem;
	margin-top: 2rem;
	margin-bottom: 2rem;
	border-left: 4px solid var(--vib-blue);
	color: var(--vib-navy);
	font-size: 1.1em;
}

.is-style-vibrance-card,
.content-card {
	background: var(--vib-white);
	border: 1px solid var(--vib-border);
	border-radius: var(--vib-radius-md);
	box-shadow: var(--vib-shadow-sm);
}

.is-style-vibrance-card {
	padding: clamp(1.25rem, 3vw, 2rem);
}

.is-style-vibrance-trust {
	padding: clamp(1.25rem, 3vw, 2rem);
	background: #edf8f2;
	border: 1px solid #bcdcc9;
	border-radius: var(--vib-radius-md);
	color: #155536;
}

.is-style-vibrance-review {
	padding: clamp(1.25rem, 3vw, 2rem);
	background: var(--vib-light);
	border-left-color: var(--vib-blue);
	border-radius: 0 var(--vib-radius-md) var(--vib-radius-md) 0;
}

.vibrance-cta {
	padding: clamp(2rem, 6vw, 4.5rem);
	background: var(--vib-navy);
	border-radius: var(--vib-radius-lg);
	color: var(--vib-white);
}

.vibrance-cta :where(h2, h3, p) {
	color: inherit;
}

.vibrance-trust-grid,
.vibrance-service-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.vibrance-trust-item,
.vibrance-service-card {
	padding: 1.25rem;
	border-radius: var(--vib-radius-md);
}

.vibrance-trust-item {
	background: #edf8f2;
	border: 1px solid #bcdcc9;
}

.vibrance-service-card {
	background: var(--vib-white);
	border: 1px solid var(--vib-border);
	box-shadow: var(--vib-shadow-sm);
}

.button-row,
.wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

table,
.wp-block-table table {
	width: 100%;
	border-spacing: 0;
	border-collapse: collapse;
	font-size: 0.95rem;
}

th,
td {
	padding: 0.75rem;
	border: 1px solid var(--vib-border);
	text-align: left;
	vertical-align: top;
}

th {
	background: var(--vib-light);
	color: var(--vib-ink);
	font-weight: 750;
}

.wp-block-table {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

label {
	display: inline-block;
	margin-bottom: 0.4rem;
	color: var(--vib-ink);
	font-weight: 700;
}

input:not([type="button"]):not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
select,
textarea {
	width: 100%;
	max-width: 100%;
	padding: 0.72rem 0.8rem;
	background: var(--vib-white);
	color: var(--vib-text);
	border: 1px solid #aeb8c5;
	border-radius: var(--vib-radius-sm);
}

input:focus,
select:focus,
textarea:focus {
	border-color: var(--vib-blue);
	box-shadow: 0 0 0 3px rgba(23, 105, 224, 0.14);
	outline: none;
}

.search-form {
	display: flex;
	gap: 0.5rem;
	max-width: 600px;
}

.search-form label {
	flex: 1;
	margin: 0;
}

.search-submit {
	background: var(--vib-blue);
	color: var(--vib-white);
	border: 0;
	border-radius: var(--vib-radius-sm);
	font-weight: 750;
}

.archive-shell {
	width: min(calc(100% - 2rem), var(--vib-wide));
	padding: clamp(2.5rem, 6vw, 5rem) 0;
	margin: 0 auto;
}

.archive-header {
	max-width: var(--vib-content);
	margin-bottom: 2.5rem;
}

.archive-description {
	color: var(--vib-muted);
	font-size: 1.1rem;
}

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

.content-card {
	overflow: hidden;
}

.content-card__image {
	display: block;
	aspect-ratio: 3 / 2;
	background: var(--vib-light);
	overflow: hidden;
}

.content-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 220ms ease;
}

.content-card__image:hover img {
	transform: scale(1.025);
}

.content-card__body {
	padding: 1.25rem;
}

.content-card__meta {
	margin: 0 0 0.5rem;
}

.content-card__title {
	margin: 0;
	font-size: 1.3rem;
	line-height: 1.2;
}

.content-card__title a {
	color: var(--vib-ink);
	text-decoration: none;
}

.content-card__excerpt {
	color: var(--vib-muted);
	font-size: 0.95rem;
}

.text-link {
	font-weight: 750;
}

.navigation.pagination,
.post-navigation,
.comments-area {
	margin-top: 2.5rem;
	margin-bottom: 2.5rem;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0.5rem;
	border: 1px solid var(--vib-border);
	border-radius: var(--vib-radius-sm);
	text-decoration: none;
}

.page-numbers.current {
	background: var(--vib-ink);
	color: var(--vib-white);
	border-color: var(--vib-ink);
}

.state-panel {
	padding: clamp(2rem, 6vw, 4.5rem);
	margin-top: clamp(3rem, 8vw, 7rem);
	margin-bottom: clamp(3rem, 8vw, 7rem);
	background: var(--vib-light);
	border: 1px solid var(--vib-border);
	border-radius: var(--vib-radius-lg);
	text-align: center;
}

.state-panel__code {
	margin: 0;
	color: var(--vib-blue);
	font-size: 1.1rem;
	font-weight: 800;
	letter-spacing: 0.1em;
}

.state-panel .button-row,
.state-panel .search-form {
	justify-content: center;
	margin: 1.5rem auto 0;
}

.site-footer {
	padding: clamp(3rem, 7vw, 5rem) 1rem 1.5rem;
	background: var(--vib-ink);
	color: #dbe4ef;
}

.site-footer a {
	color: var(--vib-white);
}

.site-footer a:hover {
	color: #9ec5ff;
}

.site-footer .custom-logo {
	filter: brightness(0) invert(1);
}

.site-footer__grid,
.site-footer__legal {
	width: min(100%, var(--vib-wide));
	margin: 0 auto;
}

.site-footer__grid {
	display: grid;
	grid-template-columns: 1.35fr 0.8fr 1fr;
	gap: clamp(2rem, 5vw, 5rem);
}

.site-footer__brand p {
	max-width: 34ch;
}

.site-footer__heading {
	margin: 0 0 1rem;
	color: var(--vib-white);
	font-size: 1rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.footer-menu li + li {
	margin-top: 0.5rem;
}

.footer-menu a {
	text-decoration: none;
}

.site-footer__contact {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.5rem;
}

.site-footer address {
	font-style: normal;
}

.site-footer__legal {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding-top: 1.5rem;
	margin-top: 3rem;
	border-top: 1px solid rgba(255, 255, 255, 0.16);
	font-size: 0.85rem;
}

.site-footer__legal p {
	margin: 0;
}

@media (max-width: 1400px) {
	.header-phone {
		display: none;
	}

	.site-header__inner {
		grid-template-columns: minmax(140px, 190px) 1fr auto;
	}
}

@media (max-width: 1080px) {
	.site-header {
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
	}

	:root {
		--vib-header-height: 68px;
	}

	.admin-bar .site-header {
		top: 46px;
	}

	.site-header__inner {
		grid-template-columns: minmax(120px, 1fr) auto;
		gap: 0.5rem;
	}

	.custom-logo {
		max-width: 158px;
		max-height: 42px;
	}

	.menu-toggle {
		display: inline-flex;
		order: 2;
	}

	.header-book {
		min-height: 44px;
		padding: 0.62rem 0.8rem;
		font-size: 0.86rem;
		white-space: nowrap;
	}

	.primary-navigation {
		position: fixed;
		z-index: 999;
		top: var(--vib-header-height);
		right: 0;
		bottom: auto;
		width: min(88vw, 380px);
		height: calc(100vh - var(--vib-header-height));
		height: calc(100dvh - var(--vib-header-height));
		padding: 1rem;
		overflow-y: auto;
		background: var(--vib-white);
		border-left: 1px solid var(--vib-border);
		box-shadow: var(--vib-shadow-md);
		visibility: hidden;
		transform: translateX(102%);
		transition: transform 180ms ease, visibility 180ms ease;
	}

	.admin-bar .primary-navigation {
		top: calc(var(--vib-header-height) + 46px);
	}

	.primary-navigation.is-open {
		visibility: visible;
		transform: translateX(0);
	}

	html:not(.vib-js) .primary-navigation {
		position: static;
		grid-column: 1 / -1;
		width: 100%;
		visibility: visible;
		transform: none;
	}

	.primary-menu {
		display: block;
	}

	.primary-menu a {
		padding: 0.55rem 0.65rem;
		border-bottom: 1px solid var(--vib-border);
		font-size: 1rem;
	}

	.primary-menu .sub-menu {
		position: static;
		display: block;
		min-width: 0;
		padding: 0 0 0 0.75rem;
		background: transparent;
		border: 0;
		box-shadow: none;
	}

	body.menu-open::after {
		position: fixed;
		z-index: 900;
		inset: var(--vib-header-height) 0 0;
		content: "";
		background: rgba(11, 18, 32, 0.55);
	}

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

	.vibrance-trust-grid,
	.vibrance-service-grid {
		grid-template-columns: 1fr;
	}

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

	.site-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 600px) {
	.site-header__inner {
		width: min(calc(100% - 1rem), var(--vib-wide));
	}

	.custom-logo {
		max-width: 126px;
	}

	.header-book {
		padding-right: 0.65rem;
		padding-left: 0.65rem;
	}

	.archive-grid {
		grid-template-columns: 1fr;
	}

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

	.site-footer__brand {
		grid-column: auto;
	}

	.site-footer__legal {
		flex-direction: column;
	}

	.search-form {
		flex-direction: column;
	}

	.button-row,
	.wp-block-buttons {
		align-items: stretch;
		flex-direction: column;
	}

	.button-row .button,
	.wp-block-buttons .wp-block-button,
	.wp-block-buttons .wp-block-button__link {
		width: 100%;
	}

	th,
	td {
		padding: 0.6rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}
