﻿/* ======================================================
   ABOUT PAGE
====================================================== */

.leader-control {
    box-sizing: border-box;
    max-width: 100%;
}


.about-page {
    width: 100%;
    max-width: 100vw;
    background: #fff;
    color: #000;
    overflow-x: clip;
}

.about-page p {
    font: 400 16px / 28px "Roboto Flex", sans-serif;
}

.about-page .site-header {
    position: absolute;
    inset: 0 0 auto;
    z-index: 20;
    background: transparent;
}

.about-page .site-header__pattern {
    opacity: 0.16;
}

.about-page main {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

.about-page main > section {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}


/* ======================================================
   HERO SECTION
====================================================== */

.about-hero {
    position: relative;
    height: min(939px, 48.906vw);
    min-height: 620px;
    background: #292568;
}

.about-hero::after {
    position: absolute;
    inset: 0;
    content: "";
    opacity: 0.5;
    background-image: url("../images/hero-pattern.webp");
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    mix-blend-mode: soft-light;
}

.about-hero h1 {
    position: absolute;
    z-index: 1;
    left: 5%;
    bottom: 10.8%;
    margin: 0;
    color: #fff;
    font: 36px/normal "Bricolage Grotesque", sans-serif;
    letter-spacing: -0.035em;
    text-transform: uppercase;
}


/* ======================================================
   STORY SECTION
====================================================== */

.about-story {
    display: grid;
    position: relative;
    min-height: 535px;
    overflow: hidden;
    grid-template-columns: 0.9fr 1fr 1fr;
    gap: 7.45%;
    padding: 155px 6.15% 110px;
}

.about-story__mark img {
    position: absolute;
    top: 140px;
    left: -100px;
    width: 290px;
    height: auto;
    object-fit: contain;
}

.about-story p {
    position: relative;
    z-index: 1;
    max-width: 470px;
    margin: 0;
    font: 400 14px/28px "Roboto Flex", sans-serif;
}

.about-story__intro {
    margin-bottom: 0;
}
.about-story__content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}


/* ======================================================
   LEADERS SECTION
====================================================== */

.about-leaders {
    padding: 0 0 60px 5.47%;
}

.about-leaders h2,
.about-values > h2 {
    margin: 0;
    font: 400 36px / 1.2 "Bricolage Grotesque", sans-serif;
    letter-spacing: 0;
}

.about-leaders h2 {
    margin-left: 32%;
    margin-bottom: 20px;
}

.leaders-grid {
    --leader-gap: clamp(32px, 2.8125vw, 54px);
    display: block;
    width: 100%;
    overflow: hidden;
}

.leaders-grid.is-second-active {
    grid-template-columns: none;
}

.leaders-track {
    display: flex;
    width: 100%;
    gap: var(--leader-gap);
    will-change: transform;
}

.leaders-track .leader-card {
    width: calc((100% - var(--leader-gap)) * 0.3243);
    min-width: 0;
    flex: 0 0 auto;
    transition: width 760ms cubic-bezier(0.22, 1, 0.36, 1);
}

.leaders-track .leader-card.active {
    width: calc((100% - var(--leader-gap)) * 0.6757);
}

.leaders-track.is-resetting .leader-card {
    transition: none;
}

.leader-card {
    position: relative;
    flex: 1 1 0;
    height: clamp(560px, 35.573vw, 683px);
    min-height: 0;
    overflow: hidden;
    background: #111;
    color: #fff;
}

.leader-card.active {
    flex-grow: 1.5;
}

.leader-card:nth-child(2) > img {
    object-position: left center;
}

.leader-card > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left;
}

.leader-card::after {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(
        150deg,
        transparent 38%,
        rgba(0, 0, 0, 0.92) 94%
    );
}

.leader-card.active > div {
    position: absolute;
    z-index: 1;
    right: 6%;
    bottom: 48px;
    left: auto;
    width: 42%;
    text-align: left;
}

.leader-card:not(.active) > div {
    position: absolute;
    z-index: 1;
    right: 10%;
    bottom: 48px;
    left: 14%;
}

.leader-card h3 {
    margin: 0 0 22px;
    font: 400 32px / 1.2 "Bricolage Grotesque", sans-serif;
}

.leader-card p {
    max-width: 496px;
    margin: 0;
    font: 300 13px/24px "Roboto Flex", sans-serif;
}

.leader-card.active h3 {
    margin-bottom: 24px;
    font-size: 32px;
}

.leader-card.active p {
    max-width: none;
    line-height: 1.8;
}

.leader-card:not(.active) h3 {
    margin-bottom: 28px;
}

.leader-card:not(.active) p {
    max-width: 380px;
}

/* ---------- Slider Controls ---------- */

.leader-controls {
    display: flex;
    width: 132px;
    height: 52px;
    gap: 28px;
    margin: 57px 0 0 69.37%;
}

.leader-control {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.18);
    color: #fff;
    cursor: pointer;
    transition: all .3s ease;
}

.leader-control--next {
    background: #000;
}

.leader-control:hover {
    transform: translateY(-2px);
}

.leader-control__icon {
    display: block;
    width: 26px;
    height: auto;
}

.leader-control--previous .leader-control__icon {
    transform: rotate(180deg);
}

.leader-control:focus-visible {
    outline: 3px solid #292568;
    outline-offset: 4px;
}

/* ======================================================
   VISION SECTION
====================================================== */

.about-vision {
    position: relative;
    height: min(1164px, 60.625vw);
    min-height: 680px;
}

.about-vision > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.site-motion-ready .about-vision[data-reveal] {
    opacity: 1;
    transform: none;
}

.site-motion-ready .about-vision[data-reveal].is-motion-visible {
    animation: none;
}

.about-vision > h2 {
    position: absolute;
    top: 6.5%;
    left: 50%;
    width: max-content;
    max-width: calc(100% - 32px);
    margin: 0;
    transform: translateX(-50%);
    color: #000;
    font: 400 clamp(70px, 9.375vw, 180px) / normal "Bricolage Grotesque", sans-serif;
    letter-spacing: -0.02em;
    mix-blend-mode: overlay;
    text-transform: uppercase;
    white-space: nowrap;
}

.vision-copy {
    position: absolute;
    top: 31%;
    left: 28.35%;
    display: grid;
    width: 44.5%;
    grid-template-columns: minmax(0, 1fr);
    gap: 60px;
}

.vision-copy article:first-child {
    max-width: 316px;
}

.vision-copy article:last-child {
    max-width: 456px;
}

.vision-copy h3 {
    margin: 0 0 14px;
    font: 400 24px / 1.2 "Bricolage Grotesque", sans-serif;
}

.vision-copy p {
    margin: 0;
}


/* ======================================================
   VALUES SECTION
====================================================== */

.about-values {
    position: relative;
    height: min(1754px, 91.354vw);
    min-height: 1000px;
    padding: 0;
    background: #ffffff;
}

.about-values > h2 {
    position: absolute;
    top: 8.84%;
    left: 6.46%;
    margin: 0;
}

.core-values-grid {
    position: absolute;
    inset: 0;
}

.core-value img {
    display: block;
    width: 40px;
    height: 42px;
    margin-bottom: 14px;
    object-fit: contain;
}

.core-value h3 {
    margin: 0 0 24px;
    font: 400 32px / 1.2 "Bricolage Grotesque", sans-serif;
}

.core-value p {
    max-width: 368px;
    margin: 0;
    font: 400 14px/24px "Roboto Flex", sans-serif;
}

.core-value--trust,
.core-value--transparency,
.core-value--excellence,
.core-value--innovation {
    position: absolute;
    width: min(368px, 19.167vw);
}

.core-value--trust,
.core-value--transparency { top: 19.67%; }
.core-value--excellence,
.core-value--innovation { top: 40.08%; }
.core-value--trust,
.core-value--excellence { left: 6.46%; }
.core-value--transparency { left: 37.03%; }
.core-value--innovation { left: 37.03%; }

.values-photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.values-photo--shield {
    position: absolute;
    top: 17.73%;
    left: 64.01%;
    width: 31.3%;
    height: min(619px, 32.24vw);
}

.values-photo--standard {
    position: absolute;
    top: 60.15%;
    left: 6.46%;
    width: 50%;
    height: min(522px, 27.19vw);
    object-position: center;
}

.values-stack {
    position: absolute;
    top: 60.15%;
    left: 64.01%;
    display: grid;
    width: 26.67%;
    gap: 49px;
}


.about-page .site-footer {
    z-index: 1;
}


/* ======================================================
   TABLET (â‰¤1100px)
====================================================== */

@media (max-width: 1100px) {

    .about-story {
        min-height: 0;
        grid-template-columns: 1fr 1fr;
        gap: clamp(36px, 6vw, 64px);
        padding: 25px 2.5%;
    }

    .about-story__mark {
        display: none;
    }

    .about-story p {
        max-width: none;
        font-size: 15px;
        line-height: 1.75;
    }

    .about-leaders {
        padding: 25px 2.5% 25px;
    }

    .about-leaders h2 {
        margin-left: 0;
        margin-bottom: 25px;
        font-size: 26px;
    }

    .leaders-grid {
        --leader-gap: 24px;
        display: block;
        width: 100%;
        overflow-x: hidden;
        scroll-behavior: auto;
        scroll-snap-type: none;
        scrollbar-width: none;
        transition: none;
    }

    .leaders-grid.is-second-active {
        grid-template-columns: none;
    }

    .leaders-grid::-webkit-scrollbar {
        display: none;
    }

    .leaders-track .leader-card,
    .leaders-track .leader-card.active {
        flex: 0 0 78%;
        min-width: 78%;
        height: 480px;
        min-height: 0;
        scroll-snap-align: start;
    }

    .leader-card > img {
        object-position: 2% center;
    }

    .leader-card:nth-child(2) > img {
        object-position: 0% center;
    }

    .leader-card.active > div,
    .leader-card:not(.active) > div {
        right: 7%;
        bottom: 44px;
        left: 7%;
        width: auto;
    }

    .leader-card h3,
    .leader-card.active h3,
    .leader-card:not(.active) h3 {
        margin-bottom: 18px;
        font-size: 28px;
    }

    .leader-card p,
    .leader-card.active p,
    .leader-card:not(.active) p {
        max-width: 560px;
        font-size: 14px;
        line-height: 1.65;
    }

    .leader-controls {
        width: max-content;
        height: auto;
        gap: 12px;
        margin-top: 32px;
        margin-left: auto;
    }

    .leader-control {
        width: 40px;
        height: 40px;
    }

    .leader-control__icon {
        width: 20px;
    }

    .vision-copy {
        position: static;
        top: auto;
        left: auto;
        width: 100%;
        padding: 25px 2.5% 25px;
        transform: none;
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
        background: #f8f8f8;
    }

    .about-vision {
        display: block;
        height: auto;
        min-height: 0;
        background: #f8f8f8;
    }

    .about-vision > img {
        position: relative;
        inset: auto;
        display: block;
        width: 100%;
        height: clamp(500px, 65vw, 680px);
        object-position: 15% center;
    }

    .about-vision > h2 {
        top: 48px;
        font-size: clamp(58px, 9vw, 100px);
    }

    .vision-copy p {
        font-size: 14px;
        line-height: 1.65;
    }

    .core-values-grid {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 56px 6%;
    }

    .about-values > h2,
    .core-value--trust,
    .core-value--transparency,
    .core-value--excellence,
    .core-value--innovation,
    .values-photo--shield,
    .values-photo--standard,
    .values-stack {
        position: static;
        width: auto;
    }

    .values-photo--shield,
    .values-photo--standard {
        grid-column: auto;
        grid-row: auto;
        width: 100%;
        height: auto;
    }

    .values-stack {
        display: contents;
    }

    .about-values {
        height: auto;
        min-height: 0;
        padding: 25px 2.5%;
    }

    .about-values > h2 {
        margin-bottom: 56px;
        font-size: 36px;
    }

    .core-value img {
        width: 34px;
        height: 36px;
        margin-bottom: 12px;
    }

    .core-value h3 {
        margin-bottom: 16px;
        font-size: 26px;
    }

    .core-value p {
        max-width: none;
        font-size: 14px;
        line-height: 1.65;
    }
}


/* ======================================================
   MOBILE (â‰¤700px)
====================================================== */

@media (max-width: 700px) {

    .about-hero {
        min-height: 330px;
    }

    .about-hero h1 {
        position: absolute;
        z-index: 1;
        left: 2.5%;
        bottom: 10.8%;
        width: 95%;
        box-sizing: border-box;
        margin: 0;
        color: #fff;
        font: 26px "Bricolage Grotesque", sans-serif;
        letter-spacing: -0.035em;
    }

    .about-story {
        min-height: 0;
        grid-template-columns: 1fr;
        gap: 34px;
        padding: 25px 2.5%;
    }

    .about-story__content {
        gap: 16px;
    }

    .about-story p {
        font-size: 12px;
        line-height: 1.7;
    }

    .leaders-grid {
        --leader-gap: 16px;
        width: 100%;
        gap: 16px;
    }

    .leaders-grid::-webkit-scrollbar {
        display: none;
    }

    .leaders-track .leader-card,
    .leaders-track .leader-card.active {
        flex: 0 0 100%;
        min-width: 100%;
        height: clamp(420px, 125vw, 520px);
        min-height: 0;
        scroll-snap-align: start;
    }

    .leader-card.active > div,
    .leader-card:not(.active) > div {
        right: 8%;
        bottom: 38px;
        left: 8%;
        width: auto;
        text-align: left;
    }

    .leader-card.active p,
    .leader-card:not(.active) p {
        max-width: 100%;
        font-size: 12px;
        line-height: 18px;
    }

    .about-leaders {
        padding: 25px 2.5% 25px;
    }

    .about-leaders h2 {
        margin-bottom: 25px;
        font-size: 26px;
    }

    .leader-card h3,
    .leader-card.active h3,
    .leader-card:not(.active) h3 {
        margin-bottom: 14px;
        font-size: 20px;
    }

    .leader-controls {
        gap: 14px;
        margin: 24px auto 0;
    }

    .leader-control {
        width: 36px;
        height: 36px;
    }

    .leader-control__icon {
        width: 18px;
    }

    .about-vision {
        display: block;
        height: auto;
        min-height: 0;
        background: #f8f8f8;
    }

    .about-vision > img {
        position: relative;
        inset: auto;
        display: block;
        width: 100%;
        height: clamp(360px, 110vw, 480px);
        object-fit: cover;
        object-position: 15% center;
    }

    .about-vision > h2 {
        top: 38px;
        width: calc(100% - 32px);
        font-size: 36px;
        text-align: center;
        white-space: normal;
    }

    .vision-copy {
        position: static;
        top: auto;
        left: auto;
        width: 100%;
        padding: 25px 2.5%;
        transform: none;
        grid-template-columns: 1fr;
        gap: 25px;
        background: #f8f8f8;
    }

    .vision-copy article {
        max-width: 520px;
    }

    .vision-copy h3 {
        margin-bottom: 12px;
        font-size: 22px;
    }

    .vision-copy p {
        font-size: 13px;
        line-height: 1.7;
    }

    .about-values {
        padding: 25px 2.5%;
    }

    .core-values-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .about-values > h2 {
        margin-bottom: 20px;
        font-size: 26px;
    }

    .core-value img {
        width: 30px;
        height: 32px;
        margin-bottom: 10px;
    }

    .core-value h3 {
        margin-bottom: 12px;
        font-size: 22px;
    }

    .core-value p {
        font-size: 12px;
        line-height: 1.7;
    }

    .values-photo--shield,
    .values-photo--standard {
        grid-column: auto;
        grid-row: auto;
        max-height: none;
        object-fit: cover;
    }

    .values-photo--shield {
        aspect-ratio: 601 / 619;
    }

    .values-photo--standard {
        aspect-ratio: 960 / 522;
    }

}

@media (min-width: 701px) and (max-width: 1100px) {
    .core-value--trust { grid-column: 1; grid-row: 1; }
    .core-value--transparency { grid-column: 1; grid-row: 2; }
    .core-value--excellence { grid-column: 1; grid-row: 3; }
    .core-value--innovation { grid-column: 1; grid-row: 4; }

    .values-photo--shield {
        grid-column: 2;
        grid-row: 1 / span 4;
        height: 100%;
        min-height: 0;
        object-position: center;
    }

    .values-photo--standard {
        grid-column: 1 / -1;
        grid-row: 5;
        aspect-ratio: 960 / 522;
    }
}

.about-page #leaders-title {
    margin-left: 0;
    text-align: center;
}

@media (min-width: 1101px) and (max-width: 1300px) {
    .about-values {
        min-height: 1050px;
    }

    .core-value img {
        width: 36px;
        height: 38px;
        margin-bottom: 12px;
    }

    .core-value h3 {
        margin-bottom: 16px;
        font-size: 26px;
    }

    .core-value p {
        font-size: 14px;
        line-height: 1.65;
    }

    .values-stack {
        gap: 80px;
    }
}

@media (max-width: 380px) {
    .about-values {
        padding: 25px 2.5%;
    }

    .about-values > h2 {
        margin-bottom: 20px;
    }

    .core-values-grid {
        gap: 25px;
    }

    .core-value img {
        width: 28px;
        height: 30px;
    }

    .core-value h3 {
        font-size: 20px;
    }

    .core-value p {
        font-size: 11px;
    }
}

/* Mobile core values: lead with the shield image, then show the value content. */
@media (max-width: 700px) {
    .values-photo--shield { order: 1; }
    .core-value--trust { order: 2; }
    .core-value--transparency { order: 3; }
    .core-value--excellence { order: 4; }
    .core-value--innovation { order: 5; }
    .values-photo--standard { order: 6; }
    .values-stack .core-value { order: 7; }
}

@media (min-width: 1920px) {
    .about-page p { font-size: 0.833vw; line-height: 1.458vw; }
    .about-hero { height: 48.906vw; min-height: 0; }
    .about-hero h1 { font-size: 3.333vw; line-height: 3.854vw; }
    .about-story {
        min-height: 27.865vw;
        padding: 8.073vw 6.15% 5.729vw;
        gap: 7.45%;
    }
    .about-story__mark img { top: 7.292vw; left: -5.208vw; width: 15.104vw; }
    .about-story p { max-width: 24.479vw; font-size: 0.729vw; line-height: 1.458vw; }
    .about-story__content { gap: 1.042vw; }
    .about-leaders { padding-bottom: 6.25vw; }
    .about-leaders h2,
    .about-values > h2 { font-size: 1.875vw; }
    .about-leaders h2 { margin-bottom: 1.042vw; }
    .leaders-grid { --leader-gap: 2.813vw; gap: 2.813vw; }
    .leader-card { height: 35.573vw; }
    .about-values { padding-block: 6.25vw; }
}

/* Regular paragraph typography — intentionally kept as individual rules. */
.about-story p { font-size: 16px; line-height: 26px; }
.leader-card p { font-size: 16px; line-height: 26px; }
.vision-copy p { font-size: 16px; line-height: 26px; }
.core-value p { font-size: 16px; line-height: 26px; }

@media (min-width: 576px) and (max-width: 1199px) {
    .about-story p { font-size: 14px; line-height: 24px; }
    .leader-card p { font-size: 14px; line-height: 24px; }
    .vision-copy p { font-size: 14px; line-height: 24px; }
    .core-value p { font-size: 14px; line-height: 24px; }
}

@media (max-width: 575px) {
    .about-story p { font-size: 14px; line-height: 20px; }
    .leader-card p { font-size: 14px; line-height: 24px; }
    .vision-copy p { font-size: 14px; line-height: 24px; }
    .core-value p { font-size: 14px; line-height: 24px; }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .about-page .about-hero h1 {
        font-size: 36px;
    }
}

/* Authoritative About Story alignment across viewport sizes. */
.about-page .about-story {
    box-sizing: border-box;
    min-height: 535px;
    padding: 155px 6.15% 110px;
    grid-template-columns: minmax(160px, 0.75fr) repeat(2, minmax(0, 470px));
    align-items: start;
    justify-content: space-between;
    column-gap: clamp(48px, 7.45vw, 143px);
    row-gap: 0;
}

.about-page .about-story__content {
    width: 100%;
    max-width: 470px;
    gap: 20px;
}

.about-page .about-story p {
    width: 100%;
    max-width: none;
}

@media (min-width: 701px) and (max-width: 1100px) {
    .about-page .about-story {
        min-height: 0;
        padding: 72px 2.5%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: clamp(36px, 6vw, 64px);
    }

    .about-page .about-story__content {
        max-width: none;
    }
}

@media (max-width: 700px) {
    .about-page .about-story {
        min-height: 0;
        padding: 25px 2.5%;
        grid-template-columns: minmax(0, 1fr);
        row-gap: 36px;
    }

    .about-page .about-story__content {
        max-width: none;
        gap: 16px;
    }
}

/* Prevent paragraph text and section rhythm from over-scaling on 4K screens. */
@media (min-width: 2560px) {
    body.about-page > .site-header .site-header__inner {
        width: 95%;
        max-width: none;
        margin-inline: auto;
    }
    body.about-page > .site-header .site-header__logo { left: 2.5%; }
    body.about-page > .site-header .site-header__actions { right: 0; }
    .about-hero { max-height: 1252px; }
    .about-hero h1 { font-size: 80px; line-height: normal; }
    .about-page .about-story {
        width: 95%;
        min-height: 1020px;
        margin-inline: auto;
        padding: 420px 0 250px;
        grid-template-columns: 16% 34% 38%;
        align-items: start;
        column-gap: 6%;
    }
    .about-page .about-story__content { max-width: none; }
    .about-page .about-story__mark img { top: 390px; }
    .about-story p,
    .leader-card p,
    .vision-copy p,
    .core-value p { font-size: 34px; line-height: 1.6; }
    .about-page .about-story p { max-width: none; }
    .leader-card p { max-width: 900px; }
    .vision-copy p,
    .core-value p { max-width: 1000px; }
    .about-leaders h2,
    .about-values > h2 { font-size: 72px; }
    .about-page h3 { font-size: 52px; line-height: 1.25; }
    .about-leaders { padding: 0 0 60px 5.47%; }
    .about-values { box-sizing: border-box; height: 2100px; min-height: 2100px; padding: 0 0 120px; }
    .about-values > h2 { left: 5%; }
    .core-values-grid { inset: 0 0 120px; }
    .core-value img { width: 80px; height: 80px; margin-bottom: 24px; }
    .core-value--trust { top: 16%; left: 5%; width: 24%; }
    .core-value--transparency { top: 16%; left: 36.5%; width: 24%; }
    .core-value--excellence { top: 39%; left: 5%; width: 24%; }
    .core-value--innovation { top: 39%; left: 36.5%; width: 24%; }
    .values-photo--shield { top: 16%; left: 64%; width: 31%; height: 760px; }
    .values-photo--standard { top: 61%; left: 5%; width: 55%; height: 760px; }
    .values-stack { top: 61%; left: 64%; width: 31%; }
    .leader-card { max-height: 910px; }
    .leader-controls { width: 184px; height: 80px; gap: 24px; margin-top: 60px; }
    .leader-control { width: 80px; height: 80px; flex: 0 0 80px; }
}
