/* Homepage films use a landscape cut on desktop and its portrait edit on mobile. */
.dm-home .dc-hero {
	display: grid;
	grid-template-columns: 1fr;
	align-items: end;
	position: relative;
	isolation: isolate;
	height: clamp(30rem, 45.625vw, 53rem);
	min-height: 0;
	background: #302723;
}
.dc-hero .dm-hero-copy {
	position: relative;
	z-index: 2;
	pointer-events: none;
	width: fit-content;
	max-width: min(64%, 69rem);
	background: none;
	margin-inline-start: max(0px, calc((100vw - 96rem) / 2));
	padding: clamp(2.2rem, 5vw, 5.1rem) var(--dm-gutter);
}
.dc-hero .dm-hero-copy::before { display: none; }
.dc-hero .dm-hero-copy > * { pointer-events: auto; }
.dc-hero .dm-hero-copy[data-film-copy] {
	width: min(47%, 49rem);
	max-width: none;
	margin-inline-start: max(4rem, var(--dm-gutter), calc((100vw - 86rem) / 2));
	padding: 0 0 clamp(2rem, 4.2vw, 4.6rem);
}
.dc-hero [data-film-kicker] {
	margin: 0 0 clamp(.6rem, .95vw, 1rem);
	font-size: clamp(.75rem, .93vw, .94rem);
	font-weight: 500;
	letter-spacing: .04em;
	line-height: 1.4;
}
.dc-hero [data-film-copy] h1 {
	max-width: 100%;
	font-size: clamp(2.7rem, 5.5vw, 6.15rem);
	line-height: 1.01;
	letter-spacing: -.044em;
}
.dc-hero [data-film-copy] h1 br { display: none; }
.dc-hero [data-film-title], .dc-hero [data-film-accent] {
	display: block;
	overflow-wrap: anywhere;
	text-wrap: balance;
}
.dc-hero [data-film-copy]:lang(zh) h1 { letter-spacing: .015em; line-height: 1.1; }
.dc-hero [data-film-description] {
	width: fit-content;
	max-width: min(100%, 37ch);
	margin: clamp(.68rem, 1.15vw, 1.23rem) 0 0;
	color: #fffaf3;
	font-size: clamp(.9rem, 1.06vw, 1.1rem);
	line-height: 1.45;
	overflow-wrap: anywhere;
	text-wrap: pretty;
}
.dc-hero [data-film-cta] {
	max-width: 100%;
	margin-top: clamp(.95rem, 1.5vw, 1.6rem);
	text-align: center;
	line-height: 1.25;
	overflow-wrap: anywhere;
}
@media (prefers-reduced-motion: no-preference) {
	.dc-copy-enter { animation: dc-copy-group .64s linear; }
	.dc-copy-enter :is([data-film-kicker], [data-film-title], [data-film-accent], [data-film-description], [data-film-cta]) {
		animation: dc-copy-line .46s cubic-bezier(.22,.61,.28,1) both;
	}
	.dc-copy-enter [data-film-title] { animation-delay: 25ms; }
	.dc-copy-enter [data-film-accent] { animation-delay: 55ms; }
	.dc-copy-enter [data-film-description] { animation-delay: 85ms; }
	.dc-copy-enter [data-film-cta] { animation-delay: 110ms; }
	.dc-copy-enter [data-film-cta]:focus-visible { animation: none; }
	@keyframes dc-copy-line { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
	/* The parent event closes the sequence after the last staggered line. */
	@keyframes dc-copy-group { from, to { opacity: 1; } }
}
.dc-screen, .dc-poster, .dc-poster img, .dc-screen video {
	display: block;
	width: 100%;
	height: 100%;
}
.dc-screen { position: relative; overflow: hidden; background: #292522; }
.dc-poster, .dc-screen video { position: absolute; inset: 0; }
.dc-poster img, .dc-screen video { object-fit: cover; }
.dc-screen video { opacity: 0; }
.dc-screen video.dc-current { opacity: 1; z-index: 1; }
.dc-screen video.dc-outgoing { opacity: 1; z-index: 0; }
@media (prefers-reduced-motion: no-preference) {
	.dc-screen video.dc-current:not(.dc-cut) { transition: opacity .20s linear; }
}
.dc-hold { position: absolute; inset: 0; z-index: 1; display: block; width: 100%; height: 100%; pointer-events: none; opacity: 1; }
.dc-hold.dc-dissolve { opacity: 0; }
.dc-stage-hero { position: absolute; inset: 0; isolation: isolate; }
.dc-stage-hero::after {
	position: absolute;
	inset: 0;
	content: "";
	pointer-events: none;
	z-index: 1;
	background: linear-gradient(90deg, rgb(22 16 15 / 69%), rgb(32 23 21 / 48%) 35%, rgb(28 21 19 / 11%) 70%),
		linear-gradient(0deg, rgb(21 14 12 / 39%), transparent 47%);
}
.dc-surface, .dc-edges { display: none; }
.dc-enhanced .dc-surface, .dc-enhanced .dc-edges {
	display: block;
	position: absolute;
	inset: 0;
	z-index: 2;
}
.dm-home .dc-surface, .dm-home .dc-edge {
	appearance: none;
	margin: 0;
	border: 0;
	border-radius: 0;
	padding: 0;
	background: transparent;
	box-shadow: none;
	color: #fffaf2;
	cursor: pointer;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
}
.dc-surface { width: 100%; height: 100%; }
.dc-edges { pointer-events: none; }
.dc-edge {
	position: absolute;
	top: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	width: clamp(3.3rem, 7.3vw, 7.2rem);
	pointer-events: auto;
}
.dc-edge.dc-prev { left: 0; justify-content: flex-start; }
.dc-edge.dc-next { right: 0; justify-content: flex-end; }
.dc-edge i {
	position: relative;
	display: block;
	margin-inline: clamp(.7rem, 1.85vw, 2.2rem);
	width: clamp(1.35rem, 1.8vw, 1.75rem);
	height: 2.6rem;
	opacity: .62;
	filter: drop-shadow(0 1px 2px rgb(15 11 8 / 88%));
}
.dc-edge i::after {
	content: '';
	position: absolute;
	top: 50%;
	right: 25%;
	width: clamp(.75rem, 1.12vw, 1.15rem);
	height: clamp(.75rem, 1.12vw, 1.15rem);
	border-top: 1.5px solid currentColor;
	border-right: 1.5px solid currentColor;
	transform: translateY(-50%) scaleX(.78) rotate(45deg);
}
.dc-prev i { transform: rotate(180deg); }
.dc-edge:focus-visible i { opacity: 1; }
.dm-home .dc-surface:focus-visible { outline: 2px solid #fffaf2; outline-offset: -5px; }
.dm-home .dc-edge:focus-visible { outline: 0; }
.dc-edge:focus-visible i { outline: 1px solid #fffaf2; outline-offset: .4rem; }
@media (hover: hover) and (pointer: fine) {
	.dc-edge i { opacity: .44; }
	.dc-stage:hover .dc-edge i { opacity: .67; }
	.dc-stage .dc-edge:hover i, .dc-stage .dc-edge:focus-visible i { opacity: 1; }
}
@media (min-width: 761px) {
	.dc-stage-look .dc-edge { width: 30%; }
	.dc-stage-look:has(.dc-prev:hover) .dc-peek-before img:last-of-type,
	.dc-stage-look:has(.dc-next:hover) .dc-peek-after img:last-of-type { opacity: .9; }
}
@media (prefers-reduced-motion: no-preference) {
	.dc-edge i { transition: opacity .2s ease; }
}
.dc-lookbook {
	background: #282421;
	padding: clamp(1.1rem, 3.6vw, 3.8rem) var(--dm-gutter);
}
.dc-stage-look {
	display: grid;
	grid-template-columns: minmax(0, .72fr) minmax(0, 1fr) minmax(0, .72fr);
	align-items: center;
	gap: clamp(.5rem, 1.4vw, 1.6rem);
	position: relative;
	max-width: min(76rem, 144svh);
	margin: auto;
}
.dc-stage-look .dc-screen { height: auto; aspect-ratio: 3/4; }
.dc-peek {
	display: block;
	position: relative;
	overflow: hidden;
	aspect-ratio: 3/4;
	padding: 0;
	border: 0;
	background: #302a28;
}
.dc-peek img { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.dc-peek img:not(:last-of-type) { z-index: 1; }
.dc-peek.dc-peek img.dc-dissolve { opacity: 0; }
@media (max-width: 760px) {
	.dm-home .dc-hero { height: clamp(28rem, min(132vw, 82svh), 42rem); }
	.dc-stage-hero::after {
		background: linear-gradient(0deg, rgb(21 14 13 / 82%), rgb(24 15 14 / 55%) 29%, rgb(26 20 18 / 13%) 69%, rgb(26 20 18 / 9%));
	}
	.dc-hero .dm-hero-copy { max-width: 100%; padding: 1.1rem var(--dm-gutter) clamp(1.6rem, 6.5vw, 2.5rem); }
	.dc-hero .dm-hero-copy[data-film-copy] {
		width: min(calc(100% - var(--dm-gutter) * 2), 33rem);
		margin-inline-start: var(--dm-gutter);
		padding: 0 0 clamp(1.35rem, 5vw, 2rem);
	}
	.dc-hero [data-film-copy] h1 { font-size: clamp(2.35rem, 9.65vw, 4rem); line-height: 1.03; }
	.dc-hero [data-film-copy] [data-film-kicker] { margin-bottom: .45rem; }
	.dc-hero [data-film-description] { max-width: min(100%, 36ch); margin-top: .65rem; font-size: .91rem; line-height: 1.4; }
	.dc-hero [data-film-copy] [data-film-cta] { margin-top: .9rem; min-height: 2.75rem; }
	.dc-hero .dm-product-types { margin-bottom: .7rem; }
	.dc-hero .dm-action { margin-top: 1rem; }
	.dc-stage-look { max-width: 32rem; grid-template-columns: minmax(0, 1fr); }
	.dc-lookbook { padding: var(--dm-gutter); }
	.dc-peek { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
	.dc-hold, .dc-peek img { transition: opacity .48s cubic-bezier(.32,0,.22,1); }
}
@media (min-width: 525px) and (max-width: 760px) {
	/* Preserve faces at the top of the portrait footage in a wide, short viewport. */
	.dc-stage-hero .dc-poster img, .dc-stage-hero .dc-screen video { object-position: 50% 4%; }
}
@media (min-width: 525px) and (max-width: 760px) and (max-height: 730px) {
	.dc-hero .dm-hero-copy[data-film-copy] { padding-bottom: 1.2rem; }
	.dc-hero [data-film-copy] h1 { font-size: clamp(2.55rem, 7.1vw, 3.3rem); }
	.dc-hero .dm-hero-copy[data-current-film="leopard"] {
		width: calc(49% - var(--dm-gutter));
		margin-inline: auto var(--dm-gutter);
	}
	.dc-hero:has([data-current-film="leopard"]) .dc-stage-hero::after {
		background: linear-gradient(270deg, rgb(26 19 16 / 39%), transparent 75%),
			linear-gradient(0deg, rgb(21 14 13 / 76%), rgb(26 20 18 / 29%) 49%, rgb(26 20 18 / 6%) 79%);
	}
}
