/*
Theme Name: ЦИР ННГУ
Theme URI: https://cir-new.unn.ru/
Author: Университет Лобачевского
Description: Лендинг Центра инновационного развития ННГУ на основе визуальной системы «Приоритет 2030».
Version: 1.0.0
Text Domain: cir-unn
*/

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

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

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

@font-face {
    font-family: "Montserrat";
    src: url("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: #ffffff;
    --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: 84px;
}

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,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    letter-spacing: -0.035em;
    line-height: 1.12;
}

h1 {
    font-size: clamp(2.45rem, 5.4vw, 5.5rem);
}

h2 {
    margin-bottom: 22px;
    font-size: clamp(2rem, 4vw, 4.1rem);
}

h3 {
    font-size: clamp(1.15rem, 1.6vw, 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-inline: 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, 0.18);
    transition: background 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.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, 0.94);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(16px);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 17px;
    color: var(--white);
}

.brand img {
    width: 156px;
    height: auto;
}

.brand__divider {
    width: 1px;
    height: 34px;
    background: rgba(255, 255, 255, 0.45);
}

.brand__name {
    font-size: 1.18rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.site-menu {
    display: flex;
    align-items: center;
    gap: clamp(18px, 2.3vw, 38px);
}

.site-menu a {
    position: relative;
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.045em;
    text-transform: uppercase;
}

.site-menu a::after {
    position: absolute;
    right: 0;
    bottom: -9px;
    left: 0;
    height: 2px;
    content: "";
    background: var(--cyan-400);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.site-menu a:hover::after,
.site-menu a:focus-visible::after {
    transform: scaleX(1);
}

.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    padding: 11px;
    border: 1px solid rgba(255, 255, 255, 0.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 0.2s ease, opacity 0.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: end;
    min-height: min(800px, 82svh);
    overflow: hidden;
    color: var(--white);
    background: var(--navy-950);
}

.hero__image,
.hero__shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero__image {
    object-fit: cover;
    object-position: center;
}

.hero__shade {
    background:
        linear-gradient(90deg, rgba(3, 16, 42, 0.94) 0%, rgba(3, 22, 54, 0.76) 42%, rgba(4, 29, 69, 0.25) 72%, rgba(4, 29, 69, 0.08) 100%),
        linear-gradient(0deg, rgba(3, 16, 42, 0.82) 0%, transparent 48%);
}

.hero__content {
    position: relative;
    z-index: 2;
    margin-bottom: clamp(85px, 12vh, 145px);
}

.hero__content h1 {
    width: min(900px, 68vw);
    margin: 0 0 26px;
    font-size: clamp(2.45rem, 3.6vw, 3.67rem);
    text-wrap: balance;
}

.hero__content p {
    max-width: 700px;
    margin-bottom: 34px;
    color: rgba(255, 255, 255, 0.84);
    font-size: clamp(1rem, 1.65vw, 1.35rem);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero__scroll {
    position: absolute;
    z-index: 3;
    right: 4vw;
    bottom: 34px;
    display: grid;
    width: 50px;
    height: 70px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.45);
    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: 0.4; }
    50% { transform: translateY(8px); opacity: 1; }
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--cyan-400);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.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;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-align: center;
    text-transform: uppercase;
    border-radius: 999px;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.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, 0.35);
}

.button--ghost {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.06);
}

.button--ghost:hover {
    background: rgba(255, 255, 255, 0.14);
}

.button--light {
    color: var(--navy-900);
    background: var(--white);
}

.section {
    position: relative;
    padding: clamp(85px, 10vw, 150px) 0;
}

.section--light {
    background: var(--white);
}

.section--soft {
    background: var(--soft);
}

.section--navy {
    overflow: hidden;
    color: var(--white);
    background:
        radial-gradient(circle at 88% 12%, rgba(44, 200, 255, 0.16), transparent 30%),
        radial-gradient(circle at 10% 90%, rgba(20, 104, 232, 0.32), transparent 34%),
        var(--navy-950);
}

.section--blueprint {
    overflow: hidden;
    background-color: #f6faff;
    background-image:
        linear-gradient(rgba(18, 104, 232, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(18, 104, 232, 0.04) 1px, transparent 1px);
    background-size: 42px 42px;
}

.section-heading {
    max-width: 920px;
    margin-bottom: clamp(42px, 6vw, 78px);
}

.section-heading h2 {
    margin-top: 14px;
}

.section-heading > p {
    max-width: 760px;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 1.08rem;
}

.section-heading--full,
.section-heading--full > p {
    width: 100%;
    max-width: none;
}

.section-heading--light > p {
    color: rgba(255, 255, 255, 0.68);
}

.section-heading--row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    max-width: none;
    gap: 30px;
}

.section-heading--row h2 {
    margin-bottom: 0;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
    gap: clamp(34px, 6vw, 90px);
    align-items: center;
}

.lead {
    color: var(--ink);
    font-size: clamp(1.3rem, 2.3vw, 2rem);
    font-weight: 600;
    line-height: 1.42;
}

.about-copy > p:last-child {
    max-width: 760px;
    color: var(--muted);
    font-size: 1.08rem;
}

.goal-card {
    position: relative;
    overflow: hidden;
    padding: clamp(34px, 5vw, 58px);
    color: var(--white);
    background: linear-gradient(150deg, var(--navy-900), var(--blue-600));
    box-shadow: var(--shadow);
    border-radius: var(--radius-lg);
}

.goal-card::after {
    position: absolute;
    right: -70px;
    bottom: -85px;
    width: 210px;
    height: 210px;
    content: "";
    border: 32px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.goal-card__number {
    display: block;
    margin-bottom: 60px;
    color: var(--cyan-400);
    font-weight: 700;
}

.goal-card p {
    position: relative;
    z-index: 1;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.78);
}

.stats-section {
    padding-bottom: clamp(70px, 8vw, 110px);
}

.stats-section__heading {
    margin-bottom: clamp(38px, 4vw, 58px);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.stat-card {
    position: relative;
    min-height: 190px;
    overflow: hidden;
    padding: 32px 34px;
    border: 1px solid rgba(84, 205, 255, 0.28);
    background:
        radial-gradient(circle at 95% 5%, rgba(54, 200, 255, 0.18), transparent 36%),
        linear-gradient(145deg, rgba(18, 108, 232, 0.88), rgba(7, 57, 135, 0.74));
    box-shadow: 0 18px 46px rgba(0, 10, 35, 0.28);
    border-radius: 24px;
}

.stat-card::after {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 28px;
    height: 28px;
    content: "";
    border-top: 1px solid rgba(124, 221, 255, 0.72);
    border-right: 1px solid rgba(124, 221, 255, 0.72);
}

.stat-card__value,
.stat-card p {
    position: relative;
    z-index: 1;
}

.stat-card__value {
    display: flex;
    align-items: baseline;
    margin-bottom: 18px;
    gap: 10px;
    color: var(--white);
    font-size: clamp(2.7rem, 4vw, 4.25rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 0.92;
}

.stat-card__value small {
    font-size: 1rem;
    letter-spacing: 0;
    text-transform: uppercase;
}

.stat-card p {
    max-width: 310px;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.45;
}

.stats-note {
    display: flex;
    align-items: center;
    margin-top: 20px;
    padding: 24px 30px;
    gap: 22px;
    border: 1px solid rgba(84, 205, 255, 0.22);
    background: rgba(8, 56, 130, 0.54);
    border-radius: 24px;
}

.stats-note svg {
    width: 54px;
    flex: 0 0 54px;
    color: var(--cyan-400);
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.5;
}

.stats-note p {
    max-width: 940px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.05rem;
    line-height: 1.5;
}

.wide-visual {
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.24);
    border-radius: var(--radius-lg);
}

.wide-visual img {
    width: 100%;
}

.wide-visual--white {
    padding: clamp(8px, 1.5vw, 22px);
    border-color: rgba(7, 58, 131, 0.1);
    background: var(--white);
    box-shadow: var(--shadow);
}

.focus-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.focus-card {
    position: relative;
    display: flex;
    min-height: 390px;
    overflow: hidden;
    flex-direction: column;
    padding: 32px;
    border: 1px solid rgba(18, 104, 232, 0.13);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 14px 38px rgba(6, 40, 95, 0.07);
    border-radius: var(--radius-md);
    transition: transform 0.25s ease, color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.focus-card::before {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(145deg, var(--navy-900), var(--blue-600));
    opacity: 0;
    transition: opacity 0.25s ease;
}

.focus-card > * {
    position: relative;
    z-index: 1;
}

.focus-card:hover,
.focus-card:focus-visible {
    color: var(--white);
    box-shadow: 0 28px 70px rgba(6, 40, 95, 0.23);
    transform: translateY(-9px);
}

.focus-card:hover::before,
.focus-card:focus-visible::before {
    opacity: 1;
}

.focus-card__icon {
    display: grid;
    width: 68px;
    height: 68px;
    margin-bottom: 44px;
    place-items: center;
    color: var(--blue-600);
    border: 1px solid rgba(18, 104, 232, 0.18);
    background: #edf5ff;
    font-size: 0.92rem;
    font-weight: 800;
    border-radius: 50%;
}

.focus-card__number {
    position: absolute;
    top: 28px;
    right: 28px;
    color: var(--blue-600);
    font-size: 0.82rem;
    font-weight: 700;
}

.focus-card:hover .focus-card__number,
.focus-card:focus-visible .focus-card__number {
    color: var(--cyan-400);
}

.focus-card h3 {
    margin-bottom: 16px;
}

.focus-card p {
    margin-bottom: 28px;
    color: var(--muted);
    font-size: 0.93rem;
}

.focus-card:hover p,
.focus-card:focus-visible p {
    color: rgba(255, 255, 255, 0.72);
}

.focus-card__link {
    margin-top: auto;
    color: var(--blue-600);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
}

.focus-card:hover .focus-card__link,
.focus-card:focus-visible .focus-card__link {
    color: var(--cyan-400);
}

.direction-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.direction-card {
    position: relative;
    min-height: 410px;
    overflow: hidden;
    padding: 34px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035));
    border-radius: var(--radius-md);
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.direction-card:hover,
.direction-card:focus-visible {
    border-color: rgba(44, 200, 255, 0.55);
    background: linear-gradient(145deg, rgba(42, 123, 255, 0.3), rgba(255, 255, 255, 0.07));
    transform: translateY(-8px);
}

.direction-card__number {
    position: absolute;
    top: 28px;
    right: 30px;
    color: rgba(255, 255, 255, 0.36);
    font-weight: 700;
}

.direction-card__illustration {
    display: block;
    width: min(100%, 240px);
    height: 152px;
    margin-bottom: 24px;
    color: #d9f2ff;
}

.direction-card__illustration svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
    transition: transform 0.25s ease;
}

.service-art__accent {
    color: var(--cyan-400);
}

.service-art__fill {
    fill: currentColor;
    fill-opacity: 0.12;
}

.service-art__orbit {
    fill: var(--blue-500);
    fill-opacity: 0.13;
}

.direction-card:hover .direction-card__illustration svg,
.direction-card:focus-visible .direction-card__illustration svg {
    transform: translateY(-4px);
}

.direction-card h3 {
    padding-right: 24px;
}

.direction-card p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.92rem;
}

.direction-card__arrow {
    position: absolute;
    right: 28px;
    bottom: 22px;
    color: var(--cyan-400);
    font-size: 2rem;
    transition: transform 0.2s ease;
}

.direction-card:hover .direction-card__arrow {
    transform: translateX(6px);
}

.text-link {
    color: var(--blue-600);
    font-weight: 700;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.news-card {
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--white);
    box-shadow: 0 12px 38px rgba(6, 40, 95, 0.08);
    border-radius: var(--radius-md);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.news-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-7px);
}

.news-card__media {
    display: block;
    aspect-ratio: 16 / 9;
    background-color: var(--navy-900);
    background-position: center;
    background-size: cover;
}

.news-card__media--empty {
    background:
        radial-gradient(circle at 78% 20%, rgba(44, 200, 255, 0.35), transparent 25%),
        linear-gradient(145deg, var(--navy-900), var(--blue-600));
}

.news-card__body {
    padding: 26px;
}

.news-card time {
    display: block;
    margin-bottom: 14px;
    color: var(--blue-600);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.news-card h2,
.news-card h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.news-card p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.notice-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 35px;
    gap: 30px;
    background: var(--soft);
    border-radius: var(--radius-md);
}

.notice-card p {
    margin: 0;
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.partner-card {
    position: relative;
    min-height: 250px;
    overflow: hidden;
    padding: 28px;
    border: 1px solid rgba(7, 58, 131, 0.1);
    background: var(--white);
    border-radius: var(--radius-md);
    outline: none;
}

.partner-card__mark {
    display: grid;
    width: 86px;
    height: 86px;
    margin-bottom: 28px;
    place-items: center;
    color: var(--navy-900);
    background: var(--soft);
    font-size: 0.85rem;
    font-weight: 800;
    text-align: center;
    border-radius: 50%;
}

.partner-card h3 {
    margin-bottom: 0;
    font-size: 1.05rem;
}

.partner-card p {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: end;
    margin: 0;
    padding: 28px;
    color: var(--white);
    background: linear-gradient(155deg, var(--navy-900), var(--blue-600));
    font-size: 0.91rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.partner-card:hover p,
.partner-card:focus p {
    opacity: 1;
    transform: translateY(0);
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.person-card {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    align-items: center;
    padding: clamp(26px, 4vw, 42px);
    gap: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
}

.person-card__photo {
    display: grid;
    width: 120px;
    height: 120px;
    place-items: center;
    color: var(--white);
    background:
        radial-gradient(circle at 70% 20%, rgba(44, 200, 255, 0.55), transparent 25%),
        linear-gradient(145deg, var(--navy-900), var(--blue-600));
    font-size: 2rem;
    font-weight: 800;
    border-radius: 50%;
}

.person-card__photo--alt {
    background:
        radial-gradient(circle at 70% 20%, rgba(134, 214, 255, 0.55), transparent 25%),
        linear-gradient(145deg, #0b477f, #1590c7);
}

.person-card__role {
    color: var(--blue-600);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.person-card h3 {
    margin: 8px 0 12px;
}

.person-card p {
    color: var(--muted);
    font-size: 0.9rem;
}

.person-card__links {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 18px;
    color: var(--blue-600);
    font-size: 0.88rem;
    font-weight: 600;
}

.section--contacts {
    color: var(--white);
    background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(360px, 0.7fr) minmax(520px, 1.3fr);
    align-items: stretch;
    gap: 6vw;
}

.contact-copy {
    padding-bottom: clamp(80px, 9vw, 130px);
}

.contact-copy h2 {
    margin-top: 14px;
}

.contact-copy > p {
    max-width: 560px;
    color: rgba(255, 255, 255, 0.7);
}

.contact-copy dl {
    display: grid;
    margin: 45px 0 0;
    gap: 26px;
}

.contact-copy dl > div {
    display: grid;
    grid-template-columns: 105px 1fr;
    gap: 20px;
}

.contact-copy dt {
    color: var(--cyan-400);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-copy dd {
    margin: 0;
}

.contact-map {
    min-height: 580px;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 580px;
    border: 0;
    filter: saturate(0.8) contrast(1.03);
}

.site-footer {
    padding: 70px 0 26px;
    color: rgba(255, 255, 255, 0.7);
    background: #021025;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 0.7fr 1fr;
    gap: 70px;
}

.site-footer__grid > div {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
}

.site-footer__grid strong {
    margin-bottom: 7px;
    color: var(--white);
}

.brand--footer {
    margin-bottom: 12px;
}

.site-footer__grid p {
    max-width: 480px;
}

.site-footer__grid a:hover {
    color: var(--cyan-400);
}

.site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 55px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.82rem;
}

.direction-page__hero {
    position: relative;
    display: flex;
    align-items: end;
    min-height: 660px;
    overflow: hidden;
    padding: 170px 0 90px;
    color: var(--white);
    background:
        radial-gradient(circle at 82% 26%, rgba(44, 200, 255, 0.22), transparent 28%),
        linear-gradient(135deg, var(--navy-950), var(--blue-700));
}

.direction-page__hero::before {
    position: absolute;
    top: -180px;
    right: -90px;
    width: 600px;
    height: 600px;
    content: "";
    border: 80px solid rgba(255, 255, 255, 0.04);
    border-radius: 50%;
}

.direction-page__hero .container {
    position: relative;
}

.direction-page__hero h1 {
    max-width: 980px;
    margin: 18px 0 22px;
}

.direction-page__hero p {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.15rem;
}

.back-link {
    display: block;
    margin-bottom: 54px;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 600;
}

.direction-page__number {
    position: absolute;
    right: 0;
    bottom: -52px;
    color: rgba(255, 255, 255, 0.08);
    font-size: clamp(10rem, 22vw, 21rem);
    font-weight: 800;
    line-height: 0.7;
}

.direction-page__content {
    display: grid;
    grid-template-columns: 1fr 0.86fr;
    gap: clamp(45px, 8vw, 120px);
}

.direction-page__content h2 {
    font-size: clamp(1.8rem, 3vw, 3rem);
}

.direction-page__list {
    padding: 38px;
    background: var(--soft);
    border-radius: var(--radius-md);
}

.direction-page__list ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.direction-page__list li {
    position: relative;
    padding: 17px 0 17px 28px;
    border-bottom: 1px solid rgba(7, 58, 131, 0.1);
}

.direction-page__list li::before {
    position: absolute;
    top: 25px;
    left: 2px;
    width: 8px;
    height: 8px;
    content: "";
    background: var(--blue-600);
    border-radius: 50%;
}

.direction-cta {
    padding: 80px 0;
    color: var(--white);
    background: linear-gradient(135deg, var(--blue-700), #0f9fdf);
}

.direction-cta .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.direction-cta h2 {
    max-width: 820px;
    margin: 12px 0 0;
}

.generic-page {
    padding-top: 160px;
}

.documents-page__hero {
    position: relative;
    overflow: hidden;
    padding: clamp(190px, 18vw, 260px) 0 clamp(80px, 9vw, 125px);
    color: var(--white);
    background:
        radial-gradient(circle at 84% 22%, rgba(44, 200, 255, 0.22), transparent 28%),
        linear-gradient(135deg, var(--navy-950), var(--blue-700));
}

.documents-page__hero::after {
    position: absolute;
    right: -110px;
    bottom: -300px;
    width: 560px;
    height: 560px;
    content: "";
    border: 80px solid rgba(255, 255, 255, 0.045);
    border-radius: 50%;
}

.documents-page__hero .container {
    position: relative;
    z-index: 1;
}

.documents-page__hero h1 {
    margin: 16px 0 22px;
    font-size: clamp(3.4rem, 7vw, 7rem);
}

.documents-page__hero p {
    max-width: 780px;
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: clamp(1rem, 1.6vw, 1.22rem);
    line-height: 1.7;
}

.documents-page__section {
    padding: clamp(48px, 6vw, 82px) 0;
}

.documents-grid {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 14px;
}

.document-card {
    display: grid;
    min-height: 0;
    padding: 24px;
    grid-template-columns: 54px minmax(0, 1fr);
    align-items: start;
    gap: 18px;
    color: var(--navy-950);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: 0 18px 48px rgba(7, 32, 72, 0.07);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.document-card:hover,
.document-card:focus-visible {
    border-color: rgba(18, 108, 232, 0.42);
    box-shadow: 0 24px 58px rgba(7, 58, 131, 0.13);
    transform: translateY(-4px);
}

.document-card__icon {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    color: var(--white);
    background: linear-gradient(145deg, var(--navy-900), var(--blue-600));
    border-radius: 50%;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.document-card__body {
    display: flex;
    min-height: 0;
    flex-direction: column;
}

.document-card__meta {
    margin-bottom: 8px;
    color: var(--blue-600);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.045em;
    line-height: 1.45;
    text-transform: uppercase;
}

.document-card strong {
    font-size: clamp(0.96rem, 1.25vw, 1.12rem);
    line-height: 1.36;
}

.document-card__action {
    margin-top: 8px;
    padding-top: 0;
    color: var(--blue-600);
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
}

.container--narrow {
    max-width: 960px;
}

.news-archive__heading {
    max-width: 900px;
    margin-bottom: clamp(42px, 6vw, 72px);
}

.news-archive__heading h1 {
    margin: 12px 0 20px;
    font-size: clamp(2.8rem, 6vw, 5.8rem);
}

.news-archive__heading p {
    max-width: 760px;
    margin: 0;
    color: var(--muted);
    font-size: clamp(1rem, 1.4vw, 1.16rem);
}

.news-pagination {
    display: flex;
    justify-content: center;
    margin-top: 54px;
    gap: 8px;
}

.news-pagination .page-numbers {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: var(--blue-600);
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: 50%;
    font-weight: 700;
}

.news-pagination .page-numbers.current,
.news-pagination a.page-numbers:hover {
    color: var(--white);
    border-color: var(--blue-600);
    background: var(--blue-600);
}

.news-single__article > time {
    display: block;
    margin: 22px 0 14px;
    color: var(--blue-600);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.news-single__article h1 {
    margin-bottom: clamp(34px, 5vw, 56px);
    font-size: clamp(2.3rem, 5vw, 4.8rem);
}

.news-single__back {
    color: var(--blue-600);
    font-weight: 700;
}

.news-single__cover {
    margin: 0 0 clamp(34px, 5vw, 56px);
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.news-single__cover img {
    width: 100%;
}

.news-single__content {
    color: var(--ink);
    font-size: clamp(1rem, 1.3vw, 1.12rem);
    line-height: 1.8;
}

.news-single__content p,
.news-single__content ul,
.news-single__content ol {
    margin-bottom: 1.5em;
}

.news-single__content a {
    color: var(--blue-600);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.news-single__content img {
    margin: 32px auto;
    border-radius: var(--radius-md);
}

.archive-card {
    margin-bottom: 26px;
    padding: 30px;
    background: var(--soft);
    border-radius: var(--radius-md);
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1180px) {
    .site-menu {
        gap: 18px;
    }

    .site-menu a {
        font-size: 0.73rem;
    }

    .focus-grid,
    .partner-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .direction-grid,
    .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .leadership-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr 1.2fr;
    }
}

@media (max-width: 920px) {
    body.admin-bar .site-header {
        top: 46px;
    }

    .menu-toggle {
        display: block;
    }

    .documents-grid {
        grid-template-columns: 1fr;
    }

    .site-menu {
        position: fixed;
        z-index: 999;
        top: 78px;
        right: 0;
        left: 0;
        display: flex;
        align-items: flex-start;
        height: calc(100svh - 78px);
        padding: 70px 30px;
        flex-direction: column;
        gap: 28px;
        color: var(--white);
        background: rgba(3, 21, 47, 0.985);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-12px);
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    body.admin-bar .site-menu {
        top: 124px;
        height: calc(100svh - 124px);
    }

    .site-menu.is-open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .site-menu a {
        font-size: 1.15rem;
    }

    .about-grid,
    .direction-page__content {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-map,
    .contact-map iframe {
        min-height: 440px;
    }

    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .site-footer__grid > div:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 700px) {
    .container,
    .container-wide {
        width: min(100% - 30px, 1240px);
    }

    .documents-page__hero {
        padding-top: 170px;
    }

    .document-card {
        min-height: 0;
        padding: 20px;
        grid-template-columns: 46px minmax(0, 1fr);
        gap: 14px;
    }

    .document-card__icon {
        width: 46px;
        height: 46px;
        font-size: 0.66rem;
    }

    .document-card__body {
        min-height: 0;
    }

    .site-header__inner {
        min-height: 70px;
    }

    .brand img {
        width: 126px;
    }

    .brand__name {
        font-size: 0.95rem;
    }

    .brand__divider {
        height: 28px;
    }

    .hero {
        min-height: 720px;
    }

    .hero__image {
        object-position: 34% center;
    }

    .hero__shade {
        background: linear-gradient(0deg, rgba(3, 16, 42, 0.97) 4%, rgba(3, 20, 48, 0.78) 62%, rgba(3, 20, 48, 0.3) 100%);
    }

    .hero__content {
        margin-bottom: 44px;
    }

    .hero__content h1 {
        width: 100%;
        font-size: clamp(2.05rem, 10vw, 3.2rem);
    }

    .hero__content p {
        font-size: 0.98rem;
    }

    .hero__actions,
    .hero__actions .button {
        width: 100%;
    }

    .hero__scroll {
        display: none;
    }

    .section-heading--row,
    .direction-cta .container,
    .notice-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .focus-grid,
    .stats-grid,
    .direction-grid,
    .news-grid,
    .partner-grid,
    .site-footer__grid {
        grid-template-columns: 1fr;
    }

    .focus-card {
        min-height: 340px;
    }

    .stat-card {
        min-height: 0;
        padding: 28px;
    }

    .stats-note {
        align-items: flex-start;
        padding: 24px;
        flex-direction: column;
    }

    .person-card {
        grid-template-columns: 1fr;
    }

    .person-card__photo {
        width: 100px;
        height: 100px;
    }

    .contact-copy dl > div {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .contact-map,
    .contact-map iframe {
        min-height: 360px;
    }

    .site-footer__grid > div:first-child {
        grid-column: auto;
    }

    .site-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .direction-page__hero {
        min-height: 600px;
        padding-top: 145px;
    }

    .direction-page__number {
        bottom: 10px;
        font-size: 10rem;
    }

    .direction-page__list {
        padding: 26px;
    }
}

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

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
