/* ===== Local fonts (put .ttf files into /fonts) ===== */
@font-face {
	font-family: 'InterVar';
	src: url('../fonts/Inter-VariableFont.ttf') format('truetype');
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Prata';
	src: url('../fonts/Prata-Regular.ttf') format('truetype');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

/* ===== CSS Reset (minimal) ===== */
* {
	box-sizing: border-box;
}
html,
body {
	height: 100%;
}
body,
h1,
h2,
h3,
p,
figure {
	margin: 0;
}
img {
	display: block;
	max-width: 100%;
	height: auto;
}

/* ===== Theme ===== */
:root {
	--bg: #0f0f11;
	--panel: #141417;
	--ink: #eaeaf0;
	--muted: #b7b7c0;
	--accent: #caa574; /* warm brass */
	--accent-2: #6aa8ff; /* cool line */
	--shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
	--ring: 0 0 0 2px rgba(202, 165, 116, 0.35);
	--radius: 18px;
	--speed: 320ms;
}

html {
	scroll-behavior: smooth;
}
body {
	background: radial-gradient(
			1200px 600px at 10% -10%,
			#1a1a1f 0%,
			transparent 50%
		),
		radial-gradient(900px 600px at 90% 10%, #17171b 0%, transparent 55%),
		var(--bg);
	color: var(--ink);
	font-family: InterVar, system-ui, -apple-system, Segoe UI, Roboto, Arial,
		sans-serif;
	line-height: 1.6;
}

/* A11y */
.visually-hidden {
	position: absolute !important;
	clip: rect(1px, 1px, 1px, 1px);
	padding: 0;
	border: 0;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

/* Layout */
.container {
	width: min(1160px, 92vw);
	margin: 0 auto;
}

/* ===== Header ===== */
.ll-header {
	position: fixed;
	width: 100%;
	top: 0;
	z-index: 50;
	background: color-mix(in srgb, var(--panel) 85%, transparent);
	backdrop-filter: saturate(1.2) blur(10px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.ll-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 64px;
	gap: 16px;
}
.ll-logo {
	font-family: Prata, serif;
	font-size: 1.35rem;
	letter-spacing: 0.06em;
	text-decoration: none;
	color: var(--ink);
}
.ll-nav {
	display: flex;
}
.ll-nav__list {
	display: flex;
	gap: 22px;
	list-style: none;
	padding: 0;
	margin: 0;
}
.ll-nav a {
	color: var(--ink);
	text-decoration: none;
	padding: 10px 4px;
	border-radius: 8px;
	transition: transform var(--speed), background var(--speed),
		color var(--speed);
}
.ll-nav a:hover {
	background: rgba(255, 255, 255, 0.06);
	transform: translateY(-1px);
}
.ll-nav a.is-active {
	color: var(--accent);
}

.ll-burger {
	display: none;
	width: 42px;
	height: 36px;
	border: 0;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.06);
	position: relative;
	cursor: pointer;
}
.ll-burger:focus-visible {
	outline: none;
	box-shadow: var(--ring);
}
.ll-burger span {
	position: absolute;
	left: 9px;
	right: 9px;
	height: 2px;
	background: var(--ink);
	transform-origin: center;
	transition: transform var(--speed), opacity var(--speed), top var(--speed);
}
.ll-burger span:nth-child(1) {
	top: 10px;
}
.ll-burger span:nth-child(2) {
	top: 17px;
}
.ll-burger span:nth-child(3) {
	top: 24px;
}
.ll-burger.is-open span:nth-child(1) {
	top: 17px;
	transform: rotate(45deg);
}
.ll-burger.is-open span:nth-child(2) {
	opacity: 0;
}
.ll-burger.is-open span:nth-child(3) {
	top: 17px;
	transform: rotate(-45deg);
}

/* ===== Corridor (section 1) ===== */
.corridor {
	padding: clamp(48px, 8vw, 76px) 0;
}
.corridor__grid {
	display: grid;
	grid-template-columns: 0.8fr 1.4fr 0.8fr;
	gap: clamp(16px, 3vw, 32px);
	align-items: start;
}

/* Lanes share rules */
.corridor__lane {
	display: grid;
	gap: 18px;
}
.strip,
.frame {
	background: linear-gradient(#17171b, #121216);
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	overflow: hidden;
	transform: translateZ(0);
}
.strip img,
.frame img {
	width: 100%;
	max-width: 350px; /* важное ограничение */
}
.strip figcaption,
.frame figcaption {
	padding: 10px 14px;
	color: var(--muted);
	font-size: 0.9rem;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Stage (center column) */
.eyebrow {
	color: var(--accent);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	font-size: 0.8rem;
}
.corridor__title {
	font-family: Prata, serif;
	font-size: clamp(1.6rem, 3.6vw, 3rem);
	line-height: 1.15;
	margin: 8px 0 10px;
}
.uline {
	position: relative;
	white-space: nowrap;
	background: linear-gradient(to right, var(--accent), var(--accent-2));
	background-clip: text;
	-webkit-background-clip: text;
	color: transparent;
}
.uline::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: -6px;
	height: 2px;
	background: linear-gradient(90deg, var(--accent), transparent 55%);
	transform-origin: left center;
	transform: scaleX(0);
	transition: transform 500ms ease;
}
.corridor__title:hover .uline::after {
	transform: scaleX(1);
}

.corridor__lede {
	color: var(--muted);
	margin: 12px 0 18px;
}

/* texture rail */
.texture-rail {
	display: grid;
	grid-auto-flow: column;
	gap: 10px;
	align-items: center;
	margin: 18px 0 22px;
}
.texture-rail img {
	width: 100%;
	max-width: 350px;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.06);
}

.cta-row {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 16px;
}
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 14px;
	border-radius: 12px;
	text-decoration: none;
	border: 1px solid rgba(255, 255, 255, 0.12);
	transition: transform var(--speed), background var(--speed),
		box-shadow var(--speed), color var(--speed);
	will-change: transform;
}
.btn:focus-visible {
	outline: none;
	box-shadow: var(--ring);
}
.btn--solid {
	background: var(--accent);
	color: #111;
}
.btn--solid:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(202, 165, 116, 0.35);
}
.btn--ghost {
	background: transparent;
	color: var(--ink);
}
.btn--ghost:hover {
	background: rgba(255, 255, 255, 0.06);
	transform: translateY(-1px);
}

.badges {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	padding: 0;
	margin: 0;
	list-style: none;
}
.badge {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.12);
	padding: 8px 10px;
	border-radius: 999px;
	font-size: 0.82rem;
	color: var(--muted);
	transition: transform var(--speed), background var(--speed);
}
.badge:hover,
.badge:focus {
	transform: translateY(-1px);
	background: rgba(255, 255, 255, 0.1);
}

/* Hover tilt */
[data-tilt] {
	transition: transform 260ms ease, box-shadow var(--speed);
	will-change: transform;
}
[data-tilt]:hover {
	transform: translateY(-3px) rotate3d(0.6, -0.6, 0, 3deg);
}

/* Ambient shadows */
.corridor__shadows {
	position: relative;
	height: 24px;
	margin-top: 28px;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 22px;
}
.corridor__shadows span {
	height: 100%;
	border-radius: 999px;
	background: radial-gradient(
		60% 100% at 50% 50%,
		rgba(0, 0, 0, 0.55) 0%,
		transparent 60%
	);
	filter: blur(8px);
	opacity: 0.65;
}

/* ===== New Footer (TuneForge layout, themed for Loft Lines) ===== */
.footer {
	margin-top: 56px;
	padding: 26px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	background: #111115;
}
.footer-container {
	display: grid;
	grid-template-columns: 1.2fr 1fr auto;
	align-items: start;
	gap: 18px;
}
.footer-column {
	display: grid;
	gap: 6px;
}
.footer-brand {
	font-family: Prata, serif;
	letter-spacing: 0.06em;
	font-size: 1.05rem;
}
.footer a {
	color: var(--ink);
	text-decoration: none;
	border-bottom: 1px dashed rgba(255, 255, 255, 0.18);
	padding-bottom: 2px;
	width: fit-content;
	transition: color var(--speed), border-color var(--speed),
		transform var(--speed);
}
.footer a:hover {
	color: var(--accent);
	border-color: var(--accent);
	transform: translateY(-1px);
}
.footer-links {
	align-content: start;
}
.footer-links a {
	display: inline-block;
	margin-right: 12px;
}
.footer-top {
	align-content: start;
}

.footer .back-to-top {
	background: transparent;
	color: var(--ink);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 12px;
	padding: 10px 14px;
	cursor: pointer;
	transition: background var(--speed), transform var(--speed),
		box-shadow var(--speed);
}
.footer .back-to-top:hover {
	background: rgba(255, 255, 255, 0.06);
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

/* Responsive */
@media (max-width: 820px) {
	.footer-container {
		grid-template-columns: 1fr;
	}
	.footer-links a {
		margin-right: 16px;
	}
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
	.corridor__grid {
		grid-template-columns: 0.9fr 1.2fr 0.9fr;
	}
}
@media (max-width: 860px) {
	.ll-burger {
		display: inline-block;
	}
	.ll-nav {
		position: absolute;
		inset: 64px 0 auto 0;
		display: none;
	}
	.ll-nav.is-open {
		display: block;
	}
	.ll-nav__list {
		background: var(--panel);
		border-bottom: 1px solid rgba(255, 255, 255, 0.08);
		padding: 12px 16px;
		gap: 8px;
		flex-direction: column;
	}
	.corridor__grid {
		grid-template-columns: 1fr;
	}
	.texture-rail {
		grid-auto-flow: row;
	}
}
@media (max-width: 520px) {
	.container {
		width: min(640px, 92vw);
	}
	.ll-header__inner {
		min-height: 58px;
	}
	.btn {
		width: 100%;
	}
}
