@charset "UTF-8";
/* =============================================================================
   Stats band. [figma] node 747:4432 — 1440x693.

   A full-bleed photo under a dark gradient, with a 338px blurred veil across
   the bottom half carrying four figures. Columns at x=75 / 405 / 735 / 1065 —
   300px wide on a 330px pitch.

   The veil is the shared .veil primitive (see base.css): Figma's background
   blur is masked by the layer's own alpha, so a plain backdrop-filter would
   leave a hard seam across the photo.
   ========================================================================== */

.stats {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 26rem;
	padding-block: var(--space-24) var(--space-16);
	color: var(--color-on-dark);
	overflow: hidden;
	isolation: isolate;
}

@media (min-width: 64em) {
	.stats {
		min-height: 43.3125rem;              /* 693 [figma] */
	}
}

.stats > picture {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.stats__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* [figma] linear-gradient(-6.32deg, rgba(0,0,0,0.6) 7%, rgba(0,0,0,0) 164%) */
.stats__scrim {
	position: absolute;
	inset: 0;
	z-index: 1;
	background-image: linear-gradient(186.32deg, rgb(0 0 0 / 0) 0%, rgb(0 0 0 / 0.6) 93%);
}

/* [figma] 338 of 693 = 48.8% of the band, 20px blur, fading to rgba(0,33,56,.7) */
.stats__veil {
	--veil-height: 48.8%;
	--veil-color: rgb(0 33 56 / 0.7);
	--veil-blur: 20px;

	z-index: 2;
}

/* Phones (Domagoj, 2026-09-25): taller, and darker. At 390 the four figures
   stack two by two and the top pair lands on the bright sky of the photo,
   where the drawn 0→60% ramp is still almost clear. */
@media (max-width: 47.99em) {
	.stats {
		min-height: 34rem;
		padding-block: var(--space-32) var(--space-14);
	}

	.stats__scrim {
		background-image: linear-gradient(
			to bottom,
			color-mix(in srgb, var(--color-navy-abyss) 35%, transparent) 0%,
			color-mix(in srgb, var(--color-navy-abyss) 60%, transparent) 45%,
			color-mix(in srgb, var(--color-navy-abyss) 85%, transparent) 100%
		);
	}

	.stats__veil {
		--veil-height: 75%;
	}
}

.stats__inner {
	position: relative;
	z-index: 3;
	width: 100%;
}

.stats__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--space-10) var(--space-8);
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 64em) {
	.stats__list {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 1.875rem;                       /* 30 [figma] */
	}
}

/* [figma] Lora Regular 50/70 white. Drawn in Montaga for "100%" only — the
   other three are already Lora, so all four normalise to Lora. */
.stats__value {
	display: block;
	font-family: var(--font-display);
	font-size: var(--fs-stat);
	line-height: var(--lh-stat);
	color: var(--color-on-dark);
}

/* [figma] Lora Regular 18/24 white, 300px wide. */
.stats__note {
	margin-block-start: var(--space-10);
	max-width: 42rem;
	font-family: var(--font-body);
	font-size: var(--fs-ui-xs);
	font-style: italic;
	line-height: 1.5;
	color: var(--color-on-dark-muted);
}

/* One line from 1024 (Domagoj, 2026-11-17). */
@media (min-width: 64em) {
	.stats__note { max-width: none; }
}

.stats__label {
	display: block;
	margin-block-start: var(--space-3);
	max-width: 18.75rem;
	font-family: var(--font-display);
	font-size: var(--fs-copy-18);
	line-height: 1.333;                      /* 24 / 18 [figma] */
	color: var(--color-on-dark);
}
