/* ==========================================================================
   Eimsky – home page
   Desktop values are the Figma measurements at 1920px wide.
   Breakpoints: 1199px (tablet landscape), 991px (tablet), 767px, 599px (mobile).
   ========================================================================== */

/* Vertical rhythm ----------------------------------------------------------
   White sections sit 140px apart (spacing above only). Tinted and dark
   sections carry 140px of their own padding. */
.home > .section { padding-block: 0; margin-top: var(--section-space); }
.home > .section--tint,
.home > .testimonials,
.home > .contact { padding-block: var(--section-space); }
.home > .testimonials + .contact,
.home > .hero { margin-top: 0; }
.home > .clients + .products { margin-top: calc(var(--section-space) * 8 / 7); } /* 160px in Figma */

/* Decorative green glows (Figma: radial gradient, 15% opacity, 400px blur) */
.glow {
	position: absolute;
	z-index: -1;
	width: 600px;
	height: 600px;
	border-radius: 50%;
	pointer-events: none;
	background: radial-gradient(circle closest-side, rgba(88, 148, 29, 0.13), rgba(69, 115, 22, 0.07) 55%, rgba(69, 115, 22, 0) 100%);
	filter: blur(40px);
}
.glow--news-1,
.glow--news-2 { background: radial-gradient(circle closest-side, rgba(0, 163, 80, 0.09), rgba(0, 163, 80, 0.045) 55%, rgba(0, 163, 80, 0) 100%); }
.about,
.industries,
.news { isolation: isolate; overflow-x: clip; }

/* Section heading ---------------------------------------------------------- */
.section-head {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-bottom: 56px;
}
.section-head__titles {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
}
.section-head__text {
	max-width: 628px;
	font-size: 1rem;
	line-height: 24px;
	color: var(--c-body);
}
.section-head--split .section-head__detail {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px 40px;
}
.section-head--center { align-items: center; text-align: center; }
.section-head--center .section-head__titles { align-items: center; }
.section-head--center .eyebrow { align-self: center; }
.section-head--center .section-head__detail {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
}
.section-head--center .section-head__text { max-width: 695px; }
.section-head--dark .section-head__title { color: var(--c-white); }
.section-head--dark .section-head__text { max-width: none; color: var(--c-body-light); }

@media (max-width: 767px) {
	.section-head { margin-bottom: 40px; }
	.section-head--split .section-head__detail { flex-direction: column; align-items: flex-start; }
}

/* 1. Hero ------------------------------------------------------------------ */
.hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: clamp(600px, 45.58vw, 875px);
	color: var(--c-white);
	background: #1d2519;
	overflow: hidden;
	isolation: isolate;
}
.hero__media {
	position: absolute;
	inset: 0;
	z-index: -2;
}
.hero__poster,
.hero__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
/* Figma: 20% black over 40% #001008. */
.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), linear-gradient(rgba(0, 16, 8, 0.4), rgba(0, 16, 8, 0.4));
}

.hero__inner {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 40px;
	width: 100%;
	padding: 120px var(--gutter) 80px;
}
.hero__content { max-width: 649px; }

.hero__title {
	font-family: var(--font-display);
	font-size: var(--fs-h1);
	line-height: var(--lh-h1);
	font-weight: 800;
	font-variation-settings: "opsz" 14, "wdth" 100;
	color: var(--c-white);
}
.hero__line { display: block; }
.hero__line + .hero__line { margin-top: 4px; }
.hero__line--last {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0 16px;
}
.hero__pill {
	display: inline-grid;
	place-items: center;
	width: clamp(72px, 5.73vw, 110px);
	height: clamp(40px, 3.125vw, 60px);
	border-radius: 30px;
	background: var(--gradient);
}
.hero__pill svg { width: clamp(24px, 1.67vw, 32px); height: auto; }

.hero__text {
	max-width: 634px;
	margin-top: 24px;
	font-size: 1rem;
	line-height: 24px;
	color: var(--c-body-light);
}
.hero .btn-group { margin-top: 40px; }

.hero__badges {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 16px;
	max-width: 688px;
}

/* One orchestrated load moment: title lines, text and badges rise in sequence. */
@media (prefers-reduced-motion: no-preference) {
	.hero__line,
	.hero__text,
	.hero .btn-group,
	.hero__badges .chip {
		animation: hero-rise 0.9s var(--ease) both;
	}
	.hero__line:nth-child(2) { animation-delay: 0.08s; }
	.hero__line:nth-child(3) { animation-delay: 0.16s; }
	.hero__text { animation-delay: 0.28s; }
	.hero .btn-group { animation-delay: 0.36s; }
	.hero__badges .chip { animation-delay: 0.5s; }
	.hero__badges .chip:nth-child(2) { animation-delay: 0.58s; }
	.hero__badges .chip:nth-child(3) { animation-delay: 0.66s; }
	.hero__badges .chip:nth-child(4) { animation-delay: 0.74s; }
	.hero__pill svg { animation: hero-nudge 2.4s 1.2s var(--ease) 1; }
}
/* Same motion when the site plays animations as designed (Customizer → Eimsky: Animations). */
@media (prefers-reduced-motion: reduce) {
html.eimsky-motion-full .hero__line,html.eimsky-motion-full .hero__text,html.eimsky-motion-full .hero .btn-group,html.eimsky-motion-full .hero__badges .chip{animation: hero-rise 0.9s var(--ease) both;}
html.eimsky-motion-full .hero__line:nth-child(2){animation-delay: 0.08s;}
html.eimsky-motion-full .hero__line:nth-child(3){animation-delay: 0.16s;}
html.eimsky-motion-full .hero__text{animation-delay: 0.28s;}
html.eimsky-motion-full .hero .btn-group{animation-delay: 0.36s;}
html.eimsky-motion-full .hero__badges .chip{animation-delay: 0.5s;}
html.eimsky-motion-full .hero__badges .chip:nth-child(2){animation-delay: 0.58s;}
html.eimsky-motion-full .hero__badges .chip:nth-child(3){animation-delay: 0.66s;}
html.eimsky-motion-full .hero__badges .chip:nth-child(4){animation-delay: 0.74s;}
html.eimsky-motion-full .hero__pill svg{animation: hero-nudge 2.4s 1.2s var(--ease) 1;}
}
@keyframes hero-rise {
	from { opacity: 0; transform: translateY(24px); }
	to { opacity: 1; transform: none; }
}
@keyframes hero-nudge {
	0%, 60%, 100% { transform: none; }
	30% { transform: translateX(6px); }
}

@media (max-width: 1439px) {
	.hero__inner { flex-direction: column; align-items: flex-start; gap: 40px; }
	.hero__badges { justify-content: flex-start; }
}
@media (max-width: 599px) {
	.hero { min-height: calc(100svh - var(--header-h)); }
	.hero__inner { padding-bottom: 48px; gap: 32px; }
	.hero__line--last { gap: 0 12px; }
	.hero .btn-group { gap: 16px; margin-top: 32px; }
	.hero__badges { gap: 8px; }
	.chip--lg { padding: 6px 14px; font-size: 0.875rem; line-height: 18px; }
	.chip--lg .chip__icon { width: 12px; height: 12px; }
}

/* 2. Clients --------------------------------------------------------------- */
.clients__title {
	max-width: 703px;
	margin: 0 auto 64px;
	font-family: var(--font-display);
	font-size: var(--fs-h4);
	line-height: 1.25;
	font-weight: 500;
	text-align: center;
	color: var(--c-primary);
}
.clients__rows {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 40px;
}
.clients__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 40px 80px;
}
.clients__item { display: flex; align-items: center; justify-content: center; }
.clients__logo {
	width: auto;
	height: var(--logo-h, 64px);
	max-width: 290px;
	object-fit: contain;
	transition: filter 0.3s, opacity 0.3s;
}
.clients__item:hover .clients__logo { filter: none; opacity: 1; }
.clients__name {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.25rem;
	color: var(--c-muted);
}

/* Scale logos down so each row of six still fits on one line. */
@media (max-width: 1839px) {
	.clients__row { gap: 32px 56px; }
	.clients__logo { height: calc(var(--logo-h, 64px) * 0.82); max-width: 240px; }
}
@media (max-width: 1439px) {
	.clients__row { gap: 28px 40px; }
	.clients__logo { height: calc(var(--logo-h, 64px) * 0.7); max-width: 200px; }
}
@media (max-width: 1199px) {
	.clients__row { gap: 24px 32px; }
	.clients__logo { height: calc(var(--logo-h, 64px) * 0.6); max-width: 170px; }
}
@media (max-width: 767px) {
	.clients__title { margin-bottom: 40px; }
	.clients__rows { gap: 24px; }
	.clients__row { gap: 24px 36px; }
	.clients__logo { height: calc(var(--logo-h, 64px) * 0.6); max-width: 160px; }
}

/* 3. Product ecosystem ----------------------------------------------------- */
.products__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px;
}
.product-card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	aspect-ratio: 874 / 697;
	overflow: hidden;
	border-radius: var(--radius-lg);
	color: var(--c-white);
	background: var(--c-primary);
	isolation: isolate;
}
.product-card__media { position: absolute; inset: 0; z-index: -2; }
.product-card__img,
.product-card__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s var(--ease);
}
/* Figma: transparent → black gradient over the lower 72% of the card. */
.product-card::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 28.3%, #000 89.2%);
}
.product-card:hover .product-card__img,
.product-card:hover .product-card__video,
.product-card:focus-within .product-card__img,
.product-card:focus-within .product-card__video { transform: scale(1.04); }

.product-card__body {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	padding: 40px;
	text-align: center;
}
.product-card__logo {
	width: auto;
	height: 66px;
	max-width: min(400px, 100%);
	object-fit: contain;
}
.product-card__name {
	font-family: var(--font-display);
	font-size: 2.5rem;
	line-height: 66px;
	font-weight: 600;
}
.product-card__title { color: var(--c-white); }
.product-card__text {
	max-width: 658px;
	font-size: 1rem;
	line-height: 24px;
	color: var(--c-body-light);
}

/* Keep the card tall enough for its text as it narrows. */
@media (max-width: 1599px) {
	.product-card { aspect-ratio: auto; min-height: clamp(560px, 43.6vw, 697px); }
}
@media (max-width: 1199px) {
	.products__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.product-card { min-height: clamp(520px, 56vw, 640px); }
}
@media (max-width: 599px) {
	.product-card { aspect-ratio: auto; min-height: 540px; }
	.product-card__body { padding: 24px; }
	.product-card__logo { height: 48px; }
}

/* 4. About ----------------------------------------------------------------- */
.about__layout {
	display: grid;
	grid-template-columns: minmax(0, 628px) minmax(0, 1fr);
	align-items: center;
	gap: 80px;
	/* Text aligns with the 1288px container; the image runs to the page gutter. */
	padding-left: max(var(--gutter), calc((100% - var(--container)) / 2));
	padding-right: var(--gutter);
}
.about__intro {
	display: flex;
	flex-direction: column;
	gap: 32px;
}
.about__detail {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 40px;
}
.about__text {
	font-size: 1rem;
	line-height: 24px;
	color: var(--c-body);
}
.about__media {
	position: relative;
	aspect-ratio: 826 / 768;
	overflow: hidden;
	border-radius: var(--radius-lg);
}
.about__img,
.about__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.glow--about { left: -68px; top: 0; width: 768px; height: 768px; }

.stats {
	display: grid;
	grid-template-columns: repeat(2, max-content);
	gap: 32px;
	margin-top: 80px;
}
.stats__item {
	display: flex;
	flex-direction: column-reverse;
	justify-content: center;
	gap: 8px;
	min-width: 223px;
	padding-left: 16px;
	border-left: 1px solid var(--c-secondary);
}
.stats__value {
	font-family: var(--font-display);
	font-size: var(--fs-h2);
	line-height: var(--lh-h2);
	font-weight: 700;
	color: var(--c-primary);
	white-space: nowrap;
}
.stats__label {
	font-family: var(--font-display);
	font-size: 1.125rem;
	line-height: 22px;
	font-weight: 500;
	color: var(--c-body);
}

@media (max-width: 1439px) {
	.about__layout { gap: 56px; }
	.stats__item { min-width: 0; }
}
@media (max-width: 1199px) {
	.about__layout {
		grid-template-columns: minmax(0, 1fr);
		padding-inline: var(--gutter);
		max-width: calc(820px + 2 * var(--gutter));
		margin-inline: auto;
	}
	.stats { margin-top: 56px; }
	.about__media { aspect-ratio: 4 / 3; }
}
@media (max-width: 599px) {
	.stats { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 40px; }
	.stats__value { white-space: normal; }
}

/* 5. Why choose us --------------------------------------------------------- */
.why__panel {
	margin-inline: var(--gutter);
	padding-block: var(--section-space);
	color: var(--c-body-light);
	background: var(--c-primary);
	border-radius: var(--radius-xl);
}
.why__panel > .container { max-width: calc(var(--container) + 2 * clamp(20px, 4vw, 64px)); padding-inline: clamp(20px, 4vw, 64px); }
.why .section-head { margin-bottom: 64px; }

.why__grid {
	display: grid;
	grid-template-columns: minmax(0, 580px) minmax(0, 628px);
	justify-content: space-between;
	align-items: center;
	gap: 48px 80px;
}
.why__media {
	position: relative;
	aspect-ratio: 580 / 640;
	overflow: hidden;
	border-radius: var(--radius-lg);
}
.why__img { width: 100%; height: 100%; object-fit: cover; }
.why__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(158, 183, 49, 0.2);
}

.accordion__item { border-bottom: 1px solid #545253; }
.accordion__item:last-child { border-bottom: 0; }
.accordion__item + .accordion__item { padding-top: 24px; }
.accordion__item:not(:last-child) { padding-bottom: 24px; }

.accordion__trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	width: 100%;
	padding: 0;
	text-align: left;
	background: none;
	border: 0;
}
.accordion__title {
	font-family: var(--font-display);
	font-size: var(--fs-h4);
	line-height: 1.25;
	font-weight: 500;
	color: var(--c-white);
	transition: color 0.2s;
}
.accordion__trigger:hover .accordion__title { color: var(--c-secondary); }
.accordion__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 40px;
	height: 40px;
	color: var(--c-primary);
	background: var(--c-white);
	border: 1px solid var(--c-border);
	border-radius: 28px;
	transition: background-color 0.3s, border-color 0.3s, transform 0.3s var(--ease);
}
.accordion__icon svg { width: 24px; height: 24px; }
.accordion__trigger[aria-expanded="true"] .accordion__icon {
	background: var(--c-secondary);
	border-color: var(--c-secondary);
	transform: rotate(45deg);
}
.accordion__panel p {
	max-width: 518px;
	padding-top: 16px;
	font-size: 1rem;
	line-height: 24px;
	color: var(--c-body-light);
}
.accordion__panel:not([hidden]) { animation: panel-in 0.35s var(--ease); }
@keyframes panel-in {
	from { opacity: 0; transform: translateY(-6px); }
	to { opacity: 1; transform: none; }
}

@media (max-width: 1199px) {
	.why__grid { grid-template-columns: minmax(0, 1fr); }
	.why__media { aspect-ratio: 16 / 9; }
}
@media (max-width: 991px) {
	.why__panel { border-radius: var(--radius-lg); }
}
@media (max-width: 599px) {
	.why__panel { margin-inline: 12px; }
	.why .section-head { margin-bottom: 40px; }
	.why__media { aspect-ratio: 4 / 3; }
}

/* 6. Industries ------------------------------------------------------------ */
.section--tint { background: rgba(251, 252, 245, 0.8); }
.industries .section-head__text { max-width: 628px; }
.glow--ind-1 { left: 39%; top: 10px; }
.glow--ind-2 { left: 10px; top: 260px; }
.glow--ind-3 { right: -110px; bottom: 0; }

.industries__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 32px;
}
.industry-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	background: var(--c-white);
	border-radius: var(--radius-md);
	transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.industry-card__media {
	aspect-ratio: 298 / 200;
	overflow: hidden;
}
.industry-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--ease);
}
.industry-card__title {
	min-height: calc(2 * 1.25em + 48px);
	padding: 24px;
}
/* Figma reserves 8px above each card for its hover state (card rises 8px). */
.industries__grid > li { padding-top: 8px; }
.industry-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-card); }
.industry-card:hover .industry-card__img { transform: scale(1.05); }

@media (max-width: 599px) {
	.industries__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
	.industry-card__title { min-height: 0; padding: 14px 16px 16px; font-size: 0.9375rem; overflow-wrap: anywhere; hyphens: auto; }
}
@media (max-width: 379px) {
	.industries__grid { grid-template-columns: minmax(0, 1fr); }
}

/* 7. Case studies ---------------------------------------------------------- */
.case-studies .card__body { gap: 24px; }
.case-studies .card__text,
.news .card__text {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	overflow: hidden;
}
.news .card__text { -webkit-line-clamp: 4; line-clamp: 4; }
.metric {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0 8px;
	margin-top: auto;
	padding: 4px 8px;
	font-size: 1rem;
	line-height: 24px;
	background: var(--c-surface-grey);
	border-radius: var(--radius-sm);
}
.metric__icon { width: 12px; height: 12px; flex: none; }
.metric__value { font-weight: 600; color: var(--c-olive); }
.metric__label { color: var(--c-primary); }

.awards {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 32px;
}
.award {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0 8px;
	padding: 12px 24px;
	background: var(--c-white);
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
}
.award__year { font-weight: 600; color: var(--c-olive-dark); line-height: 24px; }
.award__title { font-weight: 600; color: var(--c-primary); line-height: 24px; }
.award__detail { font-size: 0.875rem; line-height: 18px; color: var(--c-body); }

@media (max-width: 599px) {
	.award { padding: 10px 16px; }
}

/* 8. News ------------------------------------------------------------------ */
.glow--news-1 { right: 0; top: 68px; }
.glow--news-2 { left: 0; top: 371px; }
.news .card__body { min-height: 348px; }

@media (max-width: 767px) {
	.news .card__body { min-height: 0; }
}

/* 9. Partners -------------------------------------------------------------- */
.partners__grid {
	display: grid;
	grid-template-columns: minmax(0, 580px) minmax(0, 628px);
	justify-content: space-between;
	align-items: center;
	gap: 48px 80px;
}
.partners__panels {
	position: relative;
	aspect-ratio: 580 / 640;
	overflow: hidden;
	background: #f2f2f2; /* white with Figma's 5% black overlay */
	border: 1px solid var(--c-border);
	border-radius: var(--radius-lg);
}
.partners__panel {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 24px;
	padding: 40px;
}
.partners__panel:not([hidden]) { animation: panel-fade 0.4s var(--ease); }
@keyframes panel-fade {
	from { opacity: 0; transform: scale(0.98); }
	to { opacity: 1; transform: none; }
}
.partners__logo {
	width: 82.2%;
	max-height: 70%;
	object-fit: contain;
	mix-blend-mode: multiply;
}
.partners__logo--transparent { mix-blend-mode: normal; }
.partners__placeholder {
	font-family: var(--font-display);
	font-size: clamp(2rem, 1.4rem + 2vw, 3.5rem);
	line-height: 1.1;
	font-weight: 700;
	text-align: center;
	color: var(--c-primary);
}
.partners__visit {
	font-weight: 600;
	color: var(--c-accent);
	text-decoration: underline;
	text-underline-offset: 3px;
}
.partners .section-head { margin-bottom: 68px; }
.partners__list {
	display: grid;
	grid-template-columns: minmax(0, 300px) minmax(0, 300px);
	grid-template-rows: repeat(5, 30px);
	grid-auto-flow: column;
	justify-content: space-between;
	align-items: start;
	gap: 24px 28px;
}
.partners__tab:nth-child(-n+5) { grid-column: 1; }
.partners__tab:nth-child(n+6) { grid-column: 2; }
.partners__tab:nth-child(6) { grid-row: 1; }
.partners__tab:nth-child(7) { grid-row: 2; }
.partners__tab {
	padding: 0;
	font-family: var(--font-display);
	font-size: var(--fs-h4);
	line-height: 1.25;
	font-weight: 500;
	text-align: left;
	color: var(--c-body);
	background: none;
	border: 0;
	transition: color 0.2s;
}
.partners__tab:hover { color: var(--c-primary); }
.partners__tab[aria-selected="true"] {
	background: var(--gradient);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
}

@media (max-width: 1199px) {
	.partners__grid { grid-template-columns: minmax(0, 1fr); }
	.partners__content { order: -1; }
	.partners .section-head { margin-bottom: 40px; }
	.partners__list { display: flex; flex-wrap: wrap; gap: 12px 28px; }
	.partners__panels { aspect-ratio: 16 / 9; }
}
@media (max-width: 599px) {
	.partners__panels { aspect-ratio: 4 / 3; }
	.partners__list { gap: 12px 20px; }
	.partners__tab { font-size: 1.125rem; }
}

/* 10. Testimonials --------------------------------------------------------- */
.testimonials { background: var(--c-tint-strong); }
.testimonials__title { max-width: 1048px; }
.testimonial__quote p {
	max-width: 958px;
	font-family: var(--font-display);
	font-size: var(--fs-h3);
	line-height: 1.25;
	font-weight: 700;
	color: var(--c-body);
}
.testimonial__author {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: 24px;
	padding-right: 160px; /* room for the arrows on the same line */
	min-height: 56px;
}
.testimonial__avatar {
	width: 48px;
	height: 48px;
	flex: none;
	object-fit: cover;
	border-radius: 50%;
}
.testimonial__avatar--empty {
	display: grid;
	place-items: center;
	font-family: var(--font-display);
	font-weight: 700;
	color: var(--c-white);
	background: var(--gradient);
}
.testimonial__meta { display: flex; flex-direction: column; gap: 2px; }
.testimonial__name { font-weight: 600; line-height: 24px; color: var(--c-primary); }
.testimonial__role { font-size: 0.875rem; line-height: 18px; color: var(--c-muted); }

.slider { position: relative; }
.slider__slide.is-active { animation: panel-in 0.45s var(--ease); }
.slider__nav {
	position: absolute;
	right: 0;
	bottom: 0;
	display: flex;
	gap: 24px;
}
.round-btn--prev svg { transform: scaleX(-1); }

@media (max-width: 599px) {
	.testimonial__author { padding-right: 0; }
	.slider__nav { position: static; margin-top: 32px; gap: 16px; }
	.round-btn { width: 48px; height: 48px; }
}

/* 11. Contact -------------------------------------------------------------- */
.contact {
	isolation: isolate;
	overflow: hidden;
	background: var(--c-forest);
}
.contact__bg {
	position: absolute;
	inset: 0;
	z-index: -2;
	opacity: 0.2;
}
.contact__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: bottom;
}
.contact::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, rgba(0, 33, 16, 0.8) 28.2%, rgba(0, 33, 16, 0) 83.8%);
}
.contact__grid {
	display: grid;
	grid-template-columns: minmax(0, 628px) minmax(0, 580px);
	justify-content: space-between;
	align-items: center;
	gap: 48px 80px;
}
.contact__intro {
	display: flex;
	flex-direction: column;
	gap: 32px;
}
.contact__title { color: var(--c-white); }
.contact__detail {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 40px;
}
.contact__text {
	max-width: 517px;
	font-size: 1rem;
	line-height: 24px;
	color: var(--c-body-light);
}
.contact__card {
	padding: 40px;
	background: var(--c-white);
	border-radius: var(--radius-md);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}
.contact__card-head {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 32px;
}
.contact__card-head p { color: var(--c-body); }

.form { display: flex; flex-direction: column; gap: 16px; }
.form .btn--block { margin-top: 16px; }
.form__field { display: flex; flex-direction: column; gap: 8px; }
.form__field label { font-size: 1rem; line-height: 24px; color: var(--c-primary); }
.form__field input,
.form__field textarea {
	width: 100%;
	padding: 9px 16px;
	font-size: 1rem;
	line-height: 24px;
	color: var(--c-primary);
	background: var(--c-white);
	border: 1px solid var(--c-border);
	border-radius: var(--radius-sm);
	transition: border-color 0.2s, box-shadow 0.2s;
}
.form__field textarea { height: 88px; min-height: 88px; resize: vertical; }
.form__field input::placeholder,
.form__field textarea::placeholder { color: var(--c-muted); opacity: 1; }
.form__field input:focus,
.form__field textarea:focus {
	outline: none;
	border-color: var(--c-accent);
	box-shadow: 0 0 0 3px rgba(98, 164, 32, 0.18);
}
.form__field.has-error input,
.form__field.has-error textarea { border-color: #c62828; }
.form__error { font-size: 0.875rem; line-height: 18px; color: #c62828; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status:empty { display: none; }
.form__status { font-size: 0.9375rem; line-height: 22px; padding: 12px 16px; border-radius: var(--radius-sm); }
.form__status.is-success { color: #2f5b0b; background: var(--c-tint-strong); }
.form__status.is-error { color: #8e1c1c; background: #fdecec; }
.form.is-busy .btn { opacity: 0.7; pointer-events: none; }

@media (max-width: 991px) {
	.contact__grid { grid-template-columns: minmax(0, 1fr); }
	.contact::before { background: linear-gradient(180deg, rgba(0, 33, 16, 0.85) 30%, rgba(0, 33, 16, 0.35) 100%); }
}
@media (max-width: 599px) {
	.contact__card { padding: 24px 20px; }
	.contact__detail { gap: 32px; }
}
/* Keep inactive partner logos out of the panel when selection changes. */
.partners__panel[hidden]{display:none}
@media(prefers-reduced-motion:reduce){
html:not(.eimsky-motion-full) .partners__panel:not([hidden]){animation:none}
}

/* Crossfade the grayscale client logo to its exact Figma color variant. */
.clients__art{position:relative;display:inline-block;line-height:0;transition:transform .4s var(--ease)}
.clients__art .clients__logo{display:block;transition:opacity .32s ease}
.clients__art .clients__logo--hover{position:absolute;left:50%;top:50%;max-width:100%;height:100%;transform:translate(-50%,-50%);opacity:0;pointer-events:none}
.clients__item:hover .clients__art,.clients__item:focus-within .clients__art{transform:scale(1.055)}
.clients__item:hover .clients__art--has-hover>.clients__logo:not(.clients__logo--hover),.clients__item:focus-within .clients__art--has-hover>.clients__logo:not(.clients__logo--hover){opacity:0}
.clients__item:hover .clients__logo--hover,.clients__item:focus-within .clients__logo--hover{opacity:1}
.industry-card{border:1px solid transparent;transition:transform .35s var(--ease),box-shadow .35s var(--ease),border-color .3s ease}
.industry-card:hover,.industry-card:focus-within{border-color:#b0cb36}
.case-studies .card__link,.news .card__link{border:1px solid var(--c-border);transition:transform .35s var(--ease),box-shadow .35s var(--ease),border-color .3s ease}
.case-studies .card:hover .card__link,.case-studies .card:focus-within .card__link,.news .card:hover .card__link,.news .card:focus-within .card__link{border-color:#b0cb36;transform:translateY(-8px);box-shadow:var(--shadow-card)}
.case-studies .card:hover .card__img,.news .card:hover .card__img{transform:scale(1.04)}

@media(prefers-reduced-motion:reduce){
html:not(.eimsky-motion-full) .clients__art,html:not(.eimsky-motion-full) .clients__art .clients__logo,html:not(.eimsky-motion-full) .industry-card,html:not(.eimsky-motion-full) .case-studies .card__link,html:not(.eimsky-motion-full) .news .card__link,html:not(.eimsky-motion-full) .news__arrow{transition:none}
}
.case-studies .card:hover .card__link { border-color: #b0cb36; transform: translateY(-8px); box-shadow: var(--shadow-card); }
.case-studies .card:hover .card__img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) {
	.case-studies .card__link, .case-studies .card__img { transition: none; }
	.case-studies .card:hover .card__link, .case-studies .card:hover .card__img { transform: none; }
}
