/*
 * Home page.
 *
 * Only the pieces the shared sections.css does not already cover: the hero's
 * redesign (photo backdrop, single column), the trust labels, the product
 * ecosystem cards, the outcome strip's grid, the industries photo bento,
 * case-study cards, the testimonial carousel and the three-strip partner
 * marquee. Values are the Tailwind classes of the developer's November 2026
 * components. Everything else reuses the shared classes.
 */

/* ------------------------------------------------------------------ hero -- */

/* min-h-[calc(100vh-header)] bg-[#070E20], single column of text. */
.gvd-hero--home {
	min-height: calc(100vh - var(--gvd-header-offset, 100px));
	background: var(--gvd-abyss, #070e20);
}

.gvd-hero--home .gvd-hero__bg,
.gvd-hero--home .gvd-hero__shade,
.gvd-hero--home .gvd-hero__fallback {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
}

.gvd-hero--home .gvd-hero__bg img,
.elementor .gvd-hero--home .gvd-hero__bg img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: right center;
	filter: brightness(1.05) contrast(1.05);
}

@media (min-width: 768px) {
	.gvd-hero--home .gvd-hero__bg img,
	.elementor .gvd-hero--home .gvd-hero__bg img { object-position: center; }
}

/* Left side darkened for the text; the photo stays clear on the right. */
.gvd-hero__shade--x {
	background: linear-gradient(to right, rgba(7, 14, 30, 0.85), rgba(7, 14, 30, 0.45), transparent);
}

.gvd-hero__shade--y {
	background: linear-gradient(to top, rgba(7, 14, 32, 0.7), transparent, rgba(7, 14, 32, 0.4));
}

/* Without a photo: deep navy gradient, dot grid, two orbs and a line grid. */
.gvd-hero__fallback {
	overflow: hidden;
	background: linear-gradient(to bottom, #060d1e, #091530, #040814);
}

.gvd-hero__dots,
.gvd-hero__glow,
.gvd-hero__lines { position: absolute; }

.gvd-hero__dots {
	inset: 0;
	background-image: radial-gradient(#38bdf8 1px, transparent 1px);
	background-size: 32px 32px;
	opacity: 0.08;
}

.gvd-hero__glow { border-radius: 9999px; background: rgba(var(--gvd-accent-rgb), 0.15); }
.gvd-hero__glow--tr { top: 25%; right: -5rem; width: 600px; height: 600px; filter: blur(140px); }
.gvd-hero__glow--bl { bottom: -5rem; left: -5rem; width: 500px; height: 500px; filter: blur(130px); }

.gvd-hero__lines {
	inset: 0;
	background-image:
		linear-gradient(to right, rgba(30, 41, 59, 0.125) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(30, 41, 59, 0.125) 1px, transparent 1px);
	background-size: 4rem 4rem;
	-webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000 70%, transparent 100%);
	mask-image: radial-gradient(ellipse 60% 50% at 50% 0%, #000 70%, transparent 100%);
	opacity: 0.4;
}

/* py-8 sm:py-10 md:py-12 lg:py-8 xl:py-12 */
.gvd-hero--home .gvd-hero__inner { padding-block: 2rem; }

@media (min-width: 640px) { .gvd-hero--home .gvd-hero__inner { padding-block: 2.5rem; } }
@media (min-width: 768px) { .gvd-hero--home .gvd-hero__inner { padding-block: 3rem; } }
@media (min-width: 1024px) { .gvd-hero--home .gvd-hero__inner { padding-block: 2rem; } }
@media (min-width: 1280px) { .gvd-hero--home .gvd-hero__inner { padding-block: 3rem; } }

.gvd-hero--solo .gvd-hero__grid { grid-template-columns: minmax(0, 1fr); }

/* px-3.5 py-1 bg-accent/20 border-accent/30 text-xs sm:text-sm font-semibold */
.gvd-hero--home .gvd-eyebrow {
	margin-bottom: 0.75rem;
	padding: 0.25rem 0.875rem;
	border: 1px solid rgba(var(--gvd-accent-rgb), 0.3);
	background: rgba(var(--gvd-accent-rgb), 0.2);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: normal;
	text-transform: none;
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}

@media (min-width: 640px) {
	.gvd-hero--home .gvd-eyebrow { margin-bottom: 1rem; font-size: 0.875rem; }
}

/* text-3xl sm:text-4xl lg:text-[2.85rem] xl:text-[3.3rem] font-extrabold leading-[1.1] */
.gvd-hero__nowrap { white-space: nowrap; }

.gvd-hero--home .gvd-hero__title {
	font-size: 1.875rem;
	font-weight: 800;
	line-height: 1.1;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

@media (min-width: 640px) { .gvd-hero__nowrap { white-space: nowrap; }

.gvd-hero--home .gvd-hero__title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .gvd-hero__nowrap { white-space: nowrap; }

.gvd-hero--home .gvd-hero__title { font-size: 2.85rem; } }
@media (min-width: 1280px) { .gvd-hero__nowrap { white-space: nowrap; }

.gvd-hero--home .gvd-hero__title { font-size: 3.3rem; } }

.gvd-hero--home .gvd-hero__sub {
	margin-top: 0.75rem;
	color: rgba(255, 255, 255, 0.85);
	font-size: 0.875rem;
	line-height: 1.625;
}

.gvd-hero--home .gvd-hero__note {
	margin-top: 0.375rem;
	color: rgba(255, 255, 255, 0.65);
	font-size: 0.75rem;
	font-weight: 500;
}

.gvd-hero--home .gvd-hero__list { margin-top: 1rem; gap: 0.5rem; }

.gvd-hero--home .gvd-hero__list li {
	gap: 0.625rem;
	color: rgba(255, 255, 255, 0.9);
	font-size: 0.75rem;
	font-weight: 500;
}

.gvd-hero--home .gvd-tick {
	width: 1rem;
	height: 1rem;
	border: 1px solid rgba(var(--gvd-accent-rgb), 0.4);
	background: rgba(var(--gvd-accent-rgb), 0.3);
	color: #fff;
}

.gvd-hero--home .gvd-tick svg { width: 0.625rem; height: 0.625rem; }

.gvd-hero--home .gvd-hero__footnote {
	margin-top: 0.75rem;
	color: rgba(255, 255, 255, 0.5);
	font-size: 11px;
}

.gvd-hero--home .gvd-actions { margin-top: 1.25rem; }

/* px-6 py-3 sm:px-7 sm:py-3.5 font-semibold shadow-lg shadow-accent/30 hover:scale-[1.02] */
.gvd-hero__cta {
	padding: 0.75rem 1.5rem;
	font-size: 0.875rem;
	box-shadow: 0 10px 15px -3px rgba(var(--gvd-accent-rgb), 0.3), 0 4px 6px -4px rgba(var(--gvd-accent-rgb), 0.3);
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.gvd-hero__cta:hover { transform: scale(1.02); }

@media (min-width: 640px) {
	.gvd-hero--home .gvd-hero__sub { margin-top: 1rem; font-size: 1rem; }
	.gvd-hero--home .gvd-hero__note { margin-top: 0.5rem; font-size: 0.875rem; }
	.gvd-hero--home .gvd-hero__list { margin-top: 1.25rem; }
	.gvd-hero--home .gvd-hero__list li { gap: 0.75rem; font-size: 0.875rem; }
	.gvd-hero--home .gvd-tick { width: 1.25rem; height: 1.25rem; }
	.gvd-hero--home .gvd-tick svg { width: 0.75rem; height: 0.75rem; }
	.gvd-hero--home .gvd-hero__footnote { margin-top: 0.875rem; font-size: 0.75rem; }
	.gvd-hero--home .gvd-actions { margin-top: 1.5rem; }
	.gvd-hero__cta { padding: 0.875rem 1.75rem; font-size: 1rem; }
}

/* ----------------------------------------------------------------- trust -- */

/* label text-base sm:text-lg font-bold; sub text-xs sm:text-sm */
.gvd-trust--home .gvd-trust__cell-label { font-size: 1rem; font-weight: 700; }

@media (min-width: 640px) {
	.gvd-trust--home .gvd-trust__cell-label { font-size: 1.125rem; }
	.gvd-trust--home .gvd-trust__cell-sub { font-size: 0.875rem; }
}

/* ------------------------------------------------------------- ecosystem -- */

/* py-14 lg:py-20 bg-white border-t border-gray-100 */
.gvd-home-eco {
	position: relative;
	padding-block: 3.5rem;
	background: #fff;
	border-top: 1px solid #f3f4f6;
	overflow: hidden;
}

@media (min-width: 1024px) { .gvd-home-eco { padding-block: 5rem; } }

.gvd-home-eco__head { margin-bottom: 2rem; }

@media (min-width: 640px) { .gvd-home-eco__head { margin-bottom: 2.5rem; } }

.gvd-eyebrow--icon { display: inline-flex; align-items: center; gap: 0.375rem; }

/* px-3 py-0.5 text-[11px] font-semibold border-accent/20 */
.gvd-home-eco .gvd-eyebrow {
	margin-bottom: 0.5rem;
	padding: 0.125rem 0.75rem;
	border: 1px solid rgba(var(--gvd-accent-rgb), 0.2);
	font-size: 11px;
	font-weight: 600;
}

/* text-2xl sm:text-3xl lg:text-[2.2rem] font-extrabold text-slate-900; accent on its own line */
.gvd-home-eco__title {
	font-size: 1.5rem;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -0.025em;
	color: #0f172b;
}

@media (min-width: 640px) { .gvd-home-eco__title { font-size: 1.875rem; } }
@media (min-width: 1024px) { .gvd-home-eco__title { font-size: 2.2rem; } }

.gvd-home-eco__title .gvd-accent { display: block; margin-top: 0.25rem; }

.gvd-home-eco__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }

@media (min-width: 640px) { .gvd-home-eco__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .gvd-home-eco__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.gvd-home-eco__card {
	display: flex;
	flex-direction: column;
	width: 100%;
	padding: 1rem;
	border: 2px solid rgba(var(--gvd-accent-rgb), 0.4);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 4px 6px -1px rgba(226, 232, 240, 0.5), 0 2px 4px -2px rgba(226, 232, 240, 0.5);
	overflow: hidden;
	transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

@media (min-width: 640px) { .gvd-home-eco__card { padding: 1.25rem; } }

.gvd-home-eco__card:hover {
	border-color: var(--gvd-accent);
	box-shadow: 0 0 0 2px rgba(var(--gvd-accent-rgb), 0.25), 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
	transform: translateY(-0.375rem);
}

.gvd-home-eco__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	padding-bottom: 0.5rem;
}

.gvd-home-eco__pill {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	min-width: 0;
	padding: 0.125rem 0.5rem;
	border: 1px solid rgba(var(--gvd-accent-rgb), 0.25);
	border-radius: 9999px;
	background: rgba(var(--gvd-accent-rgb), 0.1);
	color: var(--gvd-accent);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.05em;
	line-height: 1.5;
	text-transform: uppercase;
}

.gvd-home-eco__pill svg { flex-shrink: 0; }

.gvd-home-eco__go {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 1.75rem;
	height: 1.75rem;
	border-radius: 9999px;
	background: #f1f5f9;
	color: #334155;
	transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.gvd-home-eco__go:hover { background: rgba(var(--gvd-accent-rgb), 0.15); color: var(--gvd-accent); }
.gvd-home-eco__card:hover .gvd-home-eco__go { transform: scale(1.05); }

/* h-[145px] sm:h-[155px] rounded-xl bg-slate-50 border-slate-100 p-2.5 */
.gvd-home-eco__stage {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 145px;
	margin-block: 0.5rem;
	padding: 0.625rem;
	border: 1px solid #f1f5f9;
	border-radius: 14px;
	background: #f8fafc;
	transition: transform 0.5s ease;
}

@media (min-width: 640px) { .gvd-home-eco__stage { height: 155px; } }

.gvd-home-eco__card:hover .gvd-home-eco__stage { transform: scale(1.03); }

.gvd-home-eco__stage img,
.elementor .gvd-home-eco__stage img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: 100%;
	object-fit: contain;
}

.gvd-home-eco__body { display: flex; flex: 1; flex-direction: column; padding-top: 0.375rem; }

.gvd-home-eco__name {
	margin: 0;
	overflow: hidden;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.25;
	color: #0f172b;
	white-space: nowrap;
	text-overflow: ellipsis;
	transition: color 0.2s ease;
}

@media (min-width: 640px) { .gvd-home-eco__name { font-size: 17px; } }

.gvd-home-eco__card:hover .gvd-home-eco__name { color: var(--gvd-accent); }

.gvd-home-eco__tagline {
	margin: 0.125rem 0 0;
	overflow: hidden;
	color: var(--gvd-accent);
	font-size: 11px;
	font-weight: 600;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.gvd-home-eco__text {
	display: -webkit-box;
	margin: 0.375rem 0 0;
	overflow: hidden;
	color: #45556c;
	font-size: 11px;
	line-height: 1.625;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.gvd-home-eco__specs {
	display: grid;
	gap: 0.25rem;
	margin: 0.75rem 0 1rem;
	padding: 0;
	list-style: none;
}

.gvd-home-eco__specs li {
	display: flex;
	align-items: center;
	gap: 0.375rem;
	min-width: 0;
	padding: 0.125rem 0.5rem;
	border: 1px solid rgba(226, 232, 240, 0.7);
	border-radius: 8px;
	background: #f8fafc;
	color: #1d293d;
	font-size: 10.5px;
	font-weight: 500;
	line-height: 1.5;
}

.gvd-home-eco__specs svg { flex-shrink: 0; color: var(--gvd-accent); }
.gvd-home-eco__specs span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

.gvd-home-eco__foot { margin-top: auto; padding-top: 0.625rem; border-top: 1px solid #f1f5f9; }

.gvd-home-eco__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.375rem;
	width: 100%;
	padding: 0.5rem 0.75rem;
	border-radius: 10px;
	background: var(--gvd-accent);
	box-shadow: 0 1px 2px rgba(var(--gvd-accent-rgb), 0.25);
	color: #fff;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.025em;
	text-decoration: none;
	transition: background-color 0.3s ease, transform 0.3s ease;
}

.gvd-home-eco__btn:hover { background: var(--gvd-accent-hover); color: #fff; text-decoration: none; transform: scale(1.01); }
.gvd-home-eco__btn:active { transform: scale(0.98); }

/* --------------------------------------------------------- outcome strip -- */

/* grid lg:grid-cols-4: the title takes one column, the outcomes the other three. */
.gvd-band--grid .gvd-band__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-items: center;
	gap: 1.5rem;
}

.gvd-band--grid .gvd-band__title { white-space: nowrap; }

.gvd-band--grid .gvd-band__items {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-items: center;
	gap: 1rem;
}

.gvd-band--grid .gvd-band__item { justify-content: center; gap: 0.75rem; }
.gvd-band--grid .gvd-band__icon { flex-shrink: 0; }
.gvd-band--grid .gvd-band__label { color: rgba(255, 255, 255, 0.9); white-space: normal; }

@media (min-width: 640px) {
	.gvd-band--grid .gvd-band__items { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
	.gvd-band--grid .gvd-band__item { justify-content: flex-start; }
}

@media (min-width: 1024px) {
	.gvd-band--grid .gvd-band__inner { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
	.gvd-band--grid .gvd-band__items { grid-column: span 3; gap: 2rem; }
}

/* ------------------------------------------------------------ industries -- */

/* py-12 sm:py-14 lg:py-16 bg-[#0B1B3D] */
.gvd-home-ind {
	position: relative;
	padding-block: 3rem;
	background: #0b1b3d;
	overflow: hidden;
}

@media (min-width: 640px) { .gvd-home-ind { padding-block: 3.5rem; } }
@media (min-width: 1024px) { .gvd-home-ind { padding-block: 4rem; } }

.gvd-home-ind__bg,
.gvd-home-ind__dots,
.gvd-home-ind__glow { position: absolute; pointer-events: none; }

.gvd-home-ind__bg { inset: 0; background: linear-gradient(to bottom, #0b1b3d, #0d2247, #0b1b3d); }

.gvd-home-ind__dots {
	inset: 0;
	background-image: radial-gradient(#3b82f6 1px, transparent 1px);
	background-size: 24px 24px;
	opacity: 0.2;
}

.gvd-home-ind__glow {
	top: 25%;
	left: 50%;
	width: 600px;
	height: 400px;
	border-radius: 9999px;
	background: rgba(var(--gvd-accent-rgb), 0.1);
	filter: blur(140px);
	transform: translate(-50%, -50%);
}

.gvd-home-ind > .gvd-container { position: relative; z-index: 1; }

.gvd-home-ind__head { margin-bottom: 2rem; }

@media (min-width: 640px) { .gvd-home-ind__head { margin-bottom: 2.5rem; } }

/* bg-blue-500/15 border-blue-400/25 text-blue-400 (blue-500 is remapped to the accent; blue-400 is Tailwind v4 #51a2ff) */
.gvd-home-ind .gvd-eyebrow {
	margin-bottom: 0.5rem;
	padding: 0.125rem 0.75rem;
	border: 1px solid rgba(81, 162, 255, 0.25);
	background: rgba(var(--gvd-accent-rgb), 0.15);
	color: #51a2ff;
	font-weight: 600;
}

/* text-2xl sm:text-3xl lg:text-4xl font-bold text-white leading-[1.15] */
.gvd-home-ind__title {
	font-size: 1.5rem;
	line-height: 1.15;
	color: #fff;
}

@media (min-width: 640px) { .gvd-home-ind__title { font-size: 1.875rem; } }
@media (min-width: 1024px) { .gvd-home-ind__title { font-size: 2.25rem; } }

.gvd-home-ind__title .gvd-accent {
	background: linear-gradient(to right, #51a2ff, #74d4ff);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.gvd-home-ind__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0.75rem;
}

@media (min-width: 640px) { .gvd-home-ind__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.875rem; } }
@media (min-width: 1024px) { .gvd-home-ind__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; } }

.gvd-home-ind__tile {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 130px;
	padding: 1rem;
	border: 1px solid rgba(81, 162, 255, 0.3);
	border-radius: 18px;
	background: #071530;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
	color: #fff;
	text-decoration: none;
	overflow: hidden;
	-webkit-user-select: none;
	user-select: none;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.gvd-home-ind__tile:hover {
	border-color: rgba(142, 197, 255, 0.6);
	box-shadow: 0 8px 32px rgba(11, 27, 61, 0.6);
	color: #fff;
	text-decoration: none;
}

.gvd-home-ind__tile:focus-visible { outline: 2px solid var(--gvd-accent); outline-offset: 2px; }

@media (min-width: 640px) {
	.gvd-home-ind__tile { min-height: 140px; padding: 1.25rem; }
	.gvd-home-ind__tile--large,
	.gvd-home-ind__tile--wide { grid-column: span 2; }
}

@media (min-width: 1024px) {
	.gvd-home-ind__tile { min-height: 150px; border-radius: 22px; }
	.gvd-home-ind__tile--large { grid-row: span 2; }
}

.gvd-home-ind__tile--large { min-height: 280px; }

@media (min-width: 640px) { .gvd-home-ind__tile--large { min-height: 300px; } }
@media (min-width: 1024px) { .gvd-home-ind__tile--large { min-height: 330px; } }

.gvd-home-ind__tile img,
.elementor .gvd-home-ind__tile img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	border-radius: 0;
	transition: transform 0.7s ease;
}

.gvd-home-ind__tile:hover img { transform: scale(1.05); }

.gvd-home-ind__shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.25), transparent);
	transition: background-color 0.3s ease;
}

.gvd-home-ind__tile:hover .gvd-home-ind__shade { background-color: rgba(0, 0, 0, 0.05); }

.gvd-home-ind__text { position: relative; z-index: 1; }

.gvd-home-ind__name {
	margin: 0;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.375;
	color: #fff;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
}

@media (min-width: 640px) { .gvd-home-ind__name { font-size: 1rem; } }

.gvd-home-ind__tile--wide .gvd-home-ind__name { font-size: 1rem; }

@media (min-width: 640px) { .gvd-home-ind__tile--wide .gvd-home-ind__name { font-size: 1.125rem; } }
@media (min-width: 1024px) { .gvd-home-ind__tile--wide .gvd-home-ind__name { font-size: 1.25rem; } }

.gvd-home-ind__tile--large .gvd-home-ind__name { font-size: 1.25rem; line-height: 1.25; letter-spacing: -0.025em; }

@media (min-width: 640px) { .gvd-home-ind__tile--large .gvd-home-ind__name { font-size: 1.5rem; } }

.gvd-home-ind__sub {
	display: block;
	margin-top: 0.25rem;
	color: rgba(255, 255, 255, 0.8);
	font-size: 11px;
	font-weight: 500;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

@media (min-width: 640px) { .gvd-home-ind__sub { font-size: 0.75rem; } }

/* --------------------------------------------------------- case studies -- */

.gvd-home-cs .gvd-eyebrow { font-weight: 700; }

.gvd-home-cs__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }

@media (min-width: 768px) { .gvd-home-cs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .gvd-home-cs__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }

.gvd-home-cs__card {
	display: flex;
	flex-direction: column;
	height: 100%;
	border: 1px solid rgba(226, 232, 240, 0.9);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
	overflow: hidden;
	transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.gvd-home-cs__card:hover {
	border-color: rgba(52, 120, 246, 0.5);
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
	transform: translateY(-0.375rem);
}

/* h-48 sm:h-52 photo banner with the client's name on a dark fade */
.gvd-home-cs__banner {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	height: 12rem;
	background: #0f172b;
	overflow: hidden;
	-webkit-user-select: none;
	user-select: none;
}

@media (min-width: 640px) { .gvd-home-cs__banner { height: 13rem; } }

.gvd-home-cs__banner img,
.elementor .gvd-home-cs__banner img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	border-radius: 0;
	transition: transform 0.7s ease;
}

.gvd-home-cs__card:hover .gvd-home-cs__banner img { transform: scale(1.05); }

/* px-5 py-3.5 fade bar holding the truncated client name. */
.gvd-home-cs__clientbar {
	position: relative;
	z-index: 1;
	padding: 0.875rem 1.25rem;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.4), transparent);
}

.gvd-home-cs__client {
	display: block;
	min-height: 1.5rem;
	overflow: hidden;
	color: #fff;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1rem;
	font-weight: 700;
	white-space: nowrap;
	text-overflow: ellipsis;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
}

@media (min-width: 640px) { .gvd-home-cs__client { font-size: 1.125rem; } }

.gvd-home-cs__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	justify-content: space-between;
	padding: 1.5rem;
}

@media (min-width: 640px) { .gvd-home-cs__body { padding: 1.75rem; } }

.gvd-home-cs__title {
	display: -webkit-box;
	margin: 0 0 0.75rem;
	overflow: hidden;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.375;
	color: #1a1a2e;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.gvd-home-cs__title a { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; color: inherit; text-decoration: none; transition: color 0.2s ease; }
.gvd-home-cs__card:hover .gvd-home-cs__title a { color: var(--gvd-accent); }

.gvd-home-cs__text {
	display: -webkit-box;
	margin: 0 0 1.25rem;
	overflow: hidden;
	color: #6b7280;
	font-size: 0.75rem;
	line-height: 1.625;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.gvd-home-cs__text--quote { font-style: italic; }

.gvd-home-cs__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding-top: 1rem;
	border-top: 1px solid #f1f5f9;
}

.gvd-home-cs__read {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	flex-shrink: 0;
	color: var(--gvd-accent);
	font-size: 0.75rem;
	font-weight: 700;
	text-decoration: none;
	transition: transform 0.2s ease;
}

.gvd-home-cs__read:hover { color: var(--gvd-accent); text-decoration: underline; }
.gvd-home-cs__card:hover .gvd-home-cs__read { transform: translateX(4px); }

.gvd-home-cs__where {
	color: #62748e;
	font-family: var(--gvd-font-mono, inherit);
	font-size: 0.75rem;
	font-weight: 700;
	text-align: right;
}

.gvd-home-cs__more { margin-top: 3rem; text-align: center; }

.gvd-home-cs__all {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.875rem 1.5rem;
	border-radius: 14px;
	background: var(--gvd-accent);
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
	color: #fff;
	font-size: 0.875rem;
	font-weight: 700;
	text-decoration: none;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.gvd-home-cs__all:hover { background: rgba(var(--gvd-accent-rgb), 0.9); color: #fff; text-decoration: none; transform: scale(1.05); }

/* --------------------------------------------------------- testimonials -- */

.gvd-home__quotes {
	position: relative;
	max-width: 56rem;
	margin-inline: auto;
}

.gvd-home__quote {
	display: none;
	margin: 0;
	padding: 2rem;
	border: 1px solid rgba(229, 231, 235, 0.7);
	border-radius: 1rem;
	background: #f5f6f8;
	text-align: center;
	animation: gvd-quote-in 0.5s ease;
}

@media (min-width: 640px) {
	.gvd-home__quote { padding: 3rem; }
}

.gvd-home__quote.is-active { display: block; }

@keyframes gvd-quote-in {
	from { opacity: 0; transform: translateY(20px); }
	to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	.gvd-home__quote { animation: none; }
}

.gvd-home__quotemark {
	display: block;
	margin: 0 auto 1.5rem;
	color: rgba(var(--gvd-accent-rgb), 0.3);
}

.gvd-home__quote blockquote {
	margin: 0 0 2rem;
	padding: 0;
	border: 0;
	color: #1a1a2e;
	font-size: 1.125rem;
	font-style: italic;
	line-height: 1.7;
}

@media (min-width: 640px) {
	.gvd-home__quote blockquote { font-size: 1.25rem; }
}

.gvd-home__quoteauthor {
	display: block;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 600;
	color: #1a1a2e;
}

.gvd-home__quoterole { display: block; color: #6b7280; font-size: 0.875rem; }

.gvd-home__quotenav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	margin-top: 2rem;
}

.gvd-home__dot {
	width: 0.625rem;
	height: 0.625rem;
	padding: 0;
	border: 0;
	border-radius: 9999px;
	background: #d1d5db;
	cursor: pointer;
	transition: background-color 0.3s ease, width 0.3s ease;
}

.gvd-home__dot:hover { background: #9ca3af; }
.gvd-home__dot.is-active { width: 2rem; background: var(--gvd-accent); }

/* -------------------------------------------------------------- partners -- */

/* py-16 lg:py-24 bg-white border-b border-gray-100 */
.gvd-home__partners {
	padding-block: 4rem;
	background: #fff;
	border-bottom: 1px solid #f3f4f6;
	overflow: hidden;
}

@media (min-width: 1024px) { .gvd-home__partners { padding-block: 6rem; } }

/* Their head is a full-width FadeIn (no max-w-3xl); mb-10 sits on the container. */
.gvd-home__partnersintro { margin-bottom: 2.5rem; }
.gvd-home__partnersintro .gvd-head { max-width: none; margin-bottom: 0; }

.gvd-home__rows { position: relative; display: grid; gap: 1rem; }

@media (min-width: 640px) { .gvd-home__rows { gap: 1.5rem; } }

/* Feathered edges so logos fade rather than clip at the viewport. */
.gvd-home__fade {
	position: absolute;
	top: 0;
	bottom: 0;
	z-index: 10;
	width: 5rem;
	pointer-events: none;
}

@media (min-width: 640px) { .gvd-home__fade { width: 8rem; } }

.gvd-home__fade--left { left: 0; background: linear-gradient(to right, #fff, transparent); }
.gvd-home__fade--right { right: 0; background: linear-gradient(to left, #fff, transparent); }

/* animate-marquee 25s, -reverse 30s, -slow 35s */
.gvd-home__row {
	display: flex;
	width: max-content;
	animation: gvd-marquee 25s linear infinite;
}

.gvd-home__row--reverse { animation-name: gvd-marquee-reverse; animation-duration: 30s; }
.gvd-home__row--slow { animation-duration: 35s; }

.gvd-home__rows:hover .gvd-home__row { animation-play-state: paused; }

@keyframes gvd-marquee {
	from { transform: translateX(0); }
	to { transform: translateX(-33.333%); }
}

@keyframes gvd-marquee-reverse {
	from { transform: translateX(-33.333%); }
	to { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
	.gvd-home__row {
		animation: none;
		flex-wrap: wrap;
		justify-content: center;
		width: 100%;
	}
	/* Without the animation the repeated copies are just noise. */
	.gvd-home__row .gvd-home__logo--copy { display: none; }
}

/*
 * Bare logos on white (no frame): h-16 w-40 sm:h-20 sm:w-52, mx-3 sm:mx-5,
 * hover:scale-105; the image max-h-10 sm:max-h-12. The variables switch off
 * the frame elementor.css restores for these logos.
 */
.gvd-home__logo {
	--gvd-logo-border: 0;
	--gvd-logo-shadow: none;
	--gvd-logo-radius: 0;
	--gvd-logo-shadow-hover: none;
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	width: 10rem;
	height: 4rem;
	margin-inline: 0.75rem;
	padding-inline: 1.25rem;
	background: #fff;
	transition: transform 0.3s ease;
}

.gvd-home__logo:hover { transform: scale(1.05); }

.gvd-home__logo .gvd-home__logoimg,
.elementor .gvd-home__logo .gvd-home__logoimg {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 2.5rem;
	padding: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	object-fit: contain;
}

@media (min-width: 640px) {
	.gvd-home__logo { width: 13rem; height: 5rem; margin-inline: 1.25rem; }
	.gvd-home__logo .gvd-home__logoimg,
	.elementor .gvd-home__logo .gvd-home__logoimg { max-height: 3rem; }
}

/* ------------------------------------------------- exact Tailwind values -- */

/*
 * The shared section classes run a slightly tighter rhythm and Tailwind's
 * stock radii. On Home the developer's values apply: their theme sets
 * --radius to 10px, so rounded-lg is 10px, rounded-xl 14px, rounded-2xl 18px;
 * text-xs/sm/base/lg carry 16/20/24/28px line-heights.
 */

/* Section padding: py-24 lg:py-32 (problems, platform), py-20 lg:py-28 (steps,
   case studies, why), py-16 (trust). */
.gvd-home-pain,
.gvd-home-caps { padding-block: 6rem; }
.gvd-home-steps,
.gvd-home-cs,
.gvd-home-why { padding-block: 5rem; }
.gvd-trust--home { padding-block: 4rem; }

@media (min-width: 1024px) {
	.gvd-home-pain,
	.gvd-home-caps { padding-block: 8rem; }
	.gvd-home-steps,
	.gvd-home-cs,
	.gvd-home-why { padding-block: 7rem; }
}

/* Eyebrow chips: text-xs, 16px line. */
.gvd-home-pain .gvd-eyebrow,
.gvd-home-caps .gvd-eyebrow,
.gvd-home-steps .gvd-eyebrow,
.gvd-home-cs .gvd-eyebrow,
.gvd-home-why .gvd-eyebrow,
.gvd-home__partners .gvd-eyebrow,
.gvd-home-ind .gvd-eyebrow { line-height: 1rem; }

/* Heads: mb-16 (problems, platform, case studies), mb-14 lg:mb-20 (steps). */
.gvd-home-pain .gvd-head,
.gvd-home-caps .gvd-head,
.gvd-home-cs .gvd-head { margin-bottom: 4rem; }
.gvd-home-steps .gvd-head { margin-bottom: 3.5rem; }

@media (min-width: 1024px) { .gvd-home-steps .gvd-head { margin-bottom: 5rem; } }

/* tracking-tight on the section titles. */
.gvd-home-pain .gvd-h2,
.gvd-home-caps .gvd-h2,
.gvd-home-steps .gvd-h2,
.gvd-home-why .gvd-h2,
.gvd-home__partners .gvd-h2,
.gvd-home-ind__title { letter-spacing: -0.025em; }

/* Platform: text-3xl sm:text-4xl lg:text-5xl (48px, leading 1). */
.gvd-home-caps .gvd-h2 { font-size: 1.875rem; line-height: 2.25rem; }

@media (min-width: 640px) { .gvd-home-caps .gvd-h2 { font-size: 2.25rem; line-height: 2.5rem; } }
@media (min-width: 1024px) { .gvd-home-caps .gvd-h2 { font-size: 3rem; line-height: 1; } }

/* Case studies: text-3xl sm:text-4xl, default leading. */
.gvd-home-cs .gvd-h2 { font-size: 1.875rem; line-height: 2.25rem; letter-spacing: normal; }

@media (min-width: 640px) { .gvd-home-cs .gvd-h2 { font-size: 2.25rem; line-height: 2.5rem; } }

/* Partners: text-2xl sm:text-3xl lg:text-4xl tracking-tight. */
.gvd-home__partners .gvd-h2 { font-size: 1.5rem; line-height: 2rem; }

@media (min-width: 640px) { .gvd-home__partners .gvd-h2 { font-size: 1.875rem; line-height: 2.25rem; } }
@media (min-width: 1024px) { .gvd-home__partners .gvd-h2 { font-size: 2.25rem; line-height: 2.5rem; } }

.gvd-home__partners .gvd-lede { margin-top: 0.75rem; margin-bottom: 0; font-size: 0.875rem; line-height: 1.25rem; }

@media (min-width: 640px) { .gvd-home__partners .gvd-lede { font-size: 1rem; line-height: 1.5rem; } }

/* Ledes: Platform and Why are text-base leading-relaxed; case studies text-base;
   steps text-base sm:text-lg. */
.gvd-home-caps .gvd-lede,
.gvd-home-why .gvd-lede { font-size: 1rem; line-height: 1.625; }
.gvd-home-cs .gvd-lede { font-size: 1rem; line-height: 1.5rem; }
.gvd-home-steps .gvd-lede { line-height: 1.5rem; }

@media (min-width: 640px) { .gvd-home-steps .gvd-lede { line-height: 1.75rem; } }

/* Why GVD: h2 mb-6, lede mb-8; checklist rows rounded-xl, text-base. */
.gvd-home-why .gvd-split .gvd-head { margin-bottom: 1.5rem; }
.gvd-home-why .gvd-split .gvd-lede { margin-bottom: 2rem; }
.gvd-home-why .gvd-checklist li { border-radius: 14px; line-height: 1.5rem; }

/* Trust: label mb-12, 20px line; panel rounded-2xl; label text-lg/28, sub text-sm/20. */
.gvd-trust--home .gvd-trust__label { margin-top: 0; margin-bottom: 3rem; line-height: 1.25rem; }
.gvd-trust--home .gvd-trust__grid { border-radius: 18px; }

/* text-3xl sm:text-4xl lg:text-5xl: 36/40/48px lines (5xl is leading 1). */
.gvd-trust--home .gvd-trust__value { line-height: 2.25rem; }

@media (min-width: 640px) { .gvd-trust--home .gvd-trust__value { line-height: 2.5rem; } }
@media (min-width: 1024px) { .gvd-trust--home .gvd-trust__value { line-height: 1; } }
.gvd-trust--home .gvd-trust__cell-label { line-height: 1.5rem; }
.gvd-trust--home .gvd-trust__cell-sub { line-height: 1rem; }

@media (min-width: 640px) {
	.gvd-trust--home .gvd-trust__cell-label { line-height: 1.75rem; }
	.gvd-trust--home .gvd-trust__cell-sub { line-height: 1.25rem; }
}

/* Problem cards: rounded-2xl p-6, icon tile rounded-xl, text-base title,
   text-sm leading-relaxed copy, note mt-12 text-sm. */
.gvd-home-pain .gvd-card { padding: 1.5rem; border-radius: 18px; }
.gvd-home-pain .gvd-chip { border-radius: 14px; }
.gvd-home-pain .gvd-card__title { line-height: 1.5rem; }
.gvd-home-pain .gvd-card__text { line-height: 1.625; }
.gvd-home-pain .gvd-note { margin-bottom: 0; line-height: 1.25rem; }

/* Platform cards. */
.gvd-home-caps .gvd-glass { border-radius: 18px; }
.gvd-home-caps .gvd-glass__icon { border-radius: 14px; }
.gvd-home-caps .gvd-glass__num { line-height: 1rem; }
.gvd-home-caps .gvd-glass__title { line-height: 1.5rem; }
.gvd-home-caps .gvd-glass__text { line-height: 1.625; }

/* Steps: rounded-2xl cards, rounded-xl icon, text-lg leading-snug title,
   text-sm leading-relaxed copy; outcome band rounded-2xl, icons rounded-lg. */
.gvd-home-steps .gvd-step { border-radius: 18px; }
.gvd-home-steps .gvd-step__icon { border-radius: 14px; }
.gvd-home-steps .gvd-step__title { line-height: 1.375; }
.gvd-home-steps .gvd-step__text { line-height: 1.625; }
.gvd-home-steps .gvd-band { border-radius: 18px; }
.gvd-home-steps .gvd-band__icon { border-radius: 10px; }
.gvd-home-steps .gvd-band__title { line-height: 1.75rem; }
.gvd-home-steps .gvd-band__label { line-height: 1.25rem; }

/* Hero: text-xs/sm lines are 16/20px; the button is size lg (h-9, rounded-lg). */
.gvd-hero--home .gvd-eyebrow { line-height: 1rem; }
.gvd-hero--home .gvd-hero__note,
.gvd-hero--home .gvd-hero__list li { line-height: 1rem; }
.gvd-hero--home .gvd-hero__footnote { line-height: 1.5; }
.gvd-hero--home .gvd-hero__cta { height: 2.25rem; padding-block: 0; border-radius: 10px; line-height: 1.25rem; }

@media (min-width: 640px) {
	.gvd-hero--home .gvd-eyebrow,
	.gvd-hero--home .gvd-hero__note,
	.gvd-hero--home .gvd-hero__list li { line-height: 1.25rem; }
	.gvd-hero--home .gvd-hero__cta { line-height: 1.5rem; }
}

/* Product cards: the pill and button are text-[10px]/text-xs on 16px lines. */
.gvd-home-eco__btn { line-height: 1rem; }

/* Case studies: client name text-base/lg, title leading-snug, "View All" shadow-md. */
.gvd-home-ind__sub { line-height: 1.5; }
.gvd-home-eco .gvd-eyebrow { line-height: 1.5; }

@media (min-width: 640px) {
	.gvd-home-ind__sub,
	.gvd-hero--home .gvd-hero__footnote { line-height: 1rem; }
}

.gvd-home-cs__client { line-height: 1.5rem; }

@media (min-width: 640px) { .gvd-home-cs__client { line-height: 1.75rem; } }

.gvd-home-cs__read,
.gvd-home-cs__where { line-height: 1rem; }
.gvd-home-cs__all { line-height: 1.25rem; }

/*
 * Elementor's ".elementor a { box-shadow: none }" strips the shadows of the
 * links below; restore them (the hero button's accent glow among them).
 */
.elementor .gvd-hero__cta {
	box-shadow: 0 10px 15px -3px rgba(var(--gvd-accent-rgb), 0.3), 0 4px 6px -4px rgba(var(--gvd-accent-rgb), 0.3);
}

.elementor .gvd-home-eco__btn { box-shadow: 0 1px 2px rgba(var(--gvd-accent-rgb), 0.25); }
.elementor .gvd-home-cs__all { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); }
.elementor .gvd-home-ind__tile { box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4); }
.elementor .gvd-home-ind__tile:hover { box-shadow: 0 8px 32px rgba(11, 27, 61, 0.6); }

/*
 * Hero rhythm, measured against the developer's page: their copy blocks have
 * only top margins, so the browser's default paragraph bottom margins here
 * added ~42px and pushed the block down. Their header also overlaps the hero
 * (a bug we do not copy), which centres their content ~24px higher; the
 * bottom padding re-centres ours to the same place on screen.
 */
.gvd-hero--home .gvd-hero__copy > p,
.gvd-hero--home .gvd-hero__copy > .gvd-eyebrow + h1 { margin-bottom: 0; }
.gvd-hero--home .gvd-hero__copy > .gvd-eyebrow { margin-bottom: 0.75rem; }

/* mb-3 sm:mb-4; the re-centring applies at every width (their header is 100px
   tall at all sizes, ours is --gvd-header-offset). */
.gvd-hero--home .gvd-hero__inner { padding-bottom: calc(2rem + var(--gvd-header-offset) - 100px); }

@media (min-width: 640px) {
	.gvd-hero--home .gvd-hero__copy > .gvd-eyebrow { margin-bottom: 1rem; }
	.gvd-hero--home .gvd-hero__inner { padding-bottom: calc(2.5rem + var(--gvd-header-offset) - 100px); }
}
@media (min-width: 768px) {
	.gvd-hero--home .gvd-hero__inner { padding-bottom: calc(3rem + var(--gvd-header-offset) - 100px); }
}
@media (min-width: 1024px) {
	.gvd-hero--home .gvd-hero__inner { padding-bottom: calc(2rem + var(--gvd-header-offset) - 100px); }
}
@media (min-width: 1280px) {
	.gvd-hero--home .gvd-hero__inner { padding-bottom: calc(3rem + var(--gvd-header-offset) - 100px); }
}
