/* ==========================================================================
   Huminivex: main stylesheet
   Navy + gold, Plus Jakarta Sans (display) / DM Sans (body)
   ========================================================================== */

@font-face {
	font-family: "Plus Jakarta Sans";
	src: url("../fonts/plus-jakarta-sans.woff2") format("woff2");
	font-weight: 200 800;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "DM Sans";
	src: url("../fonts/dm-sans.woff2") format("woff2");
	font-weight: 100 1000;
	font-style: normal;
	font-display: swap;
}

:root {
	--navy: #043F7D;
	--navy-700: #032B57;
	--navy-900: #021F40;
	--gold: #FDC202;
	--gold-600: #E5AE00;
	--ink: #0B1B2E;
	--body: #3B4A5C;
	--muted: #5A6878;
	--line: #E2E7EF;
	--field: #C9D2DF;
	--tint: #F4F6FA;
	--tint-2: #DCE4F0;
	--on-dark: #C7D3E6;
	--on-dark-2: #D6E0EF;
	--success: #0E6B3A;
	--danger: #B42318;

	--font-display: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
	--font-body: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

	--container: 1200px;
	--gutter: clamp(16px, 4vw, 24px);
	--radius: 14px;
	--radius-lg: 16px;
	--shadow-card: 0 24px 60px rgba(3, 43, 87, 0.28);
	--shadow-soft: 0 12px 32px rgba(3, 43, 87, 0.1);
	--section-y: clamp(64px, 9vw, 96px);
	--header-h: 76px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	color: var(--ink);
	background: #fff;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
svg.icon { flex: none; display: inline-block; vertical-align: middle; }

a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--navy-700); }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--font-display); color: inherit; margin: 0; line-height: 1.15; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.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;
}
.skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 1000;
	background: var(--gold); color: var(--ink); padding: 12px 18px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: calc(880px + 2 * var(--gutter)); }
.container--text { max-width: calc(760px + 2 * var(--gutter)); }

/* ---------- Type ---------- */
.display {
	font-weight: 800; font-size: clamp(34px, 5.2vw, 56px); line-height: 1.08; letter-spacing: -0.02em;
}
.display em, .display .hl { font-style: normal; color: var(--gold); }
.h2 { font-weight: 800; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; }
.h3 { font-weight: 700; font-size: 22px; line-height: 1.3; }
.lede { font-size: clamp(16px, 1.6vw, 18px); color: var(--body); max-width: 680px; margin-top: 12px; }
.eyebrow {
	font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
	color: var(--navy); margin: 0 0 12px;
}
.eyebrow--gold { color: var(--gold); }
.eyebrow--ink { color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 14px 26px; border-radius: 10px; border: 1.5px solid transparent;
	font: 600 16px/1.2 var(--font-body); text-decoration: none; cursor: pointer;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
	text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn--gold { background: var(--gold); color: var(--ink); font-weight: 700; }
.btn--gold:hover { background: var(--gold-600); color: var(--ink); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-700); color: #fff; }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--ghost-light { border-color: rgba(255,255,255,.6); color: #fff; background: transparent; }
.btn--ghost-light:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
	display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--navy); text-decoration: none;
}
.link-arrow .icon { transition: transform .15s ease; }
a:hover .link-arrow .icon, .link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; }
.section--tint { background: var(--tint); }
.section--navy { background: var(--navy); color: #fff; }
.section--deep { background: var(--navy-700); color: #fff; }
.section--tight-top { padding-top: 32px; }
.section--tight-bottom { padding-bottom: 32px; }

.section-head { margin-bottom: 40px; }
.section-head--center { text-align: center; }
.section-head--center .lede { margin-left: auto; margin-right: auto; }
.section-head--split { display: flex; flex-wrap: wrap; gap: 16px 48px; align-items: flex-end; justify-content: space-between; }
.section-head--split .section-head__text { flex: 1 1 520px; }
.section-head--on-dark .lede, .section--deep .lede, .section--navy .lede { color: var(--on-dark); }
.section-head--on-dark > .lede { flex: 1 1 340px; margin: 0; }
.section--deep .link-arrow, .section--navy .link-arrow { color: var(--gold); }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }

.card {
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
	display: flex; flex-direction: column; gap: 10px; color: var(--ink);
}
.section--tint .card { border-color: transparent; }
.card--link { text-decoration: none; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.card--link:hover { border-color: var(--navy); box-shadow: var(--shadow-soft); color: var(--ink); transform: translateY(-2px); }
.card--link .link-arrow { margin-top: auto; padding-top: 6px; }
.card__title { font-family: var(--font-display); font-weight: 700; font-size: 19px; line-height: 1.3; margin: 0; }
.card__title--lg { font-size: 22px; font-weight: 800; line-height: 1.25; }
.card__text { color: var(--body); font-size: 15px; margin: 0; }
.card--gold { background: var(--gold); border-color: var(--gold); }
.card--gold .card__text { color: #2A2410; }
.card--gold .link-arrow { color: var(--ink); }
.card--gold:hover { border-color: var(--gold-600); }
.card--dark { background: var(--navy-700); border-color: var(--navy-700); color: #fff; }
.card--dark .card__text { color: var(--on-dark); }

.service-card__icon {
	width: 48px; height: 48px; border-radius: 12px; background: var(--tint); color: var(--navy);
	display: inline-flex; align-items: center; justify-content: center; margin-bottom: 6px;
}
.section--tint .service-card__icon { background: #EAF0F8; }

/* Chips */
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li, .chips a {
	background: var(--tint); border-radius: 999px; padding: 8px 16px; font-size: 15px; color: var(--ink); text-decoration: none;
}
.chips a:hover { background: var(--tint-2); }
.section--tint .chips li, .section--tint .chips a { background: #fff; }
.chips--dark li { background: transparent; border: 1px solid rgba(255,255,255,.3); color: #fff; font-size: 13px; padding: 4px 12px; }

/* Check list */
.check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .icon { color: var(--navy); margin-top: 3px; stroke-width: 2.4; }
.check-list--light { font-size: 17px; margin-top: 28px; }
.check-list--light .icon { color: var(--gold); }
.check-list--cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 14px 24px; }

/* ---------- Utility bar & header ---------- */
.utility-bar { background: var(--navy-700); color: var(--on-dark); font-size: 14px; }
.utility-bar__inner { display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; align-items: center; padding-top: 8px; padding-bottom: 8px; }
.utility-bar__links { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; }
.utility-bar a, .utility-bar__address { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.utility-bar__address { color: var(--on-dark); }
.utility-bar a:hover { color: var(--gold); }
@media (max-width: 760px) {
	.utility-bar__links--right, .utility-bar a[data-track="email"] { display: none; }
	.utility-bar__inner { justify-content: center; }
}

.site-header {
	background: #fff; border-bottom: 1px solid var(--line);
	position: sticky; top: 0; z-index: 50;
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); flex: none; }
.brand--image .brand__img { height: 50px; width: auto; max-width: 240px; object-fit: contain; object-position: left center; }
.brand--footer.brand--image .brand__img { height: 56px; max-width: 260px; }
.brand--footer.brand--image:not(.brand--light) .brand__img { filter: brightness(0) invert(1); }
@media (max-width: 960px) { .brand--header.brand--image .brand__img { height: 42px; max-width: 200px; } }
.brand__mark {
	width: 42px; height: 42px; border-radius: 9px; background: var(--navy); color: var(--gold);
	display: inline-flex; align-items: center; justify-content: center; font: 800 21px/1 var(--font-display);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font: 800 20px/1.1 var(--font-display); letter-spacing: .06em; }
.brand__tag { font-size: 10.5px; letter-spacing: .08em; color: var(--muted); margin-top: 3px; }
.brand--footer { color: #fff; }
.brand--footer .brand__tag { color: var(--on-dark); }

.nav-toggle {
	display: none; background: transparent; border: 0; color: var(--navy); width: 48px; height: 48px;
	border-radius: 10px; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline; }

.site-nav { display: flex; align-items: center; gap: 24px; }
.site-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.site-nav .menu > li { position: relative; display: flex; align-items: center; }
.site-nav .menu > li > a {
	display: inline-flex; align-items: center; min-height: 44px; padding: 8px 12px; border-radius: 8px;
	color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15px;
}
.site-nav .menu > li > a:hover, .site-nav .menu > li.is-current > a, .site-nav .menu > li.current-menu-item > a { color: var(--navy); background: var(--tint); }
.sub-toggle {
	background: transparent; border: 0; color: var(--muted); cursor: pointer; width: 28px; height: 44px; margin-left: -10px;
	display: inline-flex; align-items: center; justify-content: center; border-radius: 6px;
}
.sub-toggle .icon { transition: transform .15s ease; }

/* Mega menu (desktop) */
.mega {
	position: absolute; top: calc(100% + 12px); left: -180px; width: min(880px, 92vw);
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 24px 60px rgba(3,43,87,.16);
	padding: 28px; display: grid; grid-template-columns: 1fr 1fr 240px; gap: 28px;
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.has-mega:hover .mega, .has-mega:focus-within .mega, .has-mega.is-open .mega { opacity: 1; visibility: visible; transform: none; }
.has-mega:hover .sub-toggle .icon, .has-mega.is-open .sub-toggle .icon { transform: rotate(180deg); }
.mega ul { list-style: none; margin: 0 0 16px; padding: 0; }
.mega li a {
	display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; color: var(--ink);
	text-decoration: none; font-size: 15px; font-weight: 500;
}
.mega li a .icon { color: var(--navy); }
.mega li a:hover { background: var(--tint); color: var(--navy); }
.mega__label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px 10px; }
.mega__label a { color: inherit; text-decoration: none; }
.mega__label a:hover { color: var(--navy); }
.mega__promo { background: var(--navy-700); color: #fff; border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.mega__promo p { color: var(--on-dark); font-size: 14px; margin: 0; }
.mega__promo .mega__promo-title { font: 700 18px/1.3 var(--font-display); color: #fff; }

/* WP menu fallback submenus */
.site-nav .sub-menu { list-style: none; margin: 0; padding: 10px; position: absolute; top: 100%; left: 0; min-width: 240px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-soft); opacity: 0; visibility: hidden; }
.site-nav .menu-item-has-children:hover > .sub-menu, .site-nav .menu-item-has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; }
.site-nav .sub-menu a { display: block; padding: 8px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; }
.site-nav .sub-menu a:hover { background: var(--tint); }

@media (max-width: 1080px) {
	.site-nav .menu > li > a { padding: 8px 8px; font-size: 14.5px; }
	.mega { left: -120px; grid-template-columns: 1fr 1fr; }
	.mega__promo { display: none; }
}

/* Mobile nav */
@media (max-width: 1040px) {
	:root { --header-h: 68px; }
	.nav-toggle { display: inline-flex; }
	.site-nav {
		position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; background: #fff; z-index: 49;
		flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 120px; overflow-y: auto;
		display: none; border-top: 1px solid var(--line);
	}
	.nav-open .site-nav { display: flex; }
	.nav-open { overflow: hidden; }
	.site-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.site-nav .menu > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
	.site-nav .menu > li > a { flex: 1; min-height: 56px; font-size: 17px; padding: 8px 4px; background: none !important; }
	.sub-toggle { width: 52px; height: 56px; margin: 0; }
	.mega {
		position: static; width: 100%; box-shadow: none; border: 0; padding: 0 0 16px; display: none;
		grid-template-columns: 1fr; gap: 8px; opacity: 1; visibility: visible; transform: none;
	}
	.has-mega:hover .mega, .has-mega:focus-within .mega { display: none; }
	.has-mega.is-open .mega { display: grid; }
	.has-mega:hover .sub-toggle .icon { transform: none; }
	.has-mega.is-open .sub-toggle .icon { transform: rotate(180deg); }
	.mega li a { padding: 12px 10px; min-height: 48px; }
	.site-nav__cta { padding-top: 20px; }
	.site-nav__cta .btn { width: 100%; }
	.site-nav .sub-menu { position: static; opacity: 1; visibility: visible; box-shadow: none; border: 0; width: 100%; }
}
@media (max-width: 1040px) {
	.admin-bar .site-nav { top: calc(var(--header-h) + 46px); }
}

/* ---------- Hero ---------- */
.hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.hero::after {
	content: ""; position: absolute; right: -180px; top: -180px; width: 520px; height: 520px; border-radius: 50%;
	border: 80px solid rgba(255,255,255,.035); pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero__grid { display: flex; flex-wrap: wrap; gap: 48px 56px; align-items: center; padding: clamp(48px, 7vw, 80px) 0 clamp(56px, 7vw, 80px); }
.hero--page .hero__grid { padding-top: 32px; align-items: flex-start; }
.hero__grid--single .hero__copy { max-width: 860px; }
.hero__copy { flex: 1 1 520px; min-width: 0; }
.hero__aside { flex: 1 1 360px; max-width: 440px; }
.hero__intro { font-size: clamp(17px, 1.8vw, 19px); color: var(--on-dark-2); margin: 20px 0 0; max-width: 600px; }
.hero .btn-row { margin-top: 32px; }
.hero__badge {
	display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px;
	padding: 6px 14px; font-size: 13px; color: #E3EAF5; margin-bottom: 24px;
}
.hero__badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.hero .display { margin-top: 0; }
.hero__proof { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 14px; color: var(--on-dark); }
.hero__proof li { display: inline-flex; gap: 8px; align-items: center; }
.hero__proof .icon { color: var(--gold); }

.breadcrumbs { padding-top: 24px; font-size: 14px; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.breadcrumbs li { color: var(--on-dark); display: inline-flex; gap: 4px; }
.breadcrumbs li + li::before { content: "/"; color: rgba(199,211,230,.6); }
.breadcrumbs a { color: var(--on-dark); text-decoration: none; }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; }
.breadcrumbs [aria-current] { color: #fff; }
.breadcrumbs--light li, .breadcrumbs--light a { color: var(--muted); }
.breadcrumbs--light [aria-current] { color: var(--ink); }

/* ---------- Forms ---------- */
.lead-form {
	background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 32px);
	box-shadow: var(--shadow-card); display: flex; flex-direction: column; gap: 14px;
}
.lead-form--plain { box-shadow: none; border: 1px solid var(--line); }
.lead-form__title { font: 700 22px/1.3 var(--font-display); margin: 0; }
.lead-form__sub { font-size: 14px; color: var(--muted); margin: 4px 0 0; }
.lead-form__note { font-size: 13px; color: var(--muted); text-align: center; margin: 0; }
.lead-form__note a { font-weight: 600; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-row > .field, .magnet__fields > .field { flex: 1 1 160px; }
.field label { font-size: 14px; font-weight: 500; }
.field .req { color: var(--danger); }
.field-row { display: flex; flex-wrap: wrap; gap: 12px; }
.field input, .field select, .field textarea {
	width: 100%; min-height: 48px; border: 1px solid var(--field); border-radius: 8px; padding: 10px 14px;
	font: 400 16px/1.4 var(--font-body); color: var(--ink); background: #fff;
}
.field textarea { min-height: 110px; resize: vertical; }
.field select { padding-right: 36px; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235A6878' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(4,63,125,.18); }
.field input:user-invalid { border-color: var(--danger); }
.form-alert { background: #FEF3F2; color: var(--danger); border-radius: 8px; padding: 10px 14px; font-size: 14px; margin: 0; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.lead-form button[disabled] { opacity: .7; cursor: progress; }

/* Lead magnet */
.magnet {
	background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 40px);
	display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; justify-content: space-between; position: relative;
}
.magnet__copy { flex: 1 1 400px; }
.magnet__title { font: 800 clamp(22px, 2.6vw, 28px)/1.2 var(--font-display); margin: 0; }
.magnet__text { color: var(--on-dark); margin-top: 8px; }
.magnet__fields { flex: 1 1 420px; display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.magnet__fields .btn { flex: 1 1 100%; }
.field--light label { color: #fff; }
.field--light input { border: 0; }

/* ---------- Home-specific ---------- */

.paths { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.path {
	border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 40px); display: flex; flex-direction: column; gap: 16px;
	text-decoration: none; transition: transform .15s ease, box-shadow .15s ease;
}
.path:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.path--light { background: var(--tint); color: var(--ink); }
.path--dark { background: var(--navy-700); color: #fff; }
.path--dark:hover { color: #fff; }
.path__icon { width: 56px; height: 56px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; }
.path--light .path__icon { background: var(--navy); color: var(--gold); }
.path--dark .path__icon { background: var(--gold); color: var(--navy-700); }
.path__title { font: 700 clamp(22px, 2.4vw, 26px)/1.25 var(--font-display); margin: 0; }
.path p { margin: 0; color: var(--body); }
.path--dark p { color: var(--on-dark); }
.path .link-arrow { margin-top: auto; }
.path--dark .link-arrow { color: var(--gold); }

.pain { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.pain__title { font: 700 19px/1.35 var(--font-display); margin: 0 0 8px; }
.pain p { color: var(--body); font-size: 15px; margin: 0; }

/* 3D × 3P matrix */
.matrix { display: flex; flex-wrap: wrap; gap: 32px; align-items: stretch; }
.matrix__grid { flex: 1 1 640px; min-width: 0; display: grid; grid-template-columns: minmax(96px, .8fr) repeat(3, minmax(0, 1fr)); gap: 10px; }
.matrix__corner { display: flex; align-items: center; justify-content: center; gap: 6px; font: 800 20px/1 var(--font-display); color: var(--on-dark); }
.matrix__corner .is-d, .matrix__panel .is-d { color: var(--gold); }
.matrix__corner .is-p, .matrix__panel .is-p { color: #fff; }
.matrix__x { opacity: .6; font-weight: 500; }
.matrix__head {
	font: 800 15px/1.2 var(--font-display); letter-spacing: .1em; text-transform: uppercase; border-radius: 12px;
	min-height: 56px; padding: 10px 12px; cursor: pointer; border: 1px dashed rgba(255,255,255,.28); background: transparent;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.matrix__head--p { color: #fff; }
.matrix__head--d { color: var(--gold); text-align: left; }
.matrix__head:hover, .matrix__head.is-on { border-style: solid; border-color: currentColor; background: rgba(255,255,255,.06); }
.matrix__head[aria-pressed="true"] { background: rgba(255,255,255,.12); border-style: solid; border-color: currentColor; }
.matrix__cell {
	position: relative; text-align: left; cursor: pointer; border-radius: 14px; padding: 18px 16px; min-height: 92px;
	background: #2E5F92; border: 1px solid rgba(255,255,255,.12); color: #fff;
	display: flex; flex-direction: column; justify-content: space-between; gap: 8px;
	transition: transform .2s ease, background-color .2s ease, opacity .2s ease, box-shadow .2s ease;
}
.matrix__cell-name { font: 700 17px/1.25 var(--font-display); }
.matrix__cell-meta { font-size: 12px; letter-spacing: .04em; color: #D6E0EF; }
.matrix__cell:hover { transform: translateY(-2px); background: #376999; }
.matrix.is-focusing .matrix__cell { opacity: .45; }
.matrix.is-focusing .matrix__cell.is-related { opacity: 1; }
.matrix__cell.is-related { box-shadow: inset 0 0 0 2px rgba(253,194,2,.55); }
.matrix__cell.is-active, .matrix__cell[aria-pressed="true"] { background: var(--gold); color: var(--ink); opacity: 1 !important; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,0,0,.25); }
.matrix__cell.is-active .matrix__cell-meta, .matrix__cell[aria-pressed="true"] .matrix__cell-meta { color: #4A3B00; }
.matrix__panel {
	flex: 1 1 320px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-lg);
	padding: 28px; display: flex; flex-direction: column; gap: 12px; min-height: 280px;
}
.matrix__panel-eyebrow { font: 700 14px/1.2 var(--font-display); letter-spacing: .1em; text-transform: uppercase; margin: 0; }
.matrix__panel-title { font-size: clamp(26px, 3vw, 34px); font-weight: 800; margin: 0; }
.matrix__panel-text { color: var(--on-dark-2); font-size: 17px; margin: 0; }
.matrix__panel-links { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.matrix__panel-links .link-arrow { color: var(--gold); }
.matrix__panel-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.matrix__panel-chips button { font: 600 14px/1 var(--font-body); color: #fff; background: #2E5F92; border: 0; border-radius: 999px; padding: 10px 14px; min-height: 40px; cursor: pointer; }
.matrix__panel-chips button:hover { background: var(--gold); color: var(--ink); }
.matrix__hint { margin-top: auto !important; padding-top: 12px; font-size: 13px; color: var(--on-dark); }
.matrix__panel.is-updating > * { animation: hmx-fade .25s ease; }
@keyframes hmx-fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

@media (max-width: 760px) {
	.matrix__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
	.matrix__corner, .matrix__head--p { display: none; }
	.matrix__head--d { grid-column: 1 / -1; min-height: 44px; margin-top: 8px; }
	.matrix__cell { min-height: 84px; padding: 12px 9px; }
	.matrix__cell-name { font-size: 14px; hyphens: manual; word-break: normal; overflow-wrap: normal; }
	.matrix__cell-meta { font-size: 11px; }
	.matrix__cell-meta { display: none; }
	.matrix__cell::after { content: attr(data-p); font-size: 11px; text-transform: capitalize; color: #D6E0EF; }
	.matrix__cell.is-active::after, .matrix__cell[aria-pressed="true"]::after { color: #4A3B00; }
	.matrix__panel { min-height: 0; }
}

/* Client logos */
.client-strip { border-bottom: 1px solid var(--line); padding: 28px 0 12px; overflow: hidden; }
.client-strip__head { text-align: center; }
.client-strip__label { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; }
.client-strip__foot { display: flex; justify-content: flex-end; }
.logo-marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.logo-marquee__track { list-style: none; margin: 0; padding: 4px 0; display: flex; gap: 16px; width: max-content; animation: hmx-marquee 90s linear infinite; }
.logo-marquee:hover .logo-marquee__track, .logo-marquee:focus-within .logo-marquee__track, .logo-marquee.is-paused .logo-marquee__track { animation-play-state: paused; }
@keyframes hmx-marquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 8px)); } }
.logo-tile { flex: none; width: 150px; height: 88px; background: #fff; border: 1px solid var(--line); border-radius: 12px; display: flex; align-items: center; justify-content: center; padding: 10px; overflow: hidden; }
.logo-tile img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .25s ease, opacity .25s ease; }
.logo-tile:hover img { filter: none; opacity: 1; }
.marquee-toggle { background: none; border: 0; color: var(--muted); font: 500 13px/1 var(--font-body); padding: 12px 0; min-height: 44px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.marquee-toggle:hover { color: var(--navy); }
@media (prefers-reduced-motion: reduce) {
	.logo-marquee { -webkit-mask-image: none; mask-image: none; }
	.logo-marquee__track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; padding: 0 var(--gutter); }
	.logo-tile--dup, .marquee-toggle { display: none; }
}
.logo-wall { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; }
.logo-wall .logo-tile { width: auto; }
.memberships { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.logo-tile--member { width: auto; height: 96px; }
.logo-tile--member img { filter: none; opacity: 1; }

/* Product mock */
.product { display: flex; flex-wrap: wrap; gap: 48px 56px; align-items: center; }
.product__copy { flex: 1 1 440px; min-width: 0; }
.product__mock { color: var(--ink); flex: 1 1 460px; min-width: 0; background: #fff; border-radius: var(--radius-lg); box-shadow: 0 20px 50px rgba(3,43,87,.14); overflow: hidden; }
.mock__bar { background: var(--navy-700); padding: 12px 16px; display: flex; gap: 8px; align-items: center; color: var(--on-dark); font-size: 12px; }
.mock__bar span.dot { width: 10px; height: 10px; border-radius: 50%; background: #5A7AA6; }
.mock__bar span.label { margin-left: 12px; }
.mock__body { padding: 20px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mock__tile { background: var(--tint); border-radius: 10px; padding: 14px; }
.mock__tile--wide { grid-column: span 2; }
.mock__k { font-size: 12px; color: var(--muted); }
.mock__v { font: 800 26px/1.2 var(--font-display); }
.mock__ok { font: 700 15px/1.3 var(--font-display); color: var(--success); margin-top: 6px; }
.mock__bars { display: flex; align-items: flex-end; gap: 10px; height: 96px; margin-top: 10px; }
.mock__bars span { flex: 1; background: var(--navy); border-radius: 4px 4px 0 0; }
.mock__bars span.is-today { background: var(--gold); }
.mock__bars span.is-off { background: var(--field); }
.mock__row { font-size: 13px; display: flex; justify-content: space-between; margin-top: 8px; gap: 8px; }
.mock__row .pending { color: #8A5A00; font-weight: 600; }
.mock__row .approved { color: var(--success); font-weight: 600; }
@media (max-width: 480px) { .mock__body { grid-template-columns: 1fr 1fr; } .mock__tile--wide { grid-column: span 2; } }


.split { display: flex; flex-wrap: wrap; gap: 48px; }
.split > * { flex: 1 1 420px; min-width: 0; }

/* Quotes & cases */
.quote-card { margin: 0; background: var(--tint); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.section--tint .quote-card { background: #fff; }
.quote-card__mark { color: var(--gold); }
.quote-card blockquote { margin: 0; font-size: 17px; line-height: 1.6; }
.quote-card blockquote p { margin: 0; }
.quote-card figcaption { font-size: 14px; display: flex; flex-direction: column; margin-top: auto; }
.quote-card figcaption span { color: var(--muted); }

.case-card__meta { font-size: 13px; color: var(--muted); font-weight: 600; margin: 0; }
.case-card__metric { font: 800 40px/1 var(--font-display); color: var(--navy); margin: 4px 0; }
.case-card .link-arrow { margin-top: auto; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; }
.step { background: #fff; border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 6px; }
.step__num { font: 800 32px/1 var(--font-display); color: var(--navy); }
.step__title { font-size: 20px; font-weight: 700; margin-top: 6px; }
.step p { color: var(--body); font-size: 15px; margin: 0; }

/* FAQ */
.faq { }
.faq__item:first-of-type { border-top: 1px solid var(--line); }
.faq__title { margin-bottom: 28px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
	list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center;
	padding: 20px 0; font: 700 18px/1.4 var(--font-display);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { width: 28px; height: 28px; flex: none; position: relative; border-radius: 50%; background: var(--tint); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--navy); transform: translate(-50%, -50%); transition: transform .2s ease; }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__answer { padding: 0 48px 20px 0; color: var(--body); }
.faq__item summary:hover { color: var(--navy); }

/* CTA band */
.cta-band { background: var(--navy-700); color: #fff; }
.cta-band__inner { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; padding-top: clamp(56px, 8vw, 88px); padding-bottom: clamp(56px, 8vw, 88px); }
.cta-band__copy { flex: 1 1 520px; }
.cta-band .h2 { font-size: clamp(28px, 3.8vw, 44px); line-height: 1.1; }
.cta-band p { color: var(--on-dark); font-size: 18px; margin: 12px 0 0; }

/* Info strip / related links */
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.related a { background: #fff; border-radius: 12px; padding: 20px 22px; text-decoration: none; color: var(--ink); font-weight: 600; display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid transparent; }
.related a:hover { border-color: var(--navy); color: var(--navy); }

.outcomes { background: var(--navy-700); color: #fff; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 40px); }
.outcomes .check-list .icon { color: var(--gold); }
.outcomes__title { font: 700 22px/1.3 var(--font-display); margin: 0 0 20px; }
.who { border-left: 0; background: var(--tint); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 40px); }
.who__title { font: 700 22px/1.3 var(--font-display); margin: 0 0 12px; }
.who p { color: var(--body); margin: 0; }

.docs-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.docs-list .card ul { margin: 0; padding-left: 20px; color: var(--body); }
.docs-list .card li { margin: 4px 0; }

.crosssell { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; background: var(--gold); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 40px); }
.crosssell__copy { flex: 1 1 480px; }
.crosssell h2 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; }
.crosssell p { margin: 10px 0 0; color: #2A2410; }

/* ---------- About ---------- */
.values { list-style: none; margin: 0; padding: 0; }
.founder { display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: center; }
.founder__photo { flex: 0 1 360px; aspect-ratio: 4/5; background: var(--tint-2); border-radius: var(--radius-lg); overflow: hidden; display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 14px; }
.founder__photo img { width: 100%; height: 100%; object-fit: cover; }
.founder__copy { flex: 1 1 420px; }
.team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; }
.team li { background: #fff; border-radius: 12px; padding: 20px; display: flex; gap: 14px; align-items: center; }
.team__avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: var(--gold); display: inline-flex; align-items: center; justify-content: center; font: 700 17px/1 var(--font-display); flex: none; }
.team__name { font-weight: 700; }
.team__role { font-size: 14px; color: var(--muted); }

.directors { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 340px)); gap: 24px; }
.director { background: #fff; border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.director__photo { aspect-ratio: 4 / 5; background: var(--tint-2); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.director__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.director__photo .team__avatar { width: 96px; height: 96px; font-size: 36px; }
.director__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 4px; }
.director__name { font-size: 22px; font-weight: 800; }
.director__title { color: var(--muted); font-weight: 600; margin: 0 0 8px; }
.director__bio { color: var(--body); font-size: 15px; margin: 0 0 10px; }

/* ---------- Industries ---------- */
.industry-card { scroll-margin-top: calc(var(--header-h) + 24px); }
.industry-card:target { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(4,63,125,.15); }

/* ---------- Contact ---------- */
.contact-grid { display: flex; flex-wrap: wrap; gap: 40px 56px; }
.contact-grid__info { flex: 1 1 380px; }
.contact-grid__form { flex: 1 1 460px; }
.contact-cards { display: grid; gap: 12px; }
.contact-card { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); }
a.contact-card:hover { border-color: var(--navy); }
.contact-card__icon { width: 44px; height: 44px; border-radius: 10px; background: var(--tint); color: var(--navy); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.contact-card__k { font-size: 13px; color: var(--muted); margin: 0; }
.contact-card__v { font-weight: 600; margin: 0; }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/9; background: var(--tint); }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

.contact-list { font-style: normal; display: flex; flex-direction: column; gap: 12px; }
.contact-list a { display: flex; gap: 10px; align-items: flex-start; color: var(--on-dark); text-decoration: none; }
.contact-list a:hover { color: #fff; }
.contact-list .icon { margin-top: 3px; color: var(--gold); }

/* ---------- Blog ---------- */
.post-card { background: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: box-shadow .15s ease, transform .15s ease; }
.section--tint .post-card { border-color: transparent; }
.post-card:hover { box-shadow: var(--shadow-soft); transform: translateY(-2px); color: var(--ink); }
.post-card__media { aspect-ratio: 16/10; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 100%); display: flex; align-items: flex-end; padding: 18px; color: var(--gold); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__media--img { padding: 0; }
.post-card__media svg { opacity: .9; }
.post-card__body { padding: 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card__cat { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); }
.post-card__title { font: 700 19px/1.35 var(--font-display); margin: 0; }
.post-card__meta { font-size: 13px; color: var(--muted); margin-top: auto; padding-top: 8px; }

.blog-header { background: var(--tint); padding: 24px 0 56px; }
.blog-header .breadcrumbs li, .blog-header .breadcrumbs a { color: var(--muted); }
.blog-header .breadcrumbs [aria-current] { color: var(--ink); }
.blog-header h1 { margin-top: 32px; }
.cat-filter { margin-top: 28px; }
.cat-filter .is-current a, .cat-filter a[aria-current] { background: var(--navy); color: #fff; }

.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pagination .page-numbers { min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; }
.pagination .page-numbers.current { background: var(--navy); border-color: var(--navy); color: #fff; }
.pagination a.page-numbers:hover { border-color: var(--navy); }

.article-header { background: var(--tint); padding: 24px 0 48px; }
.article-header .breadcrumbs li, .article-header .breadcrumbs a { color: var(--muted); }
.article-header .breadcrumbs [aria-current] { color: var(--ink); }
.article-header h1 { font-size: clamp(30px, 4.4vw, 46px); line-height: 1.12; letter-spacing: -0.02em; margin: 28px 0 16px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-size: 14px; }
.article-hero-img { margin-top: -24px; }
.article-hero-img img { border-radius: var(--radius-lg); width: 100%; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; padding: 56px 0 var(--section-y); }
@media (max-width: 1000px) { .article-layout { grid-template-columns: 1fr; } }
.article-aside { position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 20px; }
.article-aside .lead-form { box-shadow: var(--shadow-soft); border: 1px solid var(--line); }

/* Prose (blog posts, legal pages) */
.prose { font-size: 18px; line-height: 1.75; color: #1C2B3D; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(24px, 2.6vw, 30px); font-weight: 800; margin-top: 1.8em; line-height: 1.25; }
.prose h3 { font-size: 21px; font-weight: 700; margin-top: 1.6em; line-height: 1.3; }
.prose h4 { font-size: 18px; font-weight: 700; margin-top: 1.4em; }
.prose p, .prose ul, .prose ol { margin-bottom: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose a { font-weight: 500; }
.prose img { border-radius: 12px; height: auto; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--gold); font-size: 20px; color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose th { background: var(--tint); }
.prose figure { margin: 1.6em 0; }
.prose figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.prose .wp-block-button__link { background: var(--navy); color: #fff; border-radius: 10px; padding: 14px 24px; text-decoration: none; }
.prose .alignwide, .prose .alignfull { max-width: 100%; }
.prose iframe { max-width: 100%; }
.inline-cta { margin-top: 2.4em !important; background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: 28px; display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; }
.inline-cta p { margin: 0; font: 700 20px/1.35 var(--font-display); flex: 1 1 320px; }
.share { display: flex; gap: 10px; align-items: center; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-weight: 600; }
.share a { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid var(--line); color: var(--navy); }
.share a:hover { border-color: var(--navy); }

/* ---------- Careers (WP Job Openings) ---------- */
.jobs-wrap .awsm-job-listings, .jobs-wrap .awsm-job-wrap { font-family: var(--font-body); }
.jobs-wrap .awsm-job-item { border-radius: 12px !important; }

/* ---------- Thank you / 404 ---------- */
.center-page { min-height: 60vh; display: flex; align-items: center; padding: var(--section-y) 0; }
.center-page__inner { max-width: 720px; }
.center-page__icon { width: 72px; height: 72px; border-radius: 50%; background: var(--gold); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.next-steps { list-style: none; counter-reset: s; margin: 32px 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.next-steps li { counter-increment: s; display: flex; gap: 14px; align-items: flex-start; }
.next-steps li::before { content: counter(s); width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex: none; font-size: 14px; }
.search-form { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.search-form input[type="search"] { flex: 1 1 260px; min-height: 52px; border: 1px solid var(--field); border-radius: 10px; padding: 10px 16px; font: inherit; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: var(--on-dark); font-size: 15px; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 40px; padding-top: 64px; padding-bottom: 40px; }
@media (max-width: 1080px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer__brand p { margin: 16px 0 20px; max-width: 360px; }
.site-footer__title { color: #fff; font-weight: 700; margin: 0 0 12px; }
.site-footer__title a { color: #fff; text-decoration: none; }
.site-footer__col ul { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.site-footer__col a { color: var(--on-dark); text-decoration: none; }
.site-footer__col a:hover { color: #fff; text-decoration: underline; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; padding-top: 20px; padding-bottom: 28px; font-size: 13px; }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom a { color: var(--on-dark); }
.social { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; }
.social a { width: 44px; height: 44px; border-radius: 10px; border: 1px solid rgba(255,255,255,.25); display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.social a:hover { background: rgba(255,255,255,.1); color: #fff; }

/* Floating WhatsApp + mobile bar */
.float-wa {
	position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%;
	background: #1F8F4E; color: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(0,0,0,.2);
}
.float-wa:hover { background: #18773F; color: #fff; }
.mobile-bar { display: none; }
@media (max-width: 760px) {
	.float-wa { display: none; }
	.mobile-bar {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: 1fr 1fr 1.6fr;
		background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(3,43,87,.08); padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
		gap: 8px;
	}
	.mobile-bar a { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 10px; text-decoration: none; color: var(--navy); font-weight: 600; font-size: 15px; }
	.mobile-bar__primary { background: var(--gold); color: var(--ink) !important; font-weight: 700 !important; }
	body { padding-bottom: 72px; }
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Print ---------- */
@media print {
	.utility-bar, .site-header, .site-footer, .float-wa, .mobile-bar, .cta-band, .lead-form { display: none !important; }
	.hero { background: none; color: #000; }
}

/* Job openings from Huminivex Hires */
.job-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.job-card { position: relative; display: flex; flex-direction: column; gap: 10px; transition: border-color .2s, box-shadow .2s, transform .2s; }
.job-card:hover, .job-card:focus-within { border-color: var(--navy); box-shadow: 0 12px 32px rgba(3,43,87,.10); transform: translateY(-2px); }
.job-card__meta { margin: 0; font-size: 13px; font-weight: 600; color: var(--muted); }
.job-card .card__title { margin: 0; }
.job-card__link { color: var(--navy); text-decoration: none; }
.job-card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.job-card__link:focus-visible { outline: none; }
.job-card:focus-within { outline: 3px solid var(--gold); outline-offset: 2px; }
.job-card .card__text { margin: 0; }
.job-card__facts { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.job-card__facts li { display: inline-flex; align-items: center; gap: 6px; background: var(--tint); color: var(--ink); border-radius: 999px; padding: 6px 12px; font-size: 14px; font-weight: 600; }
.job-card__facts svg { color: var(--navy); flex: none; }
.job-card__rupee { color: var(--navy); font-weight: 700; }
.job-card__cta { margin-top: auto; padding-top: 8px; }
@media (prefers-reduced-motion: reduce) { .job-card { transition: none; } .job-card:hover { transform: none; } }

/* 3D × 3P network layout (desktop), matching the live site's diagram */
.mnet { display: none; }
@media (min-width: 900px) {
	.matrix { display: block; }
	.matrix__grid { display: none; }
	.mnet { display: block; position: relative; width: 100%; max-width: 1040px; margin: 8px auto 0; aspect-ratio: 1000 / 410; container-type: inline-size; }
	.matrix__panel { max-width: 1040px; margin: 28px auto 0; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); column-gap: 40px; row-gap: 10px; align-items: start; }
	.matrix__panel-eyebrow, .matrix__panel-title, .matrix__panel-text { grid-column: 1; }
	.matrix__panel-links { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
	.matrix__hint { grid-column: 1 / -1; margin-top: 4px !important; }
}
.mnet__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.mnet__lines line { stroke: rgba(160,185,220,.45); stroke-width: 1.5; stroke-dasharray: 5 5; transition: stroke .25s, opacity .25s; }
.mnet__lines line.is-on { stroke: var(--gold); stroke-dasharray: none; stroke-width: 2.5; }
.mnet:has(line.is-on) line:not(.is-on) { opacity: .35; }
.mnet__hub, .mnet__pill { position: absolute; transform: translate(-50%, -50%); white-space: nowrap; cursor: pointer; font-family: var(--font-display); }
.mnet__hub { background: var(--navy-700); border: 0; border-radius: 10px; padding: .1em .35em; font-weight: 800; font-size: 18px; font-size: clamp(16px, 3.1cqw, 34px); line-height: 1.1; letter-spacing: -.01em; transition: transform .2s, text-shadow .2s, box-shadow .2s; }
.mnet__hub--d { color: var(--gold); }
.mnet__hub--p { color: #fff; }
.mnet__hub:hover, .mnet__hub.is-on { transform: translate(-50%, -50%) scale(1.06); text-shadow: 0 0 18px rgba(253,194,2,.45); }
.mnet__hub[aria-pressed="true"] { box-shadow: 0 0 0 2px currentColor; }
.mnet__pill { background: #3B6292; color: #fff; border: 2px solid transparent; border-radius: 999px; padding: .45em 1.05em; font-weight: 600; font-size: 14px; font-size: clamp(13px, 1.75cqw, 19px); line-height: 1.2; box-shadow: 0 4px 14px rgba(0,0,0,.18); transition: background .2s, color .2s, transform .2s, border-color .2s, opacity .2s, box-shadow .2s; }
.mnet__pill:hover { background: #4A75A8; transform: translate(-50%, -50%) scale(1.05); }
.mnet__pill.is-related { border-color: rgba(253,194,2,.6); }
.matrix.is-focusing .mnet__pill { opacity: .45; }
.matrix.is-focusing .mnet__pill.is-related { opacity: 1; }
.mnet__pill.is-active, .mnet__pill[aria-pressed="true"] { background: var(--gold); color: var(--ink); opacity: 1 !important; transform: translate(-50%, -50%) scale(1.08); box-shadow: 0 12px 28px rgba(0,0,0,.3); }
@media (prefers-reduced-motion: reduce) { .mnet__hub, .mnet__pill, .mnet__lines line { transition: none; } }
/* Reset the grid styles these buttons share with the table layout */
.mnet .mnet__pill { display: inline-block; min-height: 0; text-align: center; gap: 0; }
.mnet .mnet__hub { min-height: 0; text-transform: uppercase; letter-spacing: -.005em; border: 0; background: var(--navy-700); }
.mnet .mnet__hub:hover, .mnet .mnet__hub.is-on { background: var(--navy-700); border: 0; }
.mnet .mnet__hub[aria-pressed="true"] { background: var(--navy-700); box-shadow: 0 0 0 2px currentColor; }
.mnet .mnet__pill:hover { background: #4A75A8; }
.mnet .mnet__pill.is-active, .mnet .mnet__pill[aria-pressed="true"] { background: var(--gold); color: var(--ink); }
.mnet .mnet__hub { font-size: clamp(15px, 2.6cqw, 28px); }
.mnet__lines line { stroke: rgba(170,195,230,.6); }
.mnet:has(line.is-on) line:not(.is-on) { opacity: .45; }
.mnet .mnet__pill.is-related { border-color: rgba(253,194,2,.35); }
.mnet .mnet__pill.is-related { border-color: transparent; }
.matrix.is-focusing .mnet .mnet__pill.is-related { border-color: rgba(253,194,2,.6); }
.bingo-cta { display: flex; flex-direction: column; gap: 14px; }
.bingo-cta .btn { width: 100%; justify-content: center; }

/* Post cards: whole card opens the article, category label opens its category */
.post-card { position: relative; }
.post-card__link { color: inherit; text-decoration: none; }
.post-card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.post-card__link:focus-visible { outline: none; }
.post-card:focus-within { outline: 3px solid var(--gold); outline-offset: 2px; }
.post-card:hover .post-card__link { color: var(--navy); }
a.post-card__cat { position: relative; z-index: 2; align-self: flex-start; text-decoration: none; border-radius: 4px; }
a.post-card__cat:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Blog topic filter: clearly clickable buttons on any background */
.cat-filter li { background: none; padding: 0; }
.cat-filter a { display: inline-block; background: #fff; border: 1px solid var(--line); padding: 9px 18px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--ink); transition: border-color .15s, background .15s, color .15s; }
.cat-filter a:hover { border-color: var(--navy); color: var(--navy); background: #fff; }
.cat-filter a[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: #fff; }

/* Never split words with hyphens (some plugins switch this on) */
body, body p, body li, body h1, body h2, body h3, .lede { -webkit-hyphens: manual; hyphens: manual; }

/* Keep menu labels and the header button on one line */
@media (min-width: 1041px) {
	.site-nav .menu > li > a, .site-header .btn { white-space: nowrap; }
}
@media (min-width: 1041px) and (max-width: 1180px) {
	.site-nav .menu > li > a { padding: 8px 7px; font-size: 14px; }
	.site-header .btn { padding-left: 16px; padding-right: 16px; font-size: 14.5px; }
	.brand--header.brand--image .brand__img { max-width: 170px; }
}

/* Keep blog buttons and cards above any plugin layer that might cover them */
.blog-header { position: relative; z-index: 3; }
.blog-header .cat-filter, .blog-header .cat-filter a { position: relative; z-index: 4; pointer-events: auto; cursor: pointer; }
.post-card, .post-card a { pointer-events: auto; cursor: pointer; }

/* Testimonial cards (v1.2.11): self-contained, immune to plugin quote styles */
.quote-card { position: relative; padding: 32px 30px 28px; gap: 20px; border: 1px solid var(--line); background: #fff; box-shadow: 0 6px 24px rgba(3,43,87,.06); }
.section--tint .quote-card { border-color: transparent; }
.quote-card__mark { color: var(--gold); flex: none; }
.quote-card__text, .quote-card__text * {
	font-family: var(--font-body); font-size: 17px; line-height: 1.65; color: var(--ink);
	font-style: normal; font-weight: 400; text-transform: none; letter-spacing: normal; text-align: left;
	background: none; border: 0; box-shadow: none; padding: 0; margin: 0; quotes: none; width: auto; max-width: none; float: none;
}
.quote-card__text *::before, .quote-card__text *::after { content: none; }
.quote-card__text p + p { margin-top: 12px; }
.quote-card__by { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); font-size: 15px; }
.quote-card__avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; font: 700 17px/1 var(--font-display); flex: none; }
.quote-card__who { display: flex; flex-direction: column; line-height: 1.35; }
.quote-card__who strong { color: var(--ink); font-weight: 700; }
.quote-card__who span { color: var(--muted); font-size: 14px; }
.quote-card .quote-card__text, .quote-card .quote-card__text * { text-transform: none !important; font-style: normal !important; letter-spacing: normal !important; border: 0 !important; padding: 0 !important; background: none !important; box-shadow: none !important; }
.quote-card .quote-card__by { flex-direction: row; align-items: center; text-align: left; }
.quote-card .quote-card__avatar { color: #fff; }
.quote-card .quote-card__who span { color: var(--muted); }
