/* ─── About / История ─────────────────────────────────────────────────
   Storytelling page layout. Cobalt theme inherited from styles.css
   (--bg #09152f, --accent #427bff). Builds on top of shared
   .topbar / .nav / .btn / .lang / .footer / .title rules in styles.css. */

.about-page { background: var(--bg); }

/* Make the hero block use auto height so the lede + chips can breathe
   on shorter screens. The shared `.block` rule forces 100vh, so we override
   only on the about page. */
.about-page .block.about-hero {
    height: auto;
    min-height: 100vh;
}

.nav a.is-active { opacity: 0.6; pointer-events: none; }

/* ─── Hero ───────────────────────────────────────────────────────────── */

.about-hero__stage {
    align-self: end;
    width: 100%;
    max-width: 1100px;
    justify-self: start;
    padding: 220px 40px 120px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.about-hero__eyebrow {
    font-family: 'Roboto Flex', sans-serif;
    font-weight: 600;
    font-stretch: 25%;
    font-size: 16px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    opacity: 0.7;
    font-variation-settings: var(--roboto-flex-axes);
}

.about-hero__title {
    font-size: clamp(56px, 9vw, 148px);
    line-height: 0.85;
}

.about-hero__lede {
    max-width: 720px;
    font-family: 'Golos Text', sans-serif;
    font-size: 20px;
    line-height: 1.5;
    color: color-mix(in srgb, var(--accent) 88%, white 12%);
}

.about-hero__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 28px;
    padding: 0;
    margin: 8px 0 0;
}

.about-hero__chips li {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 20px;
    border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
    border-radius: 14px;
    background: color-mix(in srgb, var(--accent) 6%, transparent);
    font-family: 'Golos Text', sans-serif;
    font-size: 13px;
    line-height: 1.3;
    color: color-mix(in srgb, var(--accent) 80%, white 20%);
}

.about-hero__chips li span {
    font-family: 'Roboto Flex', sans-serif;
    font-weight: 600;
    font-stretch: 25%;
    font-size: 24px;
    line-height: 1;
    color: var(--accent);
    text-transform: uppercase;
    font-variation-settings: var(--roboto-flex-axes);
}

.about-hero__scroll {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
    font-family: 'Golos Text', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    opacity: 0.75;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.about-hero__scroll:hover { opacity: 1; transform: translateY(2px); }

.about-hero__scroll svg {
    animation: about-hero-bounce 2.4s ease-in-out infinite;
}

@keyframes about-hero-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

/* ─── Story rhythm ───────────────────────────────────────────────────── */

.story {
    padding: 120px 40px 120px;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 140px;
}

.story-chapter {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 80px;
    align-items: center;
}

.story-chapter--media-right .story-chapter__media { order: 2; }
.story-chapter--media-right .story-chapter__copy { order: 1; }

.story-chapter__media { position: relative; }

.story-chapter__year {
    position: absolute;
    top: -52px;
    left: -8px;
    font-family: 'Roboto Flex', sans-serif;
    font-weight: 700;
    font-stretch: 25%;
    font-size: clamp(80px, 12vw, 180px);
    line-height: 0.8;
    color: color-mix(in srgb, var(--accent) 14%, transparent);
    letter-spacing: -0.02em;
    pointer-events: none;
    z-index: 0;
    font-variation-settings: var(--roboto-flex-axes);
}

.story-chapter--media-right .story-chapter__year {
    left: auto;
    right: -8px;
}

.story-chapter__copy {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.story-chapter__eyebrow {
    font-family: 'Roboto Flex', sans-serif;
    font-weight: 500;
    font-stretch: 25%;
    font-size: 13px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    opacity: 0.6;
    font-variation-settings: var(--roboto-flex-axes);
}

.story-chapter__title {
    font-family: 'Roboto Flex', sans-serif;
    font-weight: 600;
    font-stretch: 25%;
    font-size: clamp(36px, 4.5vw, 64px);
    line-height: 0.95;
    text-transform: uppercase;
    color: var(--accent);
    margin: 4px 0 8px;
    font-variation-settings: var(--roboto-flex-axes), 'slnt' 0;
}

.story-chapter__copy p {
    font-family: 'Golos Text', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: color-mix(in srgb, var(--accent) 78%, white 22%);
}

.story-chapter__copy p strong {
    color: var(--accent);
    font-weight: 600;
}

.story-chapter__lead { font-size: 20px !important; }

.story-chapter__facts {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 8px;
    padding: 0;
}

.story-chapter__facts li {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 0;
    border-top: 1px solid color-mix(in srgb, var(--accent) 18%, transparent);
    font-family: 'Golos Text', sans-serif;
    font-size: 16px;
    line-height: 1.4;
    color: color-mix(in srgb, var(--accent) 75%, white 25%);
}

.story-chapter__facts li:last-child {
    border-bottom: 1px solid color-mix(in srgb, var(--accent) 18%, transparent);
}

.story-chapter__facts li strong {
    font-weight: 600;
    color: var(--accent);
    font-size: 18px;
}

.story-chapter__facts--tiers li { gap: 6px; }

.story-chapter__tier-label {
    font-family: 'Roboto Flex', sans-serif;
    font-weight: 500;
    font-stretch: 25%;
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    opacity: 0.55;
    font-variation-settings: var(--roboto-flex-axes);
}

/* ─── Photo placeholders ─────────────────────────────────────────────── */

.story-photo {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    z-index: 1;
}

.story-photo__slot {
    position: relative;
    width: 100%;
    border: 1.5px dashed color-mix(in srgb, var(--accent) 40%, transparent);
    border-radius: 22px;
    background:
        radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 60%),
        color-mix(in srgb, var(--accent) 4%, transparent);
    color: var(--accent);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 40px;
    text-align: center;
    overflow: hidden;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.story-photo__slot::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        135deg,
        transparent 0 14px,
        color-mix(in srgb, var(--accent) 4%, transparent) 14px 15px
    );
    pointer-events: none;
    opacity: 0.5;
}

.story-photo__slot:hover {
    border-color: color-mix(in srgb, var(--accent) 65%, transparent);
    background:
        radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 60%),
        color-mix(in srgb, var(--accent) 7%, transparent);
}

.story-photo__icon {
    width: 48px;
    height: 48px;
    color: color-mix(in srgb, var(--accent) 60%, transparent);
    z-index: 1;
}

.story-photo__hint {
    font-family: 'Roboto Flex', sans-serif;
    font-weight: 500;
    font-stretch: 25%;
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    line-height: 1.5;
    color: color-mix(in srgb, var(--accent) 60%, white 30%);
    z-index: 1;
    font-variation-settings: var(--roboto-flex-axes);
}

.story-photo figcaption {
    font-family: 'Golos Text', sans-serif;
    font-size: 14px;
    line-height: 1.4;
    color: color-mix(in srgb, var(--accent) 60%, white 30%);
    padding: 0 4px;
}

/* Aspect-ratio variants */
.story-photo--landscape .story-photo__slot { aspect-ratio: 4 / 3; }
.story-photo--portrait-pair .story-photo__pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.story-photo__slot--portrait { aspect-ratio: 3 / 4; padding: 24px; }
.story-photo__slot--portrait .story-photo__hint { font-size: 11px; }

.story-photo--grid .story-photo__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.story-photo__slot--small { aspect-ratio: 1 / 1; padding: 20px; }
.story-photo__slot--small .story-photo__hint { font-size: 11px; }

/* ─── Pull quote ─────────────────────────────────────────────────────── */

.story-quote {
    margin: 0 auto;
    max-width: 880px;
    padding: 0 40px;
    text-align: center;
}

.story-quote blockquote {
    font-family: 'Roboto Flex', sans-serif;
    font-weight: 500;
    font-stretch: 25%;
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.15;
    text-transform: uppercase;
    color: var(--accent);
    font-variation-settings: var(--roboto-flex-axes), 'slnt' -10;
    margin: 0;
}

.story-quote__mark {
    display: inline-block;
    color: color-mix(in srgb, var(--accent) 50%, transparent);
    font-size: 1.4em;
    line-height: 0;
    vertical-align: -0.1em;
    margin: 0 0.06em;
}

/* ─── CTA strip ──────────────────────────────────────────────────────── */

.about-cta {
    border-top: 1px solid color-mix(in srgb, var(--accent) 18%, transparent);
    border-bottom: 1px solid color-mix(in srgb, var(--accent) 18%, transparent);
    margin-top: 80px;
}

.about-cta__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 80px 60px;
    color: var(--accent);
    font-family: 'Roboto Flex', sans-serif;
    font-weight: 600;
    font-stretch: 25%;
    text-transform: uppercase;
    line-height: 0.9;
    transition: padding-left 0.3s cubic-bezier(0.2, 0.7, 0.15, 1), background 0.3s ease;
    font-variation-settings: var(--roboto-flex-axes);
}

.about-cta__link:hover {
    padding-left: 80px;
    background: color-mix(in srgb, var(--accent) 5%, transparent);
}

.about-cta__text {
    font-size: clamp(36px, 6vw, 88px);
    flex: 1;
}

.about-cta__arrow {
    font-size: clamp(36px, 6vw, 88px);
    line-height: 1;
}

/* ─── Mobile ─────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
    .about-hero__stage {
        padding: 120px 20px 56px;
        gap: 24px;
    }

    .about-hero__eyebrow { font-size: 12px; }

    .about-hero__title { font-size: clamp(48px, 13vw, 96px); }

    .about-hero__lede { font-size: 16px; }

    .about-hero__chips { gap: 10px; }
    .about-hero__chips li { padding: 12px 16px; font-size: 12px; }
    .about-hero__chips li span { font-size: 20px; }

    .story {
        padding: 64px 20px;
        gap: 80px;
    }

    .story-chapter {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .story-chapter--media-right .story-chapter__media { order: 1; }
    .story-chapter--media-right .story-chapter__copy { order: 2; }

    .story-chapter__year {
        position: static;
        font-size: clamp(56px, 18vw, 120px);
        margin-bottom: -16px;
        opacity: 0.6;
    }

    .story-chapter--media-right .story-chapter__year { left: 0; right: auto; }

    .story-chapter__title { font-size: clamp(30px, 8vw, 48px); }

    .story-chapter__copy p { font-size: 16px; }
    .story-chapter__lead { font-size: 17px !important; }

    .story-chapter__facts li { font-size: 15px; }
    .story-chapter__facts li strong { font-size: 16px; }

    .story-photo__slot { padding: 28px; border-radius: 18px; }
    .story-photo__icon { width: 36px; height: 36px; }
    .story-photo__hint { font-size: 11px; }

    .story-quote {
        padding: 0 20px;
    }
    .story-quote blockquote { font-size: clamp(22px, 6vw, 32px); }

    .about-cta__link {
        padding: 48px 20px;
        flex-direction: row;
        gap: 16px;
    }

    .about-cta__link:hover { padding-left: 20px; }

    .about-cta__text,
    .about-cta__arrow {
        font-size: clamp(28px, 8vw, 48px);
    }
}
