/* =========================================================
   Eventify — brand system v3 (rich old-theme port + new
   Material You services slider, flip approach, split clients)
   ========================================================= */

:root {
	--ev-k:    #000;
	--ev-w:    #fff;
	--ev-g50:  #fafafa;
	--ev-g100: #f4f4f4;
	--ev-g200: #e8e8e8;
	--ev-g400: #bbb;
	--ev-g500: #999;
	--ev-g700: #555;
	--ev-nav:  76px;
	--ev-max:  1280px;
	--ev-ease: cubic-bezier(.4, 0, .2, 1);
}
@media (max-width: 768px) { :root { --ev-nav: 64px; } }

/* ---------- BASE ---------- */
html, body {
	background: var(--ev-w);
	color: var(--ev-k);
	font-family: 'Inter', -apple-system, 'Helvetica Neue', sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	line-height: 1.6;
}
body { margin: 0; padding: 0; overflow-x: hidden; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4, h5, h6 {
	color: var(--ev-k);
	font-family: 'Inter', sans-serif;
	letter-spacing: -.01em;
	margin: 0 0 .6em;
}
h1 { font-weight: 300; font-size: clamp(32px, 4vw, 56px); }
h2 { font-weight: 400; font-size: clamp(26px, 3vw, 40px); }
h3 { font-weight: 500; font-size: clamp(18px, 2vw, 22px); }
a { color: var(--ev-k); text-decoration: none; transition: color .2s var(--ev-ease); }
a:hover { color: var(--ev-g700); }

.ev-container { max-width: var(--ev-max); margin: 0 auto; padding: 0 32px; width: 100%; box-sizing: border-box; }
.ev-lowercase { text-transform: lowercase; letter-spacing: .02em; }
.ev-h1 { font-size: clamp(30px, 4vw, 52px); font-weight: 400; line-height: 1.1; letter-spacing: -.02em; margin: 0 0 8px; }
.ev-h1 strong { font-weight: 800; }
.ev-sub { font-size: 15.5px; color: var(--ev-g700); line-height: 1.7; margin: 0 0 14px; }

/* ── Defensive: hide any Xtra / Codevz parent header that slips through
   the PHP short-circuit + output filter. Covers every Codevz header
   variant we've seen in the wild (#site_header, .page_header, .header_5
   sticky wrappers, mobile custom headers). Belt-and-suspenders. */
header#site_header,
header.page_header,
.page_header.codevz_custom_header_mobile,
.header_5,
body > header:not(.ev-header),
body > #wpadminbar ~ header:not(.ev-header) { display: none !important; }
/* In case Codevz wraps the header inside .lt-area or .codevz-row */
.lt-area > header#site_header,
.codevz-row > header#site_header { display: none !important; }

/* ---------- HEADER ---------- */
.ev-header {
	position: sticky; top: 0; z-index: 1000;
	background: var(--ev-k);
	border-bottom: 1px solid rgba(255, 255, 255, .06);
	min-height: var(--ev-nav);
	transition: background .25s, box-shadow .25s;
}
.ev-header.scrolled { box-shadow: 0 2px 18px rgba(0,0,0,.35); }
.ev-header-inner {
	display: flex; align-items: center; justify-content: space-between;
	min-height: var(--ev-nav);
	gap: 24px;
	max-width: var(--ev-max);
	margin: 0 auto;
	padding: 0 32px;
}
.ev-logo { display: inline-block; line-height: 0; border: 0 !important; padding: 0; }
.ev-logo-img { max-height: 56px; width: auto; display: block; border: 0 !important; box-shadow: none !important; }
.custom-logo-link, .custom-logo { border: 0 !important; background: transparent !important; padding: 0 !important; }
.ev-nav-list { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; align-items: center; }
.ev-nav-list li { position: relative; }
.ev-nav-list > li > a {
	display: block; padding: 10px 0;
	font-size: 12px; font-weight: 600; letter-spacing: .14em;
	text-transform: uppercase; color: var(--ev-w); position: relative;
}
/* Caret on parents to signal a dropdown */
.ev-nav-list > li.menu-item-has-children > a {
	padding-right: 14px;
}
.ev-nav-list > li.menu-item-has-children > a::before {
	content: ''; position: absolute; right: 0; top: 50%;
	width: 6px; height: 6px;
	border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
	transform: translateY(-65%) rotate(45deg);
	transition: transform .22s var(--ev-ease);
}
.ev-nav-list > li.menu-item-has-children:hover > a::before { transform: translateY(-35%) rotate(225deg); }
.ev-nav-list > li > a::after {
	content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
	background: var(--ev-w); transition: width .22s var(--ev-ease);
}
.ev-nav-list > li:hover > a::after,
.ev-nav-list > li.current-menu-item > a::after,
.ev-nav-list > li.current-page-ancestor > a::after { width: 100%; }
.ev-nav-list .sub-menu {
	position: absolute; top: 100%; left: 0;
	background: var(--ev-k);
	min-width: 240px;
	list-style: none; margin: 0; padding: 14px 0;
	opacity: 0; pointer-events: none;
	transform: translateY(6px);
	transition: all .22s var(--ev-ease);
	box-shadow: 0 20px 40px rgba(0,0,0,.15);
}
.ev-nav-list li:hover > .sub-menu,
.ev-nav-list li:focus-within > .sub-menu { opacity: 1; pointer-events: auto; transform: none; }
.ev-nav-list .sub-menu a { padding: 10px 22px; color: var(--ev-w); font-size: 12px; letter-spacing: .1em; }
.ev-nav-list .sub-menu a:hover { color: var(--ev-g400); }
.ev-nav-list .sub-menu::before { content: ''; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.ev-nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.ev-nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ev-w); margin: 5px 0; transition: transform .25s, opacity .25s; transform-origin: center; }
.ev-nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ev-nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.ev-nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile: drawer-style nav with tap-to-toggle submenus */
@media (max-width: 980px) {
	.ev-nav {
		position: fixed; top: var(--ev-nav); right: -100%;
		width: 86%; max-width: 380px; bottom: 0;
		background: var(--ev-k); padding: 24px 28px 32px;
		transition: right .3s var(--ev-ease); overflow-y: auto;
		box-shadow: -16px 0 40px rgba(0, 0, 0, .25);
	}
	.ev-nav.is-open { right: 0; }
	.ev-nav-list { flex-direction: column; align-items: stretch; gap: 0; }
	.ev-nav-list > li { border-bottom: 1px solid rgba(255, 255, 255, .08); position: relative; }
	.ev-nav-list > li:last-child { border-bottom: 0; }
	.ev-nav-list > li > a { color: var(--ev-w); padding: 16px 36px 16px 0; font-size: 13px; }
	.ev-nav-list > li > a::after { display: none; }
	.ev-nav-list > li.menu-item-has-children > a::before { display: none; }
	/* Mobile chevron — separate clickable trigger that toggles the submenu */
	.ev-nav-list > li.menu-item-has-children::after {
		content: ''; position: absolute; right: 4px; top: 18px;
		width: 7px; height: 7px;
		border-right: 1.5px solid rgba(255, 255, 255, .6);
		border-bottom: 1.5px solid rgba(255, 255, 255, .6);
		transform: rotate(45deg); transition: transform .22s var(--ev-ease);
		pointer-events: none;
	}
	.ev-nav-list > li.menu-item-has-children.is-expanded::after {
		transform: rotate(-135deg); top: 22px;
		border-color: var(--ev-w);
	}
	.ev-nav-list .sub-menu {
		position: static; opacity: 1; pointer-events: auto; transform: none;
		background: transparent; padding: 0 0 8px 14px; box-shadow: none;
		max-height: 0; overflow: hidden;
		transition: max-height .3s var(--ev-ease), padding .3s var(--ev-ease);
	}
	.ev-nav-list > li.menu-item-has-children.is-expanded > .sub-menu {
		max-height: 600px; padding: 4px 0 12px 14px;
	}
	.ev-nav-list .sub-menu a {
		padding: 10px 0; border-bottom: 0;
		color: rgba(255, 255, 255, .75);
	}
	.ev-nav-list .sub-menu a:hover { color: var(--ev-w); }
	.ev-nav-toggle { display: block; position: relative; z-index: 1001; }
}

/* ---------- HERO CAROUSEL ---------- */
.ev-hero { position: relative; height: calc(100vh - var(--ev-nav)); min-height: 600px; overflow: hidden; }
.ev-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; will-change: opacity; }
.ev-slide.on { opacity: 1; z-index: 2; }
.ev-slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.06); transition: transform 7s ease; }
.ev-slide.on .ev-slide-bg { transform: scale(1); }
.ev-slide-ov { position: absolute; inset: 0; background: linear-gradient(110deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.35) 55%, rgba(0,0,0,.05) 100%); }
.ev-slide-c { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; max-width: 720px; padding-bottom: 80px; }
.ev-slide-tag { font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-bottom: 18px; opacity: 0; transform: translateY(16px); transition: opacity .7s .3s, transform .7s .3s; }
.ev-slide.on .ev-slide-tag { opacity: 1; transform: none; }
.ev-slide-h { font-size: clamp(36px, 5.5vw, 74px); font-weight: 300; line-height: 1.05; letter-spacing: -.03em; color: var(--ev-w); margin: 0 0 20px; opacity: 0; transform: translateY(24px); transition: opacity .8s .5s, transform .8s .5s; }
.ev-slide.on .ev-slide-h { opacity: 1; transform: none; }
.ev-slide-hr { width: 44px; height: 2px; background: var(--ev-w); margin-bottom: 20px; opacity: 0; transition: opacity .5s .8s; }
.ev-slide.on .ev-slide-hr { opacity: 1; }
.ev-slide-p { font-size: clamp(18px, 2.2vw, 28px); font-weight: 300; color: rgba(255,255,255,.85); letter-spacing: 0; line-height: 1.3; max-width: 720px; opacity: 0; transform: translateY(14px); transition: opacity .7s .7s, transform .7s .7s; }
.ev-slide.on .ev-slide-p { opacity: 1; transform: none; }
.ev-dots { position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); z-index: 5; display: flex; gap: 10px; }
.ev-dot { width: 8px; height: 8px; border: 0; border-radius: 50%; background: rgba(255,255,255,.4); cursor: pointer; padding: 0; transition: all .3s; }
.ev-dot.on { background: var(--ev-w); width: 28px; border-radius: 4px; }
.ev-arrows { position: absolute; bottom: 28px; right: 32px; z-index: 5; display: flex; gap: 8px; }
.ev-arr { width: 44px; height: 44px; border: 1.5px solid rgba(255,255,255,.4); background: transparent; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ev-w); transition: all .22s; }
.ev-arr:hover { background: var(--ev-w); color: var(--ev-k); border-color: var(--ev-w); }
.ev-arr svg { width: 16px; height: 16px; }

/* ---------- STATS BAR ---------- */
.ev-stats-bar { background: var(--ev-k); padding: 60px 0; }
.ev-stats-g { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ev-stat { text-align: center; color: var(--ev-w); }
.ev-stat-n { font-size: clamp(36px, 4.5vw, 56px); font-weight: 200; letter-spacing: -.03em; margin-bottom: 6px; }
.ev-stat-l { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.55); }
@media (max-width: 700px) { .ev-stats-g { grid-template-columns: repeat(2, 1fr); gap: 36px; } }

/* ---------- SECTIONS ---------- */
.ev-sec { padding: clamp(64px, 9vw, 120px) 0; }
.ev-sec-gray { background: var(--ev-g100); }
.ev-sec-dark { background: var(--ev-k); color: var(--ev-w); }
.ev-sec-dark h1, .ev-sec-dark h2, .ev-sec-dark h3, .ev-sec-dark h4 { color: var(--ev-w); }

/* ---------- TWO-COL (ABOUT) ---------- */
.ev-two { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.ev-two-img { position: relative; overflow: hidden; }
.ev-two-img img { width: 100%; height: 480px; object-fit: cover; display: block; }
.ev-two-img::after { content: ''; position: absolute; bottom: -16px; left: -16px; width: 80px; height: 80px; background: var(--ev-k); z-index: -1; }
@media (max-width: 900px) { .ev-two { grid-template-columns: 1fr; gap: 40px; } .ev-two-img img { height: 340px; } }

/* ---------- VISION / MISSION ---------- */
/* Review V1: ghost word sits ABOVE the body heading in normal flow
   (no overlap). Vision word is white-on-black, Mission word is black-on-white.
   Word reads strongly but stays decorative — heading is the readable copy. */
.ev-vm { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--ev-g200); }
.ev-vm-c {
	padding: clamp(40px, 5vw, 64px) clamp(28px, 4vw, 64px);
	position: relative; overflow: hidden;
	display: flex; flex-direction: column; gap: 8px;
	min-height: 360px;
}
.ev-vm-dark { background: var(--ev-k); color: var(--ev-w); }
.ev-vm-light { background: var(--ev-w); color: var(--ev-k); }
.ev-vm-lt { background: var(--ev-w); color: var(--ev-k); } /* legacy fallback */
.ev-vm-dk { background: var(--ev-g50); color: var(--ev-k); }
.ev-vm-ghost {
	position: relative;
	font-size: clamp(64px, 11vw, 148px); font-weight: 900;
	line-height: .92; letter-spacing: -.04em;
	pointer-events: none; user-select: none;
	margin: 0 0 4px;
}
.ev-vm-dark .ev-vm-ghost { color: var(--ev-w); }
.ev-vm-light .ev-vm-ghost, .ev-vm-lt .ev-vm-ghost, .ev-vm-dk .ev-vm-ghost { color: var(--ev-k); }
.ev-vm-lbl { font-size: 10.5px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; margin-bottom: 12px; color: var(--ev-g700); position: relative; }
.ev-vm-h {
	font-size: clamp(17px, 1.6vw, 21px); font-weight: 300; line-height: 1.55;
	letter-spacing: -.005em; margin: 0; position: relative; color: inherit;
	max-width: 560px;
}
@media (max-width: 820px) {
	.ev-vm { grid-template-columns: 1fr; }
	.ev-vm-c { padding: 56px 32px; min-height: 280px; }
}
.ev-vm-cta { padding: 32px 20px; background: var(--ev-w); }
/* Right-aligned Vision & Mission CTA button */
.ev-vm-cta--right .ev-container { text-align: right; }
.ev-vm-cta--right { padding: 32px 0; }
@media (max-width: 820px) { .ev-vm-cta--right .ev-container { text-align: center; } }

/* ---------- CORE SERVICES SLIDER (Material You-inspired) ---------- */
.ev-svc-swiper { position: relative; padding: 40px 0 60px; overflow: hidden; }
.ev-svc-swiper .swiper-wrapper { align-items: stretch; }
.ev-svc-card {
	background: var(--ev-w);
	border-radius: 28px;
	overflow: hidden;
	box-shadow: 0 8px 32px rgba(0,0,0,.08);
	height: auto !important;
	display: flex !important;
	flex-direction: column;
	transition: transform .4s var(--ev-ease), box-shadow .4s var(--ev-ease);
}
.ev-svc-card__img {
	width: 100%;
	aspect-ratio: 4/3;
	background-size: cover;
	background-position: center;
	transition: transform .6s var(--ev-ease);
}
.ev-svc-card:hover .ev-svc-card__img { transform: scale(1.04); }
.ev-svc-card__body { padding: 28px 28px 32px; flex: 1; display: flex; flex-direction: column; gap: 12px; }
.ev-svc-card__n { font-size: 11px; font-weight: 700; letter-spacing: .22em; color: var(--ev-g500); text-transform: uppercase; margin: 0; }
.ev-svc-card__t { font-size: 20px; font-weight: 600; letter-spacing: -.01em; margin: 0; color: var(--ev-k); line-height: 1.25; }
.ev-svc-card__p { font-size: 14px; line-height: 1.65; color: var(--ev-g700); margin: 0; flex: 1; }

.ev-svc-swiper .swiper-slide { transition: transform .5s var(--ev-ease), opacity .5s; opacity: .4; }
.ev-svc-swiper .swiper-slide-active { opacity: 1; transform: scale(1); }
.ev-svc-swiper .swiper-slide-next,
.ev-svc-swiper .swiper-slide-prev { opacity: .7; transform: scale(.94); }

.ev-svc-swiper__prev,
.ev-svc-swiper__next {
	position: absolute; top: 50%; transform: translateY(-50%);
	z-index: 10;
	width: 52px; height: 52px;
	border: 0; border-radius: 50%;
	background: var(--ev-w); color: var(--ev-k);
	display: flex; align-items: center; justify-content: center;
	cursor: pointer;
	box-shadow: 0 6px 20px rgba(0,0,0,.12);
	transition: all .25s;
}
.ev-svc-swiper__prev:hover,
.ev-svc-swiper__next:hover { background: var(--ev-k); color: var(--ev-w); transform: translateY(-50%) scale(1.06); }
.ev-svc-swiper__prev svg, .ev-svc-swiper__next svg { width: 18px; height: 18px; }
.ev-svc-swiper__prev { left: 20px; }
.ev-svc-swiper__next { right: 20px; }
.ev-svc-swiper__pag { position: relative; margin-top: 32px; display: flex; justify-content: center; gap: 8px; }
.ev-svc-swiper__pag .swiper-pagination-bullet {
	width: 8px; height: 8px; border-radius: 50%;
	background: var(--ev-g400); opacity: 1;
	transition: all .3s var(--ev-ease);
}
.ev-svc-swiper__pag .swiper-pagination-bullet-active { background: var(--ev-k); width: 28px; border-radius: 4px; }

/* ---------- OUR APPROACH — FLIP CARDS ---------- */
.ev-flip-g {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
	padding: 0 32px; max-width: var(--ev-max); margin: 0 auto;
}
@media (max-width: 1000px) { .ev-flip-g { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .ev-flip-g { grid-template-columns: 1fr; } }
.ev-flip { perspective: 1400px; height: 440px; cursor: pointer; outline: none; }
.ev-flip__inner {
	position: relative; width: 100%; height: 100%;
	transform-style: preserve-3d;
	transition: transform .8s var(--ev-ease);
}
.ev-flip:hover .ev-flip__inner,
.ev-flip:focus .ev-flip__inner,
.ev-flip.is-flipped .ev-flip__inner { transform: rotateY(180deg); }
.ev-flip__face {
	position: absolute; inset: 0;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	overflow: hidden;
}
.ev-flip__front { background: #111; }
.ev-flip__front-img {
	position: absolute; inset: 0;
	background-size: cover; background-position: center;
	transition: transform .8s var(--ev-ease);
	opacity: .68;
	filter: grayscale(10%) contrast(1.05);
}
.ev-flip__front-ov { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.3) 0%, rgba(0,0,0,.78) 100%); }
.ev-flip__front-c {
	position: relative; z-index: 2;
	height: 100%;
	padding: 36px 28px;
	display: flex; flex-direction: column; justify-content: flex-end;
	box-sizing: border-box; /* prevent padding pushing title past overflow:hidden */
}
.ev-flip__n { font-size: 11px; font-weight: 700; letter-spacing: .24em; color: rgba(255,255,255,.55); margin: 0 0 8px; text-transform: uppercase; }
.ev-flip__name { font-size: 26px; font-weight: 800; letter-spacing: -.01em; color: var(--ev-w); margin: 0 0 10px; }
.ev-flip__sub { font-size: 14px; color: rgba(255,255,255,.85); line-height: 1.6; margin: 0; }
.ev-flip__back {
	transform: rotateY(180deg);
	background: var(--ev-w);
	color: var(--ev-k);
	padding: 36px 28px;
	display: flex; flex-direction: column; justify-content: center;
	align-items: flex-start;
	box-sizing: border-box;
}
.ev-flip__back .ev-flip__n { color: var(--ev-g500); }
.ev-flip__back .ev-flip__name { color: var(--ev-k); margin-bottom: 14px; }
.ev-flip__p { font-size: 15px; line-height: 1.7; color: var(--ev-g700); margin: 0; }

/* ---------- CLIENT LOGO GRID (full-color, no washout) ---------- */
.ev-logo-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 1px;
	background: var(--ev-g200);
	border: 1px solid var(--ev-g200);
}
.ev-logo-cell {
	aspect-ratio: 4/3;
	background: var(--ev-w);
	display: flex; align-items: center; justify-content: center;
	padding: 24px 20px;
	transition: background .25s var(--ev-ease);
}
.ev-logo-cell img {
	max-width: 100%; max-height: 72px;
	width: auto; height: auto;
	object-fit: contain;
	transition: transform .3s var(--ev-ease);
}
.ev-logo-cell:hover { background: var(--ev-g50); }
.ev-logo-cell:hover img { transform: scale(1.08); }
@media (max-width: 1000px) { .ev-logo-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px)  { .ev-logo-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- LOGO MARQUEE (Clients page) ---------- */
.ev-logo-marquee {
	overflow: hidden;
	position: relative;
	background: var(--ev-w);
	margin: 32px 0;
	padding: 32px 0;
	border-top: 1px solid var(--ev-g200);
	border-bottom: 1px solid var(--ev-g200);
	mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.ev-logo-marquee__track {
	display: flex; align-items: center;
	animation: ev-scroll 55s linear infinite;
	width: max-content;
}
.ev-logo-marquee__item {
	width: 240px; height: 130px;
	display: flex; align-items: center; justify-content: center;
	padding: 20px 28px;
	flex-shrink: 0;
	transition: transform .3s var(--ev-ease);
}
.ev-logo-marquee__item img {
	max-width: 100%; max-height: 90px;
	width: auto; height: auto;
	object-fit: contain;
}
.ev-logo-marquee__item:hover { transform: scale(1.08); }

/* Source assets for these 4 partners are white-on-transparent PNGs
   (intended for dark backgrounds). On our white/gray cells they'd be
   invisible — `brightness(0)` collapses all non-transparent pixels to
   black so the logo mark reads cleanly on light surfaces. Applied
   everywhere these logos render: tier rows, flat grid, and marquee. */
.ev-logo-cell img[src$="medtronic.png"],
.ev-logo-cell img[src$="baxter.png"],
.ev-logo-cell img[src$="riwospine.png"],
.ev-logo-cell img[src$="cadillac.png"],
.ev-logo-marquee__item img[src$="medtronic.png"],
.ev-logo-marquee__item img[src$="baxter.png"],
.ev-logo-marquee__item img[src$="riwospine.png"],
.ev-logo-marquee__item img[src$="cadillac.png"] {
	filter: brightness(0);
}

/* Tier-grouped logo blocks (Clients page) */
.ev-tier { margin: 48px 0; }
.ev-tier + .ev-tier { margin-top: 32px; }
.ev-tier-label {
	font-size: 11px; font-weight: 700; letter-spacing: .24em;
	text-transform: uppercase; color: var(--ev-g500);
	text-align: center; margin: 0 0 20px;
}
.ev-tier-row {
	display: grid; gap: 1px;
	background: var(--ev-g200);
	border: 1px solid var(--ev-g200);
}
.ev-tier-row.cols-3 { grid-template-columns: repeat(3, 1fr); }
.ev-tier-row.cols-4 { grid-template-columns: repeat(4, 1fr); }
.ev-tier-row.cols-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 900px) { .ev-tier-row.cols-4, .ev-tier-row.cols-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .ev-tier-row, .ev-tier-row.cols-3, .ev-tier-row.cols-4, .ev-tier-row.cols-5 { grid-template-columns: repeat(2, 1fr); } }

/* ---------- SCIENTIFIC PARTNER MARQUEE ---------- */
.ev-sci-marquee {
	overflow: hidden; position: relative;
	margin-top: 0;
	background: var(--ev-w);
	mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}
.ev-sci-marquee__track {
	display: flex; animation: ev-scroll 55s linear infinite;
	width: max-content;
}
.ev-sci-marquee__item {
	display: flex; align-items: center; justify-content: center;
	width: 300px; height: 120px; padding: 22px 28px;
	border-right: 1px solid var(--ev-g200);
	font-size: 16px; font-weight: 600;
	color: var(--ev-g700); text-align: center;
	flex-shrink: 0; line-height: 1.4;
	letter-spacing: -.005em;
}

/* ---------- SCIENTIFIC PARTNER CELLS ---------- */
.ev-sci-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1px;
	background: var(--ev-g200);
	border: 1px solid var(--ev-g200);
}
@media (max-width: 800px) { .ev-sci-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .ev-sci-grid { grid-template-columns: 1fr; } }
.ev-sci-cell {
	background: var(--ev-w);
	min-height: 130px;
	display: flex; align-items: center; justify-content: center;
	padding: 28px; text-align: center;
	transition: all .3s;
}
.ev-sci-cell:hover { background: var(--ev-k); color: var(--ev-w); }
.ev-sci-cell:hover .ev-sci-name { color: var(--ev-w); }
.ev-sci-name {
	font-size: 15px; font-weight: 600;
	letter-spacing: -.005em; color: var(--ev-k);
	line-height: 1.35;
	transition: color .3s;
}

/* ---------- CTA BAND ---------- */
.ev-cta-band { position: relative; padding: 120px 0; overflow: hidden; }
.ev-cta-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.04); }
.ev-cta-ov { position: absolute; inset: 0; background: rgba(0,0,0,.82); }
.ev-cta-c { position: relative; z-index: 2; text-align: center; color: var(--ev-w); }
.ev-cta-c h2 { font-size: clamp(28px, 4vw, 48px); font-weight: 300; letter-spacing: -.02em; color: var(--ev-w); margin: 0 0 12px; }
.ev-cta-c p { font-size: 16px; color: rgba(255,255,255,.75); margin: 0 0 32px; display: none; }

/* ---------- BUTTONS ---------- */
.ev-btn, .ev-btn-k, .ev-btn-w, .ev-btn-o, .ev-btn-inv,
.wpb_button, .vc_btn, .vc_btn3 {
	display: inline-flex; align-items: center; justify-content: center;
	gap: 10px;
	padding: 14px 32px;
	font-family: 'Inter', sans-serif;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	border: 2px solid var(--ev-k);
	background: var(--ev-k);
	color: var(--ev-w);
	transition: all .25s var(--ev-ease);
	border-radius: 0;
	cursor: pointer;
	text-decoration: none;
}
.ev-btn svg, .ev-btn-k svg, .ev-btn-w svg, .ev-btn-o svg { width: 16px; height: 16px; transition: transform .25s var(--ev-ease); }
.ev-btn:hover svg, .ev-btn-k:hover svg, .ev-btn-w:hover svg { transform: translateX(4px); }
.ev-btn-k { background: var(--ev-k); color: var(--ev-w); border-color: var(--ev-k); }
.ev-btn-k:hover { background: var(--ev-w); color: var(--ev-k); }
.ev-btn-w { background: var(--ev-w); color: var(--ev-k); border-color: var(--ev-w); }
.ev-btn-w:hover { background: transparent; color: var(--ev-w); border-color: var(--ev-w); }
.ev-btn-o { background: transparent; color: var(--ev-k); border-color: var(--ev-k); }
.ev-btn-o:hover { background: var(--ev-k); color: var(--ev-w); }

/* ---------- PAGE HERO (interior pages) ---------- */
.ev-page-hero { position: relative; padding: clamp(80px, 14vw, 160px) 0 clamp(56px, 9vw, 104px); overflow: hidden; background: var(--ev-k); }
.ev-page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .65; transform: scale(1.04); filter: grayscale(20%) contrast(1.05); }
.ev-page-hero-ov { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.6) 50%, rgba(0,0,0,.88) 100%); }
.ev-page-hero-c { position: relative; z-index: 2; color: var(--ev-w); }
.ev-page-title { color: var(--ev-w); font-size: clamp(36px, 5vw, 64px); font-weight: 300; letter-spacing: -.02em; margin: 0; }
.ev-page-content { max-width: none; margin: 0; }
.ev-page-content h2, .ev-page-content h3 { margin-top: 1.6em; }
.ev-page-content p { font-size: 16px; line-height: 1.7; }
.ev-page-content > p.ev-sub,
.ev-page-content > p:not(.ev-sub):not([class]) { max-width: 920px; }

/* Inner-page helpers that page-content HTML can use */
.ev-label { font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--ev-g700); margin-bottom: 10px; }
.ev-sec-lead { font-size: 18px; max-width: 760px; color: inherit; }

/* Default cards = 3 columns (symmetric for 3 and 6-card grids) */
.ev-cards {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px;
}
.ev-cards-2 { grid-template-columns: repeat(2, 1fr) !important; }
.ev-cards-4 { grid-template-columns: repeat(4, 1fr) !important; }
@media (max-width: 1000px) {
	.ev-cards, .ev-cards-4 { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 560px) {
	.ev-cards, .ev-cards-4, .ev-cards-2 { grid-template-columns: 1fr !important; }
}
.ev-card { padding: 32px 28px; border: 1px solid var(--ev-g200); background: var(--ev-w); transition: all .3s var(--ev-ease); }
.ev-card:hover { border-color: var(--ev-k); transform: translateY(-4px); }
.ev-card-n { font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--ev-g500); margin: 0 0 14px; }
.ev-card-h { font-size: 20px; font-weight: 600; margin: 0 0 10px; color: var(--ev-k); }
.ev-card-p { font-size: 14px; line-height: 1.7; color: var(--ev-g700); margin: 0; }

/* ---------- SUBPAGE TIGHTENING ----------
   - First content section sits closer to the hero banner
   - Subpage H2 tops are consistently sized (smaller than home H2)
   - Margin-bottoms trimmed between section blocks */
.ev-page-hero + section.ev-sec { padding-top: clamp(40px, 5vw, 64px); }
.ev-page-content .ev-h1 {
	font-size: clamp(24px, 2.6vw, 34px);
	line-height: 1.2;
	margin: 0 0 24px;
	font-weight: 400;
}
.ev-page-content .ev-h1 strong { font-weight: 800; }
.ev-page-content > *:first-child { margin-top: 0 !important; }
.ev-page-content .ev-two { margin-bottom: 56px; }
.ev-page-content .ev-two-img img { height: 420px; }
.ev-page-content .ev-inline-dark { margin: 64px 0 0; }
.ev-page-content .ev-cards { margin-top: 24px; }

/* ---------- FOOTER (XTRA white-house demo layout) ----------
   Dark 3-column structure: brand/description + two link columns.
   Columns are widget areas so they can be edited via Appearance →
   Widgets; the markup below styles the fallback defaults too.
   A thin horizontal divider sits between the main grid and the
   centred copyright line at the bottom, same as the reference. */
.ev-footer { background: #ffffff; color: rgba(0,0,0,.72); padding: 88px 0 0; border-top: 1px solid rgba(0,0,0,.08); }
.ev-footer a { color: rgba(0,0,0,.65); text-decoration: none; transition: color .2s var(--ev-ease); }
.ev-footer a:hover { color: var(--ev-k); }

.ev-footer-inner {
	display: grid; grid-template-columns: 1.4fr 1fr 1fr;
	gap: 64px; padding-bottom: 56px;
	align-items: flex-start;
}
@media (max-width: 900px) { .ev-footer-inner { grid-template-columns: 1fr; gap: 48px; } }

.ev-footer-col { min-width: 0; }

/* Column 1 — brand block */
.ev-footer-logo { display: inline-block; margin-bottom: 20px; }
.ev-footer-logo img { max-height: 72px; width: auto; filter: invert(1); display: block; }
.ev-footer-desc { color: rgba(0,0,0,.55); line-height: 1.65; font-size: 14px; max-width: 380px; margin: 0 0 24px; }

.ev-footer-social { list-style: none; margin: 0; padding: 0; display: flex; gap: 12px; }
.ev-footer-social a {
	display: inline-flex; align-items: center; justify-content: center;
	width: 36px; height: 36px; border: 1px solid rgba(0,0,0,.2);
	transition: background .2s var(--ev-ease), color .2s var(--ev-ease), border-color .2s var(--ev-ease);
}
.ev-footer-social a:hover { background: var(--ev-k); color: var(--ev-w); border-color: var(--ev-k); }

/* Column 2 / 3 headings + menus */
.ev-footer-heading {
	color: var(--ev-k); font-size: 12px; font-weight: 700;
	letter-spacing: .22em; text-transform: uppercase;
	margin: 4px 0 24px;
}
.ev-footer-menu, .ev-footer-widget ul, .ev-footer-widget .menu {
	list-style: none; margin: 0; padding: 0;
	display: grid; gap: 12px;
}
.ev-footer-menu li, .ev-footer-widget li { margin: 0; padding: 0; }
.ev-footer-menu a, .ev-footer-widget a {
	font-size: 14px; color: rgba(0,0,0,.55);
	border-bottom: 1px solid transparent;
	transition: color .2s var(--ev-ease), border-color .2s var(--ev-ease);
}
.ev-footer-menu a:hover, .ev-footer-widget a:hover {
	color: var(--ev-k);
}

/* Horizontal divider between main block and copyright */
.ev-footer-divider { height: 1px; background: rgba(0,0,0,.08); margin: 0 20px; }

/* Copyright meta line — centred, subdued */
.ev-footer-meta {
	padding: 24px 0;
	font-size: 12px; letter-spacing: .04em;
	color: rgba(0,0,0,.4);
	text-align: center;
}

/* ---------- FORMS (CF7) ---------- */
.wpcf7-form { max-width: 760px; margin-top: 32px; }
.wpcf7-form p { margin-bottom: 18px; }
.wpcf7-form label { display: block; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--ev-g700); margin-bottom: 8px; font-weight: 600; }
.wpcf7-form input:not([type=submit]), .wpcf7-form select, .wpcf7-form textarea {
	width: 100%; box-sizing: border-box;
	border: 1px solid var(--ev-g200); padding: 14px 18px;
	font-family: inherit; font-size: 14.5px;
	background: var(--ev-w); color: var(--ev-k);
	border-radius: 0; outline: none;
	transition: border-color .2s;
}
.wpcf7-form input:focus, .wpcf7-form select:focus, .wpcf7-form textarea:focus { border-color: var(--ev-k); }
.wpcf7-form input[type=submit],
.wpcf7-form button[type=submit],
.wpcf7-submit { background: var(--ev-k) !important; color: var(--ev-w) !important; border: 2px solid var(--ev-k) !important; padding: 15px 40px; font-family: 'Inter', sans-serif; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; width: auto; border-radius: 0; transition: all .25s var(--ev-ease); }
.wpcf7-form input[type=submit]:hover,
.wpcf7-form button[type=submit]:hover,
.wpcf7-submit:hover { background: var(--ev-w) !important; color: var(--ev-k) !important; }
.wpcf7-response-output { border: 1px solid var(--ev-g200); padding: 14px 18px; margin: 18px 0; }

/* ---------- SCROLL REVEAL ---------- */
.rv, .rv-left, .rv-right, .rv-scale, .rv-fade {
	opacity: 1;
	transform: none;
	transition: opacity .8s var(--ev-ease), transform .8s var(--ev-ease);
}
.rv.in, .rv-left.in, .rv-right.in, .rv-scale.in, .rv-fade.in { opacity: 1; transform: none; }
.d1 { transition-delay: .12s; }
.d2 { transition-delay: .24s; }
.d3 { transition-delay: .36s; }

/* ---------- SERVICES PAGE CAROUSEL (coverflow style) ---------- */
.ev-svc-page-swiper { position: relative; padding: 48px 0 80px; overflow: hidden; }
.ev-svc-page-swiper .swiper-wrapper { align-items: center; }
.ev-svc-page-swiper .swiper-slide { width: 440px !important; height: auto !important; }
@media (max-width: 520px) { .ev-svc-page-swiper .swiper-slide { width: 86vw !important; } }
.ev-svc-page-slide {
	width: 440px !important; height: 580px !important;
	position: relative; overflow: hidden;
	background: var(--ev-k); color: var(--ev-w);
	border-radius: 28px;
	box-shadow: 0 30px 60px rgba(0,0,0,.18);
	display: flex !important; flex-direction: column;
}
@media (max-width: 520px) {
	.ev-svc-page-slide { width: 86vw !important; height: 74vh !important; max-height: 560px; }
}
.ev-svc-page-slide__img {
	position: absolute; inset: 0;
	background-size: cover; background-position: center;
	opacity: .55;
	transition: opacity .6s var(--ev-ease), transform .8s var(--ev-ease);
	filter: grayscale(10%);
}
.ev-svc-page-swiper .swiper-slide-active .ev-svc-page-slide__img { opacity: .7; transform: scale(1.04); }
.ev-svc-page-slide__ov {
	position: absolute; inset: 0;
	background: linear-gradient(0deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.4) 55%, rgba(0,0,0,.05) 100%);
}
.ev-svc-page-slide__c {
	position: relative; z-index: 2;
	margin-top: auto;
	padding: 44px 40px;
}
.ev-svc-page-slide__n { font-size: 11px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.55); margin: 0 0 14px; }
.ev-svc-page-slide__t { font-size: 26px; font-weight: 700; line-height: 1.2; letter-spacing: -.015em; margin: 0 0 14px; color: var(--ev-w); }
.ev-svc-page-slide__p { font-size: 14.5px; line-height: 1.65; color: rgba(255,255,255,.85); margin: 0; }
.ev-svc-page-slide__list { list-style: none; padding: 0; margin: 14px 0 0; font-size: 13px; color: rgba(255,255,255,.6); }
.ev-svc-page-slide__list li { padding: 3px 0; }

.ev-svc-page-swiper .swiper-slide { transition: transform .6s var(--ev-ease), opacity .6s; opacity: .35; }
.ev-svc-page-swiper .swiper-slide-active { opacity: 1; }
.ev-svc-page-swiper .swiper-slide-next,
.ev-svc-page-swiper .swiper-slide-prev { opacity: .6; }

.ev-svc-page-swiper__prev,
.ev-svc-page-swiper__next {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
	width: 56px; height: 56px;
	border: 0; border-radius: 50%;
	background: var(--ev-k); color: var(--ev-w);
	display: flex; align-items: center; justify-content: center; cursor: pointer;
	box-shadow: 0 8px 24px rgba(0,0,0,.18);
	transition: all .25s;
}
.ev-svc-page-swiper__prev { left: 20px; }
.ev-svc-page-swiper__next { right: 20px; }
.ev-svc-page-swiper__prev:hover,
.ev-svc-page-swiper__next:hover { background: var(--ev-w); color: var(--ev-k); transform: translateY(-50%) scale(1.08); }
.ev-svc-page-swiper__prev svg, .ev-svc-page-swiper__next svg { width: 20px; height: 20px; }

.ev-svc-page-pag { display: flex; justify-content: center; gap: 10px; margin-top: 20px; }
.ev-svc-page-pag .swiper-pagination-bullet { width: 8px; height: 8px; background: var(--ev-g400); opacity: 1; transition: all .3s; }
.ev-svc-page-pag .swiper-pagination-bullet-active { background: var(--ev-k); width: 32px; border-radius: 4px; }

/* ---------- SECTION FADES (soft color transitions) ----------
   Apply .ev-fade-to-gray / .ev-fade-to-white / .ev-fade-from-gray
   to preceding section to soften the seam with the next one. */
.ev-fade-to-gray  { background: linear-gradient(180deg, var(--ev-w) 0%, var(--ev-w) 70%, var(--ev-g100) 100%) !important; }
.ev-fade-to-gray50{ background: linear-gradient(180deg, var(--ev-w) 0%, var(--ev-w) 70%, var(--ev-g50)  100%) !important; }
.ev-fade-from-gray{ background: linear-gradient(180deg, var(--ev-g100) 0%, var(--ev-w) 30%) !important; }
.ev-fade-gray-to-white { background: linear-gradient(180deg, var(--ev-g100) 0%, var(--ev-g100) 70%, var(--ev-w) 100%) !important; }
.ev-fade-gray-to-dark  { background: linear-gradient(180deg, var(--ev-g100) 0%, var(--ev-g100) 45%, #1a1a1a 90%, var(--ev-k) 100%) !important; }
.ev-vm-cta.ev-fade-to-gray { padding-bottom: 96px !important; }

/* Ensure .ev-sec-gray stretches visually when preceded by a fade */
.ev-fade-to-gray + .ev-sec-gray,
.ev-fade-to-gray50 + .ev-vm { margin-top: 0 !important; }

/* ---------- SUBPAGE RHYTHM ENHANCEMENTS ---------- */
/* A dark section usable inside page content */
.ev-inline-dark {
	background: var(--ev-k);
	color: var(--ev-w);
	padding: 80px 48px;
	margin: 72px 0;
}
.ev-inline-dark h2, .ev-inline-dark h3, .ev-inline-dark h4 { color: var(--ev-w); }
.ev-inline-dark h2 { margin: 0 0 16px; max-width: 880px; }
.ev-inline-dark p { color: rgba(255,255,255,.82); margin: 0; max-width: 760px; }
.ev-inline-dark .ev-btn-w { margin-top: 24px; }
@media (max-width: 700px) { .ev-inline-dark { padding: 56px 28px; } }

/* Page quote block */
.ev-quote {
	padding: 40px 36px;
	background: var(--ev-g50);
	border-left: 3px solid var(--ev-k);
	margin: 48px 0;
}
.ev-quote blockquote { margin: 0; font-size: 20px; font-weight: 300; line-height: 1.5; color: var(--ev-k); letter-spacing: -.01em; }
.ev-quote cite { display: block; margin-top: 18px; font-size: 12px; font-style: normal; letter-spacing: .18em; text-transform: uppercase; color: var(--ev-g700); }

/* Rich service cards (with image) — used on Services page */
.ev-rich-cards {
	display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px;
	background: var(--ev-g200);
	border: 1px solid var(--ev-g200);
	margin-top: 40px;
}
@media (max-width: 820px) { .ev-rich-cards { grid-template-columns: 1fr; } }
.ev-rich-card {
	position: relative;
	min-height: 380px;
	background: var(--ev-w);
	overflow: hidden;
	cursor: pointer;
}
.ev-rich-card__img {
	position: absolute; inset: 0;
	background-size: cover; background-position: center;
	opacity: .6;
	transition: opacity .5s var(--ev-ease), transform .6s var(--ev-ease);
}
.ev-rich-card__ov {
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.78) 100%);
	transition: background .5s var(--ev-ease);
}
.ev-rich-card:hover .ev-rich-card__img { opacity: .9; transform: scale(1.04); }
.ev-rich-card:hover .ev-rich-card__ov { background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.88) 100%); }
.ev-rich-card__c {
	position: relative; z-index: 2;
	height: 100%; min-height: 380px;
	padding: 40px 36px;
	display: flex; flex-direction: column; justify-content: flex-end;
	transition: color .3s;
}
.ev-rich-card__n { font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.7); margin: 0 0 14px; }
.ev-rich-card__t { font-size: 24px; font-weight: 800; color: var(--ev-w); margin: 0 0 14px; line-height: 1.3; }
.ev-rich-card__p { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.85); margin: 0; }
.ev-rich-card__list { list-style: none; padding: 0; margin: 14px 0 0; font-size: 13px; color: rgba(255,255,255,.65); }
.ev-rich-card__list li { padding: 4px 0; }

/* Subpage two-col variant with offset image */
.ev-subp-stats {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
	margin: 56px 0;
	background: var(--ev-g200); border: 1px solid var(--ev-g200);
}
@media (max-width: 700px) { .ev-subp-stats { grid-template-columns: 1fr; } }
.ev-subp-stat {
	background: var(--ev-w);
	padding: 36px 28px;
	text-align: center;
}
.ev-subp-stat__n { font-size: 40px; font-weight: 200; letter-spacing: -.03em; color: var(--ev-k); margin-bottom: 4px; }
.ev-subp-stat__l { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ev-g500); }

/* =========================================================================
   SHARED TYPOGRAPHY UTILITIES — used across section headers site-wide
   ========================================================================= */
.ev-kicker {
	font-size: 11px; font-weight: 700; letter-spacing: .28em;
	text-transform: uppercase; color: var(--ev-g500); margin: 0 0 12px;
}
.ev-lead {
	font-size: 16px; line-height: 1.65; color: var(--ev-g700);
	max-width: 680px; margin: 0 auto 0;
}

/* =========================================================================
   HARD-EDGE SECTION — plain white background, no gradient fade.
   Used on the home page services carousel so it butts against the black
   "Our Approach" section with a clean, deliberate transition.
   ========================================================================= */
.ev-sec-hard { background: var(--ev-w); }

/* =========================================================================
   SCIENTIFIC PARTNERS — logo-first draggable Swiper carousel
   Slides are clickable, grabbable, auto-scrolling with pause-on-hover.
   Left-aligned, minimal — matches the rhythm of every other subpage.
   White-only logos are still handled by the brightness(0) filter below.
   ========================================================================= */
.ev-sci-logos-sec { padding: 48px 0 8px; }
.ev-sci-logos-sec .ev-container { max-width: var(--ev-max); margin: 0 auto; }
.ev-sci-logos-sec p {
	font-size: 16px; line-height: 1.65; color: var(--ev-g700);
	max-width: 720px; margin: 0;
}
/* Section headings on Scientific Partners are left-aligned, not centered */
.ev-sci-societies-sec { padding: 56px 0; }
.ev-sci-societies-sec h2 {
	font-size: 28px; letter-spacing: -.01em; font-weight: 400;
	color: var(--ev-k); margin: 0 0 28px;
}

.ev-sci-partners-swiper {
	width: 100%;
	padding: 32px 0 72px;
	overflow: hidden;
	position: relative;
	-webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
	        mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
.ev-sci-partners-swiper .swiper-wrapper {
	transition-timing-function: linear !important; /* buttery continuous scroll */
	align-items: center;
}
.ev-sci-partners-swiper .swiper-slide {
	width: 220px; height: 120px;
	display: flex; align-items: center; justify-content: center;
	padding: 20px 24px;
	background: var(--ev-w);
	border: 1px solid var(--ev-g200);
	border-radius: 2px;
	margin: 0 8px;
	box-sizing: border-box;
	cursor: grab;
	transition: transform .3s var(--ev-ease), box-shadow .3s var(--ev-ease), border-color .3s var(--ev-ease);
}
.ev-sci-partners-swiper .swiper-slide:active { cursor: grabbing; }
.ev-sci-partners-swiper .swiper-slide:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 32px rgba(0,0,0,.08);
	border-color: var(--ev-g400);
}
.ev-sci-partners-swiper .swiper-slide img {
	max-width: 100%; max-height: 72px;
	width: auto; height: auto;
	object-fit: contain;
	pointer-events: none; /* don't hijack drag on slide */
}

/* White-only logos stay visible on white slide background via brightness(0) */
.ev-sci-partners-swiper .swiper-slide img[src$="medtronic.png"],
.ev-sci-partners-swiper .swiper-slide img[src$="baxter.png"],
.ev-sci-partners-swiper .swiper-slide img[src$="riwospine.png"],
.ev-sci-partners-swiper .swiper-slide img[src$="cadillac.png"] {
	filter: brightness(0);
}

/* =========================================================================
   CONTACT PAGE — layout grid for info + form, and the full-width Maps embed
   ========================================================================= */
.ev-contact-grid {
	display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
	padding: 32px 0;
}
@media (max-width: 900px) { .ev-contact-grid { grid-template-columns: 1fr; gap: 48px; } }

.ev-contact-info h2 {
	font-size: 36px; letter-spacing: -.02em; font-weight: 200;
	color: var(--ev-k); margin: 0 0 16px; max-width: 480px;
}
.ev-contact-info .ev-lead {
	font-size: 16px; line-height: 1.65; color: var(--ev-g700);
	max-width: 480px; margin: 0 0 32px;
}

.ev-contact-list { list-style: none; margin: 0; padding: 0; }
.ev-contact-list li {
	display: grid; grid-template-columns: 110px 1fr; gap: 16px;
	padding: 16px 0;
	border-bottom: 1px solid var(--ev-g200);
	font-size: 15px; color: var(--ev-g700);
}
.ev-contact-list li strong {
	font-size: 11px; font-weight: 700; letter-spacing: .2em;
	text-transform: uppercase; color: var(--ev-k);
}
.ev-contact-list li a {
	color: var(--ev-k); text-decoration: none;
	border-bottom: 1px solid transparent; transition: border-color .2s var(--ev-ease);
}
.ev-contact-list li a:hover { border-bottom-color: var(--ev-k); }

.ev-contact-form .wpcf7 { margin: 0; }

/* Full-width Google Maps embed (sits outside .ev-container by design) */
.ev-contact-map {
	width: 100%;
	margin: 0;
	padding: 0;
	background: var(--ev-g100);
	line-height: 0; /* prevent iframe line-height gap */
}
.ev-contact-map iframe {
	display: block;
	width: 100%;
	height: 460px;
	border: 0;
}
@media (max-width: 700px) {
	.ev-contact-map iframe { height: 360px; }
}

/* =========================================================================
   GUTENBERG NATIVE WRAPPER OVERRIDES
   When the rich content is emitted as native Gutenberg blocks,
   the outer wrapper is .wp-block-columns (flex). Our grid layouts
   (.ev-pillar-grid, .ev-value-grid, .ev-congress-grid) need grid.
   These selectors force grid layout when the Gutenberg wrapper is
   also present, so admin-edited pages render identically.
   ========================================================================= */
.wp-block-columns.ev-pillar-grid,
.wp-block-columns.ev-value-grid,
.wp-block-columns.ev-congress-grid,
.wp-block-columns.ev-vm-page {
	display: grid !important;
	gap: 2px !important;
	margin: 0 !important;
	flex-wrap: initial !important;
}
.wp-block-columns.ev-pillar-grid { grid-template-columns: repeat(4, 1fr); background: var(--ev-g200); border: 1px solid var(--ev-g200); }
.wp-block-columns.ev-value-grid  { grid-template-columns: repeat(3, 1fr); background: var(--ev-g200); border: 1px solid var(--ev-g200); }
.wp-block-columns.ev-vm-page     { grid-template-columns: 1fr 1fr; background: var(--ev-g200); border: 1px solid var(--ev-g200); }
.wp-block-columns.ev-congress-grid { grid-template-columns: 1fr 1fr; gap: 24px !important; background: transparent; border: 0; }
@media (max-width: 900px) {
	.wp-block-columns.ev-pillar-grid,
	.wp-block-columns.ev-value-grid { grid-template-columns: repeat(2, 1fr); }
	.wp-block-columns.ev-congress-grid,
	.wp-block-columns.ev-vm-page    { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
	.wp-block-columns.ev-pillar-grid,
	.wp-block-columns.ev-value-grid { grid-template-columns: 1fr; }
}
.wp-block-column.ev-pillar,
.wp-block-column.ev-value,
.wp-block-column.ev-congress,
.wp-block-column.ev-vm-block {
	margin: 0 !important;
	flex-basis: auto !important;
}
/* Reset Gutenberg button default padding to match our branded ev-btn look */
.wp-block-button.ev-congress__btn .wp-block-button__link {
	background: var(--ev-k); color: var(--ev-w);
	border: 1px solid var(--ev-k);
	padding: 14px 28px;
	font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
	border-radius: 0;
	transition: background .2s var(--ev-ease), color .2s var(--ev-ease);
}
.wp-block-button.ev-congress__btn .wp-block-button__link:hover { background: var(--ev-w); color: var(--ev-k); }

/* Gutenberg image block inside congress card — remove default caption/figure margins */
.wp-block-image.ev-congress__logo { margin: 0 0 24px; }
.wp-block-image.ev-congress__logo img { max-width: 220px; max-height: 100px; width: auto; height: auto; display: block; }

/* Subhead utility for the native heading block */
.ev-h2-sub { font-weight: 300 !important; font-size: 36px !important; letter-spacing: -.02em !important; margin: 0 0 28px !important; }

/* =========================================================================
   CONGRESSES / UPCOMING EVENTS — card grid with logo + name + button.
   Logo, name and button all link to the same external site; whole card
   has a hover lift + subtle shadow for "creative" feel.
   ========================================================================= */
.ev-congress-grid {
	display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
	margin: 8px 0 16px;
}
@media (max-width: 820px) { .ev-congress-grid { grid-template-columns: 1fr; } }
.ev-congress {
	background: var(--ev-w);
	border: 1px solid var(--ev-g200);
	padding: 48px 40px;
	display: flex; flex-direction: column; align-items: flex-start;
	transition: transform .35s var(--ev-ease), box-shadow .35s var(--ev-ease), border-color .35s var(--ev-ease);
}
.ev-congress:hover {
	transform: translateY(-6px);
	box-shadow: 0 20px 48px rgba(0,0,0,.1);
	border-color: var(--ev-k);
}
.ev-congress__logo-wrap { display: block; margin-bottom: 24px; }
.ev-congress__logo {
	max-width: 220px; max-height: 100px;
	width: auto; height: auto;
	display: block;
	transition: transform .35s var(--ev-ease);
}
.ev-congress:hover .ev-congress__logo { transform: scale(1.04); }
.ev-congress__name { margin: 0 0 12px; font-size: 24px; letter-spacing: -.01em; font-weight: 500; }
.ev-congress__name a { color: var(--ev-k); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .2s var(--ev-ease); }
.ev-congress__name a:hover { border-bottom-color: var(--ev-k); }
.ev-congress__body { margin: 0 0 28px; color: var(--ev-g700); line-height: 1.6; flex: 1; }
.ev-congress__btn { align-self: flex-start; }

/* =========================================================================
   VALUE CARDS (Vision & Mission page) — 3-col × 2-row grid with dark
   reveal + lift on hover. No ghost words, no giant titles.
   ========================================================================= */
.ev-value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--ev-g200); border: 1px solid var(--ev-g200); }
@media (max-width: 900px) { .ev-value-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .ev-value-grid { grid-template-columns: 1fr; } }
.ev-value {
	background: var(--ev-w); padding: 48px 36px; min-height: 200px;
	transition: background .35s var(--ev-ease), color .35s var(--ev-ease), transform .35s var(--ev-ease);
	cursor: default;
}
.ev-value:hover, .ev-value:focus-visible {
	background: var(--ev-k); color: var(--ev-w); transform: translateY(-4px);
}
.ev-value:hover .ev-value__t, .ev-value:focus-visible .ev-value__t { color: var(--ev-w); }
.ev-value:hover .ev-value__b, .ev-value:focus-visible .ev-value__b { color: rgba(255,255,255,.78); }
.ev-value__t { margin: 0 0 12px; font-size: 20px; letter-spacing: -.01em; font-weight: 500; color: var(--ev-k); transition: color .35s var(--ev-ease); }
.ev-value__b { margin: 0; color: var(--ev-g700); line-height: 1.6; transition: color .35s var(--ev-ease); }

/* V&M page vision/mission blocks — side-by-side, second inverted */
.ev-vm-page { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--ev-g200); border: 1px solid var(--ev-g200); margin: 8px 0; }
@media (max-width: 820px) { .ev-vm-page { grid-template-columns: 1fr; } }
.ev-vm-block { background: var(--ev-w); padding: 48px 40px; }
.ev-vm-block--dark { background: var(--ev-k); color: var(--ev-w); }
.ev-vm-block__kicker { font-size: 11px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; margin: 0 0 16px; color: var(--ev-g500); }
.ev-vm-block--dark .ev-vm-block__kicker { color: rgba(255,255,255,.6); }
.ev-vm-block__body { font-size: 19px; line-height: 1.55; letter-spacing: -.005em; font-weight: 300; margin: 0; color: inherit; }

/* =========================================================================
   WHY EVENTIFY — 4-pillar grid with hover accent.
   ========================================================================= */
.ev-pillar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--ev-g200); border: 1px solid var(--ev-g200); }
@media (max-width: 900px) { .ev-pillar-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .ev-pillar-grid { grid-template-columns: 1fr; } }
.ev-pillar { background: var(--ev-w); padding: 44px 32px; transition: background .3s var(--ev-ease), color .3s var(--ev-ease); }
.ev-pillar:hover { background: var(--ev-k); color: var(--ev-w); }
.ev-pillar:hover .ev-pillar__n { color: rgba(255,255,255,.4); }
.ev-pillar:hover .ev-pillar__t { color: var(--ev-w); }
.ev-pillar:hover .ev-pillar__b { color: rgba(255,255,255,.78); }
.ev-pillar__n { font-size: 12px; color: var(--ev-g500); letter-spacing: .2em; margin: 0 0 20px; transition: color .3s var(--ev-ease); }
.ev-pillar__t { font-size: 20px; letter-spacing: -.01em; font-weight: 500; margin: 0 0 14px; color: var(--ev-k); transition: color .3s var(--ev-ease); }
.ev-pillar__b { margin: 0; color: var(--ev-g700); line-height: 1.6; transition: color .3s var(--ev-ease); }

/* =========================================================================
   CONTACT PAGE — Review V1: small inline map sits under the info column,
   alongside the form. Red * for required fields.
   ========================================================================= */
.ev-sec-tight { padding: 32px 0 24px !important; }

/* Stack the info on top + the map under it inside the left grid column */
.ev-contact-left {
	display: flex; flex-direction: column; gap: 28px;
}

.ev-contact-map-inline {
	line-height: 0;
}
.ev-contact-map__inline {
	display: block; width: 100%;
	aspect-ratio: 4 / 3;
	max-height: 280px;
	border: 0; border-radius: 12px;
	box-shadow: 0 10px 28px rgba(0, 0, 0, .10);
}

/* Legacy full-width / square map (older page.php fallback) */
.ev-contact-map {
	background: transparent; line-height: 0;
	padding: 0 0 64px;
}
.ev-contact-map__square {
	display: block; margin: 0 auto;
	width: min(640px, calc(100% - 48px));
	aspect-ratio: 1 / 1;
	border: 0; border-radius: 14px;
	box-shadow: 0 12px 36px rgba(0, 0, 0, .12);
}
.ev-contact-map iframe:not(.ev-contact-map__square):not(.ev-contact-map__inline) {
	display: block;
	width: min(1200px, calc(100% - 48px));
	height: 320px;
	margin: 0 auto;
	border: 0;
	border-radius: 12px;
	box-shadow: 0 8px 28px rgba(0,0,0,.08);
}

/* Required-field marker — red * on labels containing required CF7 fields,
   added by JS at runtime (script strips legacy "(Required)" text first). */
.ev-contact-form .ev-req {
	color: #d73838; font-weight: 700; margin-left: 2px;
}
/* Visual cue on the inputs themselves so users see what's required */
.ev-contact-form .wpcf7-validates-as-required:not(:focus):invalid {
	border-color: rgba(215, 56, 56, .55);
}
.ev-contact-form .wpcf7-not-valid {
	border-color: #d73838 !important;
}
.ev-contact-form .wpcf7-not-valid-tip {
	color: #d73838; font-size: 12.5px; margin-top: 4px;
}
@media (max-width: 700px) {
	.ev-contact-map iframe { height: 260px; width: calc(100% - 32px); }
}

/* =========================================================================
   SERVICES coverflow — enforce pure white page background.
   Text on slide cards stays white (readable against dark image overlay).
   ========================================================================= */
.ev-svc-page-swiper { background: var(--ev-w); }
.ev-svc-page-slide__title,
.ev-svc-page-slide__body,
.ev-svc-page-slide__list,
.ev-svc-page-slide__n { color: var(--ev-w); }

/* =========================================================================
   Global static-card hover polish — creative vibe. Covers service cards
   on the homepage, approach flip cards, logo cells, sci society cells.
   ========================================================================= */
.ev-svc-card, .ev-logo-cell, .ev-sci-cell {
	transition: transform .35s var(--ev-ease), box-shadow .35s var(--ev-ease);
}
.ev-svc-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,.12); }

/* ---------- XTRA OVERRIDES ---------- */
#header.cz_header, .cz_header_row, .cz_top_bar, header#header.cz_header { background: var(--ev-w) !important; }
.vc_btn3-color-blue, .vc_btn3-color-primary { background: var(--ev-k) !important; color: var(--ev-w) !important; border-color: var(--ev-k) !important; }

/* =========================================================================
   V3.8 — Review implementation: banner height, overlay, VM ghost,
   inner page hero backgrounds, service reveal, VM diagonal, why strip,
   partner strips, logo marquees, explore grid, sponsor tiers
   ========================================================================= */

/* ── Inner page banner — Review V1: brighter, image more visible ── */
.ev-page-hero{min-height:0!important;height:auto!important;padding-top:90px!important;padding-bottom:90px!important;}
.ev-page-hero-bg{min-height:56vh!important;}
.ev-page-hero-ov{
	background:linear-gradient(180deg,rgba(0,0,0,.18) 0%,rgba(0,0,0,.10) 45%,rgba(0,0,0,.55) 100%)!important;
	opacity:1!important;
}

/* ── Vision/Mission v3.9.1 — Hardened: ghost ABOVE heading, no overlap, solid colors ── */
.ev-vm{display:grid!important;grid-template-columns:1fr 1fr!important;gap:2px!important;}
@media(max-width:820px){.ev-vm{grid-template-columns:1fr!important;}}
.ev-vm-c{
	position:relative!important;overflow:hidden!important;
	display:flex!important;flex-direction:column!important;
	justify-content:flex-start!important;align-items:flex-start!important;
	gap:18px!important;
	padding:clamp(40px,5vw,72px) clamp(28px,4vw,64px)!important;
	min-height:380px!important;
}
.ev-vm-ghost{
	position:relative!important;z-index:1!important;
	display:block!important;
	font-size:clamp(64px,11vw,148px)!important;font-weight:900!important;
	line-height:.9!important;letter-spacing:-.04em!important;
	margin:0!important;
	pointer-events:none!important;user-select:none!important;
}
.ev-vm-dark .ev-vm-ghost{color:#ffffff!important;}
.ev-vm-light .ev-vm-ghost{color:#000000!important;}
.ev-vm-h{
	position:relative!important;z-index:1!important;
	font-size:clamp(16px,1.4vw,19px)!important;font-weight:300!important;
	line-height:1.6!important;letter-spacing:-.005em!important;
	max-width:560px!important;margin:0!important;color:inherit!important;
}

/* Per-page hero override rules removed 2026-05-15: templates now set local
   image URLs via inline background-image. */

/* ── Marquee keyframes ── */
/* ── Logo marquee (home + partners page) ───────────────────────────────
   Auto-scrolls via JS (eventify.js → ev-marquee init), but the container
   is a native scrollable element so users can grab + drag (mouse) or
   swipe (touch) to scroll manually. The duplicated item track (rendered
   server-side as items × 2) gives the loop the illusion of infinite
   scroll when the JS wraps scrollLeft at half-width. */
.ev-logo-marquee-wrap {
	position: relative;
	background: var(--ev-w); padding: 20px 0;
	overflow-x: auto;
	overflow-y: hidden;
	cursor: grab;
	user-select: none;
	scroll-behavior: auto; /* manual drag = direct mapping */
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none; /* Firefox */
	-ms-overflow-style: none; /* old Edge / IE */
	-webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
	        mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.ev-logo-marquee-wrap::-webkit-scrollbar { display: none; }
.ev-logo-marquee-wrap.is-grabbing { cursor: grabbing; }
.ev-logo-marquee-wrap.is-grabbing * { pointer-events: none; }
.ev-logo-marquee-track {
	display: inline-flex; align-items: center;
	will-change: transform;
}
.ev-logo-marquee-track img { pointer-events: none; -webkit-user-drag: none; }
.ev-logo-marquee-item {
	width: 200px; height: 100px;
	display: flex; align-items: center; justify-content: center;
	padding: 16px 24px; border-right: 1px solid var(--ev-g200); flex-shrink: 0;
}
.ev-logo-marquee-item img { max-width: 100%; max-height: 72px; width: auto; height: auto; object-fit: contain; }
.ev-logo-marquee-item:hover { background: var(--ev-g50); }
/* Legacy `filter: brightness(0)` rule for medtronic / baxter removed —
   it inverted their wordmark to pure black, which then disappeared inside
   the dark tile applied via the :has() rule further below. The dark-tile
   wrapper alone is enough to showcase the white wordmarks. */

/* ── Service hover-reveal cards (Services page) ── */
.ev-svc-reveal-grid {
	display: grid; grid-template-columns: repeat(3, 1fr);
	gap: 2px; background: var(--ev-g200); border: 1px solid var(--ev-g200); margin-top: 48px;
}
@media (max-width: 900px) { .ev-svc-reveal-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ev-svc-reveal-grid { grid-template-columns: 1fr; } }
.ev-svc-reveal {
	position: relative; height: 380px; overflow: hidden;
	background: #111; cursor: pointer;
}
.ev-svc-reveal__img {
	position: absolute; inset: 0;
	background-size: cover; background-position: center;
	opacity: .65; transform: scale(1.06);
	transition: transform .7s var(--ev-ease), opacity .5s var(--ev-ease);
}
.ev-svc-reveal:hover .ev-svc-reveal__img { transform: scale(1); opacity: .35; }
.ev-svc-reveal__ov {
	position: absolute; inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,.95) 0%, rgba(0,0,0,.5) 45%, rgba(0,0,0,.15) 100%);
}
.ev-svc-reveal__body {
	position: absolute; inset: 0;
	display: flex; flex-direction: column; justify-content: flex-end;
	padding: 32px 28px; color: var(--ev-w);
}
.ev-svc-reveal__n { font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.45); margin: 0 0 10px; }
.ev-svc-reveal__t { font-size: 19px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; margin: 0 0 12px; color: var(--ev-w); transition: transform .4s var(--ev-ease); }
.ev-svc-reveal__p { font-size: 13.5px; line-height: 1.65; color: rgba(255,255,255,.82); opacity: 0; transform: translateY(14px); transition: opacity .4s .08s var(--ev-ease), transform .4s .08s var(--ev-ease); }
.ev-svc-reveal:hover .ev-svc-reveal__t { transform: translateY(-4px); }
.ev-svc-reveal:hover .ev-svc-reveal__p { opacity: 1; transform: translateY(0); }

/* ═══ Vision & Mission staircase — Review V1 final mimic ═══════════════════
   Two staggered panels (Vision top-left, Mission bottom-right) with
   diagonal chevron bars cutting between them. Vision wider on top row,
   Mission wider on bottom row — creates a Z-shape with the bar zones
   filling the opposite corner of each row. */
.ev-vm-staircase { margin: 0; display: flex; flex-direction: column; }
/* When the staircase is followed by a dark section (e.g. Our Approach
   on the home page), the bottom row of the staircase is already dark on
   both sides — flush them up so there's no white seam between them. */
.ev-vm-staircase + .ev-sec-dark { padding-top: clamp(48px, 6vw, 80px); }
.ev-vm-staircase + .ev-vm-cta { display: none; }
.ev-vm-row { display: grid; min-height: clamp(240px, 30vh, 340px); }
.ev-vm-row--top    { grid-template-columns: 1fr 1.6fr; }
.ev-vm-row--bottom { grid-template-columns: 1.2fr 1fr; }
@media (max-width: 820px) {
	.ev-vm-row--top, .ev-vm-row--bottom { grid-template-columns: 1fr; }
	/* Mobile reorder: bars first, then matching text panel — for both rows.
	   Reads top-to-bottom as: vision-bars → OUR VISION → mission-bars → OUR MISSION. */
	.ev-vm-row--top .ev-vm-bars-zone { order: 1; }
	.ev-vm-row--top .ev-vm-pnl       { order: 2; }
	/* Bottom row already DOM-orders bars-then-panel, but set explicitly so
	   we're not relying on document order alone. */
	.ev-vm-row--bottom .ev-vm-bars-zone { order: 1; }
	.ev-vm-row--bottom .ev-vm-pnl       { order: 2; }
}

.ev-vm-pnl {
	padding: clamp(40px, 5vw, 72px) clamp(28px, 4vw, 64px);
	display: flex; flex-direction: column;
	justify-content: flex-start;
	position: relative;
}
.ev-vm-pnl--vision  { background: var(--ev-w); color: var(--ev-k); }
.ev-vm-pnl--mission { background: var(--ev-k); color: var(--ev-w); }

.ev-vm-pnl__kicker {
	font-size: clamp(30px, 4.2vw, 56px); font-weight: 800;
	letter-spacing: -.02em; text-transform: uppercase;
	margin: 0 0 18px; line-height: 1; color: inherit;
}
.ev-vm-pnl__body {
	font-size: clamp(15px, 1.2vw, 18px); line-height: 1.55; max-width: 460px;
	margin: 0; color: inherit; font-weight: 400;
}

/* Bars zone — solid bg matching its row's text panel.
   Bars are super-tall rotated rectangles that sweep across the zone. */
.ev-vm-bars-zone {
	position: relative; overflow: hidden;
	min-height: clamp(240px, 30vh, 340px);
}
.ev-vm-bars-zone--light { background: var(--ev-w); }
.ev-vm-bars-zone--dark  { background: var(--ev-k); }
.ev-vm-bar {
	position: absolute;
	height: 280%; top: -90%;
	transform: rotate(25deg);
	transform-origin: center;
	opacity: 0;
	animation: ev-vm-bar-in .9s cubic-bezier(.2, .7, .2, 1) forwards;
	pointer-events: none;
}
.ev-vm-bars-zone--light .ev-vm-bar { background: var(--ev-k); }
.ev-vm-bars-zone--dark  .ev-vm-bar { background: var(--ev-w); }

/* Top-right zone (light bg, black bars) — 4 chevrons, varying widths */
/*.ev-vm-bars-zone--light .ev-vm-bar:nth-child(1) { left:  10%; width: clamp(28px, 3.4vw, 44px); animation-delay: .15s; }*/
/*.ev-vm-bars-zone--light .ev-vm-bar:nth-child(2) { left:  32%; width: clamp(40px, 4.6vw, 64px); animation-delay: .30s; }*/
/*.ev-vm-bars-zone--light .ev-vm-bar:nth-child(3) { left:  56%; width: clamp(50px, 5.6vw, 78px); animation-delay: .45s; }*/
/*.ev-vm-bars-zone--light .ev-vm-bar:nth-child(4) { left:  82%; width: clamp(58px, 6.4vw, 92px); animation-delay: .60s; }*/
.ev-vm-bars-zone--light .ev-vm-bar:nth-child(1) { left:  15%; width: 150px; animation-delay: .15s; }
.ev-vm-bars-zone--light .ev-vm-bar:nth-child(2) { left:  43%; width: 150px; animation-delay: .30s; }
.ev-vm-bars-zone--light .ev-vm-bar:nth-child(3) { left:  71%; width: 150px; animation-delay: .45s; }
.ev-vm-bars-zone--light .ev-vm-bar:nth-child(4) { left:  82%; width: 150px; animation-delay: .60s; }

/* Bottom-left zone (dark bg, white bars) — 3 chevrons */
/*.ev-vm-bars-zone--dark .ev-vm-bar:nth-child(1)  { left:   8%; width: clamp(46px, 5vw, 70px); animation-delay: .15s; }*/
/*.ev-vm-bars-zone--dark .ev-vm-bar:nth-child(2)  { left:  38%; width: clamp(54px, 6vw, 82px); animation-delay: .30s; }*/
/*.ev-vm-bars-zone--dark .ev-vm-bar:nth-child(3)  { left:  72%; width: clamp(60px, 6.6vw, 94px); animation-delay: .45s; }*/
.ev-vm-bars-zone--dark .ev-vm-bar:nth-child(1)  { left:   1%; width: 150px; animation-delay: .15s; }
.ev-vm-bars-zone--dark .ev-vm-bar:nth-child(2)  { left:  33%; width: 150px; animation-delay: .30s; }
.ev-vm-bars-zone--dark .ev-vm-bar:nth-child(3)  { left:  64%; width: 150px; animation-delay: .45s; }

@keyframes ev-vm-bar-in {
	from { opacity: 0; transform: rotate(25deg) translateY(80px); }
	to   { opacity: 1; transform: rotate(25deg) translateY(0); }
}

@media (max-width: 820px) {
	.ev-vm-bars-zone { min-height: 180px; }
	.ev-vm-pnl { padding: 48px 28px; }
}

/* ── MSC 2026 highlights gallery (Conferences page) ── */
.ev-msc-gallery {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
@media (max-width: 900px) { .ev-msc-gallery { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (max-width: 560px) { .ev-msc-gallery { grid-template-columns: 1fr; gap: 18px; } }
.ev-msc-tile {
	display: block; position: relative;
	border-radius: 14px; overflow: hidden;
	box-shadow: 0 14px 36px rgba(0, 0, 0, .15);
	transition: transform .35s var(--ev-ease), box-shadow .35s var(--ev-ease);
	background: var(--ev-k);
	aspect-ratio: 4 / 5;
}
.ev-msc-tile img {
	width: 100%; height: 100%; object-fit: cover; display: block;
	transition: transform .6s var(--ev-ease);
}
.ev-msc-tile:hover {
	transform: translateY(-4px);
	box-shadow: 0 24px 56px rgba(0, 0, 0, .22);
}
.ev-msc-tile:hover img { transform: scale(1.04); }

/* ── Vision & Mission page — Principles Strip (replaces 3×2 value grid) ── */
.ev-principles-list { margin: 32px 0 24px; }
.ev-principle-row {
	display: grid; grid-template-columns: 80px 1fr auto;
	gap: 32px; align-items: center;
	padding: 28px 32px;
	border-top: 1px solid var(--ev-g200);
	transition: background .3s var(--ev-ease), padding-left .3s var(--ev-ease);
}
.ev-principle-row:last-child { border-bottom: 1px solid var(--ev-g200); }
.ev-principle-row:hover { background: var(--ev-k); color: var(--ev-w); padding-left: 40px; }
.ev-principle-row:hover .ev-principle__n { color: rgba(255,255,255,.4); }
.ev-principle-row:hover .ev-principle__t { color: var(--ev-w); }
.ev-principle-row:hover .ev-principle__b { color: rgba(255,255,255,.78); }
.ev-principle-row:hover .ev-principle__arrow { color: var(--ev-w); transform: translateX(8px); }
.ev-principle__n { font-size: 36px; font-weight: 200; letter-spacing: -.03em; color: var(--ev-g300); margin: 0; line-height: 1; transition: color .3s var(--ev-ease); }
.ev-principle__t { font-size: clamp(20px, 2vw, 24px); font-weight: 700; letter-spacing: -.01em; margin: 0 0 6px; color: var(--ev-k); transition: color .3s var(--ev-ease); }
.ev-principle__b { font-size: 15px; line-height: 1.55; color: var(--ev-g700); margin: 0; max-width: 640px; transition: color .3s var(--ev-ease); }
.ev-principle__arrow { color: var(--ev-g300); width: 28px; height: 28px; transition: color .3s var(--ev-ease), transform .3s var(--ev-ease); }
@media (max-width: 700px) {
	.ev-principle-row { grid-template-columns: 56px 1fr; gap: 18px; padding: 22px 20px; }
	.ev-principle__arrow { display: none; }
	.ev-principle__n { font-size: 28px; }
}

/* ── Company Overview — editorial layout (Review V1: no card grids) ── */
.ev-overview-lead {
	display: grid; grid-template-columns: 1.1fr 1fr;
	gap: clamp(40px, 6vw, 88px); align-items: center;
}
@media (max-width: 900px) { .ev-overview-lead { grid-template-columns: 1fr; gap: 40px; } }
.ev-overview-lead__img {
	position: relative; min-height: 420px; border-radius: 14px; overflow: hidden;
	box-shadow: 0 20px 50px rgba(0,0,0,.10);
}
.ev-overview-lead__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ev-overview-lead__quote {
	font-size: clamp(24px, 2.6vw, 38px); font-weight: 300; letter-spacing: -.015em;
	line-height: 1.32; color: var(--ev-k); margin: 0;
}
.ev-overview-lead__quote em {
	font-style: normal; font-weight: 700;
}
/* Signature card sits under the image (left column), white box with border */
.ev-overview-lead__sigbox {
	background: var(--ev-w);
	border: 1px solid var(--ev-g200);
	border-radius: 12px;
	padding: 18px 22px;
	margin-top: 18px;
	box-shadow: 0 8px 22px rgba(0, 0, 0, .05);
}
.ev-overview-lead__sig {
	font-size: 12.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
	color: var(--ev-g700); margin: 0; text-align: center;
}

/* ── Company Overview — pull-statement stripes (3 statements full-width) ── */
.ev-statement-band {
	padding: clamp(80px, 10vw, 140px) 0; position: relative; overflow: hidden;
}
.ev-statement-band--dark { background: var(--ev-k); color: var(--ev-w); }
.ev-statement-band--gray { background: var(--ev-g50); }
.ev-statement-band__num {
	font-size: clamp(64px, 9vw, 130px); font-weight: 900;
	line-height: .85; letter-spacing: -.05em; margin: 0 0 24px;
	color: rgba(0, 0, 0, .16); /* was var(--ev-g100) — too light */
}
.ev-statement-band--dark .ev-statement-band__num { color: rgba(255,255,255,.18); }
.ev-statement-band__t {
	font-size: clamp(28px, 4vw, 56px); font-weight: 700; letter-spacing: -.025em;
	line-height: 1.08; max-width: 920px; margin: 0; color: inherit;
}
.ev-statement-band__t em {
	font-style: normal; font-weight: 300; opacity: .65;
}
.ev-statement-band--dark .ev-statement-band__t em { opacity: .55; }

/* ── Why Eventify dedicated page — cinematic full-bleed pillar features ── */
.ev-feature-pillars { margin: 0; }
.ev-feature-pillar {
	display: grid; grid-template-columns: 1.1fr 1fr;
	min-height: 520px; position: relative; overflow: hidden;
}
@media (max-width: 900px) { .ev-feature-pillar { grid-template-columns: 1fr; min-height: auto; } }
.ev-feature-pillar--reverse .ev-feature-pillar__img { order: 2; }
.ev-feature-pillar--reverse .ev-feature-pillar__text { order: 1; }
@media (max-width: 900px) {
	.ev-feature-pillar--reverse .ev-feature-pillar__img { order: 1; }
	.ev-feature-pillar--reverse .ev-feature-pillar__text { order: 2; }
}
.ev-feature-pillar__img {
	position: relative; min-height: 380px;
	background-size: cover; background-position: center;
	transition: transform 1s var(--ev-ease);
}
.ev-feature-pillar:hover .ev-feature-pillar__img { transform: scale(1.04); }
.ev-feature-pillar__img::after {
	content: ''; position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,.18) 100%);
	pointer-events: none;
}
.ev-feature-pillar__text {
	display: flex; flex-direction: column; justify-content: center;
	padding: clamp(48px, 6vw, 96px) clamp(36px, 5vw, 80px);
	background: var(--ev-w); color: var(--ev-k);
	position: relative;
}
.ev-feature-pillar--dark .ev-feature-pillar__text { background: var(--ev-k); color: var(--ev-w); }
.ev-feature-pillar__num {
	font-size: clamp(72px, 10.5vw, 152px); font-weight: 900;
	line-height: .85; letter-spacing: -.05em; margin: 0 0 8px;
	color: rgba(0, 0, 0, .16);
	position: relative; z-index: 0;
}
.ev-feature-pillar--dark .ev-feature-pillar__num { color: rgba(255,255,255,.18); }
.ev-feature-pillar__t {
	font-size: clamp(28px, 3.4vw, 44px); font-weight: 700; letter-spacing: -.02em;
	line-height: 1.05; margin: -28px 0 22px; color: inherit; position: relative; z-index: 1;
}
.ev-feature-pillar__b {
	font-size: clamp(15.5px, 1.2vw, 17.5px); line-height: 1.7; max-width: 520px;
	margin: 0; color: inherit;
}
.ev-feature-pillar--dark .ev-feature-pillar__b { color: rgba(255,255,255,.78); }

/* ── Why Eventify — alternating image + text rows ── */
.ev-why-strip { margin: 24px 0; }
.ev-why-row {
	display: grid; grid-template-columns: 1fr 1fr;
	gap: 2px; background: var(--ev-g200); border-bottom: 1px solid var(--ev-g200); overflow: hidden;
}
.ev-why-row:first-child { border-top: 1px solid var(--ev-g200); }
@media (max-width: 820px) { .ev-why-row { grid-template-columns: 1fr; } }
.ev-why-img { min-height: 320px; background-size: cover; background-position: center; overflow: hidden; transition: transform .7s var(--ev-ease); }
.ev-why-row:hover .ev-why-img { transform: scale(1.04); }
.ev-why-text { background: var(--ev-w); padding: 56px 48px; display: flex; flex-direction: column; justify-content: center; }
.ev-why-text--dark { background: var(--ev-k); color: var(--ev-w); }
.ev-why-row--reverse .ev-why-img { order: 2; }
.ev-why-row--reverse .ev-why-text { order: 1; }
@media (max-width: 820px) {
	.ev-why-row--reverse .ev-why-img { order: 1; }
	.ev-why-row--reverse .ev-why-text { order: 2; }
}
.ev-why__n { font-size: 11px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--ev-g400); margin: 0 0 16px; }
.ev-why-text--dark .ev-why__n { color: rgba(255,255,255,.4); }
.ev-why__t { font-size: clamp(20px, 2.5vw, 30px); font-weight: 700; letter-spacing: -.02em; margin: 0 0 14px; line-height: 1.1; color: var(--ev-k); }
.ev-why-text--dark .ev-why__t { color: var(--ev-w); }
.ev-why__b { font-size: 15px; line-height: 1.7; color: var(--ev-g700); margin: 0; }
.ev-why-text--dark .ev-why__b { color: rgba(255,255,255,.75); }
@media (max-width: 820px) { .ev-why-text { padding: 40px 32px; } }

/* ── Why Partner — numbered strips ── */
.ev-partner-strips { margin: 32px 0; display: flex; flex-direction: column; gap: 2px; }
.ev-partner-strip {
	display: grid; grid-template-columns: 80px 1fr; gap: 40px; align-items: start;
	padding: 44px 40px; border: 1px solid var(--ev-g200); background: var(--ev-w);
	transition: background .3s var(--ev-ease), border-color .3s var(--ev-ease), transform .3s var(--ev-ease);
}
.ev-partner-strip:hover { background: var(--ev-g50); border-color: var(--ev-k); transform: translateX(4px); }
@media (max-width: 700px) { .ev-partner-strip { grid-template-columns: 1fr; gap: 12px; padding: 32px 24px; } }
.ev-partner-strip__n { font-size: 52px; font-weight: 200; letter-spacing: -.05em; color: var(--ev-g200); line-height: 1; margin: 0; transition: color .3s var(--ev-ease); }
.ev-partner-strip:hover .ev-partner-strip__n { color: var(--ev-g400); }
.ev-partner-strip__t { font-size: 22px; font-weight: 700; letter-spacing: -.01em; margin: 0 0 10px; color: var(--ev-k); }
.ev-partner-strip__b { font-size: 15px; line-height: 1.7; color: var(--ev-g700); margin: 0; }

/* ── About page — explore tiles with image hover ── */
.ev-explore-grid {
	display: grid; grid-template-columns: repeat(3, 1fr);
	gap: 2px; background: var(--ev-g200); border: 1px solid var(--ev-g200); margin-top: 40px;
}
@media (max-width: 900px) { .ev-explore-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ev-explore-grid { grid-template-columns: 1fr; } }
.ev-explore-tile {
	position: relative; min-height: 320px; overflow: hidden;
	background: var(--ev-k); text-decoration: none !important;
	display: flex; flex-direction: column; justify-content: flex-end; cursor: pointer;
}
.ev-explore-tile__img {
	position: absolute; inset: 0;
	background-size: cover; background-position: center;
	opacity: .55; transform: scale(1);
	transition: opacity .5s var(--ev-ease), transform .6s var(--ev-ease);
}
.ev-explore-tile:hover .ev-explore-tile__img { opacity: .85; transform: scale(1.04); }
.ev-explore-tile__ov { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.1) 0%, rgba(0,0,0,.75) 100%); transition: opacity .5s var(--ev-ease); }
.ev-explore-tile:hover .ev-explore-tile__ov { background: linear-gradient(180deg, rgba(0,0,0,.2) 0%, rgba(0,0,0,.85) 100%); }
.ev-explore-tile__c { position: relative; z-index: 2; padding: 28px 24px; }
.ev-explore-tile__n { font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.7); margin: 0 0 8px; display: block; transition: color .4s; }
.ev-explore-tile__t { font-size: 22px; font-weight: 800; color: var(--ev-w); margin: 0 0 6px; line-height: 1.25; transition: color .4s; }
.ev-explore-tile__sub { font-size: 13px; line-height: 1.6; color: rgba(255,255,255,.8); margin: 0; transition: color .4s; }

/* ── Clients page — sponsor-tier grid ── */
.ev-sponsor-tier { margin-bottom: 40px; }
.ev-sponsor-tier__label {
	font-size: 10px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase;
	text-align: center; color: var(--ev-g500); margin: 0 0 12px;
	padding-bottom: 8px; border-bottom: 1px solid var(--ev-g200);
}
.ev-sponsor-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px; background: var(--ev-g200); border: 1px solid var(--ev-g200); }
.ev-sponsor-cell { background: var(--ev-w); display: flex; align-items: center; justify-content: center; padding: 24px 28px; transition: background .25s var(--ev-ease); }
.ev-sponsor-cell img { max-height: 72px; max-width: 180px; width: auto; height: auto; object-fit: contain; display: block; }
.ev-sponsor-cell:hover { background: var(--ev-g50); }
.ev-sponsor-tier--primary   .ev-sponsor-cell { width: 240px; min-height: 120px; }
.ev-sponsor-tier--secondary .ev-sponsor-cell { width: 180px; min-height: 100px; }
.ev-sponsor-tier--supporting .ev-sponsor-cell { width: 150px; min-height: 88px; }
@media (max-width: 600px) {
	.ev-sponsor-tier--primary .ev-sponsor-cell,
	.ev-sponsor-tier--secondary .ev-sponsor-cell,
	.ev-sponsor-tier--supporting .ev-sponsor-cell { width: calc(50% - 2px); }
}
/* Apply brightness(0) for white-on-transparent logos on sponsor cells */
.ev-sponsor-cell img[src$="medtronic.png"],
.ev-sponsor-cell img[src$="baxter.png"],
.ev-sponsor-cell img[src$="riwospine.png"],
.ev-sponsor-cell img[src$="cadillac.png"] { filter: brightness(0); }

/* ═══ Adaptive marquee tiles ════════════════════════════════════════════
   Marquee items containing logos with WHITE wordmarks on transparent
   get a black tile so they read on the light marquee strip. Items with
   DARK / coloured wordmarks display flush on the white marquee (the
   default). Both states use the same width/height so the row stays
   visually balanced — only the background flips.

   :has() is the actual selector engine; supported in every modern
   browser since 2023. List of white-text-on-transparent files:
     • medtronic.png  • baxter.png  • amico.png
     • globus.png     • zahrawi.png • ahdubai.png
*/
.ev-logo-marquee-item.is-white-logo,
.ev-logo-marquee-item:has(img[src$="medtronic.png"]),
.ev-logo-marquee-item:has(img[src$="baxter.png"]),
.ev-logo-marquee-item:has(img[src$="amico.png"]),
.ev-logo-marquee-item:has(img[src$="globus.png"]),
.ev-logo-marquee-item:has(img[src$="zahrawi.png"]),
.ev-logo-marquee-item:has(img[src$="ahdubai.png"]),
.ev-logo-marquee-item:has(img[src$="northwestern.png"]) {
	background: #0d0d0d;
	border-radius: 10px;
	padding: 18px 22px;
	margin: 6px 4px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-right: 0;
	transition: transform .25s var(--ev-ease), box-shadow .25s var(--ev-ease);
}
.ev-logo-marquee-item.is-white-logo:hover,
.ev-logo-marquee-item:has(img[src$="medtronic.png"]):hover,
.ev-logo-marquee-item:has(img[src$="baxter.png"]):hover,
.ev-logo-marquee-item:has(img[src$="amico.png"]):hover,
.ev-logo-marquee-item:has(img[src$="globus.png"]):hover,
.ev-logo-marquee-item:has(img[src$="zahrawi.png"]):hover,
.ev-logo-marquee-item:has(img[src$="ahdubai.png"]):hover,
.ev-logo-marquee-item:has(img[src$="northwestern.png"]):hover {
	background: #0d0d0d; /* keep dark on hover, no light flash */
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
}
.ev-logo-marquee-item.is-white-logo img,
.ev-logo-marquee-item:has(img[src$="medtronic.png"])   img,
.ev-logo-marquee-item:has(img[src$="baxter.png"])      img,
.ev-logo-marquee-item:has(img[src$="amico.png"])       img,
.ev-logo-marquee-item:has(img[src$="globus.png"])      img,
.ev-logo-marquee-item:has(img[src$="zahrawi.png"])     img,
.ev-logo-marquee-item:has(img[src$="ahdubai.png"])     img,
.ev-logo-marquee-item:has(img[src$="northwestern.png"]) img {
	max-height: 56px;
	width: auto;
	filter: none; /* override any legacy brightness filter */
}

/* Inverse case: when a marquee sits inside a *dark* section (.ev-sec-dark
   wraps it), give every dark-text logo a light tile so it stays readable. */
.ev-sec-dark .ev-logo-marquee-item:not(.is-white-logo):not(:has(img[src$="medtronic.png"])):not(:has(img[src$="baxter.png"])):not(:has(img[src$="amico.png"])):not(:has(img[src$="globus.png"])):not(:has(img[src$="zahrawi.png"])):not(:has(img[src$="ahdubai.png"])):not(:has(img[src$="northwestern.png"])) {
	background: #fff;
	border-radius: 10px;
	padding: 18px 22px;
	margin: 6px 4px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
	border-right: 0;
}

/* ═══ Footer v3 — white with elevated brand card (Review V1) ═══════════════
   White footer; brand card overhangs at higher level; logo bigger; slogan
   directly under logo; brief under slogan; Explore/Contact pushed flush
   right with the wider columns gap. */
.ev-footer--white { background: #fff; color: #000; padding-top: 96px; position: relative; }
.ev-footer--white .ev-footer-inner {
	display: grid;
	grid-template-columns: minmax(420px, 1fr) auto;
	gap: 80px;
	align-items: flex-start;
	padding-bottom: 64px;
}
.ev-footer-card {
	background: #000;
	color: #fff;
	padding: 40px 36px 36px;
	border-radius: 16px;
	box-shadow: 0 22px 52px rgba(0, 0, 0, .26), 0 4px 14px rgba(0, 0, 0, .14);
	max-width: 440px;
	margin-top: -130px;
	position: relative;
	z-index: 5;
}
.ev-footer-card__logo-link { display: block; margin-bottom: 22px; line-height: 0; }
.ev-footer-card__logo { display: block; width: 100%; max-width: 320px; height: auto; }
.ev-footer-card__slogan {
	font-size: 17px;
	font-weight: 500;
	font-style: italic;
	color: #fff;
	margin: 0 0 14px;
	letter-spacing: -.005em;
	line-height: 1.4;
}
.ev-footer-card__desc {
	font-size: 13.5px;
	line-height: 1.7;
	color: rgba(255,255,255,.72);
	margin: 0 0 24px;
}
.ev-footer-card__social {
	display: flex;
	gap: 10px;
	list-style: none;
	padding: 0;
	margin: 0;
}
.ev-footer-card__social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border: 1px solid rgba(255,255,255,.25);
	border-radius: 50%;
	color: rgba(255,255,255,.85);
	transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.ev-footer-card__social a:hover { color: #000; background: #fff; border-color: #fff; }
.ev-footer--white .ev-footer-cols {
	display: flex;
	gap: 96px;
	justify-self: end;
	padding-top: 36px;
	padding-right: 8px;
}
.ev-footer--white .ev-footer-col { min-width: 180px; }
.ev-footer--white .ev-footer-heading {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	margin: 0 0 18px;
	color: #000;
}
.ev-footer--white .ev-footer-menu { list-style: none; padding: 0; margin: 0; }
.ev-footer--white .ev-footer-menu li { margin-bottom: 10px; font-size: 14px; line-height: 1.4; color: #555; }
.ev-footer--white .ev-footer-menu a { color: #555; text-decoration: none; transition: color .2s ease; }
.ev-footer--white .ev-footer-menu a:hover { color: #000; }
.ev-footer--white .ev-footer-meta {
	border-top: 1px solid #eee;
	padding: 22px 0;
	font-size: 13px;
	color: #888;
	text-align: center;
}
@media (max-width: 900px) {
	.ev-footer--white .ev-footer-inner { grid-template-columns: 1fr; gap: 32px; padding-bottom: 40px; }
	.ev-footer-card { margin-top: -84px; max-width: 100%; padding: 32px 28px; }
	.ev-footer-card__logo { max-width: 240px; }
	.ev-footer--white .ev-footer-cols { justify-self: start; padding-top: 0; gap: 48px; flex-wrap: wrap; padding-right: 0; }
	.ev-footer--white .ev-footer-col { min-width: 140px; }
}

/* =========================================================================
   ABOUT US — eyebrow label + Services/Partners teaser tiles
   ========================================================================= */
.ev-eyebrow {
	font-size: 11.5px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase;
	margin: 0 0 14px; color: var(--ev-g500);
}

.ev-about-teasers {
	display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
@media (max-width: 820px) { .ev-about-teasers { grid-template-columns: 1fr; } }
.ev-about-teaser {
	position: relative; display: block; min-height: 320px; border-radius: 18px;
	overflow: hidden; color: #fff; text-decoration: none;
	box-shadow: 0 12px 36px rgba(0,0,0,.10);
	isolation: isolate;
}
.ev-about-teaser__bg {
	position: absolute; inset: 0; background-size: cover; background-position: center;
	transition: transform .7s var(--ev-ease);
}
.ev-about-teaser:hover .ev-about-teaser__bg { transform: scale(1.06); }
.ev-about-teaser__ov {
	position: absolute; inset: 0;
	background: linear-gradient(135deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.45) 60%, rgba(0,0,0,.30) 100%);
}
.ev-about-teaser__c {
	position: relative; z-index: 1; padding: 36px 32px 32px;
	display: flex; flex-direction: column; justify-content: flex-end;
	min-height: 320px;
}
.ev-about-teaser__c h3 {
	font-size: clamp(22px, 2.2vw, 28px); font-weight: 600; letter-spacing: -.01em;
	line-height: 1.2; margin: 0 0 22px; color: #fff; max-width: 480px;
}
.ev-about-teaser__cta {
	display: inline-flex; align-items: center; gap: 10px;
	font-size: 13.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
	color: #fff; transition: gap .3s var(--ev-ease);
}
.ev-about-teaser__cta svg { width: 18px; height: 18px; }
.ev-about-teaser:hover .ev-about-teaser__cta { gap: 16px; }
