:root {
	--hero-bg: #000000;
	--hero-fg: #f0efd7;
	--hero-muted: rgba(240, 239, 215, 0.68);
	--hero-rule: rgba(240, 239, 215, 0.85);
	--hero-overlay: rgba(0, 0, 0, 0.8);
	--about-bg: #c9ff8f;
	--about-fg: #000000;
	--about-muted: rgba(0, 0, 0, 0.52);
	--section-aside-text-size: clamp(14px, 3.2vw, 16px);
	--section-aside-text-leading: 1.32;
	--site-header-z: 100;
}

html.momento-menu-open,
html.momento-menu-open body {
	overflow: hidden;
	height: 100%;
}

.momento-home-takeover,
.momento-home-takeover body {
	margin: 0;
	overflow-x: clip;
	max-width: 100%;
	background: var(--hero-bg) !important;
	color: var(--hero-fg);
	font-family: "aktiv-grotesk", "neue-haas-grotesk-display", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.momento-home-takeover a:hover,
.momento-home-takeover a:focus-visible,
.momento-home-takeover a:active,
.momento-home-takeover a:visited {
	text-decoration: none;
}

.hero-home__header {
	position: relative;
	z-index: var(--site-header-z);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: clamp(18px, 4vw, 28px) clamp(18px, 5vw, 36px) 0;
	background: var(--hero-bg);
}

.hero-home__brand {
	display: inline-flex;
	align-items: center;
	margin-left: clamp(-8px, -1.6vw, -4px);
	color: var(--hero-fg);
	text-decoration: none;
	transition: transform 0.28s ease;
	transform-origin: left center;
	-webkit-tap-highlight-color: transparent;
}

.hero-home__brand:hover,
.hero-home__brand:focus-visible {
	transform: scale(1.035);
}

.hero-home__brand-mark {
	width: clamp(128px, 24vw, 188px);
	height: clamp(30px, 5.6vw, 44px);
	display: inline-flex;
	align-items: center;
}

.hero-home__brand-mark .momento-inline-logo,
.hero-home__brand-mark svg {
	width: 100%;
	height: 100%;
	display: block;
	color: var(--hero-fg);
}

.hero-home__brand-mark path,
.home-footer__mark path {
	fill: currentColor;
}

.momento-logo-glow svg {
	transition:
		filter 0.34s ease,
		transform 0.28s ease;
}

.momento-logo-glow:hover svg,
.momento-logo-glow:focus-visible svg,
.momento-logo-glow.is-logo-glowing svg {
	filter:
		drop-shadow(0 0 1px rgba(240, 239, 215, 0.95))
		drop-shadow(0 0 8px rgba(240, 239, 215, 0.62))
		drop-shadow(0 0 18px rgba(240, 239, 215, 0.38))
		drop-shadow(0 0 30px rgba(240, 239, 215, 0.22));
	animation: momento-logo-glow-pulse 1.15s ease-in-out infinite;
}

.hero-home__menu-toggle {
	border: 1px solid transparent;
	background: transparent;
	color: var(--hero-fg);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 6px 14px 5px;
	font: inherit;
	font-size: clamp(18px, 3.6vw, 30px);
	line-height: 0.9;
	-webkit-tap-highlight-color: transparent;
	transition:
		border-color 0.28s ease,
		box-shadow 0.28s ease,
		transform 0.28s ease;
}

.hero-home__menu-toggle:hover,
.hero-home__menu-toggle:focus-visible,
.hero-home__menu-toggle:active {
	border-color: rgba(240, 239, 215, 0.8);
	color: var(--hero-fg) !important;
	outline: none;
}

.hero-home__nav {
	display: none;
}

.hero-home__nav-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: clamp(14px, 1.8vw, 28px);
}

.hero-home__nav-list a {
	color: var(--hero-fg);
	text-decoration: none;
	font-size: clamp(13px, 1.1vw, 17px);
	line-height: 1.1;
	white-space: nowrap;
	transition: opacity 0.24s ease;
}

.hero-home__nav-list a:hover,
.hero-home__nav-list a:focus-visible {
	color: var(--hero-fg) !important;
	opacity: 0.72;
	outline: none;
}

.momento-page__main {
	padding: clamp(30px, 7vw, 70px) clamp(24px, 8vw, 120px) clamp(80px, 11vw, 130px);
	background: var(--hero-bg);
	color: var(--hero-fg);
}

.momento-bio {
	display: grid;
	gap: clamp(54px, 10vw, 112px);
}

.momento-bio__hero {
	min-height: clamp(240px, 34vw, 420px);
	display: grid;
	place-items: center;
	padding: clamp(20px, 5vw, 48px) 0;
}

.momento-bio__hero-title {
	margin: 0;
	display: grid;
	gap: 0;
	text-align: center;
	font-size: clamp(42px, 10vw, 84px);
	line-height: 0.96;
	font-weight: 400;
	letter-spacing: -0.04em;
}

.momento-bio__hero-title span {
	display: block;
}

.momento-bio__section {
	display: grid;
	gap: clamp(30px, 4vw, 40px);
}

.momento-bio__rule {
	height: 1px;
	background: var(--hero-rule);
	transform-origin: left center;
}

.momento-bio__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(20px, 5vw, 48px);
}

.momento-bio__aside {
	max-width: 24rem;
}

.momento-bio__eyebrow,
.momento-bio__statement {
	margin: 0;
	color: var(--about-bg);
	font-size: clamp(16px, 3.8vw, 18px);
	line-height: 1.05;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.momento-bio__statement span,
.momento-bio__section-title span {
	display: block;
}

.momento-bio__content {
	max-width: 46rem;
}

.momento-bio__content p {
	margin: 0;
	font-size: clamp(15px, 2.8vw, 18px);
	line-height: 1.42;
	color: var(--hero-muted);
}

.momento-bio__content p + p {
	margin-top: clamp(14px, 2.4vw, 20px);
}

.momento-bio__section-title {
	margin: 0 0 clamp(24px, 4vw, 34px);
	font-size: clamp(34px, 8vw, 62px);
	line-height: 0.98;
	font-weight: 400;
	letter-spacing: -0.04em;
	color: var(--hero-fg);
}

.hero-menu-overlay {
	position: fixed;
	inset: 0;
	z-index: 120;
	pointer-events: none;
}

.hero-menu-overlay[aria-hidden="false"] {
	pointer-events: auto;
}

.hero-menu-overlay__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0);
	transition: background 0.28s ease;
}

.hero-menu-overlay__panel {
	position: absolute;
	top: 0;
	right: 0;
	width: min(88vw, 420px);
	min-height: 100%;
	padding: clamp(28px, 6vw, 40px);
	background: var(--hero-overlay);
	backdrop-filter: blur(18px);
	transform: translateX(100%);
	transition: transform 0.3s ease;
}

.hero-menu-overlay[aria-hidden="false"] .hero-menu-overlay__backdrop {
	background: rgba(0, 0, 0, 0.42);
}

.hero-menu-overlay[aria-hidden="false"] .hero-menu-overlay__panel {
	transform: translateX(0);
}

.hero-menu-overlay__close {
	position: absolute;
	top: clamp(18px, 4vw, 24px);
	right: clamp(18px, 4vw, 24px);
	width: 48px;
	height: 48px;
	border: 0;
	background: transparent;
	color: var(--hero-fg);
	cursor: pointer;
}

.hero-menu-overlay__close span {
	position: absolute;
	top: 23px;
	left: 10px;
	width: 28px;
	height: 1px;
	background: currentColor;
}

.hero-menu-overlay__close span:first-child {
	transform: rotate(45deg);
}

.hero-menu-overlay__close span:last-child {
	transform: rotate(-45deg);
}

.hero-menu-overlay__nav {
	margin-top: clamp(72px, 12vw, 96px);
}

.hero-menu-overlay__nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 16px;
}

.hero-menu-overlay__nav a {
	color: var(--hero-fg);
	text-decoration: none;
	font-size: clamp(28px, 8vw, 42px);
	line-height: 1;
	letter-spacing: -0.03em;
}

.home-footer {
	position: relative;
	z-index: 6;
	background: var(--hero-bg);
	margin-top: clamp(-24px, -3vh, 0);
}

.home-footer__card {
	position: relative;
	background: var(--about-bg);
	color: var(--about-fg);
	border-radius: clamp(30px, 7.5vw, 54px);
	padding:
		clamp(36px, 7.5vw, 64px)
		clamp(20px, 5.2vw, 40px)
		clamp(28px, 5vw, 44px);
}

.home-footer__grid {
	display: grid;
	gap: clamp(28px, 6vw, 40px);
	grid-template-areas:
		"pitch"
		"actions"
		"brand"
		"legal";
}

.home-footer__pitch {
	grid-area: pitch;
	display: grid;
	gap: clamp(14px, 3.2vw, 20px);
	max-width: min(38ch, calc(100% - clamp(72px, 18vw, 112px)));
}

.home-footer__title {
	margin: 0;
	font-size: clamp(18px, 4.2vw, 22px);
	line-height: 1.12;
	font-weight: 400;
	letter-spacing: -0.012em;
	text-transform: uppercase;
	color: var(--about-fg);
}

.home-footer__title-line,
.home-footer__legal-notice-line {
	display: block;
}

.home-footer__text {
	margin: 0;
	max-width: 36ch;
	font-size: var(--section-aside-text-size);
	line-height: var(--section-aside-text-leading);
	font-weight: 400;
	letter-spacing: -0.003em;
	color: var(--about-muted);
}

.home-footer__actions {
	grid-area: actions;
	display: grid;
	gap: clamp(22px, 5vw, 32px);
	margin-top: clamp(32px, 8vw, 56px);
}

.home-footer__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	min-width: clamp(240px, 54vw, 320px);
	padding: clamp(20px, 4.2vw, 24px) clamp(40px, 8vw, 60px) clamp(19px, 4vw, 23px);
	border: 1px solid var(--about-fg);
	color: var(--about-fg);
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: clamp(18px, 4.2vw, 20px);
	line-height: 1;
	font-weight: 600;
	transition:
		background-color 0.24s ease,
		color 0.24s ease,
		transform 0.24s ease;
}

.home-footer__cta:hover,
.home-footer__cta:focus-visible,
.home-footer__cta:active,
.home-footer__cta:visited {
	color: var(--about-bg);
	background: var(--about-fg);
}

.home-footer__nav ul,
.home-footer__legal ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
}

.home-footer__nav ul {
	gap: clamp(4px, 1vw, 6px);
}

.home-footer__nav a {
	color: var(--about-fg);
	text-decoration: none;
	font-size: clamp(15px, 3.6vw, 17px);
	line-height: 1.15;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	transition:
		color 0.22s ease,
		transform 0.22s ease;
	display: inline-block;
}

.home-footer__nav a:hover,
.home-footer__nav a:focus-visible {
	color: var(--about-fg);
	transform: translateX(6px);
	outline: none;
}

.home-footer__brand {
	grid-area: brand;
	margin-top: clamp(24px, 5vw, 36px);
}

.home-footer__wordmark {
	margin: 0;
	font-size: clamp(56px, 14vw, 72px);
	line-height: 0.92;
	font-weight: 400;
	letter-spacing: -0.034em;
	text-transform: lowercase;
	color: var(--about-fg);
}

.home-footer__mark {
	grid-area: mark;
	position: absolute;
	top: clamp(36px, 7.5vw, 64px);
	right: clamp(20px, 5.2vw, 40px);
	width: clamp(72px, 17vw, 96px);
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	color: var(--about-fg);
}

.home-footer__mark svg,
.home-footer__mark .momento-inline-logo {
	width: 100%;
	height: auto;
	display: block;
}

.home-footer__legal {
	grid-area: legal;
	align-self: end;
}

.home-footer__legal ul {
	gap: 0;
	text-align: left;
}

.home-footer__legal li {
	margin: 0;
	line-height: 1;
}

.home-footer__legal a {
	color: var(--about-muted);
	text-decoration: none;
	font-size: clamp(10px, 2.4vw, 12px);
	line-height: 1;
	font-weight: 500;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	display: block;
	transition: color 0.22s ease;
}

.home-footer__legal a:hover,
.home-footer__legal a:focus-visible {
	color: var(--about-fg);
	outline: none;
}

.home-footer__legal-notice {
	margin: 0;
	display: grid;
	gap: 2px;
	color: var(--hero-fg);
	font-size: clamp(10px, 2.4vw, 11px);
	line-height: 1.2;
	font-weight: 400;
	letter-spacing: 0.03em;
	opacity: 0.78;
}

.home-footer__base {
	background: var(--hero-bg);
	padding:
		clamp(18px, 3.6vw, 28px)
		clamp(20px, 5.2vw, 40px)
		clamp(28px, 5vw, 44px);
}

@media (min-width: 768px) {
	.hero-home__brand-mark {
		width: clamp(148px, 18vw, 210px);
		height: clamp(34px, 4.2vw, 48px);
	}

	.momento-page__main {
		padding-top: clamp(56px, 7vw, 72px);
	}

	.momento-bio__grid {
		grid-template-columns: minmax(180px, 22%) minmax(0, 1fr);
		align-items: start;
	}

	.momento-bio__hero {
		min-height: clamp(280px, 34vw, 500px);
	}

	.momento-bio__hero-title {
		font-size: clamp(62px, 8vw, 96px);
	}

	.home-footer__card {
		padding:
			clamp(48px, 5.6vw, 76px)
			clamp(32px, 4vw, 60px)
			clamp(34px, 4vw, 48px);
	}
}

@media (min-width: 1200px) {
	.hero-home__menu-toggle {
		display: none;
	}

	.hero-home__nav {
		display: block;
		flex: 1 1 auto;
	}

	.momento-page__main {
		padding-top: clamp(48px, 5vw, 68px);
	}

	.momento-bio__hero {
		min-height: clamp(320px, 38vw, 560px);
	}

	.home-footer__grid {
		grid-template-columns: minmax(0, 1.1fr) minmax(220px, 0.7fr);
		grid-template-areas:
			"pitch mark"
			"actions legal"
			"brand legal";
		align-items: start;
	}
}

@keyframes momento-logo-glow-pulse {
	0%,
	100% {
		filter:
			drop-shadow(0 0 1px rgba(240, 239, 215, 0.9))
			drop-shadow(0 0 7px rgba(240, 239, 215, 0.52))
			drop-shadow(0 0 16px rgba(240, 239, 215, 0.3))
			drop-shadow(0 0 26px rgba(240, 239, 215, 0.18));
	}
	50% {
		filter:
			drop-shadow(0 0 2px rgba(240, 239, 215, 1))
			drop-shadow(0 0 11px rgba(240, 239, 215, 0.72))
			drop-shadow(0 0 22px rgba(240, 239, 215, 0.46))
			drop-shadow(0 0 36px rgba(240, 239, 215, 0.28));
	}
}
