/* ============================================================
   BLOODLINE: THE LAST BREATH — landing page
   Palette + motion codified from the in-game grade
   (grade ref: Misc/LUTs/LUT_NeonNoir_Cool.png)
   ============================================================ */

/* ---------- Self-hosted fonts ----------
   Drop the font files in /assets/fonts/ and the @font-face
   blocks below light up. Until then the stack falls back to
   a condensed/geometric system face so nothing hotlinks
   Google Fonts (GDPR: no third-party requests). */
@font-face {
	font-family: "Bloodline Display";
	src: url("../assets/fonts/display.woff2") format("woff2");
	font-weight: 700 900;
	font-display: swap;
	font-style: normal;
}
@font-face {
	font-family: "Bloodline Sans";
	src: url("../assets/fonts/sans.woff2") format("woff2");
	font-weight: 400 700;
	font-display: swap;
	font-style: normal;
}

:root {
	/* Base — luminous dark */
	--base:        #06080A;
	--base-2:      #0B0F14;
	--panel:       #0E141B;
	--line:        rgba(120, 200, 220, 0.14);

	/* Primary cyan-teal ~190° (HUD glow) */
	--cyan:        #38E1E8;
	--cyan-soft:   #7FF3F7;
	--cyan-deep:   #0E6E77;

	/* Secondary magenta ~320° (bullets) */
	--magenta:     #FF3DA6;
	--magenta-soft:#FF86C8;

	/* Ember / amber accent (burned forest) */
	--ember:       #FFB061;

	/* Text */
	--ink:         #EAF2F4;
	--ink-dim:     #9FB1B8;
	--ink-faint:   #63757C;

	/* Type */
	--font-display: "Bloodline Display", "Bahnschrift", "Oswald", "Impact", "Haettenschweiler", "Arial Narrow Bold", sans-serif;
	--font-sans:    "Bloodline Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--font-mono:    ui-monospace, "SFMono-Regular", "Consolas", "Roboto Mono", monospace;

	/* Layout */
	--wrap:        1180px;
	--wrap-narrow: 760px;
	--gutter:      clamp(20px, 5vw, 64px);

	/* Motion */
	--ease:        cubic-bezier(0.22, 1, 0.36, 1);
	--glow:        0 0 24px rgba(56, 225, 232, 0.55);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	font-family: var(--font-sans);
	background: var(--base);
	color: var(--ink);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
:focus-visible {
	outline: 2px solid var(--cyan);
	outline-offset: 3px;
	border-radius: 2px;
}

.visually-hidden, .hp {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0);
	white-space: nowrap; border: 0;
}

.skip-link {
	position: fixed; top: -60px; left: 12px; z-index: 999;
	background: var(--cyan); color: #00252a;
	padding: 10px 16px; border-radius: 6px; font-weight: 700;
	transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap.narrow { max-width: var(--wrap-narrow); }

/* ---------- Shared type ---------- */
.kicker {
	font-family: var(--font-mono);
	font-size: .78rem;
	letter-spacing: .28em;
	text-transform: uppercase;
	color: var(--cyan);
	margin-bottom: 1rem;
}
.display, h2.display {
	font-family: var(--font-display);
	font-weight: 800;
	line-height: 1.02;
	letter-spacing: .01em;
	text-transform: uppercase;
	font-size: clamp(2rem, 5.5vw, 3.9rem);
}
h2 {
	font-family: var(--font-display);
	font-weight: 800;
	text-transform: uppercase;
	line-height: 1.05;
	letter-spacing: .01em;
	font-size: clamp(1.8rem, 4.5vw, 3.2rem);
}
h3 {
	font-family: var(--font-display);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .02em;
	line-height: 1.08;
	font-size: clamp(1.5rem, 3vw, 2.2rem);
}
.accent { color: var(--cyan); text-shadow: 0 0 30px rgba(56,225,232,.35); }

.mono-line {
	font-family: var(--font-mono);
	color: var(--cyan);
	letter-spacing: .06em;
	font-size: .95rem;
	opacity: .85;
}
.mono-line.small { font-size: .8rem; }
.mono-line span { color: var(--ink-faint); }

/* HUD corner brackets */
.corners { position: relative; }
.corners::before, .corners::after {
	content: ""; position: absolute; width: 18px; height: 18px;
	border: 2px solid var(--cyan); opacity: .5; pointer-events: none;
	transition: opacity .4s var(--ease);
}
.corners::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.corners::after  { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.corners:hover::before, .corners:hover::after { opacity: 1; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	padding: .95em 1.7em;
	font-family: var(--font-display);
	font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
	font-size: 1rem;
	border-radius: 4px;
	transition: transform .2s var(--ease), box-shadow .3s var(--ease), background .2s var(--ease), color .2s var(--ease);
	will-change: transform;
}
.btn-small { padding: .6em 1.1em; font-size: .85rem; }
.btn-primary {
	background: linear-gradient(135deg, var(--cyan), var(--cyan-deep));
	color: #00252a;
	box-shadow: 0 0 0 1px rgba(56,225,232,.4), 0 0 22px rgba(56,225,232,.35);
	position: relative;
}
.btn-primary::after {
	content: ""; position: absolute; inset: 0; border-radius: 4px;
	box-shadow: 0 0 34px 4px rgba(56,225,232,.55);
	opacity: 0; transition: opacity .3s var(--ease);
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-primary:hover::after { opacity: 1; }
.btn-ghost {
	border: 1px solid var(--line);
	color: var(--ink);
	background: rgba(255,255,255,.02);
	backdrop-filter: blur(4px);
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }

/* Pulse on the primary CTA (respect reduced motion below) */
@keyframes ctaPulse {
	0%, 100% { box-shadow: 0 0 0 1px rgba(56,225,232,.4), 0 0 18px rgba(56,225,232,.3); }
	50%      { box-shadow: 0 0 0 1px rgba(56,225,232,.6), 0 0 30px rgba(56,225,232,.55); }
}
.btn-primary { animation: ctaPulse 3.2s ease-in-out infinite; }

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar {
	position: fixed; top: 0; left: 0; right: 0; z-index: 100;
	display: flex; align-items: center; justify-content: space-between;
	padding: .7rem var(--gutter);
	background: linear-gradient(180deg, rgba(6,8,10,.92), rgba(6,8,10,.7) 70%, transparent);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid transparent;
	transform: translateY(-100%);
	transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.topbar.show { transform: translateY(0); border-bottom-color: var(--line); }
.topbar-mark {
	font-family: var(--font-display); font-weight: 800;
	letter-spacing: .18em; font-size: 1.1rem; color: var(--ink);
}

/* ============================================================
   1. HERO
   ============================================================ */
.hero {
	position: relative;
	min-height: 100svh;
	display: flex; flex-direction: column; justify-content: center;
	padding: var(--gutter);
	padding-block: clamp(90px, 16vh, 180px);
	overflow: hidden;
	isolation: isolate;

	/* --- Hero footage treatment (INTERIM) ---
	   The stand-in clip (6seconds.mp4) has the in-game HUD baked in. Rather
	   than dim the whole clip, the video plays at FULL brightness and the
	   asymmetric vignette (left-heavy) does the text-contrast work, while a
	   soft-focus blur abstracts the HUD near the text. The clip plays clean
	   for --intro-hold, then the treatment + overlay animate in (see JS,
	   which toggles `.hero--revealed`).
	   When a clean, HUD-less capture lands: set --hero-blur: 0 (keeps the
	   cinematic reveal) or remove the intro entirely. */
	--hero-blur: 4px;
	--hero-dim: 1;          /* full brightness — DO NOT lower; contrast comes from the vignette */
	--hero-tune: 1.2s;      /* how long the focus-pull + vignette take to fade in */
}
.hero-media {
	position: absolute; inset: 0; z-index: -2;
	background: var(--base);
	overflow: hidden;
}
/* Poster layer (pseudo-element) tracks the SAME treatment as the video, so the
   pre-load frame, autoplay-blocked, and reduced-motion states match playback. */
.hero-media::before {
	content: ""; position: absolute; inset: 0;
	background: url("../assets/img/hero-poster.jpg") center/cover no-repeat;
	transform: scale(1.08);
	filter: blur(0) brightness(1);
	transition: filter var(--hero-tune) var(--ease);
}
.hero-video {
	position: absolute; inset: 0; z-index: 0;
	width: 100%; height: 100%;
	object-fit: cover;
	/* scale hides the blur's soft edge and crops the corner HUD out of frame */
	transform: scale(1.08);
	filter: blur(0) brightness(1);          /* clean during the intro hold */
	transition: filter var(--hero-tune) var(--ease);
}
/* After the intro hold, the focus-pull blur eases in (brightness stays 1). */
.hero--revealed .hero-video,
.hero--revealed .hero-media::before {
	filter: blur(var(--hero-blur)) brightness(var(--hero-dim));
}
/* Cinematic scrim: asymmetric vignette so text always reads.
   Heaviest on the LEFT (wordmark + CTAs + the clip's score HUD) and BOTTOM,
   fading brighter to the right where the gameplay breathes at full brightness.
   Hidden during the intro hold, eases in with the overlay.
   z-index:1 keeps it above the video but still inside .hero-media (z-index:-2),
   so it darkens the footage yet sits behind .hero-content. */
.hero-scrim {
	position: absolute; inset: 0; z-index: 1;
	opacity: 0;
	transition: opacity var(--hero-tune) var(--ease);
	background:
		radial-gradient(135% 105% at 62% 30%, transparent 24%, rgba(6,8,10,.5) 100%),
		linear-gradient(180deg, rgba(6,8,10,.66) 0%, transparent 26%, transparent 46%, rgba(6,8,10,.97) 100%),
		linear-gradient(90deg, rgba(6,8,10,.92) 0%, rgba(6,8,10,.72) 30%, rgba(6,8,10,.32) 60%, rgba(6,8,10,.14) 100%);
}
.hero--revealed .hero-scrim { opacity: 1; }

/* Overlay intro: each line starts offset to the RIGHT and slides left into
   place as it fades in, staggered by its --d. Driven by `.hero--revealed`
   (JS adds it after the clean intro hold); no-JS fallback reveals them. */
.h-reveal {
	opacity: 0;
	transform: translateX(48px);
	transition: opacity .8s var(--ease), transform .8s var(--ease);
	transition-delay: var(--d, 0s);
	will-change: opacity, transform;
}
.hero--revealed .h-reveal { opacity: 1; transform: none; }

/* Scroll cue is hidden during the clean intro, fades in last. */
.scroll-cue { opacity: 0; transition: opacity .8s var(--ease); transition-delay: .5s; }
.hero--revealed .scroll-cue { opacity: .85; }

.hero-content { position: relative; max-width: 760px; }
.wordmark {
	font-family: var(--font-display);
	font-weight: 900;
	font-size: clamp(3.4rem, 12vw, 8.5rem);
	line-height: .86;
	letter-spacing: .005em;
	text-transform: uppercase;
	color: #fff;
	text-shadow: 0 0 60px rgba(0,0,0,.6), 0 2px 30px rgba(0,0,0,.8);
	position: relative;
}
.wordmark-sub {
	display: block;
	font-size: clamp(.9rem, 2.6vw, 1.7rem);
	font-weight: 700;
	letter-spacing: .42em;
	color: var(--cyan);
	margin-top: .5em;
	margin-left: .12em;
	text-shadow: 0 0 24px rgba(56,225,232,.5);
}
.tagline {
	font-family: var(--font-display);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	font-size: clamp(1.3rem, 3.6vw, 2.3rem);
	margin-top: 1.4rem;
}
.tagline em {
	font-style: normal;
	color: var(--cyan);
	text-shadow: 0 0 26px rgba(56,225,232,.5);
}
.hero-line {
	margin-top: 1rem;
	font-size: clamp(1rem, 2vw, 1.2rem);
	color: var(--ink-dim);
	max-width: 46ch;
}
.cta-row {
	display: flex; flex-wrap: wrap; gap: 1rem;
	margin-top: 2.2rem;
}
.cta-note {
	margin-top: .9rem;
	font-family: var(--font-mono);
	font-size: .8rem; letter-spacing: .04em;
	color: var(--ink-faint);
}
.platforms {
	list-style: none; padding: 0;
	display: flex; flex-wrap: wrap; gap: .6rem .9rem;
	margin-top: 2.4rem;
}
.platforms li {
	font-family: var(--font-mono);
	font-size: .74rem; letter-spacing: .12em; text-transform: uppercase;
	color: var(--ink-dim);
	border: 1px solid var(--line);
	padding: .45em .8em; border-radius: 3px;
	background: rgba(255,255,255,.02);
}
.platforms .platforms-fps { color: var(--cyan); border-color: rgba(56,225,232,.35); }

.scroll-cue {
	position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%);
	z-index: 2; width: 34px; height: 52px;
	display: grid; place-items: center;
}
.scroll-cue-chevron {
	width: 12px; height: 12px;
	border-right: 2px solid var(--cyan);
	border-bottom: 2px solid var(--cyan);
	transform: rotate(45deg);
	animation: cueBounce 1.8s var(--ease) infinite;
	opacity: .8;
}
@keyframes cueBounce {
	0%, 100% { transform: rotate(45deg) translate(0,0); opacity: .4; }
	50%      { transform: rotate(45deg) translate(3px,3px); opacity: 1; }
}

/* ============================================================
   2. HOOK BAND
   ============================================================ */
.hook {
	position: relative;
	padding-block: clamp(5rem, 12vh, 9rem);
	background:
		radial-gradient(80% 120% at 80% 0%, rgba(255,61,166,.06), transparent 55%),
		radial-gradient(70% 120% at 0% 100%, rgba(56,225,232,.07), transparent 55%),
		var(--base);
	border-top: 1px solid var(--line);
}
.hook .display { max-width: 16ch; }
.hook-body {
	margin-top: 1.6rem; max-width: 62ch;
	font-size: clamp(1.05rem, 1.8vw, 1.28rem);
	color: var(--ink-dim);
}
.hook .mono-line { margin-top: 2rem; }

/* ============================================================
   3. FEATURES
   ============================================================ */
.features { padding-block: clamp(3rem, 8vh, 6rem); }
.feature {
	display: grid;
	grid-template-columns: 1.05fr .95fr;
	gap: clamp(2rem, 5vw, 5rem);
	align-items: center;
	padding-block: clamp(3rem, 7vh, 6rem);
}
.feature:nth-child(even) .feature-media { order: 2; }
.feature-media {
	border-radius: 8px; overflow: hidden;
	background: var(--panel);
	border: 1px solid var(--line);
	box-shadow: 0 30px 80px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(0,0,0,.4);
	aspect-ratio: 16 / 9;
}
.feature-media img, .feature-media video { width: 100%; height: 100%; object-fit: cover; }
.feature-copy .kicker { color: var(--magenta-soft); }
.feature-copy p {
	margin-top: 1rem; color: var(--ink-dim);
	font-size: clamp(1rem, 1.5vw, 1.12rem);
}
.feature-copy h3 { margin-top: .3rem; }
.feature-punch {
	margin-top: 1.2rem !important;
	font-family: var(--font-mono);
	color: var(--cyan) !important;
	letter-spacing: .04em; font-size: .95rem !important;
}
.feature-punch em { font-style: normal; color: var(--magenta-soft); }

/* ============================================================
   4. MEDIA GALLERY
   ============================================================ */
.gallery {
	padding-block: clamp(4rem, 10vh, 7rem);
	background:
		radial-gradient(60% 100% at 50% 0%, rgba(56,225,232,.05), transparent 60%),
		var(--base-2);
	border-block: 1px solid var(--line);
}
.gallery h2 { margin-bottom: .4rem; }
.gallery-grid {
	margin-top: 2rem;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: clamp(.8rem, 2vw, 1.4rem);
}
.shot {
	position: relative; padding: 0; overflow: hidden;
	border-radius: 8px; border: 1px solid var(--line);
	aspect-ratio: 16 / 9; background: var(--panel);
	transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease), filter .3s var(--ease); }
.shot::after {
	content: "⤢"; position: absolute; top: 10px; right: 12px;
	color: var(--cyan); font-size: 1rem; opacity: 0; transition: opacity .3s var(--ease);
	text-shadow: 0 0 10px rgba(0,0,0,.8);
}
.shot:hover { border-color: var(--cyan); box-shadow: 0 0 30px -6px rgba(56,225,232,.4); }
.shot:hover img { transform: scale(1.06); filter: brightness(1.08); }
.shot:hover::after { opacity: 1; }
.gallery .mono-line { margin-top: 1.6rem; }

/* ============================================================
   5. FROM THE DEVELOPER
   ============================================================ */
.developer {
	padding-block: clamp(5rem, 12vh, 8rem);
	position: relative;
}
.developer::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: radial-gradient(50% 80% at 50% 50%, rgba(255,176,97,.05), transparent 70%);
}
.dev-quote { margin-top: 1.4rem; border: 0; }
.dev-quote p {
	font-family: var(--font-display);
	font-weight: 700; text-transform: none;
	font-size: clamp(1.4rem, 3vw, 2.1rem);
	line-height: 1.3; letter-spacing: .005em;
	color: var(--ink);
}
.dev-quote p::before { content: "\201C"; color: var(--cyan); }
.dev-quote p::after  { content: "\201D"; color: var(--cyan); }
.dev-quote footer {
	margin-top: 1.4rem;
	font-family: var(--font-mono);
	font-size: .9rem; letter-spacing: .08em; color: var(--cyan);
}
.dev-for {
	margin-top: 2.2rem;
	font-size: clamp(1.05rem, 1.8vw, 1.25rem);
	color: var(--ink-dim);
	max-width: 56ch;
}

/* ============================================================
   6. CONVERSION BAND
   ============================================================ */
.signup {
	padding-block: clamp(5rem, 12vh, 8rem);
	background:
		radial-gradient(70% 120% at 50% 120%, rgba(56,225,232,.1), transparent 60%),
		var(--base-2);
	border-top: 1px solid var(--line);
	text-align: center;
}
.signup-lead {
	margin: 1.2rem auto 0;
	max-width: 48ch;
	color: var(--ink-dim);
	font-size: clamp(1rem, 1.6vw, 1.15rem);
}
.signup-form {
	margin-top: 2.6rem;
	padding: clamp(1.4rem, 3vw, 2.2rem);
	background: rgba(14,20,27,.6);
	border: 1px solid var(--line);
	border-radius: 10px;
	text-align: left;
	backdrop-filter: blur(6px);
}
.field-row { display: flex; gap: .8rem; flex-wrap: wrap; }
.field-row input[type="email"] {
	flex: 1 1 220px;
	padding: .95em 1.1em;
	background: var(--base);
	border: 1px solid var(--line);
	border-radius: 5px;
	color: var(--ink);
	font-size: 1rem;
	transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field-row input[type="email"]::placeholder { color: var(--ink-faint); }
.field-row input[type="email"]:focus {
	outline: none; border-color: var(--cyan);
	box-shadow: 0 0 0 3px rgba(56,225,232,.16);
}
.field-row .btn { flex: 0 0 auto; }
.consent {
	display: flex; gap: .6rem; align-items: flex-start;
	margin-top: 1.2rem;
	font-size: .9rem; color: var(--ink-dim);
}
.consent input { margin-top: .28em; width: 16px; height: 16px; accent-color: var(--cyan); flex: 0 0 auto; }
.consent a { color: var(--cyan); text-decoration: underline; text-underline-offset: 2px; }
.form-status { margin-top: 1rem; font-size: .9rem; min-height: 1.2em; font-family: var(--font-mono); }
.form-status.err { color: var(--magenta-soft); }
.form-status.ok  { color: var(--cyan); }
.form-note { margin-top: .5rem; font-size: .8rem; color: var(--ink-faint); }

.signup-alt { margin-top: 2rem; display: flex; align-items: center; justify-content: center; gap: 1rem; }
.signup-alt-label {
	font-family: var(--font-mono); font-size: .8rem; letter-spacing: .2em;
	text-transform: uppercase; color: var(--ink-faint);
}

/* ============================================================
   7. FOOTER
   ============================================================ */
.footer {
	padding-block: 3.5rem 2.5rem;
	background: var(--base);
	border-top: 1px solid var(--line);
}
.footer .wrap {
	display: grid; gap: 2rem;
	grid-template-columns: 1fr auto;
	align-items: start;
}
.footer-mark {
	font-family: var(--font-display); font-weight: 800;
	letter-spacing: .14em; font-size: 1.2rem;
}
.footer-mark span { color: var(--ink-faint); font-weight: 400; letter-spacing: .1em; }
.footer-tagline {
	margin-top: .4rem;
	font-family: var(--font-mono); font-size: .82rem;
	color: var(--cyan); letter-spacing: .06em;
}
.footer-social {
	display: flex; flex-wrap: wrap; gap: 1.2rem;
	justify-content: flex-end;
}
.footer-social a {
	font-family: var(--font-mono); font-size: .85rem;
	letter-spacing: .08em; color: var(--ink-dim);
	transition: color .2s var(--ease);
}
.footer-social a:hover { color: var(--cyan); }
.footer-legal {
	grid-column: 1 / -1;
	border-top: 1px solid var(--line);
	padding-top: 1.6rem;
	display: flex; flex-wrap: wrap; gap: .4rem 1.5rem;
	align-items: center;
	font-size: .82rem; color: var(--ink-faint);
}
.footer-legal a { color: var(--ink-dim); text-decoration: underline; text-underline-offset: 2px; }
.footer-legal a:hover { color: var(--cyan); }
.footer-fineprint { width: 100%; color: var(--ink-faint); opacity: .7; }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
	border: 0; padding: 0; max-width: 100vw; max-height: 100vh;
	width: 100%; height: 100%;
	background: rgba(4,6,8,.94);
	place-items: center;
	backdrop-filter: blur(6px);
}
.lightbox[open] { display: grid; }
.lightbox::backdrop { background: rgba(4,6,8,.9); }
.lightbox img {
	max-width: 92vw; max-height: 86vh;
	border-radius: 8px; border: 1px solid var(--line);
	box-shadow: 0 40px 120px -20px rgba(0,0,0,.9);
}
.lightbox-close {
	position: fixed; top: 18px; right: 24px;
	font-size: 2.4rem; line-height: 1; color: var(--ink);
	width: 48px; height: 48px; border-radius: 50%;
	transition: color .2s var(--ease), background .2s var(--ease);
}
.lightbox-close:hover { color: var(--cyan); background: rgba(255,255,255,.05); }
.lightbox-nav {
	position: fixed; top: 50%; transform: translateY(-50%);
	font-size: 3rem; line-height: 1; color: var(--ink);
	width: 60px; height: 90px; opacity: .7;
	transition: opacity .2s var(--ease), color .2s var(--ease);
}
.lightbox-nav:hover { opacity: 1; color: var(--cyan); }
.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }

/* ============================================================
   BULLET-MOTIF CANVAS (perf-gated, subtle, behind everything)
   ============================================================ */
.bullet-field {
	position: fixed; inset: 0; z-index: -10;
	width: 100%; height: 100%;
	pointer-events: none; opacity: .5;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
	opacity: 0; transform: translateY(24px);
	transition: opacity .7s var(--ease), transform .7s var(--ease);
	transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
	.feature { grid-template-columns: 1fr; gap: 1.6rem; }
	.feature:nth-child(even) .feature-media { order: 0; }
	.footer .wrap { grid-template-columns: 1fr; }
	.footer-social { justify-content: flex-start; }
}
@media (max-width: 560px) {
	.gallery-grid { grid-template-columns: 1fr; }
	.field-row .btn { width: 100%; }
	.cta-row { flex-direction: column; align-items: stretch; }
	.cta-row .btn { width: 100%; }
	.wordmark-sub { letter-spacing: .3em; }
}

/* ============================================================
   LEGAL PAGES (privacy / impressum)
   ============================================================ */
.legal-page { min-height: 100vh; display: flex; flex-direction: column; }
.legal-head {
	padding: 1.4rem var(--gutter);
	border-bottom: 1px solid var(--line);
	display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.legal-head a.topbar-mark { color: var(--ink); }
.legal-back {
	font-family: var(--font-mono); font-size: .85rem; letter-spacing: .06em;
	color: var(--ink-dim);
}
.legal-back:hover { color: var(--cyan); }
.legal {
	flex: 1;
	max-width: 820px; margin-inline: auto;
	padding: clamp(2.5rem, 6vw, 4.5rem) var(--gutter) 5rem;
}
.legal h1 {
	font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
	font-size: clamp(1.8rem, 5vw, 2.8rem); letter-spacing: .01em; line-height: 1.05;
}
.legal .updated { margin-top: .6rem; font-family: var(--font-mono); font-size: .82rem; color: var(--ink-faint); }
.legal h2 {
	font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
	font-size: clamp(1.1rem, 2.4vw, 1.4rem); letter-spacing: .03em;
	margin-top: 2.6rem; color: var(--cyan);
}
.legal p, .legal li { color: var(--ink-dim); margin-top: .9rem; font-size: 1rem; }
.legal ul { margin-top: .5rem; padding-left: 1.3rem; }
.legal li { margin-top: .4rem; }
.legal a { color: var(--cyan); text-decoration: underline; text-underline-offset: 2px; }
.legal strong { color: var(--ink); }
.legal .placeholder {
	background: rgba(255,176,97,.08);
	border-left: 3px solid var(--ember);
	padding: .2em .5em; border-radius: 2px; color: var(--ember);
	font-family: var(--font-mono); font-size: .92em;
}
.legal address { font-style: normal; margin-top: .9rem; color: var(--ink-dim); line-height: 1.8; }

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: .001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .001ms !important;
	}
	.reveal { opacity: 1; transform: none; }
	/* No timed intro under reduced motion — show the treated, revealed hero
	   outright (independent of JS), so text is legible immediately. */
	.h-reveal { opacity: 1; transform: none; }
	.hero-scrim { opacity: 1; }
	.scroll-cue { opacity: .85; }
	.hero-media::before { filter: blur(var(--hero-blur)) brightness(var(--hero-dim)); }
	.hero-video { display: none; }          /* poster shows through */
	.bullet-field { display: none; }
	.scroll-cue-chevron { animation: none; }
}
