/* ==========================================================================
   Velox — main stylesheet
   Tokens → base → layout → components → homepage → inner pages → form
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
	--vx-ink: #061A33;
	--vx-accent: #1AA6E4;
	--vx-link: #0B63B0;
	--vx-mist: #EEF5FB;
	--vx-paper: #FFFFFF;
	--vx-on: #2BC27A;
	--vx-ink-2: color-mix(in srgb, var(--vx-ink) 86%, #3d6ea8);
	--vx-muted: color-mix(in srgb, var(--vx-ink) 68%, #9fb0c4);
	--vx-line: color-mix(in srgb, var(--vx-ink) 14%, #ffffff);
	--vx-field: color-mix(in srgb, var(--vx-ink) 26%, #ffffff);

	--vx-font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	--vx-step--1: 0.875rem;
	--vx-step-0: 1.0625rem;
	--vx-step-1: 1.25rem;
	--vx-step-2: 1.5rem;
	--vx-step-3: clamp(1.9rem, 3.4vw, 2.85rem);
	--vx-step-4: clamp(2.2rem, 4.6vw, 3.75rem);
	--vx-step-5: clamp(2.6rem, 5.8vw, 4.9rem);

	--vx-container: 1200px;
	--vx-gutter: clamp(20px, 4vw, 40px);
	--vx-space: clamp(64px, 9vw, 120px);
	--vx-radius-s: 8px;
	--vx-radius-l: 14px;
	--vx-logo-h: 64px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; }
body {
	margin: 0;
	font-family: var(--vx-font);
	font-size: var(--vx-step-0);
	line-height: 1.6;
	color: var(--vx-ink);
	background: var(--vx-paper);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--vx-link); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.15; font-weight: 700; text-wrap: balance; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; }
:focus-visible { outline: 3px solid var(--vx-accent); outline-offset: 3px; border-radius: 2px; }
::selection { background: color-mix(in srgb, var(--vx-accent) 35%, transparent); }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}
.vx-skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--vx-ink); color: #fff; padding: 10px 16px; border-radius: var(--vx-radius-s); }
.vx-skip:focus { top: 12px; }

/* ---------- Layout ---------- */
.vx-container { width: 100%; max-width: calc(var(--vx-container) + var(--vx-gutter) * 2); margin-inline: auto; padding-inline: var(--vx-gutter); }
.vx-section { padding-block: var(--vx-space); }
.vx-section--tight { padding-block: clamp(48px, 6vw, 80px); }
.vx-section--flush { padding-bottom: 0; }
.vx-section--mist { background: var(--vx-mist); }
.vx-section--ink { background: var(--vx-ink); color: #fff; }
.vx-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }

/* ---------- Type helpers ---------- */
.vx-h2 {
	font-size: var(--vx-step-3);
	font-stretch: 112%;
	font-weight: 750;
	letter-spacing: -0.015em;
	line-height: 1.08;
	margin: 0;
}
.vx-h3 { font-size: var(--vx-step-2); font-stretch: 108%; font-weight: 700; }
.vx-lead, .is-style-lead { font-size: var(--vx-step-1); line-height: 1.5; color: var(--vx-ink); }
.vx-sechead { display: grid; gap: 14px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.vx-sechead__text { margin: 0; color: var(--vx-muted); font-size: var(--vx-step-1); line-height: 1.5; max-width: 60ch; }
.vx-section--ink .vx-sechead__text { color: rgb(255 255 255 / 0.72); }
.vx-sechead--row { display: flex; justify-content: space-between; align-items: end; gap: 24px; max-width: none; flex-wrap: wrap; }
.vx-link { font-weight: 600; color: var(--vx-link); }

/* ---------- Buttons ---------- */
.vx-btn, .velox-btn, .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 12px 22px;
	border-radius: var(--vx-radius-s);
	border: 1px solid transparent;
	font: inherit;
	font-weight: 650;
	font-stretch: 104%;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.vx-btn--primary { background: var(--vx-accent); color: var(--vx-ink); }
.vx-btn--primary:hover { background: color-mix(in srgb, var(--vx-accent) 82%, #fff); color: var(--vx-ink); }
.vx-btn--ghost { border-color: rgb(255 255 255 / 0.4); color: #fff; }
.vx-btn--ghost:hover { border-color: #fff; color: #fff; }
.vx-btn--ink, .wp-block-button__link { background: var(--vx-ink); color: #fff; }
.vx-btn--ink:hover, .wp-block-button__link:hover { background: var(--vx-link); color: #fff; }
.vx-btn[disabled] { opacity: 0.6; cursor: progress; }
.vx-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.vx-header {
	position: sticky; top: 0; z-index: 50;
	background: rgb(255 255 255 / 0.96);
	backdrop-filter: saturate(160%) blur(8px);
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.admin-bar .vx-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .vx-header { top: 0; } }
.vx-header.is-scrolled { border-bottom-color: var(--vx-line); box-shadow: 0 6px 24px -18px rgb(6 26 51 / 0.45); }
.vx-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.vx-logo { display: inline-flex; flex-shrink: 0; }
.vx-logo img { height: var(--vx-logo-h); width: auto; }
.vx-nav { display: flex; align-items: center; gap: 28px; }
.vx-nav__list { list-style: none; padding: 0; display: flex; gap: 4px; }
.vx-nav__list a { display: block; padding: 10px 12px; color: var(--vx-ink); font-weight: 550; text-decoration: none; border-radius: 6px; }
.vx-nav__list a:hover { color: var(--vx-link); }
.vx-nav__list .current-menu-item > a, .vx-nav__list .current_page_item > a, .vx-nav__list .current-menu-ancestor > a {
	text-decoration: underline; text-decoration-color: var(--vx-accent); text-decoration-thickness: 3px; text-underline-offset: 10px;
}
.vx-nav__list li { position: relative; }
.vx-nav__list .sub-menu { list-style: none; padding: 8px; margin: 0; position: absolute; left: 0; top: 100%; min-width: 220px; background: #fff; border: 1px solid var(--vx-line); border-radius: var(--vx-radius-s); box-shadow: 0 16px 40px -20px rgb(6 26 51 / 0.35); opacity: 0; visibility: hidden; transform: translateY(4px); transition: 0.15s; }
.vx-nav__list li:hover > .sub-menu, .vx-nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.vx-menu-toggle { display: none; }

@media (max-width: 960px) {
	.vx-header__bar { min-height: 72px; }
	.vx-logo img { height: min(var(--vx-logo-h), 50px); }
	.vx-menu-toggle {
		display: inline-flex; align-items: center; gap: 10px;
		background: none; border: 1px solid var(--vx-line); border-radius: var(--vx-radius-s);
		padding: 10px 14px; font: inherit; font-weight: 600; color: var(--vx-ink); cursor: pointer;
	}
	.vx-menu-toggle__bars, .vx-menu-toggle__bars::before, .vx-menu-toggle__bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; transition: 0.2s; }
	.vx-menu-toggle__bars::before, .vx-menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
	.vx-menu-toggle__bars::before { top: -6px; }
	.vx-menu-toggle__bars::after { top: 6px; }
	.vx-menu-open .vx-menu-toggle__bars { background: transparent; }
	.vx-menu-open .vx-menu-toggle__bars::before { top: 0; transform: rotate(45deg); }
	.vx-menu-open .vx-menu-toggle__bars::after { top: 0; transform: rotate(-45deg); }

	.vx-nav {
		display: none;
		position: absolute; left: 0; right: 0; top: 100%;
		flex-direction: column; align-items: stretch; gap: 20px;
		padding: 16px var(--vx-gutter) 28px;
		background: #fff; border-bottom: 1px solid var(--vx-line);
		max-height: calc(100vh - 72px); overflow-y: auto;
	}
	.vx-menu-open .vx-nav { display: flex; }
	.vx-nav__list { flex-direction: column; gap: 0; }
	.vx-nav__list a { padding: 14px 0; font-size: var(--vx-step-1); border-bottom: 1px solid var(--vx-line); border-radius: 0; }
	.vx-nav__list .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 0 0 0 16px; }
}

/* ---------- Hero ---------- */
.vx-hero { background: var(--vx-ink); color: #fff; padding-block: clamp(56px, 8vw, 112px) clamp(64px, 9vw, 120px); border-bottom: 4px solid var(--vx-accent); }
.vx-hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.vx-hero--solo .vx-hero__grid { grid-template-columns: minmax(0, 1fr); }
.vx-hero__title {
	font-size: var(--vx-step-5);
	font-style: italic;
	font-stretch: 125%;
	font-weight: 800;
	line-height: 1.0;
	letter-spacing: -0.025em;
	margin: 0 0 28px;
	max-width: 14ch;
}
.vx-hero--solo .vx-hero__title { max-width: 18ch; }
.vx-hero__text { font-size: var(--vx-step-1); line-height: 1.55; color: rgb(255 255 255 / 0.78); max-width: 50ch; margin-bottom: 36px; }

/* The live coverage board */
.vx-board {
	background: var(--vx-ink-2);
	border: 1px solid rgb(255 255 255 / 0.12);
	border-radius: var(--vx-radius-l);
	padding: 22px 24px 18px;
}
.vx-board__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid rgb(255 255 255 / 0.14); }
.vx-board__title { margin: 0; font-size: 1rem; font-weight: 650; font-stretch: 100%; letter-spacing: 0; }
.vx-board__live { display: inline-flex; align-items: center; gap: 8px; font-size: var(--vx-step--1); color: rgb(255 255 255 / 0.8); }
.vx-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--vx-on); box-shadow: 0 0 0 0 color-mix(in srgb, var(--vx-on) 60%, transparent); animation: vx-pulse 2.4s infinite; }
@keyframes vx-pulse { 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

.vx-board__rows { list-style: none; padding: 0; margin: 0; }
.vx-board__row {
	display: grid;
	grid-template-columns: 1fr auto;
	grid-template-areas: "city time" "day shift";
	align-items: center;
	column-gap: 16px; row-gap: 8px;
	padding: 14px 0;
	border-bottom: 1px solid rgb(255 255 255 / 0.08);
}
.vx-board__row:last-child { border-bottom: 0; }
.vx-board__city { grid-area: city; font-weight: 550; }
.vx-board__time { grid-area: time; font-size: 1.6rem; font-weight: 700; font-stretch: 112%; font-variant-numeric: tabular-nums; line-height: 1; letter-spacing: -0.01em; }
.vx-board__shift { grid-area: shift; justify-self: end; font-size: 0.8125rem; color: rgb(255 255 255 / 0.66); white-space: nowrap; }
.vx-board__shift::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--vx-on); margin-right: 7px; vertical-align: 1px; }
.vx-board__day {
	grid-area: day;
	position: relative; height: 4px; border-radius: 4px;
	/* night 00–06, day 06–18, night 18–24 */
	background: linear-gradient(to right,
		rgb(255 255 255 / 0.12) 0 25%,
		color-mix(in srgb, var(--vx-accent) 55%, transparent) 25% 75%,
		rgb(255 255 255 / 0.12) 75% 100%);
}
.vx-board__now { position: absolute; top: 50%; left: var(--p, 50%); width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px var(--vx-ink-2); transition: left 0.6s ease; }
.vx-board__note { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid rgb(255 255 255 / 0.14); font-size: var(--vx-step--1); color: rgb(255 255 255 / 0.62); }

/* One orchestrated moment: rows come online in sequence on first load. */
@media (prefers-reduced-motion: no-preference) {
	.vx-board__row { animation: vx-online 0.5s both cubic-bezier(.2, .7, .2, 1); }
	.vx-board__row:nth-child(2) { animation-delay: 0.08s; }
	.vx-board__row:nth-child(3) { animation-delay: 0.16s; }
	.vx-board__row:nth-child(4) { animation-delay: 0.24s; }
	.vx-board__row:nth-child(5) { animation-delay: 0.32s; }
	.vx-board__row:nth-child(6) { animation-delay: 0.40s; }
	.vx-board__row:nth-child(n+7) { animation-delay: 0.48s; }
}
@keyframes vx-online { from { opacity: 0; transform: translateY(6px); } }

/* ---------- About ---------- */
.vx-about__body { display: grid; gap: 28px; }
.vx-about__body .vx-lead { margin: 0; max-width: 58ch; }
.vx-mv { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 0; padding-top: 28px; border-top: 1px solid var(--vx-line); }
.vx-mv dt { font-weight: 700; font-stretch: 108%; margin-bottom: 8px; color: var(--vx-link); }
.vx-mv dd { margin: 0; color: var(--vx-muted); }

/* ---------- Services (ruled rows) ---------- */
.vx-rows { list-style: none; padding: 0; border-bottom: 1px solid var(--vx-field); }
.vx-row {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) auto;
	gap: 16px 48px;
	align-items: baseline;
	padding: 34px 0;
	border-top: 1px solid var(--vx-field);
}
.vx-row__title { margin: 0; font-size: var(--vx-step-2); font-stretch: 112%; font-weight: 750; line-height: 1.2; }
.vx-row__title a { color: var(--vx-ink); text-decoration: none; }
.vx-row__title a:hover { color: var(--vx-link); }
.vx-row__text { margin: 0; color: var(--vx-muted); max-width: 56ch; }
.vx-row__link { font-weight: 600; white-space: nowrap; }

/* ---------- Process (a real sequence → numbered) ---------- */
.vx-steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); counter-reset: none; }
.vx-step { border-top: 2px solid var(--vx-ink); padding-top: 22px; }
.vx-step__n { display: block; font-size: clamp(3.2rem, 6vw, 4.75rem); font-style: italic; font-stretch: 125%; font-weight: 800; line-height: 0.9; color: var(--vx-accent); margin-bottom: 18px; }
.vx-step__title { font-size: var(--vx-step-2); font-stretch: 110%; margin-bottom: 8px; }
.vx-step p { margin: 0; color: var(--vx-muted); }

/* ---------- Why (dark) ---------- */
.vx-why__head { position: sticky; top: 130px; display: grid; gap: 16px; }
.vx-reasons { list-style: none; padding: 0; }
.vx-reasons li { padding: 26px 0; border-top: 1px solid rgb(255 255 255 / 0.16); }
.vx-reasons li:last-child { border-bottom: 1px solid rgb(255 255 255 / 0.16); }
.vx-reasons__title { font-size: var(--vx-step-1); font-stretch: 108%; margin-bottom: 6px; color: #fff; }
.vx-reasons p { margin: 0; color: rgb(255 255 255 / 0.7); max-width: 58ch; }

/* ---------- Industries ---------- */
.vx-tiles { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(24px, 3vw, 40px); }
.vx-tile { border-top: 3px solid var(--vx-accent); padding-top: 20px; }
.vx-tile.has-image { border-top: 0; padding-top: 0; }
.vx-tile__img { margin-bottom: 20px; border-radius: var(--vx-radius-l); overflow: hidden; aspect-ratio: 16 / 10; background: var(--vx-mist); }
.vx-tile__img img { width: 100%; height: 100%; object-fit: cover; }
.vx-tile__title { font-size: var(--vx-step-2); font-stretch: 110%; margin-bottom: 8px; }
.vx-tile__title a { color: var(--vx-ink); text-decoration: none; }
.vx-tile__title a:hover { color: var(--vx-link); }
.vx-tile p { margin: 0; color: var(--vx-muted); }

/* ---------- Testimonials ---------- */
.vx-quotes__grid { display: grid; gap: clamp(24px, 4vw, 48px); grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.vx-quotes__grid--1 { max-width: 860px; }
.vx-quote { margin: 0; display: grid; gap: 20px; align-content: start; }
.vx-quote blockquote { margin: 0; font-size: var(--vx-step-1); line-height: 1.5; }
.vx-quotes__grid--1 .vx-quote blockquote { font-size: var(--vx-step-2); }
.vx-quote blockquote p:last-child { margin: 0; }
.vx-quote figcaption { display: flex; align-items: center; gap: 12px; color: var(--vx-muted); font-size: var(--vx-step--1); }
.vx-quote figcaption strong { display: block; color: var(--vx-ink); font-size: var(--vx-step-0); }
.vx-quote__photo { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }

/* ---------- Post cards ---------- */
.vx-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: clamp(28px, 3vw, 40px); }
.vx-card { display: grid; gap: 16px; align-content: start; }
.vx-card__img { display: block; border-radius: var(--vx-radius-l); overflow: hidden; aspect-ratio: 16 / 10; background: var(--vx-mist); }
.vx-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.vx-card__img:hover img { transform: scale(1.03); }
.vx-card__meta { margin: 0 0 6px; font-size: var(--vx-step--1); color: var(--vx-muted); display: flex; gap: 12px; }
.vx-card__cat { color: var(--vx-link); font-weight: 600; }
.vx-card__title { font-size: var(--vx-step-1); font-stretch: 106%; margin-bottom: 8px; line-height: 1.3; }
.vx-card__title a { color: var(--vx-ink); text-decoration: none; }
.vx-card__title a:hover { color: var(--vx-link); text-decoration: underline; }
.vx-card__excerpt { margin: 0; color: var(--vx-muted); }
.vx-card:not(:has(.vx-card__img)) { border-top: 3px solid var(--vx-accent); padding-top: 18px; }

/* ---------- CTA band ---------- */
.vx-cta { background: var(--vx-accent); color: var(--vx-ink); padding-block: clamp(56px, 8vw, 104px); }
.vx-cta__inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px 64px; flex-wrap: wrap; }
.vx-cta__title { font-size: var(--vx-step-5); font-style: italic; font-stretch: 125%; font-weight: 800; letter-spacing: -0.025em; line-height: 1; margin: 0 0 18px; }
.vx-cta__text { margin: 0; font-size: var(--vx-step-1); max-width: 52ch; line-height: 1.5; }
.vx-cta .vx-btn--ink:hover { background: #fff; color: var(--vx-ink); }

/* ---------- Footer ---------- */
.vx-footer { background: var(--vx-mist); padding-top: clamp(56px, 7vw, 88px); font-size: 0.975rem; }
.vx-footer__grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1.3fr); gap: 40px; padding-bottom: 48px; }
.vx-footer__grid:has(.vx-footer__extra) { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1.2fr); }
.vx-widget + .vx-widget { margin-top: 24px; }
.vx-footer__brand .vx-logo img { height: 60px; }
.vx-footer__brand p { margin: 20px 0 0; color: var(--vx-muted); max-width: 42ch; }
.vx-footer__h { font-size: 1rem; font-stretch: 108%; margin-bottom: 14px; }
.vx-footer__list { list-style: none; padding: 0; display: grid; gap: 8px; }
.vx-footer__list a, .vx-footer .vx-details a, .vx-socials a { color: var(--vx-ink); text-decoration: none; }
.vx-footer__list a:hover, .vx-footer .vx-details a:hover, .vx-socials a:hover { color: var(--vx-link); text-decoration: underline; }
.vx-footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 22px 28px; border-top: 1px solid var(--vx-field); font-size: var(--vx-step--1); color: var(--vx-muted); }
.vx-footer__base p { margin: 0; }
.vx-footer__base a { color: var(--vx-muted); }

.vx-details { margin: 0; display: grid; gap: 14px; }
.vx-details dt { font-size: var(--vx-step--1); color: var(--vx-muted); }
.vx-details dd { margin: 2px 0 0; font-weight: 550; overflow-wrap: anywhere; }
.vx-socials { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-weight: 600; }

/* ---------- Inner pages ---------- */
.vx-pagehead { background: var(--vx-mist); padding-block: clamp(48px, 7vw, 96px) clamp(40px, 5vw, 64px); }
.vx-pagehead__title { font-size: var(--vx-step-4); font-style: italic; font-stretch: 125%; font-weight: 800; letter-spacing: -0.02em; line-height: 1.02; margin: 0; max-width: 20ch; }
.vx-pagehead__lead { margin: 20px 0 0; font-size: var(--vx-step-1); color: var(--vx-muted); max-width: 60ch; line-height: 1.5; }
.vx-pagehead__meta { margin: 0 0 16px; display: flex; gap: 16px; color: var(--vx-muted); font-size: var(--vx-step--1); }

.vx-prose { max-width: 72ch; }
/* When prose sits directly on a container, stay left-aligned with the page grid and cap line length per element instead. */
.vx-container.vx-prose { max-width: calc(var(--vx-container) + var(--vx-gutter) * 2); }
.vx-container.vx-prose > * { max-width: 72ch; }
.vx-container.vx-prose > .alignwide, .vx-container.vx-prose > .alignfull, .vx-container.vx-prose > .wp-block-columns, .vx-container.vx-prose > .wp-block-group, .vx-container.vx-prose > .wp-block-media-text, .vx-container.vx-prose > .wp-block-cover, .vx-container.vx-prose > .wp-block-image.alignwide { max-width: none; }
.vx-prose--wide { max-width: var(--vx-container); }
.vx-prose--wide > * { max-width: 72ch; }
.vx-prose--wide > .alignwide, .vx-prose--wide > .alignfull, .vx-prose--wide > .wp-block-columns, .vx-prose--wide > .wp-block-group, .vx-prose--wide > .wp-block-media-text, .vx-prose--wide > .wp-block-cover { max-width: none; }
.vx-prose > * + * { margin-top: 1.1em; }
.vx-prose > *:first-child { margin-top: 0; }
.vx-prose h2 { font-size: var(--vx-step-3); font-stretch: 112%; letter-spacing: -0.015em; margin-top: 1.8em; }
.vx-prose h3 { font-size: var(--vx-step-2); font-stretch: 108%; margin-top: 1.6em; }
.vx-prose p, .vx-prose li { color: color-mix(in srgb, var(--vx-ink) 88%, transparent); }
.vx-prose ul, .vx-prose ol { padding-left: 1.3em; }
.vx-prose li + li { margin-top: 0.4em; }
.vx-prose blockquote { margin-left: 0; padding-left: 1.2em; border-left: 3px solid var(--vx-accent); font-size: var(--vx-step-1); }
.vx-prose img { border-radius: var(--vx-radius-l); }
.vx-prose figcaption { font-size: var(--vx-step--1); color: var(--vx-muted); margin-top: 8px; }
.vx-prose .is-style-lead { font-size: var(--vx-step-1); color: var(--vx-ink); }
.vx-prose .wp-block-columns { gap: clamp(24px, 4vw, 48px); margin-block: 2em; }
.vx-prose table { width: 100%; border-collapse: collapse; }
.vx-prose th, .vx-prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--vx-line); }
.vx-prose code { background: var(--vx-mist); padding: 0.1em 0.35em; border-radius: 4px; }

.vx-article__img { margin: clamp(-32px, -3vw, -16px) auto 0; }
.vx-article__img img { width: 100%; border-radius: var(--vx-radius-l); }
.vx-tags a { display: inline-block; margin: 0 6px 6px 0; padding: 4px 12px; border-radius: 999px; background: var(--vx-mist); color: var(--vx-ink); text-decoration: none; font-size: var(--vx-step--1); }
.vx-postnav { padding-bottom: 64px; }
.vx-postnav .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; border-top: 1px solid var(--vx-line); padding-top: 24px; }
.vx-postnav .nav-next { text-align: right; }
.vx-postnav a { color: var(--vx-ink); text-decoration: none; font-weight: 600; }
.vx-postnav span { display: block; font-size: var(--vx-step--1); color: var(--vx-muted); font-weight: 400; }

/* Block patterns */
.vx-pattern-mv { padding-top: 24px; border-top: 1px solid var(--vx-line); }
.vx-pattern-mv h3 { color: var(--vx-link); font-size: var(--vx-step-1) !important; margin-top: 0 !important; }
.vx-pattern-steps { counter-reset: vxstep; }
.vx-pattern-steps > .wp-block-column { border-top: 2px solid var(--vx-ink); padding-top: 18px; }
.vx-pattern-steps > .wp-block-column h3 { margin-top: 0 !important; }
.vx-pattern-steps > .wp-block-column h3::before { counter-increment: vxstep; content: counter(vxstep); display: block; font-size: 3rem; font-style: italic; font-stretch: 125%; font-weight: 800; line-height: 1; color: var(--vx-accent); margin-bottom: 12px; }
.vx-pattern-cta { background: var(--vx-accent); color: var(--vx-ink); border-radius: var(--vx-radius-l); padding: clamp(28px, 5vw, 56px) !important; margin-block: 2.5em !important; }
.vx-pattern-cta h2 { font-style: italic; font-stretch: 125%; font-weight: 800; margin-top: 0 !important; }
.vx-pattern-cta p { color: var(--vx-ink) !important; }
.vx-pattern-dark { background: var(--vx-ink); color: #fff; border-radius: var(--vx-radius-l); padding: clamp(28px, 5vw, 56px) !important; }
.vx-pattern-dark h2 { color: #fff; margin-top: 0 !important; }
.vx-pattern-dark li { color: rgb(255 255 255 / 0.78) !important; }
.vx-pattern-dark strong { color: #fff; }
.vx-pattern-reasons { list-style: none; padding: 0 !important; }
.vx-pattern-reasons li { padding: 16px 0; border-top: 1px solid rgb(255 255 255 / 0.16); margin: 0 !important; }
.vx-pattern-media { gap: clamp(24px, 4vw, 56px); }
.vx-pattern-media .wp-block-media-text__content { padding: 0 !important; }
.vx-pattern-media img { border-radius: var(--vx-radius-l); }

/* Solutions page */
.vx-solutions { display: grid; }
.vx-solution { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); padding-block: clamp(40px, 5vw, 64px); border-top: 1px solid var(--vx-line); align-items: center; }
.vx-solution:first-child { border-top: 0; padding-top: 0; }
.vx-solution.has-image { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.vx-solution:nth-child(even).has-image .vx-solution__img { order: -1; }
.vx-solution h2 a { color: var(--vx-ink); text-decoration: none; }
.vx-solution h2 a:hover { color: var(--vx-link); }
.vx-solution__body { display: grid; gap: 20px; max-width: 72ch; }
.vx-solution__body > * { margin: 0; }
.vx-solution__img img { width: 100%; border-radius: var(--vx-radius-l); aspect-ratio: 4 / 3; object-fit: cover; }
.vx-checks { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px 28px; }
.vx-checks li { position: relative; padding-left: 30px; margin: 0 !important; }
.vx-checks li::before { content: ""; position: absolute; left: 2px; top: 0.28em; width: 18px; height: 18px; border-radius: 50%; background: var(--vx-mist); }
.vx-checks li::after { content: ""; position: absolute; left: 8px; top: 0.48em; width: 5px; height: 9px; border: solid var(--vx-link); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* Contact page */
.vx-contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.vx-contact__info { display: grid; gap: 20px; }
.vx-contact__info .vx-h3, .vx-contact__form .vx-h3 { margin: 0; }
.vx-contact__form { background: var(--vx-mist); border-radius: var(--vx-radius-l); padding: clamp(24px, 4vw, 44px); display: grid; gap: 24px; }

/* Search, pagination, empty */
.vx-search { display: flex; gap: 10px; max-width: 520px; }
.vx-search input { flex: 1; }
.vx-searchbar { margin-bottom: 40px; }
.vx-empty { color: var(--vx-muted); }
.pagination { margin-top: 56px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.pagination .page-numbers { display: inline-flex; min-width: 44px; height: 44px; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid var(--vx-line); border-radius: var(--vx-radius-s); color: var(--vx-ink); text-decoration: none; }
.pagination .page-numbers.current { background: var(--vx-ink); color: #fff; border-color: var(--vx-ink); }

/* Comments */
.vx-comments { padding-bottom: 64px; }
.vx-comments__list { list-style: none; padding: 0; }
.vx-comments__list .comment-body { padding: 20px 0; border-top: 1px solid var(--vx-line); }
.vx-comments .comment-form { display: grid; gap: 12px; }

/* ---------- Form (Velox Core contact form + generic inputs) ---------- */
input[type="text"], input[type="email"], input[type="tel"], input[type="search"], input[type="url"], input[type="password"], select, textarea {
	width: 100%;
	font: inherit;
	font-size: 1rem;
	color: var(--vx-ink);
	background: #fff;
	border: 1px solid var(--vx-field);
	border-radius: var(--vx-radius-s);
	padding: 12px 14px;
	min-height: 48px;
	transition: border-color 0.15s, box-shadow 0.15s;
}
textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--vx-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--vx-accent) 28%, transparent); }
::placeholder { color: color-mix(in srgb, var(--vx-ink) 45%, #fff); }

.velox-form { display: grid; gap: 22px; }
.velox-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.velox-field { margin: 0; display: grid; gap: 7px; }
.velox-field--wide { grid-column: 1 / -1; }
.velox-field label { font-weight: 600; font-size: 0.95rem; }
.velox-optional { font-weight: 400; color: var(--vx-muted); }
.velox-field--check label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.velox-field--check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--vx-ink); }
.velox-form.is-validated :invalid { border-color: #c0392b; }
.velox-form__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.velox-form__submit { justify-self: start; background: var(--vx-ink); color: #fff; }
.velox-form__submit:hover { background: var(--vx-link); color: #fff; }
.velox-form__status { padding: 14px 16px; border-radius: var(--vx-radius-s); font-weight: 550; }
.velox-form__status[data-state="ok"] { background: #e3f6ec; color: #11542f; border: 1px solid #b6e3c8; }
.velox-form__status[data-state="error"] { background: #fdecea; color: #7d1d14; border: 1px solid #f4c4bd; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.vx-hero__grid { grid-template-columns: minmax(0, 1fr); }
	.vx-board { max-width: 560px; }
	.vx-why__head { position: static; }
}
@media (max-width: 860px) {
	.vx-split, .vx-contact, .vx-solution.has-image { grid-template-columns: minmax(0, 1fr); }
	.vx-solution:nth-child(even).has-image .vx-solution__img { order: 0; }
	.vx-row { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 26px 0; }
	.vx-steps { grid-template-columns: minmax(0, 1fr); }
	.vx-footer__grid { grid-template-columns: 1fr 1fr; }
	.vx-footer__brand { grid-column: 1 / -1; }
	.vx-cta__inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
	.vx-mv, .velox-form__grid, .vx-footer__grid { grid-template-columns: minmax(0, 1fr); }
	.vx-board { padding: 18px 18px 14px; }
	.vx-board__time { font-size: 1.35rem; }
	.vx-actions .vx-btn { flex: 1 1 100%; }
	.vx-postnav .nav-links { grid-template-columns: 1fr; }
	.vx-postnav .nav-next { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	html { scroll-behavior: auto; }
}
