.freyza-hero {
	background: var(--freyza-color-background);
	overflow: hidden;
	position: relative;
}

.freyza-hero__viewport {
	min-height: clamp(620px, 78vh, 820px);
	position: relative;
}

.freyza-hero__slide {
	background:
		radial-gradient(circle at 75% 34%, color-mix(in srgb, var(--freyza-hero-accent, var(--freyza-color-accent)) 18%, transparent), transparent 34%),
		linear-gradient(180deg, #ffffff 0%, var(--freyza-color-section) 100%);
	inset: 0;
	opacity: 0;
	position: absolute;
	transition: opacity 520ms ease, visibility 520ms ease;
	visibility: hidden;
}

.freyza-hero__slide.is-active {
	opacity: 1;
	position: relative;
	visibility: visible;
}

.freyza-hero__inner {
	align-items: center;
	display: grid;
	gap: clamp(32px, 5vw, 86px);
	grid-template-columns: 1fr;
	min-height: clamp(620px, 78vh, 820px);
	padding-block: clamp(48px, 7vw, 92px);
}

.freyza-hero__content {
	max-width: 720px;
	position: relative;
	z-index: 2;
}

.freyza-hero__badge {
	align-items: center;
	color: var(--freyza-color-secondary);
	display: inline-flex;
	font-size: 0.78rem;
	font-weight: 800;
	gap: 8px;
	letter-spacing: 0.08em;
	line-height: 1.2;
	margin: 0 0 18px;
	text-transform: uppercase;
}

.freyza-hero__badge::before {
	background: var(--freyza-color-accent);
	border-radius: 999px;
	content: "";
	height: 8px;
	width: 8px;
}

.freyza-hero__title {
	font-size: clamp(2.65rem, 6vw, 5.8rem);
	line-height: 0.98;
	margin: 0;
	max-width: 12ch;
}

.freyza-hero__copy {
	color: var(--freyza-color-muted);
	font-size: clamp(1rem, 1.4vw, 1.18rem);
	line-height: 1.72;
	margin: 24px 0 0;
	max-width: 58ch;
}

.freyza-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 34px;
}

.freyza-hero__media {
	margin: 0;
	width: 100%;
}

.freyza-hero__image-frame {
	aspect-ratio: 1;
	display: grid;
	min-height: 340px;
	overflow: visible;
	place-items: center;
	position: relative;
}

.freyza-hero__image-frame picture {
	display: contents;
}

.freyza-hero__image {
	filter: drop-shadow(0 28px 45px rgba(17, 24, 39, 0.16));
	height: min(62vh, 620px);
	object-fit: contain;
	width: min(100%, 620px);
}

.freyza-hero__placeholder {
	align-items: center;
	background: rgba(255, 255, 255, 0.78);
	border: 1px solid var(--freyza-color-border);
	border-radius: var(--freyza-radius-card);
	display: flex;
	height: 100%;
	justify-content: center;
	min-height: 420px;
	position: relative;
	width: 100%;
}

.freyza-hero__placeholder-mark {
	color: var(--freyza-color-secondary);
	font-family: var(--freyza-font-heading);
	font-size: clamp(3rem, 8vw, 5.5rem);
	font-weight: 800;
}

.freyza-hero__controls {
	bottom: 24px;
	left: 50%;
	position: absolute;
	transform: translateX(-50%);
	width: min(100%, 420px);
	z-index: 3;
}

/* Thin "story-style" loading bars: one per slide, filling left-to-right
   over the slide's dwell time. */
.freyza-hero__progress {
	display: flex;
	gap: 6px;
	padding-inline: 20px;
}

.freyza-hero__progress-bar {
	appearance: none;
	background: transparent;
	border: 0;
	cursor: pointer;
	flex: 1 1 0;
	height: 16px;
	padding: 0;
	position: relative;
}

.freyza-hero__progress-bar::before {
	background: rgba(255, 255, 255, 0.5);
	border-radius: var(--freyza-radius-pill);
	content: "";
	height: 3px;
	left: 0;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 100%;
}

/* The fill is driven from JavaScript through --freyza-hero-fill (0 to 1)
   rather than a CSS animation. A keyframe animation and a setInterval are two
   independent clocks: pausing one left the other running, and a background tab
   throttled them differently, which is what made the bar stick at a random
   position. One clock cannot drift from itself. */
.freyza-hero__progress-bar-fill {
	background: var(--freyza-color-primary);
	border-radius: var(--freyza-radius-pill);
	height: 3px;
	left: 0;
	position: absolute;
	top: 50%;
	transform: translateY(-50%) scaleX(var(--freyza-hero-fill, 0));
	transform-origin: left;
	width: 100%;
}

/* No transition: the rAF loop already updates every frame, and a transition
   on top of it would lag behind the slide change. */

@media (prefers-reduced-motion: reduce) {
	.freyza-hero__progress-bar.is-active .freyza-hero__progress-bar-fill {
		transform: translateY(-50%) scaleX(1);
	}
}

.freyza-js [data-freyza-reveal] .freyza-hero__content,
.freyza-js [data-freyza-reveal] .freyza-hero__media {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 500ms ease, transform 500ms ease;
}

.freyza-js [data-freyza-reveal].is-visible .freyza-hero__content,
.freyza-js [data-freyza-reveal].is-visible .freyza-hero__media,
.freyza-reduced-motion [data-freyza-reveal] .freyza-hero__content,
.freyza-reduced-motion [data-freyza-reveal] .freyza-hero__media {
	opacity: 1;
	transform: none;
}

@media (min-width: 900px) {
	.freyza-hero__inner {
		grid-template-columns: minmax(0, 0.95fr) minmax(440px, 1.05fr);
	}

	.freyza-hero__media {
		justify-self: end;
	}
}

@media (min-width: 1320px) {
	.freyza-hero__inner {
		grid-template-columns: minmax(0, 0.86fr) minmax(560px, 1.14fr);
	}
}

@media (max-width: 899px) {
	.freyza-hero__viewport,
	.freyza-hero__inner {
		min-height: auto;
	}

	/* Below the two-column breakpoint, .freyza-hero__inner is a single-
	   column grid, so children otherwise stack in source order (content,
	   then media) — putting the product image below the text. Reorder so
	   the image sits at the top on mobile, text below. */
	.freyza-hero__media {
		max-width: 560px;
		order: 1;
	}

	.freyza-hero__content {
		order: 2;
	}
}

@media (max-width: 560px) {
	.freyza-hero__inner {
		padding-block: 44px 82px;
	}

	.freyza-hero__actions {
		align-items: stretch;
		flex-direction: column;
	}

	.freyza-hero__actions .freyza-button {
		width: 100%;
	}

	.freyza-hero__image-frame {
		min-height: 300px;
	}

	.freyza-hero__image {
		height: auto;
		max-height: 360px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.freyza-hero__slide,
	.freyza-hero__image {
		animation: none;
		transition: none;
	}
}

.freyza-hero {
	background: var(--freyza-color-background);
}

.freyza-hero__viewport {
	min-height: clamp(660px, 76vh, 860px);
}

.freyza-hero__slide {
	background:
		radial-gradient(circle at 82% 32%, rgba(176, 138, 70, 0.1), transparent 32%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 248, 251, 0.96));
	color: var(--freyza-color-primary);
}

.freyza-hero__inner {
	gap: clamp(28px, 4.5vw, 84px);
	min-height: clamp(660px, 76vh, 860px);
	padding-block: clamp(48px, 6vw, 88px);
}

.freyza-hero__content {
	max-width: 760px;
}

.freyza-hero__badge,
.freyza-hero__copy {
	color: var(--freyza-color-muted);
}

.freyza-hero__badge {
	font-family: var(--freyza-font-mono);
	font-size: 0.72rem;
	letter-spacing: 0.14em;
}

.freyza-hero__title {
	color: var(--freyza-color-primary);
	font-family: var(--freyza-font-heading);
	font-size: clamp(2.8rem, 6.2vw, 5.85rem);
	font-weight: 700;
	letter-spacing: -0.05em;
	line-height: 0.98;
	max-width: 12ch;
}

.freyza-hero__copy {
	font-size: clamp(1rem, 1.4vw, 1.12rem);
	max-width: 54ch;
}

.freyza-hero__actions {
	gap: 14px;
	margin-top: 28px;
}

.freyza-hero__actions .freyza-button {
	min-width: 168px;
}

.freyza-hero__actions .freyza-button--secondary {
	background: rgba(255, 255, 255, 0.86);
	border-color: var(--freyza-color-border);
	color: var(--freyza-color-primary);
}

.freyza-hero__actions .freyza-button--secondary:hover,
.freyza-hero__actions .freyza-button--secondary:focus-visible {
	background: #ffffff;
	border-color: var(--freyza-color-primary);
	color: var(--freyza-color-primary);
}

.freyza-hero__image-frame {
	background:
		radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.96), rgba(244, 246, 249, 0.86) 64%, rgba(244, 246, 249, 0.98)),
		var(--freyza-color-surface-soft);
	border: 1px solid var(--freyza-color-border);
	border-radius: 22px;
	box-shadow: 0 28px 72px rgba(14, 35, 56, 0.08);
	overflow: hidden;
}

.freyza-hero__image {
	filter: drop-shadow(0 26px 40px rgba(14, 35, 56, 0.12));
	height: min(68vh, 660px);
	width: min(100%, 660px);
}

.freyza-hero__placeholder {
	background: linear-gradient(180deg, rgba(244, 246, 249, 0.96), rgba(255, 255, 255, 0.84));
	border-color: var(--freyza-color-border);
	border-radius: 22px;
}

.freyza-hero__controls {
	bottom: 18px;
}

.freyza-hero__progress-bar::before {
	background: rgba(26, 62, 99, 0.14);
}

@media (max-width: 560px) {
	.freyza-hero__inner {
		padding-block: 40px 76px;
	}

	.freyza-hero__title {
		font-size: clamp(2.35rem, 10vw, 3.65rem);
		max-width: 11ch;
	}

	.freyza-hero__copy {
		max-width: none;
	}
}

/* Static trust strip, rendered once below the whole hero slider (not per
   slide, so it never moves/slides with the auto-advance). Flat bordered
   grid cells only — no pill shape, no shadow/overlay, per feedback that
   button-like styling here looked wrong on mobile. */
.freyza-hero-trust-strip {
	background: var(--freyza-color-surface);
	border-top: 1px solid var(--freyza-color-border);
	border-bottom: 1px solid var(--freyza-color-border);
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

.freyza-hero-trust-strip li {
	border-radius: 0;
	border-right: 1px solid var(--freyza-color-border);
	color: var(--freyza-color-muted);
	font-family: var(--freyza-font-mono, monospace);
	font-size: 0.7rem;
	letter-spacing: 0.06em;
	line-height: 1.4;
	padding: 18px 16px;
	text-align: center;
	text-transform: uppercase;
}

.freyza-hero-trust-strip li:last-child {
	border-right: 0;
}

@media (max-width: 899px) {
	.freyza-hero-trust-strip {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.freyza-hero-trust-strip li {
		border-bottom: 1px solid var(--freyza-color-border);
		font-size: 0.68rem;
		padding: 16px;
		text-align: left;
	}

	.freyza-hero-trust-strip li:nth-child(2n) {
		border-right: 0;
	}

	.freyza-hero-trust-strip li:nth-last-child(-n+2) {
		border-bottom: 0;
	}
}
