.testi {
	--testi-bg: #F9F7F2;
	--testi-accent: #B89C86;   /* placeholder: eyebrow */
	--testi-mark: #E6E1D6;     /* placeholder: quote mark */
	--testi-text: #2B2B2B;     /* placeholder */
	--testi-muted: #8A857C;    /* placeholder */
	--testi-line: #E3DFD5;
	--testi-bar: #BDBAB3;
	--testi-btn: #EAE5DA;

	width: 100%;
	background: var(--testi-bg);
	padding: 70px 0;
}

.testi__inner {
	display: grid;
	grid-template-columns: 25% 1fr;
	column-gap: 0;
	padding-top: 28px;
	border-top: 1px solid var(--testi-line);
}

/* Left column */
.testi__eyebrow {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 40px;
	font: 400 10px/1 'Jost', sans-serif;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--testi-accent);
}
.testi__line { display: block; width: 24px; height: 1px; background: currentColor; opacity: .6; }
.testi__mark {
	display: block;
	padding-left: 24px;
	font: 700 120px/.8 Georgia, 'Times New Roman', serif;
	color: var(--testi-mark);
	user-select: none;
}

/* Stacked slides: all sit in one grid cell, so height = tallest slide */
.testi__stack { display: grid; }
.testi__slide,
.testi__author {
	grid-area: 1 / 1;
	opacity: 0;
	visibility: hidden;
	transition: opacity .5s ease, visibility .5s;
}
.testi__slide.is-active,
.testi__author.is-active { opacity: 1; visibility: visible; }

.testi__slide { margin: 0; align-self: start; }
.testi__quote {
	margin: 0;
	max-width: 900px;
	font: 400 clamp(24px, 2.6vw, 34px)/1.35 'Cormorant Garamond', serif;
	color: var(--testi-text);
}

/* Progress */
.testi__progress {
	position: relative;
	height: 1px;
	margin: 44px 0 26px;
	background: var(--testi-line);
}
.testi__progress-bar {
	position: absolute;
	top: -1px;
	left: 0;
	height: 3px;
	background: var(--testi-bar);
	transition: left .5s ease;
}

/* Author + arrows */
.testi__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.testi__authors { flex: 1; min-width: 0; }
.testi__author { display: flex; align-items: center; gap: 14px; }

.testi__avatar {
	flex: 0 0 auto;
	width: 48px;
	height: 48px;
	display: grid;
	place-items: center;
	overflow: hidden;
	background: var(--testi-btn);
	font: 500 16px/1 'Jost', sans-serif;
	color: var(--testi-text);
}
.testi__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }

.testi__who { display: flex; flex-direction: column; gap: 4px; }
.testi__name { font: 500 14px/1.2 'Jost', sans-serif; color: var(--testi-text); }
.testi__meta { font: 300 11px/1.2 'Jost', sans-serif; color: var(--testi-muted); }

.testi__nav { display: flex; gap: 8px; flex: 0 0 auto; }
.testi__btn {
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--testi-text);
	cursor: pointer;
	transition: background .2s ease;
}
.testi__btn.is-primary,
.testi__btn:hover { background: var(--testi-btn); }
.testi__btn:focus-visible { outline: 1px solid var(--testi-accent); outline-offset: 2px; }

/* Tablet */
@media (max-width: 991px) {
	.testi { padding: 56px 0; }
	.testi__inner { grid-template-columns: 22% 1fr; }
	.testi__mark { font-size: 90px; padding-left: 0; }
	.testi__progress { margin: 32px 0 22px; }
}

/* Mobile */
@media (max-width: 575px) {
	.testi { padding: 44px 0; }
	.testi__inner { grid-template-columns: 1fr; }
	.testi__eyebrow { margin-bottom: 16px; }
	.testi__mark { font-size: 72px; margin-bottom: 8px; }
	.testi__avatar { width: 40px; height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
	.testi__slide, .testi__author, .testi__progress-bar { transition: none; }
}