/*
Theme Name: Беловские чтения
Theme URI: https://belread.unn.ru/
Author: Университет Лобачевского
Description: Тема XXXV научных чтений имени академика Н.В. Белова.
Version: 1.0.9
Requires at least: 6.0
Requires PHP: 5.6
Text Domain: belread-conference
*/

@font-face {
    font-family: "Montserrat";
    src: url("assets/fonts/Montserrat-Regular.woff") format("woff");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat";
    src: url("assets/fonts/Montserrat-SemiBold.woff") format("woff");
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat";
    src: url("assets/fonts/Montserrat-Bold.woff") format("woff");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: "Montserrat";
    src: url("assets/fonts/Montserrat-ExtraBold.woff") format("woff");
    font-style: normal;
    font-weight: 800;
    font-display: swap;
}

:root {
    --navy-950: #03152f;
    --navy-900: #06285f;
    --navy-800: #073a83;
    --blue-700: #0b55c8;
    --blue-600: #1268e8;
    --blue-500: #2a7bff;
    --cyan-400: #2cc8ff;
    --ink: #10233f;
    --muted: #5e708a;
    --line: #dce8f8;
    --soft: #eef5fd;
    --white: #fff;
    --danger: #a51d31;
    --success: #127557;
    --shadow: 0 24px 70px rgba(6, 40, 95, 0.14);
    --radius-lg: 30px;
    --radius-md: 20px;
    --radius-sm: 12px;
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.62;
    text-rendering: optimizeLegibility;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { letter-spacing: -0.035em; line-height: 1.12; }
h1 { font-size: clamp(2.45rem, 5vw, 5.25rem); }
h2 { margin-bottom: 22px; font-size: clamp(2rem, 4vw, 4rem); }
h3 { font-size: clamp(1.15rem, 1.7vw, 1.55rem); }

.screen-reader-text,
.skip-link {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.skip-link:focus {
    z-index: 10000;
    top: 12px;
    left: 12px;
    width: auto;
    height: auto;
    padding: 12px 18px;
    clip: auto;
    color: var(--navy-900);
    background: var(--white);
    border-radius: 8px;
}

.container,
.container-wide {
    width: min(100% - 48px, 1240px);
    margin-right: auto;
    margin-left: auto;
}

.container-wide { width: min(100% - 48px, 1500px); }
.site-main { min-height: 70vh; }

.site-header {
    position: fixed;
    z-index: 1000;
    top: 0;
    right: 0;
    left: 0;
    color: var(--white);
    border-bottom: 1px solid rgba(255,255,255,.16);
    background: rgba(3,21,47,.35);
    transition: background .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
}

body.admin-bar .site-header { top: 32px; }

.site-header.is-scrolled,
.site-header.menu-active,
body:not(.home) .site-header {
    background: rgba(3,21,47,.95);
    box-shadow: 0 12px 35px rgba(0,0,0,.18);
    backdrop-filter: blur(16px);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 82px;
    gap: 28px;
}

.brand { display: inline-flex; align-items: center; flex: 0 0 auto; gap: 13px; }
.brand__mark { width: 52px; height: 52px; border: 2px solid rgba(255,255,255,.8); object-fit: cover; border-radius: 50%; }
.brand__copy { display: grid; line-height: 1.12; }
.brand__copy strong { font-size: 1rem; font-weight: 800; letter-spacing: .035em; text-transform: uppercase; }
.brand__copy small { margin-top: 5px; color: rgba(255,255,255,.65); font-size: .68rem; font-weight: 600; letter-spacing: .055em; text-transform: uppercase; }

.site-menu { --menu-gap: clamp(20px, 1.6vw, 28px); display: flex; align-items: center; gap: var(--menu-gap); }
.site-menu a { position: relative; white-space: nowrap; font-size: .74rem; font-weight: 700; letter-spacing: .035em; text-transform: uppercase; }
.site-menu a + a::before { position: absolute; top: 50%; left: calc(var(--menu-gap) / -2); width: 1px; height: 14px; background: rgba(255,255,255,.22); content: ""; transform: translateY(-50%); pointer-events: none; }
.site-menu a:not(.site-menu__account)::after { position: absolute; right: 0; bottom: -9px; left: 0; height: 2px; content: ""; background: var(--cyan-400); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.site-menu a:hover::after,
.site-menu a:focus-visible::after { transform: scaleX(1); }
.site-menu a.is-placeholder { color: rgba(255,255,255,.5); cursor: default; }
.site-menu__account { padding: 10px 16px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; }
.site-menu__account:hover { background: rgba(255,255,255,.1); }

.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    padding: 11px;
    border: 1px solid rgba(255,255,255,.28);
    color: inherit;
    background: transparent;
    border-radius: 50%;
}

.menu-toggle > span:not(.screen-reader-text) { display: block; height: 2px; margin: 5px 0; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero {
    position: relative;
    display: grid;
    align-items: center;
    min-height: min(880px, 92vh);
    overflow: hidden;
    color: var(--white);
    background:
        radial-gradient(circle at 82% 24%, rgba(44,200,255,.22), transparent 27%),
        radial-gradient(circle at 20% 95%, rgba(42,123,255,.28), transparent 32%),
        linear-gradient(125deg, #021127 0%, #052b63 56%, #084c9d 100%);
}

.hero__grid { position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(rgba(255,255,255,.3) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.3) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(90deg, transparent, #000 35%, #000); }
.hero__grid::after { position: absolute; top: 10%; right: 5%; width: 38vw; height: 38vw; content: ""; border: 1px solid rgba(255,255,255,.5); transform: rotate(45deg); }
.hero__orb { position: absolute; border: 1px solid rgba(94,214,255,.25); border-radius: 50%; }
.hero__orb--one { top: 8%; right: -12%; width: 620px; height: 620px; }
.hero__orb--two { right: 22%; bottom: -18%; width: 360px; height: 360px; }
.hero__layout { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0,1.35fr) minmax(320px,.65fr); align-items: center; gap: clamp(45px,8vw,130px); padding-top: 120px; padding-bottom: 70px; }
.hero__content h1 { max-width: 930px; margin: 18px 0 22px; font-size: clamp(2.45rem, 4.25vw, 4.65rem); text-transform: uppercase; text-wrap: balance; }
.hero__meta { margin-bottom: 15px; color: var(--cyan-400); font-size: clamp(1.2rem, 2vw, 1.7rem); font-weight: 700; letter-spacing: .04em; }
.hero__lead { max-width: 730px; margin-bottom: 35px; color: rgba(255,255,255,.76); font-size: clamp(1rem,1.4vw,1.25rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__emblem { position: relative; display: grid; justify-items: center; align-content: center; min-height: 510px; }
.hero__emblem img { position: relative; z-index: 2; width: min(390px, 88%); border: 12px solid rgba(255,255,255,.14); box-shadow: 0 35px 100px rgba(0,0,0,.35); border-radius: 50%; }
.hero__emblem-ring { position: absolute; width: 500px; height: 500px; border: 1px solid rgba(92,218,255,.35); border-radius: 50%; }
.hero__emblem-ring::before,
.hero__emblem-ring::after { position: absolute; inset: 32px; content: ""; border: 1px dashed rgba(255,255,255,.2); border-radius: inherit; }
.hero__emblem-ring::after { inset: 84px; border-style: solid; }
.hero__emblem span { position: absolute; z-index: 3; right: 0; bottom: 40px; padding: 12px 19px; color: var(--navy-950); background: var(--cyan-400); font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; border-radius: 999px; transform: rotate(-4deg); }
.hero__scroll { position: absolute; z-index: 3; right: 4vw; bottom: 30px; display: grid; width: 48px; height: 68px; place-items: center; border: 1px solid rgba(255,255,255,.4); border-radius: 30px; }
.hero__scroll span { width: 5px; height: 12px; background: var(--cyan-400); border-radius: 8px; animation: scroll-dot 1.8s ease-in-out infinite; }
@keyframes scroll-dot { 0%,100% { transform: translateY(-8px); opacity: .4; } 50% { transform: translateY(8px); opacity: 1; } }

.eyebrow { display: inline-flex; align-items: center; gap: 11px; color: var(--cyan-400); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { width: 34px; height: 2px; content: ""; background: currentColor; }
.eyebrow--blue { color: var(--blue-600); }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 26px; border: 1px solid transparent; cursor: pointer; font-size: .84rem; font-weight: 700; letter-spacing: .03em; text-align: center; text-transform: uppercase; border-radius: 999px; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button--primary { color: var(--white); background: linear-gradient(135deg,var(--blue-500),#0ab7ef); box-shadow: 0 13px 34px rgba(16,112,232,.35); }
.button--ghost { color: var(--white); border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.06); }
.button--ghost:hover { background: rgba(255,255,255,.14); }
.button--light { color: var(--navy-900); background: var(--white); }
.button--dark { color: var(--white); background: var(--navy-900); }

.section { position: relative; padding: clamp(82px,9vw,140px) 0; }
.section--light { background: var(--white); }
.section--navy { overflow: hidden; color: var(--white); background: radial-gradient(circle at 88% 12%, rgba(44,200,255,.16), transparent 30%), radial-gradient(circle at 10% 90%, rgba(20,104,232,.32), transparent 34%), var(--navy-950); }
.section--blueprint { overflow: hidden; background-color: #f6faff; background-image: linear-gradient(rgba(18,104,232,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(18,104,232,.04) 1px, transparent 1px); background-size: 42px 42px; }
.section-heading { max-width: 920px; margin-bottom: clamp(42px,6vw,76px); }
.section-heading h2 { margin-top: 14px; }
.section-heading > p { max-width: 760px; margin-bottom: 0; color: var(--muted); font-size: 1.08rem; }
.section-heading--light > p { color: rgba(255,255,255,.7); }
.section--blueprint .section-heading,
.section--blueprint .section-heading > p { max-width: none; }

.about-grid { display: grid; grid-template-columns: minmax(320px,.72fr) minmax(0,1.28fr); align-items: center; gap: clamp(45px,8vw,115px); }
.portrait-card { position: relative; }
.portrait-card::before { position: absolute; top: -22px; right: -22px; bottom: 80px; left: 42px; content: ""; background-color: var(--soft); background-image: linear-gradient(rgba(18,104,232,.07) 1px, transparent 1px), linear-gradient(90deg,rgba(18,104,232,.07) 1px,transparent 1px); background-size: 32px 32px; border-radius: var(--radius-lg); }
.portrait-card__frame { position: relative; overflow: hidden; aspect-ratio: 4/5; background: #dfe5e8; box-shadow: var(--shadow); border-radius: var(--radius-lg); }
.portrait-card__frame img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.portrait-card__caption { position: relative; display: grid; width: calc(100% - 34px); margin: -48px 0 0 34px; padding: 24px 28px; color: var(--white); background: linear-gradient(135deg,var(--navy-900),var(--blue-600)); box-shadow: 0 18px 40px rgba(6,40,95,.22); border-radius: var(--radius-md); }
.portrait-card__caption strong { font-size: 1.05rem; }
.portrait-card__caption span { margin-top: 5px; color: rgba(255,255,255,.7); font-size: .83rem; }
.about-copy h2 { margin-top: 14px; }
.lead { font-size: clamp(1.16rem,1.85vw,1.58rem); font-weight: 600; line-height: 1.48; }
.feature-row { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 42px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-row > div { display: grid; padding: 24px 18px; border-right: 1px solid var(--line); }
.feature-row > div:first-child { padding-left: 0; }
.feature-row > div:last-child { border-right: 0; }
.feature-row span { margin-bottom: 5px; color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.feature-row strong { font-size: .95rem; }

.publication-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.dark-card { position: relative; min-height: 270px; overflow: hidden; padding: 34px; border: 1px solid rgba(84,205,255,.25); background: linear-gradient(145deg,rgba(18,108,232,.8),rgba(7,57,135,.66)); box-shadow: 0 18px 46px rgba(0,10,35,.25); border-radius: 24px; }
.dark-card::after { position: absolute; right: -50px; bottom: -70px; width: 170px; height: 170px; content: ""; border: 28px solid rgba(255,255,255,.06); border-radius: 50%; }
.dark-card > span { display: inline-block; margin-bottom: 54px; color: var(--cyan-400); font-weight: 800; }
.dark-card h3 { margin-bottom: 13px; }
.dark-card p { position: relative; z-index: 1; margin: 0; color: rgba(255,255,255,.72); }

.timeline { display: grid; grid-template-columns: repeat(5,1fr); gap: 14px; }
.timeline-card { position: relative; min-height: 260px; padding: 25px; border: 1px solid var(--line); background: rgba(255,255,255,.92); box-shadow: 0 16px 45px rgba(6,40,95,.08); border-radius: var(--radius-md); }
.timeline-card::before { position: absolute; top: 0; right: 24px; left: 24px; height: 3px; content: ""; background: linear-gradient(90deg,var(--blue-600),var(--cyan-400)); }
.timeline-card time { display: grid; margin: 22px 0 38px; }
.timeline-card time strong { color: var(--blue-600); font-size: 3.7rem; font-weight: 800; line-height: .9; }
.timeline-card time span { margin-top: 8px; color: var(--muted); font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.timeline-card p { margin: 0; font-size: .93rem; font-weight: 600; line-height: 1.5; }

.committee-layout { display: grid; grid-template-columns: minmax(0,.76fr) minmax(0,1.24fr); gap: clamp(45px,8vw,110px); }
.committee-layout .section-heading { margin-bottom: 0; }
.committee-layout .button { margin-top: 30px; }
.committee-cards { display: grid; gap: 15px; }
.person-card { position: relative; padding: 28px 32px 28px 44px; border: 1px solid var(--line); background: var(--white); box-shadow: 0 12px 38px rgba(6,40,95,.07); border-radius: var(--radius-md); }
.person-card::before { position: absolute; top: 26px; bottom: 26px; left: 0; width: 4px; content: ""; background: linear-gradient(var(--cyan-400),var(--blue-600)); border-radius: 0 5px 5px 0; }
.person-card > span { color: var(--blue-600); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.person-card h3 { margin: 8px 0 6px; }
.person-card h3 a:hover { color: var(--blue-600); }
.person-card p { margin: 0; color: var(--muted); font-size: .92rem; }

.cta-section { color: var(--white); background: var(--soft); }
.cta-card { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(300px,.75fr); align-items: center; gap: 45px; padding: clamp(42px,6vw,76px); background: radial-gradient(circle at 90% 15%,rgba(44,200,255,.18),transparent 30%),linear-gradient(135deg,var(--navy-950),var(--navy-800)); box-shadow: var(--shadow); border-radius: var(--radius-lg); }
.cta-card h2 { margin: 15px 0 18px; font-size: clamp(2rem,3.4vw,3.5rem); }
.cta-card p { max-width: 760px; margin: 0; color: rgba(255,255,255,.7); }
.cta-card__actions { display: grid; gap: 13px; }

.page-hero { padding: 180px 0 86px; color: var(--white); background: radial-gradient(circle at 82% 15%,rgba(44,200,255,.2),transparent 28%),linear-gradient(125deg,var(--navy-950),var(--navy-800)); }
.page-hero--compact { padding-bottom: 65px; }
.page-hero h1 { max-width: 1050px; margin: 15px 0 0; font-size: clamp(2.45rem,5vw,4.7rem); }
.page-content-section { padding-top: clamp(60px,7vw,105px); }
.content-shell { max-width: 1060px; }
.content-shell > :first-child { margin-top: 0; }
.content-shell h2 { margin: 58px 0 20px; font-size: clamp(1.75rem,3vw,2.75rem); }
.content-shell h3 { margin: 38px 0 15px; }
.content-shell p, .content-shell li { color: #263d5d; }
.content-shell a:not(.button):not(.wpabstracts) { color: var(--blue-600); text-decoration: underline; text-underline-offset: 3px; }
.content-shell ul, .content-shell ol { padding-left: 24px; }
.content-shell li { margin-bottom: 10px; }
.content-shell hr { margin: 45px 0; border: 0; border-top: 1px solid var(--line); }
.content-shell .button { color: var(--white); text-decoration: none; }
.info-card { margin: 28px 0; padding: 28px 32px; border-left: 4px solid var(--blue-600); background: var(--soft); border-radius: 0 var(--radius-md) var(--radius-md) 0; }
.warning-card { margin: 28px 0; padding: 28px 32px; border: 1px solid #f1c7ce; color: #6d1725; background: #fff5f6; border-radius: var(--radius-md); }
.committee-list { display: grid; gap: 12px; padding: 0 !important; list-style: none; counter-reset: members; }
.committee-list li { position: relative; margin: 0; padding: 19px 22px 19px 66px; border: 1px solid var(--line); background: #fff; border-radius: var(--radius-sm); counter-increment: members; }
.committee-list li::before { position: absolute; top: 17px; left: 20px; color: var(--blue-600); content: counter(members, decimal-leading-zero); font-size: .78rem; font-weight: 800; }
.contact-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; }
.contact-card { padding: 28px; border: 1px solid var(--line); background: var(--white); border-radius: var(--radius-md); }
.contact-card span { display: block; margin-bottom: 9px; color: var(--blue-600); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.department-history { overflow-wrap: break-word; }
.department-history > p { margin: 0 0 24px; line-height: 1.85; }
.department-history > h2 { margin: 42px 0 30px; font-size: clamp(1.55rem,3vw,2.3rem); line-height: 1.3; }
.department-quote { max-width: 760px; margin: 0 0 36px auto; padding: 26px 30px; border-left: 3px solid var(--cyan-400); background: var(--soft); }
.department-quote p { margin: 0 0 12px; font-size: 1.06rem; }
.department-quote cite { display: block; color: var(--navy-800); font-size: .86rem; font-style: normal; text-align: right; }
.department-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; gap: 28px; margin: 38px 0; }
.department-figure, .department-archive { margin: 38px 0; }
.department-gallery > .department-figure, .department-archive > .department-gallery { margin: 0; }
.department-history figure a, .department-gallery > a { display: block; min-width: 0; }
.department-history figure img { display: block; max-width: 100%; width: auto; height: auto; max-height: 780px; margin: 0 auto; object-fit: contain; border-radius: 8px; }
.department-history figcaption { margin-top: 15px; color: #4d617d; font-size: .86rem; line-height: 1.7; }
.department-gallery--portraits .department-figure { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-md); }
.department-gallery--portraits img { width: 100%; height: 300px; border-radius: 5px; }
.department-figure--portrait { display: grid; grid-template-columns: minmax(140px,240px) minmax(0,1fr); align-items: center; gap: 28px; max-width: 800px; margin-left: auto; margin-right: auto; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-md); }
.department-figure--portrait img { max-height: 340px; }
.department-figure--portrait figcaption { margin-top: 0; }
@media (max-width: 640px) {
    .department-gallery { grid-template-columns: minmax(0,1fr); gap: 24px; }
    .department-figure--portrait { grid-template-columns: minmax(0,1fr); gap: 18px; }
    .department-figure--portrait img { max-width: 240px; }
    .department-gallery--portraits img { height: auto; max-height: 340px; }
    .department-quote { padding: 22px; }
}

.site-footer { color: var(--white); background: var(--navy-950); }
.footer-grid { display: grid; grid-template-columns: 1.45fr .55fr .8fr; gap: 70px; padding-top: 70px; padding-bottom: 62px; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-brand { display: flex; align-items: center; gap: 22px; }
.footer-brand img { width: 92px; height: 92px; border: 2px solid rgba(255,255,255,.35); object-fit: cover; border-radius: 50%; }
.footer-brand strong { display: block; max-width: 520px; font-size: 1.05rem; }
.footer-brand p, .footer-grid p { margin: 8px 0 0; color: rgba(255,255,255,.58); font-size: .84rem; }
.footer-title { margin-bottom: 5px; color: var(--cyan-400); font-size: .75rem; letter-spacing: .09em; text-transform: uppercase; }
.footer-grid a { color: rgba(255,255,255,.72); font-size: .88rem; }
.footer-grid a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 22px; padding-bottom: 22px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.45); font-size: .75rem; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

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

@media (max-width: 1280px) {
    .site-header, .site-header.is-scrolled, .site-header.menu-active, body:not(.home) .site-header { backdrop-filter: none; }
    .menu-toggle { display: block; }
    .site-menu { position: fixed; z-index: 999; top: 82px; right: 0; bottom: 0; display: flex; width: min(440px,100%); padding: 38px 30px; overflow-y: auto; background: rgba(3,21,47,.985); box-shadow: -20px 35px 60px rgba(0,0,0,.25); flex-direction: column; align-items: stretch; gap: 0; transform: translateX(105%); transition: transform .25s ease; }
    body.admin-bar .site-menu { top: 114px; }
    .site-menu.is-open { transform: translateX(0); }
    .site-menu a { flex-shrink: 0; white-space: normal; padding: 15px 5px; border-bottom: 1px solid rgba(255,255,255,.1); font-size: .87rem; }
    .site-menu a + a::before, .site-menu a::after { display: none; }
    .site-menu__account { margin-top: 20px; text-align: center; }
}

@media (max-width: 1180px) {
    .hero__layout { grid-template-columns: minmax(0,1.15fr) minmax(280px,.85fr); }
    .hero__emblem { min-height: 430px; }
    .timeline { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 900px) {
    .hero { min-height: auto; }
    .hero__layout { grid-template-columns: 1fr; padding-top: 155px; padding-bottom: 100px; }
    .hero__content h1 { max-width: 760px; }
    .hero__emblem { display: none; }
    .hero__scroll { display: none; }
    .about-grid, .committee-layout, .cta-card { grid-template-columns: 1fr; }
    .portrait-card { width: min(520px,100%); }
    .publication-grid { grid-template-columns: 1fr; }
    .dark-card { min-height: 220px; }
    .dark-card > span { margin-bottom: 30px; }
    .timeline { grid-template-columns: repeat(2,1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1/-1; }
}

@media (max-width: 620px) {
    body.admin-bar .site-header { top: 46px; }
    .container, .container-wide { width: min(100% - 30px,1240px); }
    .site-header__inner { min-height: 74px; }
    .brand__mark { width: 44px; height: 44px; }
    .brand__copy strong { font-size: .8rem; }
    .brand__copy small { display: none; }
    .menu-toggle { width: 43px; height: 43px; }
    .site-menu { top: 74px; }
    body.admin-bar .site-menu { top: 120px; }
    .hero__layout { padding-top: 128px; }
    .hero__content h1 { font-size: clamp(2.05rem,10vw,3.2rem); }
    .hero__actions, .hero__actions .button { width: 100%; }
    .section { padding: 72px 0; }
    .feature-row { grid-template-columns: 1fr; }
    .feature-row > div { padding: 18px 0; border-right: 0; border-bottom: 1px solid var(--line); }
    .feature-row > div:last-child { border-bottom: 0; }
    .timeline { grid-template-columns: 1fr; }
    .timeline-card { min-height: 0; }
    .timeline-card time { margin-bottom: 25px; }
    .cta-card { padding: 32px 24px; border-radius: var(--radius-md); }
    .page-hero { padding: 145px 0 62px; }
    .content-shell h2 { margin-top: 42px; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 35px; padding-top: 50px; }
    .footer-brand { align-items: flex-start; }
    .footer-brand img { width: 68px; height: 68px; }
    .footer-bottom { gap: 16px; flex-direction: column; }
}
