/* ─────────────────────────────────────────────────────────────
   The Noob Father — тема сайта студии.
   Бордо + золото, киноплакатная антиква Playfair Display в
   заголовках и Inter в тексте (assets/fonts, подключены в fonts.css).
   Внешних зависимостей нет: ни CDN, ни сборки.
   ───────────────────────────────────────────────────────────── */

:root {
	/* фон: от почти чёрного бордо к винному */
	--ink: #150508;
	--ink-2: #200709;
	--wine: #4d0d14;
	--wine-2: #6b1620;
	--wine-3: #8a2029;

	/* золото */
	--gold: #e9bd58;
	--gold-hi: #f8e3b0;
	--gold-dim: #b8933f;

	--text: #f7efe6;
	--muted: #cbb2a6;
	--muted-2: #a68d84;

	--line: rgba(233, 189, 88, 0.18);
	--line-soft: rgba(233, 189, 88, 0.10);
	--surface: linear-gradient(180deg, rgba(255, 245, 230, 0.065), rgba(255, 245, 230, 0.02));
	--surface-solid: rgba(20, 5, 8, 0.55);

	--display: "Playfair Display", "Bodoni 72", Didot, Georgia, serif;
	--sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

	--shell: 1140px;
	--radius: 18px;
	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	margin: 0;
	background:
		radial-gradient(90% 60% at 15% -10%, rgba(138, 32, 41, 0.55) 0%, transparent 60%),
		radial-gradient(70% 50% at 95% 5%, rgba(107, 22, 32, 0.45) 0%, transparent 65%),
		radial-gradient(120% 90% at 50% 120%, rgba(107, 22, 32, 0.35) 0%, transparent 60%),
		linear-gradient(180deg, var(--ink-2) 0%, var(--ink) 100%);
	background-attachment: fixed;
	color: var(--text);
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

/* киноплёночное зерно поверх фона — очень слабое, но снимает «плоскость» */
body::before {
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 0;
	opacity: 0.35;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/></filter><rect width='160' height='160' filter='url(%23n)' opacity='0.35'/></svg>");
	mix-blend-mode: overlay;
}

body > * { position: relative; z-index: 1; }

.shell { width: min(var(--shell), 92vw); margin: 0 auto; }

a { color: var(--gold-hi); text-decoration: none; }
a:hover { color: var(--gold); }

:focus-visible {
	outline: 2px solid var(--gold);
	outline-offset: 3px;
	border-radius: 6px;
}

img { max-width: 100%; }

.skip {
	position: absolute; left: -9999px; top: 0;
	background: var(--gold); color: #2a1a03; padding: 10px 18px;
	border-radius: 0 0 10px 0; font-weight: 600; z-index: 99;
}
.skip:focus { left: 0; }

/* ── типографика ───────────────────────────────────────────── */

.eyebrow {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--gold-dim);
	margin: 0 0 14px;
	display: flex;
	align-items: center;
	gap: 12px;
}
.eyebrow::after {
	content: "";
	flex: 1;
	height: 1px;
	background: linear-gradient(90deg, var(--line), transparent);
}
.eyebrow.center { justify-content: center; }
.eyebrow.center::after { display: none; }

h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.12; margin: 0; }

h1 {
	font-size: clamp(44px, 6.4vw, 82px);
	letter-spacing: -0.02em;
	/* Градиент красит только внутри бокса элемента, а выносной элемент «g»
	   в «Dig Down» уходит ниже строки при line-height 1.12 — без запаса
	   снизу хвост буквы остаётся непрокрашенным и выглядит обрезанным */
	padding-bottom: 0.14em;
	background: linear-gradient(180deg, var(--gold-hi) 8%, var(--gold) 55%, #c79a3c 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

h2 {
	font-size: clamp(30px, 3.6vw, 46px);
	letter-spacing: -0.015em;
	color: var(--gold-hi);
	margin-bottom: 12px;
}

/* Заголовки карточек — Inter: антиква в мелком кегле на кириллице
   читается хуже, антикву держим для крупных заголовков и цифр */
h3 {
	font-family: var(--sans);
	font-size: 18px;
	font-weight: 600;
	letter-spacing: -0.005em;
	color: var(--gold-hi);
	margin-bottom: 8px;
}

p { margin: 0 0 14px; color: var(--muted); }
p:last-child { margin-bottom: 0; }

.lead {
	font-size: clamp(18px, 2vw, 21px);
	line-height: 1.6;
	color: #e6d3c6;
}

.section-intro { max-width: 640px; margin-bottom: 22px; }
.section-intro.center { margin-left: auto; margin-right: auto; text-align: center; }

section { padding: clamp(18px, 2.5vw, 30px) 0; }
section + section { border-top: 1px solid var(--line-soft); }
/* на главной всего два раздела — линия между ними только дробит страницу */
.page-home section + section { border-top: none; }

/* ── шапка ─────────────────────────────────────────────────── */

header.site {
	position: sticky;
	top: 0;
	z-index: 40;
	backdrop-filter: blur(14px) saturate(140%);
	-webkit-backdrop-filter: blur(14px) saturate(140%);
	background: rgba(21, 5, 8, 0.72);
	border-bottom: 1px solid transparent;
	transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
header.site.scrolled {
	border-bottom-color: var(--line-soft);
	background: rgba(21, 5, 8, 0.88);
}

.topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 14px 0;
}

.brand { display: flex; align-items: center; gap: 13px; color: var(--text); }
.brand img { width: 46px; height: 46px; border-radius: 50%; display: block; }
.brand .name {
	font-family: var(--display);
	font-size: 21px;
	font-weight: 700;
	color: var(--gold);
	line-height: 1.15;
	display: block;
	letter-spacing: -0.01em;
}
.brand .tag {
	display: block;
	margin-top: 4px;   /* иначе слоган прилипает к имени студии */
	font-size: 10px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--muted-2);
}
.brand:hover .name { color: var(--gold-hi); }

nav.top { display: flex; align-items: center; gap: 26px; }
nav.top a { color: var(--muted); font-size: 15px; font-weight: 500; }
nav.top a:hover { color: var(--gold); }
/* иначе цвет ссылки меню перебивает тёмный текст кнопки */
nav.top a.btn { color: #33200a; margin-left: 4px; }

@media (max-width: 860px) {
	nav.top { gap: 18px; }
	nav.top a.hide-sm { display: none; }
	.brand .tag { display: none; }
}

/* ── кнопки ────────────────────────────────────────────────── */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 28px;
	border-radius: 999px;
	font-family: var(--sans);
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 0.01em;
	color: #33200a;
	background: linear-gradient(180deg, #ffeec2 0%, #eec269 45%, #d3a13c 100%);
	border: 1px solid #c09134;
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.6) inset,
		0 10px 26px -12px rgba(233, 189, 88, 0.75);
	transition: transform 0.18s var(--ease), box-shadow 0.25s var(--ease), filter 0.2s var(--ease);
	white-space: nowrap;
}
.btn:hover {
	color: #33200a;
	transform: translateY(-2px);
	filter: brightness(1.05);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.6) inset,
		0 16px 32px -14px rgba(233, 189, 88, 0.9);
}
.btn:active { transform: translateY(0); }

.btn.ghost {
	background: rgba(255, 245, 230, 0.04);
	color: var(--gold-hi);
	border-color: var(--line);
	box-shadow: none;
}
.btn.ghost:hover { background: rgba(233, 189, 88, 0.12); color: var(--gold-hi); }

.btn.small { padding: 10px 20px; font-size: 14px; }

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin: 22px 0 0; }
.btn-row.center { justify-content: center; }

/* ── герой ─────────────────────────────────────────────────── */

.hero { padding: clamp(32px, 4.5vw, 56px) 0 clamp(22px, 3vw, 40px); }

.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	gap: clamp(32px, 5vw, 64px);
	align-items: center;
}

.hero h1 { margin-bottom: 9px; }   /* + padding-bottom заголовка = прежний отступ */
.hero .lead { max-width: 30em; }

.hero-note {
	margin-top: 26px;
	font-size: 14px;
	color: var(--muted-2);
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}
.dot {
	width: 7px; height: 7px; border-radius: 50%;
	background: #6fd08a;
	box-shadow: 0 0 0 4px rgba(111, 208, 138, 0.16);
	flex: none;
}

/* медальон с маскотом */
.medallion { position: relative; display: grid; place-items: center; }
.medallion img {
	width: min(380px, 82%);
	/* без height:auto атрибут height в разметке оставляет высоту 380px,
	   и на узких экранах круг превращается в овал */
	height: auto;
	border-radius: 50%;
	display: block;
	box-shadow:
		0 0 0 1px rgba(233, 189, 88, 0.5),
		0 0 0 10px rgba(233, 189, 88, 0.06),
		0 40px 80px -30px rgba(0, 0, 0, 0.9);
}
/* иконка игры — квадратная, скругление вместо круга */
.medallion.square img { border-radius: 12%; }
.medallion::before {
	content: "";
	position: absolute;
	width: min(460px, 100%);
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(233, 189, 88, 0.22) 0%, transparent 62%);
	filter: blur(6px);
}

.chip-float {
	position: absolute;
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 9px 16px;
	border-radius: 999px;
	background: rgba(20, 5, 8, 0.88);
	border: 1px solid var(--line);
	backdrop-filter: blur(8px);
	font-size: 13px;
	font-weight: 500;
	color: var(--text);
	box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 1);
	white-space: nowrap;
}
.chip-float b {
	font-family: var(--display);
	font-variant-numeric: lining-nums;
	color: var(--gold);
	font-size: 16px;
	font-weight: 700;
}
.chip-float.one { top: 20%; left: -2%; }
/* на странице игры левая плашка встаёт в промежуток между заголовком и
   иконкой: right:91% упирает её правый край ровно в левый край картинки */
.page-game .chip-float.one {
	top: 18%;
	left: auto;
	right: 80%;
}
.chip-float.two { bottom: 14%; right: -2%; }
/* только на главной: бабл с названием игры уходит в свободный верхний угол
   картинки со знаком. На странице игры плашки остаются по краям медальона */
.page-home .chip-float.two { top: 11%; right: 7%; bottom: auto; }

@media (max-width: 900px) {
	.hero-grid { grid-template-columns: 1fr; }
	.medallion { order: -1; }
	.medallion img { width: min(280px, 62vw); }
	.chip-float { display: none; }
}

/* ── полоса цифр ───────────────────────────────────────────── */

.statband {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 1px;
	background: var(--line-soft);
	border: 1px solid var(--line-soft);
	border-radius: var(--radius);
	overflow: hidden;
}
.statband > div {
	background: var(--surface-solid);
	padding: 24px 20px;
	text-align: center;
}
/* на узких экранах — ровно две колонки, иначе четвёртая цифра
   висит в пустом ряду одна */
@media (max-width: 620px) { .statband { grid-template-columns: repeat(2, 1fr); } }
.statband .n {
	font-family: var(--display);
	font-variant-numeric: lining-nums;
	font-size: clamp(30px, 3.4vw, 40px);
	font-weight: 700;
	color: var(--gold);
	line-height: 1;
	display: block;
	margin-bottom: 8px;
}
.statband .l {
	font-size: 12.5px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted-2);
}

/* ── карточки ──────────────────────────────────────────────── */

.grid { display: grid; gap: 18px; }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.card {
	background: var(--surface);
	border: 1px solid var(--line-soft);
	border-radius: var(--radius);
	padding: 26px 28px;
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset;
	transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.card:hover { border-color: var(--line); transform: translateY(-3px); }
.card .num {
	font-family: var(--display);
	font-size: 15px;
	font-weight: 700;
	color: var(--gold-dim);
	letter-spacing: 0.1em;
	display: block;
	margin-bottom: 10px;
}
.card ul { margin: 12px 0 0; padding-left: 18px; color: var(--muted); }
.card li { margin-bottom: 7px; }
.card li::marker { color: var(--gold-dim); }
.card li:last-child { margin-bottom: 0; }

/* карточка игры */
.feature {
	display: grid;
	grid-template-columns: 190px minmax(0, 1fr);
	gap: clamp(24px, 4vw, 44px);
	align-items: center;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 24px;
	padding: clamp(26px, 4vw, 40px);
	position: relative;
	overflow: hidden;
}
.feature::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(60% 100% at 0% 50%, rgba(233, 189, 88, 0.09), transparent 70%);
	pointer-events: none;
}
.feature > * { position: relative; z-index: 1; }
.feature .art {
	width: 190px;
	height: 190px;
	border-radius: 26px;
	display: block;
	box-shadow: 0 26px 50px -24px rgba(0, 0, 0, 0.95), 0 0 0 1px var(--line);
}
.feature h3 {
	font-family: var(--display);
	font-weight: 700;
	font-size: clamp(28px, 3vw, 36px);
	letter-spacing: -0.015em;
	margin-bottom: 10px;
}

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.tag {
	font-size: 12.5px;
	letter-spacing: 0.06em;
	padding: 5px 12px;
	border-radius: 999px;
	border: 1px solid var(--line-soft);
	background: rgba(255, 245, 230, 0.03);
	color: var(--muted);
}

@media (max-width: 760px) {
	.feature { grid-template-columns: 1fr; text-align: center; }
	.feature .art { margin: 0 auto; width: 150px; height: 150px; }
	.feature .btn-row { justify-content: center; }
	.tags { justify-content: center; }
}

/* ── лента инструментов и находок ──────────────────────────── */

.rail {
	display: flex;
	gap: 14px;
	overflow-x: auto;
	padding: 6px 2px 16px;
	scrollbar-width: thin;
	scrollbar-color: var(--line) transparent;
	-webkit-overflow-scrolling: touch;
}
.rail::-webkit-scrollbar { height: 6px; }
.rail::-webkit-scrollbar-thumb { background: var(--line); border-radius: 99px; }

.rail figure {
	flex: none;
	width: 128px;
	margin: 0;
	text-align: center;
	background: var(--surface);
	border: 1px solid var(--line-soft);
	border-radius: 16px;
	padding: 16px 10px 14px;
	transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.rail figure:hover { border-color: var(--line); transform: translateY(-3px); }
.rail img { width: 62px; height: 62px; display: block; margin: 0 auto 10px; }
.rail figcaption { font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.rail figcaption b { display: block; color: var(--gold-hi); font-weight: 600; font-size: 13px; }

/* фиксированное число колонок: двенадцать находок всегда ложатся
   ровными рядами (6×2, 4×3, 3×4), без сирот в последней строке */
.tiles {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 12px;
}
@media (max-width: 860px) { .tiles { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 520px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tiles div {
	aspect-ratio: 1;
	display: grid;
	place-items: center;
	background: var(--surface);
	border: 1px solid var(--line-soft);
	border-radius: 14px;
	transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.tiles div:hover { border-color: var(--line); transform: translateY(-3px); }
.tiles img { width: 56%; height: auto; display: block; }

/* ── шаги ──────────────────────────────────────────────────── */

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; counter-reset: step; }
.steps .card { position: relative; padding-top: 30px; }
.steps .card::before {
	counter-increment: step;
	content: "0" counter(step);
	position: absolute;
	top: 22px; right: 26px;
	font-family: var(--display);
	font-size: 38px;
	font-weight: 700;
	color: rgba(233, 189, 88, 0.16);
	line-height: 1;
}

/* ── коды ──────────────────────────────────────────────────── */

.codes { display: grid; gap: 12px; }
.code {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	flex-wrap: wrap;
	background: var(--surface-solid);
	border: 1px dashed rgba(233, 189, 88, 0.42);
	border-radius: 16px;
	padding: 18px 22px;
}
.code .val {
	font-family: var(--mono);
	font-size: 22px;
	font-weight: 600;
	letter-spacing: 0.12em;
	color: var(--gold);
	display: block;
}
.code .desc { font-size: 14px; color: var(--muted); }
.copy {
	border: 1px solid var(--line);
	background: rgba(255, 245, 230, 0.03);
	color: var(--gold-hi);
	border-radius: 999px;
	padding: 9px 20px;
	font: 500 14px var(--sans);
	cursor: pointer;
	white-space: nowrap;
	transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.copy:hover { background: rgba(233, 189, 88, 0.14); border-color: var(--gold-dim); }
.copy.done { color: #8fe0a5; border-color: rgba(143, 224, 165, 0.5); }

/* ── ссылки на площадки ────────────────────────────────────── */

.links { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(232px, 1fr)); }
.link {
	display: flex;
	align-items: center;
	gap: 14px;
	background: var(--surface);
	border: 1px solid var(--line-soft);
	border-radius: 14px;
	padding: 14px 18px;
	color: var(--text);
	transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), background 0.25s var(--ease);
}
.link:hover {
	border-color: var(--line);
	transform: translateY(-2px);
	color: var(--text);
	background: linear-gradient(180deg, rgba(233, 189, 88, 0.10), rgba(255, 245, 230, 0.02));
}
.link svg { width: 21px; height: 21px; flex: none; fill: var(--gold); }
/* .s — контурные части иконок (рамка Instagram, голова Reddit, конверт) */
.link svg .s { fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.link .t { font-weight: 600; font-size: 15px; display: block; line-height: 1.3; }
.link .h { display: block; font-size: 12.5px; color: var(--muted-2); }

/* ── таблица ───────────────────────────────────────────────── */

.table-wrap { overflow-x: auto; margin-top: 16px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 420px; }
th, td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line-soft); color: var(--muted); }
th { color: var(--gold-hi); font-weight: 600; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
tr:last-child td { border-bottom: 0; }

/* ── FAQ ───────────────────────────────────────────────────── */

.faq { display: grid; gap: 10px; }
details {
	background: var(--surface);
	border: 1px solid var(--line-soft);
	border-radius: 14px;
	padding: 0 22px;
	transition: border-color 0.25s var(--ease);
}
details[open] { border-color: var(--line); }
summary {
	list-style: none;
	cursor: pointer;
	padding: 17px 30px 17px 0;
	font-weight: 600;
	font-size: 16.5px;
	color: var(--gold-hi);
	position: relative;
}
summary::-webkit-details-marker { display: none; }
summary::after {
	content: "";
	position: absolute;
	right: 4px;
	top: 50%;
	width: 9px; height: 9px;
	border-right: 2px solid var(--gold-dim);
	border-bottom: 2px solid var(--gold-dim);
	transform: translateY(-70%) rotate(45deg);
	transition: transform 0.25s var(--ease);
}
details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
details p { padding-bottom: 20px; font-size: 15.5px; }

/* ── пресс-кит: палитра ────────────────────────────────────── */

.swatches { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.swatch { font-size: 11.5px; color: var(--muted-2); text-align: center; font-family: var(--mono); }
.swatch i {
	display: block;
	width: 58px; height: 42px;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	margin-bottom: 6px;
}

.filelist { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.filelist a {
	font-size: 13px;
	font-family: var(--mono);
	padding: 7px 14px;
	border-radius: 10px;
	border: 1px solid var(--line-soft);
	background: rgba(255, 245, 230, 0.03);
	color: var(--gold-hi);
	transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.filelist a:hover { border-color: var(--gold-dim); background: rgba(233, 189, 88, 0.12); }

/* ── финальный призыв ──────────────────────────────────────── */

.cta {
	text-align: center;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 24px;
	padding: clamp(36px, 6vw, 64px) clamp(24px, 5vw, 60px);
	position: relative;
	overflow: hidden;
}
.cta::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(70% 120% at 50% 0%, rgba(233, 189, 88, 0.13), transparent 65%);
	pointer-events: none;
}
.cta > * { position: relative; z-index: 1; }
.cta h2 { margin-bottom: 14px; }
.cta p { max-width: 46em; margin-left: auto; margin-right: auto; }

/* ── подвал ────────────────────────────────────────────────── */

footer.site {
	border-top: 1px solid var(--line-soft);
	padding: 22px 0 28px;
	margin-top: clamp(16px, 2.5vw, 28px);
}
.foot {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 22px;
	flex-wrap: wrap;
	font-size: 13.5px;
	color: var(--muted-2);
}
.foot a { color: var(--muted); }
.foot a:hover { color: var(--gold); }
.foot nav { display: flex; gap: 20px; flex-wrap: wrap; }

/* ── кадры из игры ─────────────────────────────────────────── */

.shots {
	display: grid;
	gap: 18px;
	grid-template-columns: 1fr;
	gap: 30px;
}

.shot {
	margin: 0;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
}
.shot img {
	display: block;
	width: 100%;
	height: auto;
	border-bottom: 1px solid var(--line-soft);
}
.shot figcaption { padding: 20px 24px 22px; font-size: 16px; line-height: 1.65; color: var(--muted); max-width: 72ch; }
.shot figcaption b {
	display: block;
	font-family: var(--sans);
	font-size: 18px;
	font-weight: 600;
	color: var(--gold-hi);
	margin-bottom: 3px;
}

/* ── появление при прокрутке ───────────────────────────────── */

/* Прячем блоки только если скрипт действительно работает (класс js
   ставит инлайн-строка в <head>): иначе при выключенном или упавшем
   JS половина страницы осталась бы прозрачной */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	.js .reveal { opacity: 1; transform: none; transition: none; }
	.card:hover, .link:hover, .btn:hover, .rail figure:hover, .tiles div:hover { transform: none; }
}
