/* ==========================================================================
   NOSEAMS — About page
   ========================================================================== */

.ns-about-page {
    margin-top: 0;
    padding-top: 0;
    background: var(--ns-white);
    color: var(--ns-black);
}

body.ns-about-active:not(.home) .ns-main {
    padding-top: 0 !important;
}

/* First section: full-screen composition with a larger complete image. */
.ns-about-brand {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(420px, 40vw, 680px);
    column-gap: clamp(48px, 7vw, 126px);
    align-items: start;
    min-height: 100vh;
    min-height: 100svh;
    box-sizing: border-box;
    padding: clamp(118px, 8vw, 146px) var(--ns-side-space) clamp(48px, 4vw, 68px);
    overflow: clip;
    background: var(--ns-white);
}

.ns-about-brand__copy {
    --ns-about-copy-shift: 0px;
    position: relative;
    z-index: 1;
    width: min(100%, 790px);
    max-width: 790px;
    align-self: start;
    transform: translate3d(0, var(--ns-about-copy-shift), 0);
    will-change: transform;
}

.ns-about-brand__copy p {
    margin: 0;
    font-size: clamp(18px, 2vw, 30px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.ns-about-brand__copy p + p {
    margin-top: clamp(18px, 2.2vw, 32px);
}

.ns-about-brand__image {
    position: relative !important;
    top: auto !important;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0;
    justify-self: end;
    overflow: visible;
    background: transparent;
}

.ns-about-brand__image picture {
    display: block;
    width: 100%;
    height: auto !important;
}

.ns-about-brand__image img {
    display: block;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center !important;
}

.ns-about-timeline {
    padding: clamp(70px, 8vw, 124px) var(--ns-side-space) clamp(90px, 9vw, 150px);
    background: #f7f7f5;
    border-top: 1px solid var(--ns-line);
}

.ns-about-section-heading {
    max-width: 960px;
    margin: 0 auto clamp(44px, 5vw, 82px);
    text-align: center;
}

.ns-about-section-heading h2 {
    margin: 0;
    font-size: clamp(36px, 5.4vw, 88px);
    font-weight: 400;
    line-height: 0.92;
    letter-spacing: -0.055em;
}

.ns-about-timeline__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--ns-line);
    border-bottom: 1px solid var(--ns-line);
}

.ns-about-timeline__item {
    min-height: 285px;
    padding: clamp(30px, 4vw, 58px) clamp(24px, 3.2vw, 52px);
    border-right: 1px solid var(--ns-line);
}

.ns-about-timeline__item:last-child {
    border-right: 0;
}

.ns-about-timeline__item span {
    display: block;
    margin-bottom: clamp(58px, 7vw, 112px);
    color: var(--ns-muted);
    font-size: 11px;
    line-height: 1.25;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.ns-about-timeline__item h3 {
    margin: 0 0 18px;
    font-size: clamp(24px, 2.6vw, 40px);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: -0.045em;
}

.ns-about-timeline__item p {
    max-width: 360px;
    margin: 0;
    color: #4c4745;
    font-size: 13px;
    line-height: 1.5;
}

@media (max-width: 1050px) {
    .ns-about-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
        min-height: 100vh;
        min-height: 100svh;
        box-sizing: border-box;
        padding: 92px 22px 58px;
        overflow: visible;
    }

    .ns-about-brand__copy {
        order: 2;
        position: relative;
        width: 100%;
        max-width: 720px;
        align-self: center;
        transform: none !important;
        will-change: auto;
    }

    .ns-about-brand__image {
        order: 1;
        width: min(84vw, 500px);
        max-width: 500px;
        margin: 0 auto 36px;
        justify-self: auto;
        align-self: center;
    }

    .ns-about-timeline {
        padding: 74px 22px 92px;
    }

    .ns-about-timeline__grid {
        display: block;
    }

    .ns-about-timeline__item {
        min-height: 0;
        border-right: 0;
        border-bottom: 1px solid var(--ns-line);
    }

    .ns-about-timeline__item:last-child {
        border-bottom: 0;
    }

    .ns-about-timeline__item span {
        margin-bottom: 52px;
    }
}

@media (max-width: 560px) {
    .ns-about-brand {
        padding: 82px 18px 48px;
    }

    .ns-about-brand__image {
        width: min(88vw, 360px);
        max-width: 360px;
        margin-bottom: 30px;
    }

    .ns-about-brand__copy p {
        font-size: clamp(20px, 6vw, 30px);
        line-height: 1.04;
    }

    .ns-about-section-heading h2 {
        font-size: clamp(36px, 12vw, 62px);
        line-height: 0.92;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ns-about-brand__copy {
        transform: none !important;
        will-change: auto;
    }
}
