/* =========================================================================
   Hilarion — основные стили. Цвета и шрифты из макета (тёмный фон, золото).
   ========================================================================= */
:root {
	--accent: #b68235;
	--a300: #facb8d;
	--a400: #e1ad66;
	--a500: #c28d41;
	--bg: #1b1917;
	--bg-deep: #151311;
	--bg-foot: #121010;
	--bg-card: #26231f;
	--ink: #f3f2f2;
	--ink-80: rgba(243, 242, 242, .82);
	--ink-70: rgba(243, 242, 242, .7);
	--ink-55: rgba(243, 242, 242, .55);
	--line: rgba(243, 242, 242, .12);
	--line-2: rgba(243, 242, 242, .1);
	--font-heading: "Cormorant Garamond", Georgia, serif;
	--font-body: "Lora", Georgia, serif;
	--r-sm: 2px;
	--r-md: 4px;
	--wrap: 1320px;
	--pad: clamp(20px, 5vw, 64px);
	--sect: clamp(72px, 9vw, 128px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	background-image: radial-gradient(ellipse 70% 30% at 10% 35%, rgba(182, 130, 53, .07), transparent 70%), radial-gradient(ellipse 60% 30% at 90% 70%, rgba(243, 242, 242, .035), transparent 70%);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	text-wrap: pretty;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: color .25s, box-shadow .35s, transform .35s, border-color .25s, background .25s; }
a:hover { color: var(--a400); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
::selection { background: rgba(182, 130, 53, .4); }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: var(--font-heading); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

@keyframes hl-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes hl-smoke { 0% { transform: translate3d(-4%, 2%, 0) scale(1); } 50% { transform: translate3d(4%, -3%, 0) scale(1.12); } 100% { transform: translate3d(-4%, 2%, 0) scale(1); } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; scroll-behavior: auto !important; } }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.band { background: var(--bg-deep); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.sect { padding-top: var(--sect); padding-bottom: var(--sect); }
.gold { color: var(--a400); }
.it { font-style: italic; color: var(--a400); }

/* ---------- Подписи-рубрики и заголовки ---------- */
.eyebrow { display: flex; align-items: center; gap: 14px; font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--a400); font-family: var(--font-body); }
.eyebrow::before { content: ""; width: 40px; height: 1px; background: var(--a400); flex: none; }
.h-display { margin: 0; font-family: var(--font-heading); font-weight: 300; font-size: clamp(44px, 5.4vw, 76px); line-height: 1; }
.h-display em { font-style: italic; color: var(--a400); }
.sect-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 44px; }
.sect-head > div { display: flex; flex-direction: column; gap: 14px; }
.link-under { font-family: var(--font-heading); font-size: 19px; color: var(--a400); border-bottom: 1px solid var(--a400); padding-bottom: 3px; }
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 14px 26px; border: 1px solid var(--a400); border-radius: var(--r-md); color: var(--a400); font-family: var(--font-heading); font-size: 19px; font-weight: 500; background: rgba(21, 19, 17, .35); cursor: pointer; }
.btn:hover { background: rgba(182, 130, 53, .18); color: var(--a300); }
.btn--ghost { border-color: rgba(243, 242, 242, .3); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); background: rgba(21, 19, 17, .35); color: var(--ink); }
.btn--sm { padding: 12px 22px; font-family: var(--font-body); font-size: 15px; font-weight: 400; }
.tag { display: inline-block; padding: 3px 9px; border: 1px solid rgba(243, 242, 242, .25); border-radius: var(--r-sm); font-size: 12px; color: var(--ink-80); line-height: 1.5; }
.tag--gold { border-color: var(--a400); color: var(--a400); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.rule { display: flex; align-items: center; gap: 24px; margin-bottom: 8px; }
.rule h2, .rule h3 { margin: 0; font-family: var(--font-heading); font-weight: 300; font-size: clamp(34px, 3.6vw, 48px); white-space: nowrap; }
.rule h2 em, .rule h3 em { font-style: italic; color: var(--a400); }
.rule::after { content: ""; flex: 1; height: 1px; background: rgba(243, 242, 242, .14); order: 1; }
.rule a { order: 2; font-size: 14px; color: var(--a400); white-space: nowrap; }

/* ---------- Шапка ---------- */
.site-head { position: relative; background: var(--bg-deep); }
.topbar { position: relative; z-index: 3; border-bottom: 1px solid var(--line-2); background: rgba(21, 19, 17, .55); }
.topbar .wrap { padding-top: 12px; padding-bottom: 12px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(243, 242, 242, .72); }
.topbar .langs { display: flex; gap: 14px; align-items: center; }
.topbar .langs span { width: 1px; height: 12px; background: rgba(243, 242, 242, .25); }
.topbar .is-on { color: var(--a400); }
.topbar .contact { display: flex; gap: 8px; }
.topbar .contact b { color: var(--a400); font-weight: 400; }
.topbar .contact .short { display: none; }
.topbar .search { display: flex; align-items: center; gap: 10px; }
.topbar .search input { background: transparent; border: 0; border-bottom: 1px solid rgba(243, 242, 242, .25); color: var(--ink); font: inherit; letter-spacing: .05em; text-transform: none; padding: 2px 0; width: 140px; }
.topbar .search input:focus { outline: none; border-color: var(--a400); }

.navbar { position: relative; z-index: 3; }
.navbar .wrap { padding-top: 22px; padding-bottom: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 40px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand .cross { width: 44px; height: 44px; border: 1px solid var(--a400); border-radius: 50%; display: grid; place-items: center; font-family: var(--font-heading); font-size: 22px; color: var(--a400); flex: none; }
.brand .names { display: flex; flex-direction: column; gap: 2px; }
.brand .n1 { font-family: var(--font-heading); font-size: 22px; font-weight: 500; line-height: 1; color: var(--ink); }
.brand .n2 { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--a400); }
.mainnav { display: flex; flex-wrap: wrap; gap: 6px 26px; font-family: var(--font-heading); font-size: 18px; font-weight: 500; text-shadow: 0 1px 12px rgba(0, 0, 0, .6); }
.mainnav a.is-on { color: var(--a400); border-bottom: 1px solid var(--a400); }
.navtoggle { display: none; background: none; border: 1px solid rgba(243, 242, 242, .3); border-radius: var(--r-md); color: var(--ink); width: 46px; height: 42px; cursor: pointer; font-size: 20px; }

/* Главная: большой экран с портретом */
.hero { position: relative; min-height: clamp(640px, 92vh, 920px); display: flex; flex-direction: column; overflow: hidden; }
.hero__photo { position: absolute; top: 0; bottom: 0; right: clamp(0px, 7vw, 140px); aspect-ratio: 554 / 768; }
.hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #151311 0%, rgba(21, 19, 17, .55) 18%, rgba(21, 19, 17, 0) 45%, rgba(21, 19, 17, 0) 80%, #151311 100%), linear-gradient(to top, #151311 0%, rgba(21, 19, 17, 0) 30%); }
.hero__credit { position: absolute; right: 14px; bottom: 12px; z-index: 2; font-size: 10.5px; letter-spacing: .04em; color: rgba(243, 242, 242, .5); }
.smoke { position: absolute; pointer-events: none; filter: blur(40px); }
.smoke--1 { left: -15%; top: 10%; width: 70%; height: 90%; background: radial-gradient(closest-side, rgba(182, 130, 53, .16), transparent); animation: hl-smoke 22s ease-in-out infinite; }
.smoke--2 { left: 10%; bottom: -20%; width: 60%; height: 70%; background: radial-gradient(closest-side, rgba(243, 242, 242, .06), transparent); filter: blur(50px); animation: hl-smoke 30s ease-in-out -8s infinite reverse; }
.hero__body { position: relative; z-index: 2; flex: 1; width: 100%; display: flex; align-items: flex-end; padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(64px, 8vw, 112px); }
.hero__text { max-width: 640px; display: flex; flex-direction: column; gap: 30px; animation: hl-rise 1s ease both; text-shadow: 0 2px 24px rgba(0, 0, 0, .5); }
.hero h1 { margin: 0; font-family: var(--font-heading); font-weight: 300; font-size: clamp(60px, 8.4vw, 128px); line-height: .92; letter-spacing: -.015em; }
.hero h1 em { font-style: italic; color: var(--a400); }
.quote { margin: 8px 0 0; display: flex; flex-direction: column; gap: 12px; padding-left: 24px; border-left: 1px solid var(--a400); max-width: 460px; }
.quote blockquote { margin: 0; font-family: var(--font-heading); font-style: italic; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.25; }
.quote figcaption { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(243, 242, 242, .72); }
.hero__btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }

/* Внутренние страницы: компактная шапка раздела */
.pagehead { position: relative; overflow: hidden; }
.pagehead .wrap { position: relative; z-index: 2; padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(48px, 6vw, 80px); display: flex; flex-direction: column; gap: 22px; }
.pagehead h1 { margin: 0; font-family: var(--font-heading); font-weight: 300; font-size: clamp(40px, 5.6vw, 84px); line-height: 1; letter-spacing: -.01em; max-width: 1050px; }
.pagehead h1 em { font-style: italic; color: var(--a400); }
.pagehead .lead { margin: 0; max-width: 720px; font-size: 17px; line-height: 1.7; color: var(--ink-80); }
.crumbs { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-55); display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { color: var(--a400); }
.subnav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.subnav a { padding: 6px 14px; border: 1px solid rgba(243, 242, 242, .22); border-radius: var(--r-md); font-size: 14px; color: var(--ink-80); }
.subnav a:hover, .subnav a.is-on { border-color: var(--a400); color: var(--a400); }

/* ---------- Цифры ---------- */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.fact { padding: 34px 24px 34px 0; display: flex; flex-direction: column; gap: 12px; }
.fact b { font-family: var(--font-heading); font-weight: 300; font-size: clamp(44px, 4.4vw, 60px); line-height: .9; color: var(--a400); font-feature-settings: "tnum" 1; }
.fact span { font-size: 14px; line-height: 1.5; color: rgba(243, 242, 242, .75); max-width: 230px; }

/* ---------- Разделы-плитки ---------- */
.tiles { display: flex; flex-wrap: wrap; gap: 20px; }
.tile { position: relative; display: block; overflow: hidden; border-radius: 4px; background: var(--bg-card); }
.tile--w { flex: 1 1 calc(50% - 10px); min-width: min(100%, 320px); aspect-ratio: 16 / 10; }
.tile--n { flex: 1 1 calc(33.33% - 14px); min-width: min(100%, 260px); aspect-ratio: 4 / 5; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(21, 19, 17, .92) 0%, rgba(21, 19, 17, .4) 45%, rgba(21, 19, 17, .05) 75%); }
.tile:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--a400), 0 30px 50px -24px rgba(0, 0, 0, .8); }
.tile:hover img { transform: scale(1.04); }
.tile__cap { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 26px 28px; display: flex; flex-direction: column; gap: 10px; }
.tile__num { display: flex; align-items: center; gap: 12px; font-family: var(--font-heading); font-size: 20px; color: var(--a400); }
.tile__num::after { content: ""; width: 28px; height: 1px; background: var(--a400); }
.tile__title { font-family: var(--font-heading); font-weight: 500; font-size: clamp(23px, 2vw, 30px); line-height: 1.12; color: var(--ink); max-width: 420px; }

/* ---------- Хроника ---------- */
.lead-news { display: flex; flex-wrap: wrap; gap: 36px clamp(32px, 4vw, 64px); align-items: center; padding-bottom: 56px; border-bottom: 1px solid var(--line); }
.lead-news:hover { color: var(--a300); }
.plate { flex: 1.4 1 420px; min-width: 0; padding: 8px; background: var(--bg-card); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.plate__in { position: relative; width: 100%; aspect-ratio: 3 / 2; overflow: hidden; }
.plate__in img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lead-news__txt { flex: 1 1 340px; display: flex; flex-direction: column; gap: 20px; }
.bigdate { display: flex; align-items: baseline; gap: 16px; }
.bigdate b { font-family: var(--font-heading); font-weight: 300; font-size: 84px; line-height: .8; color: var(--a400); font-feature-settings: "tnum" 1; }
.bigdate span { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-70); }
.lead-news__title { font-family: var(--font-heading); font-weight: 400; font-size: clamp(28px, 2.6vw, 38px); line-height: 1.15; }

.newslist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 520px), 1fr)); column-gap: 56px; }
.newslist li { border-bottom: 1px solid var(--line); }
.nrow { display: flex; gap: 22px; padding: 26px 0; align-items: flex-start; }
.nrow:hover { color: var(--a300); }
.nrow__date { flex: none; width: 76px; display: flex; flex-direction: column; gap: 6px; }
.nrow__date b { font-family: var(--font-heading); font-weight: 300; font-size: 46px; line-height: .85; color: var(--a400); font-feature-settings: "tnum" 1; }
.nrow__date span { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: rgba(243, 242, 242, .68); }
.nrow__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.nrow__title { font-family: var(--font-heading); font-weight: 500; font-size: 21px; line-height: 1.25; }
.nrow__ex { font-size: 14.5px; line-height: 1.6; color: var(--ink-70); }
.nrow__img { flex: none; width: 104px; height: 104px; padding: 4px; background: var(--bg-card); }
.nrow__img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Книга и труды ---------- */
.featured { display: flex; flex-wrap: wrap; align-items: center; gap: 56px clamp(40px, 7vw, 120px); margin-bottom: clamp(64px, 7vw, 96px); }
.featured__cover { flex: 0 1 320px; position: relative; display: block; }
.featured__cover:hover { transform: rotate(-1.5deg) translateY(-4px); }
.frame { padding: 8px; border: 1px solid var(--a400); background: var(--bg-card); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8); }
.frame__in { position: relative; width: 100%; aspect-ratio: 326 / 493; overflow: hidden; }
.frame__in img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.featured__txt { flex: 1 1 420px; display: flex; flex-direction: column; gap: 26px; max-width: 620px; }
.featured__txt h2 { margin: 0; font-family: var(--font-heading); font-weight: 300; font-size: clamp(44px, 5.4vw, 80px); line-height: .98; }
.featured__txt p { margin: 0; font-size: 17px; line-height: 1.7; color: var(--ink-80); text-align: justify; hyphens: auto; }
.featured__txt .btn { align-self: flex-start; }
.works { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); column-gap: 56px; }
.work { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.work:hover { color: var(--a300); }
.work > b { font-family: var(--font-heading); font-weight: 400; font-size: 24px; color: var(--a400); }
.work > span { display: flex; flex-direction: column; gap: 6px; }
.work strong { font-family: var(--font-heading); font-weight: 500; font-size: 22px; line-height: 1.2; }
.work small { font-size: 14px; line-height: 1.5; color: rgba(243, 242, 242, .68); }

/* ---------- Музыка ---------- */
.music { position: relative; overflow: hidden; }
.music__ghost { position: absolute; right: -6vw; top: 50%; transform: translateY(-50%); font-family: var(--font-heading); font-style: italic; font-weight: 300; font-size: clamp(220px, 28vw, 460px); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(182, 130, 53, .18); pointer-events: none; user-select: none; white-space: nowrap; }
.music .wrap { position: relative; display: flex; flex-wrap: wrap; gap: 48px clamp(40px, 7vw, 120px); }
.music__intro { flex: 1 1 320px; max-width: 440px; display: flex; flex-direction: column; gap: 22px; }
.music__intro p { margin: 0; font-size: 16px; line-height: 1.7; color: rgba(243, 242, 242, .78); text-align: justify; hyphens: auto; }
.music__intro .btn { align-self: flex-start; }
.tracks { flex: 1.4 1 460px; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.tracks li { border-top: 1px solid var(--line); }
.track { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 18px 0; }
.track:hover { color: var(--a300); padding-left: 8px; }
.play { width: 36px; height: 36px; border: 1px solid var(--a400); border-radius: 50%; display: grid; place-items: center; color: var(--a400); font-size: 12px; }
.track strong { display: block; font-family: var(--font-heading); font-weight: 500; font-size: 23px; line-height: 1.15; }
.track small { font-size: 13.5px; color: rgba(243, 242, 242, .65); }
.track em { font-style: normal; font-family: var(--font-heading); font-size: 20px; color: var(--ink-55); }

/* ---------- Фильмы ---------- */
.films { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.film { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 220px; padding: 28px; border: 1px solid rgba(243, 242, 242, .14); border-radius: var(--r-md); background: linear-gradient(160deg, rgba(243, 242, 242, .04), rgba(243, 242, 242, 0)); }
.film:hover { border-color: var(--a400); transform: translateY(-3px); background: rgba(182, 130, 53, .07); }
.film__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.film__top b { font-family: var(--font-heading); font-weight: 300; font-size: 64px; line-height: .8; color: var(--a400); }
.film__top span { width: 44px; height: 44px; border: 1px solid rgba(243, 242, 242, .3); border-radius: 50%; display: grid; place-items: center; font-size: 13px; }
.film strong { display: block; font-family: var(--font-heading); font-weight: 500; font-size: 25px; line-height: 1.15; }
.film small { font-size: 13.5px; color: rgba(243, 242, 242, .65); }

/* ---------- Смотрите также / обращение ---------- */
.seealso { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 14px; }
.seealso a { display: flex; align-items: center; gap: 18px; padding: 20px 22px; border: 1px solid rgba(243, 242, 242, .14); border-radius: var(--r-md); }
.seealso a:hover { border-color: var(--a400); color: var(--a300); }
.seealso i { flex: none; width: 40px; height: 40px; border: 1px solid var(--a400); border-radius: 50%; display: grid; place-items: center; font-family: var(--font-heading); font-style: normal; font-size: 17px; color: var(--a400); }
.seealso span { flex: 1; font-family: var(--font-heading); font-weight: 500; font-size: 20px; line-height: 1.2; }
.seealso b { color: var(--a400); font-weight: 400; }
.cta { position: relative; overflow: hidden; border-top: 1px solid var(--line-2); }
.cta .smoke { left: 20%; top: 0; width: 60%; height: 100%; background: radial-gradient(closest-side, rgba(182, 130, 53, .14), transparent); animation: hl-smoke 26s ease-in-out infinite; }
.cta__in { position: relative; max-width: 900px; margin: 0 auto; padding: clamp(88px, 11vw, 160px) var(--pad); display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.cta__in .cross { font-family: var(--font-heading); font-size: 34px; color: var(--a400); }
.cta__in h2 { margin: 0; font-family: var(--font-heading); font-weight: 300; font-size: clamp(40px, 5.4vw, 76px); line-height: 1.02; }
.cta__in h2 em { font-style: italic; color: var(--a400); }
.cta__in small { font-size: 14px; color: var(--ink-70); }
.cta__in small a { color: var(--a400); border-bottom: 1px solid var(--a400); }

/* ---------- Подвал ---------- */
.site-foot { background: var(--bg-foot); border-top: 1px solid var(--line-2); color: var(--ink-70); }
.site-foot .wrap { padding-top: 36px; padding-bottom: 36px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; font-size: 13px; }
.site-foot .copy { display: flex; align-items: center; gap: 12px; }
.site-foot .copy b { color: var(--a400); font-size: 18px; font-weight: 400; }
.site-foot nav { display: flex; gap: 24px; flex-wrap: wrap; }
.site-foot .dev a { color: var(--a400); }

/* ---------- Списки разделов ---------- */
.listing { padding-top: clamp(40px, 5vw, 64px); padding-bottom: var(--sect); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 28px 24px; }
.card { display: flex; flex-direction: column; gap: 14px; }
.card__img { position: relative; aspect-ratio: 16 / 10; background: var(--bg-card); padding: 6px; }
.card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card__img .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 54px; height: 54px; background: rgba(21, 19, 17, .6); font-size: 16px; }
.card:hover .card__img { box-shadow: 0 0 0 1px var(--a400); }
.card__meta { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-55); }
.card__title { font-family: var(--font-heading); font-weight: 500; font-size: 22px; line-height: 1.2; }
.card:hover .card__title { color: var(--a300); }
.books { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 40px 28px; }
.book { display: flex; flex-direction: column; gap: 14px; }
.book .frame__in { aspect-ratio: 2 / 3; }
.book .frame { padding: 6px; }
.book .frame__in img { object-fit: contain; background: #201d1a; }
.book:hover .frame { transform: translateY(-4px); }
.book .frame { transition: transform .35s; }
.book__title { font-family: var(--font-heading); font-weight: 500; font-size: 20px; line-height: 1.2; }
.book__noimg { position: absolute; inset: 0; display: grid; place-items: center; padding: 16px; text-align: center; font-family: var(--font-heading); font-size: 20px; color: var(--a400); }
.empty { color: var(--ink-70); font-size: 17px; }

.pager { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 64px; }
.pager .page-numbers { min-width: 44px; height: 44px; padding: 0 12px; display: inline-grid; place-items: center; border: 1px solid rgba(243, 242, 242, .2); border-radius: var(--r-md); font-family: var(--font-heading); font-size: 18px; }
.pager .page-numbers.current { border-color: var(--a400); color: var(--a400); }
.pager a.page-numbers:hover { border-color: var(--a400); }
.pager .dots { border: 0; }

.group { margin-bottom: 64px; }
.group h2 { margin: 0 0 18px; font-family: var(--font-heading); font-weight: 400; font-size: clamp(28px, 2.8vw, 36px); line-height: 1.15; }
.files { list-style: none; margin: 0; padding: 0; }
.files li { display: flex; gap: 16px; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); }
.files a { font-family: var(--font-heading); font-size: 20px; }
.files small { color: var(--ink-55); font-size: 13px; white-space: nowrap; }
.playlist { list-style: none; margin: 0; padding: 0; counter-reset: tr; }
.playlist li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.playlist li::before { counter-increment: tr; content: counter(tr); font-family: var(--font-heading); color: var(--a400); font-size: 18px; }
.playlist .t { font-size: 15.5px; }
.playlist audio { width: 100%; height: 34px; margin-top: 6px; }
.complist { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); column-gap: 56px; }

/* ---------- Материал ---------- */
.article { padding-top: clamp(32px, 4vw, 56px); padding-bottom: var(--sect); }
.article__grid { display: grid; grid-template-columns: minmax(0, 820px); justify-content: center; gap: 40px; }
.article__photo { padding: 8px; background: var(--bg-card); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.article__photo img { display: block; width: 100%; }
.prose { font-size: 17.5px; line-height: 1.8; color: rgba(243, 242, 242, .88); }
.prose p { margin: 0 0 1.1em; text-align: justify; hyphens: auto; }
.prose a { color: var(--a400); border-bottom: 1px solid rgba(225, 173, 102, .4); }
.prose a:hover { border-color: var(--a400); }
.prose h2, .prose h3, .prose h4 { color: var(--ink); font-weight: 500; line-height: 1.2; margin: 1.6em 0 .6em; }
.prose h2 { font-size: 34px; } .prose h3 { font-size: 28px; } .prose h4 { font-size: 23px; }
.prose blockquote { margin: 1.4em 0; padding-left: 24px; border-left: 1px solid var(--a400); font-family: var(--font-heading); font-style: italic; font-size: 23px; line-height: 1.4; }
.prose img { height: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose td, .prose th { border: 1px solid var(--line); padding: 8px 10px; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose iframe { max-width: 100%; }
.prose [style*="color"] { color: inherit !important; }
.prose [style*="background"] { background: transparent !important; }
.prose font { color: inherit !important; }
.video { position: relative; aspect-ratio: 16 / 9; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); gap: 10px; }
.gallery a { display: block; aspect-ratio: 1; padding: 4px; background: var(--bg-card); }
.gallery img { width: 100%; height: 100%; object-fit: contain; display: block; }
.gallery a:hover { box-shadow: 0 0 0 1px var(--a400); }
.dl { display: flex; flex-wrap: wrap; gap: 14px; }
.backline { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 15px; }
.backline a { color: var(--a400); }
.related h2 { margin: 0 0 8px; font-family: var(--font-heading); font-weight: 300; font-size: clamp(30px, 3vw, 40px); }

/* Просмотр фото */
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(10, 9, 8, .94); display: none; align-items: center; justify-content: center; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; box-shadow: 0 20px 60px rgba(0, 0, 0, .7); }
.lightbox button { position: absolute; background: none; border: 1px solid rgba(243, 242, 242, .3); color: var(--ink); width: 48px; height: 48px; border-radius: 50%; font-size: 20px; cursor: pointer; }
.lightbox .lb-close { top: 18px; right: 18px; }
.lightbox .lb-prev { left: 18px; top: 50%; }
.lightbox .lb-next { right: 18px; top: 50%; }

/* ---------- Биография ---------- */
.biohead .wrap { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 48px clamp(40px, 6vw, 96px); padding-top: clamp(48px, 6vw, 88px); padding-bottom: clamp(56px, 7vw, 96px); }
.biohead__txt { flex: 1 1 520px; display: flex; flex-direction: column; gap: 26px; }
.biohead h1 { margin: 0; font-family: var(--font-heading); font-weight: 300; font-size: clamp(52px, 7vw, 108px); line-height: .94; letter-spacing: -.015em; }
.biohead h1 em { font-style: italic; color: var(--a400); }
.biohead p { margin: 0; max-width: 640px; font-size: 17.5px; line-height: 1.7; color: var(--ink-80); }
.biohead figure { flex: 0 1 300px; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.biohead figure .frame__in { aspect-ratio: 554 / 768; }
.biohead figcaption { font-size: 11px; color: rgba(243, 242, 242, .5); }
.bio { display: flex; flex-wrap: wrap; gap: 48px clamp(40px, 6vw, 96px); align-items: flex-start; padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); }
.bio-toc { flex: 0 1 260px; display: flex; flex-direction: column; gap: 4px; }
.bio-toc > span { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--a400); margin-bottom: 12px; }
.bio-toc a { display: flex; gap: 12px; padding: 7px 0; border-bottom: 1px solid rgba(243, 242, 242, .08); font-size: 14.5px; line-height: 1.35; color: rgba(243, 242, 242, .78); }
.bio-toc a i { flex: none; width: 26px; font-style: normal; font-family: var(--font-heading); color: var(--a400); }
@media (min-width: 1000px) { .bio-toc { position: sticky; top: 24px; } }
.bio-main { flex: 1 1 560px; min-width: 0; max-width: 820px; display: flex; flex-direction: column; gap: clamp(64px, 7vw, 96px); }
.chapter { display: flex; flex-direction: column; gap: 22px; scroll-margin-top: 24px; }
.chapter__head { display: flex; align-items: baseline; gap: 18px; border-bottom: 1px solid rgba(243, 242, 242, .14); padding-bottom: 18px; }
.chapter__head b { font-family: var(--font-heading); font-weight: 300; font-size: 44px; line-height: 1; color: var(--a400); }
.chapter__head h2 { margin: 0; font-family: var(--font-heading); font-weight: 400; font-size: clamp(32px, 3.4vw, 44px); line-height: 1.08; }
.yr { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 20px; }
.yr > b { font-family: var(--font-heading); font-weight: 400; font-size: 22px; line-height: 1.5; color: var(--a400); }
.yr > div, .yr > p { margin: 0; font-size: 16.5px; line-height: 1.75; color: rgba(243, 242, 242, .84); text-align: justify; hyphens: auto; }
.chapter .prose { font-size: 16.5px; }

/* ---------- Форма ---------- */
.form { display: grid; gap: 18px; max-width: 720px; }
.form label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--ink-70); }
.form input, .form textarea { background: rgba(243, 242, 242, .04); border: 1px solid rgba(243, 242, 242, .2); border-radius: var(--r-md); color: var(--ink); font: inherit; padding: 12px 14px; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--a400); }
.form .hp { position: absolute; left: -9999px; }
.notice { padding: 16px 20px; border: 1px solid var(--a400); border-radius: var(--r-md); color: var(--a300); }

/* ---------- Телефоны ---------- */
@media (max-width: 900px) {
	.navtoggle { display: inline-grid; place-items: center; }
	.mainnav { display: none; width: 100%; flex-direction: column; gap: 0; font-size: 22px; padding: 8px 0; }
	.mainnav a { padding: 10px 0; border-bottom: 1px solid var(--line); }
	.mainnav a.is-on { border-bottom-color: var(--line); }
	.nav-open .mainnav { display: flex; }
	.topbar .search input { width: 100px; }
	.topbar .contact .long { display: none; }
	.topbar .contact .short { display: inline; }
	.hero { min-height: auto; }
	.hero__photo { position: absolute; top: 0; left: 0; right: 0; bottom: auto; width: 100%; height: 78vh; aspect-ratio: auto; }
	.hero__photo img { object-position: 62% 15%; opacity: .75; }
	.hero__photo::after { background: linear-gradient(to top, #151311 0%, rgba(21, 19, 17, .35) 55%, rgba(21, 19, 17, .55) 100%); }
	.hero__body { padding-top: 34vh; padding-bottom: 56px; }
	.facts { grid-template-columns: 1fr 1fr; column-gap: 20px; }
	.fact { padding: 24px 0; }
	.hero__text { gap: 22px; }
	.yr { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; }
	.nrow__img { display: none; }
	.bigdate b { font-size: 64px; }
}
@media (max-width: 560px) {
	.topbar .wrap { flex-wrap: wrap; letter-spacing: .08em; }
	.topbar .search { order: 3; width: 100%; }
	.topbar .search input { width: 100%; }
	.nrow { gap: 16px; }
	.nrow__date { width: 58px; }
	.nrow__date b { font-size: 38px; }
	.prose { font-size: 16.5px; }
	.prose p { text-align: left; }
	.tile__cap { padding: 20px; }
}

/* Страница серии «Jesus Christ» (перенесена со старого сайта) — под тёмную тему */
.jc-page { background: transparent !important; color: var(--ink) !important; padding: 0 !important; max-width: none !important; }
.jc-page .jc-h1 { display: none; }
.jc-page h2 { color: var(--ink) !important; font-weight: 400 !important; font-size: 34px !important; }
.jc-page .jc-sub, .jc-page .jc-pages, .jc-page .jc-vn { color: var(--ink-55) !important; }
.jc-page .jc-q { border-left-color: var(--a400) !important; }
.jc-page .jc-q cite { color: var(--a400) !important; }
.jc-page .jc-btn { background: transparent !important; border: 1px solid var(--a400); color: var(--a400) !important; border-radius: var(--r-md); font-family: var(--font-heading); font-size: 18px !important; }
.jc-page .jc-btn:hover { background: rgba(182, 130, 53, .18) !important; }
.jc-page .jc-set, .jc-page .jc-vol, .jc-page .jc-bio { border-top-color: var(--line) !important; }
.jc-page .jc-cover img { box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .8) !important; }
.prose .jc-page p { text-align: left; }
@media (max-width: 560px) {
	.rule { flex-wrap: wrap; gap: 10px 16px; }
	.rule h2, .rule h3 { white-space: normal; }
	.rule::after { display: none; }
}
audio { color-scheme: dark; }

/* Кнопка «Наверх» */
.totop { position: fixed; right: 20px; bottom: 20px; z-index: 50; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--a400); background: rgba(21, 19, 17, .88); color: var(--a400); font-size: 20px; line-height: 1; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .25s, visibility .25s; }
.totop.is-on { opacity: 1; visibility: visible; transform: none; }
.totop:hover { background: var(--accent); color: var(--bg-deep); }
/* Карта сайта */
.sitemap { columns: 2 320px; column-gap: 48px; }
.sitemap section { break-inside: avoid; margin-bottom: 32px; }
.sitemap h2 { font-family: var(--font-heading); font-weight: 500; font-size: 26px; margin: 0 0 10px; }
.sitemap h2 a { color: var(--ink); text-decoration: none; }
.sitemap h2 a:hover, .sitemap li a:hover { color: var(--a400); }
.sitemap ul { list-style: none; margin: 0; padding: 0; }
.sitemap li { padding: 5px 0; border-bottom: 1px solid var(--line-2); }
.sitemap li a { color: var(--ink-80); text-decoration: none; }
.site-foot { padding-bottom: 76px; }
/* Телефон: ссылки шапки, навигации и подвала — удобная зона нажатия (не меньше 40 px) */
@media (max-width: 760px) {
	.topbar .langs a, .topbar .contact, .crumbs a, .site-foot nav a, .sect-head .link-under, .rule > a { display: inline-flex; align-items: center; min-height: 40px; }
	.site-foot nav { display: flex; flex-wrap: wrap; column-gap: 18px; row-gap: 0; }
}
/* Телефон: кнопка меню всегда в одной строке с названием */
@media (max-width: 760px) {
	.navbar .wrap { column-gap: 12px; }
	.navbar .brand { min-width: 0; }
}
@media (max-width: 380px) {
	.brand { gap: 10px; }
	.brand .cross { width: 38px; height: 38px; font-size: 19px; }
	.brand .n1 { font-size: 19px; }
}
/* Обложки фильмов на главной */
.film { overflow: hidden; isolation: isolate; }
.film__bg { position: absolute; inset: 0; z-index: -1; }
.film__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .5; transition: opacity .3s, transform .6s; }
.film__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21, 19, 17, .25) 0%, rgba(21, 19, 17, .55) 45%, rgba(21, 19, 17, .92) 100%); }
.film:hover .film__bg img { opacity: .62; transform: scale(1.03); }
.film--img .film__top span { background: rgba(21, 19, 17, .55); border-color: rgba(243, 242, 242, .5); }
.ico-play { display: block; margin-left: 2px; }
/* Телефон: книги и фотографии — по две в ряд */
@media (max-width: 560px) {
	.books { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
	.book { gap: 10px; }
	.book .frame { padding: 4px; }
	.book__title { font-size: 16.5px; }
	.book__noimg { font-size: 15px; padding: 10px; }
	.gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
}
/* Телефон: хлебные крошки — без висящих точек при переносе */
@media (max-width: 560px) {
	.crumbs { display: flex; flex-wrap: wrap; column-gap: 14px; }
	.crumbs > span { display: none; }
	.crumbs a + span + a::before { content: "›"; margin-right: 14px; color: var(--ink-55); }
}
/* Видео с обложкой */
.video__poster { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: #000; cursor: pointer; display: block; }
.video__poster img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .25s; }
.video__poster:hover img { opacity: 1; }
.video__poster .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 72px; height: 72px; background: rgba(21, 19, 17, .7); border-width: 1.5px; }
.video__poster .play .ico-play { width: 18px; height: 22px; }
/* Телефон: портрет на главной ниже шапки, лицо не уходит под название */
@media (max-width: 760px) {
	.hero__photo { top: 150px; }
	.hero__photo img { object-position: 58% 0%; }
}

/* Раскладка страницы «Jesus Christ» (перенесено из текста страницы) */
.jc-page{margin:0 auto;font-size:17px;line-height:1.65}
.jc-sub{text-align:center;margin:0 0 30px}
.jc-page h2{margin:0 0 4px}
.jc-set,.jc-vol{display:flex;gap:36px;align-items:flex-start;padding:34px 0;border-top:1px solid var(--line)}
.jc-set>a{flex:0 0 300px}.jc-set img{width:300px;max-width:100%;height:auto}.jc-set>div{flex:1}
.jc-cover{flex:0 0 220px;text-align:center}
.jc-cover img{width:220px;max-width:100%;height:auto;margin-bottom:16px}
.jc-text{flex:1}
.jc-vn{text-transform:uppercase;letter-spacing:2px;font-size:13px;margin:0}
.jc-pages{margin:0 0 16px}
.jc-q{border-left:2px solid var(--a400);margin:0 0 14px;padding:4px 0 4px 18px;font-style:italic;font-size:16px}
.jc-q p{margin:0}.jc-q cite{display:block;font-style:normal;font-size:14px;margin-top:6px}
.jc-btn{display:inline-block;padding:8px 18px;text-decoration:none!important}
.jc-bio{padding-top:30px;border-top:1px solid var(--line)}
@media (max-width:767px){.jc-set,.jc-vol{flex-direction:column;align-items:center}.jc-cover,.jc-set>a{flex:none}}

/* Переключатель четырёх языков и разделы немецкой и венгерской главных */
.topbar .langs em { font-style: normal; }
.topbar .langs .ls { display: none; }
@media (max-width: 900px) {
	.topbar .langs .lf { display: none; }
	.topbar .langs .ls { display: inline; }
	.topbar .langs { gap: 10px; }
}
.featured--rev { flex-direction: row-reverse; }
.featured--photo .featured__cover, .featured__cover--static { flex: 0 1 460px; }
.featured--photo .frame__in, .featured__cover--static .frame__in { aspect-ratio: 4 / 3; }
.featured__cover--static:hover { transform: none; }
.featured__txt .link-under { align-self: flex-start; }


/* Шесть фактов на главной — три в ряд, даты не переносятся */
.fact b { white-space: nowrap; }
@media (min-width: 901px) {
	.facts:has(.fact:nth-child(6)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
	.facts:has(.fact:nth-child(6)) .fact b { font-size: clamp(30px, 9vw, 40px); }
}
