.about-page-shell {
    --about-ink: #101b38;
    --about-copy: #65738f;
    --about-line: #dbe1ea;
    --about-blue: #079be8;
    --about-purple: #8b28de;
    min-height: 100vh;
    padding-top: 0;
    background: #fff;
    color: var(--about-ink);
}

.about-page-container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.about-page {
    width: min(1390px, calc(100% - 48px));
    margin: 0 auto;
    padding: 36px 0 0;
}

.about-page-intro {
    margin-bottom: 30px;
}

.about-page-intro h1,
.about-page-intro h2 {
    margin: 0 0 8px;
    color: var(--about-ink);
    font-size: clamp(34px, 2.5vw, 42px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.about-page-intro p {
    max-width: 890px;
    margin: 0;
    color: var(--about-copy);
    font-size: 16px;
    line-height: 1.62;
}

.about-page-grid {
    display: grid;
    grid-template-columns: minmax(0, 965px) minmax(330px, 370px);
    gap: 54px;
    align-items: start;
}

.about-office-slider {
    gap: 16px;
}

.about-office-viewport {
    aspect-ratio: 965 / 551;
    border: 0;
    border-radius: 18px;
    box-shadow: none;
}

.about-office-slide {
    position: relative;
    overflow: hidden;
}

.about-office-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-office-shade {
    position: absolute;
    inset: 46% 0 0;
    background: linear-gradient(180deg, transparent, rgba(8, 10, 13, .72));
    pointer-events: none;
}

.about-office-address {
    position: absolute;
    left: 40px;
    bottom: 34px;
    display: flex;
    align-items: center;
    gap: 18px;
    max-width: 565px;
    margin: 0;
    color: #fff;
    font-size: 19px;
    font-weight: 500;
    line-height: 1.28;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .25);
}

.about-office-address svg {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.about-office-controls {
    gap: 28px;
}

.about-office-button {
    width: 48px;
    height: 48px;
    border-color: var(--about-line);
    color: #25324d;
    background: #fff;
}

.about-office-button svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.about-office-button:hover {
    border-color: #b9c3d1;
    background: #f8fafc;
}

.about-office-button:focus-visible,
.about-office-dot:focus-visible,
.about-page a:focus-visible {
    outline: 3px solid rgba(7, 155, 232, .28);
    outline-offset: 3px;
}

.about-office-dots {
    gap: 18px;
}

.about-office-dot {
    width: 14px;
    height: 14px;
    background: #cbd0d9;
}

.about-office-dot.is-active {
    background: var(--about-purple);
    transform: none;
}

.about-page-sidebar {
    display: flex;
    flex-direction: column;
    gap: 17px;
}

.about-side-card {
    padding: 22px 29px 20px;
    border: 1px solid var(--about-line);
    border-radius: 20px;
    background: #fff;
}

.about-side-card h2,
.about-side-card h3 {
    margin: 0 0 13px;
    color: var(--about-ink);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.about-page-sitemap {
    display: flex;
    flex-direction: column;
}

.about-page-sitemap a,
.about-page-contacts a {
    display: flex;
    align-items: center;
    min-height: 31px;
    gap: 18px;
    color: #526079;
    font-size: 15px;
    text-decoration: none;
    transition: color 180ms ease, background 180ms ease;
}

.about-page-sitemap a:hover,
.about-page-contacts a:hover {
    color: var(--about-ink);
}

.about-page-sitemap svg,
.about-page-contacts svg {
    width: 21px;
    height: 21px;
    flex: 0 0 21px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.65;
}

.about-page-sitemap .is-blue,
.about-page-contacts a {
    color: var(--about-blue);
}

.about-page-sitemap .is-purple {
    color: var(--about-purple);
}

.about-sitemap-divider {
    height: 1px;
    margin: 6px 0 6px;
    background: var(--about-line);
}

.about-contact-card {
    padding-top: 18px;
    padding-bottom: 13px;
}

.about-contact-card h2 {
    margin-bottom: 10px;
}

.about-contact-card h3 {
    margin-bottom: 10px;
}

.site-about-footer.about-page-shell {
    min-height: auto;
    margin: 0;
    border-top: 0;
    box-shadow: none;
    color: var(--about-ink);
    font-size: initial;
    text-align: left;
}

.about-page-contacts {
    display: flex;
    flex-direction: column;
}

.about-page-contacts a {
    gap: 18px;
}

.about-page-legal {
    padding-top: 5px;
}

.about-page-legal p {
    margin: 0 0 8px;
    color: var(--about-copy);
    font-size: 12px;
    line-height: 1.42;
}

.about-page-footer {
    margin-top: 18px;
    padding-top: 39px;
    border-top: 1px solid var(--about-line);
    text-align: center;
}

.about-page-footer p {
    margin: 0;
    color: #8894aa;
    font-size: 14px;
}

@media (max-width: 1150px) {
    .about-page-grid {
        grid-template-columns: minmax(0, 1.7fr) minmax(300px, .8fr);
        gap: 32px;
    }

    .about-office-address {
        left: 28px;
        bottom: 28px;
        font-size: 17px;
    }
}

@media (max-width: 860px) {
    .about-page {
        width: min(100% - 32px, 700px);
        padding-top: 28px;
    }

    .about-page-grid {
        grid-template-columns: 1fr;
    }

    .about-page-sidebar {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .about-page-legal {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .about-page {
        width: calc(100% - 24px);
        padding-top: 24px;
    }

    .about-page-intro {
        margin-bottom: 22px;
    }

    .about-page-intro h1,
    .about-page-intro h2 {
        font-size: 32px;
    }

    .about-page-intro p {
        font-size: 15px;
    }

    .about-office-viewport {
        min-height: 360px;
        aspect-ratio: auto;
    }

    .about-office-address {
        left: 20px;
        right: 20px;
        bottom: 22px;
        gap: 12px;
        font-size: 16px;
    }

    .about-office-image {
        object-position: center;
    }

    .about-office-controls {
        gap: 18px;
    }

    .about-office-dots {
        gap: 13px;
    }

    .about-page-sidebar {
        display: flex;
    }

    .about-side-card {
        padding: 21px 22px 19px;
    }

    .about-page-sitemap a,
    .about-page-contacts a {
        min-height: 44px;
    }

    .about-page-footer {
        margin-top: 24px;
        padding: 28px 0 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-office-track,
    .about-page a {
        transition: none;
    }
}
