:root {
    --about-bg: #f7f7f5;
    --about-alt: #eef1f3;

    --about-text: #202833;
    --about-muted: #68737e;

    --about-yellow: #f3c623;
    --about-yellow-soft: #fff3cf;

    --about-dark: #223247;

    --about-line: #dce1e5;

    --about-shadow:
        0 14px 38px
        rgba(25, 35, 48, 0.07);
}


/* =========================================================
   BASE
========================================================= */

.about-container {
    width: min(
        1380px,
        calc(100% - 80px)
    );

    margin: 0 auto;
}


/* =========================================================
   LABEL
========================================================= */

.about-label {
    position: relative;

    display: inline-block;

    padding-top: 17px;

    color: var(--about-text);

    font-size: 14px;
    font-weight: 700;

    letter-spacing: 3px;
}

.about-label::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 48px;
    height: 2px;

    background: var(--about-yellow);
}


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

.about-hero {
    padding: 90px 0 105px;

    background: #ffffff;
}

.about-hero-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 0.8fr)
        minmax(0, 1.2fr);

    gap: 90px;

    align-items: center;
}

.about-hero-content {
    max-width: 560px;
}

.about-hero-content h1 {
    margin: 22px 0 25px;

    color: var(--about-text);

    font-size: 62px;
    line-height: 1;

    letter-spacing: -2.6px;
}

.about-hero-content h1 span {
    color: var(--about-yellow);
}

.about-hero-content > p {
    max-width: 540px;

    margin: 0;

    color: var(--about-muted);

    font-size: 17px;
    line-height: 1.75;
}


/* =========================================================
   HERO META
========================================================= */

.about-hero-meta {
    display: flex;

    align-items: center;

    gap: 38px;

    margin-top: 38px;
}

.about-location {
    display: flex;

    align-items: center;

    gap: 13px;
}


/* =========================================================
   LOCATION ICON
========================================================= */

.about-location-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    border-radius: 50%;

    background: #fff4cf;

    color: var(--about-text);
}

.about-location-icon svg {
    width: 19px;
    height: 19px;

    fill: none;

    stroke: currentColor;
    stroke-width: 1.8;

    stroke-linecap: round;
    stroke-linejoin: round;
}

.about-location strong {
    display: block;

    color: var(--about-text);

    font-size: 13px;
}

.about-location span {
    display: block;

    margin-top: 2px;

    color: var(--about-muted);

    font-size: 11px;
}


/* =========================================================
   TEXT LINKS
========================================================= */

.about-text-link,
.team-career a {
    display: inline-flex;

    align-items: center;

    gap: 13px;

    color: var(--about-text);

    font-weight: 700;

    white-space: nowrap;

    transition:
        color 0.2s ease;
}

.about-text-link {
    font-size: 13px;
}

.about-text-link:hover,
.team-career a:hover {
    color: #b99300;
}

.about-link-icon {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    flex: 0 0 auto;
}

.about-link-icon svg {
    width: 17px;
    height: 17px;

    fill: none;

    stroke: currentColor;
    stroke-width: 1.8;

    stroke-linecap: round;
    stroke-linejoin: round;

    transition:
        transform 0.2s ease;
}

.about-text-link:hover .about-link-icon svg,
.team-career a:hover .about-link-icon svg {
    transform: translateX(3px);
}


/* =========================================================
   HERO IMAGE
========================================================= */

.about-hero-visual {
    position: relative;

    min-width: 0;

    padding-right: 18px;
    padding-bottom: 20px;
}

.about-hero-image {
    position: relative;

    z-index: 2;

    overflow: hidden;

    border-radius: 24px;
}

.about-hero-image img {
    display: block;

    width: 100%;
    height: 500px;

    object-fit: cover;
}

.about-hero-outline {
    position: absolute;

    z-index: 1;

    top: 20px;
    right: 0;

    width: calc(100% - 18px);
    height: calc(100% - 20px);

    border:
        1px solid
        var(--about-yellow);

    border-radius: 24px;
}

.about-hero-badge {
    position: absolute;

    z-index: 3;

    right: 40px;
    bottom: 0;

    min-width: 185px;

    padding: 17px 20px;

    border-radius: 14px;

    background: var(--about-dark);

    color: #ffffff;
}

.about-hero-badge strong {
    display: block;

    color: var(--about-yellow);

    font-size: 18px;
}

.about-hero-badge span {
    display: block;

    margin-top: 2px;

    color:
        rgba(255, 255, 255, 0.82);

    font-size: 11px;
}


/* =========================================================
   HISTORY
========================================================= */

.about-history {
    padding: 105px 0 110px;

    overflow: hidden;

    background: var(--about-bg);
}

.about-history-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 0.95fr)
        minmax(500px, 1.05fr);

    gap: 110px;

    align-items: start;
}

.about-history-content {
    max-width: 650px;
}

.about-history-content h2 {
    max-width: 650px;

    margin: 20px 0 27px;

    color: var(--about-text);

    font-size: 52px;
    line-height: 1.03;

    letter-spacing: -2px;
}

.about-history-content h2 span {
    display: block;

    color: var(--about-yellow);
}

.about-history-content > p {
    max-width: 650px;

    margin: 0 0 24px;

    color: var(--about-muted);

    font-size: 15px;
    line-height: 1.8;
}

.about-history-content > p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   MILESTONE CAROUSEL
========================================================= */

.about-milestones {
    width: 100%;
    max-width: 650px;
}


/* HEADER */

.milestone-heading-row {
    display: flex;

    align-items: flex-start;
    justify-content: space-between;

    gap: 30px;

    min-height: 52px;

    margin-bottom: 20px;
}


/* CONTROLS */

.milestone-controls {
    display: flex;

    gap: 8px;
}

.milestone-control {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    padding: 0;

    border:
        1px solid
        var(--about-line);

    border-radius: 50%;

    background: #ffffff;

    color: var(--about-text);

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.milestone-control svg {
    width: 17px;
    height: 17px;

    fill: none;

    stroke: currentColor;
    stroke-width: 1.9;

    stroke-linecap: round;
    stroke-linejoin: round;
}

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

    border-color: var(--about-yellow);

    background: #fff8dd;

    color: #b88900;

    box-shadow:
        0 6px 16px
        rgba(25, 35, 48, 0.07);
}

.milestone-control:focus-visible {
    outline:
        3px solid
        rgba(243, 198, 35, 0.35);

    outline-offset: 3px;
}


/* VIEWPORT */

.milestone-viewport {
    position: relative;

    height: 390px;

    overflow: hidden;

    -webkit-mask-image:
        linear-gradient(
            to bottom,
            transparent 0,
            #000 5%,
            #000 95%,
            transparent 100%
        );

    mask-image:
        linear-gradient(
            to bottom,
            transparent 0,
            #000 5%,
            #000 95%,
            transparent 100%
        );
}


/* TRACK */

.milestone-track {
    display: flex;

    flex-direction: column;

    gap: 16px;

    will-change: transform;

    transition:
        transform 0.55s
        cubic-bezier(.22, .61, .36, 1);
}


/* ITEM */

.milestone {
    display: grid;

    grid-template-columns:
        74px
        minmax(0, 1fr);

    gap: 24px;

    align-items: center;

    flex: 0 0 82px;

    min-height: 82px;
}


/* YEAR */

.milestone-year {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 74px;
    height: 62px;

    border-radius: 14px;

    background: var(--about-yellow-soft);

    color: #d39c00;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.3px;
}


/* CONTENT */

.milestone-content {
    min-width: 0;
}

.milestone-content h3 {
    margin: 0 0 5px;

    color: var(--about-text);

    font-size: 19px;
    font-weight: 700;

    line-height: 1.25;
}

.milestone-content p {
    max-width: 500px;

    margin: 0;

    color: var(--about-muted);

    font-size: 13px;
    line-height: 1.5;
}


/* PROGRESS */

.milestone-progress {
    position: relative;

    width: 100%;
    height: 2px;

    margin-top: 20px;

    overflow: hidden;

    border-radius: 999px;

    background: #e1e5e8;
}

.milestone-progress span {
    position: absolute;

    top: 0;
    left: 0;

    width: 11.111%;
    height: 100%;

    border-radius: inherit;

    background: var(--about-yellow);

    transition:
        width 0.4s ease;
}


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

.about-values {
    padding: 95px 0 120px;

    background: #ffffff;
}

.about-values-heading {
    max-width: 850px;

    margin-bottom: 55px;
}

.about-values-heading h2 {
    max-width: 820px;

    margin: 20px 0 14px;

    color: var(--about-text);

    font-size: 44px;
    line-height: 1.1;

    letter-spacing: -1.6px;
}

.about-values-heading p {
    margin: 0;

    color: var(--about-muted);

    font-size: 15px;
}

.about-values-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 20px;
}


/* =========================================================
   VALUE CARDS
========================================================= */

.value-card {
    position: relative;

    overflow: hidden;

    border:
        1px solid
        var(--about-line);

    border-radius: 18px;

    background: #ffffff;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.value-card:hover {
    transform: translateY(-5px);

    border-color:
        rgba(243, 198, 35, 0.45);

    box-shadow: var(--about-shadow);
}

.value-image {
    height: 175px;

    overflow: hidden;

    background: var(--about-alt);
}

.value-image img {
    display: block;

    width: 100%;
    height: 175px;

    object-fit: cover;

    transition:
        transform 0.35s ease;
}

.value-card:hover .value-image img {
    transform: scale(1.035);
}


/* =========================================================
   VALUE ICONS
========================================================= */

.value-icon {
    position: absolute;

    top: 146px;
    left: 28px;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 58px;
    height: 58px;

    border:
        5px solid
        #ffffff;

    border-radius: 50%;

    background: var(--about-yellow);

    color: var(--about-text);
}

.value-icon svg {
    width: 24px;
    height: 24px;

    fill: none;

    stroke: currentColor;
    stroke-width: 1.65;

    stroke-linecap: round;
    stroke-linejoin: round;
}

.value-content {
    padding: 43px 27px 30px;
}

.value-line {
    display: block;

    width: 36px;
    height: 3px;

    margin-bottom: 20px;

    background: var(--about-yellow);
}

.value-content h3 {
    margin: 0 0 12px;

    color: var(--about-text);

    font-size: 20px;
}

.value-content p {
    margin: 0;

    color: var(--about-muted);

    font-size: 13px;
    line-height: 1.75;
}


/* =========================================================
   PHILOSOPHY
========================================================= */

.about-philosophy {
    padding: 105px 0;

    background: #ffffff;
}

.about-philosophy-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(380px, 0.75fr);

    gap: 100px;

    align-items: center;
}

.philosophy-content h2 {
    max-width: 650px;

    margin: 20px 0 25px;

    color: var(--about-text);

    font-size: 54px;
    line-height: 1.03;

    letter-spacing: -2px;
}

.philosophy-content h2 span {
    display: block;

    color: var(--about-yellow);
}

.philosophy-content > p {
    max-width: 670px;

    margin: 0 0 22px;

    color: var(--about-muted);

    font-size: 16px;
    line-height: 1.8;
}


/* =========================================================
   PHILOSOPHY LIST
========================================================= */

.philosophy-list {
    display: grid;

    gap: 13px;

    margin: 30px 0 0;

    padding: 0;

    list-style: none;
}

.philosophy-list li {
    position: relative;

    padding-left: 32px;

    color: var(--about-text);

    font-size: 14px;
    font-weight: 700;
}

.philosophy-list li::before {
    content: "✓";

    position: absolute;

    left: 0;
    top: 1px;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 18px;
    height: 18px;

    border-radius: 50%;

    background:
        rgba(243, 198, 35, .22);

    color: #a87d00;

    font-size: 10px;
    font-weight: 800;

    line-height: 1;
}


/* =========================================================
   PHILOSOPHY CARD
========================================================= */

.philosophy-card {
    overflow: hidden;

    border:
        1px solid
        var(--about-line);

    border-radius: 22px;

    background: #ffffff;
}

.philosophy-image {
    height: 365px;

    overflow: hidden;

    background: var(--about-alt);
}

.philosophy-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: center bottom;
}

.philosophy-card-content {
    padding: 27px 30px 30px;
}

.philosophy-brand {
    display: block;

    margin-bottom: 16px;

    color: #c99900;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.25em;
}

.philosophy-card blockquote {
    margin: 0 0 22px;

    color: var(--about-text);

    font-size: 20px;
    font-style: italic;

    line-height: 1.55;
}

.philosophy-card strong {
    display: block;

    color: var(--about-text);

    font-size: 16px;
}

.philosophy-card-content > span:last-child {
    display: block;

    margin-top: 2px;

    color: var(--about-muted);

    font-size: 12px;
}


/* =========================================================
   TEAM
========================================================= */

.about-team {
    padding: 85px 0 100px;

    background: var(--about-alt);
}

.about-team-heading {
    margin-bottom: 55px;

    text-align: center;
}

.about-team-heading h2 {
    margin: 0;

    color: var(--about-text);

    font-size: 48px;
    line-height: 1.1;
}

.about-team-heading p {
    margin: 14px 0 0;

    color: var(--about-muted);

    font-size: 16px;
}

.about-team-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 34px;

    max-width: 1280px;

    margin: 0 auto;
}


/* =========================================================
   TEAM CARDS
========================================================= */

.team-card {
    text-align: center;
}

.team-image {
    width: 100%;

    aspect-ratio: 0.78;

    overflow: hidden;

    border-radius: 18px;

    background: #dfe3e7;
}

.team-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center top;
}

.team-card h3 {
    margin: 18px 0 3px;

    color: var(--about-text);

    font-size: 21px;
}

.team-card p {
    margin: 0;

    color: var(--about-muted);

    font-size: 13px;
}


/* =========================================================
   TEAM CAREER
========================================================= */

.team-career {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 22px;

    margin-top: 48px;

    color: var(--about-muted);

    font-size: 14px;
}

.team-career a {
    font-size: 14px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1150px) {

    .about-history-grid {
        grid-template-columns:
            minmax(0, 0.9fr)
            minmax(450px, 1.1fr);

        gap: 70px;
    }

    .about-values-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .about-team-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        max-width: 800px;
    }

}


@media (max-width: 950px) {

    .about-hero-grid,
    .about-history-grid,
    .about-philosophy-grid {
        grid-template-columns: 1fr;

        gap: 60px;
    }

    .about-hero-content {
        max-width: 680px;
    }

    .about-milestones {
        max-width: 720px;
    }

    .philosophy-card {
        max-width: 520px;

        margin: 0 auto;
    }

}


@media (max-width: 750px) {

    .about-container {
        width:
            calc(100% - 40px);
    }

    .about-hero {
        padding: 70px 0 80px;
    }

    .about-hero-content h1 {
        font-size: 48px;
    }

    .about-hero-meta {
        align-items: flex-start;

        flex-direction: column;

        gap: 22px;
    }

    .about-hero-image img {
        height: 390px;
    }

    .about-history {
        padding: 80px 0;
    }

    .about-history-content h2 {
        font-size: 42px;
    }

    .about-values-heading h2 {
        font-size: 36px;
    }

    .philosophy-content h2 {
        font-size: 42px;
    }

    .about-team-heading h2 {
        font-size: 40px;
    }

}


@media (max-width: 600px) {

    .about-values-grid,
    .about-team-grid {
        grid-template-columns: 1fr;
    }

    .about-team-grid {
        max-width: 390px;
    }

    .milestone-heading-row {
        align-items: center;
    }

    .milestone-viewport {
        height: 350px;
    }

    .milestone {
        grid-template-columns:
            62px
            minmax(0, 1fr);

        gap: 16px;

        flex-basis: 78px;

        min-height: 78px;
    }

    .milestone-year {
        width: 62px;
        height: 54px;

        border-radius: 12px;
    }

    .milestone-content h3 {
        font-size: 16px;
    }

    .milestone-content p {
        font-size: 12px;
    }

    .philosophy-image {
        height: 320px;
    }

    .team-career {
        flex-direction: column;

        gap: 8px;

        text-align: center;
    }

}


@media (max-width: 500px) {

    .about-hero-content h1 {
        font-size: 40px;
    }

    .about-hero-image img {
        height: 320px;
    }

    .about-hero-badge {
        right: 20px;

        min-width: 165px;
    }

    .milestone-control {
        width: 34px;
        height: 34px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .milestone-track {
        transition: none;
    }

    .value-card,
    .value-image img,
    .milestone-control,
    .about-link-icon svg {
        transition: none;
    }

}

