.mbn {
	--mbn-red: #a50e0e;
	--mbn-white: #fff;
	--mbn-line: rgba(255, 255, 255, .28);
	--mbn-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
	--mbn-head: "Montserrat", system-ui, sans-serif;
	--mbn-gutter: clamp(20px, 6.25vw, 80px);
	--mbn-bottom: clamp(32px, 7vw, 92px);

	position: relative;
	width: 100%;
	height: 100vh;
	height: 100svh;
	min-height: 640px;
	max-height: 900px;
	overflow: hidden;
	background: #111;
	color: var(--mbn-white);
}

/* ---------- Slide ---------- */
.mbn__slide {
	position: relative;
	height: 100%;
	overflow: hidden;
	background: #111;
}
.mbn__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	transform: scale(1.06);
	transition: transform 7s ease-out;
}
.swiper-slide-active .mbn__bg { transform: scale(1); }

/* Darken the left side so the headline stays readable over any photo. */
.mbn__slide::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(10, 12, 16, .82) 0%, rgba(10, 12, 16, .55) 45%, rgba(10, 12, 16, .25) 100%),
		linear-gradient(0deg, rgba(10, 12, 16, .6) 0%, rgba(10, 12, 16, 0) 40%);
	pointer-events: none;
}

.mbn__inner {
	position: relative;
	z-index: 1;
	height: 100%;
	max-width: 1440px;
	margin: 0 auto;
	padding: clamp(96px, 12vw, 150px) var(--mbn-gutter) var(--mbn-bottom);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	box-sizing: border-box;
}

/* ---------- Content ---------- */
.mbn__eyebrow {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 0 0 clamp(18px, 2.5vw, 28px);
	font: 400 clamp(11px, 1.2vw, 15px)/1.2 var(--mbn-mono);
	letter-spacing: .35em;
	text-transform: uppercase;
}
.mbn__eyebrow::before {
	content: "";
	flex: 0 0 48px;
	height: 3px;
	background: var(--mbn-red);
}

.mbn__title {
	margin: 0;
	max-width: 12ch;
	font: 800 clamp(40px, 5.4vw, 72px)/.98 var(--mbn-head);
	letter-spacing: -.01em;
	text-transform: uppercase;
	color: var(--mbn-white);
}
/* WYSIWYG output: paragraphs become lines, bold text becomes the red highlight. */
.mbn__title p { margin: 0; }
.mbn__title strong,
.mbn__title b { font-weight: inherit; color: var(--mbn-red); }

.mbn__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-top: clamp(32px, 4.5vw, 56px);
}
.mbn__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 64px;
	padding: 0 40px;
	box-sizing: border-box;
	border: 2px solid transparent;
	font: 500 14px/1 var(--mbn-mono);
	letter-spacing: .2em;
	text-transform: uppercase;
	text-decoration: none;
	transition: background-color .2s, color .2s, border-color .2s;
}
.mbn__btn--primary { background: var(--mbn-red); color: var(--mbn-white); }
.mbn__btn--primary:hover { background: #c01414; color: var(--mbn-white); }
.mbn__btn--ghost { border-color: var(--mbn-white); color: var(--mbn-white); }
.mbn__btn--ghost:hover { background: var(--mbn-white); color: #111; }
.mbn__btn:focus-visible { outline: 2px solid var(--mbn-white); outline-offset: 3px; }

/* ---------- Stats ---------- */
.mbn__stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin: clamp(40px, 5vw, 72px) 0 0;
	padding: 32px 120px 0 0; /* right space keeps the bullets clear */
	border-top: 1px solid var(--mbn-line);
}
.mbn__stat dt {
	margin: 0 0 8px;
	font: 500 13px/1.2 var(--mbn-mono);
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--mbn-red);
}
.mbn__stat dd {
	margin: 0;
	font: 400 14px/1.4 var(--mbn-mono);
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--mbn-white);
}

/* ---------- Pagination ---------- */
.mbn__pagination.swiper-pagination-bullets {
	position: absolute;
	z-index: 2;
	left: auto;
	top: auto;
	right: max(var(--mbn-gutter), calc((100% - 1440px) / 2 + var(--mbn-gutter)));
	bottom: calc(var(--mbn-bottom) + 12px);
	width: auto;
	display: flex;
	gap: 8px;
}
.mbn__pagination .swiper-pagination-bullet {
	width: 12px;
	height: 12px;
	margin: 0 !important;
	border: 1.5px solid var(--mbn-white);
	background: transparent;
	opacity: 1;
	transition: background-color .2s;
}
.mbn__pagination .swiper-pagination-bullet-active { background: var(--mbn-white); }

/* ---------- Entrance animation ---------- */
.mbn__content > *,
.mbn__stats {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity .7s ease, transform .7s ease;
}
.swiper-slide-active .mbn__content > *,
.swiper-slide-active .mbn__stats { opacity: 1; transform: none; }
.swiper-slide-active .mbn__title   { transition-delay: .1s; }
.swiper-slide-active .mbn__actions { transition-delay: .2s; }
.swiper-slide-active .mbn__stats   { transition-delay: .3s; }
/* Before Swiper starts (or with one slide) show the content immediately. */
.mbn:not(.swiper-initialized) .mbn__content > *,
.mbn:not(.swiper-initialized) .mbn__stats { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	.mbn__bg,
	.mbn__content > *,
	.mbn__stats { transition: none !important; transform: none !important; }
	.mbn__content > *,
	.mbn__stats { opacity: 1; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.mbn { max-height: none; }
	.mbn__stats { padding-right: 0; }
	.mbn__pagination.swiper-pagination-bullets { bottom: 28px; }
	.mbn__inner { padding-bottom: calc(var(--mbn-bottom) + 24px); }
}

@media (max-width: 767px) {
	.mbn { height: auto; min-height: 100svh; }
	.mbn__slide { height: auto; min-height: 100svh; }
	.mbn__slide::after {
		background: linear-gradient(0deg, rgba(10, 12, 16, .9) 0%, rgba(10, 12, 16, .6) 55%, rgba(10, 12, 16, .45) 100%);
	}
	.mbn__inner { min-height: 100svh; padding-top: 112px; padding-bottom: 72px; }
	.mbn__title { max-width: none; }
	.mbn__actions { flex-direction: column; gap: 12px; }
	.mbn__btn { width: 100%; min-height: 56px; padding: 0 24px; font-size: 13px; }
	.mbn__stats { grid-template-columns: 1fr; gap: 16px; padding-top: 24px; }
	.mbn__pagination.swiper-pagination-bullets { left: var(--mbn-gutter); right: auto; bottom: 28px; }
}
