@charset "UTF-8";

/* ==========================================================
   Токены. Основа — приоритет.ncfu.ru / priority2030.ru (тёмно-синий,
   свечение, градиентные пятна). Геометрия кнопок и сетка — naukafest.ncfu.ru.
   ========================================================== */
:root {
    --night: #050b26;
    --night-2: #0a1240;
    --night-3: #101a52;

    --blue: #1935c5;
    --blue-lit: #3855e5;
    --electric: #5b7bff;
    --mint: #4ecdb0;
    --violet: #6b3bd4;
    --deepblue: #011fa5;

    --ink: #040f1c;
    --ink-2: #30374c;
    --ink-op5: rgba(4, 15, 28, .55);
    --ink-op6: rgba(4, 15, 28, .65);
    --ink-2-op6: rgba(48, 55, 76, .62);

    --lgrey: #f4f6fc;
    --line-dark: rgba(255, 255, 255, .12);
    --line-light: rgba(4, 15, 28, .1);

    --r-pill: 122px;
    --r-card: 24px;
    --r-md: 16px;
    --r-sm: 12px;
    --r-xl: 30px;

    --gutter: 30px;
    --container: 1320px;

    --ff: "PT Sans", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

    --ease: cubic-bezier(.22, 1, .36, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }

body {
    margin: 0;
    font-family: var(--ff);
    font-size: 18px;
    line-height: 1.55;
    color: var(--ink);
    background: var(--night);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
a { color: var(--blue-lit); text-decoration: underline; text-underline-offset: 3px; }

:focus-visible { outline: 3px solid var(--electric); outline-offset: 3px; border-radius: 6px; }

.visually-hidden {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ==========================================================
   Секции
   ========================================================== */
.section { padding-block: 84px; position: relative; }
.section--light { background: #fff; color: var(--ink); }
.section--lgrey { background: var(--lgrey); color: var(--ink); }
.section--dark { background: var(--night-2); color: #fff; }

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
    position: relative;
    z-index: 2;
}

/* ==========================================================
   Типографика
   ========================================================== */
.h1 { font-size: 52px; line-height: 1.06; font-weight: 700; letter-spacing: -1.4px; }
.h2 { font-size: 42px; line-height: 1.12; font-weight: 700; letter-spacing: -.8px; }
.h3 { font-size: 26px; line-height: 1.25; font-weight: 700; }

.lead { font-size: 20px; line-height: 1.6; }
.text { font-size: 18px; line-height: 1.6; }
.text--muted { color: var(--ink-2-op6); }

.on-dark .text, .section--dark .text { color: rgba(255, 255, 255, .74); }
.on-dark .lead, .section--dark .lead { color: rgba(255, 255, 255, .82); }

.section-head { max-width: 74ch; margin-bottom: 46px; }
.section-head .h2 { margin-bottom: 16px; }
.section-head .lead { margin-bottom: 16px; }

/* Плашка-метка в скобках — приём priority2030 */
.tagline-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 34px;
    padding: 0 16px;
    margin-bottom: 22px;
    border: 1px solid currentColor;
    border-radius: 8px;
    font-size: 15px;
    color: var(--blue-lit);
    opacity: .9;
}
.section--dark .tagline-pill, .on-dark .tagline-pill { color: var(--electric); }

.meta {
    display: inline-block;
    font-size: 15px;
    font-weight: 700;
    color: var(--electric);
    margin-bottom: 14px;
}
.section--light .meta, .section--lgrey .meta { color: var(--blue-lit); }

/* ==========================================================
   Кнопки — pill из naukafest, но в тёмной палитре
   ========================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 56px;
    padding: 0 30px 1px;
    border: 0;
    border-radius: var(--r-pill);
    background: var(--electric);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { background: #7b93ff; color: #fff; transform: translateY(-2px); }

.btn--white { background: #fff; color: var(--night); }
.btn--white:hover { background: #eef1ff; color: var(--night); }

.btn--outline { background: transparent; border: 1px solid rgba(255, 255, 255, .38); }
.btn--outline:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

.btn--dark-outline { background: transparent; border: 1px solid var(--line-light); color: var(--ink); }
.btn--dark-outline:hover { background: rgba(25, 53, 197, .06); color: var(--blue-lit); }

.btn--sm { height: 46px; font-size: 15px; padding-inline: 24px; }
.btn--block { width: 100%; }

.btn__arrow { transition: transform .2s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ==========================================================
   Фон: дышащие градиентные пятна + звёздная сетка
   ========================================================== */
.aurora {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.aurora__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: .72;
    animation: drift 22s ease-in-out infinite;
}
.aurora__blob--1 { width: 700px; height: 700px; top: -220px; left: -160px; background: radial-gradient(circle, #2447ff, transparent 66%); }
.aurora__blob--2 { width: 620px; height: 620px; top: 4%; right: -160px; background: radial-gradient(circle, #7c3aed, transparent 66%); animation-delay: -7s; }
.aurora__blob--3 { width: 560px; height: 560px; bottom: -240px; left: 30%; background: radial-gradient(circle, #0f8fa3, transparent 68%); animation-delay: -13s; }

@keyframes drift {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    33% { transform: translate3d(60px, -40px, 0) scale(1.12); }
    66% { transform: translate3d(-40px, 50px, 0) scale(.94); }
}

/* Тонкая сетка поверх пятен — «технологичность» */
.gridlines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 88px 88px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 40%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

/* ==========================================================
   Шапка
   ========================================================== */
.header {
    position: sticky;
    top: 0;
    z-index: 60;
    color: #fff;
    background: rgba(5, 11, 38, .72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line-dark);
}

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

.logo { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.logo:hover { color: #fff; }
.logo__mark { width: 36px; height: 36px; flex: none; color: var(--electric); }
.logo__text { display: flex; flex-direction: column; line-height: 1.12; }
.logo__name { font-size: 20px; font-weight: 700; letter-spacing: -.3px; }
.logo__sub { font-size: 12px; color: rgba(255, 255, 255, .6); }

.header__nav { display: flex; align-items: center; gap: 28px; }

.header__link {
    font-size: 16px;
    font-weight: 700;
    color: rgba(255, 255, 255, .88);
    text-decoration: none;
    transition: color .18s ease;
}
.header__link:hover { color: #fff; }

.header__toggle {
    display: none;
    width: 46px; height: 46px;
    align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .1);
    border: 0; border-radius: 12px;
    cursor: pointer;
}
.header__toggle-icon { position: relative; width: 20px; height: 14px; }
.header__toggle-icon::before,
.header__toggle-icon::after,
.header__toggle-icon span {
    content: ""; position: absolute; left: 0;
    width: 100%; height: 2px; border-radius: 2px;
    background: #fff;
    transition: transform .22s var(--ease), opacity .18s ease;
}
.header__toggle-icon::before { top: 0; }
.header__toggle-icon span { top: 6px; }
.header__toggle-icon::after { top: 12px; }
.header__toggle[aria-expanded="true"] .header__toggle-icon::before { transform: translateY(6px) rotate(45deg); }
.header__toggle[aria-expanded="true"] .header__toggle-icon span { opacity: 0; }
.header__toggle[aria-expanded="true"] .header__toggle-icon::after { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================
   HERO — 3D-ромб из кубиков (фирменный элемент priority2030)
   ========================================================== */
.hero {
    position: relative;
    padding-block: 76px 0;
    background: linear-gradient(175deg, var(--night) 0%, var(--night-2) 55%, #0d1750 100%);
    color: #fff;
    overflow: hidden;
}

.hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: 40px;
    align-items: center;
    min-height: 560px;
}

.hero__title {
    font-size: 66px;
    line-height: 1.02;
    font-weight: 700;
    letter-spacing: -2.4px;
    margin-bottom: 26px;
    text-wrap: balance;
}
/* Градиент на отдельном слове — отдельным блоком, иначе рвётся на переносе */
.hero__grad {
    display: block;
    background: linear-gradient(96deg, #ffffff 4%, #a9bcff 46%, var(--mint) 98%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero__text {
    font-size: 19px;
    line-height: 1.6;
    max-width: 48ch;
    color: rgba(255, 255, 255, .78);
    margin-bottom: 34px;
}

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

/* --- 3D ромб из кубов --- */
.voxel {
    display: grid;
    place-items: center;
    height: 480px;
    perspective: 1200px;
}

.voxel__stage {
    position: relative;
    width: 320px; height: 320px;
    transform-style: preserve-3d;
    animation: spin 30s linear infinite;
}

@keyframes spin {
    from { transform: rotateX(-26deg) rotateY(0deg); }
    to   { transform: rotateX(-26deg) rotateY(360deg); }
}

/* Каждый элемент .voxel__cube — настоящий куб из трёх граней */
.voxel__cube {
    position: absolute;
    left: 50%; top: 50%;
    width: 44px; height: 44px;
    margin: -22px 0 0 -22px;
    transform-style: preserve-3d;
}

.voxel__cube span {
    position: absolute;
    inset: 0;
    border-radius: 7px;
}

.voxel__cube .face--front {
    background: linear-gradient(150deg, #4a67ff, #2438c9);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
}
.voxel__cube .face--top {
    background: linear-gradient(150deg, #8ba2ff, #5a76f5);
    transform: rotateX(90deg) translateZ(22px);
}
.voxel__cube .face--side {
    background: linear-gradient(200deg, #1b2ba6, #0f1a68);
    transform: rotateY(90deg) translateZ(22px);
}

.voxel__cube--mint .face--front { background: linear-gradient(150deg, #7defd3, #23b193); }
.voxel__cube--mint .face--top { background: linear-gradient(150deg, #b6f7e9, #5fd9bd); }
.voxel__cube--mint .face--side { background: linear-gradient(200deg, #12967c, #0b6d5a); }

.voxel__cube--pale .face--front { background: linear-gradient(150deg, #d9e3ff, #9db2f5); }
.voxel__cube--pale .face--top { background: linear-gradient(150deg, #eef3ff, #c2d0fb); }
.voxel__cube--pale .face--side { background: linear-gradient(200deg, #6f8adf, #4c63b8); }

.voxel__glow {
    position: absolute;
    width: 420px; height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(91, 123, 255, .5), rgba(107, 59, 212, .2) 45%, transparent 68%);
    filter: blur(40px);
    z-index: -1;
}

/* Быстрые карточки под hero — приём priority2030 */
.hero__tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 56px;
    padding-bottom: 56px;
}
.hero__tile {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 26px;
    min-height: 190px;
    padding: 26px 28px;
    border: 1px solid var(--line-dark);
    border-radius: var(--r-card);
    background: rgba(255, 255, 255, .055);
    color: #fff;
    text-decoration: none;
    backdrop-filter: blur(6px);
    transition: background .22s var(--ease), border-color .22s var(--ease), transform .22s var(--ease);
}
.hero__tile:hover {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(91, 123, 255, .6);
    transform: translateY(-4px);
    color: #fff;
}
.hero__tile-title { font-size: 22px; font-weight: 700; line-height: 1.2; max-width: 18ch; }
.hero__tile-icon {
    width: 46px; height: 46px;
    display: grid; place-items: center;
    border-radius: 12px;
    background: rgba(91, 123, 255, .2);
    color: var(--electric);
}

/* ==========================================================
   Бегущая строка
   ========================================================== */
.marquee {
    position: relative;
    padding-block: 18px;
    background: var(--electric);
    color: #fff;
    overflow: hidden;
    transform: rotate(-1.2deg) scale(1.04);
    margin-block: -12px 0;
}
.marquee__track {
    display: flex;
    width: max-content;
    gap: 44px;
    animation: slide 32s linear infinite;
}
.marquee__item {
    display: inline-flex;
    align-items: center;
    gap: 44px;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: .3px;
    white-space: nowrap;
}
.marquee__item::after { content: "◆"; font-size: 12px; opacity: .6; }

@keyframes slide {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ==========================================================
   Каталог: фильтры + сетка
   ========================================================== */
.catalog { position: relative; }

.filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 26px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--line-light);
}

.filters__label { font-size: 15px; font-weight: 700; color: var(--ink-2-op6); margin-right: -12px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.chip {
    height: 42px;
    padding: 0 18px;
    border: 1px solid var(--line-light);
    border-radius: var(--r-pill);
    background: #fff;
    font-size: 15px;
    font-weight: 700;
    color: var(--ink-2);
    cursor: pointer;
    transition: all .18s var(--ease);
}
.chip:hover { border-color: var(--blue-lit); color: var(--blue-lit); }
.chip[aria-pressed="true"] {
    background: var(--blue-lit);
    border-color: var(--blue-lit);
    color: #fff;
}

.filters__selects { display: flex; gap: 10px; margin-left: auto; }

/* Кнопка сброса: показывается, когда включён хотя бы один фильтр */
.filters__reset {
    height: 42px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: var(--r-pill);
    background: transparent;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    color: var(--blue-lit);
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color .18s var(--ease);
}
.filters__reset:hover { color: var(--night); }
.filters__reset:focus-visible { outline: 2px solid var(--blue-lit); outline-offset: 2px; }

.filters__select select {
    height: 42px;
    max-width: 100%;
    padding: 0 40px 0 18px;
    border: 1px solid var(--line-light);
    border-radius: var(--r-pill);
    background: #fff
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2330374c' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")
        no-repeat right 14px center / 16px;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    color: var(--ink-2);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.catalog__count { font-size: 15px; color: var(--ink-2-op6); margin: -14px 0 26px; }

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

/* ==========================================================
   Карточка проекта
   ========================================================== */
.project-card {
    --tilt-x: 0deg;
    --tilt-y: 0deg;

    position: relative;
    display: grid;
    grid-template-columns: 176px minmax(0, 1fr);
    gap: 0;
    min-height: 218px;
    border: 1px solid var(--line-light);
    border-radius: var(--r-card);
    background: #fff;
    color: inherit;
    text-decoration: none;
    overflow: hidden;
    opacity: 0;
    transform: translateY(26px) scale(.985);
    transition:
        opacity .55s var(--ease),
        transform .55s var(--ease),
        border-color .22s ease,
        box-shadow .22s ease;
}
.project-card.is-in { opacity: 1; transform: none; }

/* Наклон за курсором — «всё крутится» */
@media (hover: hover) and (pointer: fine) {
    .project-card:hover {
        border-color: rgba(56, 85, 229, .45);
        box-shadow: 0 18px 44px rgba(10, 18, 64, .12);
        transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(-3px);
        transition:
            opacity .55s var(--ease),
            transform .18s ease-out,
            border-color .22s ease,
            box-shadow .22s ease;
    }
}

.project-card__cover {
    position: relative;
    display: grid;
    place-items: center;
    background: linear-gradient(150deg, #eef2ff, #f6f8ff 60%, #fff);
    border-right: 1px solid var(--line-light);
    overflow: hidden;
}
.project-card__cover::before,
.project-card__cover::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, .8);
}
.project-card__cover::before { width: 74%; aspect-ratio: 1; top: -26%; right: -22%; }
.project-card__cover::after { width: 54%; aspect-ratio: 1; bottom: -22%; left: -18%; }

.project-card__icon {
    position: relative;
    z-index: 1;
    width: 74px; height: 74px;
    color: var(--blue-lit);
    stroke-width: 1.25;
    transition: transform .3s var(--ease);
}
.project-card:hover .project-card__icon { transform: scale(1.08) rotate(-4deg); }

.project-card__body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px 26px 24px 28px;
}

.project-card__direction {
    display: inline-flex;
    align-self: flex-start;
    padding: 5px 11px;
    border-radius: var(--r-pill);
    background: rgba(56, 85, 229, .1);
    color: var(--blue-lit);
    font-size: 13px;
    font-weight: 700;
}

.project-card__title {
    font-size: 21px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -.3px;
    transition: color .2s var(--ease);
}
.project-card:hover .project-card__title { color: var(--blue-lit); }

/* Краткое описание: не больше трёх строк, чтобы карточки в сетке были ровными */
.project-card__desc {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
    font-size: 15px;
    line-height: 1.5;
    color: var(--ink-2-op6);
}

/* Что заберёте с проекта — короткой строкой с галочкой */
.project-card__result {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: -2px;
    padding: 9px 12px;
    border-radius: 12px;
    background: rgba(78, 205, 176, .1);
    font-size: 14px;
    line-height: 1.35;
    color: #1d6f5e;
}
.project-card__result-mark {
    flex: none;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    border-radius: 50%;
    background: var(--mint);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7'/%3E%3C/svg%3E");
    background-size: 11px center;
    background-position: center;
    background-repeat: no-repeat;
}

.project-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--line-light);
}
.project-card__facts { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: var(--ink-2-op6); }
.project-card__facts b { color: var(--ink); font-weight: 700; }

.project-card__go {
    flex: none;
    width: 42px; height: 42px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--blue-lit);
    color: #fff;
    transition: background .2s var(--ease);
}
.project-card__go svg { width: 19px; height: 19px; transition: transform .2s var(--ease); }
.project-card:hover .project-card__go { background: var(--night); }
.project-card:hover .project-card__go svg { transform: translateX(3px); }

/* Пусто после фильтрации */
.catalog__empty {
    grid-column: 1 / -1;
    padding: 70px 20px;
    text-align: center;
    color: var(--ink-2-op6);
}
.catalog__empty-title { font-size: 24px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.catalog__empty .btn { margin-top: 24px; }

/* ==========================================================
   Шаги обучения — светлая секция со скруглённой «карточкой-вырезом»
   ========================================================== */
.steps__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.step {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 30px 26px;
    border-radius: var(--r-md);
    background: #fff;
    border: 1px solid var(--line-light);
}
.step__num {
    display: grid; place-items: center;
    width: 50px; height: 50px;
    border-radius: 14px;
    background: linear-gradient(140deg, var(--blue-lit), var(--blue));
    color: #fff;
    font-size: 21px;
    font-weight: 700;
}
.step__title { font-size: 19px; font-weight: 700; line-height: 1.25; }
.step__text { font-size: 15px; line-height: 1.55; color: var(--ink-2-op6); }

/* ==========================================================
   Метрики в кругах — приём prioritet.ncfu
   ========================================================== */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.metric { display: flex; align-items: center; gap: 20px; }
.metric__circle {
    position: relative;
    flex: none;
    width: 108px; height: 108px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: radial-gradient(circle at 32% 28%, #7d97ff, var(--blue) 70%);
    color: #fff;
    text-align: center;
}
.metric__circle::after {
    content: "";
    position: absolute; inset: 8px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 50%;
}
.metric__value { font-size: 25px; font-weight: 700; line-height: 1; }
.metric__unit { display: block; font-size: 11px; font-weight: 400; opacity: .85; margin-top: 3px; }
.metric__text { font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, .76); }

/* ==========================================================
   CTA
   ========================================================== */
.cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 54px 58px;
    border-radius: var(--r-xl);
    background: linear-gradient(120deg, var(--night-3), #14246e 70%, #1a2f8f);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.cta::before {
    content: "";
    position: absolute;
    right: -80px; bottom: -140px;
    width: 380px; height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(91, 123, 255, .5), transparent 65%);
    filter: blur(50px);
}
.cta > * { position: relative; z-index: 1; }
.cta__title { font-size: 34px; font-weight: 700; line-height: 1.15; margin-bottom: 12px; letter-spacing: -.5px; }
.cta__text { font-size: 17px; color: rgba(255, 255, 255, .8); max-width: 54ch; }
.cta__note {
    display: inline-flex;
    align-items: center;
    margin-top: 14px;
    padding: 7px 14px;
    border-radius: var(--r-pill);
    background: rgba(78, 205, 176, .16);
    border: 1px solid rgba(78, 205, 176, .38);
    font-size: 14px;
    font-weight: 700;
    color: #a9f0dd;
}
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; flex: none; }

/* ==========================================================
   Страница проекта
   ========================================================== */
.project-hero { padding-block: 44px 72px; position: relative; }

/* Первый экран: текст слева, паспорт проекта справа */
.project-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 430px);
    gap: 64px;
    align-items: center;
}
.project-hero__main { min-width: 0; }

.project-hero__title {
    font-size: clamp(38px, 4.2vw, 56px);
    line-height: 1.06;
    letter-spacing: -1.6px;
    margin-bottom: 20px;
}

.project-hero__lead {
    font-size: 19px;
    line-height: 1.6;
    max-width: 50ch;
    color: rgba(255, 255, 255, .78);
}

.project-hero__cta { margin-top: 28px; }
.project-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

/* Появление элементов первого экрана каскадом */
.anim-up { animation: rise .75s var(--ease) both; }
.project-hero__main > .anim-up:nth-child(2) { animation-delay: .12s; }
.project-hero__main > .anim-up:nth-child(3) { animation-delay: .2s; }
.project-hero__main > .anim-up:nth-child(4) { animation-delay: .28s; }
.project-hero__main > .anim-up:nth-child(5) { animation-delay: .36s; }
.project-hero__main > .anim-up:nth-child(6) { animation-delay: .44s; }
.project-hero .passport { animation-delay: .26s; }

@keyframes rise {
    from { opacity: 0; transform: translateY(26px); }
    to { opacity: 1; transform: none; }
}

/* Паспорт проекта */
.passport {
    --accent: #5b7bff;
    padding: 28px;
    border-radius: var(--r-card);
    border: 1px solid rgba(255, 255, 255, .14);
    background:
        radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 62%),
        rgba(255, 255, 255, .06);
    backdrop-filter: blur(10px);
    box-shadow: 0 26px 60px rgba(3, 8, 30, .34);
}
.passport__top { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 16px; align-items: start; }
.passport__mark {
    display: grid; place-items: center;
    width: 58px; height: 58px;
    border-radius: 18px;
    background: color-mix(in srgb, var(--accent) 22%, transparent);
    border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
}
.passport__icon { width: 32px; height: 32px; color: color-mix(in srgb, var(--accent) 55%, #fff); stroke-width: 1.3; }
.passport__label { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.passport__result { font-size: 19px; font-weight: 700; line-height: 1.3; margin-top: 4px; }

.passport__rows { margin-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); }
.passport__row {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 14px;
    padding: 13px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.passport__row-label { font-size: 14px; color: rgba(255, 255, 255, .58); }
.passport__row-value { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.4; }

.passport__mentor {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    margin-top: 22px;
}
.passport__avatar {
    display: grid; place-items: center;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: linear-gradient(140deg, color-mix(in srgb, var(--accent) 80%, #fff), var(--accent));
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}
.passport__name { font-size: 16px; font-weight: 700; }
.passport__role { font-size: 14px; color: rgba(255, 255, 255, .6); margin-top: 2px; }

/* Обратный отсчёт — плашка из ФПК */
.countdown {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding: 14px 22px;
    border: 1px solid var(--line-dark);
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, .05);
    backdrop-filter: blur(8px);
}
.countdown__label { font-size: 14px; color: rgba(255, 255, 255, .6); line-height: 1.2; }
.countdown__values { display: flex; gap: 14px; }
.countdown__cell { text-align: center; min-width: 46px; }
.countdown__num {
    display: block;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    color: var(--electric);
    font-variant-numeric: tabular-nums;
}
.countdown__unit { display: block; font-size: 12px; color: rgba(255, 255, 255, .55); margin-top: 4px; }
.countdown.is-done .countdown__num { color: var(--mint); }

/* «О проекте»: карточки-факты слева, текст справа */
.about__grid { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 72px; align-items: start; }
.about__side { position: sticky; top: 100px; display: grid; gap: 14px; }
.about__side .tagline-pill { margin-bottom: 6px; justify-self: start; }

.fact-card {
    padding: 20px 22px;
    border: 1px solid var(--line-light);
    border-radius: var(--r-md);
    background: var(--lgrey);
}
.fact-card__icon { width: 26px; height: 26px; color: var(--blue-lit); margin-bottom: 12px; }
.fact-card__label { font-size: 14px; font-weight: 700; color: var(--blue-lit); margin-bottom: 6px; }
.fact-card__value { font-size: 15px; line-height: 1.55; color: var(--ink-2); }

.outcomes { counter-reset: outcome; margin-top: 30px; display: grid; gap: 0; }
.outcome {
    counter-increment: outcome;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    padding: 18px 0;
    border-top: 1px solid var(--line-light);
}
.outcome::before {
    content: counter(outcome);
    display: grid; place-items: center;
    width: 42px; height: 42px;
    border-radius: 12px;
    background: rgba(56, 85, 229, .1);
    color: var(--blue-lit);
    font-size: 18px;
    font-weight: 700;
}

/* Этапы — вертикальный таймлайн: всё видно сразу, ничего не спрятано */
.timeline {
    --accent: var(--blue-lit);
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: stage;
}
.timeline::before {
    content: "";
    position: absolute;
    left: 27px;
    top: 12px;
    bottom: 12px;
    width: 2px;
    background: linear-gradient(180deg, var(--accent), rgba(56, 85, 229, .12));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 1.1s var(--ease) .15s;
}
.timeline.is-in::before { transform: scaleY(1); }

.timeline__item {
    counter-increment: stage;
    position: relative;
    padding: 0 0 44px 92px;
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__num {
    position: absolute;
    left: 0; top: -4px;
    display: grid; place-items: center;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--accent);
    color: var(--accent);
    font-size: 20px;
    font-weight: 700;
    box-shadow: 0 0 0 8px var(--lgrey);
}
.timeline__title { font-size: 26px; font-weight: 700; letter-spacing: -.4px; margin-bottom: 16px; }
.timeline__list { display: grid; gap: 12px; max-width: 78ch; }
.timeline__list li {
    position: relative;
    padding-left: 24px;
    font-size: 17px;
    line-height: 1.6;
    color: var(--ink-2-op6);
}
.timeline__list li::before {
    content: "";
    position: absolute;
    left: 2px; top: .68em;
    width: 8px; height: 8px;
    border-radius: 2px;
    background: var(--accent);
    transform: rotate(45deg);
}

/* Руководитель и команда */
.people {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    align-items: stretch;
}
.people__mentor,
.people__member {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 20px;
    align-items: center;
    padding: 26px;
    border: 1px solid var(--line-light);
    border-radius: var(--r-md);
    background: #fff;
}
.people__mentor {
    background: linear-gradient(150deg, #f2f5ff, #fff 70%);
    border-color: rgba(56, 85, 229, .28);
    align-content: center;
}
.people__avatar {
    display: grid; place-items: center;
    width: 84px; height: 84px;
    border-radius: 50%;
    background: linear-gradient(140deg, #cdd8ff, var(--blue-lit));
    color: #fff;
    font-size: 26px;
    font-weight: 700;
}
.people__avatar--mentor {
    background: linear-gradient(140deg, var(--blue-lit), var(--violet));
    box-shadow: 0 10px 24px rgba(56, 85, 229, .28);
}
.people__name { font-size: 20px; font-weight: 700; line-height: 1.25; margin-bottom: 6px; }
.people__role { font-size: 15px; line-height: 1.5; color: var(--ink-2-op6); }
.people__team { display: grid; gap: 16px; align-content: start; }

/* Секция «смотрите также» */
.section-more { display: flex; justify-content: center; margin-top: 38px; }

/* ==========================================================
   Подвал
   ========================================================== */
.footer {
    background: var(--night);
    color: #fff;
    padding-block: 62px 28px;
    border-top: 1px solid var(--line-dark);
}

.footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 300px) minmax(0, 1fr) minmax(0, 260px);
    gap: 46px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--line-dark);
}
.footer__note { font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .68); }
.footer__title { font-size: 15px; font-weight: 700; margin-bottom: 16px; color: #fff; }
.footer__menu { display: flex; flex-direction: column; gap: 11px; }
.footer__menu a { font-size: 15px; color: rgba(255, 255, 255, .72); text-decoration: none; }
.footer__menu a:hover { color: #fff; text-decoration: underline; }

.footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 14px;
    padding-top: 24px;
    font-size: 14px;
    color: rgba(255, 255, 255, .5);
}
.footer__contacts { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.footer__contacts a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.footer__contacts a:hover { color: #fff; text-decoration: underline; }

/* ==========================================================
   Модалка
   ========================================================== */
.modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(3, 6, 22, .74);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    /* visibility переключается мгновенно при открытии и в конце при закрытии,
       иначе первые 220 мс модалка недоступна для фокуса с клавиатуры */
    transition: opacity .22s ease, visibility 0s linear .22s;
}
.modal.is-open {
    opacity: 1;
    visibility: visible;
    transition: opacity .22s ease, visibility 0s linear 0s;
}

.modal__box {
    position: relative;
    width: 100%;
    max-width: 540px;
    max-height: calc(100dvh - 48px);
    overflow-y: auto;
    padding: 44px 46px;
    border-radius: var(--r-xl);
    background: #fff;
    transform: translateY(16px) scale(.98);
    transition: transform .24s var(--ease);
}
.modal.is-open .modal__box { transform: none; }

.modal__close {
    position: absolute;
    top: 18px; right: 18px;
    width: 44px; height: 44px;
    display: grid; place-items: center;
    background: var(--lgrey);
    border: 0; border-radius: 50%;
    cursor: pointer;
    transition: background .18s ease;
}
.modal__close:hover { background: #e6eafa; }

.modal__title { font-size: 30px; font-weight: 700; line-height: 1.15; margin-bottom: 10px; letter-spacing: -.4px; }
.modal__sub { font-size: 16px; line-height: 1.55; color: var(--ink-2-op6); margin-bottom: 24px; }
.modal__project {
    display: inline-block;
    margin-bottom: 24px;
    padding: 8px 15px;
    border-radius: var(--r-pill);
    background: rgba(56, 85, 229, .1);
    color: var(--blue-lit);
    font-size: 15px;
    font-weight: 700;
}

.field { margin-bottom: 18px; }
.field__label { display: block; font-size: 15px; font-weight: 700; margin-bottom: 8px; }

.field__input {
    width: 100%;
    height: 56px;
    padding: 0 18px;
    border: 1px solid var(--line-light);
    border-radius: var(--r-sm);
    background: #fff;
    font: inherit;
    font-size: 17px;
    color: var(--ink);
    transition: border-color .18s ease, box-shadow .18s ease;
}
.field__input:focus {
    outline: 0;
    border-color: var(--blue-lit);
    box-shadow: 0 0 0 3px rgba(56, 85, 229, .13);
}
.field__input[aria-invalid="true"] { border-color: #d33; }
textarea.field__input { height: auto; min-height: 106px; padding: 14px 18px; resize: vertical; }

.field__error { display: none; margin-top: 7px; font-size: 14px; color: #c62828; }
.field__error.is-visible { display: block; }

.checkbox { display: flex; gap: 12px; align-items: flex-start; }
.checkbox input { width: 20px; height: 20px; flex: none; margin-top: 3px; accent-color: var(--blue-lit); }
.checkbox span { font-size: 14px; line-height: 1.5; color: var(--ink-2-op6); }

.modal__success { display: none; text-align: center; padding-block: 16px; }
.modal__success.is-visible { display: block; }
.modal__success-mark {
    width: 68px; height: 68px;
    margin: 0 auto 22px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: rgba(56, 85, 229, .1);
    color: var(--blue-lit);
}
.modal__success-title { font-size: 25px; font-weight: 700; margin-bottom: 12px; }
.modal__success-text { font-size: 16px; line-height: 1.6; color: var(--ink-2-op6); }

body.is-locked { overflow: hidden; }

/* ==========================================================
   Пусто / 404
   ========================================================== */
.empty { padding-block: 100px; text-align: center; }
.empty__title { font-size: 34px; font-weight: 700; margin-bottom: 14px; }
.empty__text { font-size: 18px; color: var(--ink-2-op6); margin-bottom: 30px; }

/* Хлебные крошки на тёмном */
.breadcrumbs { margin-bottom: 34px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.breadcrumbs li { display: flex; align-items: center; gap: 10px; }
.breadcrumbs a { color: rgba(255, 255, 255, .62); text-decoration: none; }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--electric); }
.breadcrumbs__sep { color: rgba(255, 255, 255, .35); }

/* ==========================================================
   Появление при скролле
   ========================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================
   Адаптив — брейкпоинты те же, что на naukafest
   ========================================================== */
@media (max-width: 1199px) {
    .hero__title { font-size: 52px; letter-spacing: -1.6px; }
    .hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 320px); min-height: 500px; }
    .voxel { height: 380px; }
    .h1 { font-size: 42px; }
    .h2 { font-size: 36px; }
    .project-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 44px; }
    .project-hero__title { font-size: 44px; }
    .metrics { grid-template-columns: repeat(2, 1fr); }
    .grid--projects { grid-template-columns: 1fr; }
    .people { grid-template-columns: 1fr; }
}

@media (max-width: 991px) {
    .hero__inner { grid-template-columns: 1fr; min-height: auto; padding-bottom: 20px; }
    .hero__title { font-size: 44px; }
    .voxel { height: 330px; order: -1; }
    .hero__tiles { grid-template-columns: 1fr; }
    .hero__tile { min-height: 0; flex-direction: row; align-items: center; gap: 18px; }
    .steps__grid { grid-template-columns: repeat(2, 1fr); }
    .about__grid { grid-template-columns: 1fr; gap: 34px; }
    .about__side { position: static; }
    .project-hero__grid { grid-template-columns: 1fr; gap: 36px; }
    .project-hero__actions .btn { flex: 1; }
    .cta { flex-direction: column; align-items: flex-start; padding: 42px 34px; }
    .footer__grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 767px) {
    :root { --gutter: 20px; }

    body { font-size: 17px; }
    .section { padding-block: 56px; }

    .h1 { font-size: 34px; }
    .h2 { font-size: 29px; }
    .h3 { font-size: 22px; }
    .lead { font-size: 18px; }
    .text { font-size: 17px; }

    .header__inner { min-height: 68px; }
    .header__nav {
        position: absolute;
        top: 100%; left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 6px var(--gutter) 22px;
        background: var(--night);
        border-bottom: 1px solid var(--line-dark);
        display: none;
    }
    .header__nav.is-open { display: flex; }
    .header__link { padding-block: 14px; }
    .header__nav .btn { margin-top: 12px; }
    .header__toggle { display: flex; }

    .hero { padding-block: 40px 0; }
    .hero__title { font-size: 36px; letter-spacing: -1px; }
    .hero__text { font-size: 17px; margin-bottom: 26px; }
    .hero__actions .btn { flex: 1; }
    .voxel { height: 270px; }
    .voxel__stage { width: 200px; height: 200px; }
    .voxel__cube { width: 27px; height: 27px; margin: -13.5px 0 0 -13.5px; }
    .hero__tiles { margin-top: 40px; padding-bottom: 40px; }

    .marquee { padding-block: 14px; }
    .marquee__item { font-size: 16px; gap: 30px; }

    .steps__grid { grid-template-columns: 1fr; gap: 14px; }
    .metrics { grid-template-columns: 1fr; gap: 20px; }
    .metric__circle { width: 92px; height: 92px; }
    .metric__value { font-size: 22px; }

    .filters { gap: 12px 16px; }
    .filters__label { margin-right: 0; }
    .filters__selects { margin-left: 0; width: 100%; flex-direction: column; }
    .filters__reset { margin-left: -18px; }
    .catalog__count { margin-left: 0; width: 100%; }

    .project-card { grid-template-columns: 1fr; }
    .project-card__cover { aspect-ratio: 16 / 8; border-right: 0; border-bottom: 1px solid var(--line-light); }
    .project-card__icon { width: 58px; height: 58px; }
    .project-card__body { padding: 22px 22px 24px; }

    .project-hero__title { font-size: 33px; }
    .project-hero__lead { font-size: 17px; }
    .passport { padding: 22px; }
    .passport__row { grid-template-columns: 112px minmax(0, 1fr); }
    .countdown { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px 20px; width: 100%; }
    .countdown__values { gap: 18px; }
    .countdown__num { font-size: 26px; }

    .timeline { --dot: 44px; }
    .timeline::before { left: 21px; }
    .timeline__item { padding-left: 64px; padding-bottom: 34px; }
    .timeline__num { width: 44px; height: 44px; font-size: 17px; box-shadow: 0 0 0 6px var(--lgrey); }
    .timeline__title { font-size: 21px; }
    .timeline__list li { font-size: 16px; }

    .people__mentor,
    .people__member { grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding: 20px; }
    .people__avatar { width: 64px; height: 64px; font-size: 21px; }
    .people__name { font-size: 18px; }

    .cta { padding: 32px 24px; border-radius: var(--r-card); }
    .cta__title { font-size: 26px; }
    .cta__actions { width: 100%; }
    .cta__actions .btn { flex: 1; }

    .modal__box { padding: 34px 22px; border-radius: var(--r-card); }
    .modal__title { font-size: 25px; }

    .footer__bottom { flex-direction: column; gap: 10px; }
}

@media (max-width: 576px) {
    .hero__actions .btn { width: 100%; }
    .btn { height: 52px; }
    .outcome { grid-template-columns: 38px minmax(0, 1fr); gap: 14px; }
    .outcome::before { width: 36px; height: 36px; font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
    .project-card, .reveal { opacity: 1 !important; transform: none !important; }
}
/* Video header and perspective project carousel */
.hero-video,.hero-shade{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;pointer-events:none}.hero-shade{background:linear-gradient(90deg,rgba(4,10,30,.86),rgba(4,10,30,.35)),linear-gradient(0deg,#050b26 0%,transparent 45%)}.hero>.container{position:relative;z-index:1}.hero__inner{grid-template-columns:1fr;min-height:560px}.hero__inner>div{max-width:760px}.video-toggle{position:absolute;right:24px;top:24px;z-index:2;color:white;background:#050b2699;border:1px solid #ffffff66;border-radius:30px;padding:10px 16px;font:inherit;cursor:pointer}.project-showcase{padding:64px 0 42px;background:#050b26;color:white;overflow:hidden}.showcase-heading{text-align:center}.showcase-heading .h2{margin-top:20px}.project-orbit{position:relative;perspective:1300px;height:410px;margin:28px auto;touch-action:pan-y;outline-offset:-5px}.orbit-card{position:absolute;left:50%;top:22px;width:290px;height:355px;margin-left:-145px;padding:28px;display:flex;flex-direction:column;color:white;border:1px solid #ffffff38;border-radius:18px;background:linear-gradient(145deg,hsl(var(--card-hue) 65% 40%),#080e27 95%);box-shadow:0 25px 65px #0008;transform:translateX(calc(var(--offset)*225px)) translateZ(calc(var(--distance)*-125px)) rotateY(calc(var(--offset)*-18deg));opacity:calc(1 - var(--distance)*.17);transition:transform .85s cubic-bezier(.22,.7,.15,1),opacity .65s,box-shadow .4s;overflow:hidden;text-decoration:none}.orbit-card.is-hidden{opacity:0;pointer-events:none}.orbit-card.is-active{box-shadow:0 25px 85px #5279ff40;border-color:#a6baff}.orbit-card__number{font-size:48px;font-weight:700;color:#ffffff40;line-height:1;margin-bottom:24px}.orbit-card__direction{font-size:14px;color:#cbd8ff}.orbit-card h3{font-size:24px;line-height:1.15;margin:12px 0}.orbit-card p{font-size:16px;line-height:1.4;color:#d9e1f7}.orbit-card__link{margin-top:auto;padding-top:14px;font-size:14px}.orbit-controls{display:flex;justify-content:center;align-items:center;gap:20px}.orbit-controls button,.pdf-toolbar button,.pdf-tabs button{font:inherit;border:1px solid #ffffff40;background:#ffffff0c;color:inherit;padding:10px 18px;border-radius:30px;cursor:pointer}.orbit-controls button:first-child,.orbit-controls button:nth-child(3){font-size:26px;padding:3px 18px}.orbit-controls button:hover{background:#ffffff22}.pdf-toolbar{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin:20px 0}.pdf-toolbar button,.pdf-tabs button{border-color:#ccd4e4;background:white;color:#162144}.pdf-toolbar button:disabled{opacity:.35;cursor:default}.pdf-tabs{display:flex;gap:12px;flex-wrap:wrap}.pdf-tabs button[aria-pressed=true]{background:#183a91;color:white}.pdf-page-label{display:flex;align-items:center;gap:10px}.pdf-page-label input{width:72px;font:inherit;padding:8px;border:1px solid #ccd4e4;border-radius:8px}.pdf-stage{display:flex;justify-content:center;align-items:center;min-height:320px;padding:16px;border-radius:18px;background:#e9edf5;overflow:hidden}.pdf-stage canvas{max-width:100%;box-shadow:0 15px 45px #13204020}.pdf-stage canvas[hidden],.pdf-message[hidden]{display:none}.pdf-message{max-width:52ch;text-align:center;padding:32px;color:#48546b}.presentations:fullscreen{background:white;overflow:auto;padding:20px}.presentations:fullscreen .section-head{display:none}.pdf-upload{cursor:pointer}.pdf-toolbar a{color:#2447a8;text-decoration:underline}.card{transition:transform .55s cubic-bezier(.2,.8,.2,1),box-shadow .55s,border-color .4s}.reveal{transition-duration:.85s!important}a:focus-visible,button:focus-visible{outline:3px solid #8ba7ff;outline-offset:5px}
@media(max-width:767px){.hero__inner{min-height:520px}.hero-video{object-position:65% center}.hero-shade{background:linear-gradient(90deg,#050b26d9,#050b2680),linear-gradient(0deg,#050b26,transparent)}.project-showcase{padding-top:42px}.project-orbit{height:375px}.orbit-card{width:250px;margin-left:-125px;height:330px;padding:24px;transform:translateX(calc(var(--offset)*150px)) translateZ(calc(var(--distance)*-150px)) rotateY(calc(var(--offset)*-22deg))}.orbit-card h3{font-size:22px}.orbit-controls{gap:12px}.video-toggle{top:10px;right:12px;font-size:14px}.pdf-toolbar{gap:8px}.pdf-toolbar button{padding:8px 12px}.pdf-stage{min-height:220px}}
@media(prefers-reduced-motion:reduce){.orbit-card,.card,.reveal{transition:none!important}.hero-video{animation:none}}
/* Editorial redesign inspired by the supplied motion reference */
.home-page .header{position:fixed;width:100%;background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none;border-color:#ffffff20;transition:background .5s,backdrop-filter .5s}.home-page .header.is-scrolled{background:#090d20d9;backdrop-filter:blur(18px)}.header__inner{min-height:88px}.home-page .header .btn{background:transparent;border:1px solid #ffffff70}.home-page .hero{min-height:100svh;padding:150px 0 60px;background:#0d0c1c;display:flex;align-items:center}.home-page .hero>.container{width:100%}.home-page .hero__inner{min-height:calc(100svh - 250px);display:flex;align-items:center}.hero-copy{max-width:720px!important}.hero__eyebrow{font-size:14px;letter-spacing:.16em;text-transform:uppercase;color:#b5c4ff;margin-bottom:30px}.home-page .hero__title{font-size:clamp(46px,5.7vw,86px);line-height:1.07;letter-spacing:-.055em;text-shadow:0 3px 35px #0008;margin-bottom:30px}.hero__title>span{display:block}.home-page .hero__grad{display:block;background:none;color:#b3c2ff;font-style:italic;font-family:Georgia,serif;font-weight:400;letter-spacing:-.035em}.home-page .hero__text{color:#e7e9f2;max-width:47ch;font-size:18px;line-height:1.65;text-shadow:0 2px 10px #0008;padding-left:20px;border-left:1px solid #a5baff80}.home-page .hero-video{object-position:calc(50% + 260px) center;opacity:.92}.home-page .hero-shade{background:linear-gradient(90deg,#0d0c1cf2 0%,#0d0c1cb0 36%,#0d0c1c10 68%),linear-gradient(0deg,#0d0c1c,transparent 25%)}.home-page .hero__actions{gap:18px}.home-page .hero__actions .btn{height:58px;border-radius:8px;padding:0 28px}.home-page .hero__actions .btn:first-child{background:#e7edff;color:#11182d}.home-page .hero__actions .btn--outline{background:#ffffff08;border-color:#b4c3ff66;backdrop-filter:blur(12px)}.hero-scroll{display:flex;align-items:center;gap:25px;color:#c3c7d7;font-size:14px;margin-top:24px;text-decoration:none;width:max-content}.hero-scroll span{font-size:26px}.video-toggle{top:auto;bottom:45px;right:70px;background:#ffffff08;font-size:13px}.section-rail{position:fixed;right:22px;top:50%;transform:translateY(-50%);z-index:45;background:#11183270;border:1px solid #c5d1ff30;backdrop-filter:blur(16px);border-radius:30px;display:flex;flex-direction:column;gap:16px;padding:22px 14px}.section-rail a{display:block;position:relative;width:8px;height:8px;border:1px solid #bbc7ec;border-radius:50%;transition:background .3s,transform .3s}.section-rail a[aria-current=true]{background:#c4d1ff;transform:scale(1.5)}.section-rail a span{position:absolute;right:26px;top:50%;transform:translateY(-50%) translateX(6px);font-size:13px;white-space:nowrap;background:#0d1535;color:white;padding:8px 14px;border-radius:8px;opacity:0;pointer-events:none;transition:.3s}.section-rail a:hover span,.section-rail a:focus-visible span{opacity:1;transform:translateY(-50%) translateX(0)}
.project-showcase{background:#0d0c1c;padding:90px 0 55px}.showcase-heading .tagline-pill{border:0;padding:0;text-transform:uppercase;letter-spacing:.16em;font-size:13px;color:#a8baff}.showcase-heading .h2{font-size:clamp(30px,3.5vw,50px);font-weight:400;letter-spacing:-.03em}.project-orbit{height:535px;margin:40px auto 15px;perspective:1800px}.orbit-card{height:465px;width:335px;margin-left:-167.5px;border-radius:10px;padding:0;background:#0d1529;transform:translateX(calc(var(--offset)*275px)) translateZ(calc(var(--distance)*-150px)) rotateY(calc(var(--offset)*-16deg));transition:transform 1.05s cubic-bezier(.16,1,.3,1),opacity .8s,filter .8s;filter:brightness(calc(1 - var(--distance)*.13));box-shadow:0 35px 90px #0009}.orbit-card__image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform 1.4s cubic-bezier(.16,1,.3,1)}.orbit-card:hover .orbit-card__image{transform:scale(1.08)}.orbit-card::after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#080c1bf7 0%,#080c1bd9 28%,#080c1b22 70%,#080c1b44)}.orbit-card__body{position:relative;z-index:1;display:flex;flex-direction:column;height:100%;padding:28px}.orbit-card__number{font-size:14px;color:#ffffffb0;letter-spacing:.15em;margin-bottom:auto}.orbit-card__direction{font-size:12px;text-transform:uppercase;letter-spacing:.13em;color:#bbccff}.orbit-card h3{font-weight:400;font-size:27px;line-height:1.13;letter-spacing:-.02em;margin:16px 0}.orbit-card p{font-size:15px;line-height:1.5;color:#e0e4ed}.orbit-card__link{margin-top:20px;border-top:1px solid #ffffff30;padding-top:16px}.orbit-card.is-active{border-color:#becbff80}.orbit-controls{color:#bac8e8}.orbit-controls button{border-radius:8px}.catalog-picture{width:100%;height:180px;object-fit:cover;display:block;border-radius:12px;margin-bottom:24px;transition:transform 1.2s cubic-bezier(.16,1,.3,1)}.card:hover .catalog-picture{transform:scale(1.035)}.section{scroll-margin-top:88px}.project-showcase{scroll-margin-top:70px}.motion-reveal{opacity:0;transform:translateY(38px);clip-path:inset(10% 0 0 0);transition:opacity 1s,transform 1.15s cubic-bezier(.16,1,.3,1),clip-path 1.15s}.motion-reveal.is-shown{opacity:1;transform:translateY(0);clip-path:inset(0)}
@media(max-width:1100px){.header__nav{gap:16px}.home-page .hero-video{object-position:calc(50% + 180px) center}.section-rail{right:10px}}
@media(max-width:767px){.header__inner{min-height:72px}.home-page .header__nav.is-open{background:#0d1127f5;backdrop-filter:blur(18px)}.home-page .hero{padding:115px 0 55px;min-height:100svh}.home-page .hero__inner{min-height:calc(100svh - 210px)}.home-page .hero__title{font-size:clamp(40px,10vw,60px);letter-spacing:-.045em}.home-page .hero__eyebrow{font-size:11px;letter-spacing:.1em;margin-bottom:24px}.home-page .hero__text{font-size:16px;line-height:1.6;padding-left:14px;max-width:35ch}.home-page .hero-video{object-position:calc(50% + 100px) center;opacity:.65}.home-page .hero-shade{background:linear-gradient(90deg,#0d0c1ce0,#0d0c1c60),linear-gradient(0deg,#0d0c1c,transparent 50%)}.home-page .hero__actions .btn{padding:0 18px;min-height:52px;height:auto;font-size:14px;flex:1}.hero-scroll{font-size:12px}.video-toggle{bottom:18px;right:20px;font-size:12px}.section-rail{top:auto;bottom:12px;right:50%;transform:translateX(50%);flex-direction:row;gap:20px;padding:14px 20px;border-radius:30px}.section-rail a span{right:auto;top:auto;bottom:22px;left:50%;transform:translateX(-50%)}.section-rail a:hover span,.section-rail a:focus-visible span{transform:translateX(-50%)}.project-showcase{padding:55px 0 45px}.project-orbit{height:465px}.orbit-card{width:280px;margin-left:-140px;height:410px;transform:translateX(calc(var(--offset)*195px)) translateZ(calc(var(--distance)*-175px)) rotateY(calc(var(--offset)*-18deg))}.orbit-card__body{padding:22px}.orbit-card h3{font-size:25px}.orbit-card p{font-size:14px}.catalog-picture{height:160px}.footer{padding-bottom:85px}}
@media(prefers-reduced-motion:reduce){.motion-reveal{opacity:1;transform:none;clip-path:none;transition:none}.orbit-card__image,.catalog-picture{transition:none}.hero-scroll span{animation:none}}
/* Presentation player */
.presentations{background:#10142a;color:#edf1ff}.presentations .tagline-pill{color:#acbfff}.presentations .section-head .h2{font-weight:400;font-size:42px}.pdf-stage{background:radial-gradient(ellipse at center,#202c50,#0b0e20);border:1px solid #afc3ff25;min-height:430px;border-radius:14px;box-shadow:0 25px 70px #0005}.pdf-stage canvas{box-shadow:0 18px 60px #0008;border-radius:3px}.pdf-message{color:#b4c0df;font-size:18px}.pdf-toolbar{background:#ffffff06;border:1px solid #ffffff12;padding:14px;border-radius:12px}.pdf-toolbar button,.pdf-tabs button{background:#ffffff08;color:#d9e4ff;border-color:#b8c8ff25;border-radius:8px}.pdf-toolbar .btn{background:#e0e8ff;color:#18203c;border:0;border-radius:8px;height:44px;font-size:14px}.pdf-tabs button[aria-pressed=true]{background:#dce5ff;color:#111a32}.pdf-page-label{font-size:14px}.pdf-page-label input{background:#080f25;color:#eaf0ff;border-color:#b8c8ff30;width:62px}.pdf-toolbar a{color:#bbcdff;font-size:14px;margin-left:auto}.slide-progress{height:3px;background:#ffffff12;margin:22px 0 24px;overflow:hidden}.slide-progress span{height:100%;display:block;background:#a8bfff;transition:width .45s}.slide-thumbnails{display:flex;gap:14px;overflow:auto;padding:5px 3px 14px;scrollbar-width:thin;scrollbar-color:#62749d #131d38}.slide-thumb{flex:none;position:relative;width:156px;background:#070e23;padding:3px;border:1px solid #ffffff20;border-radius:7px;cursor:pointer;transition:transform .3s,border-color .3s}.slide-thumb[aria-current=true]{border:2px solid #acc3ff;transform:translateY(-3px)}.slide-thumb canvas{display:block;max-width:100%;height:auto;border-radius:3px}.slide-thumb span{position:absolute;bottom:8px;right:8px;background:#111a35e0;color:white;border-radius:3px;padding:2px 6px;font:12px sans-serif}.presentations:fullscreen{background:#10142a}.presentations:fullscreen .container{max-width:1600px}.presentations:fullscreen .slide-thumbnails{max-height:100px}.presentations:fullscreen .slide-thumb{width:125px}.presentations:fullscreen .pdf-stage{min-height:0}.presentations:fullscreen .pdf-stage canvas{max-height:calc(100svh - 250px);object-fit:contain}.pdf-toolbar button:hover{background:#ffffff18}
@media(max-width:767px){.pdf-stage{min-height:220px;padding:8px}.presentations .section-head .h2{font-size:30px}.pdf-toolbar{padding:10px}.pdf-toolbar .btn{width:100%}.pdf-toolbar a{margin-left:0}.pdf-message{font-size:16px}.slide-thumb{width:126px}.pdf-toolbar button{font-size:14px}}
.project-card__cover:before,.project-card__cover:after{display:none}.project-card__photo{position:absolute;width:100%;height:100%;object-fit:cover;inset:0;transition:transform 1.2s cubic-bezier(.16,1,.3,1)}.project-card:hover .project-card__photo{transform:scale(1.08)}.project-card{transition:opacity 1s,transform .9s cubic-bezier(.16,1,.3,1),box-shadow .5s}.hero-copy.is-shown .hero__title>span{animation:hero-line-in 1.2s cubic-bezier(.16,1,.3,1) both}.hero-copy.is-shown .hero__title>span:nth-child(2){animation-delay:.12s}.hero-copy.is-shown .hero__title>span:nth-child(3){animation-delay:.24s}@keyframes hero-line-in{from{opacity:0;transform:translateY(30px);clip-path:inset(100% 0 0)}to{opacity:1;transform:translateY(0);clip-path:inset(0)}}@media(prefers-reduced-motion:reduce){.hero-copy.is-shown .hero__title>span{animation:none}.project-card__photo{transition:none}}
.home-page .hero__actions .btn__arrow{display:none}.home-page .hero__actions .btn{white-space:nowrap}@media(max-width:767px){.home-page .hero-video{object-position:center;opacity:.5}.home-page .hero__title{letter-spacing:-.025em}.home-page .video-toggle{bottom:70px}.home-page .hero-scroll{margin-bottom:30px}.home-page .hero__actions .btn{font-size:14px;padding:0 16px}}
.people__avatar--image,.passport__avatar--image{object-fit:cover;overflow:hidden}.people__bio{margin-top:5px;color:var(--ink-2);font-size:14px;line-height:1.45}
