/* ================================================================
   Nørra · Website v4 · "Terracotta Dusk" — scroll-told story
   GSAP choreography lives in v4.js; this file holds the static
   end-states so the page is fully readable with JS disabled.
================================================================ */

:root {
	--bg: #15110e;
	--bg-2: #100d0b;
	--surface: #221c18;
	--surface-2: #2a2420;
	--surface-3: #332b25;
	--glass: rgba(34, 28, 24, 0.55);
	--glass-strong: rgba(28, 23, 19, 0.78);
	--hairline: #2e2722;
	--hairline-soft: #241e1a;
	--hairline-strong: #3a322c;

	--text: #faf3e7;
	--text-2: rgba(250, 243, 231, 0.66);
	--text-3: rgba(250, 243, 231, 0.42);
	--text-4: rgba(250, 243, 231, 0.26);

	--brand: #b86b4a;
	--brand-deep: #a04a3a;
	--brand-soft: #c28267;
	--brand-ink: #faf3e7;
	--brand-glow: rgba(184, 107, 74, 0.28);

	--lichen: #6fa088;
	--lichen-soft: #8ab59e;
	--lichen-glow: rgba(111, 160, 136, 0.4);

	--radius-md: 18px;
	--radius-lg: 24px;
	--radius-xl: 32px;
	--radius-pill: 999px;

	--container: 1140px;
	--col-pad-x: clamp(20px, 5vw, 48px);
	--section-space: clamp(48px, 6vw, 72px);
	--footer-dock-h: clamp(68px, 9vh, 88px);

	--t-hero: clamp(44px, 6.8vw, 100px);
	--t-section: clamp(28px, 3.6vw, 46px);
	--t-sub: clamp(16px, 1.55vw, 19px);
	--t-eyebrow: 11px;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
html.lenis,
html.lenis body {
	height: auto;
}
.lenis.lenis-smooth {
	scroll-behavior: auto !important;
}

/* Hide overlap sections until intro finishes — stageWrap fades in from
   opacity:0 so philosophy would otherwise show through the plate area. */
html.intro-pending .philosophy {
	visibility: hidden;
}
body {
	font-family: "Inter", sans-serif;
	background: var(--bg);
	color: var(--text);
	font-size: 16px;
	line-height: 1.55;
	overflow-x: clip;
	position: relative;
}
a {
	color: inherit;
	text-decoration: none;
}
img,
svg {
	display: block;
	max-width: 100%;
}
::selection {
	background: rgba(184, 107, 74, 0.4);
	color: var(--text);
}

/* ================================================================
   Living gradient mesh + grain
================================================================ */
.mesh {
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
}
.mesh .blob {
	position: absolute;
	border-radius: 50%;
	filter: blur(110px);
	opacity: 0.5;
	will-change: transform;
}
.mesh .b1 {
	width: 56vw;
	height: 56vw;
	max-width: 760px;
	max-height: 760px;
	top: -16%;
	left: -12%;
	background: radial-gradient(
		circle,
		rgba(184, 107, 74, 0.55),
		transparent 68%
	);
	animation: drift1 30s ease-in-out infinite;
}
.mesh .b2 {
	width: 48vw;
	height: 48vw;
	max-width: 640px;
	max-height: 640px;
	top: -6%;
	right: -14%;
	background: radial-gradient(
		circle,
		rgba(111, 160, 136, 0.34),
		transparent 70%
	);
	animation: drift2 36s ease-in-out infinite;
}
.mesh .b3 {
	width: 50vw;
	height: 50vw;
	max-width: 680px;
	max-height: 680px;
	top: 44%;
	left: 40%;
	background: radial-gradient(
		circle,
		rgba(194, 130, 103, 0.3),
		transparent 72%
	);
	animation: drift3 42s ease-in-out infinite;
}
@keyframes drift1 {
	0%,
	100% {
		transform: translate(0, 0) scale(1);
	}
	50% {
		transform: translate(10%, 8%) scale(1.12);
	}
}
@keyframes drift2 {
	0%,
	100% {
		transform: translate(0, 0) scale(1);
	}
	50% {
		transform: translate(-8%, 10%) scale(1.08);
	}
}
@keyframes drift3 {
	0%,
	100% {
		transform: translate(0, 0) scale(1);
	}
	50% {
		transform: translate(-10%, -8%) scale(1.1);
	}
}
.grain {
	position: fixed;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.4 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
	background-size: 240px 240px;
	opacity: 0.06;
	mix-blend-mode: overlay;
}
.mesh::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to bottom,
		rgba(21, 17, 14, 0.55) 0%,
		transparent 22%,
		transparent 70%,
		rgba(21, 17, 14, 0.6) 100%
	);
}
main,
.nav,
.footer {
	position: relative;
	z-index: 2;
}

/* ================================================================
   Layout helpers
================================================================ */
.container {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 var(--col-pad-x);
}

.eyebrow {
	font-family: "JetBrains Mono", monospace;
	font-weight: 500;
	font-size: var(--t-eyebrow);
	letter-spacing: 0.26em;
	text-transform: uppercase;
	color: var(--text-3);
	display: inline-flex;
	align-items: center;
	gap: 12px;
}
.eyebrow.center {
	justify-content: center;
}
.eyebrow::before {
	content: "";
	width: 26px;
	height: 1px;
	background: var(--brand);
	opacity: 0.7;
}
.eyebrow.center::after {
	content: "";
	width: 26px;
	height: 1px;
	background: var(--brand);
	opacity: 0.7;
}

.section-h {
	font-family: "Manrope", sans-serif;
	font-weight: 400;
	font-size: var(--t-section);
	line-height: 1.1;
	letter-spacing: -0.028em;
	text-wrap: balance;
}
.serif-accent {
	font-family: "Instrument Serif", serif;
	font-style: italic;
	font-weight: 400;
	font-size: calc(1em + 4px);
	letter-spacing: -0.01em;
	color: var(--brand-soft);
}
.lede {
	font-weight: 400;
	font-size: var(--t-sub);
	line-height: 1.6;
	color: var(--text-2);
	text-wrap: pretty;
	max-width: 54ch;
}

/* word-split spans (populated by JS) */
.word {
	display: inline-block;
	white-space: pre;
	will-change: transform, opacity, filter;
}
.word-wrap {
	display: inline;
}

/* ================================================================
   Nav — floating pill
================================================================ */
.nav {
	position: fixed;
	top: 16px;
	left: 0;
	right: 0;
	z-index: 50;
	display: flex;
	justify-content: center;
	padding: 0 16px;
}
.nav-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	width: 100%;
	max-width: var(--container);
	height: 58px;
	padding: 0 12px 0 22px;
	background: var(--glass);
	backdrop-filter: blur(18px) saturate(130%);
	-webkit-backdrop-filter: blur(18px) saturate(130%);
	border: 1px solid var(--hairline);
	border-radius: var(--radius-pill);
	box-shadow: 0 10px 36px rgba(0, 0, 0, 0.28);
	transition:
		background 0.3s ease,
		border-color 0.3s ease;
}
.nav.scrolled .nav-inner {
	background: var(--glass-strong);
	border-color: var(--hairline-strong);
}
.wordmark {
	font-family: "Instrument Serif", serif;
	font-style: italic;
	font-weight: 400;
	font-size: 35px;
	letter-spacing: -0.01em;
	color: var(--text);
	display: flex;
	align-items: center;
	gap: 9px;
	line-height: 1;
}
.wordmark .dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--lichen);
	box-shadow: 0 0 10px var(--lichen-glow);
	animation: breathe 4.2s ease-in-out infinite;
}
@keyframes breathe {
	0%,
	100% {
		opacity: 0.55;
		transform: scale(1);
	}
	50% {
		opacity: 1;
		transform: scale(1.18);
	}
}
.nav-links {
	display: flex;
	align-items: center;
	gap: 8px;
}
.nav-link {
	font-weight: 500;
	font-size: 13.5px;
	color: var(--text-2);
	padding: 9px 14px;
	border-radius: var(--radius-pill);
	transition:
		color 0.18s ease,
		background 0.18s ease;
}
.nav-link:hover {
	color: var(--text);
	background: rgba(250, 243, 231, 0.05);
}
.nav-cta {
	font-family: "Manrope", sans-serif;
	font-weight: 700;
	font-size: 13px;
	letter-spacing: -0.01em;
	color: var(--brand-ink);
	background: var(--brand);
	padding: 10px 18px;
	border-radius: var(--radius-pill);
	transition:
		background 0.2s ease,
		box-shadow 0.3s ease;
}
.nav-cta:hover {
	background: var(--brand-deep);
	box-shadow: 0 6px 20px var(--brand-glow);
}
@media (max-width: 720px) {
	.nav-links .nav-link {
		display: none;
	}
}

/* ================================================================
   Buttons
================================================================ */
.btn-primary {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 16px 26px;
	background: var(--brand);
	color: var(--brand-ink);
	border-radius: var(--radius-pill);
	font-family: "Manrope", sans-serif;
	font-weight: 700;
	font-size: 15px;
	letter-spacing: -0.01em;
	transition:
		background 0.25s ease,
		box-shadow 0.35s ease,
		transform 0.25s ease;
	box-shadow:
		0 8px 26px rgba(0, 0, 0, 0.3),
		0 0 0 0 var(--brand-glow);
	white-space: nowrap;
}
.btn-primary:hover {
	background: var(--brand-deep);
	box-shadow: 0 12px 34px var(--brand-glow);
	transform: translateY(-2px);
}
.btn-primary .play-ico {
	width: 18px;
	height: 18px;
	display: inline-flex;
}
.btn-ghost {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 16px 22px;
	color: var(--text);
	border: 1px solid var(--hairline-strong);
	border-radius: var(--radius-pill);
	font-weight: 500;
	font-size: 14px;
	background: rgba(250, 243, 231, 0.02);
	transition:
		color 0.18s ease,
		border-color 0.18s ease,
		background 0.18s ease;
	white-space: nowrap;
}
.btn-ghost:hover {
	background: rgba(250, 243, 231, 0.06);
	border-color: var(--text-4);
}
.btn-ghost svg {
	transition: transform 0.25s ease;
}
.btn-ghost:hover svg {
	transform: translateX(4px);
}

/* ================================================================
   HERO — pinned scan story
================================================================ */
.hero {
	position: relative;
	z-index: 5;
	isolation: isolate;
	min-height: 100svh;
	height: 100svh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	text-align: center;
	padding: clamp(160px, 20vh, 230px) 0 0;
	overflow: hidden;
	box-sizing: border-box;
}
.hero-copy {
	position: relative;
	z-index: 5;
	will-change: transform, opacity, filter;
}
.hero-eyebrow {
	margin-bottom: 26px;
}
.hero h1 {
	font-family: "Manrope", sans-serif;
	font-weight: 600;
	font-size: var(--t-hero);
	line-height: 1.1;
	letter-spacing: -0.045em;
	text-wrap: balance;
	margin: 0 auto 32px;
	max-width: 15ch;
}
.hero h1 .serif-accent {
	font-size: 1em;
}
.hero .lede {
	margin: 0 auto 36px;
	max-width: 58ch;
	font-size: clamp(16px, 1.7vw, 20px);
}
.hero-actions {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	flex-wrap: wrap;
}

/* Scroll hint (removed from hero — class kept for safety) */
.scroll-hint {
	display: none;
}

/* Plate stage — anchored to the bottom of the viewport, partially cropped
   by the hero's overflow so the plate "peeks" above the fold. */
.hero-stage-wrap {
	position: relative;
	z-index: 3;
	margin-top: auto;
	padding-top: clamp(28px, 5vh, 64px);
	margin-bottom: 0;
	width: min(680px, 88vw);
	will-change: transform;
}
.hero-stage {
	position: relative;
	aspect-ratio: 1.46 / 1;
	perspective: 1600px;
	perspective-origin: 50% 40%;
	transform-style: preserve-3d;
}
.stage-warmth {
	position: absolute;
	inset: -10% -6% -2% -6%;
	z-index: 0;
	pointer-events: none;
	background:
		radial-gradient(
			ellipse 58% 48% at 50% 52%,
			rgba(184, 107, 74, 0.3),
			transparent 70%
		),
		radial-gradient(
			ellipse 46% 40% at 62% 58%,
			rgba(111, 160, 136, 0.12),
			transparent 72%
		);
	filter: blur(48px);
	animation: stage-breathe 16s ease-in-out infinite;
}
@keyframes stage-breathe {
	0%,
	100% {
		opacity: 0.85;
		transform: scale(1);
	}
	50% {
		opacity: 1;
		transform: scale(1.05);
	}
}
.plate-shadow {
	position: absolute;
	left: 12%;
	right: 12%;
	bottom: 4%;
	height: 13%;
	z-index: 0;
	background: radial-gradient(
		ellipse,
		rgba(0, 0, 0, 0.6) 0%,
		rgba(0, 0, 0, 0.3) 42%,
		transparent 72%
	);
	filter: blur(34px);
	pointer-events: none;
}
.plate-wrap {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	transform-style: preserve-3d;
	will-change: transform;
}
.plate-image {
	width: 100%;
	height: auto;
	filter: drop-shadow(0 30px 44px rgba(0, 0, 0, 0.42))
		drop-shadow(0 12px 20px rgba(0, 0, 0, 0.3));
	user-select: none;
	-webkit-user-drag: none;
	pointer-events: none;
}

/* Scan beam — swept by GSAP. Warm terracotta light, thin and faded. */
.scan-beam {
	position: absolute;
	top: -6%;
	bottom: -6%;
	left: 0;
	width: 4.5%;
	z-index: 3;
	pointer-events: none;
	background: linear-gradient(
		to bottom,
		transparent,
		rgba(194, 130, 103, 0.42) 20%,
		rgba(250, 236, 222, 0.55) 50%,
		rgba(194, 130, 103, 0.42) 80%,
		transparent
	);
	filter: blur(2px);
	opacity: 0;
	mix-blend-mode: screen;
	border-radius: 999px;
}
.scan-beam::before {
	content: "";
	position: absolute;
	inset: 0 -900% 0 -900%;
	background: radial-gradient(
		ellipse 55% 50% at 50% 50%,
		rgba(184, 107, 74, 0.14),
		transparent 70%
	);
	filter: blur(22px);
}

/* Ingredient callouts — hidden until scroll scan reveals them */
.callout {
	position: absolute;
	z-index: 4;
	display: flex;
	align-items: center;
	gap: 9px;
	transform: translate(-4px, -50%);
	pointer-events: none;
	opacity: 0;
	visibility: hidden;
}
.callout .c-dot {
	width: 9px;
	height: 9px;
	flex-shrink: 0;
	border-radius: 50%;
	background: var(--lichen-soft);
	box-shadow:
		0 0 0 3px rgba(111, 160, 136, 0.22),
		0 0 14px var(--lichen-glow);
}
.callout .c-label {
	font-family: "JetBrains Mono", monospace;
	font-weight: 500;
	font-size: 11px;
	letter-spacing: 0.08em;
	white-space: nowrap;
	color: var(--text);
	background: rgba(24, 19, 16, 0.92);
	backdrop-filter: blur(16px) saturate(140%);
	-webkit-backdrop-filter: blur(16px) saturate(140%);
	border: 1px solid rgba(250, 243, 231, 0.18);
	border-radius: 999px;
	padding: 7px 13px;
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.55);
}
.callout .c-label em {
	font-style: normal;
	color: rgba(250, 243, 231, 0.55);
}
.callout-1 {
	left: 30%;
	top: 40%;
}
.callout-2 {
	left: 51%;
	top: 72%;
}
.callout-3 {
	left: 70%;
	top: 34%;
}
@media (max-width: 600px) {
	.callout {
		gap: 6px;
	}
	.callout .c-dot {
		width: 7px;
		height: 7px;
	}
	.callout .c-label {
		font-size: 8.5px;
		padding: 5px 9px;
		letter-spacing: 0.05em;
	}
	.callout-1 {
		left: 26%;
	}
	.callout-3 {
		left: 66%;
	}
}

/* Floating insight card — hidden until scroll scan reveals it */
.insight-card {
	position: absolute;
	z-index: 5;
	left: -2%;
	bottom: -7%;
	width: 264px;
	background: var(--glass-strong);
	backdrop-filter: blur(26px) saturate(150%);
	-webkit-backdrop-filter: blur(26px) saturate(150%);
	border: 1px solid rgba(250, 243, 231, 0.07);
	border-radius: 22px;
	padding: 20px 22px;
	box-shadow:
		0 30px 64px rgba(0, 0, 0, 0.5),
		inset 0 1px 0 rgba(250, 243, 231, 0.05);
	will-change: transform, opacity;
	text-align: left;
	opacity: 0;
	visibility: hidden;
}
.ic-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
}
.ic-tier {
	font-family: "JetBrains Mono", monospace;
	font-weight: 500;
	font-size: 9px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--lichen-soft);
	display: flex;
	align-items: center;
	gap: 8px;
}
.ic-tier::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--lichen);
	box-shadow: 0 0 8px var(--lichen-glow);
	animation: breathe 4.2s ease-in-out infinite;
}
.ic-score {
	font-family: "Manrope", sans-serif;
	font-weight: 800;
	font-size: 38px;
	letter-spacing: -0.04em;
	line-height: 0.95;
	color: var(--text);
	font-variant-numeric: tabular-nums;
}
.ic-denom {
	font-size: 12px;
	color: var(--text-3);
	font-weight: 700;
	margin-left: 2px;
}
.ic-explain {
	font-weight: 400;
	font-size: 13px;
	line-height: 1.5;
	color: var(--text-2);
	text-wrap: pretty;
}
@media (max-width: 600px) {
	.insight-card {
		width: 158px;
		left: -3%;
		bottom: -4%;
		padding: 13px 14px;
		border-radius: 16px;
	}
	.insight-card .ic-head {
		margin-bottom: 8px;
	}
	.insight-card .ic-score {
		font-size: 27px;
	}
	.insight-card .ic-tier {
		font-size: 8px;
		letter-spacing: 0.16em;
	}
	.insight-card .ic-explain {
		font-size: 11px;
		line-height: 1.45;
	}
}

/* ================================================================
   Section flow — stacked viewports, one pinned continuous story
================================================================ */
.section-flow {
	position: relative;
	min-height: 100svh;
	z-index: 6;
}
.section-flow .section {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100svh;
	min-height: 100svh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: stretch;
	padding-block: clamp(32px, 5vh, 56px);
	padding-bottom: calc(clamp(32px, 5vh, 56px) + var(--footer-dock-h, 76px));
	box-sizing: border-box;
	overflow: hidden;
	visibility: hidden;
	will-change: transform, opacity;
}
.section-flow .section > .container {
	width: 100%;
	flex: 0 1 auto;
}
.section {
	min-height: 100svh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: stretch;
	padding-block: clamp(32px, 5vh, 56px);
	position: relative;
	box-sizing: border-box;
	overflow: hidden;
}
.section > .container {
	width: 100%;
	flex: 0 1 auto;
}
.section-head-center {
	text-align: center;
	max-width: 760px;
	margin: 0 auto clamp(34px, 4.5vw, 56px);
}
.section-head-center .eyebrow {
	margin-bottom: 24px;
}
.section-head-center .section-h {
	margin-bottom: 22px;
}
.section-head-center .lede {
	margin: 0 auto;
}

/* ================================================================
   PHILOSOPHY — scrubbed ink-in statement
================================================================ */
.philosophy {
	text-align: center;
	position: relative;
	z-index: 1;
}
.philosophy .inner {
	max-width: 1024px;
	margin: 0 auto;
}
.philosophy .eyebrow {
	margin-bottom: 34px;
}
.philosophy .statement {
	font-family: "Manrope", sans-serif;
	font-weight: 400;
	font-size: clamp(30px, 4.3vw, 58px);
	line-height: 1.18;
	letter-spacing: -0.03em;
	text-wrap: balance;
}
.philosophy .statement .serif-accent {
	font-weight: 400;
}

/* ================================================================
   READING — editorial quote card
================================================================ */
.reading .card {
	max-width: 880px;
	margin: 0 auto;
	background: var(--glass);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border: 1px solid var(--hairline);
	border-radius: var(--radius-xl);
	padding: clamp(36px, 6vw, 64px);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
	position: relative;
	overflow: hidden;
	will-change: transform;
}
.reading .card::before {
	content: "";
	position: absolute;
	top: -40%;
	right: -20%;
	width: 60%;
	height: 120%;
	background: radial-gradient(
		circle,
		rgba(184, 107, 74, 0.16),
		transparent 68%
	);
	filter: blur(40px);
	pointer-events: none;
}
.reading-eyebrow {
	margin-bottom: 28px;
}
.reading-quote {
	font-family: "Instrument Serif", serif;
	font-style: italic;
	font-weight: 400;
	font-size: clamp(26px, 3.4vw, 42px);
	line-height: 1.28;
	letter-spacing: -0.012em;
	color: var(--text);
	text-wrap: pretty;
	position: relative;
	z-index: 1;
}
.reading-quote .open-q {
	color: var(--brand-soft);
}
.reading-meta {
	margin-top: 30px;
	font-weight: 400;
	font-size: 13.5px;
	color: var(--text-3);
	letter-spacing: 0.01em;
	position: relative;
	z-index: 1;
}
.reading-meta strong {
	color: var(--text-2);
	font-weight: 500;
}

/* ================================================================
   HOW IT WORKS — phone scan mock beside lighting steps
================================================================ */
.how-grid {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	gap: clamp(36px, 6vw, 84px);
	align-items: center;
}
@media (max-width: 820px) {
	.how-grid {
		grid-template-columns: 1fr;
		gap: 48px;
	}
}
.how-phone {
	display: flex;
	justify-content: center;
}
@media (max-width: 720px) {
	.how-phone {
		display: none !important;
	}
	.how-grid {
		grid-template-columns: 1fr;
		gap: 0;
	}
}
.phone {
	width: min(320px, 76vw);
	aspect-ratio: 9 / 18.5;
	border-radius: 46px;
	padding: 11px;
	background: #0b0908;
	border: 1px solid var(--hairline-strong);
	box-shadow:
		0 40px 90px rgba(0, 0, 0, 0.5),
		inset 0 1px 0 rgba(250, 243, 231, 0.06);
}
.phone-screen {
	position: relative;
	width: 100%;
	height: 100%;
	border-radius: 36px;
	overflow: hidden;
	background: #15110e;
}
.ps-plate {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 55%;
	transform: scale(1.06);
	transform-origin: center 55%;
	pointer-events: none;
}
.ps-vignette {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to bottom,
		rgba(12, 9, 8, 0.42),
		transparent 28%,
		transparent 62%,
		rgba(12, 9, 8, 0.7)
	);
}
/* Camera chrome — deeper top shade so the bezel blends like a real viewfinder */
.ps-topbar {
	position: absolute;
	inset: 0 0 auto 0;
	height: 22%;
	background: linear-gradient(
		to bottom,
		rgba(8, 6, 5, 0.85),
		rgba(8, 6, 5, 0.35) 55%,
		transparent
	);
	pointer-events: none;
}
/* Punch-hole front camera */
.ps-cam {
	position: absolute;
	top: 4.5%;
	left: 50%;
	width: 11px;
	height: 11px;
	transform: translateX(-50%);
	border-radius: 50%;
	background: radial-gradient(circle at 35% 35%, #2a3138 0%, #05060a 55%);
	box-shadow:
		0 0 0 3px rgba(0, 0, 0, 0.85),
		inset 0 0 2px rgba(120, 160, 200, 0.4);
	pointer-events: none;
}
.ps-corner {
	position: absolute;
	width: 26px;
	height: 26px;
	border: 2px solid rgba(250, 243, 231, 0.75);
}
.ps-corner.tl {
	top: 15%;
	left: 11%;
	border-right: 0;
	border-bottom: 0;
	border-top-left-radius: 10px;
}
.ps-corner.tr {
	top: 15%;
	right: 11%;
	border-left: 0;
	border-bottom: 0;
	border-top-right-radius: 10px;
}
.ps-corner.bl {
	bottom: 24%;
	left: 11%;
	border-right: 0;
	border-top: 0;
	border-bottom-left-radius: 10px;
}
.ps-corner.br {
	bottom: 24%;
	right: 11%;
	border-left: 0;
	border-top: 0;
	border-bottom-right-radius: 10px;
}
.ps-chip {
	position: absolute;
	left: 50%;
	bottom: 7%;
	transform: translateX(-50%);
	display: inline-flex;
	align-items: baseline;
	gap: 6px;
	white-space: nowrap;
	font-family: "JetBrains Mono", monospace;
	font-weight: 500;
	font-size: 11px;
	letter-spacing: 0.06em;
	color: var(--text-2);
	background: var(--glass-strong);
	backdrop-filter: blur(16px) saturate(140%);
	-webkit-backdrop-filter: blur(16px) saturate(140%);
	border: 1px solid rgba(250, 243, 231, 0.1);
	border-radius: 999px;
	padding: 9px 16px;
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
}
.ps-analyzing {
	opacity: 0;
	visibility: hidden;
	align-items: center;
}
.ps-pulse {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--brand-soft);
	box-shadow: 0 0 8px var(--brand-glow);
	animation: breathe 1.6s ease-in-out infinite;
}
.ps-result b {
	font-family: "Manrope", sans-serif;
	font-weight: 800;
	font-size: 19px;
	letter-spacing: -0.03em;
	color: var(--text);
	font-variant-numeric: tabular-nums;
}
.ps-result em {
	font-style: normal;
	font-size: 10px;
	color: var(--text-3);
}
.ps-result .ps-tier {
	color: var(--lichen-soft);
	font-size: 10px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.how-steps {
	display: flex;
	flex-direction: column;
	gap: clamp(20px, 3vw, 30px);
}
.step {
	position: relative;
	border-top: 1px solid var(--hairline-strong);
	padding-top: clamp(18px, 2.5vw, 26px);
	display: grid;
	grid-template-columns: clamp(58px, 7vw, 84px) 1fr;
	gap: clamp(14px, 2.5vw, 26px);
	align-items: start;
	text-align: left;
}
.step::after {
	content: "";
	position: absolute;
	top: -1px;
	left: 0;
	width: 0;
	height: 1px;
	background: var(--brand);
	transition: width 0.55s cubic-bezier(0.5, 0.05, 0.2, 1);
}
.step:hover::after {
	width: 100%;
}
.step-figure {
	display: block;
	font-family: "Instrument Serif", serif;
	font-style: italic;
	font-weight: 400;
	font-size: clamp(42px, 4.5vw, 60px);
	line-height: 0.9;
	letter-spacing: -0.02em;
	color: var(--brand-soft);
}
.step h3 {
	font-family: "Manrope", sans-serif;
	font-weight: 800;
	font-size: 21px;
	letter-spacing: -0.02em;
	line-height: 1.1;
	margin-bottom: 10px;
}
.step p {
	font-weight: 400;
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--text-2);
	max-width: 44ch;
}

/* How — fit inside the pinned section-flow viewport */
.section-flow .section.how {
	padding-block: clamp(20px, 2.8vh, 36px);
}
.section-flow .how > .container {
	display: flex;
	flex-direction: column;
	justify-content: center;
	max-height: calc(100svh - clamp(40px, 5.5vh, 72px) - var(--footer-dock-h));
	overflow: hidden;
}
.section-flow .how .section-head-center {
	max-width: 680px;
	margin-bottom: clamp(16px, 3vh, 28px);
}
.section-flow .how .section-head-center .eyebrow {
	margin-bottom: 16px;
}
.section-flow .how .section-head-center .section-h {
	font-size: clamp(24px, 3.1vw, 38px);
	margin-bottom: 24px;
}
.section-flow .how .section-head-center .lede {
	font-size: clamp(13.5px, 1.6vw, 16px);
	line-height: 1.52;
	max-width: 48ch;
}
.section-flow .how-grid {
	grid-template-columns: auto minmax(0, 320px);
	justify-content: center;
	max-width: min(100%, 720px);
	margin-inline: auto;
	gap: clamp(36px, 6vw, 72px);
	align-items: center;
}
.section-flow .how-steps {
	gap: clamp(10px, 1.5vh, 18px);
	max-width: 320px;
	width: 100%;
}
.section-flow .how .phone {
	width: auto;
	height: min(42svh, 425px);
	max-width: min(220px, 38vw);
	aspect-ratio: 9 / 18.5;
	border-radius: 40px;
	padding: 9px;
	overflow: hidden;
	box-shadow:
		0 22px 48px rgba(0, 0, 0, 0.42),
		inset 0 1px 0 rgba(250, 243, 231, 0.06);
}
.section-flow .how .phone-screen {
	border-radius: 32px;
	overflow: hidden;
	isolation: isolate;
}
.section-flow .how .ps-plate {
	object-position: center 50%;
	transform: scale(1.08);
	transform-origin: center 52%;
}
.section-flow .how .ps-vignette {
	background: linear-gradient(
		to bottom,
		rgba(12, 9, 8, 0.38) 0%,
		transparent 24%,
		transparent 66%,
		rgba(12, 9, 8, 0.52) 100%
	);
}
.section-flow .how .ps-topbar {
	height: 17%;
}
.section-flow .how .ps-cam {
	width: clamp(7px, 3.2%, 10px);
	aspect-ratio: 1;
	height: auto;
	top: 4%;
	box-shadow:
		0 0 0 2px rgba(0, 0, 0, 0.85),
		inset 0 0 1px rgba(120, 160, 200, 0.4);
}
.section-flow .how .ps-corner {
	width: clamp(15px, 13%, 21px);
	height: clamp(15px, 6.5%, 21px);
	border-width: 1.5px;
}
.section-flow .how .ps-corner.tl,
.section-flow .how .ps-corner.tr {
	top: 14%;
}
.section-flow .how .ps-corner.tl,
.section-flow .how .ps-corner.bl {
	left: 9%;
}
.section-flow .how .ps-corner.tr,
.section-flow .how .ps-corner.br {
	right: 9%;
}
.section-flow .how .ps-corner.bl,
.section-flow .how .ps-corner.br {
	bottom: 22%;
}
.section-flow .how .ps-chip {
	bottom: 5.5%;
	left: 50%;
	max-width: calc(100% - 18px);
	width: max-content;
	padding: 6px 10px;
	gap: 3px;
	font-size: 8px;
	letter-spacing: 0.04em;
	box-sizing: border-box;
	justify-content: center;
	white-space: nowrap;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
	transform: translateX(-50%) scale(0.9);
	transform-origin: 50% 100%;
}
.section-flow .how .ps-result b {
	font-size: 14px;
}
.section-flow .how .ps-result em {
	font-size: 8px;
}
.section-flow .how .ps-result .ps-tier {
	font-size: 7px;
	letter-spacing: 0.08em;
}
.section-flow .how .step {
	padding-top: clamp(12px, 1.6vh, 18px);
	grid-template-columns: clamp(44px, 5.5vw, 60px) 1fr;
	gap: clamp(12px, 1.8vw, 20px);
}
.section-flow .how .step-figure {
	font-size: clamp(31px, 3.7vw, 45px);
}
.section-flow .how .step h3 {
	font-size: clamp(16px, 1.75vw, 19px);
	margin-bottom: 5px;
}
.section-flow .how .step p {
	font-size: clamp(13px, 1.4vw, 14.5px);
	line-height: 1.48;
	max-width: none;
}
@media (max-width: 720px) {
	.section-flow .how-grid {
		grid-template-columns: 1fr;
		justify-items: stretch;
		max-width: min(100%, 360px);
		gap: 0;
	}
	.section-flow .how-steps {
		max-width: none;
		width: 100%;
	}
	.section-flow .how .section-head-center .section-h br {
		display: none;
	}
}
@media (max-width: 820px) and (min-width: 721px) {
	.section-flow .how-grid {
		grid-template-columns: auto minmax(0, 260px);
		max-width: 100%;
		gap: clamp(28px, 5vw, 44px);
	}
	.section-flow .how-steps {
		max-width: 260px;
	}
	.section-flow .how .phone {
		height: min(36svh, 340px);
		max-width: 168px;
		border-radius: 34px;
		padding: 8px;
	}
	.section-flow .how .ps-corner {
		width: clamp(13px, 12%, 18px);
		height: clamp(13px, 6%, 18px);
	}
	.section-flow .how .ps-chip {
		padding: 5px 8px;
		font-size: 7px;
		transform: translateX(-50%) scale(0.86);
	}
	.section-flow .how .ps-result b {
		font-size: 12px;
	}
	.section-flow .how .ps-result .ps-tier {
		font-size: 6px;
	}
}
@media (max-height: 740px) {
	.section-flow .how .section-head-center {
		margin-bottom: 12px;
	}
	.section-flow .how .section-head-center .eyebrow {
		margin-bottom: 12px;
	}
	.section-flow .how-steps {
		gap: 8px;
	}
	.section-flow .how .step {
		padding-top: 10px;
	}
}

/* ================================================================
   FEATURES — bento with cursor glow
================================================================ */
.features-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 18px;
}
@media (max-width: 720px) {
	.features-grid {
		grid-template-columns: 1fr 1fr;
	}
}

/* Features — compact fit inside section-flow (aligned with how section) */
.section-flow .section.features {
	padding-block: clamp(20px, 2.8vh, 36px);
}
.section-flow .features > .container {
	display: flex;
	flex-direction: column;
	justify-content: center;
	max-height: calc(100svh - clamp(40px, 5.5vh, 72px) - var(--footer-dock-h));
	overflow: hidden;
}
.section-flow .features .section-head-center {
	max-width: 640px;
	margin-bottom: clamp(14px, 3vh, 22px);
}
.section-flow .features .section-head-center .eyebrow {
	margin-bottom: 14px;
}
.section-flow .features .section-head-center .section-h {
	font-size: clamp(24px, 3.1vw, 38px);
	margin-bottom: 24px;
}
.section-flow .features .section-head-center .lede {
	font-size: clamp(13.5px, 1.6vw, 16px);
	line-height: 1.5;
	max-width: 46ch;
}
.section-flow .features-grid {
	gap: 12px;
	max-width: 720px;
	margin-inline: auto;
	width: 100%;
}
.section-flow .feature {
	padding: 20px 22px 22px;
	gap: 8px;
	border-radius: var(--radius-md);
}
.section-flow .feature .feature-num {
	font-size: 9px;
	letter-spacing: 0.2em;
}
.section-flow .feature h3 {
	font-size: clamp(15px, 1.6vw, 17px);
	line-height: 1.15;
}
.section-flow .feature p {
	font-size: clamp(12.5px, 1.3vw, 13.5px);
	line-height: 1.45;
	max-width: none;
}
@media (max-width: 720px) {
	.section-flow .features-grid {
		gap: 10px;
	}
	.section-flow .feature {
		padding: 18px 20px 20px;
	}
}
@media (max-height: 740px) {
	.section-flow .features .section-head-center {
		margin-bottom: 12px;
	}
	.section-flow .features .section-head-center .section-h {
		margin-bottom: 18px;
	}
	.section-flow .feature {
		padding: 16px 18px 18px;
		gap: 6px;
	}
}

.feature {
	position: relative;
	overflow: hidden;
	background: var(--glass);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid var(--hairline);
	border-radius: var(--radius-lg);
	padding: 36px 34px 40px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	transition:
		border-color 0.35s ease,
		transform 0.35s ease,
		box-shadow 0.35s ease;
	--mx: 50%;
	--my: 50%;
}
.feature::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: radial-gradient(
		420px circle at var(--mx) var(--my),
		rgba(184, 107, 74, 0.13),
		transparent 65%
	);
	opacity: 0;
	transition: opacity 0.4s ease;
}
.feature:hover {
	border-color: rgba(184, 107, 74, 0.55);
	transform: translateY(-3px);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}
.feature:hover::after {
	opacity: 1;
}
.feature .feature-num {
	font-family: "JetBrains Mono", monospace;
	font-weight: 500;
	font-size: 10px;
	letter-spacing: 0.24em;
	color: var(--brand-soft);
}
.feature h3 {
	font-family: "Manrope", sans-serif;
	font-weight: 800;
	font-size: 23px;
	letter-spacing: -0.02em;
	line-height: 1.12;
}
.feature p {
	font-weight: 400;
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--text-2);
	max-width: 40ch;
}
.feature-link-wrap {
	margin-top: 14px;
	margin-bottom: 0;
}
.feature-link {
	font-size: 13.5px;
	font-weight: 500;
	color: var(--text-3);
	letter-spacing: 0.01em;
	transition: color 0.18s ease;
}
.feature-link:hover {
	color: var(--brand-soft);
}

/* ================================================================
   PRIVACY
================================================================ */
.privacy-col {
	max-width: 760px;
	margin: 0 auto;
	text-align: center;
}
.privacy .eyebrow {
	margin-bottom: 22px;
}
.privacy .section-h {
	margin-bottom: 24px;
	text-wrap: pretty;
}
.privacy .lede {
	margin: 0 auto 48px;
	max-width: 600px;
}
.privacy-tenets {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 18px 48px;
	max-width: 660px;
	margin: 0 auto;
	text-align: left;
}
.privacy-tenets li {
	display: flex;
	align-items: baseline;
	gap: 14px;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.5;
	color: var(--text-2);
}
.privacy-tenets li .mark {
	width: 14px;
	height: 1.5px;
	flex-shrink: 0;
	background: var(--brand);
	border-radius: 2px;
	transform: translateY(-4px);
}
@media (max-width: 620px) {
	.privacy-tenets {
		grid-template-columns: 1fr;
		gap: 16px;
		max-width: 360px;
	}
}

/* ================================================================
   DOWNLOAD
================================================================ */
.download {
	text-align: center;
}
.section-flow .download > .container.download-closing {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: stretch;
	max-height: calc(
		100svh - clamp(40px, 5.5vh, 72px) - var(--footer-dock-h, 76px)
	);
	overflow: hidden;
}
.section-flow .download .download-inner {
	max-width: 760px;
	margin: 0 auto;
	width: 100%;
}
.section-flow .section.download > .container {
	height: auto;
}
.download-closing {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: stretch;
	gap: clamp(40px, 7vh, 72px);
	width: 100%;
	flex: 0 1 auto;
}
.download-inner {
	max-width: 760px;
	margin: 0 auto;
	width: 100%;
}
.download .eyebrow {
	margin-bottom: 24px;
}
.download .section-h {
	margin-bottom: 22px;
}
.download .lede {
	margin: 0 auto 42px;
	max-width: 50ch;
	font-size: clamp(16px, 1.7vw, 19px);
}
.download-buttons {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 22px;
}
.store-row {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
	justify-content: center;
}
.store-btn {
	display: flex;
	align-items: center;
	gap: 13px;
	padding: 15px 24px;
	background: var(--text);
	color: #15110e;
	border-radius: var(--radius-md);
	transition:
		background 0.25s ease,
		transform 0.25s ease;
	min-width: 210px;
}
.store-btn:hover {
	background: #fff;
	transform: translateY(-2px);
}
.store-btn .ico {
	width: 26px;
	height: 26px;
	flex-shrink: 0;
}
.store-btn .meta {
	text-align: left;
	line-height: 1.1;
	white-space: nowrap;
}
.store-btn .meta small {
	display: block;
	font-weight: 400;
	font-size: 10px;
	color: rgba(21, 17, 14, 0.6);
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.store-btn .meta strong {
	display: block;
	font-family: "Manrope", sans-serif;
	font-weight: 800;
	font-size: 17px;
	letter-spacing: -0.01em;
	margin-top: 2px;
	color: #15110e;
}
.store-btn.disabled {
	background: var(--surface);
	color: var(--text-3);
	cursor: default;
	border: 1px solid var(--hairline);
}
.store-btn.disabled .meta small {
	color: var(--text-3);
}
.store-btn.disabled .meta strong {
	color: var(--text-2);
}
.store-btn.disabled:hover {
	background: var(--surface);
	transform: none;
}
.store-btn.disabled .ico {
	color: var(--text-3);
}
.download-note {
	font-size: 13px;
	color: var(--text-3);
	max-width: 38ch;
	margin: 4px auto 0;
}
.download-note strong {
	color: var(--text-2);
	font-weight: 500;
}

/* ================================================================
   FOOTER
================================================================ */
.footer {
	padding-block: var(--section-space);
	border-top: none;
	color: var(--text-3);
	font-size: 13px;
}
.footer-dock {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 8;
	padding-block: clamp(14px, 2.2vh, 20px);
	padding-bottom: max(
		clamp(14px, 2.2vh, 20px),
		env(safe-area-inset-bottom, 0px)
	);
	border-top: 1px solid var(--hairline-soft);
	background: linear-gradient(
		to top,
		rgba(21, 17, 14, 0.96) 0%,
		rgba(21, 17, 14, 0.88) 100%
	);
	backdrop-filter: blur(14px) saturate(120%);
	-webkit-backdrop-filter: blur(14px) saturate(120%);
	will-change: transform, opacity;
}
html.intro-pending .footer-dock {
	visibility: hidden;
}
.footer-dock .footer-inner {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 var(--col-pad-x);
}
.footer-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 24px;
}
.footer-left {
	display: flex;
	align-items: center;
	gap: 16px;
}
.footer .wordmark {
	font-size: 22px;
}
.footer-right {
	display: flex;
	align-items: center;
	gap: 24px;
}
.footer-right a {
	transition: color 0.18s ease;
}
.footer-right a:hover {
	color: var(--text);
}
@media (max-width: 560px) {
	.footer-inner {
		flex-direction: column;
		align-items: flex-start;
		gap: 20px;
	}
}

/* ================================================================
   Reduced motion — silence continuous loops; GSAP self-disables in JS
================================================================ */
@media (prefers-reduced-motion: reduce) {
	.mesh .blob,
	.stage-warmth,
	.wordmark .dot,
	.ic-tier::before,
	.ps-pulse,
	.scroll-hint .line {
		animation: none !important;
	}
}
