/* ==========================================================================
   Ассоциация выпускников ТГУ: основная таблица стилей
   ========================================================================== */

@font-face { font-family: "Lora"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/lora-cyrillic-wght-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Lora"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../fonts/lora-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Lora"; font-style: italic; font-weight: 400 700; font-display: swap; src: url(../fonts/lora-cyrillic-wght-italic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Lora"; font-style: italic; font-weight: 400 700; font-display: swap; src: url(../fonts/lora-latin-wght-italic.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/inter-cyrillic-wght-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/inter-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
	--navy: #0b2f5b;
	--navy-2: #0f4c81;
	--tsu: #016ab4;
	--sky: #8fc7d8;
	--sky-2: #cfe7ef;
	--ink: #16233a;
	--muted: #5c6a80;
	--paper: #fbf7ef;
	--paper-2: #f3ebdb;
	--white: #fff;
	--gold: #c39540;
	--gold-2: #e5c77f;
	--green: #6f9278;
	--line: rgba(11, 47, 91, .12);
	--line-2: rgba(11, 47, 91, .2);
	--shadow-sm: 0 2px 8px rgba(11, 47, 91, .05), 0 10px 26px rgba(11, 47, 91, .06);
	--shadow: 0 4px 12px rgba(11, 47, 91, .06), 0 22px 48px rgba(11, 47, 91, .12);
	--r: 16px;
	--r-sm: 10px;
	--ease: cubic-bezier(.16, 1, .3, 1);
	--serif: "Lora", Georgia, "Times New Roman", serif;
	--sans: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
	--header-h: 76px;
	--grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .3 0 0 0 0 .2 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.6;
	color: var(--ink);
	background: var(--paper);
	background-image: var(--grain);
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--tsu); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; text-wrap: balance; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold-2); color: var(--navy); }
:focus-visible { outline: 2px solid var(--tsu); outline-offset: 3px; border-radius: 4px; }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 16px; color: #fff; }

.container { width: min(1200px, calc(100% - 40px)); margin-inline: auto; position: relative; }
.container--narrow { width: min(820px, calc(100% - 40px)); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.h3 { font-size: 26px; margin-top: 1.4em; }
.h4 { font-size: 20px; margin: 1.5em 0 .6em; }

/* ---------- Кнопки ---------- */
.btn {
	--bg: var(--navy); --fg: #fff; --bd: transparent;
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 50px; padding: 0 24px;
	border-radius: 12px; border: 1px solid var(--bd);
	background: var(--bg); color: var(--fg);
	font-weight: 650; font-size: 15px; line-height: 1.2; text-align: center;
	cursor: pointer; position: relative; overflow: hidden; isolation: isolate;
	transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
	white-space: nowrap;
}
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(115deg, transparent 20%, rgba(255,255,255,.28) 50%, transparent 80%); transform: translateX(-110%); transition: transform .7s var(--ease); }
.btn:hover { transform: translateY(-2px); color: var(--fg); }
.btn:hover::after { transform: translateX(110%); }
.btn .ico { transition: transform .35s var(--ease); flex: none; }
.btn:hover .ico-arrow { transform: translateX(3px); }
.btn-primary { box-shadow: 0 10px 24px rgba(11, 47, 91, .22); }
.btn-primary:hover { --bg: var(--navy-2); box-shadow: 0 14px 30px rgba(11, 47, 91, .28); }
.btn-secondary { --bg: rgba(255,255,255,.8); --fg: var(--navy); --bd: var(--line-2); backdrop-filter: blur(8px); }
.btn-secondary:hover { --bd: var(--navy); --bg: #fff; }
.btn-ghost { --bg: transparent; --fg: var(--navy); --bd: var(--line-2); }
.btn-ghost:hover { --bg: rgba(255,255,255,.7); }
.btn-gold { --bg: linear-gradient(135deg, var(--gold-2), var(--gold)); --fg: #2a1d05; box-shadow: 0 10px 24px rgba(195, 149, 64, .28); background: linear-gradient(135deg, var(--gold-2), var(--gold)); }
.btn-glass { --bg: rgba(255, 255, 255, .55); --fg: var(--navy); --bd: rgba(255,255,255,.8); backdrop-filter: blur(10px) saturate(1.2); }
.btn-glass:hover { --bg: rgba(255, 255, 255, .85); }
.btn-glass-dark { --bg: rgba(255,255,255,.1); --fg: #fff; --bd: rgba(255,255,255,.3); }
.btn-glass-dark:hover { --bg: rgba(255,255,255,.18); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14px; border-radius: 10px; }
.btn-block { width: 100%; }

/* ---------- Шапка ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; width: 100%; height: 3px; z-index: 60; background: linear-gradient(90deg, var(--gold), var(--tsu), var(--sky)); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 247, 239, .78); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s, box-shadow .3s; }
.site-header.is-scrolled { border-color: var(--line); background: rgba(251, 247, 239, .92); box-shadow: 0 6px 24px rgba(11, 47, 91, .06); }
.nav { height: var(--header-h); display: flex; align-items: center; gap: 22px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--navy); flex: none; }
.brand:hover { color: var(--navy); }
.brand__mark { width: 44px; height: 46px; color: var(--tsu); display: grid; place-items: center; transition: transform .5s var(--ease); }
.brand__mark svg { width: 100%; height: 100%; }
.brand:hover .brand__mark { transform: rotate(-4deg) scale(1.04); }
.brand__text { display: flex; flex-direction: column; line-height: 1.12; font-size: 14px; }
.brand__text b { font-family: var(--serif); font-size: 17px; font-weight: 700; }
.brand__text span { color: var(--muted); }
.nav__menu { flex: 1; display: flex; justify-content: center; }
.nav__menu .menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav__menu .menu > li { position: relative; }
.nav__menu .menu > li > a { display: flex; align-items: center; gap: 4px; padding: 10px 11px; border-radius: 10px; color: var(--navy); font-size: 14.5px; font-weight: 550; white-space: nowrap; }
.nav__menu .menu > li > a:hover, .nav__menu .menu > li.current-menu-item > a, .nav__menu .menu > li.current-menu-ancestor > a, .nav__menu .menu > li.current_page_parent > a { background: rgba(1, 106, 180, .08); color: var(--tsu); }
.nav__menu .menu-item-has-children > a::after { content: ""; width: 6px; height: 6px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translateY(-2px); margin-left: 4px; opacity: .6; }
.nav__menu .sub-menu { list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 6px); left: -8px; min-width: 260px; background: rgba(255,255,255,.97); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s var(--ease), transform .35s var(--ease), visibility .25s; }
.nav__menu .sub-menu::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav__menu li:hover > .sub-menu, .nav__menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav__menu .sub-menu a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--ink); font-size: 14.5px; }
.nav__menu .sub-menu a:hover { background: var(--paper); color: var(--tsu); }
.nav__actions { display: flex; align-items: center; gap: 8px; flex: none; }
.nav__burger { display: none; width: 46px; height: 46px; border: 1px solid var(--line-2); border-radius: 12px; background: rgba(255,255,255,.7); cursor: pointer; padding: 0; position: relative; }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 1.8px; background: var(--navy); border-radius: 2px; transition: transform .35s var(--ease), opacity .2s; }
.nav__burger span:nth-child(1) { top: 16px; } .nav__burger span:nth-child(2) { top: 22px; } .nav__burger span:nth-child(3) { top: 28px; }
.menu-open .nav__burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .nav__burger span:nth-child(2) { opacity: 0; }
.menu-open .nav__burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav__mobile-cta { display: none; }

/* ---------- Акварельные подложки ---------- */
.paper { background-color: var(--paper-2); background-image: var(--grain), radial-gradient(ellipse 60% 50% at 8% 0%, rgba(229, 199, 127, .22), transparent 70%), radial-gradient(ellipse 50% 60% at 100% 100%, rgba(143, 199, 216, .22), transparent 70%); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: clamp(680px, calc(100svh - var(--header-h)), 900px); overflow: hidden; display: flex; isolation: isolate; border-bottom: 1px solid var(--line); }
.hero__photo { position: absolute; inset: 0; z-index: -2; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; animation: heroCamera 18s var(--ease) both; transform-origin: 70% 60%; }
.hero__wash { position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background:
		linear-gradient(90deg, rgba(251, 247, 239, .96) 0%, rgba(251, 247, 239, .86) 30%, rgba(251, 247, 239, .25) 58%, rgba(251, 247, 239, 0) 72%),
		linear-gradient(0deg, rgba(251, 247, 239, .9) 0%, rgba(251, 247, 239, 0) 22%);
}
.hero__wash::after { content: ""; position: absolute; width: 640px; height: 640px; left: -180px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(229, 199, 127, .28), transparent 64%); filter: blur(10px); animation: drift 16s ease-in-out infinite alternate; }
.hero__inner { display: grid; grid-template-rows: 1fr auto; padding-top: clamp(40px, 7vh, 88px); width: min(1200px, calc(100% - 40px)); }
.hero__content { max-width: 760px; animation: heroIn 1s var(--ease) both; }
.eyebrow { font-size: 12.5px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--tsu); margin-bottom: 14px; }
.eyebrow--gold { color: var(--gold); }
.hero__title { font-size: clamp(44px, 6.4vw, 82px); line-height: 1.02; letter-spacing: -.02em; margin-bottom: 24px; min-height: 2.06em; font-weight: 600; }
.typewriter-text { white-space: pre-wrap; }
.typewriter-cursor { display: inline-block; width: .06em; height: .8em; margin-left: .06em; background: var(--gold); transform: translateY(.06em); animation: blink 1s steps(2, start) infinite; }
.typing-done .typewriter-cursor { animation: blink 1s steps(2, start) 3, fade .6s 3s forwards; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: #33445d; max-width: 580px; margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Книжная полка */
.book-shelf { width: fit-content; display: flex; align-items: flex-end; gap: 0; padding: 0 0 0 4px; margin-top: 48px; height: 380px; position: relative; }
.book-shelf::after { content: ""; position: absolute; left: -14px; right: -22px; bottom: -2px; height: 14px; border-radius: 4px; background: linear-gradient(180deg, #d8c6a0, #b99d6c); box-shadow: 0 10px 24px rgba(91, 66, 24, .22); z-index: 6; }
.book {
	--bg: #8fc7d8; --fg: var(--navy); --h: 330px; --lift: 0px;
	width: clamp(86px, 7.6vw, 118px); height: var(--h); margin-left: -2px; padding: 26px 12px 30px;
	border-radius: 10px 10px 4px 4px; border: 1px solid rgba(11, 47, 91, .28);
	background:
		linear-gradient(90deg, rgba(3,18,38,.32), rgba(255,255,255,.1) 12%, transparent 30%, rgba(255,255,255,.18) 58%, rgba(3,18,38,.22)),
		linear-gradient(180deg, transparent 10%, rgba(232, 199, 125, .85) 10.4% 11%, transparent 11.4% 12.4%, rgba(232, 199, 125, .85) 12.8% 13.4%, transparent 13.8%, transparent 86%, rgba(232, 199, 125, .85) 86.4% 87%, transparent 87.4%),
		repeating-linear-gradient(90deg, rgba(3,18,38,.06) 0 1px, transparent 1px 5px),
		var(--bg);
	color: var(--fg);
	box-shadow: inset 0 2px 0 rgba(255,255,255,.3), inset -12px 0 22px rgba(3, 18, 38, .16), 0 18px 28px rgba(11, 47, 91, .2);
	display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden;
	transform: translateY(var(--lift)); transform-origin: bottom center;
	transition: transform .5s var(--ease), box-shadow .5s var(--ease), filter .5s var(--ease);
	animation: bookIn .9s var(--ease) both; animation-delay: calc(.35s + var(--i) * .09s);
	z-index: calc(5 - var(--i));
}
.book:first-child { margin-left: 0; }
.book__title { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--serif); font-weight: 700; font-size: clamp(15px, 1.25vw, 19px); line-height: 1.15; text-align: center; max-height: calc(var(--h) - 90px); position: relative; z-index: 1; text-shadow: 0 1px 0 rgba(255,255,255,.15); }
.book__shine { position: absolute; inset: -35% -70%; background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,.4), transparent 62%); transform: translateX(-45%) rotate(8deg); transition: transform .8s var(--ease); pointer-events: none; }
.book__ribbon { position: absolute; top: 0; right: 14px; width: 16px; height: 120px; z-index: 2; background: linear-gradient(90deg, rgba(255,255,255,.25), transparent 45%, rgba(54,36,8,.18)), linear-gradient(180deg, var(--gold-2), var(--gold)); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 84%, 0 100%); }
.book:hover, .book:focus-visible { transform: translateY(calc(var(--lift) - 34px)) rotate(-1.5deg); filter: saturate(1.1) brightness(1.04); box-shadow: inset 0 2px 0 rgba(255,255,255,.4), inset -10px 0 20px rgba(3,18,38,.14), 0 36px 50px rgba(11, 47, 91, .28); z-index: 9; color: var(--fg); }
.book:hover .book__shine, .book:focus-visible .book__shine { transform: translateX(45%) rotate(8deg); }
.book--events { --bg: #b9dcea; --h: 300px; }
.book--story { --bg: #6fa8c5; --h: 340px; --lift: 0px; }
.book--meeting { --bg: #2f6f9d; --fg: #fbf3e2; --h: 372px; }
.book--mentor { --bg: #9ccbd9; --h: 318px; }
.book--support { --bg: var(--navy); --fg: var(--gold-2); --h: 356px; }
.shelf-hint { position: absolute; bottom: 30px; left: 680px; font-size: 13px; color: var(--muted); }

/* ---------- Секции ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; position: relative; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head__main { max-width: 760px; }
.section-head__aside { max-width: 440px; color: var(--muted); font-size: 17px; }
.section-head__aside p { margin: 0; }
.section-title { font-size: clamp(32px, 4.4vw, 54px); line-height: 1.06; letter-spacing: -.02em; margin: 0; }
.section-more { margin-top: 36px; display: flex; justify-content: center; }
.empty-note { padding: 28px; border: 1px dashed var(--line-2); border-radius: var(--r); text-align: center; color: var(--muted); background: rgba(255,255,255,.5); }

/* reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Цифры ---------- */
.stats { background: #fff; background-image: var(--grain); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { padding: 30px 26px 26px; border-radius: var(--r); border: 1px solid var(--line); background: linear-gradient(180deg, #fff, var(--paper)); position: relative; overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.stat::before { content: ""; position: absolute; width: 180px; height: 180px; right: -60px; top: -70px; border-radius: 50%; background: radial-gradient(circle, rgba(143, 199, 216, .35), transparent 65%); transition: transform .8s var(--ease); }
.stat:nth-child(2)::before { background: radial-gradient(circle, rgba(229, 199, 127, .38), transparent 65%); }
.stat:nth-child(4)::before { background: radial-gradient(circle, rgba(111, 146, 120, .26), transparent 65%); }
.stat:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.stat:hover::before { transform: scale(1.3); }
.stat__num { font-family: var(--serif); font-size: clamp(38px, 4vw, 52px); font-weight: 600; color: var(--navy); line-height: 1; margin-bottom: 14px; position: relative; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat p { color: var(--muted); margin: 0; position: relative; }

/* ---------- Карточки ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards-grid--2 { grid-template-columns: repeat(2, 1fr); }
.cards-grid--4 { grid-template-columns: repeat(4, 1fr); }
.card { display: block; position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px; color: var(--ink); box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease); overflow: hidden; }
.card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 0% 0%, rgba(229, 199, 127, .18), transparent 60%), radial-gradient(ellipse 70% 60% at 100% 100%, rgba(143, 199, 216, .2), transparent 60%); opacity: 0; transition: opacity .5s var(--ease); pointer-events: none; }
a.card:hover, .card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(195, 149, 64, .35); color: var(--ink); }
.card:hover::before { opacity: 1; }
.card h3 { font-size: 21px; margin-bottom: 10px; position: relative; }
.card h3 a { color: inherit; }
.card h3 a:hover { color: var(--tsu); }
.card p { color: var(--muted); position: relative; }
.card__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; font-size: 14.5px; color: var(--tsu); position: relative; margin-top: 4px; }
.card__more .ico { transition: transform .35s var(--ease); }
.card:hover .card__more .ico-arrow { transform: translateX(4px); }
.benefit__icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; color: var(--tsu); background: linear-gradient(135deg, rgba(143, 199, 216, .35), rgba(207, 231, 239, .5)); margin-bottom: 22px; position: relative; transition: transform .5s var(--ease); }
.card:hover .benefit__icon { transform: rotate(-6deg) scale(1.06); }
.benefit__num { position: absolute; right: 24px; top: 22px; font-family: var(--serif); font-size: 15px; color: var(--gold); font-weight: 600; }
.tag { display: inline-flex; align-items: center; padding: 4px 11px; border-radius: 999px; background: rgba(195, 149, 64, .14); color: #8a6420; font-size: 12.5px; font-weight: 650; line-height: 1.4; }
a.tag:hover { background: rgba(195, 149, 64, .24); color: #6d4e17; }
.tag--accent { background: rgba(1, 106, 180, .1); color: var(--tsu); }
.tag.is-warn { background: rgba(220, 120, 40, .14); color: #a5521a; }
.tag.is-closed { background: rgba(92, 106, 128, .14); color: var(--muted); }

/* Истории */
.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.story { padding: 0; display: flex; flex-direction: column; }
.story__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper-2); }
.story__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 1s var(--ease), filter .6s; filter: saturate(.95); }
.story:hover .story__media img { transform: scale(1.05); filter: saturate(1.05); }
.story__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; position: relative; }
.story__body .tag { align-self: flex-start; }
.story__body h3 { margin: 4px 0 0; }
.story__pos { font-size: 14px; color: var(--navy-2); font-weight: 550; margin: 0; }
.story__body p { margin: 0; }
.story__body .card__more { margin-top: auto; padding-top: 8px; }

/* Заглушки */
.ph { width: 100%; height: 100%; min-height: 200px; display: grid; place-items: center; position: relative; overflow: hidden; background: var(--paper-2); }
.ph::before { content: ""; position: absolute; inset: -20%; background: radial-gradient(circle at 30% 35%, rgba(229, 199, 127, .55), transparent 45%), radial-gradient(circle at 70% 60%, rgba(143, 199, 216, .6), transparent 45%), radial-gradient(circle at 45% 80%, rgba(111, 146, 120, .25), transparent 40%); filter: blur(18px); }
.ph-1::before { background: radial-gradient(circle at 65% 30%, rgba(143, 199, 216, .65), transparent 45%), radial-gradient(circle at 30% 70%, rgba(229, 199, 127, .5), transparent 45%); }
.ph-2::before { background: radial-gradient(circle at 40% 40%, rgba(1, 106, 180, .25), transparent 45%), radial-gradient(circle at 70% 75%, rgba(229, 199, 127, .5), transparent 45%); }
.ph span { position: relative; font-family: var(--serif); font-size: 64px; color: var(--navy); opacity: .85; }

/* События */
.events-band { background: var(--navy); color: #e8eef6; overflow: hidden; isolation: isolate; }
.events-band__wash { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 50% 70% at 0% 0%, rgba(1, 106, 180, .55), transparent 60%), radial-gradient(ellipse 40% 60% at 100% 100%, rgba(195, 149, 64, .3), transparent 60%), radial-gradient(ellipse 40% 40% at 70% 10%, rgba(143, 199, 216, .18), transparent 60%); }
.events-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--grain); opacity: .5; mix-blend-mode: overlay; }
.events-band .section-title { color: #fff; }
.events-band .eyebrow { color: var(--gold-2); }
.events-band .empty-note { background: rgba(255,255,255,.06); color: #c9d6e6; border-color: rgba(255,255,255,.2); }
.event-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.event { display: grid; grid-template-columns: 76px 1fr; gap: 18px; padding: 24px; }
.events-band .event { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: #dfe8f3; box-shadow: none; backdrop-filter: blur(6px); }
.events-band .event:hover { background: rgba(255, 255, 255, .1); border-color: rgba(229, 199, 127, .5); }
.events-band .event h3, .events-band .event h3 a { color: #fff; }
.events-band .event p, .events-band .event__foot { color: #b9c8db; }
.events-band .tag { background: rgba(229, 199, 127, .18); color: var(--gold-2); }
.events-band .card__more { color: var(--gold-2); }
.event__date { width: 76px; height: 82px; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: linear-gradient(160deg, var(--paper), #fff); border: 1px solid var(--line); color: var(--navy); position: relative; }
.event__date b { font-family: var(--serif); font-size: 34px; line-height: 1; font-weight: 600; }
.event__date span { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--gold); margin-top: 4px; }
.event__date .event__date-text { font-size: 12px; text-transform: none; letter-spacing: 0; text-align: center; padding: 6px; line-height: 1.25; color: var(--navy); }
.events-band .event__date { background: rgba(255,255,255,.92); border: 0; }
.event__body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.event__meta { display: flex; flex-wrap: wrap; gap: 6px; }
.event h3 { font-size: 20px; margin: 2px 0 0; }
.event p { margin: 0; font-size: 15px; }
.event__foot { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13.5px; color: var(--muted); }
.event__foot span { display: inline-flex; align-items: center; gap: 6px; }
.event .card__more { margin-top: auto; padding-top: 4px; }
.event.is-past { opacity: .78; }
.event-grid--list { grid-template-columns: repeat(2, 1fr); }

/* Поддержать ТГУ */
.support-card { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 4vw, 56px); padding: clamp(32px, 5vw, 64px); border-radius: 24px; background: var(--navy); color: #dbe5f1; position: relative; overflow: hidden; isolation: isolate; box-shadow: 0 30px 70px rgba(11, 47, 91, .25); }
.support-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 60% 80% at 100% 0%, rgba(195, 149, 64, .45), transparent 60%), radial-gradient(ellipse 50% 70% at 0% 100%, rgba(1, 106, 180, .6), transparent 60%); }
.support-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--grain); mix-blend-mode: overlay; opacity: .6; }
.support-card .section-title, .support-card h2 { color: #fff; margin-bottom: 18px; }
.support-card p { color: #c5d3e4; font-size: 17px; }
.support-card__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.support-card__list { display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.fund-item { display: grid; grid-template-columns: 44px 1fr 18px; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 14px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); color: #fff; transition: background .35s var(--ease), transform .35s var(--ease), border-color .35s; }
.fund-item:hover { background: rgba(255,255,255,.13); transform: translateX(4px); color: #fff; border-color: rgba(229, 199, 127, .5); }
.fund-item__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(229, 199, 127, .2); color: var(--gold-2); }
.fund-item b { display: block; font-weight: 650; font-size: 15.5px; }
.fund-item small { display: block; color: #a9bbd1; font-size: 13.5px; line-height: 1.4; margin-top: 2px; }
.support-card--side { grid-template-columns: 1fr; align-self: start; position: sticky; top: calc(var(--header-h) + 24px); padding: 36px; }

/* Новости */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card { padding: 0; display: flex; flex-direction: column; }
.news-card__media { display: block; aspect-ratio: 16 / 9.4; overflow: hidden; background: var(--paper-2); }
.news-card__media img, .news-card__media .ph { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); min-height: 0; }
.news-card:hover .news-card__media img { transform: scale(1.05); }
.news-card__body { padding: 22px 24px 26px; position: relative; }
.news-card__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; font-size: 13.5px; color: var(--muted); }
.news-card h3 { font-size: 20px; }
.news-card p { margin: 0; font-size: 15px; }

/* Оставайтесь на связи */
.stay { overflow: hidden; isolation: isolate; background: var(--paper); }
.stay__wash { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 45% 70% at 0% 50%, rgba(143, 199, 216, .35), transparent 65%), radial-gradient(ellipse 40% 60% at 100% 30%, rgba(229, 199, 127, .3), transparent 65%); }
.stay__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.stay__lead { font-size: 18px; color: #33445d; margin-top: 18px; }
.stay__form { background: rgba(255,255,255,.82); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 20px; padding: 28px; box-shadow: var(--shadow); }
.stay__join { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.stay__join a { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; }

/* ---------- Формы ---------- */
.tgu-form__title { font-size: 26px; margin-bottom: 6px; }
.tgu-form__subtitle { color: var(--muted); margin: -2px 0 18px; font-size: 15px; }
.tgu-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 16px; margin-top: 16px; }
.tgu-form--compact .tgu-form__grid { grid-template-columns: 1fr; margin-top: 0; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.is-wide { grid-column: 1 / -1; }
.field__label { font-size: 13.5px; font-weight: 600; color: var(--navy); }
.field__label i, .check i { color: #c4472f; font-style: normal; margin-left: 2px; }
.field input, .field select, .field textarea {
	width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff;
	transition: border-color .25s, box-shadow .25s; font-size: 15.5px; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%230b2f5b' stroke-width='1.6'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--tsu); box-shadow: 0 0 0 4px rgba(1, 106, 180, .12); }
.field input::placeholder, .field textarea::placeholder { color: #9aa6b6; }
.field input[type="file"] { padding: 10px; min-height: 0; font-size: 14px; }
.tgu-form .is-invalid input, .tgu-form .is-invalid select, .tgu-form .is-invalid textarea, .check.is-invalid span::before { border-color: #c4472f; box-shadow: 0 0 0 3px rgba(196, 71, 47, .1); }
.field .err { color: #c4472f; font-size: 12.5px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font-size: 14.5px; transition: all .25s var(--ease); }
.chip:hover span { border-color: var(--tsu); }
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--tsu); outline-offset: 2px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); line-height: 1.45; cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check span { position: relative; padding-left: 30px; }
.check span::before { content: ""; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--line-2); background: #fff; transition: all .2s; }
.check span::after { content: ""; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform .25s var(--ease); }
.check input:checked + span::before { background: var(--navy); border-color: var(--navy); }
.check input:checked + span::after { transform: rotate(45deg) scale(1); }
.check input:focus-visible + span::before { outline: 2px solid var(--tsu); outline-offset: 2px; }
.check a { text-decoration: underline; text-underline-offset: 2px; }
.tgu-form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 20px; }
.tgu-form--compact .tgu-form__actions .btn { width: 100%; }
.tgu-form__after { font-size: 13.5px; color: var(--muted); }
.tgu-form__note { margin: 16px 0 0; padding: 14px 16px 14px 34px; background: var(--paper); border-radius: 12px; font-size: 13.5px; color: var(--muted); }
.tgu-form__notice { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; font-size: 14.5px; margin: 10px 0 6px; }
.tgu-form__notice.is-ok { background: rgba(111, 146, 120, .14); color: #2f5a3a; }
.tgu-form__notice.is-err { background: rgba(196, 71, 47, .1); color: #8f2f1d; }
.tgu-form button[disabled] { opacity: .7; pointer-events: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow); position: relative; }
.form-card__lead { color: var(--muted); }
.form-card--sticky { position: sticky; top: calc(var(--header-h) + 20px); }
.detail-main .form-card { margin-top: 40px; }

/* Тост после отправки */
.toast { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; background: rgba(11, 47, 91, .35); backdrop-filter: blur(4px); animation: fadeIn .3s var(--ease); }
.toast[hidden] { display: none; }
.toast__card { width: min(440px, 100%); background: #fff; border-radius: 22px; padding: 34px 30px 28px; text-align: center; box-shadow: 0 40px 80px rgba(11, 47, 91, .3); animation: popIn .5s var(--ease); }
.toast__icon { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: rgba(111, 146, 120, .16); color: var(--green); }
.toast__text { font-size: 17px; color: var(--ink); }

/* ---------- Внутренние страницы ---------- */
.page-hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(36px, 5vw, 64px); overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); }
.page-hero__wash { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 45% 90% at 100% 0%, rgba(143, 199, 216, .45), transparent 62%), radial-gradient(ellipse 35% 80% at 75% 100%, rgba(229, 199, 127, .32), transparent 60%), radial-gradient(ellipse 30% 60% at 0% 0%, rgba(229, 199, 127, .18), transparent 60%); }
.page-hero__wash::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: min(520px, 50vw); aspect-ratio: 1280 / 622; background: url(../img/hero.webp) right bottom / cover no-repeat; opacity: .22; mask-image: radial-gradient(ellipse at 70% 60%, #000 25%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 60%, #000 25%, transparent 70%); }
.page-hero__title { font-size: clamp(36px, 5.2vw, 64px); line-height: 1.04; letter-spacing: -.02em; max-width: 900px; margin-bottom: 16px; }
.page-hero__lead { font-size: clamp(17px, 1.6vw, 20px); color: #33445d; max-width: 760px; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: var(--muted); margin-bottom: 22px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--tsu); }
.crumbs [aria-current] { color: var(--navy); max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.prose { font-size: 17.5px; line-height: 1.75; color: #24324a; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: clamp(28px, 3vw, 38px); margin: 1.8em 0 .6em; }
.prose h3 { font-size: 23px; margin: 1.6em 0 .5em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.1em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--gold); }
.prose a { text-decoration: underline; text-decoration-color: rgba(1, 106, 180, .35); text-underline-offset: 3px; }
.prose blockquote { margin: 1.6em 0; padding: 6px 0 6px 24px; border-left: 3px solid var(--gold); font-family: var(--serif); font-style: italic; font-size: 1.15em; color: var(--navy); }
.prose img { border-radius: 14px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; margin: 1.4em 0; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm); }
.prose th, .prose td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--navy); color: #fff; font-weight: 600; font-size: 14px; }
.prose tr:last-child td { border-bottom: 0; }
.prose .wp-block-table { margin: 1.4em 0; overflow-x: auto; }
.prose--wide { max-width: none; }
.prose .lead-p { font-size: 1.15em; color: var(--navy); font-family: var(--serif); }

/* Блоки внутри контента (используются в тексте страниц) */
.prose .grid-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 1.4em 0 2em; padding: 0; list-style: none; }
.prose .grid-cards > * { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; box-shadow: var(--shadow-sm); font-size: 16px; line-height: 1.6; }
.prose .grid-cards h3, .prose .grid-cards h4 { margin: 0 0 8px; font-size: 19px; }
.prose .grid-cards ol, .prose .grid-cards ul { margin: 0; padding-left: 1.2em; }
.prose .team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 1.4em 0 2em; padding: 0; list-style: none; }
.prose .team li { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; font-size: 15px; line-height: 1.45; color: var(--muted); }
.prose .team li b, .prose .team li strong { display: block; font-family: var(--serif); color: var(--navy); font-size: 18px; margin-bottom: 6px; font-weight: 600; }
.prose .timeline { list-style: none; padding: 0 0 0 28px; margin: 1.4em 0 2em; border-left: 2px solid rgba(195, 149, 64, .4); }
.prose .timeline li { position: relative; margin-bottom: 1.6em; }
.prose .timeline li::before { content: ""; position: absolute; left: -36px; top: 8px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 3px solid var(--gold); }
.prose .timeline b, .prose .timeline strong { display: block; font-family: var(--serif); color: var(--navy); font-size: 21px; margin-bottom: 4px; }
.prose .docs { list-style: none; padding: 0; display: grid; gap: 10px; }
.prose .docs li a { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; font-weight: 600; }
.prose .callout { background: linear-gradient(135deg, rgba(143, 199, 216, .22), rgba(229, 199, 127, .18)); border-radius: var(--r); padding: 22px 24px; margin: 1.6em 0; }

.with-toc { display: grid; grid-template-columns: 220px 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 28px); display: flex; flex-direction: column; gap: 2px; border-left: 2px solid var(--line); }
.toc a { padding: 8px 16px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); font-size: 15px; transition: all .25s; }
.toc a:hover, .toc a.is-active { color: var(--navy); border-color: var(--gold); }
.toc .toc__cta { margin-top: 16px; color: var(--tsu); font-weight: 650; }
.prose--about { max-width: 820px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.split--form { grid-template-columns: 1fr minmax(0, 560px); }
.split .section-title { margin-bottom: 18px; }
.ticks, .dots { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: rgba(111, 146, 120, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f7a5a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.dots li { position: relative; padding-left: 22px; }
.dots li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 18px 0 22px; display: grid; gap: 12px; }
.steps li { counter-increment: s; position: relative; padding: 14px 16px 14px 60px; background: rgba(255,255,255,.75); border: 1px solid var(--line); border-radius: 14px; }
.steps li::before { content: counter(s); position: absolute; left: 14px; top: 12px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 700; font-size: 14px; }
.steps--row { grid-template-columns: repeat(3, 1fr); margin-top: 32px; }
.faq { display: grid; gap: 10px; margin-top: 18px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 30px 16px 0; font-weight: 600; color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: var(--muted); padding-bottom: 16px; margin: 0; }
.tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.tile { display: flex; flex-direction: column; gap: 8px; padding: 22px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); color: var(--ink); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease), box-shadow .4s, border-color .4s; }
.tile .ico { color: var(--tsu); margin-bottom: 6px; }
.tile b { font-family: var(--serif); font-size: 18px; color: var(--navy); font-weight: 600; }
.tile span { font-size: 14px; color: var(--muted); line-height: 1.45; }
.tile:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(195, 149, 64, .35); color: var(--ink); }
.contact-box { margin-top: 24px; padding: 18px 20px; border-radius: 14px; background: rgba(255,255,255,.7); border: 1px solid var(--line); }
.contact-box p { display: flex; align-items: center; gap: 10px; margin: 6px 0; }
.contact-box .ico { color: var(--tsu); }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: clamp(28px, 4vw, 48px); background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-sm); }
.cta-band .section-title { font-size: clamp(26px, 3vw, 38px); margin-bottom: 10px; }
.cta-band p { color: var(--muted); margin: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.7); color: var(--navy); font-size: 14.5px; font-weight: 550; transition: all .25s var(--ease); }
.pill:hover { border-color: var(--navy); color: var(--navy); background: #fff; }
.pill.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.filters-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 32px; }
.search-mini { display: flex; align-items: center; background: #fff; border: 1px solid var(--line-2); border-radius: 999px; padding: 4px 4px 4px 16px; }
.search-mini input { border: 0; outline: 0; background: transparent; min-width: 200px; height: 36px; }
.search-mini button { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; display: grid; place-items: center; cursor: pointer; }
.nav-links, .pagination .nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.page-numbers { min-width: 44px; height: 44px; padding: 0 12px; display: inline-grid; place-items: center; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; color: var(--navy); font-weight: 600; }
.page-numbers.current { background: var(--navy); color: #fff; border-color: var(--navy); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Детальные страницы */
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.detail-side { position: sticky; top: calc(var(--header-h) + 24px); }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: var(--shadow-sm); }
.facts { margin: 0 0 18px; display: grid; gap: 14px; }
.facts > div { display: grid; gap: 2px; }
.facts dt { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.facts dt .ico { color: var(--gold); }
.facts dd { margin: 0 0 0 26px; color: var(--navy); font-weight: 600; }
.side-link { display: flex; align-items: center; gap: 8px; margin: 16px 0 8px; font-size: 14.5px; font-weight: 600; }
.article-meta { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: 14.5px; margin-bottom: 24px; }
.article-meta > * { display: inline-flex; align-items: center; gap: 6px; }
.article-cover { margin: 0 0 32px; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.article-cover img { width: 100%; }
.article-tags { margin-top: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-static { display: inline-flex; padding: 5px 12px; border-radius: 999px; background: var(--paper-2); color: var(--navy); font-size: 13.5px; }
.notice-card { margin-top: 36px; padding: 24px; border-radius: 18px; background: var(--paper-2); display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.notice-card p { flex-basis: 100%; margin: 0; }

.story-hero { position: relative; padding: clamp(40px, 6vw, 80px) 0; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); }
.story-hero__grid { display: grid; grid-template-columns: 1fr 520px; gap: clamp(28px, 5vw, 72px); align-items: center; }
.story-hero__photo { border-radius: 20px; overflow: hidden; aspect-ratio: 16/9; box-shadow: var(--shadow); transform: rotate(1deg); background: var(--paper-2); }
.story-hero__photo img, .story-hero__photo .ph { width: 100%; height: 100%; object-fit: cover; }
.story-hero__pos { font-size: 18px; color: var(--navy-2); font-weight: 550; }
.pull-quote { margin: 0 0 36px; padding: 28px 32px; border-radius: 20px; background: linear-gradient(135deg, rgba(229, 199, 127, .22), rgba(143, 199, 216, .2)); font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.35; color: var(--navy); position: relative; }
.advice { margin-top: 36px; padding: 24px 28px; border-radius: 18px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold); }
.advice h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; }
.advice .ico { color: var(--gold); }
.tsu-means { margin-top: 24px; font-size: 18px; color: var(--navy); font-family: var(--serif); }

/* Вакансии */
.vac-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 26px; }
.vac-top__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.counter-badge { display: inline-flex; align-items: baseline; gap: 10px; padding: 12px 20px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.counter-badge b { font-family: var(--serif); font-size: 30px; color: var(--navy); line-height: 1; }
.counter-badge span { color: var(--muted); }
.vac-filters { display: grid; grid-template-columns: 2fr repeat(5, 1fr) auto; gap: 10px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); margin-bottom: 26px; }
.vac-filters input, .vac-filters select { min-height: 46px; border: 1px solid var(--line-2); border-radius: 10px; padding: 0 12px; background: #fff; min-width: 0; width: 100%; }
.vac-filters__q { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line-2); border-radius: 10px; padding-left: 12px; color: var(--muted); }
.vac-filters__q input { border: 0; padding-left: 0; }
.vac-filters__hint { grid-column: 1 / -1; margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.vacancy-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.vacancy__head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.vacancy__head h3 { margin-bottom: 4px; }
.vacancy__company { display: flex; align-items: center; gap: 6px; color: var(--navy-2); font-weight: 600; margin: 0 0 12px; font-size: 15px; }
.vacancy__params { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.vacancy__params span { display: inline-flex; align-items: center; gap: 6px; }
.vacancy .chips { margin-bottom: 14px; position: relative; }
.vacancy__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); position: relative; }
.lecture__top { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; position: relative; }
.lecture__speaker { display: flex; gap: 10px; align-items: flex-start; color: var(--navy) !important; }
.lecture__speaker .ico { color: var(--gold); margin-top: 3px; }
.lecture__speaker small { display: block; color: var(--muted); font-size: 13.5px; }
.lecture .event__foot { margin-bottom: 12px; position: relative; }

/* Проекты */
.project { padding: 0; display: flex; flex-direction: column; }
.project__media { display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--paper-2); }
.project__media img, .project__media .ph { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); min-height: 0; }
.project:hover .project__media img { transform: scale(1.05); }
.project__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; position: relative; }
.project__body .tag { align-self: flex-start; }
.project__body h3, .project__body p { margin: 0; }
.project__goal { font-weight: 600; color: var(--navy) !important; }
.project__body .card__more { margin-top: auto; padding-top: 6px; }

/* Контакты */
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 28px; }
.contact-card { display: flex; gap: 14px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); }
.contact-card > .ico { color: var(--tsu); flex: none; margin-top: 2px; }
.contact-card span { display: block; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.contact-card b { color: var(--navy); font-weight: 600; }
.socials { display: flex; gap: 8px; margin-top: 18px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.18); transition: all .3s var(--ease); }
.socials a:hover { background: var(--gold); color: var(--navy); transform: translateY(-3px); border-color: var(--gold); }
.socials--big { flex-wrap: wrap; margin-bottom: 28px; }
.socials--big a { width: auto; height: 46px; padding: 0 16px 0 12px; gap: 8px; display: inline-flex; align-items: center; color: var(--navy); background: #fff; border-color: var(--line-2); font-weight: 600; font-size: 14.5px; }
.map-box { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); aspect-ratio: 16/10; background: var(--paper-2); }
.map-box iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Подвал ---------- */
.site-footer { background: #071f3d; color: #a9bbd1; position: relative; overflow: hidden; isolation: isolate; padding: clamp(56px, 7vw, 88px) 0 28px; font-size: 15px; }
.footer-wash { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 40% 70% at 100% 0%, rgba(1, 106, 180, .35), transparent 60%), radial-gradient(ellipse 30% 60% at 0% 100%, rgba(195, 149, 64, .18), transparent 60%); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.site-footer h3 { color: #fff; font-family: var(--sans); font-size: 13px; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; margin-bottom: 18px; }
.site-footer a { color: #d6e1ee; }
.site-footer a:hover { color: var(--gold-2); }
.footer-grid > div > a { display: block; padding: 5px 0; }
.brand--light, .brand--light:hover { color: #fff; margin-bottom: 18px; }
.brand--light .brand__mark { color: #fff; }
.brand--light .brand__text span { color: #a9bbd1; }
.footer-contacts p { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; }
.footer-contacts .ico { color: var(--gold-2); flex: none; margin-top: 3px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; font-size: 13.5px; color: #8094ad; }
.footer-bottom a { color: #a9bbd1; }

/* ---------- Анимации ---------- */
@keyframes heroCamera { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes heroIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes bookIn { from { opacity: 0; transform: translateY(60px); } to { opacity: 1; transform: translateY(var(--lift)); } }
@keyframes blink { to { visibility: hidden; } }
@keyframes fade { to { opacity: 0; } }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(60px, 40px) scale(1.1); } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes popIn { from { opacity: 0; transform: translateY(20px) scale(.96); } }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.reveal { opacity: 1; transform: none; }
}

/* ---------- Адаптив ---------- */
@media (max-width: 1240px) {
	.nav__menu .menu > li > a { padding: 10px 8px; font-size: 14px; }
	.nav__contact { display: none; }
}
@media (max-width: 1100px) {
	:root { --header-h: 68px; }
	.nav__burger { display: block; }
	.nav__menu { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; background: var(--paper); background-image: var(--grain); padding: 20px 20px 40px; overflow-y: auto; display: block; opacity: 0; transform: translateY(-10px); visibility: hidden; transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s .45s; z-index: 49; height: calc(100dvh - var(--header-h)); }
	.menu-open .nav__menu { opacity: 1; transform: none; visibility: visible; transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s; }
	.menu-open { overflow: hidden; }
	.nav__menu .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.nav__menu .menu > li { border-bottom: 1px solid var(--line); }
	.nav__menu .menu > li > a { font-family: var(--serif); font-size: 22px; font-weight: 600; padding: 16px 4px; }
	.nav__menu .menu-item-has-children > a::after { display: none; }
	.nav__menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 12px 8px; min-width: 0; }
	.nav__menu .sub-menu a { font-size: 16px; padding: 8px 4px; color: var(--muted); }
	.nav__mobile-cta { display: grid; gap: 10px; margin-top: 24px; }
	.nav { gap: 12px; }
	.nav__actions { margin-left: auto; }
	.stats-grid { grid-template-columns: repeat(2, 1fr); }
	.cards-grid, .story-grid, .news-grid, .event-grid { grid-template-columns: repeat(2, 1fr); }
	.cards-grid--4 { grid-template-columns: repeat(2, 1fr); }
	.tiles { grid-template-columns: repeat(3, 1fr); }
	.support-card { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.vac-filters { grid-template-columns: 1fr 1fr 1fr; }
	.vac-filters__q { grid-column: 1 / -1; }
	.detail-layout { grid-template-columns: 1fr; }
	.detail-side { position: static; }
	.with-toc { grid-template-columns: 1fr; }
	.toc { display: none; }
	.split, .split--form, .stay__grid { grid-template-columns: 1fr; }
	.form-card--sticky, .support-card--side { position: static; }
	.event-grid--list, .vacancy-list { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
	body { font-size: 15.5px; }
	.container { width: calc(100% - 32px); }
	.brand__text { font-size: 12.5px; }
	.brand__text b { font-size: 15px; }
	.brand__mark { width: 38px; height: 40px; }
	.nav__actions .btn-primary { display: none; }
	.hero { min-height: auto; }
	.hero__photo img { object-position: 60% 50%; }
	.hero__wash { background: linear-gradient(180deg, rgba(251,247,239,.96) 0%, rgba(251,247,239,.86) 46%, rgba(251,247,239,.35) 70%, rgba(251,247,239,.9) 100%); }
	.hero__inner { padding-top: 36px; }
	.hero__title { min-height: 3.1em; }
	.hero__actions .btn { width: 100%; }
	.book-shelf { height: 250px; margin: 36px -16px 0; padding: 0 16px; overflow-x: auto; overflow-y: visible; scroll-snap-type: x mandatory; padding-top: 40px; }
	.book-shelf::after { display: none; }
	.book { --h: 210px !important; width: 78px; flex: none; scroll-snap-align: start; border-radius: 8px 8px 4px 4px; }
	.book__title { font-size: 14px; max-height: 160px; }
	.book__ribbon { height: 80px; right: 10px; width: 12px; }
	.section-head { flex-direction: column; align-items: flex-start; gap: 18px; }
	.stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
	.stat { padding: 22px 18px; }
	.stat__num { font-size: 32px; }
	.stat p { font-size: 14px; }
	.cards-grid, .cards-grid--2, .cards-grid--4, .story-grid, .news-grid, .event-grid, .tiles, .steps--row, .contact-cards { grid-template-columns: 1fr; }
	.event { grid-template-columns: 64px 1fr; padding: 20px; gap: 14px; }
	.event__date { width: 64px; height: 72px; }
	.event__date b { font-size: 28px; }
	.tgu-form__grid { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; gap: 28px; }
	.cta-band { flex-direction: column; align-items: flex-start; }
	.vac-filters { grid-template-columns: 1fr 1fr; }
	.vac-filters .btn { grid-column: 1 / -1; }
	.story-hero__grid { grid-template-columns: 1fr; }
	.story-hero__photo { max-width: 100%; transform: none; }
	.prose { font-size: 16.5px; }
	.prose .grid-cards, .prose .team { grid-template-columns: 1fr; }
	.page-hero__wash::after { width: 90vw; opacity: .14; }
	.search-mini input { min-width: 0; width: 140px; }
	.support-card { border-radius: 20px; }
}
