/* Hero layout "wide-photo" (parts/sections/hero/wide-photo.php): B1-11 Option B2, Figma 427:951
   (desktop 1440) and 427:1048 (mobile 390). Every rule is scoped to .hero--wide-photo, so no other
   hero changes. The name sorts after every other section sheet, so these rules win ties with the
   shared hero rules (sections.css, zz-*, zzzzzz-*). */

/* ---------------------------------------------------------------- Phone (Figma 427:1048) */
.hero.hero--wide-photo { padding: 24px 0 44px; }
.hero--wide-photo .hwp { display: flex; flex-direction: column; align-items: stretch; gap: 20px; }

/* Intro: left aligned. Crumb to chip 12, then 20 between items. The copy box stays full width
   (it is a size container, zzzzzz-a11y-resize.css section 12). */
.hero--wide-photo .hwp__copy { align-items: flex-start; text-align: left; gap: 20px; width: 100%; }
.hero--wide-photo .hwp__copy > .hero__chip { margin-top: -8px; }
.hero--wide-photo .hwp__copy .chip { align-self: auto; }
.hero.hero--wide-photo .hwp__copy .h1 { font-size: 38px; line-height: 42px; letter-spacing: -.9px; max-width: none; }
.hero.hero--wide-photo .hwp__copy .hero__sub { font-size: 16px; line-height: 26px; max-width: none; }
.hero--wide-photo .hwp__copy .hero__btns { width: 100%; }
/* Narrow phones: smaller H1 so "M-NCPPC features" still fits one line (3 lines, as at 390). */
@media (max-width: 389px) { .hero.hero--wide-photo .hwp__copy .h1 { font-size: 36px; line-height: 40px; } }
@media (max-width: 359px) { .hero.hero--wide-photo .hwp__copy .h1 { font-size: 32px; line-height: 36px; } }

/* Photo card: full width, 300 tall, radius 20, the site card shadow plus a 1px ink line. */
.hero--wide-photo .hwp__visual { width: 100%; }
.hero--wide-photo .hwp__card {
	position: relative; isolation: isolate; overflow: hidden;
	height: 300px; border-radius: var(--r-card);
	background: var(--c-lav-soft);
	box-shadow: var(--sh-big);
}
.hero--wide-photo .hwp__card::after {
	content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
	border-radius: inherit; box-shadow: inset 0 0 0 1px var(--ink-08);
}
.hero--wide-photo .hwp__card picture { display: contents; }
.hero--wide-photo .hwp__img {
	display: block; width: 100%; height: 100%;
	object-fit: cover; object-position: 50% 0;
}

/* Badge: on phones a solid white card inside the photo, over the lower body (12 in).
   Kept small on purpose (owner, 2 Dec 2026): it labels the photo, it must not cover it. */
.hero--wide-photo .hwp__badge {
	position: absolute; left: 12px; bottom: 12px; z-index: 3;
	display: flex; flex-direction: column; align-items: flex-start; gap: 3px;
	max-width: calc(100% - 24px);
	padding: 8px 10px; border-radius: 12px;
	background: var(--c-white); box-shadow: var(--sh-soft);
}
.hero--wide-photo .hwp__chip {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 4px 9px; border-radius: var(--r-chip);
	background: var(--c-lav-soft); box-shadow: var(--ring-card-1);
	font: var(--fw-medium) 11px/13px var(--f-head); letter-spacing: .2px; text-transform: uppercase;
	color: var(--c-ink);
}
.hero--wide-photo .hwp__chip-ico { width: 12px; height: 12px; color: var(--c-blue); }
.hero--wide-photo .hwp__badge-t { font: var(--fw-medium) 13px/18px var(--f-body); color: var(--c-ink); }
.hero--wide-photo .hwp__badge-d { font-size: 12px; line-height: 16px; color: var(--ink-72); }

/* Caption: under the photo on phones, left, small and muted. */
.hero--wide-photo .hwp__caption { font-size: 13px; line-height: 20px; color: var(--ink-62); }

/* Facts: a compact list card, value left and label right (the label is first in the markup). */
.hero--wide-photo .hwp__facts {
	display: flex; flex-direction: column;
	padding: 4px 16px; border-radius: 16px;
	background: var(--c-mist); box-shadow: var(--ring-card), var(--sh-soft);
}
.hero--wide-photo .hwp__fact {
	display: flex; flex-direction: row-reverse; justify-content: space-between; align-items: center; gap: 16px;
	padding: 12px 0;
}
.hero--wide-photo .hwp__fact + .hwp__fact { border-top: 1px solid var(--ink-10); }
.hero--wide-photo .hwp__fact-v {
	flex: none; margin: 0;
	font: var(--fw-medium) 17px/24px var(--f-head); color: var(--c-ink);
}
/* At 200% text the value may wrap instead of pushing the row wider (WCAG 1.4.4). */
.hero--wide-photo .hwp__fact-v { flex: 0 1 auto; min-width: 0; overflow-wrap: anywhere; }
.hero--wide-photo .hwp__fact-l {
	flex: 0 1 auto; min-width: 0; max-width: 188px;
	font-size: 13px; line-height: 18px; color: var(--ink-62); text-align: right; text-wrap: pretty;
}

/* ---------------------------------------------------------------- Tablet and desktop: centered */
@media (min-width: 768px) {
	.hero.hero--wide-photo { padding: 40px 0 72px; }
	.hero--wide-photo .hwp { gap: 40px; }
	.hero--wide-photo .hwp__copy { align-items: center; text-align: center; gap: 24px; }
	.hero--wide-photo .hwp__copy > .hero__chip { margin-top: -10px; }
	.hero.hero--wide-photo .hwp__copy .h1 { font-size: 56px; line-height: 62px; letter-spacing: -1.6px; max-width: 820px; margin-inline: auto; }
	.hero.hero--wide-photo .hwp__copy .hero__sub { font-size: 18px; line-height: 29px; max-width: 640px; margin-inline: auto; }
	.hero--wide-photo .hwp__copy .hero__btns { width: auto; padding-top: 8px; }
	.hero--wide-photo .hwp__copy .btns { justify-content: center; }

	/* Tablet card: 16:10 with the taller crop, so the badge sits well below both faces. */
	.hero--wide-photo .hwp__card { height: auto; aspect-ratio: 16 / 10; border-radius: var(--r-card-l); }

	/* Badge: the frosted strip (white 80%, blur 20, radius 12), 20 in from the bottom left. */
	.hero--wide-photo .hwp__badge {
		left: 20px; bottom: 20px; max-width: calc(100% - 40px);
		flex-direction: row; flex-wrap: wrap; align-items: center; gap: 6px 12px;
		padding: 8px 12px; border-radius: 12px;
		background: rgba(255, 255, 255, .8);
		-webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
	}
	/* One line at normal text size; the strip wraps instead of clipping at 200% text (WCAG 1.4.4). */
	.hero--wide-photo .hwp__badge-t { font-size: 14px; line-height: 20px; }
	.hero--wide-photo .hwp__badge-d { padding-left: 12px; border-left: 1px solid rgba(10, 13, 49, .15); }

	/* Facts: a centered row of three with 1px dividers; the caption goes below it. */
	.hero--wide-photo .hwp__facts {
		order: 3; flex-direction: row; justify-content: center; align-self: center;
		width: 100%; max-width: 722px; padding: 0; border-radius: 0; background: none; box-shadow: none;
	}
	.hero--wide-photo .hwp__fact {
		flex: 1 1 240px; min-width: 0; flex-direction: column-reverse; justify-content: flex-start; gap: 2px;
		padding: 0 12px; text-align: center;
	}
	.hero--wide-photo .hwp__fact + .hwp__fact { border-top: 0; border-left: 1px solid var(--ink-12); }
	.hero--wide-photo .hwp__fact-v { font-size: 20px; line-height: 30px; letter-spacing: -.3px; }
	.hero--wide-photo .hwp__fact-v--l { font-size: 24px; }
	.hero--wide-photo .hwp__fact-l { flex: none; max-width: none; text-align: center; }
	.hero--wide-photo .hwp__caption { order: 4; margin-top: -16px; text-align: center; }
}
/* Without backdrop-filter the strip is near-solid white, so its text keeps its contrast. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	@media (min-width: 768px) { .hero--wide-photo .hwp__badge { background: rgba(255, 255, 255, .96); } }
}

@media (min-width: 1024px) {
	.hero.hero--wide-photo { padding: 56px 0 88px; }
	.hero--wide-photo .hwp { gap: 48px; }
	.hero.hero--wide-photo .hwp__copy .h1 { font-size: 64px; line-height: 70px; }
	/* Desktop card: 1200x520, radius 28, the wide crop. */
	.hero--wide-photo .hwp__card { aspect-ratio: 1200 / 520; border-radius: var(--r-card-xl); }
	.hero--wide-photo .hwp__img { object-position: 50% 50%; }
	.hero--wide-photo .hwp__caption { margin-top: -24px; }
}

/* ---------------------------------------------------------------- Motion
   The intro, card, facts and caption use the shared hero entrance (data-hero-item, motion.css):
   the card rises 24px, transform only, as it carries the LCP image. The badge fades in after it. */
.hero--wide-photo [data-hero-item="visual"] { --vx: 0px; --vy: 24px; }
.hero--wide-photo .hwp__badge { animation: sth-hero-fade12 600ms var(--ease-out-quart) 400ms both; }
@media (prefers-reduced-motion: reduce) {
	.hero--wide-photo .hwp__badge { animation: none !important; }
}
