:root {
    --about-shadow: 0 20px 55px color-mix(in srgb, var(--app-primary-dark) 14%, transparent);
}

.about-page {
    min-height: 100vh;
    background: var(--app-bg);
    color: var(--app-text);
}

.about-hero {
    position: relative;
    min-height: min(720px, 86vh);
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
}

.about-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -2;
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, color-mix(in srgb, var(--app-ink) 86%, transparent), color-mix(in srgb, var(--app-ink) 58%, transparent) 52%, color-mix(in srgb, var(--app-ink) 16%, transparent)),
        linear-gradient(0deg, color-mix(in srgb, var(--app-ink) 42%, transparent), transparent 45%);
    z-index: -1;
}

.about-hero-content,
.about-container {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}

.about-hero-content {
    padding: 120px 0 90px;
    color: var(--app-inverse);
}

.about-kicker,
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    color: var(--app-accent-dark);
    font-size: 0.78rem;
    font-weight: 950;
    letter-spacing: 0;
    text-transform: uppercase;
}

.about-kicker {
    color: var(--app-warning-300);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    padding: 9px 14px;
    border-radius: 999px;
    backdrop-filter: blur(8px);
}

.about-kicker svg,
.about-btn svg {
    width: 17px;
    height: 17px;
}

.about-hero h1 {
    max-width: 860px;
    margin: 22px 0 18px;
    font-size: clamp(2.45rem, 6.5vw, 5.35rem);
    line-height: 0.98;
    font-weight: 950;
    letter-spacing: 0;
    text-transform: uppercase;
}

.about-hero p {
    max-width: 650px;
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1rem, 2vw, 1.22rem);
    line-height: 1.7;
}

.about-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.about-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 8px;
    font-weight: 950;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.about-btn.primary {
    background: var(--app-surface);
    color: var(--app-accent-dark) !important;
    border: 1px solid rgba(255, 255, 255, 0.92);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}

.about-btn.secondary {
    color: var(--app-inverse) !important;
    border: 1px solid rgba(255, 255, 255, 0.46);
    background: color-mix(in srgb, var(--app-ink) 58%, transparent);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
}

.about-btn.secondary svg {
    stroke: var(--app-inverse);
}

.about-btn.secondary.dark {
    color: var(--app-accent-dark) !important;
    border-color: color-mix(in srgb, var(--app-primary-dark) 18%, transparent);
    background: var(--app-surface);
}

.about-btn:hover {
    transform: translateY(-2px);
}

.about-stats {
    position: relative;
    z-index: 2;
    width: min(940px, calc(100% - 40px));
    margin: -44px auto 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.about-stats article {
    min-height: 106px;
    display: grid;
    place-items: center;
    gap: 6px;
    text-align: center;
    background: var(--app-surface);
    border: 1px solid var(--app-line);
    border-radius: 8px;
    box-shadow: var(--about-shadow);
}

.about-stats strong {
    color: var(--app-primary-dark);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
    font-weight: 950;
}

.about-stats span {
    color: var(--app-muted);
    font-weight: 900;
}

.about-section {
    padding: 76px 0;
}

.story-grid,
.process-grid,
.cta-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 44px;
    align-items: center;
}

.story-media {
    position: relative;
}

.story-media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--about-shadow);
}

.story-badge {
    position: absolute;
    left: 18px;
    bottom: 18px;
    display: grid;
    gap: 2px;
    padding: 13px 15px;
    color: var(--app-inverse);
    background: color-mix(in srgb, var(--app-primary-dark) 86%, transparent);
    border-radius: 8px;
}

.story-badge strong {
    font-size: 1.1rem;
    font-weight: 950;
}

.story-badge span {
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.78);
}

.story-copy h2,
.section-heading h2,
.process-grid h2,
.about-cta h2 {
    margin: 10px 0 14px;
    color: var(--app-primary-dark);
    font-size: clamp(1.9rem, 4vw, 3rem);
    line-height: 1.05;
    font-weight: 950;
    text-transform: uppercase;
}

.story-copy p,
.section-heading p,
.process-grid p,
.about-cta p {
    margin: 0 0 14px;
    color: var(--app-muted);
    line-height: 1.72;
}

.about-values {
    background: var(--app-surface);
}

.section-heading {
    max-width: 720px;
    margin-bottom: 28px;
}

.values-grid,
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.value-card,
.team-card,
.process-list article {
    background: var(--app-surface);
    border: 1px solid var(--app-line);
    border-radius: 8px;
    box-shadow: 0 14px 32px color-mix(in srgb, var(--app-primary-dark) 8%, transparent);
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.35s ease, transform 0.35s ease, box-shadow 0.2s ease;
}

.about-stats article {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.value-card.is-visible,
.team-card.is-visible,
.process-list article.is-visible,
.about-stats article.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.value-card {
    min-height: 230px;
    padding: 24px;
}

.value-card span {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: var(--app-primary);
    background: var(--app-primary-100);
}

.value-card svg {
    width: 22px;
    height: 22px;
}

.value-card h3 {
    margin: 18px 0 10px;
    color: var(--app-primary-dark);
    font-size: 1.2rem;
    font-weight: 950;
}

.value-card p {
    margin: 0;
    color: var(--app-muted);
    line-height: 1.62;
}

.about-process {
    background: var(--app-primary-100);
}

.process-list {
    display: grid;
    gap: 12px;
}

.process-list article {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 16px;
    padding: 18px;
}

.process-list strong {
    color: var(--app-accent-dark);
    font-size: 1.35rem;
    font-weight: 950;
}

.process-list h3 {
    margin: 0 0 5px;
    color: var(--app-primary-dark);
    font-size: 1.05rem;
    font-weight: 950;
}

.process-list p {
    margin: 0;
}

.team-card {
    overflow: hidden;
}

.team-image-button {
    position: relative;
    display: block;
    width: 100%;
    border: 0;
    padding: 0;
    background: var(--app-ink);
    cursor: zoom-in;
    overflow: hidden;
}

.team-card img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform .25s ease, opacity .25s ease;
}

.team-image-button:hover img,
.team-image-button:focus-visible img {
    transform: scale(1.025);
    opacity: .88;
}

.team-image-button:focus-visible {
    outline: 3px solid var(--app-accent);
    outline-offset: -3px;
}

.team-image-zoom {
    position: absolute;
    right: 10px;
    bottom: 10px;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 8px;
    background: rgba(0, 0, 0, .72);
    color: var(--app-inverse);
    opacity: 0;
    transform: translateY(5px);
    transition: opacity .2s ease, transform .2s ease;
}

.team-image-button:hover .team-image-zoom,
.team-image-button:focus-visible .team-image-zoom {
    opacity: 1;
    transform: translateY(0);
}

.team-image-zoom svg {
    width: 17px;
    height: 17px;
}

.team-lightbox {
    position: fixed;
    inset: 50% auto auto 50%;
    width: min(1040px, calc(100vw - 32px));
    max-width: none;
    max-height: calc(100dvh - 32px);
    margin: 0;
    border: 0;
    padding: 0;
    background: transparent;
    transform: translate(-50%, -50%);
    overflow: visible;
}

.team-lightbox::backdrop {
    background: rgba(0, 0, 0, .86);
    backdrop-filter: blur(4px);
}

.team-lightbox-panel {
    position: relative;
    display: grid;
    max-height: calc(100dvh - 32px);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 8px;
    background: var(--app-ink);
    box-shadow: 0 28px 80px rgba(0, 0, 0, .48);
    overflow: hidden;
}

.team-lightbox-media {
    display: grid;
    place-items: center;
    min-height: 240px;
    background: var(--app-ink);
}

.team-lightbox-media img {
    display: block;
    width: 100%;
    max-height: calc(100dvh - 120px);
    object-fit: contain;
}

.team-lightbox-close {
    position: absolute;
    z-index: 2;
    top: 10px;
    right: 10px;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, .26);
    border-radius: 8px;
    background: rgba(0, 0, 0, .76);
    color: var(--app-inverse);
    cursor: pointer;
}

.team-lightbox-close:hover,
.team-lightbox-close:focus-visible {
    background: var(--app-accent);
    outline: none;
}

.team-lightbox-close svg {
    width: 20px;
    height: 20px;
}

.team-lightbox-caption {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 12px 14px;
    color: var(--app-inverse);
}

.team-lightbox-caption strong {
    font-size: .92rem;
    font-weight: 950;
    text-transform: uppercase;
}

.team-lightbox-caption span {
    color: rgba(255, 255, 255, .68);
    font-size: .82rem;
    font-weight: 700;
}

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

.team-card div {
    padding: 18px;
}

.team-card h3 {
    margin: 0 0 5px;
    color: var(--app-primary-dark);
    font-size: 1.1rem;
    font-weight: 950;
}

.team-card p {
    margin: 0;
    color: var(--app-muted);
    font-weight: 800;
}

.about-cta {
    background: var(--app-primary-dark);
}

.about-cta .section-label {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: var(--app-inverse);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28);
}

.about-cta h2,
.about-cta p {
    color: var(--app-inverse);
}

.about-cta p {
    color: rgba(255, 255, 255, 0.78);
}

.cta-inner .about-actions {
    justify-content: flex-end;
}

@media (max-width: 900px) {
    .about-stats,
    .story-grid,
    .process-grid,
    .cta-inner,
    .values-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .cta-inner .about-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .about-hero {
        min-height: 650px;
    }

    .about-hero-content,
    .about-container {
        width: min(100% - 24px, 1160px);
    }

    .about-hero-content {
        padding: 110px 0 72px;
    }

    .about-actions,
    .about-btn {
        width: 100%;
    }

    .about-stats {
        width: min(100% - 24px, 940px);
        margin-top: -32px;
    }

    .about-section {
        padding: 52px 0;
    }

    .process-list article {
        grid-template-columns: 1fr;
    }

    .team-image-zoom {
        opacity: 1;
        transform: none;
    }

    .team-lightbox {
        width: calc(100vw - 16px);
        max-height: calc(100dvh - 16px);
    }

    .team-lightbox-panel {
        max-height: calc(100dvh - 16px);
    }

    .team-lightbox-media img {
        max-height: calc(100dvh - 112px);
    }

    .team-lightbox-caption {
        display: grid;
        gap: 2px;
        padding: 10px 12px;
    }
}
