/* ==========================================================================
   Design tokens
   ========================================================================== */

:root {
    --ink: #17152b;
    --muted: #696879;
    --paper: #f5f6f8;
    --paper-deep: #eceef2;
    --white: #fff;
    --line: rgba(23,21,43,.14);
    --magenta: #dc0874;
    --violet: #473398;
    --blue: #506fc6;
    --yellow: #ffd72e;
    --orange: #e95c0c;
    --max: clamp(1200px, 120vw, 1440px);
}

/* Base and accessibility */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    background: var(--paper);
    color: var(--ink);
    font-family: "DM Sans",sans-serif;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
}

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

.skip-link {
    background: var(--ink);
    color: #fff;
    left: 1rem;
    padding: .75rem 1rem;
    position: fixed;
    top: -5rem;
    z-index: 100;
}

.skip-link:focus {
    top: 1rem;
}

/* Header and navigation */

.site-header {
    background: linear-gradient(180deg,rgba(12,11,31,.72),rgba(12,11,31,0));
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    transition: background .3s,box-shadow .3s,backdrop-filter .3s;
}

.site-header.scrolled,.site-header.menu-active {
    background: rgba(18,16,42,.82);
    box-shadow: 0 10px 34px rgba(7,6,24,.2),0 1px 0 rgba(255,255,255,.09);
    backdrop-filter: blur(20px) saturate(135%);
    -webkit-backdrop-filter: blur(20px) saturate(135%);
}

.nav-shell {
    align-items: center;
    display: flex;
    height: 70px;
    justify-content: space-between;
    margin: auto;
    max-width: calc(var(--max) + 56px);
    padding: 0 28px;
}

.brand {
    width: 190px;
}

.brand img {
    height: 58px;
    object-fit: contain;
    object-position: left center;
    width: 100%;
}

.desktop-nav {
    align-items: center;
    background: rgba(255,255,255,.075);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 999px;
    display: flex;
    gap: 4px;
    padding: 5px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08),0 8px 24px rgba(7,6,24,.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.desktop-nav a {
    border-radius: 999px;
    color: var(--white);
    font-size: .92rem;
    font-weight: 600;
    padding: 9px 15px;
    text-decoration: none;
    transition: background .25s,color .25s,transform .25s,box-shadow .25s;
}

.desktop-nav a:not(.nav-home) {
    position: relative;
}

.desktop-nav a:not(.nav-home)::after {
    display: none;
}

.desktop-nav a:not(.nav-home):hover {
    background: rgba(255,255,255,.12);
    transform: translateY(-1px);
}

.desktop-nav a.active {
    background: rgba(215,8,116,.9);
    box-shadow: 0 6px 16px rgba(215,8,116,.24);
}

.nav-home {
    align-items: center;
    background: linear-gradient(110deg,#d70874,#c74559 55%,#e78545);
    border: 1px solid rgba(255,255,255,.2);
    display: inline-flex;
    height: 37px;
    justify-content: center;
    margin-left: 5px;
    padding: 0 !important;
    width: 37px;
    box-shadow: 0 7px 18px rgba(199,69,89,.24);
}

.nav-home svg {
    fill: none;
    height: 17px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    width: 17px;
}

.nav-home:hover {
    background: var(--white);
    border-color: var(--white);
    color: var(--ink);
    transform: translateY(-1px);
    box-shadow: 0 9px 22px rgba(7,6,24,.2);
}

.menu-toggle,.mobile-menu {
    display: none;
}

/* Hero */

.hero {
    align-items: flex-start;
    background: #100e22 url("assets/banner-quantum.webp") center/cover no-repeat;
    color: var(--white);
    display: flex;
    min-height: 500px;
    overflow: hidden;
    padding: 100px max(28px,calc((100vw - var(--max))/2)) 45px;
    position: relative;
}

.hero::after {
    background: linear-gradient(90deg, rgba(10, 9, 28, .22), rgba(10, 9, 28, .03) 60%, rgba(10, 9, 28, .08));
    content: "";
    inset: 0;
    opacity: 1;
    position: absolute;
}

.hero-content {
    max-width: 920px;
    position: relative;
    z-index: 2;
    
    /* Negative = closer to nav; positive = farther away */
    transform: translateY(0);
}

.eyebrow {
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.hero h1 {
    color: #fff;
    font-family: Manrope,sans-serif;
    font-size: clamp(3rem,3.5vw,3.6rem);
    font-weight: 700;
    letter-spacing: -.04em;
    line-height: .96;
    margin: 0 0 32px;
}

.hero h1 .hero-accent {
    background: linear-gradient(100deg,#c74559 0%,#ffd45c 33%,#62c99a 66%,#62a8e5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.hero h1 .hero-accent-light {
    background: none;
    -webkit-text-fill-color: #d76576;
    color: #d76576;
}

.hero h1 .hero-accent-lightest {
    background: none;
    -webkit-text-fill-color: #7bb8ea;
    color: #7bb8ea;
}

.hero-copy {
    color: rgba(255, 255, 255, .72);
    font-size: clamp(1.05rem,1.7vw,1.3rem);
    line-height: 1.65;
    max-width: 680px;
}

.hero-actions {
    align-items: center;
    display: flex;
    gap: 60px;
    margin-top: 50px;
}

.hero-actions .button {
    padding: 15px 24px 15px 32px;
}

.button {
    --button-accent: var(--white);
    align-items: center;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 13px;
    display: inline-flex;
    font-size: 1rem;
    font-weight: 700;
    gap: 30px;
    justify-content: space-between;
    letter-spacing: .01em;
    padding: 15px 20px 15px 32px;
    position: relative;
    text-decoration: none;
    transition: transform .25s,box-shadow .25s,background .25s,border-color .25s;
}

.button::before {
    background: var(--button-accent);
    border-radius: 999px;
    bottom: 11px;
    content: "";
    left: 11px;
    position: absolute;
    top: 11px;
    transition: background .25s;
    width: 3px;
}

.button span {
    font-size: 1.25rem;
}

.button:hover {
    transform: translateY(-2px);
}

.button:focus-visible {
    outline: 3px solid var(--yellow);
    outline-offset: 4px;
}

.button-primary {
    --button-accent: linear-gradient(180deg,var(--yellow),var(--magenta));
    background: rgba(220, 8, 116, .16);
    border-color: rgba(240, 107, 170, .62);
    box-shadow: none;
    color: var(--white);
}

.collaboration-button {
    --button-accent: linear-gradient(180deg,#ffffff,#c4b8ff);
    background: rgba(71, 51, 152, .22);
    border-color: rgba(141, 123, 211, .68);
    box-shadow: none;
}

.research-button:hover,
.collaboration-button:hover {
    --button-accent: var(--ink);
    background: var(--yellow);
    border-color: #ffe878;
    box-shadow: none;
    color: var(--ink);
}

.text-link {
    color: var(--white);
    font-size: .94rem;
    font-weight: 700;
    text-decoration: none;
}

.text-link span {
    color: var(--magenta);
    margin-left: 7px;
}

.hero-index {
    color: rgba(255, 255, 255, .72);
    align-items: center;
    bottom: 36px;
    display: flex;
    font-size: .85rem;
    font-weight: 700;
    gap: 20px;
    letter-spacing: .1em;
    position: absolute;
    right: max(28px,calc((100vw - var(--max))/2));
    text-transform: uppercase;
    z-index: 2;
}

/* Shared section structure */

.statement,.approach {
    margin: auto;
    max-width: calc(var(--max) + 56px);
    padding: 120px 28px;
}

.statement {
    padding-top: 50px;
    padding-bottom: 50px;
}

.section-label {
    border-top: 1px solid var(--line);
    display: flex;
    font-size: .7rem;
    font-weight: 700;
    justify-content: space-between;
    letter-spacing: .14em;
    padding-top: 14px;
    text-transform: uppercase;
}

.statement .section-label span {
    color: inherit;
}

.statement .section-label {
    font-size: 1rem;
    letter-spacing: .12em;
}

.section-label span:last-child {
    color: var(--magenta);
}

.section-label.light {
    border-color: rgba(255,255,255,.22);
    color: rgba(255,255,255,.58);
}

.section-label.light span:last-child {
    color: #f06baa;
}

.research .section-label,
.approach .section-label,
.approach .eyebrow {
    color: #f06baa;
    font-size: 1rem;
    letter-spacing: .12em;
}

.approach .section-label span {
    color: inherit;
}

.statement-grid {
    display: grid;
    gap: 4%;
    grid-template-columns: 1.4fr 1fr;
    margin-top: 30px;
}

.statement h2,.research h2,.approach h2,.collaboration h2 {
    font-family: Manrope,sans-serif;
    font-size: clamp(2.5rem,4.6vw,4.4rem);
    font-weight: 600;
    letter-spacing: -.055em;
    line-height: 1.08;
}

.statement h2,
.research h2,
.approach-intro h2,
.collaboration h2 {
    font-family: Manrope,sans-serif;
    font-size: clamp(2.5rem,3.5vw,3.06rem);
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1.2;
    max-width: 920px;
    text-align: left;
}

@media (min-width: 901px) {
    .statement h2,
    .research h2,
    .approach-intro h2,
    .collaboration h2 {
        font-size: clamp(2.25rem,3.15vw,2.75rem);
    }

    .people-hero h1 {
        font-size: clamp(2.55rem,2.975vw,3.06rem);
    }

    .statement-copy,
    .research-heading > p {
        left: -30px;
        position: relative;
        width: calc(100% + 30px);
    }

    .statement-copy p,
    .research-heading > p {
        font-size: 1.3rem;
    }
}

.research h2 .keep-line {
    white-space: nowrap;
}

.statement h2 em {
    color: var(--magenta);
    font-style: normal;
}

.statement h2 .team-accent {
    color: var(--violet);
}

.statement-copy {
    padding-top: 8px;
}

.statement-copy p {
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.75;
}

.statement-copy p+p {
    margin-top: 22px;
}

/* Research domains */

.research {
    background: var(--ink);
    color: #fff;
    padding: 50px max(28px,calc((100vw - var(--max))/2)) 60px;
}

.research-heading {
    align-items: start;
    display: grid;
    gap: 10%;
    grid-template-columns: 1.5fr 1.2fr;
    margin: 30px 0 60px;
}

.research-heading p {
    color: rgba(255, 255, 255, .68);
    font-size: 1.08rem;
    line-height: 1.75;
    padding-top: 8px;
}

.domain-grid {
    border-left: 1px solid rgba(255,255,255,.15);
    border-top: 1px solid rgba(255,255,255,.15);
    display: grid;
    grid-template-columns: repeat(3,1fr);
}

.domain-card {
    border-bottom: 1px solid rgba(255,255,255,.15);
    border-right: 1px solid rgba(255,255,255,.15);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 260px;
    padding: 28px;
    position: relative;
    transition: background .3s,color .3s,transform .3s;
}

.domain-card > div:last-child {
    margin-top: 30px;
}

.domain-card::before {
    background: linear-gradient(90deg,var(--magenta),var(--yellow),var(--violet));
    content: "";
    height: 3px;
    inset: -1px -1px auto;
    opacity: 1;
    position: absolute;
    transition: background .3s;
}

.domain-card:hover {
    background: #24213e;
    color: var(--white);
    transform: translateY(-4px);
}

.domain-card:hover::before {
    background: linear-gradient(90deg,#8f8d98,#c7c5cc,#777581);
}

.domain-top {
    align-items: flex-start;
    display: flex;
    justify-content: space-between;
}

.domain-code {
    color: #f78bbd;
    font-family: Manrope,sans-serif;
    font-size: 2.7rem;
    font-weight: 700;
    letter-spacing: -.06em;
    transition: color .3s;
}

.domain-card:hover .domain-code {
    color: #c7c5ce;
}

.domain-card h3 {
    font-family: Manrope,sans-serif;
    font-size: 1.35rem;
    letter-spacing: -.025em;
    margin-bottom: 12px;
}

.domain-card p {
    color: rgba(255,255,255,.57);
    font-size: 1.2rem;
    line-height: 1.65;
    transition: color .3s;
}

.domain-card:hover p {
    color: rgba(255,255,255,.7);
}

/* Research approach */

.approach {
    padding-top: 50px;
    padding-bottom: 50px;
}

.approach-layout {
    display: grid;
    gap: 10%;
    grid-template-columns: 1fr 1fr;
    margin-top: 15px;
}

.approach-intro h2 {
    margin: 20px 0 30px;
}

.approach-intro>p:last-child {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.75;
    max-width: 560px;
}

.approach-list {
    list-style: none;
}

.approach-list li {
    align-items: flex-start;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: 1fr;
    padding: 25px 0 28px;
}

.approach-list li:last-child {
    border-bottom: 1px solid var(--line);
}

.approach-list h3 {
    font-family: Manrope,sans-serif;
    font-size: 1.35rem;
    margin-bottom: 8px;
}

.approach-list li:nth-child(1) h3 {
    color: #473398;
}

.approach-list li:nth-child(2) h3 {
    color: #506fc6;
}

.approach-list li:nth-child(3) h3 {
    color: #c43b72;
}

.approach-list p {
    color: var(--muted);
    line-height: 1.6;
}

/* Collaboration call-to-action */

.collaboration {
    background: linear-gradient(125deg,#da0875,#7a228e 58%,#3a318e);
    color: #fff;
    min-height: 500px;
    overflow: hidden;
    padding: 50px max(28px,calc((100vw - var(--max))/2)) 50px;
    position: relative;
}

.collaboration::before {
    background: radial-gradient(circle,rgba(255,214,46,.32),transparent 55%);
    content: "";
    height: 700px;
    left: -250px;
    position: absolute;
    top: -340px;
    width: 700px;
}

.collaboration-content {
    max-width: 770px;
    position: relative;
    z-index: 2;
}

.collaboration .eyebrow {
    font-size: 1rem;
    letter-spacing: .12em;
}

.collaboration h2 {
    margin: 24px 0 28px;
}

.collaboration h2 span {
    color: var(--yellow);
}

.collaboration-content>p:not(.eyebrow) {
    color: rgba(255,255,255,.78);
    font-size: 1.05rem;
    line-height: 1.75;
    max-width: 560px;
}

.button-light {
    --button-accent: var(--yellow);
    background: rgba(255,255,255,.14);
    border-color: rgba(255,255,255,.58);
    box-shadow: none;
    color: var(--white);
    margin-top: 38px;
}

.button-light:hover {
    --button-accent: var(--ink);
    background: var(--yellow);
    border-color: #ffe878;
    box-shadow: none;
    color: var(--ink);
}

.collaboration-mark {
    bottom: -38%;
    opacity: .15;
    position: absolute;
    right: -11%;
    transform: rotate(-12deg);
    width: min(48vw,670px);
}

/* People page */

.people-hero {
    align-items: center;
    background:
        radial-gradient(circle at 78% 36%,rgba(80,111,198,.3),transparent 25%),
        radial-gradient(circle at 92% 82%,rgba(220,8,116,.17),transparent 28%),
        #100e22;
    color: var(--white);
    display: flex;
    min-height: 282px;
    overflow: hidden;
    padding: 75px max(28px,calc((100vw - var(--max))/2)) 40px;
    position: relative;
}

.people-hero-content {
    max-width: 820px;
    position: relative;
    z-index: 1;
}

.people-hero h1 {
    font-family: Manrope,sans-serif;
    font-size: clamp(3rem,3.5vw,3.6rem);
    font-weight: 700;
    letter-spacing: -.04em;
    line-height: .96;
}

.people-hero h1 span {
    background: linear-gradient(100deg,#c74559,#ffd45c 36%,#62c99a 67%,#62a8e5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.people-hero-mark {
    opacity: .12;
    position: absolute;
    right: max(20px,calc((100vw - var(--max))/2));
    transform: rotate(-12deg);
    width: min(31vw,410px);
}

.people-section {
    margin: auto;
    max-width: calc(var(--max) + 56px);
    padding: 37px 28px 112px;
}

.people-grid {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(2,minmax(0,1fr));
    margin-top: 0;
}

.person-card {
    --person-accent: var(--magenta);
    align-items: start;
    background: rgba(255,255,255,.72);
    border: 1px solid var(--line);
    border-radius: 18px;
    display: grid;
    gap: 24px;
    grid-template-columns: auto 1fr;
    overflow: hidden;
    padding: 30px;
    position: relative;
    transition: border-color .25s,box-shadow .25s,transform .25s;
}

.person-card::before {
    background: var(--person-accent);
    content: "";
    height: 4px;
    inset: 0 0 auto;
    position: absolute;
}

.person-card:hover {
    border-color: rgba(71,51,152,.25);
    box-shadow: 0 18px 46px rgba(23,21,43,.08);
    transform: translateY(-3px);
}

.person-card-yellow { --person-accent: var(--yellow); }
.person-card-green { --person-accent: #62c99a; }
.person-card-blue { --person-accent: #62a8e5; }
.person-card-manager { --person-accent: var(--violet); }

.person-monogram {
    align-items: center;
    background: var(--person-accent);
    border-radius: 50%;
    color: var(--white);
    display: flex;
    flex: 0 0 auto;
    font-family: Manrope,sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    height: 66px;
    justify-content: center;
    letter-spacing: .04em;
    width: 66px;
}

.person-card-yellow .person-monogram {
    color: var(--ink);
}

.person-role {
    color: var(--person-accent);
    font-size: clamp(1.18rem,1.4vw,1.34rem);
    font-weight: 800;
    letter-spacing: .06em;
    margin-bottom: 9px;
    text-transform: uppercase;
}

.person-details h3 {
    font-family: Manrope,sans-serif;
    font-size: clamp(1.35rem,2.1vw,1.75rem);
    letter-spacing: -.025em;
    line-height: 1.15;
}

.person-details>p:not(.person-role) {
    color: var(--muted);
    line-height: 1.55;
    margin-top: 11px;
}

.person-details a {
    align-items: center;
    background: rgba(71,51,152,.06);
    border: 1px solid rgba(71,51,152,.18);
    border-radius: 999px;
    color: var(--violet);
    display: inline-flex;
    font-size: .92rem;
    font-weight: 700;
    margin-top: 22px;
    padding: 9px 15px;
    text-decoration: none;
    transition: background .22s,border-color .22s,color .22s,transform .22s;
}

.person-details a:hover {
    background: var(--violet);
    border-color: var(--violet);
    color: var(--white);
    transform: translateY(-1px);
}

/* Vacancies page */

.vacancies-hero .people-hero-mark {
    opacity: .09;
}

.vacancies-section {
    min-height: 390px;
}

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

.vacancies-empty {
    background: rgba(255,255,255,.75);
    border: 1px solid var(--line);
    border-radius: 18px;
    max-width: 820px;
    padding: clamp(32px,5vw,58px);
    position: relative;
}

.vacancy-fwo::before {
    background: linear-gradient(90deg,#62a8e5,#62c99a,var(--yellow));
}

.vacancy-fwo .vacancies-status {
    color: var(--violet);
}

.vacancy-msca::before {
    background: linear-gradient(90deg,#62a8e5,var(--violet),var(--magenta));
}

.vacancy-msca .vacancies-status {
    color: #426fa9;
}

.vacancies-empty::before {
    background: linear-gradient(90deg,var(--magenta),var(--yellow),#62c99a,#62a8e5);
    border-radius: inherit;
    content: "";
    inset: 0;
    padding: 1.5px;
    pointer-events: none;
    position: absolute;
    -webkit-mask: linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
    mask-composite: exclude;
}

.vacancies-status {
    color: var(--magenta);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.vacancies-empty h2 {
    font-family: Manrope,sans-serif;
    font-size: clamp(1.9rem,3vw,1.96rem);
    letter-spacing: -.035em;
    line-height: 1.1;
    margin-top: 15px;
}

.vacancies-empty p {
    color: var(--muted);
    line-height: 1.7;
    margin-top: 18px;
    max-width: 650px;
}

.vacancies-empty a {
    align-items: center;
    background: rgba(71,51,152,.06);
    border: 1px solid rgba(71,51,152,.18);
    border-radius: 999px;
    color: var(--violet);
    display: inline-flex;
    font-size: .92rem;
    font-weight: 700;
    margin-top: 26px;
    padding: 10px 16px;
    text-decoration: none;
    transition: background .22s,border-color .22s,color .22s,transform .22s;
}

.vacancies-empty a:hover {
    background: var(--violet);
    border-color: var(--violet);
    color: var(--white);
    transform: translateY(-1px);
}

.vacancies-actions {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 26px;
}

.vacancies-actions a {
    margin-top: 0;
}

/* Footer */

.site-footer {
    background: var(--paper-deep);
    border-top: 1px solid rgba(71, 51, 152, .1);
    padding: 44px max(28px,calc((100vw - var(--max))/2)) 18px;
}

.footer-main {
    align-items: start;
    display: grid;
    gap: 32px;
    grid-template-columns: 1.05fr 1fr .55fr 1.15fr;
}

.footer-institution {
    max-width: 190px;
}

.footer-title {
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .13em;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.footer-address address {
    color: var(--muted);
    font-size: 1rem;
    font-style: normal;
    line-height: 1.55;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-links .footer-title {
    margin-bottom: 6px;
}

.footer-links a {
    color: var(--muted);
    font-size: 1rem;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--magenta);
}

.ua-logo {
    max-width: 180px;
    margin-bottom: 0;
}

.footer-contact a {
    align-items: center;
    color: var(--violet);
    display: flex;
    font-size: 1rem;
    gap: 10px;
    font-weight: 700;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.footer-contact a + a {
    margin-top: 8px;
}

.footer-contact-icon {
    align-items: center;
    background: rgba(71, 51, 152, .08);
    border: 1px solid rgba(71, 51, 152, .1);
    border-radius: 7px;
    display: inline-flex;
    fill: currentColor;
    flex: 0 0 26px;
    font-size: .95rem;
    font-weight: 800;
    height: 26px;
    justify-content: center;
    line-height: 26px;
    text-align: center;
    width: 26px;
}

svg.footer-contact-icon {
    padding: 5px;
}

.footer-contact a:hover {
    color: var(--magenta);
}

.footer-bottom {
    border-top: 1px solid var(--line);
    color: #83818c;
    display: flex;
    font-size: .8rem;
    align-items: center;
    gap: 30px;
    justify-content: space-between;
    margin-top: 34px;
    padding-top: 16px;
}

.footer-bottom a {
    color: var(--ink);
    font-weight: 700;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--magenta);
}

/* Responsive layouts */

@media (max-width: 900px) {
    .vacancies-grid {
        grid-template-columns: 1fr;
    }

    .desktop-nav {
        display: none;
    }

    .menu-toggle {
        align-items: center;
        background: rgba(255,255,255,.08);
        border: 1px solid rgba(255,255,255,.2);
        border-radius: 50%;
        box-shadow: inset 0 1px 0 rgba(255,255,255,.12),0 7px 20px rgba(7,6,24,.18);
        cursor: pointer;
        display: flex;
        flex-direction: column;
        gap: 5px;
        height: 44px;
        justify-content: center;
        padding: 0;
        transition: background .25s,border-color .25s,transform .25s;
        width: 44px;
    }

    .menu-toggle:hover {
        background: rgba(255,255,255,.16);
        border-color: rgba(255,255,255,.36);
    }

    .menu-toggle span {
        background: var(--white);
        border-radius: 999px;
        display: block;
        height: 2px;
        transition: transform .28s ease,width .28s ease;
        width: 19px;
    }

    .menu-toggle[aria-expanded=true] span:first-child {
        transform: translateY(3.5px) rotate(45deg);
    }

    .menu-toggle[aria-expanded=true] span:last-child {
        transform: translateY(-3.5px) rotate(-45deg);
    }

    .mobile-menu {
        background: rgba(23,21,43,.94);
        border: 1px solid rgba(255,255,255,.14);
        border-radius: 20px;
        box-shadow: 0 22px 55px rgba(7,6,24,.3),inset 0 1px 0 rgba(255,255,255,.08);
        backdrop-filter: blur(22px) saturate(135%);
        -webkit-backdrop-filter: blur(22px) saturate(135%);
        display: flex;
        flex-direction: column;
        inset: 82px 18px auto;
        opacity: 0;
        padding: 13px;
        pointer-events: none;
        position: fixed;
        transform: translateY(-12px) scale(.985);
        transform-origin: top right;
        transition: opacity .25s,transform .25s;
    }

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

    .mobile-menu a {
        border-radius: 12px;
        color: rgba(255,255,255,.86);
        font-family: Manrope,sans-serif;
        font-size: 1.08rem;
        font-weight: 600;
        padding: 13px 15px;
        text-decoration: none;
        transition: background .2s,color .2s,padding-left .2s;
    }

    .mobile-menu a:hover,
    .mobile-menu a[aria-current=page] {
        background: rgba(255,255,255,.1);
        color: var(--white);
        padding-left: 20px;
    }

    .mobile-menu a:last-child {
        background: linear-gradient(110deg,rgba(215,8,116,.9),rgba(199,69,89,.9) 60%,rgba(231,133,69,.9));
        color: var(--white);
        margin-top: 6px;
    }

    .statement-grid,.research-heading,.approach-layout {
        gap: 42px;
        grid-template-columns: 1fr;
    }

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

    .footer-main {
        grid-template-columns: 1fr 1fr;
    }

    .ua-logo {
        justify-self: start;
    }

}

@media (max-width: 600px) {
    .nav-shell {
        height: 74px;
        padding-inline: 20px;
    }

    .brand {
        width: 172px;
    }

    .brand img {
        height: 58px;
    }

    .mobile-menu {
        inset-block-start: 84px;
    }

    .hero {
        min-height: 600px;
        padding: 100px 20px 85px;
    }

    .hero-content {
        transform: translateY(0);
    }

    .hero h1 {
        font-size: clamp(1.5rem,8.625vw,2.25rem);
    }

    .people-hero {
        min-height: 230px;
        padding: 90px 20px 42px;
    }

    .people-hero h1 {
        font-size: clamp(1.5rem,8.625vw,2.25rem);
    }

    .people-hero-mark {
        opacity: .08;
        right: -6%;
        top: 30%;
        width: 40vw;
    }

    .people-section {
        padding: 64px 20px 78px;
    }

    .people-grid {
        grid-template-columns: 1fr;
        margin-top: 0;
    }
    
    .vacancies-hero .people-hero-content {
        transform: translateY(-15px);
    }

    .person-card {
        gap: 18px;
        padding: 25px 22px;
    }

    .person-monogram {
        height: 54px;
        width: 54px;
    }

    .statement h2,
    .research h2,
    .approach-intro h2,
    .collaboration h2 {
        font-size: clamp(1.35rem, 6vw, 2rem);
    }

    .domain-code {
        font-size: 1.66rem;
    }

    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 22px;
    }

    .hero-index {
        left: 20px;
        right: auto;
    }
    

    .statement,.approach {
        padding: 88px 20px;
    }

    .statement {
        padding-top: 25px;
        padding-bottom: 25px;
    }

    .statement-grid,.research-heading,.approach-layout {
        margin-top: 10px;
        gap: 10px;
    }

    .research {
        padding: 25px 20px 25px;
    }

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

    .domain-card {
        min-height: 220px;
    }
    
    .domain-card > div:last-child {
        margin-top: 10px;
    }
    
    .approach {
        padding-top: 25px;
        padding-bottom: 25px;
    }
    
    .approach-layout {
        gap: 20px;
    }
    
    .approach-list li {
        padding: 15px 0 15px;
    }

    .collaboration {
        min-height: auto;
        padding: 25px 20px 20px;
    }
    
    .collaboration .button {
        margin-top: 60px;
    }

    .collaboration-mark {
        bottom: -5%;
        right: -45%;
        width: 100vw;
    }

    .site-footer {
        padding: 40px 20px 18px;
    }

    .footer-main {
        align-items: start;
        grid-template-columns: 1fr;
    }

    .ua-logo {
        margin-top: 0;
        max-width: 165px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }

}

/* Reduced motion */

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

    *,*::before,*::after {
        transition-duration: .01ms!important;
    }

}
