@font-face {
    font-family: "Manrope";
    src: url("../fonts/manrope-cyrillic-400-normal.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: "Manrope";
    src: url("../fonts/manrope-latin-400-normal.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Manrope";
    src: url("../fonts/manrope-cyrillic-500-normal.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: "Manrope";
    src: url("../fonts/manrope-latin-500-normal.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Manrope";
    src: url("../fonts/manrope-cyrillic-600-normal.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: "Manrope";
    src: url("../fonts/manrope-latin-600-normal.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Manrope";
    src: url("../fonts/manrope-cyrillic-700-normal.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: "Manrope";
    src: url("../fonts/manrope-latin-700-normal.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Source Serif 4";
    src: url("../fonts/source-serif-4-cyrillic-400-normal.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: "Source Serif 4";
    src: url("../fonts/source-serif-4-latin-400-normal.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Source Serif 4";
    src: url("../fonts/source-serif-4-cyrillic-600-normal.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: "Source Serif 4";
    src: url("../fonts/source-serif-4-latin-600-normal.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --navy: #081D33;
    --navy-deep: #051525;
    --navy-soft: #0E283D;
    --milk: #F7F6F2;
    --paper: #FFFEFB;
    --graphite: #252A2D;
    --steel: #6E787E;
    --copper: #C24E14;
    --copper-soft: #C4896A;
    --line: rgba(8, 29, 51, 0.1);
    --line-on-dark: rgba(247, 246, 242, 0.1);
    --header-h: 76px;
    --container: 1180px;
    --radius: 12px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --hover: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    --display: "Source Serif 4", "Georgia", serif;
    --sans: "Manrope", "Segoe UI", system-ui, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 12px);
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--sans);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.65;
    color: var(--graphite);
    background: var(--milk);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    background: none;
    border: 0;
    cursor: pointer;
}

h1,
h2,
h3,
p,
ul,
figure {
    margin: 0;
}

h1,
h2,
h3 {
    font-weight: 600;
}

ul {
    padding: 0;
    list-style: none;
}

::selection {
    background: var(--navy);
    color: var(--milk);
}

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

.skip-link:focus {
    top: 12px;
}

.container {
    width: min(var(--container), calc(100% - 48px));
    margin: 0 auto;
}

.eyebrow,
.hero__index,
.section-index {
    margin: 0 0 18px;
    color: var(--copper);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.eyebrow--on-dark,
.section-index--on-dark {
    color: var(--copper);
}

.section-title {
    color: var(--milk);
    font-family: var(--display);
    font-size: clamp(32px, 4.2vw, 48px);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.12;
    text-wrap: balance;
}

.section-title--dark {
    color: var(--navy);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 26px;
    background: var(--navy);
    color: var(--milk);
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition:
        background var(--hover),
        color var(--hover),
        box-shadow var(--hover),
        transform var(--hover);
}

.btn--ghost {
    background: transparent;
    color: var(--navy);
    box-shadow: inset 0 0 0 1.5px var(--navy);
}

.btn:focus-visible,
.text-link:focus-visible,
.site-nav a:focus-visible,
.lang a:focus-visible,
.footer a:focus-visible {
    outline: 2px solid var(--copper);
    outline-offset: 3px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--navy);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: color var(--hover);
}

.text-link span {
    color: var(--copper);
    transition: transform var(--hover);
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-in {
    opacity: 1;
    transform: none;
}

html.nav-open .site-nav {
    overflow: hidden;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-h);
    border-bottom: 1px solid transparent;
    background: rgba(247, 246, 242, 0.72);
    backdrop-filter: blur(18px) saturate(1.4);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.site-header.is-scrolled {
    border-bottom-color: var(--line);
    background: rgba(247, 246, 242, 0.92);
}

.site-header__inner {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 28px;
    height: var(--header-h);
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--navy);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    white-space: nowrap;
    transition: opacity var(--hover);
}

.logo--on-dark {
    color: var(--milk);
}

.logo__mark {
    width: 8px;
    height: 8px;
    background: var(--copper);
    border-radius: 2px;
    flex-shrink: 0;
    transition: transform var(--hover);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.site-nav a {
    position: relative;
    color: var(--graphite);
    font-size: 14px;
    font-weight: 500;
    transition: color var(--hover);
}

.site-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 1px;
    background: var(--copper);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--hover);
}

.lang {
    position: relative;
    z-index: 110;
    display: grid;
    grid-template-columns: 1fr 1fr;
    isolation: isolate;
    padding: 3px;
    background: rgba(8, 29, 51, 0.06);
    border-radius: 999px;
}

.lang__thumb {
    position: absolute;
    z-index: 0;
    top: 3px;
    bottom: 3px;
    left: 3px;
    width: calc(50% - 3px);
    background: var(--navy);
    border-radius: 999px;
    transition: transform 0.35s var(--ease);
}

.lang.is-en .lang__thumb {
    transform: translateX(100%);
}

.lang a {
    position: relative;
    z-index: 1;
    padding: 6px 12px;
    color: var(--steel);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-align: center;
    text-transform: uppercase;
    transition: color var(--hover);
}

.lang a.is-active {
    color: var(--milk);
}

.lang__sep {
    display: none;
}

.nav-close {
    display: none;
}

.nav-toggle {
    display: none;
    position: relative;
    z-index: 110;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    color: var(--navy);
}

.nav-toggle__bars {
    position: relative;
    display: block;
    width: 22px;
    height: 14px;
}

.nav-toggle__bars span {
    position: absolute;
    left: 0;
    top: 6px;
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--navy);
    border-radius: 1px;
    transition: transform 0.35s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle__bars span:nth-child(1) { transform: translateY(-6px); }
.nav-toggle__bars span:nth-child(2) { transform: translateY(0); }
.nav-toggle__bars span:nth-child(3) { transform: translateY(6px); }

body.nav-open .nav-toggle__bars span:nth-child(1) {
    transform: rotate(45deg);
}

body.nav-open .nav-toggle__bars span:nth-child(2) {
    opacity: 0;
}

body.nav-open .nav-toggle__bars span:nth-child(3) {
    transform: rotate(-45deg);
}

/* Hero */

.hero {
    padding: 72px 0 96px;
}

.hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.82fr);
    gap: 72px;
    align-items: center;
}

.hero__name {
    max-width: 11ch;
    color: var(--navy);
    font-family: var(--display);
    font-size: clamp(40px, 5.6vw, 68px);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.06;
    text-wrap: balance;
}

.hero__lead {
    max-width: 38em;
    margin-top: 28px;
    color: var(--steel);
    font-size: 18px;
    line-height: 1.7;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 36px;
}

.hero__visual {
    position: relative;
    margin: 0;
}

.hero__visual::before {
    content: "";
    position: absolute;
    top: 16px;
    left: -16px;
    right: 16px;
    bottom: -16px;
    background: var(--navy);
    z-index: 0;
}

.hero__photo {
    position: relative;
    z-index: 1;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #d8d2c8;
}

.hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 12%;
    transition: transform 0.8s var(--ease);
}

@media (min-width: 1101px) {
    .hero {
        box-sizing: border-box;
        min-height: calc(100svh - var(--header-h));
        padding: 36px 0 52px;
        display: flex;
        align-items: center;
    }

    .hero__grid {
        width: min(var(--container), calc(100% - 48px));
        align-items: center;
    }

    .hero__visual {
        display: block;
        width: fit-content;
        max-width: 100%;
        margin-left: auto;
        max-height: calc(100svh - var(--header-h) - 88px);
    }

    .hero__photo {
        width: min(100%, calc((100svh - var(--header-h) - 88px) * 0.8));
        max-height: calc(100svh - var(--header-h) - 88px);
        height: auto;
        aspect-ratio: 4 / 5;
    }
}

/* About */

.about {
    position: relative;
    padding: 108px 0;
    background: var(--navy);
    color: var(--milk);
}

.about__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 64px;
    align-items: start;
}

.about__text {
    max-width: 40em;
    margin-top: 22px;
    color: rgba(247, 246, 242, 0.76);
    font-size: 17px;
}

.about__text p + p {
    margin-top: 14px;
}

.about__expertise-label {
    margin: 36px 0 16px;
    color: rgba(247, 246, 242, 0.42);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.expertise {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.expertise li {
    padding: 8px 14px;
    border: 1px solid var(--line-on-dark);
    border-radius: 999px;
    color: var(--milk);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: border-color var(--hover), background var(--hover), color var(--hover);
}

.facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.fact {
    padding: 28px 26px 30px;
    background: rgba(247, 246, 242, 0.04);
    border: 1px solid var(--line-on-dark);
    border-radius: var(--radius);
    transition: border-color var(--hover), background var(--hover), transform var(--hover);
}

.fact__value {
    color: var(--copper);
    font-family: var(--display);
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1;
}

.fact__label {
    margin-top: 8px;
    color: var(--milk);
    font-size: 14px;
    font-weight: 600;
}

.fact__text {
    margin-top: 10px;
    color: rgba(247, 246, 242, 0.62);
    font-size: 14px;
    line-height: 1.55;
}

/* Audience */

.audience {
    padding: 108px 0;
    background: #eef1f4;
    background: color-mix(in srgb, var(--navy) 5%, var(--milk));
}

.audience__title {
    margin: 0 0 48px;
    color: var(--navy);
    font-family: var(--display);
    font-size: clamp(32px, 4.2vw, 48px);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.12;
    text-align: left;
    text-wrap: balance;
}

.audience__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 40px;
    align-items: stretch;
}

.audience-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--paper);
    border-radius: var(--radius);
    box-shadow: 0 16px 40px rgba(8, 29, 51, 0.08);
}

.audience-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 72px;
    padding: 20px 28px;
    background: #d5dce4;
    background: color-mix(in srgb, var(--navy) 14%, var(--milk));
}

.audience-card__name {
    margin: 0;
    color: var(--navy);
    font-size: clamp(18px, 1.8vw, 22px);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.audience-card__list {
    margin: 0;
    padding: 8px 50px 0;
    list-style: none;
}

.audience-card__list li {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    color: var(--graphite);
    font-size: 16px;
    line-height: 1.5;
}

.audience-card__list li:last-child {
    border-bottom: 0;
}

.audience-card__btn {
    align-self: stretch;
    margin: 20px 50px 28px;
    box-sizing: border-box;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 12px;
}

.audience__visual {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius);
    background: #d8d2c8;
    min-height: 420px;
}

.audience__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 12%;
}

/* Theses */

.theses {
    padding: 108px 0;
}

.theses--alt {
    background: #eef1f4;
    background: color-mix(in srgb, var(--navy) 5%, var(--milk));
}

.theses__title {
    margin: 0 0 48px;
    color: var(--navy);
    font-family: var(--display);
    font-size: clamp(32px, 4.2vw, 48px);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.12;
    text-align: left;
    text-wrap: balance;
}

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

.thesis {
    padding: 28px 28px 32px;
    background: var(--paper);
    border-radius: var(--radius);
    border-left: 4px solid var(--copper);
    box-shadow: 0 16px 40px rgba(8, 29, 51, 0.06);
    transition: box-shadow var(--hover), transform var(--hover);
}

.thesis__title {
    margin: 0;
    color: var(--navy);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.thesis__text {
    margin-top: 10px;
    color: var(--graphite);
    font-size: 15px;
    line-height: 1.5;
}

/* Publications */

.pubs {
    padding: 108px 0 120px;
}

.section-head {
    margin-bottom: 52px;
}

.section-head__row {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 0.42fr);
    gap: 40px;
    align-items: end;
}

.section-head__intro {
    color: var(--steel);
    font-size: 16px;
}

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

.pub-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: border-color var(--hover), transform var(--hover), box-shadow var(--hover);
}

.pub-card__cover {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background:
        linear-gradient(145deg, rgba(194, 78, 20, 0.18), transparent 42%),
        linear-gradient(160deg, #081D33 0%, #14344D 100%);
}

.pub-card__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease);
}

.pub-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px 22px 24px;
}

.pub-card__title {
    color: var(--navy);
    font-family: var(--display);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.28;
}

.pub-card__title a {
    transition: color var(--hover);
}

.pub-card__lead {
    flex: 1;
    margin-top: 12px;
    color: var(--steel);
    font-size: 14.5px;
    line-height: 1.6;
}

.pub-card__link {
    margin-top: 18px;
}

/* Footer */

.footer {
    padding: 96px 0 36px;
    background: var(--navy-deep);
    color: var(--milk);
}

.footer .logo {
    margin-bottom: 36px;
}

.footer__title {
    margin: 0 0 40px;
    color: var(--milk);
    font-family: var(--display);
    font-size: clamp(32px, 4.2vw, 48px);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px 64px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--line-on-dark);
}

.footer__contacts {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer__item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.footer__kicker {
    color: rgba(247, 246, 242, 0.4);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    transition: color var(--hover);
}

.footer__value {
    color: var(--milk);
    font-family: var(--display);
    font-size: clamp(16px, 1.6vw, 20px);
    font-weight: 400;
    letter-spacing: -0.03em;
    line-height: 1.2;
    transition: color var(--hover);
}

.footer__profiles {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.footer__profiles ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer__profiles a {
    color: var(--milk);
    font-size: 15px;
    font-weight: 500;
    border-bottom: 1px solid rgba(247, 246, 242, 0.2);
    padding-bottom: 2px;
    transition: color var(--hover), border-color var(--hover);
}

.footer__bottom {
    padding-top: 24px;
    color: rgba(247, 246, 242, 0.38);
    font-size: 13px;
}

.not-found {
    padding: 120px 0 80px;
}

.not-found h1 {
    margin: 0 0 28px;
    color: var(--navy);
    font-family: var(--display);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 600;
    letter-spacing: -0.03em;
}

/* Responsive */

@media (max-width: 1100px) {
    .hero {
        padding: 48px 0 72px;
        overflow: hidden;
    }

    .hero__grid,
    .about__grid,
    .audience__grid,
    .section-head__row {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .hero__grid {
        max-width: 560px;
        width: min(100%, calc(100% - 48px));
        margin-inline: auto;
        justify-items: center;
    }

    .hero__content {
        width: 100%;
        text-align: left;
    }

    .hero__actions {
        justify-content: flex-start;
    }

    .hero__visual {
        order: -1;
        width: min(100%, 400px);
        max-width: 400px;
        justify-self: center;
    }

    .hero__visual::before {
        top: 12px;
        left: -12px;
        right: 12px;
        bottom: -12px;
    }

    .hero__photo {
        width: 100%;
        aspect-ratio: 4 / 5;
        height: auto;
        max-height: none;
    }

    .hero__img {
        width: 100%;
        height: 100%;
        aspect-ratio: 4 / 5;
        object-fit: cover;
    }

    .hero__name {
        max-width: none;
    }

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

@media (max-width: 860px) {
    :root {
        --header-h: 64px;
    }

    .container {
        width: min(var(--container), calc(100% - 48px));
    }

    .site-header__inner {
        grid-template-columns: 1fr auto auto;
        gap: 12px;
    }

    .nav-toggle {
        display: inline-flex;
        order: 3;
    }

    .lang {
        order: 2;
    }

    .site-header {
        background: var(--milk);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .logo {
        position: relative;
        z-index: 2;
    }

    .site-nav {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 200;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 6px;
        width: 100vw;
        height: 100dvh;
        padding: calc(var(--header-h) + 24px) 32px 48px;
        background: var(--milk);
        visibility: hidden;
        pointer-events: none;
        transform: translate3d(-100%, 0, 0);
        transition: transform 0.55s var(--ease), visibility 0s linear 0.55s;
        overflow: hidden;
        overscroll-behavior: none;
        touch-action: none;
        backface-visibility: hidden;
    }

    body.nav-open .site-nav {
        visibility: visible;
        pointer-events: auto;
        transform: translate3d(0, 0, 0);
        transition: transform 0.55s var(--ease), visibility 0s;
    }

    .nav-close {
        display: flex;
        position: absolute;
        top: 10px;
        right: max(8px, env(safe-area-inset-right, 0px));
        z-index: 2;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        color: var(--navy);
    }

    .nav-close__icon,
    .nav-close__icon::before {
        display: block;
        width: 22px;
        height: 1.5px;
        background: currentColor;
        border-radius: 1px;
    }

    .nav-close__icon {
        position: relative;
        transform: rotate(45deg);
    }

    .nav-close__icon::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        transform: rotate(90deg);
    }

    .site-nav > a {
        width: auto;
        padding: 10px 0;
        color: var(--navy);
        font-family: var(--display);
        font-size: clamp(32px, 8vw, 44px);
        font-weight: 600;
        letter-spacing: -0.03em;
        line-height: 1.2;
    }

    .site-nav > a::after {
        display: none;
    }

    .logo {
        font-size: 11px;
        letter-spacing: 0.06em;
        white-space: normal;
        max-width: 46vw;
        line-height: 1.3;
    }

    .hero {
        padding: 36px 0 64px;
    }

    .hero__visual {
        width: min(100%, 360px);
        max-width: 360px;
        justify-self: center;
    }

    .hero__grid {
        max-width: 480px;
        width: min(100%, calc(100% - 48px));
    }

    .hero__lead {
        font-size: 16px;
    }

    .about,
    .audience,
    .theses,
    .pubs,
    .footer {
        padding: 72px 0;
    }

    .facts,
    .pubs__grid {
        grid-template-columns: 1fr;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .audience__visual {
        min-height: 360px;
        max-width: 480px;
        width: 100%;
        justify-self: center;
    }

    .audience-card__list {
        padding-left: 25px;
        padding-right: 25px;
    }

    .audience-card__btn {
        width: auto;
        align-self: stretch;
        margin-left: 25px;
        margin-right: 25px;
        box-sizing: border-box;
    }
}

@media (max-width: 560px) {
    .hero__name {
        font-size: 34px;
    }

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

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

    .hero__actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn {
        width: 100%;
    }

    .audience-card__btn {
        width: auto;
    }
}

@media (hover: hover) and (pointer: fine) {
    .btn:hover {
        background: var(--navy-soft);
        transform: translateY(-2px);
        box-shadow: 0 12px 28px rgba(8, 29, 51, 0.16);
    }

    .btn--ghost:hover {
        background: var(--navy);
        color: var(--milk);
        box-shadow: inset 0 0 0 1.5px var(--navy), 0 12px 28px rgba(8, 29, 51, 0.12);
    }

    .text-link:hover {
        color: var(--copper);
    }

    .text-link:hover span {
        transform: translateX(5px);
    }

    .logo:hover .logo__mark {
        transform: scale(1.2);
    }

    .site-nav a:hover {
        color: var(--navy);
    }

    .site-nav a:hover::after {
        transform: scaleX(1);
    }

    .lang a:not(.is-active):hover {
        color: var(--navy);
    }

    .hero__visual:hover .hero__img {
        transform: scale(1.045);
    }

    .expertise li:hover {
        border-color: var(--copper);
        background: rgba(194, 78, 20, 0.12);
    }

    .fact:hover {
        border-color: rgba(194, 78, 20, 0.4);
        background: rgba(247, 246, 242, 0.08);
        transform: translateY(-3px);
    }

    .pub-card:hover {
        border-color: rgba(194, 78, 20, 0.4);
        transform: translateY(-5px);
        box-shadow: 0 18px 40px rgba(8, 29, 51, 0.1);
    }

    .thesis:hover {
        transform: translateY(-5px);
        box-shadow: 0 18px 40px rgba(8, 29, 51, 0.1);
    }

    .pub-card:hover .pub-card__cover img {
        transform: scale(1.06);
    }

    .pub-card__title a:hover {
        color: var(--copper);
    }

    .footer__item:hover .footer__kicker {
        color: var(--copper-soft);
    }

    .footer__item:hover .footer__value {
        color: var(--copper-soft);
    }

    .footer__profiles a:hover {
        color: var(--copper-soft);
        border-bottom-color: var(--copper);
    }
}

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

    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }

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