:root {
    --primary: #E7F0AF;
    --bg: #0D0D0D;
    --bg-alt: #0A0A0A;
    --neutral: #FFFFFF;
    --text-dim: #FFFFFF;
    --text-muted: rgba(255,255,255,0.75);
    --line: rgba(255,255,255,0.12);
    --line-strong: rgba(255,255,255,0.25);

    --font-head: 'Hanken Grotesk', system-ui, sans-serif;
    --font-body: 'Hanken Grotesk', system-ui, sans-serif;
    --font-mono: 'Hanken Grotesk', system-ui, sans-serif;

    --type-heading-xl: clamp(40px, 5vw, 84px);
    --type-heading-lg: clamp(28px, 4vw, 56px);
    --type-heading-md: clamp(24px, 3vw, 36px);
    --type-heading-sm: clamp(20px, 2.2vw, 32px);
    --type-heading-xs: 18px;

    --type-t1: 20px;
    --type-t2: 18px;
    --type-t3: 16px;
    --type-ui: 13px;
    --type-label: 11px;

    /* Fluid vertical rhythm — scale smoothly between mobile and desktop */
    --section-pad-x: clamp(16px, 4vw, 64px);
    --section-pad-y: clamp(40px, 6vw, 80px);
    --section-head-gap: clamp(24px, 5vw, 64px);
    --block-gap: clamp(24px, 4vw, 56px);

    /* Mobile-only unified type scale (applied via @media ≤768) */
    --m-h1: clamp(26px, 7vw, 36px);
    --m-h2: clamp(22px, 5.5vw, 28px);
    --m-h3: clamp(17px, 4.5vw, 22px);
    --m-t1: 16px;
    --m-t2: 13px;

    /* Mobile-only spacing system */
    --m-gap-section: 48px;
    --m-gap-title: 24px;
    --m-gutter: 20px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--neutral);
    overflow-x: hidden;
    max-width: 100vw;
    position: relative;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }

/* ============== UTIL ============== */
.mono {
    font-family: var(--font-mono);
    font-size: var(--type-label);
    letter-spacing: 0.04em;
    color: var(--text-muted);
    text-transform: uppercase;
}

.section {
    position: relative;
    border-top: 1px solid var(--line);
    padding: var(--section-pad-y) var(--section-pad-x);
}

.section::before {
    /* left rail line */
    content: "";
    position: absolute;
    left: var(--section-pad-x);
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--line);
    pointer-events: none;
}

.section::after {
    /* right rail line */
    content: "";
    position: absolute;
    right: var(--section-pad-x);
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--line);
    pointer-events: none;
}

.section-inner {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
}

.section-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: clamp(8px, 1.4vw, 16px);
    margin-bottom: var(--section-head-gap);
}

.section-tag {
    display: none;
}

.section-tag .dash {
    width: 16px;
    height: 1px;
    background: var(--primary);
}

.section-title {
    font-family: var(--font-head);
    font-weight: 500;
    font-size: var(--type-heading-lg);
    line-height: 0.9;
    letter-spacing: -0.04em;
    color: var(--primary);
    text-align: center;
    text-transform: uppercase;
}

.section-title em {
    font-style: normal;
    color: var(--primary);
}


@media (max-width: 800px) {
    .section-head { grid-template-columns: 1fr; }
    .section-title { text-align: left; }
}

/* ============== NAV ============== */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(13,13,13,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    padding: 18px 64px;
    gap: 32px;
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary);
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 22px;
    letter-spacing: -0.02em;
}

.nav-logo img {
    height: 22px;
    width: auto;
    display: block;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 28px;
    justify-content: center;
}

.nav-links a {
    font-family: var(--font-mono);
    font-size: var(--type-label);
    font-weight: 500;
    color: var(--text-dim);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.2s;
}

.nav-links a:hover { color: var(--primary); }

.nav-cta {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: var(--type-ui);
    letter-spacing: -0.01em;
    color: var(--bg);
    background: var(--primary);
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
}

.nav-cta:hover { background: var(--neutral); }

@media (max-width: 900px) {
    .nav { grid-template-columns: auto auto; padding: 14px 24px; }
    .nav-links { display: none; }
}

/* ============== HERO ============== */
.hero {
    position: relative;
    min-height: 100vh;
    background: var(--bg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 70px 64px 28px;
    overflow: visible;   /* ship & label bleed into 2nd screen on scroll */
    border-bottom: 1px solid var(--line);
}

.hero::before, .hero::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--line);
}
.hero::before { left: 64px; }
.hero::after { right: 64px; }

/* corner cross marks */
.hero-corner {
    position: absolute;
    width: 16px;
    height: 16px;
    pointer-events: none;
}
.hero-corner::before, .hero-corner::after {
    content: "";
    position: absolute;
    background: var(--primary);
}
.hero-corner::before {
    left: 50%; top: 0; bottom: 0; width: 1px; transform: translateX(-50%);
}
.hero-corner::after {
    top: 50%; left: 0; right: 0; height: 1px; transform: translateY(-50%);
}
.hero-corner.tl { top: 92px; left: 56px; }
.hero-corner.tr { top: 92px; right: 56px; }
.hero-corner.bl { bottom: 32px; left: 56px; }
.hero-corner.br { bottom: 32px; right: 56px; }

.hero-date {
    position: relative;
    top: -10px;
    z-index: 6;
    font-family: var(--font-body);
    font-size: var(--type-t1);
    font-weight: 500;
    letter-spacing: 0.14em;
    color: rgba(255,255,255,0.88);
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 70px;
}

.hero-center {
    position: relative;
    z-index: 6;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 22px;
    width: min(100%, 1080px);
    max-width: 1080px;
    padding-top: 28px;
    transform: translateY(-50px);
}

.hero-logo-img {
    width: clamp(250px, 54vw, 680px);
    height: auto;
    filter: drop-shadow(0 16px 50px rgba(0,0,0,0.32));
}

.hero-personal-note {
    width: min(100%, 640px);
    margin-top: 16px;
    margin-bottom: 6px;
    color: var(--primary);
    text-align: center;
    text-shadow: 0 8px 26px rgba(0,0,0,0.38);
}

.hero-personal-kicker {
    display: block;
    margin-bottom: 10px;
    font-family: var(--font-mono);
    font-size: var(--type-label);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.66);
}

.hero-personal-note p {
    font-family: var(--font-head);
    font-size: clamp(22px, 2.6vw, 34px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: 0;
    text-wrap: balance;
}

.hero-personal-name {
    display: block;
    overflow-wrap: anywhere;
}

.hero-personal-copy {
    display: block;
    margin-top: 4px;
    font-size: clamp(13px, 1.05vw, 16px);
    font-weight: 500;
    line-height: 1.3;
    color: rgba(255,255,255,0.86);
}

.hero-desc {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: var(--type-t2);
    line-height: 1.6;
    color: rgba(255,255,255,0.86);
    max-width: 560px;
    margin-top: -6px;
    text-wrap: balance;
    text-shadow: 0 8px 28px rgba(0,0,0,0.42);
}

.hero-actions {
    z-index: 6;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 16px;
}

/*@media (max-width: 768px) {
    .hero-actions {
        position: absolute;
        left: 0;
        right: 0;
        bottom: clamp(20px, 3vw, 36px);
        margin-top: 0;
        padding: 0 24px;
    }
}*/
@media (max-width: 768px) {
}

.btn {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: var(--type-t3);
    letter-spacing: -0.005em;
    border: none;
    padding: 16px 28px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-primary {
    background: var(--primary);
    color: var(--bg);
}
.btn-primary:hover { background: var(--neutral); }

.btn-secondary {
    background: transparent;
    color: var(--neutral);
    border: 1px solid var(--line-strong);
}
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); }

.btn .arrow svg { display: block; }

/* waves layer */
.hero-waves {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: -150px;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(155deg, black 0%, black 25%, transparent 60%);
    mask-image: linear-gradient(155deg, black 0%, black 25%, transparent 60%);
}

@media (min-width: 2550px) {
    .hero-waves-svg {
        left: -75%;
        top: 50%;
    }
}
@media (min-width: 1400px) and (max-width: 2549px) {
    .hero-waves-svg {
        left: -86%;
        top: 50%;
    }
}
@media (min-width: 1201px) and (max-width: 1399px) {
    .hero-waves-svg {
        left: -110%;
        top: 50%;
    }
}
@media (min-width: 1024px) and (max-width: 1200px) {
    .hero-waves-svg {
        left: -135%;
        top: 50%;
    }
}
@media (min-width: 801px) and (max-width: 1023px) {
    .hero-waves-svg {
        left: -124%;
        top: 66%
    }
}
@media (min-width: 769px) and (max-width: 800px) {
    .hero-waves-svg {
        left: -115%;
        top: 63%
    }
}
@media (max-width: 768px) {
    .hero-waves-svg {
        display: none;
    }
}

.hero-waves-svg {
    position: absolute;
    transform: translateY(-50%);
    height: 414%;
    width: auto;
    max-width: none;
    opacity: 0.55;
    animation: wave-drift-left 16s ease-in-out infinite;
}

@keyframes wave-drift-left {
    0%, 100% { transform: translateY(calc(-50% + 765px)) translateX(0); }
    50%       { transform: translateY(calc(-50% + 765px)) translateX(-18px); }
}

@media (max-width: 900px) {
    .hero-waves { opacity: 0.5; }
    /*.hero-waves-svg { height: 70%; }*/
}

@media (max-width: 800px) {
    .hero { padding: 72px 24px 18px; min-height: 92vh; }
    .hero::before { left: 24px; }
    .hero::after { right: 24px; }
    .hero-corner.tl, .hero-corner.bl { left: 16px; }
    .hero-corner.tr, .hero-corner.br { right: 16px; }
    .hero-date { margin-bottom: 20px; font-size: var(--type-ui); }
    .hero-center { gap: 16px; padding-top: 50px; }
    .hero-logo-img { width: min(76vw, 380px); }
    .hero-personal-note { width: min(100%, 340px); margin-top: 12px; margin-bottom: 4px; }
    .hero-personal-kicker { margin-bottom: 8px; font-size: 10px; letter-spacing: 0.12em; }
    .hero-personal-note p { font-size: clamp(18px, 5vw, 26px); }
    .hero-personal-copy { font-size: 12px; }
    .hero-desc { max-width: 330px; font-size: var(--type-t3); }
    .hero-actions { gap: 10px; padding: 0 24px; }
}

@media (max-width: 375px) {
    .hero-personal-note p { font-size: clamp(17px, 5vw, 22px); }
}

/* ============== WHAT ============== */
.what-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}

.stat {
    position: relative;
    padding: 34px 28px 30px;
    min-height: 236px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 18px;
    background: var(--bg);
    transition: background 0.25s ease, transform 0.25s ease;
}

.stat:hover { background: var(--bg-alt); transform: translateY(-2px); }

.stat-num {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(60px, 6.6vw, 104px);
    line-height: 0.86;
    letter-spacing: -0.05em;
    color: var(--neutral);
}

.stat-num .unit {
    font-size: 0.28em;
    color: var(--text-dim);
    font-weight: 500;
    letter-spacing: -0.01em;
    margin-left: 8px;
}

.stat-num .unit.unit-full {
    font-size: 1em;
    font-weight: 800;
    margin-left: 2px;
}

.stat-text {
    font-family: var(--font-body);
    font-size: var(--type-t2);
    line-height: 1.5;
    color: var(--text-dim);
    max-width: 320px;
    margin-top: auto;
}

.stat.accent {
    background: var(--primary);
    color: var(--bg);
}
.stat.accent .stat-num,
.stat.accent .stat-text { color: var(--bg); }
.stat.accent .stat-num .unit { color: rgba(0,0,0,0.6); }

@media (max-width: 768px) {
    .what-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .stat {
        min-height: auto;
        padding: 24px 20px;
    }

    .stat-num {
        font-size: clamp(54px, 16vw, 78px);
    }

    .stat-text {
        max-width: none;
    }
}

/* moving tag line */
.tag-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
    margin-top: 40px;
}

.tag-box {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: var(--type-heading-sm);
    letter-spacing: -0.02em;
    color: var(--neutral);
    text-transform: uppercase;
    text-align: center;
    padding: 28px 16px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

@media (max-width: 900px) {
    .what-grid { grid-template-columns: 1fr; }
}

/* ============== WHO ============== */
#who.section {
    overflow: hidden;
    border-top: none;
}

.who-layout {
    display: flex;
    flex-direction: column;
}

.who-board {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.who-board-figure {
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 44px 36px;
    overflow: hidden;
}

.who-board-figure img {
    width: 100%;
    max-width: 360px;
    height: auto;
    will-change: transform, opacity;
    transform: translateX(-110%) rotate(-22deg);
    opacity: 0;
}

.who-roles {
    background: var(--bg);
    display: flex;
    flex-direction: column;
}

.who-roles-head {
    padding: 36px 36px 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    border-bottom: 1px solid var(--line);
}

.who-kicker {
    font-family: var(--font-mono);
    font-size: var(--type-label);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.who-title {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: var(--type-heading-md);
    line-height: 0.95;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: var(--primary);
}

.who-roles-grid {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--line);
}

.who-role-tile {
    background: var(--bg);
    padding: 26px 24px;
    min-height: 124px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    transition: background 0.3s ease;
    text-decoration: none;
}

.who-role-num {
    font-family: var(--font-mono);
    font-size: var(--type-label);
    letter-spacing: 0.06em;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.who-role-name {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: var(--type-heading-xs);
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: var(--neutral);
}

.who-role-tile:hover { background: var(--bg-alt); }
.who-role-tile:hover .who-role-num { color: var(--primary); }

.who-role-tile--us {
    grid-column: 1 / -1;
    background: var(--primary);
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    min-height: 0;
    padding: 24px 28px;
    transition: background 0.3s ease;
}

.who-role-tile--us .who-role-name {
    color: var(--bg);
    font-weight: 800;
    font-size: var(--type-heading-sm);
    text-transform: uppercase;
}

.who-role-arrow {
    font-family: var(--font-head);
    font-size: var(--type-heading-sm);
    color: var(--bg);
    transition: transform 0.3s ease;
}

.who-role-tile--us:hover { background: var(--neutral); }
.who-role-tile--us:hover .who-role-arrow { transform: translateX(6px); }

.who-gains-title {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: var(--type-heading-sm);
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: var(--neutral);
    padding: 44px 2px 24px;
}

.who-gains-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.who-gain-cell {
    background: var(--bg);
    padding: 32px 28px;
    min-height: 168px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    transition: background 0.3s ease;
}

.who-gain-cell:hover { background: var(--bg-alt); }

.who-gain-num {
    font-family: var(--font-mono);
    font-size: var(--type-t3);
    color: var(--primary);
}

.who-gain-text {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: var(--type-t1);
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: var(--neutral);
}

/* Entrance */
.who-board,
.who-gains {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.who-layout.in .who-board { opacity: 1; transform: none; }
.who-layout.in .who-gains { opacity: 1; transform: none; transition-delay: 0.12s; }

@media (max-width: 900px) {
    .who-board { grid-template-columns: 1fr; }
    .who-board-figure { display: none; }
    .who-roles-head { padding: 26px 22px 20px; }
    .who-roles-grid { grid-template-columns: 1fr; }
    .who-role-tile {
        min-height: 0;
        flex-direction: row;
        align-items: baseline;
        justify-content: flex-start;
        gap: 16px;
        padding: 20px 22px;
    }
    .who-gains-grid { grid-template-columns: 1fr; }
    .who-gain-cell {
        min-height: 0;
        flex-direction: row;
        align-items: baseline;
        gap: 18px;
        padding: 24px 22px;
    }
}

/* ============== PROGRAM (symmetric zigzag) ============== */
.program-wrap {
    position: relative;
}

.program-prompt {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
    margin-bottom: 24px;
}

.program-prompt-label {
    font-family: var(--font-mono);
    font-size: var(--type-ui);
    letter-spacing: 0.2em;
    color: var(--text-dim);
    text-transform: uppercase;
}

.program-prompt-arrow {
    display: block;
    color: var(--primary);
    animation: prompt-bounce 2.4s infinite;
}

@keyframes prompt-bounce {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(8px); }
}

.route {
    position: relative;
    padding: 48px 0 32px;
}

/* Continuous timeline spine down the centre */
.route-grid {
    position: relative;
    display: flex;
    flex-direction: column;
}

.route-grid::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.14);
}

.route-stop {
    position: relative;
    width: 50%;
    box-sizing: border-box;
    padding: 0 56px 52px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.route-stop:last-child { padding-bottom: 0; }

.route-stop:nth-child(odd) {
    align-self: flex-start;
    text-align: right;
    align-items: flex-end;
}

.route-stop:nth-child(even) {
    align-self: flex-end;
    text-align: left;
    align-items: flex-start;
}

/* Node sitting on the spine */
.route-stop::before {
    content: "";
    position: absolute;
    top: 4px;
    width: 16px;
    height: 16px;
    background: var(--primary);
    border: 3px solid var(--bg);
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 0 5px rgba(231, 240, 175, 0.12);
}

.route-stop:nth-child(odd)::before { right: -9px; }
.route-stop:nth-child(even)::before { left: -9px; }

.route-num {
    display: block;
    font-family: var(--font-mono);
    font-size: var(--type-label);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.route-time {
    font-family: var(--font-head);
    font-size: var(--type-heading-sm);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--primary);
}

.route-text {
    font-family: var(--font-body);
    font-size: var(--type-t1);
    line-height: 1.5;
    color: var(--text-dim);
    max-width: 360px;
}

@media (max-width: 900px) {
    .route { padding: 24px 0 8px; }
    .route-grid::before { left: 6px; }
    .route-stop {
        width: 100%;
        align-self: flex-start !important;
        text-align: left !important;
        align-items: flex-start !important;
        padding: 0 0 30px 34px;
    }
    .route-stop:last-child { padding-bottom: 0; }
    .route-stop::before {
        left: 0 !important;
        right: auto !important;
        top: 5px;
        width: 14px;
        height: 14px;
    }
}

/* ============== VALUES (rotating fish circle) ============== */
.values-stage {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    aspect-ratio: 1;
}

.values-fish {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
}

.values-fish img {
    width: 200%;
    height: auto;
    animation: rotate-fish 36s linear infinite reverse;
}

@keyframes rotate-fish {
    0%   { transform: scaleX(-1) rotate(0deg)   scale(1);    }
    25%  { transform: scaleX(-1) rotate(90deg)  scale(1.05); }
    50%  { transform: scaleX(-1) rotate(180deg) scale(1);    }
    75%  { transform: scaleX(-1) rotate(270deg) scale(1.05); }
    100% { transform: scaleX(-1) rotate(360deg) scale(1);    }
}

.values-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.values-ring.outer {
    width: 198%;
    aspect-ratio: 1;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.values-ring.inner {
    width: 158%;
    aspect-ratio: 1;
    border: 1px solid rgba(255, 253, 186, 0.4);
}

.values-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 158%;
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    animation: orbit-spin 36s linear infinite;
    pointer-events: none;
}

.values-orbit-dot {
    position: absolute;
    background: #FFFDBA;
    border-radius: 50%;
}

.values-orbit-dot.lg {
    top: 0;
    left: 50%;
    width: 24px;
    height: 24px;
    margin: -12px 0 0 -12px;
}

.values-orbit-dot.sm {
    top: 14.6%;
    left: 85.4%;
    width: 12px;
    height: 12px;
    margin: -6px 0 0 -6px;
}

@keyframes orbit-spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.values-word {
    position: absolute;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: var(--type-heading-lg);
    letter-spacing: -0.02em;
    color: var(--neutral);
    text-transform: uppercase;
    white-space: nowrap;
}

.values-word.top {
    top: -8px;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--bg);
    padding: 0 28px;
}

.values-word.left {
    left: -8px;
    top: 50%;
    transform: translate(-100%, -50%);
    background: var(--bg);
    padding: 0 28px;
    color: var(--neutral);
}

.values-word.right {
    right: -8px;
    top: 50%;
    transform: translate(100%, -50%);
    background: var(--bg);
    padding: 0 28px;
}

.values-word.bottom-word {
    bottom: -8px;
    left: 50%;
    transform: translate(-50%, 50%);
    background: var(--bg);
    padding: 0 28px;
    color: var(--neutral);
}

.values-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.values-center-word {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: var(--type-heading-sm);
    line-height: 1.3;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    text-align: center;
    white-space: nowrap;
    color: rgba(255,255,255,0.2);
    transition: color 0.4s ease, text-shadow 0.4s ease;
}

.values-center-word:nth-child(1) { animation: word-glow 8s 0s   infinite; }
.values-center-word:nth-child(2) { animation: word-glow 8s 2s   infinite; }
.values-center-word:nth-child(3) { animation: word-glow 8s 4s   infinite; }
.values-center-word:nth-child(4) { animation: word-glow 8s 6s   infinite; }

@keyframes word-glow {
    0%, 20%, 100% {
        color: rgba(255,255,255,0.2);
        text-shadow: none;
    }
    10% {
        color: var(--primary);
        text-shadow: 0 0 24px rgba(231,240,175,0.7);
    }
}

@media (max-width: 900px) {
    .values-word.left, .values-word.right {
        position: static;
        transform: none;
        background: transparent;
        text-align: center;
        margin: 8px 0;
        padding: 0;
    }
    .values-word.top { top: -12px; }
    .values-word.bottom-word { bottom: -12px; }
    .values-stage { max-width: 480px; }
    .values-mobile-words {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 32px;
        gap: 4px;
    }
}

.values-mobile-words { display: none; }

/* Mobile chrome simplification.
   NOTE: this block was accidentally left outside its @media wrapper, so it
   hid the navigation and all decorative framing on every screen size — not
   just mobile. Restored below; the nav stays visible everywhere (it adapts
   to logo + CTA under 900px via the .nav rules above). */
@media (max-width: 900px) {
    .section::before, .section::after { display: none; }
    #partners { border-top: none; padding-top: 0; }
    .hero::before, .hero::after { display: none; }
    .hero-corner { display: none; }
    .hero { border-bottom: none; }
    #what.section { border-top: none; background: var(--bg); }
}

.partners-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 228px minmax(0, 1fr);
    align-items: stretch;
}

@media (max-width: 1199px) {
    .partners-layout { grid-template-columns: 1fr; }
}

.partner-simple {
    padding: 56px 48px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.partner-head {
    display: flex;
    align-items: center;
    gap: 16px;
}

.partner-index {
    font-family: var(--font-mono);
    font-size: var(--type-t3);
    letter-spacing: 0.04em;
    color: var(--primary);
    flex-shrink: 0;
}

.partner-role {
    font-family: var(--font-mono);
    font-size: var(--type-label);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
    flex-shrink: 0;
}

.partner-head::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--line);
}


@media (max-width: 1199px) {
    /* Edge-to-edge sections below 3-col desktop layout */
    .section { padding-left: 0; padding-right: 0; }
    .section::before, .section::after { display: none; }
    .section-inner { padding-left: var(--m-gutter); padding-right: var(--m-gutter); }
}

.partner-ship-col {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 24px;
    position: relative;
    transform: translateX(-50px);
}

.partner-ship-col img {
    width: 180px;
    height: auto;
    opacity: 0.7;
    mix-blend-mode: screen;
    animation: ship-float 7s ease-in-out infinite;
}
@media (max-width: 600px) {
    .values-stage { max-width: 320px; aspect-ratio: 1; }
    .values-word.top, .values-word.bottom-word { display: none; }
    .values-word.left, .values-word.right { display: none; }
    .values-mobile-words { display: none; }
}

/* ============== ABOUT — uneven grid ============== */
.about-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(60px, auto);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.about-cell {
    background: var(--bg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    min-height: 120px;
}

.about-cell .cell-label {
    font-family: var(--font-mono);
    font-size: var(--type-label);
    color: var(--text-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.about-cell .cell-value {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: var(--type-heading-xs);
    letter-spacing: -0.01em;
    color: var(--neutral);
}

.about-big {
    grid-column: 1 / 9;
    grid-row: 1 / 3;
    min-height: 320px;
    padding: 48px;
    display: flex;
    align-items: flex-end;
}

.about-big h3 {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: var(--type-heading-xl);
    line-height: 0.92;
    letter-spacing: -0.035em;
    color: var(--neutral);
}

.about-big h3 em { font-style: normal; color: var(--primary); }

.about-quote-cell {
    grid-column: 9 / 13;
    grid-row: 1 / 3;
    min-height: 320px;
}

.about-quote-cell .q {
    font-family: var(--font-head);
    font-weight: 500;
    font-size: var(--type-t3);
    line-height: 1.4;
    color: var(--neutral);
    letter-spacing: -0.01em;
}

.about-cell.detail-1 { grid-column: 1 / 4; grid-row: 3; }
.about-cell.detail-2 { grid-column: 4 / 7; grid-row: 3; }
.about-cell.detail-3 { grid-column: 7 / 10; grid-row: 3; }
.about-cell.detail-4 { grid-column: 10 / 13; grid-row: 3; background: var(--primary); }
.about-cell.detail-4 .cell-label { color: rgba(0,0,0,0.5); }
.about-cell.detail-4 .cell-value { color: var(--bg); }

.about-cta-cell {
    grid-column: 1 / 13;
    grid-row: 4 / 5;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 36px 48px;
}
.about-cta-cell h4 {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: var(--type-heading-sm);
    letter-spacing: -0.02em;
    color: var(--neutral);
}

@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; }
    .about-big, .about-quote-cell,
    .about-cell.detail-1, .about-cell.detail-2,
    .about-cell.detail-3, .about-cell.detail-4,
    .about-cta-cell {
        grid-column: 1 / -1;
        grid-row: auto;
    }
    .about-big { min-height: 240px; padding: 32px; }
    .about-quote-cell { min-height: auto; }
    .about-cta-cell { flex-direction: column; align-items: flex-start; }
}

/* ============== PARTNERS ============== */
.partners-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.partner {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 56px 48px;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 80px 1fr auto;
    gap: 32px;
    min-height: 360px;
    background: var(--bg);
    transition: background 0.3s;
}

.partner:hover { background: var(--bg-alt); }

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.partner-logo .placeholder {
    height: 64px;
    width: 200px;
    border: 1px solid var(--line-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: var(--type-label);
    letter-spacing: 0.16em;
    color: var(--text-muted);
    text-transform: uppercase;
}

.partner-logo-img {
    display: block;
    height: 56px;
    width: auto;
    object-fit: contain;
}

.partner-logo-img.gazprom { height: 44px; margin-left: 7px; }
.partner-logo-img.t1      { height: 35px; }

.partner-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.partner-role {
    font-family: var(--font-mono);
    font-size: var(--type-label);
    letter-spacing: 0.04em;
    color: var(--text-muted);
    text-transform: uppercase;
}

.partner-desc {
    font-family: var(--font-head);
    font-weight: 500;
    font-size: var(--type-t2);
    line-height: 1.5;
    letter-spacing: -0.01em;
    color: var(--neutral);
    max-width: 460px;
}

@media (max-width: 1199px) {
    .partners-layout .partner-simple:first-child .partner-desc { margin-left: 0; }
    .partner-desc { max-width: none; }
    .partner-simple { padding: 24px var(--m-gutter); }
    .partner-ship-col {
        padding: 8px var(--m-gutter);
        transform: none;
        justify-content: center;
    }
}

.partner-desc-secondary {
    display: block;
    font-family: var(--font-body);
    font-size: var(--type-t3);
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 460px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

.partner-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    border-top: 1px solid var(--line);
    padding-top: 16px;
}

.partner-tag {
    font-family: var(--font-mono);
    font-size: var(--type-label);
    letter-spacing: 0.04em;
    color: var(--text-dim);
    padding: 4px 12px 4px 0;
    border-right: 1px solid var(--line);
    margin-right: 12px;
}
.partner-tag:last-child { border-right: none; margin-right: 0; }

@media (max-width: 800px) {
    .partners-grid { grid-template-columns: 1fr; }
    .partner { padding: 36px 24px; min-height: 280px; }
}

/* ============== MANIFESTO ============== */
.manifesto-block {
    padding: 20px 0 80px;
    position: relative;
}

.manifesto-ship {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(calc(-50% - 50px));
    width: 62%;
    max-width: 832px;
    pointer-events: none;
}

.manifesto-ship img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 900px) {
    .manifesto-ship { display: none; }
}

.manifesto-main {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(9px, 3.2vw, 32px);
    line-height: 1.3;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: var(--neutral);
}

.manifesto-lead,
.manifesto-route-copy,
.manifesto-note {
    display: block;
    white-space: nowrap;
}

/* Safety: below standard mobile widths, let text wrap to prevent overflow */
@media (max-width: 320px) {
    .manifesto-lead,
    .manifesto-route-copy,
    .manifesto-note {
        white-space: normal;
    }
}

.manifesto-lead,
.manifesto-route-copy {
    margin-bottom: clamp(8px, 1.8vw, 18px);
}

.manifesto-main em {
    font-style: normal;
    color: var(--primary);
}

#about .manifesto-block {
    --about-photo-width: min(34%, 460px);
    --about-photo-gap: clamp(36px, 5vw, 72px);
    min-height: clamp(360px, 34vw, 500px);
    padding: clamp(28px, 4vw, 54px) 0;
    display: flex;
    align-items: center;
}

#about .manifesto-main {
    position: relative;
    z-index: 2;
    width: calc(100% - var(--about-photo-width) - var(--about-photo-gap));
    font-size: clamp(22px, 2.45vw, 31px);
}

#about .manifesto-lead,
#about .manifesto-route-copy,
#about .manifesto-note {
    white-space: normal;
}

.manifesto-photo {
    position: absolute;
    top: 50%;
    right: 0;
    width: var(--about-photo-width);
    margin: 0;
    transform: translateY(-50%);
    overflow: visible;
    background: transparent;
}

.manifesto-photo img {
    width: 100%;
    height: auto;
    max-width: none;
    display: block;
    object-fit: contain;
    filter: saturate(0.94) contrast(1.04);
}

.test-zoom-image {
    cursor: zoom-in;
}

.test-zoom-image:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
}

.test-values {
    overflow: hidden;
    background: #0d0d0d;
}

#values .reveal {
    opacity: 1;
}

.test-values .section-head {
    margin-bottom: clamp(18px, 3vw, 34px);
}

.test-values-intro {
    max-width: 720px;
    margin: 0 auto clamp(28px, 4vw, 48px);
    font-size: var(--type-t2);
    line-height: 1.55;
    color: rgba(255,255,255,0.78);
    text-align: center;
}

.test-values-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.14);
}

.test-value-card {
    min-width: 0;
    background: #0d0d0d;
}

.test-value-img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.test-value-copy {
    min-height: 196px;
    padding: clamp(22px, 3vw, 34px);
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.test-value-index {
    font-family: var(--font-mono);
    font-size: var(--type-label);
    letter-spacing: 0.12em;
    color: var(--primary);
}

.test-value-copy h3 {
    font-family: var(--font-head);
    font-size: clamp(22px, 2.5vw, 34px);
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0;
    color: var(--neutral);
    text-transform: uppercase;
}

.test-value-copy p {
    margin-top: auto;
    font-size: var(--type-t3);
    line-height: 1.5;
    color: rgba(255,255,255,0.78);
}

.image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 500;
    display: none;
    align-items: center;
    justify-content: center;
    padding: clamp(18px, 4vw, 48px);
    background: rgba(0,0,0,0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.image-lightbox.is-open {
    display: flex;
}

.image-lightbox-img {
    width: auto;
    height: auto;
    max-width: min(94vw, 1280px);
    max-height: 86vh;
    object-fit: contain;
    box-shadow: 0 22px 80px rgba(0,0,0,0.5);
}

.image-lightbox-close {
    position: absolute;
    top: clamp(14px, 2vw, 24px);
    right: clamp(14px, 2vw, 24px);
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 50%;
    background: rgba(13,13,13,0.74);
    color: var(--neutral);
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.image-lightbox-close:hover,
.image-lightbox-close:focus-visible {
    color: var(--bg);
    background: var(--primary);
    outline: none;
}

body.image-lightbox-open {
    overflow: hidden;
}

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

    .test-value-card {
        display: grid;
        grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    }

    .test-value-img {
        height: 100%;
        min-height: 240px;
    }

    .test-value-copy {
        min-height: 240px;
    }

    #about .manifesto-block {
        min-height: 0;
        display: grid;
        gap: 24px;
        padding-bottom: 0;
    }

    #about .manifesto-main {
        width: 100%;
    }

    .manifesto-photo {
        position: relative;
        width: 100%;
        max-width: 520px;
        height: auto;
        transform: none;
        border: 0;
    }
}

@media (max-width: 768px) {
    html,
    body {
        overflow-x: hidden;
    }

    #values.section {
        padding-top: clamp(42px, 12vw, 64px);
        padding-bottom: clamp(48px, 13vw, 72px);
    }

    .test-values .section-head {
        margin-bottom: 20px;
    }

    .test-values-intro {
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 30px;
        text-align: left;
        font-size: var(--m-t1);
        line-height: 1.5;
    }

    .test-values-grid {
        margin-left: 0;
        margin-right: 0;
        gap: 18px;
        background: transparent;
        border: 0;
    }
}

@media (max-width: 620px) {
    .test-value-card {
        display: block;
        min-height: 0;
        overflow: hidden;
        border: 1px solid rgba(255,255,255,0.16);
    }

    .test-value-img {
        width: 100%;
        height: auto;
        min-height: 0;
        aspect-ratio: 1.35 / 1;
        object-fit: cover;
        object-position: center;
    }

    .test-value-copy {
        min-height: 0;
        padding: 22px 20px 24px;
        gap: 14px;
        justify-content: flex-start;
    }

    .test-value-index {
        font-size: 11px;
    }

    .test-value-copy h3 {
        font-size: clamp(20px, 6vw, 24px);
        line-height: 1.05;
    }

    .test-value-copy p {
        margin-top: 4px;
        font-size: 14px;
        line-height: 1.5;
    }

    #about .manifesto-block {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 28px;
        padding-top: 26px;
    }

    #about .manifesto-main {
        order: 1;
    }

    .manifesto-photo {
        order: 2;
        max-width: 100%;
    }

    .manifesto-photo img {
        max-height: 220px;
        object-position: center;
    }

    .image-lightbox {
        padding: 16px;
    }

    .image-lightbox-img {
        max-width: 100%;
        max-height: 78vh;
    }
}

@media (max-width: 360px) {
    .test-value-copy {
        padding: 20px 16px 22px;
    }

    .test-value-copy h3 {
        font-size: 19px;
    }

    .test-value-copy p {
        font-size: 13px;
    }
}

/* ============== FORM ============== */
.form-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
    align-items: start;
}

.form-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-info h3 {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: var(--type-heading-lg);
    line-height: 0.95;
    letter-spacing: -0.03em;
    color: var(--neutral);
}

.form-info h3 em { font-style: normal; color: var(--primary); }

.form-info p {
    font-family: var(--font-body);
    font-size: var(--type-t3);
    line-height: 1.55;
    color: var(--text-dim);
    max-width: 380px;
}

.form-meta {
    display: flex;
    flex-wrap: wrap;
    border-top: 1px solid var(--line);
    padding-top: 16px;
    margin-top: 4px;
}

.form-meta-item {
    font-family: var(--font-mono);
    font-size: var(--type-label);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding-right: 14px;
    margin-right: 14px;
    border-right: 1px solid var(--line);
}

.form-meta-item:last-child {
    border-right: none;
    margin-right: 0;
    padding-right: 0;
}

.form-contacts {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--line);
    margin-top: 12px;
}

.form-contact {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 24px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    align-items: center;
}

.form-contact .label {
    font-family: var(--font-mono);
    font-size: var(--type-label);
    letter-spacing: 0.04em;
    color: var(--text-muted);
    text-transform: uppercase;
}

.form-contact .value {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: var(--type-t3);
    letter-spacing: -0.01em;
    color: var(--neutral);
    text-decoration: none;
}

a.value:hover { color: var(--primary); }

.lead-form {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--line);
}

.field {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid var(--line);
    padding: 18px 0;
    gap: 8px;
}

.field label {
    font-family: var(--font-mono);
    font-size: var(--type-label);
    letter-spacing: 0.04em;
    color: var(--text-muted);
    text-transform: uppercase;
}

.field input {
    font-family: var(--font-head);
    font-weight: 500;
    font-size: var(--type-t2);
    color: var(--neutral);
    background: transparent;
    border: none;
    outline: none;
    letter-spacing: -0.01em;
}

.field input::placeholder { color: rgba(255,255,255,0.3); }

.field.error input { color: var(--primary); }
.field-error,
.field-hint { font-family: var(--font-mono); font-size: var(--type-label); letter-spacing: 0.04em; color: var(--primary); text-transform: uppercase; margin-top: 2px; }

.form-error {
    margin: 18px 0 0;
    font-family: var(--font-mono);
    font-size: var(--type-label);
    line-height: 1.5;
    letter-spacing: 0.04em;
    color: var(--primary);
    text-transform: uppercase;
}

.field-row {
    display: flex;
    flex-direction: column;
}

.field-row .field {
    border-right: none;
    padding: 18px 0;
}
.field-row .field:last-child { padding-left: 0; padding-right: 0; }

.form-badge-note {
    font-family: var(--font-body);
    font-size: var(--type-ui);
    line-height: 1.5;
    color: var(--primary);
    padding: 10px 0 4px;
}

.checkbox {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 14px;
    align-items: start;
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
}

.checkbox input {
    appearance: none;
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border: 1px solid var(--line-strong);
    background: transparent;
    cursor: pointer;
    position: relative;
    margin-top: 2px;
}

.checkbox input:checked {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox input:checked::after {
    content: '✓';
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--bg);
    font-weight: 700;
    font-size: var(--type-ui);
}

.checkbox label {
    font-family: var(--font-body);
    font-size: var(--type-ui);
    line-height: 1.5;
    color: var(--text-dim);
    cursor: pointer;
}

.checkbox label a {
    color: var(--primary);
    text-decoration-color: var(--primary);
}

.form-submit {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: var(--type-t3);
    letter-spacing: -0.01em;
    background: var(--primary);
    color: var(--bg);
    border: none;
    padding: 22px 28px;
    cursor: pointer;
    margin-top: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.2s;
}

.form-submit:hover { background: var(--neutral); }
.form-submit:disabled {
    cursor: wait;
    opacity: 0.7;
}

.form-grid.is-submitted .form-info,
.form-grid.is-submitted .lead-form {
    display: none;
}

.form-success {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.form-success.is-visible {
    display: flex;
}

.form-success-text {
    margin: 0;
    max-width: 720px;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: var(--type-heading-sm);
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--neutral);
}

.form-success-text em { font-style: normal; color: var(--primary); }

@media (max-width: 900px) {
    .form-grid { grid-template-columns: 1fr; gap: 40px; }
    .field-row .field { border-right: none; padding: 18px 0; border-bottom: 1px solid var(--line); }
    .field-row .field:last-child { padding-left: 0; padding-right: 0; }
}

/* ============== FOOTER ============== */
.footer {
    background: var(--bg);
    padding: 80px 64px 32px;
    position: relative;
}

.footer::before, .footer::after { display: none; }

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 64px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--line);
}

.footer-brand img {
    height: 56px;
    width: auto;
}

.footer-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 32px 0;
    border-top: 1px solid var(--line-strong);
    position: relative;
}

.footer-row::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 20%;
    height: 60%;
    width: 1px;
    background: var(--line-strong);
}

.footer-cell-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-cell-right {
    display: flex;
    gap: 64px;
    padding-left: 48px;
}

.footer-cell {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-cell .label {
    font-family: var(--font-mono);
    font-size: var(--type-label);
    letter-spacing: 0.04em;
    color: var(--text-muted);
    text-transform: uppercase;
}

.footer-cell .value,
.footer-cell a.value {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: var(--type-t3);
    letter-spacing: -0.01em;
    color: var(--neutral);
    text-decoration: none;
}

a.value:hover { color: var(--primary); }

.footer-bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding-top: 32px;
    font-family: var(--font-mono);
    font-size: var(--type-label);
    color: var(--text-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.footer-bottom a {
    color: var(--text-dim);
    text-decoration: underline;
    text-underline-offset: 4px;
    padding-left: 48px;  /* match .footer-cell-right padding-left so Privacy aligns with Phone column */
    justify-self: start;
}

@media (max-width: 768px) {
    /* Mobile: stack everything */
    .footer-row {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 24px 0;
    }
    .footer-row::after { display: none; }
    .footer-cell-right {
        padding-left: 0;
        gap: 32px;
        flex-wrap: wrap;
    }
    .footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
    .footer-bottom a { padding-left: 0; }
}

/* ============== REVEAL ============== */
.reveal {
    opacity: 0;
    transition: opacity 0.8s ease;
}
.reveal.in {
    opacity: 1;
}
.reveal-stagger > * { transition-delay: var(--d, 0s); }

/* ── Hero motion group: ship + route label (parallax into 2nd screen) ── */
.hero-motion-group {
    position: absolute;
    right: var(--ship-right, clamp(80px, 18vw, 300px));
    top: var(--ship-top, clamp(40px, 8.5vw, 150px));
    width: clamp(528px, 70vw, 984px);
    overflow: hidden;
    pointer-events: auto;
    z-index: 2;
    cursor: default;
    will-change: transform, opacity;
    animation: ship-arrive 2.8s cubic-bezier(0.22, 1, 0.36, 1) 0.6s both;
}

.hero-ship-img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.72;
    will-change: transform;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 18%);
    mask-image: linear-gradient(to right, transparent 0%, black 18%);
    animation: ship-float 10s ease-in-out 2.8s infinite;
}

.hero-motion-group::before {
    content: '';
    position: absolute;
    inset: 0;
}

@keyframes hero-fade-up {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes ship-arrive {
    0%   { opacity: 0; transform: translateX(-30vw); }
    55%  { opacity: 1; }
    100% { opacity: 1; transform: translateX(100px); }
}

@keyframes ship-float {
    0%,  100% { transform: translateY(0px)   rotate(0deg); }
    35%        { transform: translateY(-10px) rotate(0.45deg); }
    65%        { transform: translateY(-5px)  rotate(-0.25deg); }
}

@media (max-width: 900px) {
    .hero-motion-group {
        width: clamp(220px, 60vw, 420px);
    }
}

/* Desktop: animated absolute ship.  Mobile: inline ship below desc. */
.hero-ship-inline { display: none; }

.hero-ship-inline img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 768px) {
    .hero-motion-group { display: none; }
    .hero-ship-inline {
        display: block;
        width: 225%;
        /*width: min(80%, 300px);*/
        /*margin: 8px auto 0;*/
        margin: 8px auto 8%;
        pointer-events: none;
        /* Compensate the SVG's left-side mask so the visible silhouette is centered. */
        /*transform: translateX(-20%);*/
        transform: translateX(-58%);
    }
}

/* ============== MOBILE ADAPTATION (≤768 / ≤480 / ≤375) ============== */

/* Tablet & below */
@media (max-width: 768px) {

    /* Nav */
    .nav { padding: 12px 20px; gap: 12px; }
    .nav-cta { padding: 10px 14px; font-size: 12px; }
    .nav-logo img { height: 18px; }

    /* Hero — full viewport height with content distributed, actions pinned to bottom */
    .hero {
        padding-left: var(--m-gutter);
        padding-right: var(--m-gutter);
        padding-top: 64px;
        padding-bottom: 24px;
        min-height: 100vh;
        min-height: 100svh;
        justify-content: flex-start;
    }
    .hero::before { left: var(--m-gutter); }
    .hero::after { right: var(--m-gutter); }
    /*.hero-center {
        flex: 1;
        width: 100%;
        transform: none;
        padding-top: 0;
        justify-content: center;
    }*/
    .hero-center {
        flex: 1;
        width: 100%;
        transform: none;
        padding-top: 0;
        justify-content: center;
    }
    /* Hero CTAs on mobile: stacked, full-width, pinned to the bottom of hero */
    .hero-actions {
        width: 100%;
        margin-top: 0;
        padding: 0;
    }
    .hero-actions .btn {
        width: 100%;
        max-width: none;
        padding: 18px 20px;
    }

    /* What — stat cards stack */
    .what-grid { grid-template-columns: 1fr; gap: 10px; }
    .stat { min-height: auto; padding: 24px 20px; gap: 14px; }
    .stat-num { font-size: clamp(56px, 14vw, 80px); }
    /* Always 2 lines on mobile: shrink font so the longest copy fits in two lines */
    .stat-text {
        max-width: none;
        font-size: clamp(12px, 3.6vw, 15px);
        text-wrap: balance;
    }

    /* Tag grid: 4 → 2 columns */
    .tag-grid { grid-template-columns: repeat(2, 1fr); margin-top: 24px; }
    .tag-box { padding: 22px 12px; }

    /* Who */
    .who-block { padding: 24px 20px; }
    .who-block-title { margin-bottom: 14px; }
    .who-row, .who-benefit-row { padding: 8px 0; }

    /* Program / route */
    .route { padding: 32px 0 32px; }
    .route-grid { row-gap: 24px; }
    .route-text br { display: none; }


    /* Partners — real layout used in markup is .partners-layout */
    .partner-simple { padding: 24px var(--m-gutter); gap: 16px; }
    .partner-desc { max-width: none; }
    .partner-logo-img { height: 44px; }
    .partner-logo-img.gazprom { height: 36px; margin-left: 0; }
    .partner-logo-img.t1 { height: 28px; }
    .partner-ship-col {
        padding: 4px 16px;
        transform: none;
    }
    .partner-ship-col img { width: 120px; }

    /* Form */
    .form-grid { grid-template-columns: 1fr; gap: 28px; }
    .form-info p { max-width: none; }
    .field { padding: 14px 0; }
    .form-submit { padding: 18px 24px; }
    .form-contact { grid-template-columns: 80px 1fr; gap: 16px; padding: 14px 0; }

    /* Footer */
    .footer { padding: 48px 0 24px; }
    .footer-inner { padding: 0 var(--m-gutter); }
    .footer-brand { margin-bottom: 32px; padding-bottom: 24px; }
    .footer-brand img { height: 40px; }
    .footer-row { grid-template-columns: 1fr; gap: 20px; padding: 24px 0; }
    .footer-row::after { display: none; }
    .footer-cell-right { padding-left: 0; gap: 24px; flex-wrap: wrap; }
    .footer-bottom { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; justify-content: space-between; padding-top: 20px; }
    .footer-bottom a { padding-left: 0; }
}

/* Phones — 414 / 375 */
@media (max-width: 480px) {

    /* Nav */
    .nav { padding: 10px 16px; }
    .nav-cta {
        padding: 8px 12px;
        font-size: 11px;
        letter-spacing: 0;
    }
    .nav-cta svg { width: 12px; height: 12px; }

    /* Hero — gutter inherited from --m-gutter, just tweak vertical padding */
    .hero { padding-top: 56px; padding-bottom: 16px; }
    .hero-corner.tl, .hero-corner.bl { left: 8px; }
    .hero-corner.tr, .hero-corner.br { right: 8px; }
    .hero-date {
        font-size: 12px;
        margin-bottom: 16px;
        letter-spacing: 0.1em;
    }
    .hero-center { gap: 14px; }
    .hero-logo-img { width: min(80vw, 320px); }
    .hero-desc { font-size: 15px; max-width: 100%; padding: 0 6px; }
    .btn { padding: 14px 18px; }

    /* What */
    .stat-num { font-size: clamp(52px, 16vw, 72px); }
    .stat-num .unit { font-size: 0.32em; }
    .tag-box { padding: 18px 8px; }

    /* Who */
    .who-block { padding: 20px 16px; }

    /* Program */
    .route-stop { padding-left: 30px; }
    .route-grid::before { left: 6px; }
    .route-stop::before { width: 12px; height: 12px; top: 5px; }

    /* Partners */
    .partner-simple { padding: 20px var(--m-gutter); gap: 14px; }
    .partner-desc { line-height: 1.5; }
    .partner-tag { padding: 4px 8px 4px 0; margin-right: 8px; }

    /* Form */
    .form-grid { gap: 24px; }
    .form-contact { grid-template-columns: 70px 1fr; gap: 12px; }
    .form-submit { padding: 16px 18px; }

    /* Footer */
    .footer { padding: 40px 0 20px; }
    .footer-cell-right { gap: 18px; }
}

/* Extra-small phones — 320 / 360 */
@media (max-width: 375px) {

    .nav { padding: 8px 14px; gap: 8px; }
    .nav-cta { padding: 7px 10px; }

    .hero { padding-top: 48px; padding-bottom: 12px; }
    .hero-logo-img { width: 78vw; }
    .hero-desc { font-size: 14px; }
    .btn { padding: 13px 16px; }

    .tag-grid { grid-template-columns: 1fr 1fr; }
    .tag-box { padding: 16px 6px; }

    .stat { padding: 20px 16px; }
    .stat-num { font-size: clamp(48px, 17vw, 64px); }


    .form-submit { padding: 14px 16px; }

    .footer-cell-right { flex-direction: column; gap: 14px; }
}

/* ============== SECTION OVERRIDES (moved from inline styles) ============== */
#program.section {
    border-top: none;
    padding-bottom: 24px;
}
#values.section {
    overflow: hidden;
    border-top: none;
    padding-top: 50px;
    padding-bottom: 16px;
}
#about.section {
    border-top: none;
    padding-top: 40px;
    padding-bottom: 40px;
}
#partners.section,
#form.section {
    border-top: none;
}

.partners-title { margin-bottom: 32px; }

/* ============== MOBILE TYPOGRAPHY & SPACING SYSTEM ============== */
/* Single source of truth for mobile: H1/H2/H3 + T1/T2 + 2 spacing tokens */
@media (max-width: 768px) {
    /* Edge-to-edge layout: sections lose horizontal padding,
       the gutter is handled by .section-inner so structural grids
       can bleed via negative margins. */
    .section { padding: var(--m-gap-section) 0; }
    .section::before, .section::after { display: none; }
    .section-inner { padding-left: 16px; padding-right: 16px; }

    /* Headings & their containers: left-aligned on mobile */
    .section-head {
        align-items: flex-start;
        text-align: left;
    }
    .section-title { text-align: left; }
    .section-tag { justify-content: flex-start; }

    /* Spacing — equalize between blocks and below headings */
    .section-head { margin-bottom: var(--m-gap-title); }
    .what-grid { margin-bottom: var(--m-gap-title); }
    .manifesto-block { padding-top: 0; padding-bottom: var(--m-gap-section); }
    #program.section { padding-bottom: var(--m-gap-section); }
    #values.section,
    #about.section { padding-top: var(--m-gap-section); padding-bottom: var(--m-gap-section); }


    /* Full-bleed structural grids — extend past the inner gutter */
    .tag-grid,
    .partners-layout {
        margin-left: calc(-1 * var(--m-gutter));
        margin-right: calc(-1 * var(--m-gutter));
    }

    /* CTA buttons on mobile: full-width, stacked */
    .btn,
    .form-submit {
        display: flex;
        width: 100%;
        max-width: none;
        justify-content: center;
        text-align: center;
    }
    .form-submit { justify-content: space-between; }

    /* Typography — unified scale */
    .section-title,
    .about-big h3 {
        font-size: var(--m-h1);
        line-height: 1;
    }
    .who-block-title,
    .tag-box,
    .route-time,
    .form-info h3 {
        font-size: var(--m-h2);
        line-height: 1.15;
    }
    .form-success {
        align-items: flex-start;
        text-align: left;
    }
    /* manifesto stays on its own scale: layout (line breaks) must hold,
       so font must shrink enough to fit longest line at 320px */
    .who-row,
    .who-benefit-row,
    .partner-desc,
    .route-text,
    .form-info p,
    .field input,
    .form-submit,
    .btn,
    .footer-cell .value,
    .footer-cell a.value,
    .form-contact .value {
        font-size: var(--m-t1);
        line-height: 1.4;
    }
    .mono,
    .section-tag,
    .partner-role,
    .partner-tag,
    .route-place,
    .form-contact .label,
    .footer-cell .label,
    .field label,
    .form-badge-note,
    .footer-bottom,
    .program-prompt-label,
    .hero-date {
        font-size: var(--m-t2);
        line-height: 1.4;
    }
}

/* ============== FLUID INTERNAL RHYTHM ============== */
.what-grid { margin-bottom: var(--block-gap); }
/* manifesto: fixed internal rhythm — only font scales */
.footer-brand {
    margin-bottom: clamp(24px, 5vw, 64px);
    padding-bottom: clamp(20px, 3vw, 48px);
}
.footer-brand img { height: clamp(36px, 4vw, 56px); }

/* Override inline-style-derived overrides to scale with viewport too */
#program.section  { padding-bottom: clamp(8px, 2vw, 24px); }
#values.section   { padding-top: clamp(24px, 4vw, 50px); padding-bottom: clamp(0px, 1vw, 16px); }
#about.section    { padding-top: clamp(12px, 3vw, 40px); padding-bottom: clamp(12px, 3vw, 40px); }

@media (max-width: 768px) {
    #about.section {
        padding-bottom: clamp(64px, 18vw, 92px);
    }

    #partners.section {
        padding-top: clamp(28px, 8vw, 44px);
    }
}

/* ============== MOBILE FINAL OVERRIDES ============== */
@media (max-width: 768px) {
    html {
        scroll-padding-top: 76px;
    }

    body {
        padding-top: 66px;
    }

    .nav {
        position: fixed;
        left: 0;
        right: 0;
        top: 0;
        min-height: 66px;
        grid-template-columns: auto minmax(164px, auto);
        justify-content: space-between;
        padding: 12px 16px;
        gap: 14px;
        background: rgba(13,13,13,0.94);
        border-bottom-color: rgba(231,240,175,0.22);
        box-shadow: 0 10px 28px rgba(0,0,0,0.28);
    }

    .nav-logo img {
        height: 23px;
    }

    .nav-cta {
        min-height: 42px;
        padding: 11px 15px;
        justify-content: center;
        font-size: 13px;
        font-weight: 800;
        line-height: 1.1;
        box-shadow: 0 0 0 1px rgba(231,240,175,0.28), 0 8px 22px rgba(231,240,175,0.16);
        white-space: nowrap;
    }

    .nav-cta svg {
        width: 15px;
        height: 15px;
        flex: 0 0 auto;
    }

    .hero {
        min-height: calc(100svh - 66px);
        padding-top: 28px;
        padding-bottom: 22px;
    }

    .hero-date {
        margin-bottom: 18px;
    }

    .hero-center {
        justify-content: flex-start;
        gap: 13px;
    }

    .hero-personal-note {
        margin-top: 8px;
        margin-bottom: 2px;
    }

    .hero-desc {
        margin-top: 0;
    }

    .hero-ship-inline {
        width: 160%;
        max-height: 118px;
        margin: 0 auto 2px;
        overflow: hidden;
        transform: translateX(-42%);
    }

    .hero-ship-inline img {
        transform: translateY(-10%);
    }

    .hero-actions {
        margin-top: 4px;
        gap: 9px;
    }

    .hero-actions .btn {
        min-height: 50px;
        padding: 14px 18px;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 62px;
    }

    .nav {
        min-height: 62px;
        padding: 10px 14px;
        grid-template-columns: auto minmax(150px, auto);
    }

    .nav-logo img {
        height: 21px;
    }

    .nav-cta {
        min-height: 40px;
        padding: 10px 13px;
        font-size: 12px;
    }

    .hero {
        min-height: calc(100svh - 62px);
        padding-top: 24px;
    }

    .hero-ship-inline {
        width: 150%;
        max-height: 104px;
        transform: translateX(-38%);
    }
}

@media (max-width: 375px) {
    .nav {
        padding: 9px 12px;
        grid-template-columns: auto minmax(136px, auto);
    }

    .nav-logo img {
        height: 19px;
    }

    .nav-cta {
        min-height: 38px;
        padding: 9px 11px;
        font-size: 11px;
    }

    .hero-ship-inline {
        max-height: 92px;
    }
}
