/* Massaa Toolkit — Hero: full-bleed photo slideshow under a berry wash,
   centred copy, icon info row, arcade-scalloped bottom edge. */
.ms.ms-hero {
	--ms-text: #fbeaf2;
	--ms-muted: rgba(251, 234, 242, .82);
	--ms-brass: #e0b072;
	--ms-pink: #e30e7d;
	--ms-pink-h: #c80a6c;
	--ms-wash: #3e0b27;
	--ms-next: #fff;
	--ms-font-display: "Barlow Condensed", "IBM Plex Sans Arabic", sans-serif;
	--ms-font-body: "IBM Plex Sans Arabic", system-ui, sans-serif;
	--ms-pad: 40px;
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: center;
	min-height: min(92vh, 900px);
	padding: 170px 0 120px;
	overflow: hidden;
	background: var(--ms-wash);
	color: var(--ms-text);
	font-family: var(--ms-font-body);
	font-size: 16px;
	line-height: 1.6;
	text-align: center;
}
.ms.ms-hero *,
.ms.ms-hero *::before,
.ms.ms-hero *::after { box-sizing: border-box; }
.ms.ms-hero :where(h1, p, ul, li) { margin: 0; padding: 0; }
.ms.ms-hero :where(ul) { list-style: none; }
.ms.ms-hero a { color: inherit; text-decoration: none; }
.ms.ms-hero a:focus-visible { outline: 2px solid var(--ms-brass); outline-offset: 3px; border-radius: 6px; }

/* photos */
.ms-hero .ms-h__bg { position: absolute; inset: 0; z-index: -2; }
.ms-hero .ms-h__slide {
	position: absolute;
	inset: 0;
	background: center / cover no-repeat;
	opacity: 0;
	transform: scale(1.08);
	transition: opacity 1.6s ease, transform 8s ease-out;
}
.ms-hero .ms-h__slide.is-on { opacity: 1; transform: scale(1); }
/* berry wash: strongest behind the text and at the bottom */
.ms-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(70% 60% at 50% 48%, color-mix(in srgb, var(--ms-wash) 78%, transparent) 0%, color-mix(in srgb, var(--ms-wash) 45%, transparent) 100%),
		linear-gradient(180deg, color-mix(in srgb, var(--ms-wash) 55%, transparent) 0%, color-mix(in srgb, var(--ms-wash) 20%, transparent) 40%, color-mix(in srgb, var(--ms-wash) 85%, transparent) 100%);
}
/* arcade edge: a row of round arches cut into the next section's colour */
.ms-hero.has-scallop::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 34px;
	background: radial-gradient(circle at 50% 0, transparent 30px, var(--ms-next) 31px) 0 0 / 72px 34px repeat-x;
	pointer-events: none;
}

.ms-hero .ms-h__wrap { position: relative; width: 100%; max-width: 1000px; margin: 0 auto; padding: 0 var(--ms-pad); }
.ms.ms-hero .ms-h__badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 28px;
	padding: 8px 18px 8px 14px;
	border: 1px solid rgba(224, 176, 114, .6);
	border-radius: 40px;
	background: rgba(62, 11, 39, .35);
	color: var(--ms-brass);
	font-size: 14px;
	font-weight: 600;
	backdrop-filter: blur(6px);
}
.ms-hero .ms-h__badge span { width: 8px; height: 8px; border-radius: 50%; background: var(--ms-brass); }
.ms.ms-hero .ms-h__title {
	margin: 0 auto;
	max-width: 14ch;
	color: #fff;
	font-family: var(--ms-font-display);
	font-size: clamp(60px, 9vw, 132px);
	font-weight: 600;
	line-height: .9;
	letter-spacing: -.015em;
	text-transform: none;
	text-shadow: 0 2px 30px rgba(30, 4, 18, .35);
}
.ms.ms-hero .ms-h__lead { max-width: 56ch; margin: 28px auto 0; color: var(--ms-muted); font-size: 18px; }
.ms-hero .ms-h__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 38px; }
.ms.ms-hero .ms-h__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 56px;
	padding: 0 32px;
	border: 1px solid transparent;
	border-radius: 60px;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	transition: background-color .2s, border-color .2s;
}
.ms.ms-hero .ms-h__btn--solid { background: var(--ms-pink); color: #fff; }
.ms.ms-hero .ms-h__btn--solid:hover { background: var(--ms-pink-h); color: #fff; }
.ms.ms-hero .ms-h__btn--line { border-color: rgba(251, 234, 242, .55); background: rgba(62, 11, 39, .25); color: #fff; backdrop-filter: blur(6px); }
.ms.ms-hero .ms-h__btn--line:hover { border-color: #fff; background: rgba(251, 234, 242, .12); color: #fff; }

/* info row */
.ms-hero .ms-h__info { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 32px; margin-top: 44px; }
.ms-hero .ms-h__info a,
.ms-hero .ms-h__item { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: 15px; font-weight: 500; }
.ms-hero .ms-h__info a:hover { color: var(--ms-brass); }
.ms-hero .ms-h__info svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--ms-brass); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ms.ms-hero .ms-h__k { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 767px) {
	.ms.ms-hero { --ms-pad: 20px; min-height: 0; padding: 150px 0 96px; }
	.ms.ms-hero .ms-h__badge { font-size: 13px; margin-bottom: 20px; }
	.ms.ms-hero .ms-h__title { font-size: 56px; }
	.ms.ms-hero .ms-h__lead { font-size: 16px; margin-top: 20px; }
	.ms-hero .ms-h__actions { flex-direction: column; margin-top: 28px; }
	.ms.ms-hero .ms-h__btn { width: 100%; }
	.ms-hero .ms-h__info { flex-direction: column; align-items: center; gap: 12px; margin-top: 32px; }
	.ms-hero.has-scallop::after { height: 22px; background-size: 46px 22px; background-image: radial-gradient(circle at 50% 0, transparent 19px, var(--ms-next) 20px); }
}

@media (prefers-reduced-motion: reduce) {
	.ms-hero .ms-h__slide { transform: none; }
	.ms.ms-hero *, .ms.ms-hero *::before, .ms.ms-hero *::after { transition: none !important; }
}
