.bqw {
	--bqw-inset: 80px;
	position: relative;
	box-sizing: border-box;
	width: 100%;
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.bqw *, .bqw *::before, .bqw *::after { box-sizing: border-box; }

/* Eyebrow */
.bqw__eyebrow {
	position: absolute;
	top: 72px;
	inset-inline-start: var(--bqw-inset);
	display: flex;
	align-items: center;
	gap: 14px;
}
.bqw__eyebrow-line { width: 34px; height: 1px; display: block; }

/* Counter */
.bqw__counter {
	position: absolute;
	top: 56px;
	inset-inline-end: var(--bqw-inset);
	direction: ltr;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
}
.bqw__counter-row { display: flex; align-items: baseline; gap: 12px; }
.bqw__number { display: block; }
.bqw__flair { display: flex; align-items: center; gap: 8px; margin-inline-start: 4px; }
.bqw__diamond { width: 8px; height: 8px; transform: rotate(45deg); display: block; }
.bqw__flair-line { width: 64px; height: 1px; display: block; }

/* Stage / slides */
.bqw__stage {
	display: grid;
	width: 100%;
	padding: 150px calc(var(--bqw-inset) * 2.5) 150px;
	justify-items: center;
	align-items: center;
}
.bqw__slide {
	grid-area: 1 / 1;
	margin: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 44px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(14px);
	transition: opacity .5s ease, transform .5s ease, visibility 0s linear .5s;
}
.bqw__slide.is-active {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition-delay: 0s;
}
.bqw__mark { display: block; line-height: .6; height: .47em; font-family: 'Amiri', serif; font-size: 150px; }
.bqw__quote { margin: 0; padding: 0; border: 0; max-width: 880px; }
.bqw__ref { display: flex; align-items: center; gap: 18px; }
.bqw__ref-line { width: 48px; height: 1px; display: block; }

/* Navigation */
.bqw__nav {
	position: absolute;
	bottom: 56px;
	inset-inline: var(--bqw-inset);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.bqw__ticks { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; }
.bqw__tick {
	appearance: none;
	border: 0;
	padding: 8px 0;
	margin: 0;
	width: 18px;
	height: 3px;
	box-sizing: content-box;
	background-clip: content-box;
	border-radius: 0;
	cursor: pointer;
	transition: width .3s ease, background-color .3s ease;
}
.bqw__tick.is-active { width: 44px; }
.bqw__btns { display: flex; gap: 10px; }
.bqw__btn {
	appearance: none;
	width: 52px;
	height: 52px;
	padding: 0;
	margin: 0;
	border: 1px solid;
	border-radius: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
/* Arrows are drawn for RTL (prev points right, next points left); mirror them for LTR */
.bqw[dir="ltr"] .bqw__btn svg { transform: scaleX(-1); }

@media (max-width: 767px) {
	.bqw { --bqw-inset: 24px; }
	.bqw__eyebrow { top: 32px; }
	.bqw__counter { top: 24px; }
	.bqw__stage { padding: 170px 24px 150px; }
	.bqw__slide { gap: 28px; }
	.bqw__mark { font-size: 90px; }
	.bqw__nav { bottom: 28px; flex-wrap: wrap; justify-content: center; }
	.bqw__hint { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	.bqw__slide, .bqw__tick, .bqw__btn { transition: none; }
}
