/* /about/: laptop 992–1439 (docs/LAPTOP_992_1439.md).
   Absolute-сцены (hero/mission/principles/history/quote) — scale от колонки 1440.
   Команда (табы/кнопки/ссылки) — только fluid, без scale.
   Absolute-раскладка включается в *-2026.css с 992px; здесь — scale + центр.
   Откат: снять CSS в header.php / about/index.php → _rollback/about-laptop-2026/ */

@media (min-width: 992px) and (max-width: 1439px) {
    html:has(body.page-about) {
        overflow-x: clip;
    }

    body.page-about {
        overflow-x: clip;
    }

    body.page-about.about-us,
    body.page-about.about-fund {
        background-size: 100% calc(556px * 100vw / 1440px) !important;
    }

    /* ——— shared stage scale shell ——— */
    body.page-about .af-hero__stage,
    body.page-about .af-mission__stage,
    body.page-about .af-principles__stage,
    body.page-about .af-history__stage,
    body.page-about .af-quote__stage {
        max-width: none;
        margin-left: calc((100vw - 1440px) / 2);
        margin-right: 0;
        transform: scale(calc(100vw / 1440px));
        transform-origin: top center;
    }

    body.page-about .af-hero__stage {
        margin-bottom: calc(800px * (100vw / 1440px - 1));
    }

    body.page-about .af-mission {
        padding-top: calc(140px * 100vw / 1440px);
    }

    body.page-about .af-mission__stage {
        margin-bottom: calc(2340px * (100vw / 1440px - 1));
    }

    body.page-about .af-principles {
        margin-bottom: calc(103px * 100vw / 1440px);
    }

    body.page-about .af-principles__stage {
        margin-bottom: calc(640px * (100vw / 1440px - 1));
    }

    body.page-about .af-history__stage {
        margin-bottom: calc(2020px * (100vw / 1440px - 1));
    }

    body.page-about .af-quote__stage {
        margin-bottom: calc(720px * (100vw / 1440px - 1));
    }

    body.page-about .af-soft__glow {
        top: calc(53px * 100vw / 1440px);
        height: calc(1164px * 100vw / 1440px);
    }

    /* ——— TEAM: fluid (клики) ——— */
    body.page-about .af-team {
        padding: calc(48px * 100vw / 1440px) 0 calc(56px * 100vw / 1440px);
    }

    body.page-about .af-team__stage {
        width: 100%;
        max-width: calc(1440px * 100vw / 1440px);
        margin: 0 auto;
        padding: 0 calc(40px * 100vw / 1440px);
        box-sizing: border-box;
    }

    body.page-about .af-team__title {
        margin: 0 0 calc(73px * 100vw / 1440px);
        font-size: calc(66px * 100vw / 1440px);
        letter-spacing: calc(-1.32px * 100vw / 1440px);
    }

    body.page-about .af-team__tabs {
        flex-wrap: nowrap;
        justify-content: space-between;
        width: 100%;
        max-width: 100%;
        height: calc(53px * 100vw / 1440px);
        margin: 0 auto calc(76px * 100vw / 1440px);
        padding: 0;
        gap: 0;
        overflow-x: auto;
        scrollbar-width: none;
        background: #E7F7E9;
        border-radius: calc(40px * 100vw / 1440px);
    }

    body.page-about .af-team__tabs::-webkit-scrollbar {
        display: none;
    }

    body.page-about .af-team__tab {
        flex: 0 0 auto;
        height: calc(53px * 100vw / 1440px);
        padding: 0 calc(28px * 100vw / 1440px);
        font-size: calc(24px * 100vw / 1440px);
        line-height: 1.1;
        border-radius: calc(40px * 100vw / 1440px);
    }

    body.page-about .af-team__groups--departments {
        gap: calc(16px * 100vw / 1440px);
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

    body.page-about details.af-team__group--accordion {
        width: 100%;
        max-width: none;
        box-sizing: border-box;
    }

    body.page-about .af-team__group-summary {
        justify-content: space-between;
        padding: calc(24px * 100vw / 1440px) calc(36px * 100vw / 1440px);
        gap: calc(18px * 100vw / 1440px);
    }

    body.page-about .af-team__group-title {
        margin: 0 0 calc(48px * 100vw / 1440px);
        font-size: calc(40px * 100vw / 1440px);
        letter-spacing: calc(-0.8px * 100vw / 1440px);
        text-align: center;
    }

    body.page-about .af-team__group-summary .af-team__group-title {
        margin: 0;
        font-size: calc(32px * 100vw / 1440px);
        letter-spacing: calc(-0.64px * 100vw / 1440px);
        text-align: left;
    }

    body.page-about .af-team__group-toggle {
        width: calc(48px * 100vw / 1440px);
        height: calc(48px * 100vw / 1440px);
        background-size: calc(15px * 100vw / 1440px) calc(10px * 100vw / 1440px);
    }

    body.page-about .af-team__group--accordion {
        scroll-margin-top: calc(110px * 100vw / 1440px);
    }

    body.page-about details.af-team__group--accordion {
        padding: 0;
    }

    body.page-about details.af-team__group--accordion > .af-team__group-body {
        padding: 0;
    }

    body.page-about .af-team__group--accordion .af-team__group-body .af-team__cards-wrap {
        padding: 0 calc(36px * 100vw / 1440px) calc(56px * 100vw / 1440px);
    }

    body.page-about .af-team__cards {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, calc(260px * 100vw / 1440px)));
        column-gap: calc(80px * 100vw / 1440px);
        row-gap: calc(80px * 100vw / 1440px);
        justify-content: center;
        width: calc(1280px * 100vw / 1440px);
        max-width: 100%;
        margin: 0 auto;
    }

    body.page-about .af-team__groups--departments .af-team__cards {
        width: calc(1280px * 100vw / 1440px);
        max-width: 100%;
    }

    body.page-about .af-team-card {
        width: calc(260px * 100vw / 1440px);
        max-width: none;
        margin: 0;
    }

    body.page-about .af-team-card__content {
        max-width: calc(220px * 100vw / 1440px);
        margin: calc(32px * 100vw / 1440px) 0 0 calc(36px * 100vw / 1440px);
        gap: calc(10px * 100vw / 1440px);
    }

    body.page-about .af-team-card__name {
        font-size: calc(22px * 100vw / 1440px);
    }

    body.page-about .af-team-card__position,
    body.page-about .af-team-card__email {
        font-size: calc(13px * 100vw / 1440px);
    }

    body.page-about .af-team-card__media,
    body.page-about .af-team-card__photo-stage,
    body.page-about .af-team-card__photo-wrap {
        width: calc(260px * 100vw / 1440px);
        height: calc(269px * 100vw / 1440px);
        aspect-ratio: auto;
    }

    body.page-about .af-team__more {
        margin-top: calc(48px * 100vw / 1440px);
        min-width: calc(280px * 100vw / 1440px);
        height: calc(53px * 100vw / 1440px);
        border-radius: calc(20px * 100vw / 1440px);
        font-size: calc(16px * 100vw / 1440px);
    }

    body.page-about .af-team__links {
        flex-direction: row;
        justify-content: center;
        align-items: stretch;
        gap: calc(42px * 100vw / 1440px);
        width: calc(1287px * 100vw / 1440px);
        max-width: 100%;
        margin: calc(157px * 100vw / 1440px) auto 0;
    }

    body.page-about .af-team__link {
        flex: 0 1 calc(401px * 100vw / 1440px);
        width: calc(401px * 100vw / 1440px);
        max-width: calc((100% - 84px * 100vw / 1440px) / 3);
        height: calc(88px * 100vw / 1440px);
        min-height: calc(88px * 100vw / 1440px);
        padding: 0 calc(43px * 100vw / 1440px);
        font-size: calc(26px * 100vw / 1440px);
        letter-spacing: calc(-0.26px * 100vw / 1440px);
        border-radius: calc(20px * 100vw / 1440px);
    }
}
