/* ================================================================
   RESET
   ================================================================ */
*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

/* ================================================================
   CSS CUSTOM PROPERTIES
   ================================================================ */
:root {
	/* Palette tokens */
	--color-cream: #f5f5f0;
	--color-black: #10110e;
	--color-true-black: #000000;

	/* Semantic tokens */
	--background: var(--color-cream);
	--foreground: var(--color-black);
	--text: var(--color-black);
	--text-muted: #5a5b52;
	--border: rgba(16, 17, 14, 0.15);
	--surface: rgba(16, 17, 14, 0.04);
	--surface-hover: rgba(16, 17, 14, 0.08);

	/* Hero */
	--hero-bg: var(--color-true-black);
	--hero-text: var(--color-cream);
	--hero-text-dim: rgba(245, 245, 240, 0.5);
	--hero-overlay-mid: rgba(0, 0, 0, 0.7);
	--hero-overlay-end: rgba(0, 0, 0, 0.95);

	/* Fonts */
	--font: 'Satoshi', -apple-system, BlinkMacSystemFont, sans-serif;
	--mono: 'SF Mono', 'Fira Code', 'Fira Mono', 'Roboto Mono', monospace;
}

[data-theme="dark"] {
	--background: var(--color-black);
	--foreground: var(--color-cream);
	--text: var(--color-cream);
	--text-muted: #8a8b7e;
	--border: rgba(245, 245, 240, 0.12);
	--surface: rgba(245, 245, 240, 0.05);
	--surface-hover: rgba(245, 245, 240, 0.1);
}

/* ================================================================
   ACCESSIBILITY
   ================================================================ */
.skip-link {
	position: absolute;
	top: -100%;
	left: 1rem;
	padding: 0.75rem 1rem;
	background: var(--text);
	color: var(--background);
	text-decoration: none;
	font-family: var(--font);
	font-weight: 500;
	z-index: 10000;
	transition: top 0.2s ease;
}

.skip-link:focus {
	top: 1rem;
}

::selection {
	background: var(--text);
	color: var(--background);
}

/* ================================================================
   BASE
   ================================================================ */
html {
	height: 100%;
	scroll-behavior: smooth;
	overflow-x: hidden;
}

body {
	font-family: var(--font);
	background-color: var(--background);
	color: var(--foreground);
	min-height: 100%;
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Dark mode: gradient from hero's true black across entire page to near-black */
[data-theme="dark"] body {
	background-color: var(--color-black);
	background-image: linear-gradient(to bottom, var(--color-true-black) 0%, var(--color-true-black) 100vh, var(--color-black) var(--document-height, 400vh));
	background-size: 100% var(--document-height, 400vh);
	background-repeat: no-repeat;
}

/*
   Film grain overlay — saved for re-use on colorful images/posts.
   Apply class "grain" to any element that needs the texture.
*/
.grain::after {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	right: -50%;
	bottom: -50%;
	width: 200%;
	height: 200%;
	pointer-events: none;
	z-index: 10;
	opacity: 0.06;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
	background-size: 256px 256px;
}

/* ================================================================
   CONSTELLATION BACKGROUND
   ================================================================ */
.stars-container {
	position: absolute;
	top: 0;
	left: 0;
	width: 100vw;
	max-width: 100%;
	height: var(--document-height, 100%);
	min-height: 100vh;
	pointer-events: none;
	z-index: -3;
	overflow: hidden;
}

[data-theme="light"] .stars-container {
	display: none;
}

/* Dark mode: full stars */
.star {
	position: absolute;
	width: 2px;
	height: 2px;
	background: var(--text);
	border-radius: 50%;
	opacity: 0;
	animation: star-appear 1s ease-out forwards;
}

.star--small {
	width: 1px;
	height: 1px;
}

.star--large {
	width: 3px;
	height: 3px;
}

.star--bright {
	width: 4px;
	height: 4px;
}

.star--glow-soft {
	box-shadow: 0 0 4px 1px var(--text);
}

.star--glow-medium {
	box-shadow: 0 0 6px 2px var(--text);
}

.star--glow-bright {
	box-shadow: 0 0 8px 3px var(--text);
}

@keyframes star-appear {
	from {
		opacity: 0;
		transform: scale(0);
	}

	to {
		opacity: var(--star-opacity, 0.4);
		transform: scale(1);
	}
}

.star {
	--star-opacity: 0.1;
}

[data-theme="dark"] .star {
	--star-opacity: 0.45;
}

.star--glow-soft {
	--star-opacity: 0.12;
}

[data-theme="dark"] .star--glow-soft {
	--star-opacity: 0.5;
}

.star--glow-medium {
	--star-opacity: 0.15;
}

[data-theme="dark"] .star--glow-medium {
	--star-opacity: 0.6;
}

.star--glow-bright {
	--star-opacity: 0.2;
}

[data-theme="dark"] .star--glow-bright {
	--star-opacity: 0.75;
}

.star--bg {
	--star-opacity: 0.04;
	width: 1px;
	height: 1px;
}

[data-theme="dark"] .star--bg {
	--star-opacity: 0.14;
}

/* Stars use warm cream in dark mode */
[data-theme="dark"] .star {
	background: var(--color-cream);
}

[data-theme="dark"] .star--glow-soft {
	box-shadow: 0 0 4px 1px var(--color-cream);
}

[data-theme="dark"] .star--glow-medium {
	box-shadow: 0 0 6px 2px var(--color-cream);
}

[data-theme="dark"] .star--glow-bright {
	box-shadow: 0 0 8px 3px var(--color-cream);
}

/* Constellation lines */
.constellation-svg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
}

.constellation-line {
	stroke: var(--text);
	stroke-width: 0.5;
	stroke-opacity: 0.03;
	fill: none;
	stroke-dasharray: 1000;
	stroke-dashoffset: 1000;
	animation: draw-line 2s ease-out forwards;
}

[data-theme="dark"] .constellation-line {
	stroke-opacity: 0.06;
}

@keyframes draw-line {
	to {
		stroke-dashoffset: 0;
	}
}

/* Twinkle — CSS-only opacity pulse, compositor-friendly (no layout/paint) */
@keyframes twinkle {
	0%, 100% { opacity: var(--star-opacity, 0.4); }
	50% { opacity: 0.1; }
}

.star--twinkle {
	animation: star-appear 1s ease-out forwards, twinkle 4s ease-in-out var(--twinkle-delay, 1.5s) infinite;
}

.star--twinkle-slow {
	animation: star-appear 1s ease-out forwards, twinkle 6s ease-in-out var(--twinkle-delay, 2s) infinite;
}

@media (max-width: 768px) {
	.stars-container {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.star {
		animation: none;
		opacity: var(--star-opacity, 0.4);
	}

	.star--twinkle,
	.star--twinkle-slow {
		animation: none;
	}

	.constellation-line {
		animation: none;
		stroke-dashoffset: 0;
	}
}

/* Vignette — dark mode only */
.vignette {
	position: fixed;
	top: -50px;
	left: -50px;
	right: -50px;
	bottom: -50px;
	pointer-events: none;
	z-index: -1;
	opacity: 0.4;
	background: radial-gradient(ellipse 120% 120% at 50% 50%, transparent 50%, var(--background) 100%);
}

[data-theme="light"] .vignette {
	opacity: 0.15;
}

/* ================================================================
   NAVIGATION
   ================================================================ */
.nav {
	position: fixed;
	top: 0;
	right: 0;
	z-index: 1000;
	padding: clamp(1rem, 3vw, 2rem);
}

.nav-toggle {
	display: flex;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
	z-index: 1001;
	position: relative;
}

.hamburger-line {
	display: block;
	width: 24px;
	height: 1.5px;
	background: var(--text);
	transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
	transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
	opacity: 0;
}

.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
	transform: translateY(-6.5px) rotate(-45deg);
}

.nav-menu {
	position: absolute;
	top: 0;
	right: 0;
	background: var(--background);
	border: 1px solid var(--border);
	padding: 4rem 2.5rem 2rem;
	min-width: 220px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-8px);
	transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.nav-toggle[aria-expanded="true"]+.nav-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.nav-links {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.nav-links a {
	font-family: var(--font);
	font-size: 0.875rem;
	font-weight: 400;
	color: var(--text);
	text-decoration: none;
	letter-spacing: 0.02em;
	transition: opacity 0.2s ease;
}

.nav-links a:hover {
	opacity: 0.5;
}

/* Theme toggle */
.theme-toggle-wrapper {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	margin-top: 1.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--border);
}

.theme-icon {
	width: 14px;
	height: 14px;
	color: var(--text-muted);
	flex-shrink: 0;
}

.theme-switch {
	position: relative;
	display: inline-block;
	width: 32px;
	height: 18px;
}

.theme-switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.theme-slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: var(--surface);
	border: 1px solid var(--border);
	border-radius: 18px;
	transition: background-color 0.3s ease;
}

.theme-slider::before {
	content: '';
	position: absolute;
	height: 12px;
	width: 12px;
	left: 2px;
	bottom: 2px;
	background-color: var(--text);
	border-radius: 50%;
	transition: transform 0.3s ease;
}

.theme-switch input:checked+.theme-slider::before {
	transform: translateX(14px);
}

/* ================================================================
   PAGE WRAPPER
   ================================================================ */
.page-wrapper {
	position: relative;
	z-index: 1;
}

/* ================================================================
   SHARED SECTION STYLES
   ================================================================ */
.section {
	padding: clamp(4rem, 10vw, 8rem) clamp(1.5rem, 5vw, 4rem);
	max-width: 1200px;
	margin: 0 auto;
}

.section-label {
	font-family: var(--mono);
	font-size: 0.625rem;
	font-weight: 400;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--text-muted);
	margin-bottom: 2.5rem;
	opacity: 0.7;
}

/* Entrance animations */
.reveal {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
		transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
	opacity: 1;
	transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
	.reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* ================================================================
   HERO — Full Bleed NYC Photo
   ================================================================ */
.hero {
	position: relative;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	overflow: hidden;
}

/* Photo container with chromatic aberration */
.hero-photo {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
}

.hero-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(0.8) contrast(1.2);
}

/* Chromatic aberration layers */
.hero-photo .chroma-r,
.hero-photo .chroma-b {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	pointer-events: none;
}

.hero-photo .chroma-r {
	filter: grayscale(1) contrast(1.2);
	mix-blend-mode: multiply;
	opacity: 0.6;
	transform: translate(3px, -2px);
}

.hero-photo .chroma-b {
	filter: grayscale(1) contrast(1.2) hue-rotate(180deg);
	mix-blend-mode: screen;
	opacity: 0.3;
	transform: translate(-3px, 2px);
}

/* Gradient overlay for hero — fades to background at bottom */
.hero-photo::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	background: linear-gradient(to bottom,
			transparent 0%,
			transparent 60%,
			var(--hero-overlay-mid) 85%,
			var(--hero-overlay-end) 100%);
	z-index: 1;
}

/* Placeholder gradient when no photo */
.hero-photo--placeholder {
	background: linear-gradient(145deg,
			var(--background) 0%,
			var(--surface) 50%,
			var(--background) 100%);
}

/* Centered artwork image (not full bleed — black surround blends) */
.hero-photo--centered {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--hero-bg);
}

.hero-photo--centered img.hero-artwork {
	max-width: 55%;
	max-height: 75vh;
	width: auto;
	height: auto;
	object-fit: contain;
	filter: none;
	opacity: 0;
	animation: hero-img-in 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

/* Chromatic aberration on centered artwork */
.hero-photo--centered .chroma-r {
	position: absolute;
	top: 0;
	right: 15%;
	bottom: 15%;
	left: 0;
	margin: auto;
	max-width: 55%;
	max-height: 75vh;
	width: auto;
	height: auto;
	object-fit: contain;
	mix-blend-mode: lighten;
	opacity: 0.35;
	transform: translate(4px, -3px);
	filter: hue-rotate(-30deg) saturate(2);
	animation: hero-img-in 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

.hero-photo--centered .chroma-b {
	position: absolute;
	top: 0;
	right: 15%;
	bottom: 15%;
	left: 0;
	margin: auto;
	max-width: 55%;
	max-height: 75vh;
	width: auto;
	height: auto;
	object-fit: contain;
	mix-blend-mode: lighten;
	opacity: 0.25;
	transform: translate(-4px, 3px);
	filter: hue-rotate(150deg) saturate(1.5);
	animation: hero-img-in 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

@keyframes hero-img-in {
	from {
		opacity: 0;
		transform: scale(0.97);
	}

	to {
		opacity: 1;
		transform: scale(1);
	}
}

.hero-photo--centered .chroma-r {
	animation: hero-chroma-r 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

.hero-photo--centered .chroma-b {
	animation: hero-chroma-b 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

@keyframes hero-chroma-r {
	from {
		opacity: 0;
		transform: translate(4px, -3px) scale(0.97);
	}

	to {
		opacity: 0.35;
		transform: translate(4px, -3px) scale(1);
	}
}

@keyframes hero-chroma-b {
	from {
		opacity: 0;
		transform: translate(-4px, 3px) scale(0.97);
	}

	to {
		opacity: 0.25;
		transform: translate(-4px, 3px) scale(1);
	}
}

@media (prefers-reduced-motion: reduce) {

	.hero-photo--centered img.hero-artwork {
		opacity: 1;
		animation: none;
	}

	.hero-photo--centered .chroma-r {
		display: none;
		animation: none;
	}

	.hero-photo--centered .chroma-b {
		display: none;
		animation: none;
	}
}

@media (max-width: 1024px) {

	.hero-photo--centered .chroma-r,
	.hero-photo--centered .chroma-b {
		right: 5%;
		bottom: 5%;
		max-width: 55%;
		opacity: 0.25;
	}
}

/* Light mode: light hero, single image, no ghost */
[data-theme="light"] .hero-photo--centered {
	background: var(--background);
}

[data-theme="light"] .hero-photo--centered .chroma-r,
[data-theme="light"] .hero-photo--centered .chroma-b {
	mix-blend-mode: lighten;
	right: 0;
	bottom: 0;
}

/* Light mode hero text — blend handles dark/light bg per-pixel */
[data-theme="light"] .hero--has-photo .hero-meta,
[data-theme="light"] .hero--has-photo .hero-tagline {
	color: rgba(255, 255, 255, 0.7);
	mix-blend-mode: difference;
}

/* Pixel-perfect color inversion: white text + difference blend
   automatically becomes dark over cream, light over the image,
   handling any edge angle or partial overlap. */
[data-theme="light"] .hero--has-photo .hero-wordmark {
	color: #ffffff;
	mix-blend-mode: difference;
}

[data-theme="light"] .hero-photo--centered::after {
	display: none;
}

@media (max-width: 768px) {

	.hero-photo--centered img.hero-artwork,
	.hero-photo--centered .chroma-r,
	.hero-photo--centered .chroma-b {
		max-width: 85%;
	}

	.hero-photo--centered .chroma-r,
	.hero-photo--centered .chroma-b {
		right: 0;
		bottom: 0;
	}
}

.hero-content {
	position: relative;
	padding: clamp(2rem, 5vw, 4rem);
	max-width: 1200px;
	width: 100%;
	margin: 0 auto;
	padding-bottom: clamp(2rem, 6vw, 5rem);
}

@media (max-width: 768px) {
	.hero-content {
		padding-left: clamp(3rem, 8vw, 5rem);
		margin-bottom: 2.5rem;
	}
}

.hero-meta {
	font-family: var(--mono);
	font-size: 0.5625rem;
	font-weight: 400;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--text-muted);
	margin-bottom: 1.5rem;
	opacity: 0;
	animation: hero-in 1s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

/* In hero with dark overlay, text should be light */
.hero--has-photo .hero-meta,
.hero--has-photo .hero-tagline {
	color: var(--hero-text-dim);
}

.hero--has-photo .hero-wordmark {
	color: var(--hero-text);
}

.hero-wordmark {
	font-family: var(--font);
	font-size: clamp(5rem, 20vw, 18rem);
	font-weight: 900;
	line-height: 0.85;
	letter-spacing: -0.05em;
	color: var(--text);
	margin-bottom: clamp(1rem, 3vw, 1.5rem);
	opacity: 0;
	animation: hero-in 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

/* 14-inch laptop (~1440px and below, excluding tablets) */
@media (min-width: 1025px) and (max-width: 1600px) {
	.hero-wordmark {
		font-size: clamp(5rem, 15vw, 13rem);
		margin-top: 1.5rem;
	}
}

/* iPad / tablets */
@media (min-width: 769px) and (max-width: 1024px) {
	.hero-wordmark {
		margin-top: 3px;
	}
}

.hero-tagline {
	font-family: var(--font);
	font-size: clamp(1rem, 2.2vw, 1.5rem);
	font-weight: 300;
	color: var(--text-muted);
	letter-spacing: 0.01em;
	max-width: 440px;
	line-height: 1.5;
	opacity: 0;
	animation: hero-in 1s cubic-bezier(0.16, 1, 0.3, 1) 0.45s forwards;
}


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

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (prefers-reduced-motion: reduce) {

	.hero-wordmark,
	.hero-tagline,
	.hero-meta {
		opacity: 1;
		animation: none;
	}
}

.hero-cta {
	position: absolute;
	top: clamp(1rem, 3vw, 2rem);
	right: calc(clamp(1rem, 3vw, 2rem) + 50px);
	z-index: 999;
	font-family: var(--font);
	font-size: 0.6875rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	color: var(--hero-text);
	background: transparent;
	border: 1.5px solid var(--hero-text);
	padding: 0.5rem 1rem;
	text-decoration: none;
	transition: background 0.3s ease, color 0.3s ease;
	white-space: nowrap;
}

.hero-cta:hover {
	background: var(--hero-text);
	color: var(--hero-bg);
}

[data-theme="light"] .hero--has-photo .hero-cta {
	color: var(--color-black);
	border-color: var(--color-black);
}

[data-theme="light"] .hero--has-photo .hero-cta:hover {
	background: var(--color-black);
	color: var(--color-cream);
}

/* ================================================================
   DIVIDER
   ================================================================ */
.divider {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 clamp(1.5rem, 5vw, 4rem);
}

.divider-line {
	width: 100%;
	height: 1px;
	background: var(--border);
}

.footer-divider-line {
	margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

/* ================================================================
   MANIFESTO (Two-Column)
   ================================================================ */
.manifesto-grid {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: clamp(2rem, 5vw, 6rem);
	align-items: start;
}

.manifesto-heading {
	font-family: var(--font);
	font-size: clamp(2.5rem, 6vw, 4.5rem);
	font-weight: 700;
	line-height: 0.95;
	letter-spacing: -0.035em;
	color: var(--text);
}

.manifesto-sub {
	font-family: var(--font);
	font-size: clamp(0.875rem, 1.5vw, 1rem);
	font-weight: 400;
	color: var(--text-muted);
	margin-top: 1.5rem;
	letter-spacing: 0.01em;
}

.manifesto-body {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.manifesto-body p {
	font-family: var(--font);
	font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
	font-weight: 400;
	line-height: 1.75;
	color: var(--text-muted);
}

.manifesto-body p strong {
	color: var(--text);
	font-weight: 500;
}

.manifesto-pull {
	font-family: var(--font);
	font-size: clamp(1.25rem, 2.5vw, 1.75rem);
	font-weight: 700;
	line-height: 1.3;
	color: var(--text);
	letter-spacing: -0.02em;
	padding-left: 1.5rem;
	border-left: 2px solid var(--text);
	margin: 0.5rem 0;
}

@media (max-width: 768px) {
	.manifesto-grid {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}
}

/* ================================================================
   HOW IT WORKS
   ================================================================ */
.steps-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1px;
	background: var(--border);
	border: 1px solid var(--border);
	margin-top: clamp(2rem, 4vw, 3rem);
}

.step-card {
	background: var(--background);
	padding: clamp(1.5rem, 3vw, 2.5rem);
	transition: background-color 0.3s ease;
}

.step-card:hover {
	background: var(--surface);
}

.step-number {
	font-family: var(--mono);
	font-size: 0.5625rem;
	font-weight: 400;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--text-muted);
	margin-bottom: 2rem;
	opacity: 0.6;
}

.step-title {
	font-family: var(--font);
	font-size: clamp(1.25rem, 2.5vw, 1.75rem);
	font-weight: 700;
	color: var(--text);
	margin-bottom: 0.75rem;
	letter-spacing: -0.02em;
}

.step-desc {
	font-family: var(--font);
	font-size: 0.9375rem;
	font-weight: 400;
	line-height: 1.65;
	color: var(--text-muted);
}

@media (max-width: 768px) {
	.steps-grid {
		grid-template-columns: 1fr;
	}
}

/* ================================================================
   FLOW VISUAL PIECE (details distilled into arrows)
   ================================================================ */
.flow-piece {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0;
	padding: clamp(2rem, 4vw, 3rem) 0;
	max-width: 32rem;
	margin: 0 auto;
}

.flow-section {
	text-align: center;
}

.flow-heading {
	font-family: var(--font);
	font-size: clamp(1.5rem, 3vw, 2.25rem);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.025em;
	color: var(--text);
	text-align: center;
	margin-bottom: clamp(2rem, 4vw, 3rem);
}

/* ================================================================
   CHROMATIC ABERRATION — Text effect for headings
   ================================================================ */
.chroma-text {
	text-shadow:
		2px -1px 0 rgba(255, 0, 0, 0.15),
		-2px 1px 0 rgba(0, 150, 255, 0.12);
}

[data-theme="dark"] .chroma-text {
	text-shadow:
		2px -1px 0 rgba(255, 100, 100, 0.25),
		-2px 1px 0 rgba(100, 180, 255, 0.2);
}

@media (prefers-reduced-motion: reduce) {
	.chroma-text {
		text-shadow: none;
	}
}

.flow-node {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: clamp(1rem, 3vw, 1.25rem) 0;
}

.flow-step {
	display: block;
	font-family: var(--mono);
	font-size: 0.5625rem;
	font-weight: 400;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--text-muted);
	margin-bottom: 0.75rem;
	opacity: 0.6;
}

.flow-sentence {
	font-family: var(--font);
	font-size: clamp(0.8125rem, 1.2vw, 0.9375rem);
	font-weight: 400;
	line-height: 1.65;
	color: var(--text-muted);
	font-style: italic;
}

.flow-connector {
	display: flex;
	justify-content: center;
	flex-shrink: 0;
	height: 28px;
	position: relative;
}

.flow-connector::before {
	content: '';
	position: absolute;
	left: 50%;
	top: 0;
	bottom: 8px;
	width: 1px;
	height: 100%;
	background: var(--border);
}

.flow-connector::after {
	content: '';
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
	width: 0;
	height: 0;
	border-left: 3px solid transparent;
	border-right: 3px solid transparent;
	border-top: 5px solid var(--text-muted);
	border-bottom: none;
	opacity: 0.3;
}

/* ================================================================
   STATS
   ================================================================ */
.stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: clamp(1.5rem, 3vw, 2.5rem);
	margin-top: clamp(2rem, 4vw, 3rem);
}

.stat-item {
	text-align: left;
}

.stat-number {
	font-family: var(--font);
	font-size: clamp(2.5rem, 6vw, 4rem);
	font-weight: 900;
	line-height: 1;
	letter-spacing: -0.04em;
	color: var(--text);
	margin-bottom: 0.5rem;
}

.stat-label {
	font-family: var(--font);
	font-size: 0.8125rem;
	font-weight: 400;
	color: var(--text-muted);
	line-height: 1.4;
}

@media (max-width: 768px) {
	.stats-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* ================================================================
   DOWNLOAD CTA  (.waitlist-* class names retained for the heading/sub/note)
   ================================================================ */
.waitlist-heading {
	font-family: var(--font);
	font-size: clamp(2.5rem, 7vw, 5rem);
	font-weight: 900;
	line-height: 0.95;
	letter-spacing: -0.04em;
	color: var(--text);
	margin-bottom: 0.75rem;
}

.waitlist-sub {
	font-family: var(--font);
	font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
	font-weight: 300;
	color: var(--text-muted);
	margin-top: 1.5rem;
	margin-bottom: clamp(2rem, 4vw, 2.5rem);
	max-width: 420px;
	line-height: 1.6;
}

.waitlist-city-toggle {
	display: flex;
	gap: 0;
	max-width: 440px;
	margin-bottom: 1rem;
}

.city-option {
	font-family: var(--mono);
	font-size: 0.6875rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 0.5rem 1.25rem;
	border: 1px solid var(--border);
	background: transparent;
	color: var(--text-muted);
	cursor: pointer;
	transition: all 0.2s ease;
}

.city-option:first-child {
	border-right: none;
}

.city-option.active {
	background: var(--text);
	color: var(--background);
	border-color: var(--text);
}

.city-option:not(.active):hover {
	border-color: var(--text);
	color: var(--text);
}

.waitlist-form {
	display: flex;
	gap: 0;
	max-width: 440px;
}

.waitlist-input {
	flex: 1;
	font-family: var(--font);
	font-size: 0.875rem;
	font-weight: 400;
	padding: 0.875rem 1.125rem;
	border: 1px solid var(--border);
	border-right: none;
	background: transparent;
	color: var(--text);
	outline: none;
	transition: border-color 0.2s ease;
}

.waitlist-input::placeholder {
	color: var(--text-muted);
	opacity: 0.5;
}

.waitlist-input:focus {
	border-color: var(--text);
}

.waitlist-btn {
	font-family: var(--font);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 0.875rem 1.75rem;
	border: 1px solid var(--text);
	background: var(--text);
	color: var(--background);
	cursor: pointer;
	transition: opacity 0.2s ease;
	white-space: nowrap;
}

.waitlist-btn:hover {
	opacity: 0.8;
}

.waitlist-hp {
	position: absolute;
	left: -9999px;
	opacity: 0;
	height: 0;
	width: 0;
	overflow: hidden;
}

/* LIVE — download CTA styles, retained for the launch flip. */
.live-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--mono);
	font-size: 0.625rem;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--text);
	border: 1px solid var(--border);
	border-radius: 999px;
	padding: 0.35rem 0.75rem 0.35rem 0.6rem;
	margin-bottom: 1.5rem;
}

.live-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #3ad29f;
	box-shadow: 0 0 0 0 rgba(58, 210, 159, 0.6);
	animation: live-pulse 2s ease-out infinite;
}

@keyframes live-pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(58, 210, 159, 0.6);
	}

	70% {
		box-shadow: 0 0 0 6px rgba(58, 210, 159, 0);
	}

	100% {
		box-shadow: 0 0 0 0 rgba(58, 210, 159, 0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.live-dot {
		animation: none;
	}
}

/* Store badges — App Store + Google Play, side by side, stacking on mobile. */
.store-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 0.5rem;
}

/* App Store + Google Play badge — custom, editorial. Solid fill that flips with theme. */
.appstore-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.625rem;
	padding: 0.625rem 1.25rem;
	background: var(--text);
	color: var(--background);
	border: 1px solid var(--text);
	border-radius: 10px;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.appstore-badge:hover {
	opacity: 0.85;
}

.appstore-logo {
	width: 26px;
	height: 26px;
	flex-shrink: 0;
}

.appstore-text {
	display: flex;
	flex-direction: column;
	line-height: 1.1;
	text-align: left;
}

.appstore-top {
	font-family: var(--font);
	font-size: 0.625rem;
	font-weight: 400;
	letter-spacing: 0.02em;
}

.appstore-bottom {
	font-family: var(--font);
	font-size: 1.125rem;
	font-weight: 600;
	letter-spacing: -0.01em;
}

.waitlist-note {
	font-family: var(--mono);
	font-size: 0.625rem;
	font-weight: 400;
	color: var(--text-muted);
	margin-top: 1rem;
	opacity: 0.5;
	letter-spacing: 0.03em;
}

.waitlist-note strong {
	color: var(--text);
	opacity: 1;
	font-weight: 600;
}

.store-badges--footer {
	margin: 1.75rem 0 0;
}

@media (max-width: 480px) {
	.waitlist-form {
		flex-direction: column;
	}

	.waitlist-input {
		border-right: 1px solid var(--border);
		border-bottom: none;
	}

	.store-badges {
		flex-direction: column;
	}

	.appstore-badge {
		justify-content: center;
	}
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
	padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4rem);
	max-width: 1200px;
	margin: 0 auto;
}

.footer-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.footer-wordmark {
	font-family: var(--font);
	font-size: 1.125rem;
	font-weight: 900;
	letter-spacing: -0.04em;
	color: var(--text);
}

.footer-links {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	list-style: none;
}

.footer-links a {
	font-family: var(--font);
	font-size: 0.8125rem;
	font-weight: 400;
	color: var(--text-muted);
	text-decoration: none;
	transition: color 0.2s ease;
}

.footer-links a:hover {
	color: var(--text);
}

/* Instagram sits on its own line, bold, with logo. */
.footer-instagram {
	flex-basis: 100%;
}

.footer-instagram a {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-weight: 700;
	color: var(--text);
}

.footer-ig-logo {
	width: 15px;
	height: 15px;
	flex-shrink: 0;
}

.footer-bottom {
	margin-top: 1.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--border);
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.footer-copy {
	font-family: var(--mono);
	font-size: 0.5625rem;
	font-weight: 400;
	color: var(--text-muted);
	opacity: 0.5;
	letter-spacing: 0.03em;
}

.footer-city {
	font-family: var(--mono);
	font-size: 0.5625rem;
	font-weight: 400;
	color: var(--text-muted);
	opacity: 0.5;
	letter-spacing: 0.03em;
}

@media (max-width: 480px) {
	.footer-inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 1.25rem;
	}

	.footer-bottom {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.5rem;
	}
}

/* ================================================================
   STAGGER DELAYS
   ================================================================ */
.reveal-d1 {
	transition-delay: 0.1s;
}

.reveal-d2 {
	transition-delay: 0.2s;
}

.reveal-d3 {
	transition-delay: 0.3s;
}

.reveal-d4 {
	transition-delay: 0.4s;
}

/* ================================================================
   LEGAL PAGES (privacy, terms)
   ================================================================ */
.legal {
	max-width: 760px;
	margin: 0 auto;
	padding: clamp(5rem, 10vw, 8rem) clamp(1.5rem, 5vw, 4rem) clamp(3rem, 6vw, 5rem);
}

.legal-meta {
	font-family: var(--mono);
	font-size: 0.5625rem;
	font-weight: 400;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--text-muted);
	margin-bottom: 1.5rem;
}

.legal-title {
	font-family: var(--font);
	font-size: clamp(2.5rem, 6vw, 4rem);
	font-weight: 900;
	line-height: 0.95;
	letter-spacing: -0.04em;
	color: var(--text);
	margin-bottom: 1rem;
}

.legal-lede {
	font-family: var(--font);
	font-size: clamp(1rem, 1.6vw, 1.125rem);
	font-weight: 300;
	line-height: 1.6;
	color: var(--text-muted);
	margin-bottom: clamp(2.5rem, 5vw, 4rem);
	max-width: 56ch;
}

.legal h2 {
	font-family: var(--font);
	font-size: clamp(1.25rem, 2vw, 1.5rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.2;
	color: var(--text);
	margin-top: clamp(2.5rem, 4vw, 3.5rem);
	margin-bottom: 1rem;
}

.legal h2::before {
	content: attr(data-num) " / ";
	font-family: var(--mono);
	font-size: 0.625rem;
	font-weight: 400;
	letter-spacing: 0.15em;
	color: var(--text-muted);
	vertical-align: middle;
	margin-right: 0.25rem;
}

.legal h3 {
	font-family: var(--font);
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: var(--text);
	margin-top: 1.75rem;
	margin-bottom: 0.5rem;
}

.legal p,
.legal li {
	font-family: var(--font);
	font-size: 0.9375rem;
	font-weight: 400;
	line-height: 1.7;
	color: var(--text);
}

.legal p {
	margin-bottom: 1rem;
}

.legal p + p {
	margin-top: 0;
}

.legal strong {
	font-weight: 700;
}

.legal ul {
	list-style: none;
	padding-left: 0;
	margin-bottom: 1rem;
}

.legal li {
	position: relative;
	padding-left: 1.5rem;
	margin-bottom: 0.5rem;
}

.legal li::before {
	content: "—";
	position: absolute;
	left: 0;
	color: var(--text-muted);
}

.legal a {
	color: var(--text);
	text-decoration: underline;
	text-underline-offset: 0.2em;
	text-decoration-thickness: 1px;
	transition: opacity 0.2s ease;
}

.legal a:hover {
	opacity: 0.7;
}

.legal-divider {
	width: 100%;
	height: 1px;
	background: var(--border);
	margin: clamp(2.5rem, 5vw, 4rem) 0 clamp(1.5rem, 3vw, 2.5rem);
}

.legal-contact {
	font-family: var(--mono);
	font-size: 0.6875rem;
	font-weight: 400;
	letter-spacing: 0.08em;
	color: var(--text-muted);
	line-height: 1.8;
}
