/**
 * UNDA layout, typography, WPBakery helpers, and snap-scroll frame.
 */

:root {
	--unda-red: #e30613;
	--unda-black: #050505;
	--unda-panel: #0f0f0f;
	--unda-border: #2a2a2a;
	--unda-muted: #b3b3b3;
	/* Measured on load in unda-frame.js; default matches tall logo (~115px) */
	--unda-header-h: 130px;
	--unda-header-gap: 0px;
	/* Section index + kicker stack above section h2 (cols 2+ align to h2 top) */
	--unda-section-head-stack: calc(
		(clamp(2.5rem, 6vw, 4.5rem) * 0.9) + (13px * 1.35) + 8px
	);
	--unda-about-head-stack: var(--unda-section-head-stack);
	--unda-section-gutter: 30px;
	--unda-section-heading-lh: 1.12;
	--unda-footer-h: 200px;
	/* Typography: Poppins site-wide (weights/sizes unchanged per role — see unda_assets()) */
	--unda-font-family: "Poppins", ui-sans-serif, system-ui, -apple-system, sans-serif;
	--unda-font-massive: var(--unda-font-family);
	--unda-font-section: var(--unda-font-family);
	--unda-font-ui: var(--unda-font-family);
	--unda-font-ui-small: var(--unda-font-family);
	--unda-font-stats: var(--unda-font-family);
	--unda-font-section-display: var(--unda-font-family);
	--unda-font-body: var(--unda-font-ui);
}

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

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--unda-black);
	color: #fff;
	font-family: var(--unda-font-ui);
	font-size: 16px;
	line-height: 1.55;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

a:hover {
	color: var(--unda-red);
}

.screen-reader-text {
	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;
}

/* -------------------------------------------------------------------------
 * Default (non–snap shell) pages
 * ------------------------------------------------------------------------- */

.site-main--default {
	max-width: 900px;
	margin: 0 auto;
	padding: 120px 20px 60px;
}

.site-main--default .entry-title {
	font-family: var(--unda-font-section);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

/* -------------------------------------------------------------------------
 * Snap frame: fixed header + scroll surface (footer scrolls inside main)
 * ------------------------------------------------------------------------- */

body.unda-snap-shell {
	height: 100vh;
	overflow: hidden;
}

body.unda-snap-shell .unda-site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	background: rgba(5, 5, 5, 0.92);
	border-bottom: 1px solid var(--unda-border);
	backdrop-filter: blur(10px);
	transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

body.unda-snap-shell .unda-site-header.is-compact {
	border-bottom-color: rgba(227, 6, 19, 0.35);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

body.unda-snap-shell .unda-site-footer--scroll {
	position: relative;
	width: 100%;
	flex-shrink: 0;
	background: rgba(5, 5, 5, 0.98);
	border-top: none;
	backdrop-filter: blur(8px);
	scroll-snap-align: end;
}

body.unda-snap-shell .unda-site-footer--scroll::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(
		90deg,
		rgba(227, 6, 19, 0.15) 0%,
		rgba(227, 6, 19, 0.95) 50%,
		rgba(227, 6, 19, 0.15) 100%
	);
	box-shadow: 0 0 14px rgba(227, 6, 19, 0.65);
	pointer-events: none;
}

body.unda-snap-shell .unda-scroll-surface {
	display: block;
	height: 100vh;
	overflow-x: hidden;
	overflow-y: auto;
	scroll-snap-type: y mandatory;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	padding-top: calc(var(--unda-header-h) + var(--unda-header-gap));
	padding-bottom: 0;
	scroll-padding-top: calc(var(--unda-header-h) + var(--unda-header-gap));
}

/* Snap sections: same vertical centring for hero → contact (row centred in viewport) */
body.unda-snap-shell .unda-snap-section {
	scroll-snap-align: start;
	scroll-snap-stop: always;
	min-height: calc(100vh - var(--unda-header-h) - var(--unda-header-gap));
	display: flex;
	flex-wrap: wrap;
	align-content: center;
	align-items: flex-start;
}

body.unda-snap-shell .unda-snap-section.vc_row-fluid {
	width: 100%;
}

body.unda-snap-shell .unda-snap-section > .wpb_column {
	align-self: flex-start;
	padding-top: 0;
	padding-bottom: 0;
	min-width: 0;
}

/* -------------------------------------------------------------------------
 * Back to top (snap home)
 * ------------------------------------------------------------------------- */

.unda-back-to-top {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 999;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	min-width: 52px;
	min-height: 52px;
	padding: 10px 12px;
	border-radius: 50%;
	border: 1px solid rgba(227, 6, 19, 0.65);
	background: rgba(8, 8, 8, 0.92);
	color: #fff;
	text-decoration: none;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55), 0 0 16px rgba(227, 6, 19, 0.25);
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
	pointer-events: none;
}

.unda-back-to-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}

.unda-back-to-top:hover,
.unda-back-to-top:focus-visible {
	color: var(--unda-red);
	border-color: var(--unda-red);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.6), 0 0 20px rgba(227, 6, 19, 0.45);
}

.unda-back-to-top:focus-visible {
	outline: 2px solid var(--unda-red);
	outline-offset: 3px;
}

.unda-back-to-top__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
}

.unda-back-to-top__svg {
	display: block;
	width: 22px;
	height: 22px;
}

.unda-back-to-top__text {
	font-family: var(--unda-font-ui-small);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	line-height: 1;
}

@media (max-width: 560px) {
	.unda-back-to-top {
		right: 14px;
		bottom: 14px;
		min-width: 48px;
		min-height: 48px;
		padding: 8px 10px;
	}

	.unda-back-to-top__svg {
		width: 20px;
		height: 20px;
	}
}

/* -------------------------------------------------------------------------
 * Header
 * ------------------------------------------------------------------------- */

.unda-site-header__inner {
	max-width: 1440px;
	margin: 0 auto;
	padding: 10px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	font-family: var(--unda-font-ui);
}

.unda-brand {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
	flex-shrink: 0;
}

.unda-brand__link {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.unda-brand__logo {
	width: auto;
	max-height: 115px;
	object-fit: contain;
}

.unda-brand__tagline {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 1px;
	margin: 0;
	padding-left: 14px;
	border-left: 1px solid #666;
	font-family: var(--unda-font-ui-small);
	font-size: 11px;
	line-height: 1.2;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #e8e8e8;
	white-space: nowrap;
}

.unda-brand__tagline-line {
	display: block;
}

@media (max-width: 1180px) {
	.unda-brand__tagline {
		display: none;
	}
}

.unda-nav-toggle {
	display: none;
	background: transparent;
	border: 1px solid #444;
	border-radius: 4px;
	padding: 8px 10px;
	cursor: pointer;
}

.unda-nav-toggle__bar {
	display: block;
	width: 22px;
	height: 2px;
	background: #fff;
	margin: 4px 0;
}

.unda-primary-nav {
	display: flex;
	align-items: center;
	gap: 20px;
	flex: 1 1 auto;
	min-width: 0;
	justify-content: flex-end;
	flex-wrap: nowrap;
}

.unda-primary-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: nowrap;
	gap: 0 18px;
	align-items: center;
	justify-content: center;
	flex: 1 1 auto;
	min-width: 0;
}

.unda-primary-nav__item {
	flex-shrink: 0;
}

.unda-primary-nav__link {
	display: inline-block;
	font-family: var(--unda-font-ui-small);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	color: #f2f2f2;
	padding: 8px 0 10px;
	border-bottom: 3px solid transparent;
	white-space: nowrap;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.unda-primary-nav__link:hover,
.unda-primary-nav__link:focus-visible {
	color: #fff;
}

/* Active underline only — hover must not mimic the current section */
.unda-primary-nav__link:not(.is-active):hover,
.unda-primary-nav__link:not(.is-active):focus-visible {
	border-bottom-color: transparent;
}

.unda-primary-nav__item.is-active .unda-primary-nav__link,
.unda-primary-nav__link.is-active {
	border-bottom-color: var(--unda-red);
	color: #fff;
}

.unda-header-cta {
	flex-shrink: 0;
	font-family: var(--unda-font-ui-small);
	font-weight: 700;
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	background: var(--unda-red);
	color: #fff !important;
	padding: 11px 16px;
	border-radius: 0;
	border: 1px solid var(--unda-red);
	white-space: nowrap;
}

.unda-header-cta:hover {
	filter: brightness(1.08);
}

@media (max-width: 1280px) {
	.unda-primary-nav__list {
		gap: 0 12px;
	}

	.unda-primary-nav__link {
		font-size: 11px;
		letter-spacing: 0.08em;
	}
}

@media (max-width: 960px) {
	.unda-nav-toggle {
		display: block;
	}

	.unda-primary-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: #080808;
		border-bottom: 1px solid #333;
		padding: 16px 20px 24px;
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
		display: none;
	}

	.unda-primary-nav.is-open {
		display: flex;
	}

	.unda-primary-nav__list {
		flex-direction: column;
		align-items: flex-start;
	}

	.unda-header-cta {
		text-align: center;
	}
}

/* -------------------------------------------------------------------------
 * Footer — contact | divider | follow + copyright bar
 * ------------------------------------------------------------------------- */

.unda-site-footer {
	position: relative;
	font-family: var(--unda-font-ui);
}

.unda-site-footer__main {
	max-width: 1200px;
	margin: 0 auto;
	padding: 22px 32px 18px;
}

.unda-site-footer__panel {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: stretch;
	gap: 0;
}

.unda-site-footer__col--contact {
	padding-right: 12px;
}

.unda-site-footer__col--follow {
	padding-left: 12px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.unda-site-footer__heading {
	margin: 0 0 14px;
	font-family: var(--unda-font-ui-small);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--unda-red);
	line-height: 1.2;
}

.unda-site-footer__divider {
	position: relative;
	width: 1px;
	margin: 0 clamp(24px, 5vw, 56px);
	background: rgba(255, 255, 255, 0.12);
	align-self: stretch;
	min-height: 120px;
}

.unda-site-footer__divider-dot {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--unda-red);
	box-shadow: 0 0 12px rgba(227, 6, 19, 0.9);
	transform: translate(-50%, -50%);
}

.unda-footer-contact {
	list-style: none;
	margin: 0;
	padding: 0;
}

.unda-footer-contact__item {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 11px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.unda-footer-contact__item--last {
	border-bottom: none;
	padding-bottom: 0;
}

.unda-footer-contact__icon {
	flex: 0 0 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--unda-red);
	line-height: 0;
}

.unda-footer-contact__icon .unda-icon,
.unda-footer-contact__icon .unda-icon svg {
	width: 20px;
	height: 20px;
}

.unda-footer-contact__text {
	font-size: 14px;
	line-height: 1.35;
	color: #f0f0f0;
	text-decoration: none;
}

a.unda-footer-contact__text:hover,
a.unda-footer-contact__text:focus-visible {
	color: #fff;
	text-decoration: underline;
}

.unda-footer-social .unda-social {
	margin-top: 0;
	gap: 10px 14px;
}

.unda-footer-social .unda-social__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	min-width: 46px;
	min-height: 46px;
	padding: 0;
	border-radius: 50%;
	background: #0a0a0a;
	border: 1px solid rgba(255, 255, 255, 0.12);
	color: #f5f5f5;
	box-shadow: 0 10px 18px rgba(227, 6, 19, 0.28);
	transition: color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.unda-footer-social .unda-social__link:hover,
.unda-footer-social .unda-social__link:focus-visible {
	color: var(--unda-red);
	border-color: rgba(227, 6, 19, 0.55);
	box-shadow: 0 12px 22px rgba(227, 6, 19, 0.45);
}

.unda-footer-social .unda-social__svg {
	width: 22px;
	height: 22px;
}

.unda-site-footer__bar {
	width: 100%;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(0, 0, 0, 0.45);
}

.unda-site-footer__bar-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 10px 32px 12px;
	display: flex;
	align-items: center;
	gap: 12px;
}

.unda-site-footer__secure {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	color: var(--unda-red);
	line-height: 0;
}

.unda-site-footer__secure .unda-icon,
.unda-site-footer__secure .unda-icon svg {
	width: 18px;
	height: 18px;
}

.unda-site-footer__copy {
	margin: 0;
	flex: 1 1 auto;
	text-align: left;
	font-family: var(--unda-font-ui-small);
	font-size: 10px;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 900px) {
	:root {
		--unda-footer-h: 280px;
	}

	.unda-site-footer__main {
		padding: 18px 20px 14px;
	}

	.unda-site-footer__panel {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.unda-site-footer__divider {
		width: 100%;
		height: 1px;
		min-height: 0;
		margin: 18px 0;
	}

	.unda-site-footer__divider-dot {
		top: 50%;
		left: 50%;
	}

	.unda-site-footer__col--contact,
	.unda-site-footer__col--follow {
		padding: 0;
	}

	.unda-site-footer__bar-inner {
		padding: 10px 20px;
	}
}

@media (max-width: 560px) {
	:root {
		--unda-footer-h: 320px;
	}

	.unda-site-footer__copy {
		font-size: 9px;
		letter-spacing: 0.05em;
	}

	.unda-footer-social .unda-social {
		gap: 8px 10px;
	}
}

/* -------------------------------------------------------------------------
 * WPBakery + UNDA content utilities
 * ------------------------------------------------------------------------- */

/* Optional classes / inline-free headings inside builder HTML */
.unda-type-section {
	font-family: var(--unda-font-section);
	font-weight: 400;
	letter-spacing: 0.02em;
}

.unda-type-stat {
	font-family: var(--unda-font-stats);
}

.unda-type-overline {
	font-family: var(--unda-font-ui-small);
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

/* Social icon row — contact block + [unda_social] shortcode */
.unda-social {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 8px;
	margin-top: 10px;
	color: #f0f0f0;
}

.unda-social__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-width: 44px;
	min-height: 44px;
	padding: 9px;
	color: inherit;
	text-decoration: none;
	border-radius: 4px;
	transition: color 0.2s ease, opacity 0.2s ease;
}

.unda-social__link:hover,
.unda-social__link:focus-visible {
	color: #e30613;
	opacity: 1;
}

.unda-social__link:focus-visible {
	outline: 2px solid #e30613;
	outline-offset: 2px;
}

.unda-social__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
}

.unda-social__svg {
	display: block;
	width: 26px;
	height: 26px;
	max-width: 100%;
}

/* UI / illustration SVGs — `[unda_icon]` (theme assets/icons/ui) */
.unda-icon {
	display: inline-block;
	line-height: 0;
	vertical-align: middle;
	color: var(--unda-red);
}

.unda-icon svg {
	display: block;
	width: 100%;
	height: 100%;
}

/* Noun exports have no fill attribute (browser default = black); inherit wrapper color */
.unda-icon svg path,
.unda-icon svg circle,
.unda-icon svg rect,
.unda-icon svg polygon,
.unda-icon svg ellipse {
	fill: currentColor;
}

.unda-icon--sm {
	width: 1.25rem;
	height: 1.25rem;
}

.unda-icon--md {
	width: 1.75rem;
	height: 1.75rem;
}

.unda-icon--lg {
	width: 2.5rem;
	height: 2.5rem;
}

/* Builder content: section headings + body default */
.unda-scroll-surface .entry-content h2 {
	font-family: var(--unda-font-section);
	font-weight: 400;
}

.unda-scroll-surface .entry-content h2.unda-section-heading {
	font-family: var(--unda-font-section-display);
	font-weight: 700;
	font-size: clamp(28px, 3.6vw, 54px);
	line-height: var(--unda-section-heading-lh);
	letter-spacing: 0.015em;
	text-transform: none;
	color: #fff;
	margin: 0;
	overflow-wrap: break-word;
	word-wrap: break-word;
}

/* Snap home: one heading size for every section (beats WPBakery inline styles) */
body.unda-snap-shell .unda-snap-section .unda-section-heading {
	font-size: 38px !important;
	line-height: var(--unda-section-heading-lh) !important;
	margin: 0 0 16px !important;
}

.unda-scroll-surface .entry-content h3 {
	font-family: var(--unda-font-section);
	font-weight: 400;
	line-height: normal;
}

.unda-scroll-surface .entry-content .wpb_text_column,
.unda-scroll-surface .entry-content .wpb_text_column p {
	font-family: var(--unda-font-ui);
}

.unda-scroll-surface .entry-content .wpb_text_column.unda-type-stat,
.unda-scroll-surface .entry-content .wpb_text_column.unda-type-stat p {
	font-family: var(--unda-font-stats);
}

.unda-scroll-surface__content > .vc_row:first-child {
	margin-top: 0 !important;
}

.unda-kicker {
	font-family: var(--unda-font-ui-small);
	font-size: 13px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--unda-red);
	margin: 0 0 8px;
}

.unda-kicker--light {
	color: #fff;
	letter-spacing: 0.14em;
}

/* Default section index (legacy / outside numbered head) */
.unda-section-num {
	font-family: var(--unda-font-stats);
	font-size: clamp(2.5rem, 6vw, 4.5rem);
	line-height: 0.9;
	color: var(--unda-red);
	font-weight: 700;
	margin: 0;
}

/* Numbered section title row: 01 | rule | kicker + wide heading */
.unda-section-head {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	gap: 0 clamp(14px, 2.5vw, 28px);
	margin: 0 0 22px;
	max-width: 100%;
}

.unda-section-head .unda-section-num {
	flex: 0 0 auto;
	align-self: flex-start;
	font-family: var(--unda-font-section);
	font-size: clamp(3.25rem, 9vw, 6.5rem);
	line-height: 0.82;
	font-weight: 400;
	color: var(--unda-red);
	letter-spacing: 0.02em;
	margin: 0;
	min-width: 0;
}

.unda-section-head__rule {
	width: 1px;
	flex-shrink: 0;
	background: rgba(255, 255, 255, 0.15);
	align-self: stretch;
	min-height: 3.5rem;
}

.unda-section-head__body {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.unda-section-head .unda-kicker {
	margin: 0 0 6px;
	color: var(--unda-red);
}

.unda-section-head .unda-kicker.unda-kicker--light {
	color: rgba(255, 255, 255, 0.92);
}

.unda-section-head--intro {
	justify-content: center;
	max-width: 920px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 18px;
}

@media (max-width: 560px) {
	.unda-section-head {
		flex-wrap: wrap;
		align-items: flex-start;
		gap: 12px 16px;
	}

	.unda-section-head .unda-section-num {
		font-size: clamp(2.75rem, 18vw, 4rem);
	}

	.unda-section-head__rule {
		display: none;
	}

	.unda-section-head__body {
		flex: 1 1 100%;
		width: 100%;
		padding-top: 4px;
		border-top: 1px solid rgba(255, 255, 255, 0.12);
	}
}

.unda-hero-kicker {
	font-family: var(--unda-font-ui-small);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.32em;
	text-transform: uppercase;
	color: var(--unda-red);
	margin: 0 0 12px;
}

.unda-hero-title {
	font-family: var(--unda-font-massive);
	font-weight: 700;
	text-transform: uppercase;
	line-height: 0.88;
	margin: 0 0 22px;
	font-size: 4.2rem;
	letter-spacing: 0.02em;
	color: #fff;
	overflow-wrap: anywhere;
	word-break: break-word;
	max-width: 100%;
}

.unda-hero-title span,
.unda-hero-title__accent {
	color: var(--unda-red);
}

.unda-hero-lead {
	max-width: 520px;
	color: #fff;
	font-family: var(--unda-font-ui);
	font-size: 17px;
	font-weight: 400;
	line-height: 1.55;
	margin: 0 0 26px;
}

.unda-hero-lead::after {
	content: "";
	display: block;
	width: 48px;
	height: 2px;
	margin-top: 20px;
	background: var(--unda-red);
}

.unda-hero-pills {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 0;
	margin: 0 0 32px;
	padding: 0;
	list-style: none;
	color: #fff;
	font-family: var(--unda-font-ui-small);
	font-size: 11px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.unda-hero-pills li {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 14px;
	padding: 4px 22px 4px 0;
	margin: 0 22px 0 0;
	border-right: 1px solid rgba(255, 255, 255, 0.22);
	min-height: 52px;
}

.unda-hero-pills li:last-child {
	border-right: 0;
	margin-right: 0;
	padding-right: 0;
}

.unda-pill-text {
	display: block;
}

/* Outlined icon rings (stroke style, design reference) */
.unda-pill-icon {
	box-sizing: border-box;
	width: 44px;
	height: 44px;
	min-width: 44px;
	border-radius: 50%;
	border: 2px solid var(--unda-red);
	background: transparent;
	display: inline-block;
	position: relative;
	flex-shrink: 0;
}

/* Legacy: glyph inside ring (live hero markup) */
.unda-pill-icon:not(.unda-pill-icon--target):not(.unda-pill-icon--shield):not(.unda-pill-icon--signal) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 15px;
	line-height: 1;
	color: var(--unda-red);
}

.unda-pill-icon--target::after {
	content: "";
	position: absolute;
	inset: 10px;
	border: 2px solid var(--unda-red);
	border-radius: 50%;
}

.unda-pill-icon--shield {
	border-radius: 6px;
}

.unda-pill-icon--shield::after {
	content: "";
	position: absolute;
	left: 8px;
	right: 8px;
	top: 50%;
	height: 2px;
	background: var(--unda-red);
	transform: translateY(-50%) rotate(-38deg);
}

.unda-pill-icon--signal::before,
.unda-pill-icon--signal::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	border: 2px solid var(--unda-red);
	border-radius: 50%;
	transform: translate(-50%, -50%);
	background: transparent;
}

.unda-pill-icon--signal::before {
	width: 10px;
	height: 10px;
}

.unda-pill-icon--signal::after {
	width: 22px;
	height: 22px;
	opacity: 0.85;
}

.unda-btn-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
}

a.unda-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-family: var(--unda-font-ui-small);
	font-weight: 700;
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none;
	padding: 16px 26px;
	border-radius: 0;
	border: 2px solid transparent;
	min-height: 48px;
}

a.unda-btn--primary {
	background: var(--unda-red);
	border-color: var(--unda-red);
	color: #fff !important;
}

a.unda-btn--ghost {
	background: transparent;
	border-color: #fff;
	color: #fff !important;
}

a.unda-btn:hover {
	filter: brightness(1.06);
}

/* Hero row: allow WPBakery row background image; darken left for legibility */
.unda-section-hero {
	position: relative;
	border-bottom: 1px solid #1a1a1a;
	overflow: hidden;
}

/* Hero: same snap centring as other sections */
body.unda-snap-shell .unda-section-hero.unda-snap-section {
	min-height: calc(100vh - var(--unda-header-h) - var(--unda-header-gap));
}

/* About (01): cols 2–3 align with col 1 h2 */
body.unda-snap-shell #section-about > .wpb_column:nth-child(2) .unda-muted-block,
body.unda-snap-shell #section-about > .wpb_column:nth-child(3) .unda-muted-block {
	margin-top: var(--unda-about-head-stack);
}

body.unda-snap-shell #section-about > .wpb_column:nth-child(2) .unda-muted-block p:first-child,
body.unda-snap-shell #section-about > .wpb_column:nth-child(3) .unda-muted-block p:first-child {
	margin-top: 0;
}

/* Differentiation (04): cols 2–4 align to col 1 h2 */
/* Col 1: long display heading must stay inside 1/4 column */
body.unda-snap-shell #section-differentiation > .wpb_column:first-child .unda-section-heading {
	max-width: 100%;
}

body.unda-snap-shell #section-differentiation > .wpb_column:first-child .wpb_text_column,
body.unda-snap-shell #section-differentiation > .wpb_column:first-child .vc_single_image {
	max-width: 100%;
}

body.unda-snap-shell #section-differentiation > .wpb_column:nth-child(n + 2) .wpb_wrapper {
	margin-top: var(--unda-section-head-stack);
}

body.unda-snap-shell #section-differentiation > .wpb_column:nth-child(n + 2) .unda-muted-block > *:first-child,
body.unda-snap-shell #section-differentiation > .wpb_column:nth-child(n + 2) .unda-muted-block > p:first-child {
	margin-top: 0;
}

/* WP sometimes injects an empty <p> before body copy — do not offset twice */
body.unda-snap-shell #section-differentiation > .wpb_column:nth-child(2) .unda-muted-block > p:empty {
	display: none;
	margin: 0;
	padding: 0;
	height: 0;
}

/* Engage (06): col 2 body copy aligns with col 1 section heading */
body.unda-snap-shell #section-intel > .wpb_column:nth-child(2) .unda-muted-block {
	margin-top: var(--unda-section-head-stack);
}

body.unda-snap-shell #section-intel > .wpb_column:nth-child(2) .unda-muted-block p:first-child {
	margin-top: 0;
}

.unda-section-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background: linear-gradient(
		100deg,
		rgba(0, 0, 0, 0.88) 0%,
		rgba(0, 0, 0, 0.65) 40%,
		rgba(0, 0, 0, 0.35) 68%,
		rgba(0, 0, 0, 0.12) 100%
	);
}

.unda-section-hero > * {
	position: relative;
	z-index: 1;
}

/* Hero column: max line measure (horizontal inset comes from --unda-section-gutter) */
body.unda-snap-shell .unda-section-hero .vc_column_container > .vc_column-inner {
	max-width: 760px;
	padding-left: 0 !important;
	padding-right: 15px !important;
}

.unda-pillar-card {
	border: 1px solid var(--unda-border);
	background: linear-gradient(160deg, #121212, #0a0a0a);
	padding: 22px 20px 24px;
	height: 100%;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
}

.unda-pillar-head {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 16px;
	margin-bottom: 14px;
}

.unda-pillar-head__icon {
	flex: 0 0 72px;
	width: 72px;
	height: 72px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--unda-red);
}

.unda-pillar-head__icon .unda-icon {
	width: 64px;
	height: 64px;
}

.unda-pillar-head__icon .unda-icon--lg {
	width: 64px;
	height: 64px;
}

.unda-pillar-head__titles {
	min-width: 0;
	flex: 1;
}

.unda-pillar-card h3,
.unda-pillar-head__titles h3 {
	font-family: var(--unda-font-section);
	margin: 0 0 10px;
	font-size: 22px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.unda-pillar-head__titles h3 {
	margin: 0;
}

.unda-pillar-label {
	font-size: 12px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--unda-red);
	margin-bottom: 4px;
	font-family: var(--unda-font-ui-small);
}

.unda-pillar-card .unda-muted-block {
	flex: 1;
}

/* Methodology (02): pillar cols align to col-1 h2; equal card heights */
body.unda-snap-shell #section-methodology .vc_row.vc_inner:first-of-type {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
}

body.unda-snap-shell #section-methodology .vc_row.vc_inner:first-of-type > .wpb_column:nth-child(2),
body.unda-snap-shell #section-methodology .vc_row.vc_inner:first-of-type > .wpb_column:nth-child(3),
body.unda-snap-shell #section-methodology .vc_row.vc_inner:first-of-type > .wpb_column:nth-child(4) {
	margin-top: var(--unda-section-head-stack);
	display: flex;
	flex-direction: column;
}

body.unda-snap-shell #section-methodology .vc_row.vc_inner:first-of-type > .wpb_column:nth-child(2) > .vc_column-inner,
body.unda-snap-shell #section-methodology .vc_row.vc_inner:first-of-type > .wpb_column:nth-child(3) > .vc_column-inner,
body.unda-snap-shell #section-methodology .vc_row.vc_inner:first-of-type > .wpb_column:nth-child(4) > .vc_column-inner {
	flex: 1;
	display: flex;
	flex-direction: column;
	height: 100%;
}

body.unda-snap-shell #section-methodology .vc_row.vc_inner:first-of-type > .wpb_column:nth-child(n + 2) .wpb_wrapper {
	flex: 1;
	display: flex;
	flex-direction: column;
	height: 100%;
}

body.unda-snap-shell #section-methodology .vc_row.vc_inner:first-of-type > .wpb_column:nth-child(n + 2) .wpb_text_column {
	flex: 1;
	height: 100%;
}

/* Capabilities (03): intro 1/3 + 2/3 grid; centred in viewport (pad from unda-frame.js when needed) */
body.unda-snap-shell #section-services.unda-section-services {
	display: flex !important;
	flex-wrap: nowrap;
	align-content: center;
	align-items: center;
	justify-content: flex-start;
	box-sizing: border-box;
	padding-top: var(--unda-services-pad-top, 0);
	padding-bottom: var(--unda-services-pad-bottom, 0);
}

body.unda-snap-shell #section-services.unda-section-services > .wpb_column:nth-child(1) {
	flex: 0 0 33.333333%;
	max-width: 33.333333%;
	width: 33.333333%;
}

body.unda-snap-shell #section-services.unda-section-services > .wpb_column:nth-child(2) {
	flex: 0 0 66.666667%;
	max-width: 66.666667%;
	width: 66.666667%;
}

/* Cap icons row: align with col 1 h2 (WPB nests inner row inside .vc_column-inner > .wpb_wrapper) */
body.unda-snap-shell #section-services > .wpb_column:nth-child(2) .wpb_wrapper > .vc_row.vc_inner {
	margin-top: var(--unda-section-head-stack);
}

body.unda-snap-shell #section-services.unda-section-services > .wpb_column:nth-child(2) .vc_row.vc_inner {
	display: flex;
	flex-wrap: nowrap;
	align-items: flex-start;
	gap: 20px;
}

body.unda-snap-shell #section-services.unda-section-services > .wpb_column:nth-child(2) .vc_row.vc_inner > .wpb_column {
	flex: 1 1 0;
	min-width: 0;
}

body.unda-snap-shell #section-services > .wpb_column:nth-child(2) .wpb_wrapper > .wpb_text_column:last-child {
	margin-top: 10px;
}

body.unda-snap-shell #section-services > .wpb_column:nth-child(2) .wpb_wrapper > .wpb_text_column:last-child p {
	margin-top: 0 !important;
	font-size: 14px;
	line-height: 1.45;
}

/* Proof (05): col 2 stats align to col 1 h2 top */
body.unda-snap-shell #section-proof > .wpb_column:nth-child(2) .wpb_wrapper > .vc_row.vc_inner {
	margin-top: var(--unda-section-head-stack);
}

body.unda-snap-shell #section-proof > .wpb_column:nth-child(2) .wpb_wrapper > .vc_row.vc_inner .unda-muted-block > *:first-child,
body.unda-snap-shell #section-proof > .wpb_column:nth-child(2) .wpb_wrapper > .vc_row.vc_inner .unda-muted-block > p:first-child {
	margin-top: 0;
}

body.unda-snap-shell #section-proof > .wpb_column:first-child .unda-section-heading {
	max-width: 100%;
	overflow-wrap: break-word;
	word-break: normal;
}

.unda-outcome {
	margin-top: 14px;
	font-size: 14px;
	color: #eaeaea;
}

.unda-outcome strong {
	color: var(--unda-red);
	text-transform: uppercase;
	font-size: 12px;
	letter-spacing: 0.08em;
	font-family: var(--unda-font-ui-small);
}

.unda-cap-icon {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	border: 1px solid rgba(227, 6, 19, 0.55);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--unda-red);
	font-size: 22px;
	margin-bottom: 12px;
}

.unda-muted-block {
	color: #cfcfcf;
	font-size: 15px;
}

/* Red dot bullets — no inline ● in editor markup */
.unda-muted-block ul {
	list-style: none;
	margin: 12px 0 0;
	padding: 0;
}

.unda-muted-block ul li {
	position: relative;
	padding-left: 1.1em;
	margin: 0 0 8px;
	color: #f0f0f0;
}

.unda-muted-block ul li:last-child {
	margin-bottom: 0;
}

.unda-muted-block ul li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.62em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--unda-red);
	transform: translateY(-50%);
}

/* Legacy WPBakery: hide inline red ● spans inside lists */
.unda-muted-block ul li > span[style*="e30613"] {
	display: none;
}

.unda-form {
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.28);
	padding: 28px 24px 30px;
	box-sizing: border-box;
}

/* Contact comp: placeholder fields, no visible labels */
#section-contact .unda-form label {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.unda-form__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px 16px;
}

.unda-form label {
	display: block;
	font-family: var(--unda-font-ui-small);
	font-size: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #aaa;
	margin-bottom: 4px;
}

.unda-form input,
.unda-form textarea,
.unda-form select {
	width: 100%;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.22);
	color: #fff;
	padding: 12px 14px;
	font-family: var(--unda-font-ui);
	font-size: 14px;
	line-height: 1.4;
	border-radius: 0;
	box-sizing: border-box;
}

.unda-form input::placeholder,
.unda-form textarea::placeholder {
	color: rgba(255, 255, 255, 0.38);
	opacity: 1;
}

.unda-form textarea {
	min-height: 130px;
	resize: vertical;
}

.unda-form__full {
	grid-column: 1 / -1;
}

.unda-form button[type="submit"],
.unda-form input.wpcf7-submit,
#section-contact .unda-form input.wpcf7-submit {
	width: 100%;
	margin-top: 6px;
	font-family: var(--unda-font-ui);
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	background: var(--unda-red);
	color: #fff;
	border: 1px solid var(--unda-red);
	padding: 14px 16px;
	cursor: pointer;
	border-radius: 2px;
	text-align: center;
}

.unda-form button[type="submit"]:hover,
.unda-form input.wpcf7-submit:hover,
#section-contact .unda-form input.wpcf7-submit:hover {
	filter: brightness(1.05);
	background: var(--unda-red);
	border-color: var(--unda-red);
}

/* Contact Form 7 — compact; wrap template in <div class="unda-form"><div class="unda-form__grid"> */
#section-contact .wpcf7 {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
}

#section-contact .wpcf7:not(:has(.unda-form)) {
	background: #0b0b0b;
	border: 1px solid #262626;
	padding: 22px 20px 24px;
	box-sizing: border-box;
}

.unda-form form.wpcf7-form,
#section-contact form.wpcf7-form {
	margin: 0;
	border: 0;
	padding: 0;
	background: none;
}

/* CF7 hidden fieldset + empty status box (removes stray boxes above/below form) */
#section-contact fieldset.hidden-fields-container,
.unda-form fieldset.hidden-fields-container {
	margin: 0;
	padding: 0;
	border: 0;
	min-height: 0;
	height: 0;
	overflow: hidden;
}

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

/* CF7 wraps each field in <p> inside grid cells */
.unda-form form.wpcf7-form p,
#section-contact form.wpcf7-form p,
#section-contact .unda-form__grid > div > p,
.unda-form .unda-form__grid > div > p {
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
}

#section-contact .unda-form > p:has(.wpcf7-submit),
.unda-form > p:has(.wpcf7-submit) {
	margin: 0;
	padding: 0;
	border: 0;
}

/* Default CF7 layout (no __grid divs): two-column field grid */
#section-contact form.wpcf7-form:not(:has(.unda-form__grid)),
.unda-form form.wpcf7-form:not(:has(.unda-form__grid)) {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px 14px;
}

#section-contact form.wpcf7-form:not(:has(.unda-form__grid)) > p:has(textarea),
#section-contact form.wpcf7-form:not(:has(.unda-form__grid)) > p:has(.wpcf7-textarea),
#section-contact form.wpcf7-form:not(:has(.unda-form__grid)) > p:has(input[type="submit"]),
#section-contact form.wpcf7-form:not(:has(.unda-form__grid)) > p:has(.wpcf7-submit),
.unda-form form.wpcf7-form:not(:has(.unda-form__grid)) > p:has(textarea),
.unda-form form.wpcf7-form:not(:has(.unda-form__grid)) > p:has(.wpcf7-textarea),
.unda-form form.wpcf7-form:not(:has(.unda-form__grid)) > p:has(input[type="submit"]),
.unda-form form.wpcf7-form:not(:has(.unda-form__grid)) > p:has(.wpcf7-submit) {
	grid-column: 1 / -1;
}

.unda-form .unda-form__grid > div {
	min-width: 0;
}

.unda-form .wpcf7-form-control-wrap,
#section-contact .wpcf7-form-control-wrap {
	display: block;
	margin: 0;
}

.unda-form input.wpcf7-form-control,
.unda-form select.wpcf7-form-control,
.unda-form textarea.wpcf7-form-control,
#section-contact .wpcf7 input:not([type="submit"]),
#section-contact .wpcf7 select,
#section-contact .wpcf7 textarea {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

#section-contact .unda-form input.wpcf7-form-control,
#section-contact .unda-form textarea.wpcf7-form-control,
#section-contact .unda-form select.wpcf7-form-control {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.22);
	padding: 12px 14px;
}

#section-contact .unda-form input.wpcf7-form-control::placeholder,
#section-contact .unda-form textarea.wpcf7-form-control::placeholder {
	color: rgba(255, 255, 255, 0.38);
}

.unda-form .wpcf7-spinner,
#section-contact .wpcf7-spinner {
	margin: 8px auto 0;
}

.unda-form .wpcf7-not-valid-tip,
#section-contact .wpcf7-not-valid-tip {
	font-family: var(--unda-font-ui-small);
	font-size: 11px;
	line-height: 1.3;
	color: #ff6b6b;
	margin-top: 3px;
}

/* Hide empty CF7 status bar; show only after submit */
.unda-form .wpcf7-response-output,
#section-contact .wpcf7-response-output {
	display: none;
	margin: 0;
	padding: 0;
	border: 0;
}

.unda-form form.wpcf7-form.sent .wpcf7-response-output,
.unda-form form.wpcf7-form.invalid .wpcf7-response-output,
.unda-form form.wpcf7-form.failed .wpcf7-response-output,
.unda-form form.wpcf7-form.aborted .wpcf7-response-output,
.unda-form form.wpcf7-form.spam .wpcf7-response-output,
#section-contact form.wpcf7-form.sent .wpcf7-response-output,
#section-contact form.wpcf7-form.invalid .wpcf7-response-output,
#section-contact form.wpcf7-form.failed .wpcf7-response-output,
#section-contact form.wpcf7-form.aborted .wpcf7-response-output,
#section-contact form.wpcf7-form.spam .wpcf7-response-output {
	display: block;
	margin-top: 12px;
	padding: 10px 12px;
	border: 1px solid #333;
	background: #0f0f0f;
	color: #eaeaea;
	font-size: 13px;
	line-height: 1.4;
	border-radius: 2px;
}

.unda-form form.wpcf7-form.sent .wpcf7-response-output,
#section-contact form.wpcf7-form.sent .wpcf7-response-output {
	border-color: rgba(227, 6, 19, 0.55);
}

.unda-form form.wpcf7-form.invalid .wpcf7-response-output,
.unda-form form.wpcf7-form.failed .wpcf7-response-output,
#section-contact form.wpcf7-form.invalid .wpcf7-response-output,
#section-contact form.wpcf7-form.failed .wpcf7-response-output {
	border-color: #ff6b6b;
}

.unda-form form.wpcf7-form .wpcf7-form-control.wpcf7-not-valid,
#section-contact form.wpcf7-form .wpcf7-form-control.wpcf7-not-valid {
	border-color: #ff6b6b;
}

@media (max-width: 640px) {
	.unda-form__grid,
	#section-contact form.wpcf7-form:not(:has(.unda-form__grid)),
	.unda-form form.wpcf7-form:not(:has(.unda-form__grid)) {
		grid-template-columns: 1fr;
	}
}
body.unda-snap-shell .vc_row {
	margin-left: 0 !important;
	margin-right: 0 !important;
}

/* Shared left/right inset: hero → engage (30px — adjust --unda-section-gutter in :root) */
body.unda-snap-shell .unda-scroll-surface__content {
	padding-left: var(--unda-section-gutter);
	padding-right: var(--unda-section-gutter);
	box-sizing: border-box;
}

body.unda-snap-shell .unda-snap-section > .wpb_column > .vc_column-inner {
	padding-left: 0;
	padding-right: 15px;
}

body.unda-snap-shell .unda-snap-section > .wpb_column:last-child > .vc_column-inner {
	padding-right: 0;
}

body.unda-snap-shell .unda-snap-section .vc_row.vc_inner > .wpb_column > .vc_column-inner {
	padding-left: 15px;
	padding-right: 15px;
}

body.unda-snap-shell .unda-snap-section .vc_row.vc_inner > .wpb_column:first-child > .vc_column-inner {
	padding-left: 0;
}

body.unda-snap-shell .unda-snap-section .vc_row.vc_inner > .wpb_column:last-child > .vc_column-inner {
	padding-right: 0;
}

/* -------------------------------------------------------------------------
 * iPad portrait (641px–834px): layout between phone and desktop
 * ------------------------------------------------------------------------- */

@media (min-width: 641px) and (max-width: 834px) {
	:root {
		--unda-section-gutter: 22px;
	}

	.unda-site-header__inner {
		padding: 8px 18px;
		gap: 16px;
	}

	.unda-brand__logo {
		max-height: 88px;
	}

	.unda-hero-title {
		font-size: 3.2rem;
		line-height: 0.9;
	}

	body.unda-snap-shell .unda-snap-section .unda-section-heading {
		font-size: 32px !important;
		margin: 0 0 14px !important;
	}

	/* About: stack three columns; no gap above/below globe image */
	body.unda-snap-shell #section-about.unda-snap-section {
		flex-wrap: wrap;
	}

	body.unda-snap-shell #section-about > .wpb_column {
		flex: 0 0 100% !important;
		max-width: 100% !important;
		width: 100% !important;
	}

	body.unda-snap-shell #section-about > .wpb_column:nth-child(2) .unda-muted-block,
	body.unda-snap-shell #section-about > .wpb_column:nth-child(3) .unda-muted-block {
		margin-top: 0;
	}

	body.unda-snap-shell #section-about > .wpb_column:first-child .unda-section-heading {
		margin-bottom: 0 !important;
	}

	body.unda-snap-shell #section-about > .wpb_column:first-child .wpb_text_column {
		margin-bottom: 0;
	}

	body.unda-snap-shell #section-about > .wpb_column:first-child .wpb_single_image,
	body.unda-snap-shell #section-about > .wpb_column:first-child .wpb_single_image.wpb_content_element,
	body.unda-snap-shell #section-about > .wpb_column:first-child .vc_single_image,
	body.unda-snap-shell #section-about > .wpb_column:first-child .vc_single_image-wrapper,
	body.unda-snap-shell #section-about > .wpb_column:first-child figure.vc_figure {
		margin-top: 0 !important;
		margin-bottom: 0 !important;
		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}

	body.unda-snap-shell #section-about > .wpb_column:first-child .vc_single_image-img {
		display: block;
		width: 100%;
		height: auto;
	}

	/* Methodology: single column */
	body.unda-snap-shell #section-methodology .vc_row.vc_inner:first-of-type {
		display: flex;
		flex-direction: column;
		flex-wrap: nowrap;
		gap: 18px;
	}

	body.unda-snap-shell #section-methodology .vc_row.vc_inner:first-of-type > .wpb_column {
		flex: 0 0 100% !important;
		max-width: 100% !important;
		width: 100% !important;
	}

	body.unda-snap-shell #section-methodology .vc_row.vc_inner:first-of-type > .wpb_column:nth-child(2),
	body.unda-snap-shell #section-methodology .vc_row.vc_inner:first-of-type > .wpb_column:nth-child(3),
	body.unda-snap-shell #section-methodology .vc_row.vc_inner:first-of-type > .wpb_column:nth-child(4) {
		margin-top: 0;
	}

	body.unda-snap-shell #section-methodology .vc_row.vc_inner:first-of-type > .wpb_column:nth-child(n + 2) {
		margin-top: 0;
	}

	/* Capabilities: single column (intro, then cap grid) */
	body.unda-snap-shell #section-services.unda-section-services {
		flex-wrap: wrap;
		align-items: flex-start;
		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}

	body.unda-snap-shell #section-services.unda-section-services > .wpb_column:nth-child(1),
	body.unda-snap-shell #section-services.unda-section-services > .wpb_column:nth-child(2) {
		flex: 0 0 100% !important;
		max-width: 100% !important;
		width: 100% !important;
	}

	body.unda-snap-shell #section-services > .wpb_column:nth-child(2) .wpb_wrapper > .vc_row.vc_inner {
		margin-top: 0;
	}

	body.unda-snap-shell #section-services.unda-section-services > .wpb_column:nth-child(2) .vc_row.vc_inner {
		display: flex;
		flex-direction: column;
		flex-wrap: nowrap;
		gap: 18px;
	}

	body.unda-snap-shell #section-services.unda-section-services > .wpb_column:nth-child(2) .vc_row.vc_inner > .wpb_column {
		flex: 0 0 100% !important;
		max-width: 100% !important;
		width: 100% !important;
	}

	/* Differentiation: 2×2 */
	body.unda-snap-shell #section-differentiation.unda-snap-section {
		flex-wrap: wrap;
	}

	body.unda-snap-shell #section-differentiation > .wpb_column {
		flex: 0 0 50% !important;
		max-width: 50% !important;
		width: 50% !important;
	}

	body.unda-snap-shell #section-differentiation > .wpb_column:nth-child(n + 2) .wpb_wrapper {
		margin-top: 0;
	}

	body.unda-snap-shell #section-differentiation > .wpb_column:nth-child(3) .wpb_wrapper,
	body.unda-snap-shell #section-differentiation > .wpb_column:nth-child(4) .wpb_wrapper {
		margin-top: 18px;
	}

	/* Proof: keep two columns, align stats to h2 */
	body.unda-snap-shell #section-proof > .wpb_column:nth-child(1) {
		flex: 0 0 44% !important;
		max-width: 44% !important;
		width: 44% !important;
	}

	body.unda-snap-shell #section-proof > .wpb_column:nth-child(2) {
		flex: 0 0 56% !important;
		max-width: 56% !important;
		width: 56% !important;
	}

	body.unda-snap-shell #section-proof > .wpb_column:nth-child(2) .wpb_wrapper > .vc_row.vc_inner {
		margin-top: var(--unda-section-head-stack);
	}

	/* Engage: stack columns */
	body.unda-snap-shell #section-intel.unda-snap-section {
		flex-wrap: wrap;
	}

	body.unda-snap-shell #section-intel > .wpb_column {
		flex: 0 0 100% !important;
		max-width: 100% !important;
		width: 100% !important;
	}

	body.unda-snap-shell #section-intel > .wpb_column:nth-child(2) .unda-muted-block {
		margin-top: 0;
	}

	/* Contact: single column — copy full width, form below */
	body.unda-snap-shell #section-contact.unda-snap-section {
		flex-wrap: wrap;
		align-items: flex-start;
	}

	body.unda-snap-shell #section-contact > .wpb_column {
		flex: 0 0 100% !important;
		max-width: 100% !important;
		width: 100% !important;
	}

	body.unda-snap-shell #section-contact > .wpb_column:nth-child(2) {
		margin-top: 20px;
	}

	.unda-form {
		padding: 22px 18px 24px;
	}

	.unda-form__grid {
		gap: 12px 12px;
	}
}

/* -------------------------------------------------------------------------
 * Phone (max-width 640px)
 * ------------------------------------------------------------------------- */

@media (max-width: 640px) {
	/* WPBakery: remove inner column top/bottom padding on mobile */
	body.unda-snap-shell .unda-scroll-surface__content .vc_column-inner,
	body.unda-snap-shell .vc_col-has-fill > .vc_column-inner,
	body.unda-snap-shell .vc_row-has-fill + .vc_row-full-width + .vc_row > .vc_column_container > .vc_column-inner,
	body.unda-snap-shell .vc_row-has-fill + .vc_row > .vc_column_container > .vc_column-inner,
	body.unda-snap-shell .vc_row-has-fill > .vc_column_container > .vc_column-inner,
	body.unda-snap-shell .unda-snap-section > .wpb_column > .vc_column-inner,
	body.unda-snap-shell .unda-snap-section .vc_row.vc_inner > .wpb_column > .vc_column-inner {
		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}

	/* Cancel WPBakery column-gap horizontal inset on stacked mobile layout */
	body.unda-snap-shell .unda-scroll-surface__content .unda-snap-section[class*="vc_column-gap"],
	body.unda-snap-shell .unda-scroll-surface__content .unda-snap-section .vc_row[class*="vc_column-gap"] {
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	body.unda-snap-shell .unda-scroll-surface__content .unda-snap-section > .vc_column_container,
	body.unda-snap-shell .unda-scroll-surface__content .unda-snap-section > .wpb_column,
	body.unda-snap-shell .unda-scroll-surface__content .unda-snap-section .vc_row.vc_inner > .vc_column_container,
	body.unda-snap-shell .unda-scroll-surface__content .unda-snap-section .vc_row.vc_inner > .wpb_column {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	/* Thin divider before each snap section except hero (spacer rows break + selector) */
	body.unda-snap-shell #section-about,
	body.unda-snap-shell #section-methodology,
	body.unda-snap-shell #section-services,
	body.unda-snap-shell #section-differentiation,
	body.unda-snap-shell #section-proof,
	body.unda-snap-shell #section-intel,
	body.unda-snap-shell #section-contact {
		box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
		padding-top: 20px;
	}

	/* Snap sections: consistent stacked rhythm (cancel desktop align offsets) */
	body.unda-snap-shell .unda-snap-section {
		gap: 16px;
		align-content: flex-start;
		min-height: auto;
	}

	body.unda-snap-shell .unda-snap-section > .wpb_column > .vc_column-inner {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	body.unda-snap-shell .unda-snap-section .wpb_content_element {
		margin-bottom: 0 !important;
	}

	body.unda-snap-shell .unda-section-hero.unda-snap-section {
		min-height: calc(100vh - var(--unda-header-h) - var(--unda-header-gap));
		align-content: center;
	}

	body.unda-snap-shell .unda-snap-section .vc_row.vc_inner > .wpb_column:nth-child(n + 2),
	body.unda-snap-shell .unda-snap-section > .wpb_column:nth-child(n + 2) .wpb_wrapper > .vc_row.vc_inner,
	body.unda-snap-shell #section-differentiation > .wpb_column:nth-child(n + 2) .wpb_wrapper,
	body.unda-snap-shell #section-about > .wpb_column:nth-child(2) .unda-muted-block,
	body.unda-snap-shell #section-about > .wpb_column:nth-child(3) .unda-muted-block,
	body.unda-snap-shell #section-intel > .wpb_column:nth-child(2) .unda-muted-block,
	body.unda-snap-shell #section-proof > .wpb_column:nth-child(2) .wpb_wrapper > .vc_row.vc_inner {
		margin-top: 0 !important;
	}

	body.unda-snap-shell .unda-scroll-surface {
		scroll-snap-type: y proximity;
	}

	body.unda-snap-shell .unda-scroll-surface__content {
		max-width: 100%;
		overflow-x: hidden;
		padding-left: var(--unda-section-gutter);
		padding-right: var(--unda-section-gutter);
	}

	/* About: stack columns; remove desktop head-stack gaps */
	body.unda-snap-shell #section-about.unda-snap-section {
		flex-wrap: wrap;
		gap: 16px;
		align-content: flex-start;
		min-height: auto;
	}

	body.unda-snap-shell #section-about > .wpb_column {
		flex: 0 0 100% !important;
		max-width: 100% !important;
		width: 100% !important;
	}

	body.unda-snap-shell #section-about > .wpb_column:nth-child(2) .unda-muted-block,
	body.unda-snap-shell #section-about > .wpb_column:nth-child(3) .unda-muted-block,
	body.unda-snap-shell #section-about > .wpb_column:nth-child(2) .wpb_text_column,
	body.unda-snap-shell #section-about > .wpb_column:nth-child(3) .wpb_text_column {
		margin-top: 0 !important;
		margin-bottom: 0 !important;
	}

	body.unda-snap-shell #section-about > .wpb_column:nth-child(2) .unda-muted-block p:first-child,
	body.unda-snap-shell #section-about > .wpb_column:nth-child(3) .unda-muted-block p:first-child {
		margin-top: 0;
	}

	body.unda-snap-shell #section-about > .wpb_column:first-child .unda-section-heading {
		margin-bottom: 0 !important;
	}

	body.unda-snap-shell #section-about > .wpb_column:first-child .wpb_text_column {
		margin-bottom: 0;
	}

	body.unda-snap-shell #section-about > .wpb_column:first-child .wpb_single_image,
	body.unda-snap-shell #section-about > .wpb_column:first-child .wpb_single_image.wpb_content_element,
	body.unda-snap-shell #section-about > .wpb_column:first-child .vc_single_image,
	body.unda-snap-shell #section-about > .wpb_column:first-child .vc_single_image-wrapper,
	body.unda-snap-shell #section-about > .wpb_column:first-child figure.vc_figure {
		margin-top: 0 !important;
		margin-bottom: 0 !important;
		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}

	body.unda-snap-shell #section-about > .wpb_column:first-child .vc_single_image-img {
		display: block;
		width: 100%;
		height: auto;
	}

	/* Engage (06): stack columns; remove desktop head-stack gap before body copy */
	body.unda-snap-shell #section-intel.unda-snap-section {
		flex-wrap: wrap;
		gap: 16px;
		align-content: flex-start;
		min-height: auto;
	}

	body.unda-snap-shell #section-intel > .wpb_column {
		flex: 0 0 100% !important;
		max-width: 100% !important;
		width: 100% !important;
	}

	body.unda-snap-shell #section-intel > .wpb_column:nth-child(1) .unda-section-heading {
		margin-bottom: 0 !important;
	}

	body.unda-snap-shell #section-intel > .wpb_column:nth-child(1) .wpb_text_column {
		margin-bottom: 0;
	}

	body.unda-snap-shell #section-intel > .wpb_column:nth-child(2) .unda-muted-block,
	body.unda-snap-shell #section-intel > .wpb_column:nth-child(2) .wpb_text_column {
		margin-top: 0 !important;
		margin-bottom: 0 !important;
	}

	body.unda-snap-shell #section-intel > .wpb_column:nth-child(2) .unda-muted-block p:first-child {
		margin-top: 0;
	}

	body.unda-snap-shell #section-intel > .wpb_column:nth-child(3) .wpb_text_column,
	body.unda-snap-shell #section-intel > .wpb_column:nth-child(3) .unda-btn-row {
		margin-top: 0 !important;
		margin-bottom: 0 !important;
	}

	/* Methodology (02): stack pillars + closing line */
	body.unda-snap-shell #section-methodology > .wpb_column {
		flex: 0 0 100% !important;
		max-width: 100% !important;
		width: 100% !important;
	}

	body.unda-snap-shell #section-methodology .vc_row.vc_inner:first-of-type {
		display: flex;
		flex-direction: column;
		flex-wrap: nowrap;
		gap: 12px;
	}

	body.unda-snap-shell #section-methodology .vc_row.vc_inner:first-of-type > .wpb_column {
		flex: 0 0 100% !important;
		max-width: 100% !important;
		width: 100% !important;
	}

	body.unda-snap-shell #section-methodology .vc_row.vc_inner:first-of-type > .wpb_column:nth-child(2),
	body.unda-snap-shell #section-methodology .vc_row.vc_inner:first-of-type > .wpb_column:nth-child(3),
	body.unda-snap-shell #section-methodology .vc_row.vc_inner:first-of-type > .wpb_column:nth-child(4) {
		margin-top: 0 !important;
	}

	body.unda-snap-shell #section-methodology .vc_row.vc_inner:first-of-type > .wpb_column:first-child p {
		margin-bottom: 12px !important;
	}

	body.unda-snap-shell #section-methodology .vc_row.vc_inner:nth-of-type(2) {
		gap: 0;
		margin-top: 0;
	}

	body.unda-snap-shell #section-methodology .vc_row.vc_inner:nth-of-type(2) > .wpb_column:first-child {
		display: none;
	}

	body.unda-snap-shell #section-methodology .vc_row.vc_inner:nth-of-type(2) > .wpb_column:last-child {
		flex: 0 0 100% !important;
		max-width: 100% !important;
		width: 100% !important;
	}

	body.unda-snap-shell #section-methodology .vc_row.vc_inner:nth-of-type(2) > .wpb_column:last-child p {
		margin-top: 0 !important;
		text-align: left !important;
	}

	/* Differentiation (04): single column stack */
	body.unda-snap-shell #section-differentiation > .wpb_column {
		flex: 0 0 100% !important;
		max-width: 100% !important;
		width: 100% !important;
	}

	body.unda-snap-shell #section-differentiation > .wpb_column:nth-child(3) .wpb_wrapper,
	body.unda-snap-shell #section-differentiation > .wpb_column:nth-child(4) .wpb_wrapper {
		margin-top: 0 !important;
	}

	body.unda-snap-shell #section-differentiation > .wpb_column:first-child .wpb_single_image,
	body.unda-snap-shell #section-differentiation > .wpb_column:first-child .wpb_single_image.wpb_content_element,
	body.unda-snap-shell #section-differentiation > .wpb_column:first-child .vc_single_image,
	body.unda-snap-shell #section-differentiation > .wpb_column:first-child .vc_single_image-wrapper,
	body.unda-snap-shell #section-differentiation > .wpb_column:first-child figure.vc_figure {
		margin-top: 0 !important;
		margin-bottom: 0 !important;
	}

	body.unda-snap-shell #section-differentiation > .wpb_column:nth-child(n + 2) .unda-muted-block p:first-child {
		margin-top: 0;
	}

	/* Capabilities (03): tighten intro → grid → footer copy */
	body.unda-snap-shell #section-services.unda-section-services {
		min-height: auto;
		gap: 16px;
	}

	body.unda-snap-shell #section-services > .wpb_column:nth-child(2) .wpb_wrapper > .vc_row.vc_inner {
		margin-top: 0 !important;
	}

	body.unda-snap-shell #section-services.unda-section-services > .wpb_column:nth-child(2) .vc_row.vc_inner {
		gap: 12px;
	}

	body.unda-snap-shell #section-services > .wpb_column:nth-child(2) .wpb_wrapper > .wpb_text_column:last-child,
	body.unda-snap-shell #section-services > .wpb_column:nth-child(2) .wpb_wrapper > .wpb_text_column:last-child p {
		margin-top: 0 !important;
	}

	body.unda-snap-shell #section-services.unda-section-services {
		flex-wrap: wrap;
		align-items: flex-start;
		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}

	body.unda-snap-shell #section-services.unda-section-services > .wpb_column:nth-child(1),
	body.unda-snap-shell #section-services.unda-section-services > .wpb_column:nth-child(2) {
		flex: 0 0 100% !important;
		max-width: 100% !important;
		width: 100% !important;
	}

	body.unda-snap-shell #section-services.unda-section-services > .wpb_column:nth-child(2) .vc_row.vc_inner {
		display: flex;
		flex-direction: column;
		flex-wrap: nowrap;
		gap: 12px;
	}

	body.unda-snap-shell #section-services.unda-section-services > .wpb_column:nth-child(2) .vc_row.vc_inner > .wpb_column {
		flex: 0 0 100% !important;
		max-width: 100% !important;
		width: 100% !important;
		min-width: 0;
	}

	body.unda-snap-shell #section-services > .wpb_column:nth-child(2) .wpb_wrapper > .vc_row.vc_inner,
	body.unda-snap-shell #section-proof > .wpb_column:nth-child(2) .wpb_wrapper > .vc_row.vc_inner {
		margin-top: 0;
	}

	/* Proof: stack stat columns so bullets align on mobile */
	body.unda-snap-shell #section-proof.unda-snap-section {
		flex-wrap: wrap;
		gap: 16px;
		align-content: flex-start;
		min-height: auto;
	}

	body.unda-snap-shell #section-proof > .wpb_column {
		flex: 0 0 100% !important;
		max-width: 100% !important;
		width: 100% !important;
	}

	body.unda-snap-shell #section-proof > .wpb_column:nth-child(2) .wpb_wrapper > .vc_row.vc_inner {
		display: flex;
		flex-direction: column;
		flex-wrap: nowrap;
		gap: 12px;
	}

	body.unda-snap-shell #section-proof > .wpb_column:nth-child(2) .wpb_wrapper > .vc_row.vc_inner > .wpb_column {
		flex: 0 0 100% !important;
		max-width: 100% !important;
		width: 100% !important;
	}

	body.unda-snap-shell #section-proof > .wpb_column:nth-child(2) .wpb_wrapper > .vc_row.vc_inner > .wpb_column > .vc_column-inner {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	body.unda-snap-shell #section-proof > .wpb_column:first-child .wpb_single_image,
	body.unda-snap-shell #section-proof > .wpb_column:first-child .wpb_single_image.wpb_content_element,
	body.unda-snap-shell #section-proof > .wpb_column:first-child .vc_single_image,
	body.unda-snap-shell #section-proof > .wpb_column:first-child .vc_single_image-wrapper,
	body.unda-snap-shell #section-proof > .wpb_column:first-child figure.vc_figure {
		margin-top: 0 !important;
		margin-bottom: 0 !important;
	}

	body.unda-snap-shell #section-proof > .wpb_column:nth-child(2) > .wpb_text_column,
	body.unda-snap-shell #section-proof > .wpb_column:nth-child(2) > .wpb_text_column p {
		margin-top: 0 !important;
	}

	body.unda-snap-shell #section-contact > .wpb_column {
		flex: 0 0 100% !important;
		max-width: 100% !important;
		width: 100% !important;
	}

	.unda-hero-title {
		font-size: 2rem;
		line-height: 0.9;
		letter-spacing: 0;
	}

	.unda-hero-pills {
		flex-direction: column;
		gap: 16px 0;
	}

	.unda-hero-pills li {
		border-right: 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.18);
		margin: 0;
		padding: 0 0 16px;
		min-height: 0;
	}

	.unda-hero-pills li:last-child {
		border-bottom: 0;
		padding-bottom: 0;
	}

	.unda-btn-row {
		flex-direction: column;
		align-items: stretch;
	}

}

/* === UNDA Team grid (DT) === */
.unda-section-team .unda-team-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:20px;margin-top:34px;}
.unda-section-team .unda-team-member{margin:0;text-align:center;}
.unda-section-team .unda-team-member img{width:100%;aspect-ratio:4/5;object-fit:cover;object-position:center top;display:block;border-radius:10px;background:var(--unda-panel,#0f0f0f);border:1px solid rgba(255,255,255,.10);}
.unda-section-team .unda-team-member figcaption{margin-top:12px;color:#fff;font-weight:600;font-size:15px;line-height:1.25;letter-spacing:.01em;}
@media (max-width:900px){.unda-section-team .unda-team-grid{grid-template-columns:repeat(2,1fr);gap:18px;}}
@media (max-width:520px){.unda-section-team .unda-team-grid{grid-template-columns:1fr;max-width:280px;margin-left:auto;margin-right:auto;}}
