@font-face {
	font-family: "Passions Conflict";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/passions-conflict-regular.woff2") format("woff2");
}

body.home {
	overflow-x: clip;
}

.ddm-scroll-hero {
	--hero-near-black: #0e0f0f;
	--hero-warm-white: #f2f0e8;
	--hero-muted-white: rgba(242, 240, 232, 0.58);
	--hero-fine-line: rgba(242, 240, 232, 0.2);
	--hero-gutter: clamp(1.25rem, 3.2vw, 3.5rem);
	position: relative;
	height: 100vh;
	height: 100svh;
	color: var(--hero-warm-white);
	background: var(--hero-near-black);
}

.ddm-scroll-hero *,
.ddm-scroll-hero *::before,
.ddm-scroll-hero *::after {
	box-sizing: border-box;
}

.ddm-scroll-hero__stage {
	--stage-color-a: #650d29;
	--stage-color-b: #310913;
	--stage-color-c: #080405;
	--stage-color-d: #240713;
	--stage-light-x: 27%;
	--stage-light-y: 44%;
	position: relative;
	width: 100%;
	height: 100vh;
	height: 100svh;
	overflow: hidden;
	background:
		radial-gradient(circle at var(--stage-light-x) var(--stage-light-y), var(--stage-color-a) 0%, var(--stage-color-b) 31%, transparent 66%),
		radial-gradient(circle at calc(100% - var(--stage-light-x)) 68%, var(--stage-color-d) 0%, transparent 58%),
		linear-gradient(135deg, var(--stage-color-c), var(--hero-near-black) 72%);
	isolation: isolate;
	will-change: background;
}

.ddm-scroll-hero__video-layer {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	pointer-events: none;
}

.ddm-scroll-hero__video-layer::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(8, 4, 5, 0.2), transparent 26%, transparent 72%, rgba(8, 4, 5, 0.26));
}

.ddm-scroll-hero__video-layer video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.5;
	filter: saturate(0.2) contrast(1.08) brightness(0.86);
	mix-blend-mode: luminosity;
}

.ddm-scroll-hero__content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding: 7rem 0 5rem;
}

.ddm-scroll-hero__title {
	position: relative;
	z-index: 2;
	margin: 0 0 clamp(1.5rem, 4vh, 3rem);
	padding: 0 var(--hero-gutter);
	color: var(--hero-muted-white);
	font: 400 clamp(1.2rem, 2vw, 2rem)/1 "Bebas Neue", Impact, sans-serif;
	font-synthesis: none;
	letter-spacing: 0.055em;
	text-transform: uppercase;
}

.ddm-scroll-hero__marquee {
	position: relative;
	z-index: 2;
	width: 100%;
	overflow: visible;
}

.ddm-scroll-hero__statement {
	width: max-content;
	max-width: none;
	margin: 0;
	padding-right: var(--hero-gutter);
	padding-left: var(--hero-gutter);
	color: var(--hero-warm-white);
	font: 400 clamp(6rem, 15vw, 15rem)/0.82 "Bebas Neue", Impact, sans-serif;
	font-synthesis: none;
	letter-spacing: -0.015em;
	text-transform: uppercase;
	white-space: nowrap;
	will-change: transform;
}

.ddm-scroll-hero__character-titles {
	position: absolute;
	left: var(--hero-gutter);
	bottom: clamp(5.25rem, 12vh, 8rem);
	z-index: 3;
	width: min(44rem, calc(100% - var(--hero-gutter) * 2));
	height: clamp(5rem, 10vw, 8.5rem);
	pointer-events: none;
}

.ddm-scroll-hero__character-title {
	position: absolute;
	inset: auto auto 0 0;
	margin: 0;
	color: var(--hero-warm-white);
	font: 400 clamp(4.5rem, 9vw, 9rem)/0.78 "Bebas Neue", Impact, sans-serif;
	font-synthesis: none;
	letter-spacing: -0.015em;
	text-transform: uppercase;
	white-space: nowrap;
	opacity: 0;
	will-change: opacity, transform;
}

.ddm-scroll-hero__character-title--claudia {
	font-family: "Passions Conflict", cursive;
	font-size: clamp(5.75rem, 12vw, 12rem);
	line-height: 0.62;
	letter-spacing: 0;
	text-transform: none;
}

.ddm-scroll-hero__scroll-cue,
.ddm-scroll-hero__skip {
	position: absolute;
	bottom: 1.5rem;
	z-index: 5;
	font: 400 0.62rem/1 "Manrope", Arial, sans-serif;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.ddm-scroll-hero__scroll-cue {
	left: var(--hero-gutter);
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0;
	color: var(--hero-muted-white);
}

.ddm-scroll-hero__scroll-cue span {
	display: inline-block;
	width: 2.75rem;
	height: 1px;
	overflow: hidden;
	background: var(--hero-fine-line);
}

.ddm-scroll-hero__scroll-cue span::after {
	content: "";
	display: block;
	width: 50%;
	height: 100%;
	background: var(--hero-warm-white);
	animation: ddm-scroll-cue 1.8s ease-in-out infinite;
}

.ddm-scroll-hero__skip {
	right: var(--hero-gutter);
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	padding: 0.58rem 0.8rem;
	border: 1px solid currentColor;
	border-radius: 999px;
	color: inherit;
	background: transparent;
	cursor: pointer;
	transition: color 180ms ease, background-color 180ms ease;
}

.ddm-scroll-hero__skip:hover {
	color: var(--hero-near-black);
	background: var(--hero-warm-white);
}

.ddm-scroll-hero__skip:focus-visible {
	outline: 2px solid var(--hero-warm-white);
	outline-offset: 4px;
}

.ddm-scroll-hero__skip svg {
	width: 1rem;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
}

#home-after-hero {
	position: relative;
	z-index: 2;
}

body.home .social-rail {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(8px);
	transition: opacity 220ms ease, transform 220ms ease, visibility 0s linear 220ms;
}

body.home.ddm-social-rail-visible .social-rail {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0);
	transition-delay: 0s;
}

@keyframes ddm-scroll-cue {
	from { transform: translateX(-110%); }
	to { transform: translateX(220%); }
}

@media (max-width: 700px) {
	.ddm-scroll-hero__statement {
		font-size: clamp(5rem, 25vw, 9rem);
	}

	.ddm-scroll-hero__character-titles {
		bottom: 5.5rem;
		height: 5.5rem;
	}

	.ddm-scroll-hero__character-title {
		font-size: clamp(3.7rem, 17vw, 6rem);
	}

	.ddm-scroll-hero__character-title--claudia {
		font-size: clamp(5.1rem, 22vw, 8rem);
	}

	.ddm-scroll-hero__skip {
		bottom: 1.1rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ddm-scroll-hero *,
	.ddm-scroll-hero *::before,
	.ddm-scroll-hero *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}
