.page-template-about {
    background: #f4f6fa;
}

.about-page.container {
    height: auto;
    padding-top: 154px;
}

.about-page__inner {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    color: #101114;
}

/* =========================================================
   HERO
   ========================================================= */

.about-hero {
    width: 100%;
}

.about-hero__grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 48px;
    align-items: start;
    max-width: 1472px;
    padding: 0 clamp(10px, 3vw, 50px);
}

.about-hero__title {
    margin: 0;
    color: #101114;
    font-size: clamp(44px, 5.2vw, 80px);
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: -0.035em;
    text-transform: uppercase;
    text-wrap: balance;
}

.about-hero__content {
    max-width: 700px;
    padding-left: 48px;
}

.about-hero__lead {
    max-width: 26ch;
    margin: 0;
    color: #101114;
    font-size: clamp(22px, 2.2vw, 28px);
    line-height: 1.35;
    font-weight: 600;
    letter-spacing: -0.01em;
    text-wrap: balance;
}

.about-hero__text {
    max-width: 56ch;
    margin-top: 20px;
    color: #4a4f57;
    font-size: 19px;
    line-height: 1.7;
}

.about-hero__text p {
    margin: 0;
    font-size: inherit;
    line-height: inherit;
}

.about-hero__text p + p {
    margin-top: 16px;
}

.about-hero__text a {
    color: #1d7ef2;
    text-decoration: underline;
    text-decoration-color: rgba(16, 17, 20, 0.35);
    text-underline-offset: 3px;
}

.about-hero__text a:hover,
.about-hero__text a:focus-visible {
    opacity: 80%;
    text-decoration-color: #1d7ef2;
}

.about-hero__media {
    width: 100%;
    margin-top: 56px;
    aspect-ratio: 2400 / 766;
    overflow: hidden;
    border-radius: 28px;
    background: #e9edf4;
}

.about-hero__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================================================
   HISTORY
   ========================================================= */

.about-history {
    margin-top: 56px;
}

.about-stage {
    position: relative;
    box-sizing: border-box;
    padding: 56px clamp(28px, 4vw, 56px);
    overflow: hidden;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 30px 70px rgba(16, 17, 20, 0.12);
}

.about-stage + .about-stage {
    margin-top: 24px;
}

.about-stage__grid {
    display: grid;
    grid-template-columns: 4fr 7fr;
    gap: 64px;
    align-items: start;
}

.about-stage__sticky {
    position: sticky;
    top: 112px;
}

.about-stage__year {
    margin-bottom: 24px;
    color: #8a8f97;
    font-family: "JetBrains Mono", monospace;
    font-size: 13px;
    line-height: 1.4;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.about-stage__title {
    max-width: 15ch;
    margin: 0;
    color: #101114;
    font-size: clamp(32px, 3.2vw, 48px);
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.about-stage__left-text {
    max-width: 44ch;
    margin-top: 24px;
    color: #3a3f47;
    font-size: 17px;
    line-height: 1.7;
}

.about-stage__right {
    width: 100%;
    max-width: 740px;
    margin-left: auto;
}

.about-stage__body {
    color: #3a3f47;
    font-size: 19px;
    line-height: 1.7;
}

.about-stage__body p,
.about-stage__left-text p {
    margin: 0;
    font-size: inherit;
    line-height: inherit;
}

.about-stage__body p + p,
.about-stage__left-text p + p {
    margin-top: 20px;
}

.about-stage__body a,
.about-stage__left-text a {
    color: #1d7ef2;
    text-decoration: underline;
    text-decoration-color: rgba(16, 17, 20, 0.35);
    text-underline-offset: 3px;
}

.about-stage__body a:hover,
.about-stage__body a:focus-visible,
.about-stage__left-text a:hover,
.about-stage__left-text a:focus-visible {
    opacity: 80%;
    text-decoration-color: #1d7ef2;
}

/* =========================================================
   CALLOUT
   ========================================================= */

.about-stage__callout {
    margin-top: 40px;
    padding: 40px clamp(28px, 3vw, 48px);
    border-radius: 24px;
    background: #0c0d0f;
    color: #f2f3f5;
}

.about-stage__callout-main {
    color: #f2f3f5;
    font-size: clamp(21px, 1.9vw, 27px);
    line-height: 1.45;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.about-stage__callout-main p,
.about-stage__callout-text p {
    margin: 0;
    font-size: inherit;
    line-height: inherit;
}

.about-stage__callout-main strong {
    color: #7fb3e8;
    font-weight: inherit;
}

.about-stage__callout-text {
    margin-top: 24px;
    color: rgba(242, 243, 245, 0.62);
    font-size: 17px;
    line-height: 1.65;
}

.about-stage__callout a {
    color: #7fb3e8;
}

/* =========================================================
   GALLERY
   ========================================================= */

.about-stage__gallery {
    display: grid;
    gap: 16px;
    margin-top: 40px;
}

.about-stage__gallery--1 {
    grid-template-columns: 1fr;
}

.about-stage__gallery--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-stage__gallery--3 {
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 1fr 1fr;
    aspect-ratio: 16 / 9;
}

.about-stage__gallery-item {
    position: relative;
    display: block;
    width: 100%;
    min-width: 0;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 20px;
    outline: none;
    background: #e9edf4;
    cursor: zoom-in;
}

.about-stage__gallery--1 .about-stage__gallery-item {
    aspect-ratio: 16 / 9;
}

.about-stage__gallery--2 .about-stage__gallery-item {
    aspect-ratio: 4 / 3;
}

.about-stage__gallery--3 .about-stage__gallery-item {
    height: 100%;
}

.about-stage__gallery--3 .about-stage__gallery-item:first-child {
    grid-row: 1 / 3;
}

.about-stage__gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.about-stage__gallery-item:hover img {
    transform: scale(1.025);
}

.about-stage__gallery-item:focus-visible {
    box-shadow: 0 0 0 3px rgba(29, 126, 242, 0.35);
}

/* =========================================================
   FIGURES
   ========================================================= */

.about-stage__figures {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.about-stage__figure {
    box-sizing: border-box;
    padding: 32px;
    border-radius: 24px;
    background: #f4f6fa;
}

.about-stage__figure-value {
    color: #101114;
    font-size: clamp(24px, 2.2vw, 34px);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.about-stage__figure-text {
    max-width: 26ch;
    margin-top: 16px;
    color: #6b7079;
    font-size: 16px;
    line-height: 1.55;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1270px) {
    .about-hero__grid {
        gap: 40px;
    }

    .about-hero__content {
        padding-left: 0;
    }

    .about-stage__grid {
        gap: 40px;
    }

    .about-stage__right {
        max-width: none;
    }

    .about-stage__body {
        font-size: 18px;
    }

    .about-stage__figure {
        padding: 28px;
    }
}

/* =========================================================
   MOBILE / TABLET PORTRAIT
   ========================================================= */

@media (max-width: 855px) {
    .about-page.container {
        padding-top: 112px;
    }

    .about-hero__grid {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 0;
    }

    .about-hero__content {
        max-width: 620px;
    }

    .about-hero__media {
        margin-top: 48px;
        aspect-ratio: 16 / 7;
        border-radius: 24px;
    }

    .about-history {
        margin-top: 48px;
    }

    .about-stage {
        padding: 44px 32px;
        border-radius: 24px;
    }

    .about-stage__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .about-stage__sticky {
        position: static;
    }

    .about-stage__title {
        max-width: 18ch;
    }

    .about-stage__left-text {
        max-width: 56ch;
    }

    .about-stage__right {
        margin: 0;
    }

    .about-stage__gallery--3 {
        aspect-ratio: 16 / 10;
    }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 650px) {
    .about-page.container {
        padding-top: 104px;
    }

    .about-hero__title {
        font-size: clamp(38px, 11vw, 56px);
    }

    .about-hero__text {
        font-size: 17px;
    }



    .about-hero__media {
        aspect-ratio: 16 / 9;
        border-radius: 22px;
    }

    .about-history {
        margin-top: 40px;
    }

    .about-stage {
        padding: 36px 24px;
        border-radius: 22px;
    }

    .about-stage + .about-stage {
        margin-top: 16px;
    }

    .about-stage__year {
        margin-bottom: 18px;
    }

    .about-stage__body {
        font-size: 17px;
    }

    .about-stage__callout {
        margin-top: 32px;
        padding: 28px 24px;
        border-radius: 20px;
    }

    .about-stage__gallery {
        margin-top: 32px;
    }

    .about-stage__gallery--2 {
        grid-template-columns: 1fr 1fr;
    }

    .about-stage__gallery--3 {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        aspect-ratio: auto;
    }

    .about-stage__gallery--3 .about-stage__gallery-item {
        aspect-ratio: 4 / 3;
    }

    .about-stage__gallery--3 .about-stage__gallery-item:first-child {
        grid-column: 1 / -1;
        grid-row: auto;
        aspect-ratio: 16 / 9;
    }

    .about-stage__figures {
        grid-template-columns: 1fr;
    }

}

/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 479px) {
    .about-page.container {
        padding-top: 92px;
    }

    .about-hero__title {
        font-size: 36px;
        line-height: 1.04;
    }

    .about-hero__lead {
        font-size: 21px;
    }

    .about-hero__text {
        margin-top: 16px;
        font-size: 16px;
        line-height: 1.6;
    }

    .about-hero__media {
        margin-top: 36px;
        border-radius: 18px;
    }

    .about-stage {
        padding: 32px 20px;
        border-radius: 20px;
    }

    .about-stage__grid {
        gap: 30px;
    }

    .about-stage__title {
        font-size: 30px;
    }

    .about-stage__left-text,
    .about-stage__body {
        font-size: 16px;
        line-height: 1.65;
    }

    .about-stage__callout-main {
        font-size: 21px;
    }

    .about-stage__callout-text {
        font-size: 15px;
    }

    .about-stage__gallery--2 {
        grid-template-columns: 1fr;
    }

    .about-stage__gallery--2 .about-stage__gallery-item {
        aspect-ratio: 16 / 10;
    }

    .about-stage__gallery--3 {
        grid-template-columns: 1fr;
    }

    .about-stage__gallery--3 .about-stage__gallery-item,
    .about-stage__gallery--3 .about-stage__gallery-item:first-child {
        grid-column: auto;
        aspect-ratio: 16 / 10;
    }

    .about-stage__figure {
        padding: 24px;
        border-radius: 20px;
    }
}