/* =========================================================
   AVERRA BUILD
   about.css
   ========================================================= */


/* ---------- PAGE ---------- */

.about-page {
    background: var(--off-white);
    color: var(--charcoal);
}


/* ---------- HEADER ---------- */

.about-page .site-header {
    color: var(--blue);
}

.about-page .site-header.scrolled {
    background: rgba(237, 233, 230, 0.92);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border-bottom: 1px solid var(--border-dark);
}

.about-page .desktop-nav a {
    color: var(--blue);
}

.about-page .desktop-nav a[aria-current="page"]::after {
    width: 100%;
}

.about-page .menu-button span {
    background: var(--blue);
}

.about-page .menu-button.open span {
    background: var(--off-white);
}


/* ---------- HERO ---------- */

.about-hero {
    padding:
        calc(var(--header-height) + clamp(100px, 12vw, 180px))
        0
        clamp(100px, 11vw, 160px);

    background: var(--off-white);
}

.about-hero-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.3fr)
        minmax(340px, 0.7fr);

    gap: clamp(70px, 10vw, 170px);

    align-items: end;
}


/* ---------- HERO HEADING ---------- */

.about-heading .eyebrow {
    color: var(--blue);
}

.about-heading h1 {
    max-width: 900px;

    margin-bottom: 0;

    color: var(--charcoal);

    font-size: clamp(4rem, 6.7vw, 7.4rem);
    line-height: 0.94;

    letter-spacing: -0.045em;
}


/* ---------- INTRO ---------- */

.about-intro {
    max-width: 530px;

    padding-bottom: 10px;
}

.about-intro p {
    margin-bottom: 0;

    color: rgba(25, 24, 23, 0.72);

    font-size: clamp(1.15rem, 1.4vw, 1.4rem);
    line-height: 1.65;
}


/* ---------- FEATURE IMAGE ---------- */

.about-image-section {
    padding-bottom: clamp(100px, 12vw, 180px);

    background: var(--off-white);
}

.about-image-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: clamp(20px, 3vw, 45px);

    align-items: start;
}

.about-feature-image {
    width: 100%;

    aspect-ratio: 3 / 4;

    overflow: hidden;

    background: #d8d3cf;
}

.about-feature-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}

.about-feature-image:hover img {
    transform: scale(1.02);
}


/* ---------- STORY ---------- */

.about-story {
    padding-block: clamp(100px, 12vw, 180px);

    border-top: 1px solid var(--border-dark);

    background: var(--off-white);
}

.about-story-grid {
    display: grid;

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

    gap: clamp(70px, 12vw, 200px);

    align-items: start;
}


/* ---------- STORY HEADING ---------- */

.about-story-heading {
    position: sticky;

    top: calc(var(--header-height) + 60px);
}

.about-story-heading .eyebrow {
    color: var(--blue);
}

.about-story-heading h2 {
    max-width: 600px;

    margin-bottom: 0;

    color: var(--charcoal);

    font-size: clamp(2.8rem, 4.5vw, 5rem);
    line-height: 0.98;
}


/* ---------- STORY COPY ---------- */

.about-story-copy {
    max-width: 720px;
}

.about-story-copy p {
    margin-bottom: 34px;

    color: rgba(25, 24, 23, 0.7);
}

.about-story-copy .lead-copy {
    margin-bottom: 55px;

    color: var(--charcoal);

    font-size: clamp(1.3rem, 1.8vw, 1.75rem);
    line-height: 1.55;
}


/* ---------- VALUES ---------- */

.about-values {
    padding-block: clamp(110px, 14vw, 210px);

    background: var(--blue);
    color: var(--off-white);
}

.about-values-inner {
    max-width: 1350px;
}

.about-values .eyebrow {
    margin-bottom: clamp(45px, 6vw, 80px);

    color: var(--blue-light);
}

.values-statement {
    max-width: 1300px;

    margin-bottom: 0;

    color: rgba(237, 233, 230, 0.92);

    font-size: clamp(2rem, 4vw, 4.5rem);
    line-height: 1.18;

    letter-spacing: -0.035em;
}

.values-statement span {
    color: var(--blue-light);
}


/* ---------- CONTACT CTA ---------- */

.about-contact {
    background: var(--charcoal);
    color: var(--off-white);
}

.about-contact-inner {
    display: grid;

    grid-template-columns:
        minmax(0, 1.3fr)
        minmax(320px, 0.7fr);

    gap: clamp(60px, 10vw, 150px);

    align-items: end;
}

.about-contact .eyebrow {
    color: var(--blue-light);
}

.about-contact h2 {
    margin-bottom: 0;
}

.about-contact-copy {
    max-width: 430px;
}

.about-contact-copy p {
    margin-bottom: 32px;

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


/* ---------- FOOTER ---------- */

.about-page .site-footer {
    background: var(--charcoal);
    color: var(--off-white);
}


/* ---------- TABLET ---------- */

@media (max-width: 1000px) {

    .about-hero-grid,
    .about-story-grid,
    .about-contact-inner {
        grid-template-columns: 1fr;
    }

    .about-hero-grid {
        gap: 55px;
    }

    .about-intro {
        max-width: 650px;
    }

    .about-story-grid {
        gap: 65px;
    }

    .about-story-heading {
        position: static;
    }

    .about-story-copy {
        max-width: 750px;
    }

}


/* ---------- MOBILE ---------- */

@media (max-width: 750px) {

    .about-hero {
        padding:
            calc(var(--header-height) + 80px)
            0
            80px;
    }

    .about-heading h1 {
        font-size: clamp(3.4rem, 14vw, 5.4rem);
    }

    

    .about-story {
        padding-block: 80px;
    }

    .about-story-grid {
        gap: 50px;
    }

    .about-story-copy .lead-copy {
        margin-bottom: 40px;

        font-size: 1.25rem;
    }

    .about-values {
        padding-block: 90px;
    }

    .values-statement {
        font-size: clamp(2rem, 9vw, 3.4rem);
    }

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

        gap: 12px;
    }

    .about-feature-image {
        aspect-ratio: 3 / 4;
    }

    .about-image-section {
        padding-bottom: 80px;
    }

}
