/*
============================================================
OUR STORY PAGE
============================================================
This file contains only styles specific to our-story.html.
The shared header, footer, navigation and .wrap styles should
remain in css/site.css.
============================================================
*/


/* =========================================================
   INTRODUCTION
   ========================================================= */

.story-introduction {
    padding:
        clamp(5rem, 11vw, 10rem)
        0
        clamp(5rem, 10vw, 9rem);
}


.story-introduction-inner {
    display: grid;
    grid-template-columns:
        minmax(220px, 0.72fr)
        minmax(0, 1.28fr);
    gap: clamp(3rem, 9vw, 9rem);
    align-items: start;
}


.eyebrow {
    margin: 0 0 1.4rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0.55;
}


.story-introduction h1 {
    margin: 0;
    font-size: clamp(4rem, 9vw, 8.5rem);
    line-height: 0.9;
    letter-spacing: -0.07em;
}


.story-copy {
    max-width: 44rem;
    padding-top: 0.35rem;
}


.story-copy p {
    margin:
        0
        0
        clamp(1.5rem, 3vw, 2.25rem);
    font-size: clamp(1.08rem, 1.7vw, 1.35rem);
    line-height: 1.72;
    opacity: 0.78;
}


.story-copy .story-opening {
    font-size: clamp(1.55rem, 3vw, 2.3rem);
    line-height: 1.34;
    letter-spacing: -0.025em;
    opacity: 1;
}


.story-copy .story-closing {
    margin-bottom: 0;
    font-weight: 650;
    opacity: 1;
}



/* =========================================================
   PROJECT EXAMPLE
   ========================================================= */

.story-example {
    padding:
        0
        0
        clamp(5rem, 10vw, 9rem);
}


.project-figure {
    margin: 0;
    overflow: hidden;
    border-radius: clamp(1rem, 2vw, 1.75rem);
    background: #ecebe7;
}


.project-figure img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 2.4 / 1;
    object-fit: cover;
}


.example-content {
    display: grid;
    grid-template-columns:
        minmax(220px, 0.72fr)
        minmax(0, 1.28fr);
    gap: clamp(3rem, 9vw, 9rem);
    padding-top: clamp(2.5rem, 6vw, 5rem);
}


.example-content h2 {
    max-width: 8ch;
    margin: 0;
    font-size: clamp(2.4rem, 5vw, 4.8rem);
    line-height: 0.98;
    letter-spacing: -0.05em;
}


.example-copy {
    max-width: 44rem;
}


.example-copy p {
    margin:
        0
        0
        clamp(1.35rem, 2.5vw, 1.9rem);
    font-size: clamp(1.02rem, 1.5vw, 1.2rem);
    line-height: 1.72;
    opacity: 0.76;
}


.example-copy .example-summary {
    margin-bottom: 0;
    font-weight: 650;
    opacity: 1;
}



/* =========================================================
   SIGN-OFF
   ========================================================= */

.story-signoff {
    padding:
        clamp(3rem, 7vw, 6rem)
        0;
    border-top: 1px solid rgba(20, 30, 25, 0.14);
}


.story-signoff p {
    margin: 0;
    font-size: clamp(1.8rem, 4vw, 3.6rem);
    font-weight: 650;
    letter-spacing: -0.04em;
}



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

@media (max-width: 800px) {

    .story-introduction-inner,
    .example-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }


    .story-introduction h1 {
        max-width: none;
    }


    .project-figure img {
        aspect-ratio: 1.55 / 1;
    }

}


@media (max-width: 520px) {

    .story-introduction {
        padding-top: 4rem;
    }


    .project-figure {
        border-radius: 0.85rem;
    }


    .project-figure img {
        aspect-ratio: 1.2 / 1;
    }

}
