/**
 * MediaOne Widgets — Hero section.
 *
 * Replaces the Tailwind utility soup in the original block. Type scales with
 * clamp() instead of lg:/xl: breakpoint classes, so it is fluid rather than
 * stepped, and the stats row wraps instead of overflowing.
 */

.mow-hero {
	background: var(--mow-hero-bg, var(--mow-cream));

	/* One value drives every alignment in the section. `text-align`,
	   `align-items` and `justify-content` all accept start/center/end, so the
	   alignment control writes this once and everything follows — including the
	   blocks that were previously centred by `margin-inline: auto`, which
	   text-align alone could never move. */
	--mow-align: center;
}

.mow-hero__inner {
	display: flex;
	flex-direction: column;
	align-items: var(--mow-align);
	padding-block: 5rem 0;
	text-align: var(--mow-align);
}

/* Award pill */
.mow-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 1rem;
	margin-bottom: 1.5rem;
	border-radius: 9999px;
	font-size: 0.875rem;
	font-weight: 600;
	background: rgba(255, 102, 0, 0.1);
	color: var(--mow-orange);
	border: 1px solid rgba(255, 102, 0, 0.3);
}

.mow-hero__title {
	font-size: clamp(2rem, 1.35rem + 2.75vw, 3.75rem);
	font-weight: 900;
	line-height: 1.1;
	max-width: 48rem;
}

.mow-hero__sub {
	font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
	line-height: 1.7;
	color: var(--mow-muted);
	max-width: 42rem;
	margin: 1.25rem 0 2rem;
}

/* CTA row — stacks on phones, side by side from 640px. */
.mow-hero__ctas {
	display: flex;
	flex-direction: column;
	align-items: var(--mow-align);
	justify-content: var(--mow-align);
	gap: 1rem;
	margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
	.mow-hero__ctas {
		flex-direction: row;
	}
}

.mow-hero__play {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	text-decoration: none;
	color: var(--mow-muted);
	font-weight: 500;
}

.mow-hero__play-dot {
	width: 3.5rem;
	height: 3.5rem;
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	border-radius: 50%;
	box-shadow: 0 4px 6px -1px rgba(0, 14, 62, 0.12);
	color: var(--mow-blue);
}

.mow-hero__play-dot svg {
	width: 0.875rem;
	height: 0.875rem;
	margin-left: 2px;
	fill: currentColor;
}

/* Stats — auto-fit grid so four items never overflow a 375px screen.
   `width: 100%` is load-bearing: .mow-hero__inner is a flex column with
   `align-items: var(--mow-align)`, so its children size to their content. Without
   this the grid collapses to one max-content column and the four stats stack
   vertically. */
.mow-hero__stats {
	width: 100%;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(7rem, max-content));
	justify-content: var(--mow-align);
	gap: 1.5rem 2rem;
	margin-bottom: 3rem;
}

.mow-hero__stat-value {
	font-family: var(--mow-font-head);
	font-size: 1.5rem;
	font-weight: 900;
	color: var(--mow-deep);
}

.mow-hero__stat-suffix {
	color: var(--mow-orange);
}

.mow-hero__stat-label {
	font-size: 0.75rem;
	font-weight: 500;
	color: var(--mow-faint);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

/* Hero image */
.mow-hero__media {
	width: 100%;
	max-width: 960px;
	border-radius: var(--mow-radius);
	overflow: hidden;
	box-shadow: 0 24px 80px rgba(0, 14, 62, 0.18);
}

.mow-hero__media img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
	object-position: center top;
}

/* Wave divider */
.mow-hero__wave {
	position: relative;
	z-index: 40;
	margin-top: -4px;
	color: var(--mow-wave-color, #fff);
	line-height: 0;
}

.mow-hero__wave svg {
	display: block;
	width: 100%;
	height: 6rem;
}

@media (min-width: 1280px) {
	.mow-hero__wave svg {
		height: 10rem;
	}
}

.mow-hero__wave-fill {
	width: 100%;
	height: 4rem;
	margin-top: -1px;
	background: currentColor;
}
