:root {
	font-family: 'Manrope', sans-serif;
	color: #fff;
	background: #f2b313;
	font-synthesis: none;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	min-width: 320px;
	overflow: hidden;
}

a {
	color: inherit;
	text-decoration: none;
}

button {
	font: inherit;
}

.site-main {
	margin: 0;
}

.hero {
	position: relative;
	width: 100%;
	height: 100vh;
	height: 100dvh;
	min-height: 620px;
	overflow: hidden;
	isolation: isolate;
	background: #f20a08;
	touch-action: none;
}

.image {
	position: absolute;
	inset: 0;
	background-position: center;
	background-size: cover;
}

.image-red {
	z-index: 0;
	display: block;
	background: #f20a08;
	animation: enter 1.2s cubic-bezier(.2, .8, .2, 1) both;
}

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

.image-red::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(90deg, rgba(115, 0, 0, .2), transparent 55%);
}

.reveal-canvas {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: block;
	width: 100%;
	height: 100%;
	pointer-events: none;
	contain: layout paint size;
}

.grain {
	position: absolute;
	inset: -50%;
	z-index: 2;
	pointer-events: none;
	opacity: .055;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
	animation: grain .22s steps(2) infinite;
}

.custom-cursor {
	position: absolute;
	z-index: 60;
	top: 0;
	left: 0;
	width: 42px;
	height: 42px;
	border: 1px solid rgba(255, 255, 255, .82);
	border-radius: 50%;
	opacity: 0;
	pointer-events: none;
	will-change: transform;
	transition: width .2s ease, height .2s ease, opacity .18s ease, background-color .2s ease;
	box-shadow: inset 0 0 0 5px rgba(255, 255, 255, .08), 0 2px 14px rgba(55, 0, 0, .12);
}

.custom-cursor span {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: #fff;
	transform: translate(-50%, -50%);
}

.hero-nav {
	position: absolute;
	z-index: 10;
	top: 0;
	left: 0;
	width: 100%;
	padding: 28px 42px;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	border-bottom: 1px solid rgba(255, 255, 255, .28);
	animation: drop .8s .1s both;
}

.brand {
	display: flex;
	gap: 11px;
	align-items: center;
	font-size: 12px;
	font-weight: 600;
	line-height: .9;
	letter-spacing: -.04em;
	text-transform: uppercase;
}

.custom-logo {
	display: block;
	width: auto;
	max-width: 180px;
	height: 38px;
	object-fit: contain;
}

.brand-mark {
	position: relative;
	width: 27px;
	height: 27px;
	display: block;
	flex: 0 0 auto;
}

.brand-mark i {
	position: absolute;
	width: 18px;
	height: 18px;
	border: 2px solid #fff;
	transform: rotate(45deg);
}

.brand-mark i:last-child {
	left: 8px;
	top: 8px;
}

.desktop-nav .menu {
	display: flex;
	gap: 38px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.desktop-nav a {
	position: relative;
	display: block;
	padding: 7px 0;
	font-size: 12px;
	font-weight: 500;
}

.desktop-nav a::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 0;
	height: 1px;
	background: #fff;
	transition: width .25s;
}

.desktop-nav a:hover::after {
	width: 100%;
}

.nav-cta {
	justify-self: end;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 16px;
	border: 1px solid rgba(255, 255, 255, .65);
	border-radius: 999px;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .08em;
	transition: .25s;
}

.nav-cta:hover {
	color: #e20b09;
	background: #fff;
}

.arrow {
	display: inline-block;
	width: 9px;
	height: 9px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg);
	transition: transform .25s;
}

.nav-cta:hover .arrow,
.copy-footer a:hover .arrow {
	transform: rotate(45deg) translate(3px, 3px);
}

.menu-button,
.mobile-menu {
	display: none;
}

.hero-copy {
	position: absolute;
	z-index: 3;
	left: 6.2vw;
	top: 50%;
	transform: translateY(-45%);
	max-width: 680px;
}

.eyebrow {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 25px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	animation: rise .8s .25s both;
}

.eyebrow span {
	width: 28px;
	height: 1px;
	background: #fff;
}

.hero h1 {
	margin: 0;
	font-family: 'DM Sans', sans-serif;
	font-size: clamp(58px, 7.25vw, 122px);
	font-weight: 500;
	line-height: .82;
	letter-spacing: -.075em;
	animation: rise 1s .38s both;
}

.hero h1 em {
	font-family: 'Playfair Display', serif;
	font-weight: 500;
	letter-spacing: -.045em;
}

.copy-footer {
	display: flex;
	align-items: flex-end;
	gap: 52px;
	margin-top: 38px;
	animation: rise .9s .58s both;
}

.copy-footer p {
	width: 300px;
	margin: 0;
	font-size: 13px;
	line-height: 1.65;
	color: rgba(255, 255, 255, .88);
}

.copy-footer a {
	display: flex;
	gap: 18px;
	align-items: center;
	padding-bottom: 8px;
	border-bottom: 1px solid #fff;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .1em;
}

.reveal-hint {
	position: absolute;
	z-index: 4;
	right: 8vw;
	top: 25%;
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 8px;
	line-height: 1.5;
	letter-spacing: .14em;
	animation: fade 1s 1.2s both;
}

.hint-ring {
	width: 42px;
	height: 42px;
	border: 1px solid rgba(255, 255, 255, .65);
	border-radius: 50%;
	box-shadow: inset 0 0 0 6px rgba(255, 255, 255, .12);
	animation: pulse 2s infinite;
}

.chapter {
	position: absolute;
	z-index: 3;
	left: 42px;
	bottom: 29px;
	display: flex;
	gap: 15px;
	font-size: 9px;
	letter-spacing: .14em;
}

.chapter span:first-child {
	opacity: .55;
}

.scroll-note {
	position: absolute;
	z-index: 3;
	right: 42px;
	bottom: 27px;
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 9px;
	letter-spacing: .14em;
}

@media (hover: hover) and (pointer: fine) {
	.hero,
	.hero a,
	.hero button {
		cursor: none;
	}

	.hero:has(a:hover) .custom-cursor,
	.hero:has(button:hover) .custom-cursor {
		width: 54px;
		height: 54px;
		background: rgba(255, 255, 255, .12);
	}
}

@keyframes enter {
	from {
		transform: scale(1.04);
	}

	to {
		transform: scale(1);
	}
}

@keyframes rise {
	from {
		opacity: 0;
		transform: translateY(28px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes drop {
	from {
		opacity: 0;
		transform: translateY(-20px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes fade {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

@keyframes pulse {
	50% {
		transform: scale(1.12);
		opacity: .6;
	}
}

@keyframes grain {
	0% {
		transform: translate(0, 0);
	}

	25% {
		transform: translate(2%, -3%);
	}

	50% {
		transform: translate(-3%, 2%);
	}

	75% {
		transform: translate(3%, 3%);
	}
}

@media (max-width: 800px) {
	.hero {
		min-height: 560px;
	}

	.image,
	.image-red img {
		background-position: 57% center;
		object-position: 57% center;
	}

	.image-red {
		animation: none;
	}

	.image-red::after {
		content: '';
		position: absolute;
		inset: 0;
		z-index: 2;
		background: linear-gradient(180deg, rgba(70, 0, 0, .08) 25%, rgba(70, 0, 0, .18) 55%, rgba(70, 0, 0, .68) 100%);
	}

	.grain {
		animation: none;
		opacity: .04;
	}

	.hero-nav {
		padding: max(16px, env(safe-area-inset-top)) 18px 16px;
		display: flex;
		justify-content: space-between;
		transition: color .25s;
	}

	.hero-nav.menu-is-open {
		color: #f20a08;
	}

	.hero-nav.menu-is-open .brand-mark i {
		border-color: #f20a08;
	}

	.hero-nav.menu-is-open .menu-button {
		border-color: rgba(242, 10, 8, .45);
	}

	.desktop-nav,
	.nav-cta {
		display: none;
	}

	.menu-button {
		z-index: 12;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 6px;
		width: 44px;
		height: 44px;
		padding: 0;
		color: inherit;
		background: transparent;
		border: 1px solid rgba(255, 255, 255, .55);
		border-radius: 50%;
	}

	.menu-button span {
		width: 17px;
		height: 1px;
		background: currentColor;
		transition: transform .25s;
	}

	.menu-button[aria-expanded=true] span:first-child {
		transform: translateY(3.5px) rotate(45deg);
	}

	.menu-button[aria-expanded=true] span:last-child {
		transform: translateY(-3.5px) rotate(-45deg);
	}

	.mobile-menu {
		position: absolute;
		z-index: 8;
		top: 0;
		left: 0;
		right: 0;
		display: flex;
		flex-direction: column;
		padding: calc(102px + env(safe-area-inset-top)) 22px 28px;
		color: #f20a08;
		background: #fff4dc;
		box-shadow: 0 18px 50px rgba(64, 0, 0, .22);
		transform: translateY(-110%);
		visibility: hidden;
		transition: transform .45s cubic-bezier(.2, .8, .2, 1), visibility 0s .45s;
	}

	.mobile-menu.open {
		transform: translateY(0);
		visibility: visible;
		transition-delay: 0s;
	}

	.mobile-menu .menu {
		margin: 0;
		padding: 0;
		list-style: none;
	}

	.mobile-menu .menu a {
		display: block;
		padding: 14px 0;
		border-bottom: 1px solid rgba(242, 10, 8, .16);
		font-size: clamp(20px, 6vw, 27px);
		letter-spacing: -.045em;
	}

	.mobile-cta {
		margin-top: 18px;
		padding: 14px 18px;
		border-radius: 999px;
		color: #fff;
		background: #f20a08;
		text-align: center;
		font-size: 12px;
		letter-spacing: .08em;
		text-transform: uppercase;
	}

	.hero-copy {
		left: 20px;
		right: 20px;
		top: auto;
		bottom: max(67px, calc(52px + env(safe-area-inset-bottom)));
		transform: none;
		max-width: 540px;
	}

	.eyebrow {
		margin-bottom: 15px;
		gap: 9px;
		font-size: clamp(8px, 2.35vw, 10px);
		line-height: 1.35;
	}

	.eyebrow span {
		width: 20px;
	}

	.hero h1 {
		font-size: clamp(46px, 14.2vw, 70px);
		line-height: .87;
		letter-spacing: -.07em;
	}

	.copy-footer {
		align-items: flex-start;
		flex-direction: column;
		gap: 18px;
		margin-top: 22px;
	}

	.copy-footer p {
		width: min(88vw, 350px);
		font-size: clamp(10px, 3vw, 12px);
		line-height: 1.55;
	}

	.copy-footer a {
		min-height: 38px;
		padding: 0 0 6px;
		font-size: 9px;
	}

	.reveal-hint {
		display: none;
	}

	.hint-ring {
		width: 34px;
		height: 34px;
	}

	.chapter {
		left: 20px;
		bottom: max(21px, env(safe-area-inset-bottom));
	}

	.scroll-note,
	.custom-cursor {
		display: none;
	}
}

@media (max-width: 380px) {
	.brand {
		font-size: 10px;
	}

	.brand-mark {
		transform: scale(.88);
		transform-origin: left center;
		margin-right: -2px;
	}

	.hero-copy {
		left: 16px;
		right: 16px;
	}

	.hero h1 {
		font-size: clamp(43px, 13.8vw, 53px);
	}

	.copy-footer {
		margin-top: 16px;
		gap: 12px;
	}

	.copy-footer p {
		max-width: 310px;
	}

	.reveal-hint {
		display: none;
	}
}

@media (max-height: 690px) and (max-width: 800px) {
	.hero-copy {
		bottom: 54px;
	}

	.eyebrow {
		margin-bottom: 10px;
	}

	.hero h1 {
		font-size: clamp(42px, 12.5vw, 58px);
	}

	.copy-footer {
		margin-top: 14px;
		gap: 10px;
	}

	.copy-footer p {
		line-height: 1.4;
	}

	.reveal-hint {
		display: none;
	}
}

@media (orientation: landscape) and (max-height: 560px) {
	.hero {
		min-height: 420px;
	}

	.image,
	.image-red img {
		background-position: center 58%;
		object-position: center 58%;
	}

	.hero-copy {
		left: 5vw;
		bottom: 38px;
		max-width: 55vw;
	}

	.eyebrow {
		margin-bottom: 8px;
	}

	.hero h1 {
		font-size: clamp(38px, 8.2vh, 62px);
		line-height: .86;
	}

	.copy-footer {
		flex-direction: row;
		align-items: flex-end;
		margin-top: 12px;
		gap: 24px;
	}

	.copy-footer p {
		width: min(38vw, 290px);
		font-size: 9px;
	}

	.chapter,
	.reveal-hint {
		display: none;
	}
}

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