/*
 * BioButton Pro home page hero (DSGN-1818). Figma: "Home Hero / BioButton Pro".
 * Everything is scoped to .bbp-hh so it can't clash with Bootstrap or style.css.
 * Breakpoints match the Figma frames: mobile < 768 (390), tablet 768–1199 (768), desktop ≥ 1200 (1440).
 */

.bbp-hh {
	--bbp-navy: #202a44;      /* neutral/900 */
	--bbp-navy-deep: #001f7e; /* blue/800 */
	--bbp-blue: #0064e2;      /* blue/600 */
	--bbp-white: #ffffff;
	--bbp-text-soft: #f8fbff; /* neutral/50 */
	--bbp-green: #00a884;     /* logo/green */
	--bbp-grad-a: #4d9eff;
	--bbp-grad-b: #3bd5ae;
	--bbp-px: 20px;
	--bbp-pb: 88px;
	position: relative;
	width: 100%;
	margin: 0 0 48px;
	overflow: hidden;
	background: var(--bbp-navy);
	color: var(--bbp-white);
	font-family: "sofia-pro", Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
}

/* Slides stack in one grid cell, so the carousel is as tall as its tallest slide. */
.bbp-hh__slides { display: grid; touch-action: pan-y; }
.bbp-hh__slide {
	grid-area: 1 / 1;
	position: relative;
	display: flex;
	flex-direction: column;
	opacity: 0;
	visibility: hidden;
	transition: opacity 900ms ease, visibility 0s linear 900ms;
}
.bbp-hh__slide.is-active {
	opacity: 1;
	visibility: visible;
	transition: opacity 900ms ease, visibility 0s;
	z-index: 1;
}

/* ---------- Media ---------- */
/* The theme rounds every image (style.css: img { border-radius: 8px }); the hero is full-bleed. */
.bbp-hh img { border-radius: 0; }
.bbp-hh__media {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: calc(100vw * 500 / 390); /* mobile: photo is a top band (Figma 390 × 500) */
	overflow: hidden;
}
.bbp-hh__media picture,
.bbp-hh__media picture img {
	display: block;
	width: 100%;
	height: 100%;
}
.bbp-hh__media picture img {
	object-fit: cover;
	transform-origin: 50% 40%;
}
/* Slow zoom-out on the active photo; a keyframe animation, so it also runs on page load. */
.bbp-hh__slide.is-active .bbp-hh__media picture img {
	animation: bbp-hh-zoom 6s cubic-bezier(.2, .6, .2, 1) both;
}
.bbp-hh__slide--system.is-active .bbp-hh__system {
	animation: bbp-hh-rise 1.2s cubic-bezier(.2, .6, .2, 1) both;
}
/* Text enters on load and on every slide change, staggered. */
.bbp-hh__slide.is-active .bbp-hh__content > * {
	animation: bbp-hh-rise .8s cubic-bezier(.2, .6, .2, 1) both;
}
.bbp-hh__slide.is-active .bbp-hh__content > :nth-child(2) { animation-delay: .1s; }
.bbp-hh__slide.is-active .bbp-hh__content > :nth-child(3) { animation-delay: .2s; }
.bbp-hh__slide.is-active .bbp-hh__content > :nth-child(4) { animation-delay: .3s; }
@keyframes bbp-hh-zoom {
	from { transform: scale(1.06); }
	to   { transform: scale(1); }
}
@keyframes bbp-hh-rise {
	from { opacity: 0; translate: 0 24px; }
	to   { opacity: 1; translate: 0 0; }
}
.bbp-hh__slide--photo .bbp-hh__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgba(32, 42, 68, 0) 44%, rgba(32, 42, 68, 1) 97%);
}

/* Slide 3: the BioButton System on navy */
.bbp-hh__slide--system .bbp-hh__media {
	background:
		radial-gradient(circle at 50% 30%, rgba(44, 140, 240, .45), rgba(44, 140, 240, 0) 45%),
		linear-gradient(150deg, var(--bbp-navy-deep), var(--bbp-navy) 75%);
}
.bbp-hh__slide--system { background: var(--bbp-navy); }
.bbp-hh__system {
	position: absolute;
	left: 50%;
	top: calc(100vw * 104 / 390);
	width: 83.6%;
	aspect-ratio: 326 / 200;
	transform: translateX(-50%); /* centred (Figma 390: x 32, w 326) */
}
.bbp-hh__sys {
	position: absolute;
	height: auto;
	max-width: none;
	filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .35));
}
.bbp-hh__sys--dash { left: 24.2%; top: 0;     width: 67.5%; }
.bbp-hh__sys--bbp  { left: 0;     top: 40.5%; width: 36.5%; }
.bbp-hh__sys--hub  { left: 69.3%; top: 51%;   width: 30.7%; }

/* ---------- Content ---------- */
.bbp-hh__inner {
	position: relative;
	z-index: 1;
	flex: 1 0 auto;
	display: flex;
	align-items: flex-end;
	padding: calc(100vw * 500 / 390 - 190px) var(--bbp-px) var(--bbp-pb);
	min-height: calc(100vw * 780 / 390); /* Figma 390 x 780 */
}
.bbp-hh__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	width: 100%;
	max-width: 820px;
}
.bbp-hh .bbp-hh__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 6px 14px;
	border: 1px solid rgba(255, 255, 255, .5);
	border-radius: 999px;
	background: rgba(255, 255, 255, .16);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	color: var(--bbp-white);
	font-size: 12px;
	font-weight: 600;
	line-height: 18px;
	letter-spacing: .06em;
	text-transform: uppercase;
}
/* SpO2: Sofia Pro's own subscript glyph (OpenType subs), as in Figma. */
.bbp-hh__subs { font-variant-position: sub; }
/* Keeps the lowercase k in "510(k)" when the eyebrow is uppercase. */
.bbp-hh__nocase { text-transform: none; }
.bbp-hh__dot {
	flex: none;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--bbp-green);
}
.bbp-hh .bbp-hh__title {
	margin: 0;
	padding: 0;
	color: var(--bbp-white);
	font-family: "sofia-pro", Arial, sans-serif;
	font-weight: 600;
	font-size: clamp(36px, 11.28vw, 52px); /* 44 at 390 */
	line-height: 1.09 !important; /* theme: h2 { line-height: 1.25 !important } */
	letter-spacing: -.02em;
	text-wrap: balance;
}
.bbp-hh__grad {
	background: linear-gradient(90deg, var(--bbp-grad-a), var(--bbp-grad-b) 85%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}
.bbp-hh .bbp-hh__sub {
	margin: 0;
	max-width: 560px;
	color: var(--bbp-text-soft);
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
}
/* Footnote under the CTA (slide 5 evidence) */
.bbp-hh .bbp-hh__note {
	margin: 0;
	max-width: 560px;
	color: rgba(255, 255, 255, .8);
	font-size: 12px;
	line-height: 18px;
}
.bbp-hh__note sup { top: 0; font-size: .75em; vertical-align: .4em; line-height: 0; }
.bbp-hh__sub sup {
	top: 0;
	font-size: .6em;
	vertical-align: .5em;
	line-height: 0;
}

/* ---------- CTA ---------- */
.bbp-hh__cta {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 8px; /* phones: the link sits in a full-width box under the button (Figma option B, 30 Nov) */
	width: 100%;
	margin-top: 8px;
}
.bbp-hh .bbp-hh__btn,
.bbp-hh .bbp-hh__btn:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 44px;
	padding: 0 24px;
	border-radius: 999px;
	background: var(--bbp-blue);
	color: var(--bbp-text-soft);
	font-size: 16px;
	font-weight: 400;
	line-height: 1;
	text-decoration: none;
	transition: background-color .2s ease;
}
/* The site's own buttons and links use the browser's default smoothing; antialiased (set on the hero) makes them look lighter on macOS. */
.bbp-hh .bbp-hh__btn,
.bbp-hh .bbp-hh__link {
	-webkit-font-smoothing: auto;
	-moz-osx-font-smoothing: auto;
}
.bbp-hh .bbp-hh__btn:hover { background: #0052b9; color: var(--bbp-white); }
.bbp-hh .bbp-hh__link,
.bbp-hh .bbp-hh__link:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center; /* phones: centred under the button, same full-width 44 px box, so it reads as an action, not a label */
	align-self: stretch;
	height: 44px; /* same box as the button, so the two labels share a baseline */
	color: var(--bbp-white);
	font-size: 16px;
	font-weight: 400;
	line-height: 1;
	text-decoration: none;
}
.bbp-hh .bbp-hh__link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Scroll cue (Eleanor; Figma "Home Hero/Scroll cue", style Label, option A: Roman, 2 Dec) ----------
   Bottom centre, 24 px up, desktop and tablet only (on phones the hero is taller than the screen).
   Option A: "SCROLL" in Web/Eyebrow (Sofia Pro Semi Bold 14/20, 4% tracking), 4 px gap, 24 px chevron (12 x 6,
   stroke 2.5). The cue is about 57 x 48; with the 6 px side padding the button (tap target) is about 67 x 48. */
.bbp-hh button.bbp-hh__cue { display: none; }
@media (min-width: 768px) {
	.bbp-hh button.bbp-hh__cue {
		-webkit-appearance: none;
		appearance: none;
		position: absolute;
		z-index: 2;
		left: 50%;
		bottom: 24px;
		transform: translateX(-50%);
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 4px;
		margin: 0;
		padding: 0 6px;
		border: 0;
		border-radius: 6px;
		background: none;
		box-shadow: none;
		color: var(--bbp-white);
		opacity: .85;
		cursor: pointer;
		font: inherit;
		transition: opacity .2s ease;
	}
	.bbp-hh button.bbp-hh__cue:hover { opacity: 1; }
	.bbp-hh__cue-text {
		font-family: "sofia-pro", Arial, sans-serif;
		font-size: 14px;
		font-weight: 600;
		line-height: 20px;
		letter-spacing: .04em;
		text-transform: uppercase;
	}
	.bbp-hh__cue-chev { display: block; animation: bbp-hh-cue 2s ease-in-out infinite; }
}
@keyframes bbp-hh-cue {
	0%, 100% { translate: 0 0; }
	50%      { translate: 0 6px; }
}

/* ---------- Controls ---------- */
.bbp-hh__controls {
	position: absolute;
	z-index: 2;
	left: 50%;
	bottom: 24px;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	gap: 12px;
}
.bbp-hh__dots { display: flex; align-items: center; }
.bbp-hh button.bbp-hh__dotbtn,
.bbp-hh button.bbp-hh__pause {
	-webkit-appearance: none;
	appearance: none;
	margin: 0;
	padding: 0;
	border: 0;
	box-shadow: none;
	background: none;
	color: var(--bbp-white);
	font: inherit;
	line-height: 1;
	cursor: pointer;
}
.bbp-hh button.bbp-hh__dotbtn {
	position: relative;
	width: 24px;
	height: 24px;
	transition: width .3s ease;
}
.bbp-hh button.bbp-hh__dotbtn::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 8px;
	height: 8px;
	border-radius: 4px;
	background: rgba(255, 255, 255, .5);
	transform: translate(-50%, -50%);
	transition: width .3s ease, background-color .3s ease;
}
.bbp-hh button.bbp-hh__dotbtn.is-active { width: 40px; }
.bbp-hh button.bbp-hh__dotbtn.is-active::before { width: 28px; background: var(--bbp-white); }
.bbp-hh button.bbp-hh__pause {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid rgba(255, 255, 255, .5);
	border-radius: 50%;
	background: rgba(255, 255, 255, .18);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}
.bbp-hh button.bbp-hh__pause:hover { background: rgba(255, 255, 255, .28); }
.bbp-hh__ico-play,
.bbp-hh__pause[data-state="paused"] .bbp-hh__ico-pause { display: none; }
.bbp-hh__pause[data-state="paused"] .bbp-hh__ico-play { display: block; }

.bbp-hh a:focus-visible,
.bbp-hh button:focus-visible {
	outline: 2px solid var(--bbp-white);
	outline-offset: 3px;
}

/* Slide 5 on phones: photo 70 px higher (Figma) so the device clears the taller text */
.bbp-hh__slide--end .bbp-hh__media { top: calc(100vw * -70 / 390); }
/* …and its taller text (pill, 3-line headline, footnote) may start higher, over the photo, as in Figma */
.bbp-hh__slide--end .bbp-hh__inner { padding-top: calc(100vw * 500 / 390 - 274px); }

/* Slide 3 on phones: photo 48 px higher (Figma, 30 Nov) so the pill clears the device under the 3-line headline */
.bbp-hh__slide--lift .bbp-hh__media { top: calc(100vw * -48 / 390); }
/* …and its text starts 44 px higher, over the photo (Figma pill at y 266), so the hero keeps its height */
.bbp-hh__slide--lift .bbp-hh__inner { padding-top: calc(100vw * 500 / 390 - 234px); }

/* ---------- Slide 2: vital labels around the device (Figma "Home Hero/Vital") ---------- */
/* Roman's blue (25 Nov). The background starts in the band's fade colour at the band's bottom edge, so there's no seam. */
.bbp-hh__slide--vitals { background: linear-gradient(180deg, #0a206e 0, #0a206e calc(100vw * 500 / 390 + 120px), #1b2c86 100%, #22388e 100%); }
.bbp-hh__slide--vitals .bbp-hh__media picture img { animation: none; }
/* Blue vignette (Roman: bluish, not neutral): focus on the device. Mobile band: device at 50% / 53.6%. */
.bbp-hh__slide--vitals .bbp-hh__media::after {
	background:
		linear-gradient(to bottom, rgba(10, 32, 110, 0) 44%, rgba(10, 32, 110, 1) 100%),
		radial-gradient(ellipse 70% 55% at 50% 53.6%, rgba(0, 31, 126, 0) 0, rgba(0, 31, 126, 0) 45%, rgba(0, 31, 126, .55) 100%);
}
.bbp-hh__vitals {
	--hw: 26px; --hh: 28px; --fs: 12px; --lh: 16px; --gap: 5px; /* Figma Compact, 25 Nov: 28 px hexagon, 12 px label */
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
}
.bbp-hh__vital {
	position: absolute;
	display: flex;
	align-items: center;
	gap: var(--gap);
	color: var(--c);
	white-space: nowrap;
	/* phones: compact chip (mini hexagon inside the pill), 2 x 5 grid above the device */
	left: var(--mx);
	top: var(--my);
	transform: translateY(-50%);
	padding: 3px 11px 3px 4px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .95);
	box-shadow: 0 3px 10px rgba(10, 18, 41, .22);
}
.bbp-hh__vhex {
	flex: none;
	width: var(--hw);
	height: var(--hh);
	filter: drop-shadow(0 1px 2px rgba(10, 18, 41, .2));
}
.bbp-hh .bbp-hh__vpill {
	font-family: "Poppins", "sofia-pro", Arial, sans-serif;
	font-weight: 600;
	font-size: var(--fs);
	line-height: var(--lh);
	color: #1f2a44;
}
.bbp-hh__sub2 { font-size: .72em; vertical-align: -.18em; line-height: 0; }
.bbp-hh__slide--vitals.is-active .bbp-hh__vital {
	animation: bbp-hh-pop .5s cubic-bezier(.2, .7, .2, 1) both;
	animation-delay: calc(.25s + var(--i) * 60ms);
}
@keyframes bbp-hh-pop {
	from { opacity: 0; scale: .85; }
	to   { opacity: 1; scale: 1; }
}

/* ---------- Tablet (Figma 768 × 720) ---------- */
@media (min-width: 768px) {
	.bbp-hh { --bbp-px: 48px; --bbp-pb: 96px; }
	.bbp-hh__slide { min-height: 800px; }
	.bbp-hh__media { bottom: 0; height: auto; }
	.bbp-hh__slide--lift .bbp-hh__media { top: 0; } /* undo the phone-only lift */
	.bbp-hh__br-phone { display: none; }
	.bbp-hh__grad { white-space: nowrap; } /* line 2 stays on one line from tablet up (Roman, 30 Nov); the content box is 820 px but 88 px type needs ~870 */
	.bbp-hh__slide--photo .bbp-hh__media::after {
		background:
			linear-gradient(to bottom, rgba(32, 42, 68, 0) 20%, rgba(32, 42, 68, .92) 100%),
			linear-gradient(to right, rgba(32, 42, 68, .8) 0, rgba(32, 42, 68, .5) 42%, rgba(32, 42, 68, 0) 72%);
	}
	.bbp-hh__inner { padding: 120px var(--bbp-px) var(--bbp-pb); min-height: 800px; }
	.bbp-hh__slide--end .bbp-hh__inner,
	.bbp-hh__slide--lift .bbp-hh__inner { padding-top: 120px; } /* undo the phone-only overrides */
	.bbp-hh .bbp-hh__note { max-width: 460px; } /* tablet: ends left of the dots and pause button */
	.bbp-hh__content { gap: 20px; }
	.bbp-hh .bbp-hh__eyebrow { font-size: 14px; line-height: 20px; }
	.bbp-hh .bbp-hh__title { font-size: 60px; line-height: 64px !important; }
	.bbp-hh .bbp-hh__sub { font-size: 18px; line-height: 28px; }
	.bbp-hh__cta { flex-direction: row; align-items: center; gap: 28px; width: auto; }
	.bbp-hh .bbp-hh__btn,
	.bbp-hh .bbp-hh__link { height: 40px; }
	.bbp-hh .bbp-hh__link { align-self: auto; } /* tablet and up: back beside the button, left-aligned */
	.bbp-hh__controls { left: auto; right: var(--bbp-px); bottom: var(--bbp-pb); transform: none; gap: 16px; }

	/* Band slides on tablet: the photo is a top band (Figma 768 × 430) so it stays clear of the text */
	.bbp-hh__slide--band { background: var(--bbp-navy); }
	.bbp-hh__slide--band .bbp-hh__media { top: 0; bottom: auto; height: 430px; }
	.bbp-hh__slide--end .bbp-hh__media::after {
		background: linear-gradient(to bottom, rgba(32, 42, 68, 0) 50%, rgba(32, 42, 68, 1) 100%);
	}

	/* centred and kept above the eyebrow pill (Figma 768: x 196, y 32, 376 × 213; a little smaller on the web, where the text block is taller) */
	.bbp-hh__system { left: 50%; top: 24px; width: 340px; aspect-ratio: 459 / 260; transform: translateX(-50%); }
	.bbp-hh__sys--dash { left: 26.4%; top: 0;     width: 65.4%; }
	.bbp-hh__sys--bbp  { left: 0;     top: 37.7%; width: 35.3%; }
	.bbp-hh__sys--hub  { left: 69.5%; top: 52.7%; width: 30.5%; }
}

/* ---------- Desktop (Figma 1440 × 760) ---------- */
@media (min-width: 1200px) {
	.bbp-hh { --bbp-px: max(48px, calc((100vw - 1200px) / 2)); }
	.bbp-hh__slide,
	.bbp-hh__inner { min-height: clamp(620px, 52.78vw, 860px); }
	.bbp-hh__inner { padding-top: 64px; }
	.bbp-hh__content { gap: 24px; }
	.bbp-hh .bbp-hh__title { font-size: clamp(64px, 5.56vw, 88px); line-height: 1.05 !important; }

	.bbp-hh__slide--band .bbp-hh__media { bottom: 0; height: auto; }


	/* Slide 5: the device is on the left, so the text sits on the right */
	.bbp-hh__slide--end .bbp-hh__media::after {
		background:
			linear-gradient(to bottom, rgba(32, 42, 68, 0) 35%, rgba(32, 42, 68, .85) 100%),
			linear-gradient(to left, rgba(32, 42, 68, .75) 0, rgba(32, 42, 68, 0) 50%);
	}
	.bbp-hh__slide--end .bbp-hh__inner {
		justify-content: flex-end;
		padding-top: 64px;
		padding-bottom: calc(var(--bbp-pb) + 56px); /* text ends 16 px above the dots, which sit under it on the right */
	}
	.bbp-hh__slide--end .bbp-hh__content { max-width: 580px; }
	.bbp-hh .bbp-hh__note { max-width: 560px; }

	.bbp-hh__system { left: 52.8%; top: 9.2%; width: 41.7%; aspect-ratio: 600 / 520; transform: none; }
	.bbp-hh__sys--dash { left: 15%;   top: 7.7%;  width: 83.3%; }
	.bbp-hh__sys--bbp  { left: -3.8%; top: 55.2%; width: 37.7%; }
	.bbp-hh__sys--hub  { left: 75.8%; top: 57.9%; width: 30%; }
	.bbp-hh__slide--system .bbp-hh__media {
		background:
			radial-gradient(circle at 74% 42%, rgba(44, 140, 240, .45), rgba(44, 140, 240, 0) 32%),
			linear-gradient(150deg, var(--bbp-navy-deep), var(--bbp-navy) 75%);
	}
}

@media (max-width: 359px) {
	.bbp-hh__vitals { --fs: 10px; --gap: 4px; --hw: 22px; --hh: 24px; }
	.bbp-hh__vital { padding: 3px 8px 3px 3px; }
	.bbp-hh__vital--right { left: 49%; }
}

/* Slide 3 on tablets: "For hospital and home." runs across her shirt, so the side shade reaches further (keeps the gradient line at 3 : 1 or more) */
@media (min-width: 768px) and (max-width: 1199px) {
	.bbp-hh__slide--lift .bbp-hh__media::after {
		background:
			linear-gradient(to bottom, rgba(32, 42, 68, 0) 20%, rgba(32, 42, 68, .92) 100%),
			linear-gradient(to right, rgba(32, 42, 68, .8) 0, rgba(32, 42, 68, .6) 50%, rgba(32, 42, 68, 0) 85%);
	}
}

/* ---------- Slide 2 vitals: tablet (Figma 768 × 390 band, device at 384 / 190) ---------- */
@media (min-width: 768px) {
	.bbp-hh__slide--vitals .bbp-hh__media {
		left: 50%;
		right: auto;
		bottom: auto;
		width: 768px;
		height: 390px;
		transform: translateX(-50%);
	}
	.bbp-hh__slide--vitals .bbp-hh__media::after {
		background:
			linear-gradient(to bottom, rgba(10, 32, 110, 0) 70%, rgba(10, 32, 110, 1) 100%),
			radial-gradient(ellipse 75% 75% at 50% 48.7%, rgba(0, 31, 126, 0) 0, rgba(0, 31, 126, 0) 45%, rgba(0, 31, 126, .55) 100%);
	}
	.bbp-hh__slide--vitals { background: linear-gradient(180deg, #0a206e 0, #0a206e 510px, #1b2c86 100%, #22388e 100%); }
	.bbp-hh__vitals { --hw: 41px; --hh: 45px; --fs: 13px; --lh: 18px; --gap: 6px; } /* Figma tablet = desktop x 0.8 */
	.bbp-hh__vital {
		left: calc(384px + var(--tx));
		top: calc(190px + var(--ty));
		padding: 0;
		border-radius: 0;
		background: none;
		box-shadow: none;
	}
	.bbp-hh__vital--right { transform: translate(calc(var(--hw) / -2), -50%); }
	.bbp-hh__vital--left { flex-direction: row-reverse; transform: translate(calc(-100% + var(--hw) / 2), -50%); }
	.bbp-hh__vhex { filter: drop-shadow(0 5px 6px rgba(10, 18, 41, .3)); }
	.bbp-hh .bbp-hh__vpill {
		padding: 6px 13px;
		border-radius: 999px;
		background: rgba(255, 255, 255, .95);
		box-shadow: 0 5px 14px rgba(10, 18, 41, .25);
	}
}
/* wider tablets: the 768 band stays put; its sides fade into the blue */
@media (min-width: 800px) and (max-width: 1199px) {
	.bbp-hh__slide--vitals .bbp-hh__media {
		-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
		mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
	}
}

/* ---------- Slide 2 vitals: desktop (Figma 1440 × 760, device at 1004 / 319) ---------- */
@media (min-width: 1200px) {
	.bbp-hh__slide--vitals .bbp-hh__media {
		left: 0;
		right: 0;
		bottom: 0;
		width: auto;
		height: auto;
		transform: none;
	}
	.bbp-hh__slide--vitals .bbp-hh__media::after {
		background:
			linear-gradient(to bottom, rgba(32, 42, 68, 0) 25%, rgba(32, 42, 68, .9) 100%),
			linear-gradient(to right, rgba(32, 42, 68, .75) 0, rgba(32, 42, 68, .45) 38%, rgba(32, 42, 68, 0) 58%),
			radial-gradient(ellipse 62% 117% at 69.7% 42%, rgba(32, 42, 68, 0) 0, rgba(32, 42, 68, 0) 45%, rgba(32, 42, 68, .6) 100%);
	}
	/* same box as the photo (object-fit: cover, centred), so the labels stay on the device at any width */
	.bbp-hh__vitals {
		inset: auto 0;
		top: 50%;
		aspect-ratio: 1440 / 760;
		transform: translateY(-50%);
		--hw: 51px; --hh: 56px; --fs: 16px; --lh: 22px; --gap: 8px; /* Figma 25 Nov: 56 px hexagon, 16 px label, 8 px gap */
	}
	.bbp-hh__vital { left: var(--dx); top: var(--dy); }
	.bbp-hh__slide--vitals .bbp-hh__sub { max-width: min(560px, 38vw); } /* clear of 'Skin temperature' at 1200-1440 */
	.bbp-hh .bbp-hh__vpill { padding: 8px 16px; box-shadow: 0 6px 18px rgba(10, 18, 41, .25); }
	.bbp-hh__vhex { filter: drop-shadow(0 6px 7px rgba(10, 18, 41, .28)); }
}

@media (prefers-reduced-motion: reduce) {
	.bbp-hh__cue-chev { animation: none; }
	.bbp-hh__slide,
	.bbp-hh__slide.is-active { transition: none; }
	.bbp-hh__slide.is-active .bbp-hh__media picture img,
	.bbp-hh__slide--system.is-active .bbp-hh__system,
	.bbp-hh__slide--vitals.is-active .bbp-hh__vital,
	.bbp-hh__slide.is-active .bbp-hh__content > * { animation: none; }
	.bbp-hh button.bbp-hh__dotbtn,
	.bbp-hh button.bbp-hh__dotbtn::before { transition: none; }
}
