:root {
	--c-primary: #000000;
	--c-secondary: #ffffff;
	--c-alt: #242021;
}

.home {
	overflow-x: hidden;
}

.eyebrow {
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--c-alt);
	margin: 0 0 8px;
}

.eyebrow--on-dark {
	color: rgba(255, 255, 255, 0.75);
}

.btn {
	display: inline-block;
	padding: 12px 24px;
	border-radius: 40px;
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
}

.btn--primary {
	background: var(--c-primary);
	color: var(--c-secondary);
}

.btn--outline {
	background: transparent;
	color: var(--c-primary);
	border: 1px solid var(--c-primary);
}

.ph-image {
	background: repeating-linear-gradient(
		45deg,
		#8c8c8c,
		#8c8c8c 14px,
		#1a1a1a 14px,
		#1a1a1a 28px
	);
	border-radius: 12px;
	position: relative;
	overflow: hidden;
}

img.ph-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ph-image::after {
	content: "";
	position: absolute;
	inset: 0;
	margin: auto;
	width: 32px;
	height: 32px;
	background: rgba(255, 255, 255, 0.85);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpath d='m21 15-5-5L5 21'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpath d='m21 15-5-5L5 21'/%3E%3C/svg%3E") center / contain no-repeat;
	filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
}

.ph-image--hero {
	height: 640px;
}

.ph-image--feature {
	aspect-ratio: 4 / 3;
}

.ph-image--card {
	aspect-ratio: 16 / 10;
	margin-top: 12px;
}

.ph-image--split {
	aspect-ratio: 4 / 3;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ph-image--thumb {
	width: 90px;
	height: 70px;
	flex-shrink: 0;
}

.ph-image--cta {
	aspect-ratio: 1 / 1;
}

.ph-play {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--c-secondary);
	color: var(--c-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	position: relative;
	z-index: 1;
}

button.video-modal-trigger {
	border: none;
	padding: 0;
	width: 100%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.video-modal {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 5%;
}

.video-modal[hidden] {
	display: none;
}

.video-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.85);
}

.video-modal-inner {
	position: relative;
	width: 100%;
	max-width: 900px;
}

.video-modal-embed {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #000;
}

.video-modal-embed iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.video-modal-close {
	position: absolute;
	top: -44px;
	right: 0;
	width: 36px;
	height: 36px;
	min-width: 0;
	padding: 0;
	box-sizing: border-box;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.4);
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.video-modal-close:hover {
	background: rgba(255, 255, 255, 0.18);
}

.home-hero {
	position: relative;
}

.home-hero-content {
	position: absolute;
	left: 0;
	bottom: 40px;
	max-width: 520px;
	padding: 0 5%;
	color: var(--c-secondary);
}

.home-hero-content h1 {
	color: var(--c-secondary);
	font-size: 40px;
	margin: 0 0 12px;
}

.home-hero-sub {
	color: rgba(255, 255, 255, 0.85);
	margin: 0 0 20px;
}

.home-feature,
.home-split,
.home-cta {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	align-items: center;
	max-width: 1200px;
	margin: 0 auto;
	padding: 80px 5%;
}

.home-feature-content h2,
.home-band-heading,
.home-split-text h2,
.home-cta-content h2 {
	font-size: 28px;
	margin: 0 0 12px;
}

.home-feature-list {
	list-style: none;
	margin: 16px 0 24px;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.home-feature-list li {
	font-size: 14px;
	padding-left: 18px;
	position: relative;
}

.home-feature-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 7px;
	width: 6px;
	height: 6px;
	background: var(--c-primary);
	border-radius: 50%;
}

.home-band {
	background: var(--c-alt);
	color: var(--c-secondary);
	text-align: center;
	padding: 80px 5%;
	border-radius: 12px;
}

.home-band-heading {
	max-width: 640px;
	margin: 0 auto 48px;
}

.home-band-nav {
	display: none;
}

.home-band-grid {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.home-band-card {
	background: var(--c-secondary);
	color: var(--c-primary);
	text-align: left;
	border-radius: 8px;
	padding: 20px;
}

.home-band-card-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-weight: 500;
	font-size: 15px;
}

.home-band-card p {
	font-size: 13px;
	color: rgba(0, 0, 0, 0.6);
	margin: 8px 0 0;
}

.home-band-card-img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: 12px;
	margin-top: 12px;
}

.home-collabs {
	max-width: none;
	margin: 0 auto;
	padding: 80px 5%;
	text-align: center;
}

.home-collabs h2 {
	font-size: 28px;
	margin: 0 0 32px;
}

.home-collabs-marquee {
	overflow: hidden;
	margin-bottom: 40px;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}

.home-collabs-track {
	display: inline-flex;
	align-items: center;
	gap: 56px;
	white-space: nowrap;
	animation: home-collabs-scroll 32s linear infinite;
}

.home-collabs-logo {
	height: 64px;
	width: auto;
	flex-shrink: 0;
	object-fit: contain;
	filter: grayscale(100%);
	transition: filter 0.25s ease;
}

.home-collabs-logo:hover {
	filter: grayscale(0%);
}

/* Pause the scroll while hovering so a logo can actually be hovered */
.home-collabs-marquee:hover .home-collabs-track {
	animation-play-state: paused;
}

@keyframes home-collabs-scroll {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
	.home-collabs-track {
		animation: none;
		flex-wrap: wrap;
		white-space: normal;
		justify-content: center;
	}
}

.home-split-content {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.home-split-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 0;
	border-top: 1px solid rgba(36, 32, 33, 0.12);
	text-decoration: none;
	color: inherit;
}

a.home-split-card:hover .home-split-card-title {
	text-decoration: underline;
}

.home-split-card-meta {
	font-size: 12px;
	color: rgba(0, 0, 0, 0.5);
	margin: 0 0 4px;
}

.home-split-card-title {
	font-size: 15px;
	font-weight: 500;
	margin: 0;
}

.home-cta-checklist {
	list-style: none;
	margin: 20px 0 0;
	padding: 0;
}

.home-cta-checklist li {
	font-size: 14px;
	padding-left: 20px;
	position: relative;
	margin-bottom: 8px;
}

.home-cta-checklist li::before {
	content: "\2713";
	position: absolute;
	left: 0;
	color: var(--c-primary);
	font-size: 13px;
}

.home-benefits {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 60px 5% 100px;
}

.home-benefit {
	text-align: center;
}

.home-benefit-icon {
	min-width: 48px;
	height: 48px;
	padding: 0 14px;
	border-radius: 999px;
	background: rgba(36, 32, 33, 0.08);
	color: var(--c-alt);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 12px;
	font-size: 14px;
	font-weight: 500;
	white-space: nowrap;
}

.home-benefit-title {
	font-weight: 500;
	margin: 0 0 4px;
}

.home-benefit-text {
	font-size: 13px;
	color: rgba(0, 0, 0, 0.6);
	margin: 0;
}

@media (max-width: 900px) {
	.home-feature,
	.home-split,
	.home-cta {
		grid-template-columns: 1fr;
	}

	.home-band-nav {
		display: flex;
		justify-content: center;
		gap: 10px;
		margin: -24px 0 28px;
	}

	.home-band-nav button {
		width: 36px;
		height: 36px;
		min-width: 0;
		padding: 0;
		box-sizing: border-box;
		border-radius: 50%;
		border: 1px solid rgba(255, 255, 255, 0.4);
		background: rgba(255, 255, 255, 0.08);
		color: #fff;
		font-size: 18px;
		line-height: 1;
		cursor: pointer;
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}

	.home-band-nav button:hover {
		background: rgba(255, 255, 255, 0.18);
	}

	.home-band-grid {
		display: flex;
		gap: 16px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-behavior: smooth;
		-webkit-overflow-scrolling: touch;
		padding-bottom: 4px;
		scrollbar-width: none;
		-ms-overflow-style: none;
	}

	.home-band-grid::-webkit-scrollbar {
		display: none;
	}

	.home-band-card {
		flex: 0 0 calc((100% - 16px) / 2);
		scroll-snap-align: start;
	}

	.home-benefits {
		grid-template-columns: repeat(2, 1fr);
	}

	.ph-image--hero {
		height: 420px;
		border-radius: 0;
	}

	.home-hero-content h1 {
		font-size: 30px;
	}
}
