/* =========================================================
   GRAHAM'S COFFEE CO — ABOUT PAGE ONLY
   Requires Graham's Global Styles sitewide.
========================================================= */

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

/* HERO */

.grahams-about-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: clamp(620px, 78vh, 840px);
    overflow: hidden;
    background: var(--grahams-ink);
    color: var(--grahams-cream);
    isolation: isolate;
}

.grahams-about-hero__media {
    position: absolute;
    inset: -3%;
    z-index: 0;
    width: 106%;
    height: 106%;
    overflow: hidden;
}

.grahams-about-hero__media img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center 52%;
    transform: scale(1.04);
    will-change: transform;
}

.grahams-about-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            180deg,
            rgba(18,17,15,.26) 0%,
            rgba(18,17,15,.46) 48%,
            rgba(18,17,15,.88) 100%
        );
    pointer-events: none;
}

.grahams-about-hero__content {
    position: relative;
    z-index: 2;
    padding-top: 150px;
    padding-bottom: 84px;
}

.grahams-about-hero__eyebrow {
    color: var(--grahams-light);
}

.grahams-about-hero h1 {
    max-width: 1040px;
    font-size: clamp(58px, 7vw, 106px);
    line-height: .9;
}

.grahams-about-hero__copy {
    max-width: 620px;
    margin: 30px 0 0;
    color: var(--grahams-light);
    font-size: 15px;
    line-height: 1.8;
}

/* STORY */

.grahams-about-story {
    padding-top: 112px;
    padding-bottom: 116px;
}

.grahams-about-story__grid {
    display: grid;
    grid-template-columns: minmax(0,1.04fr) minmax(380px,.96fr);
    align-items: center;
    gap: clamp(70px,8vw,140px);
}

.grahams-about-story__image {
    position: relative;
    min-height: 620px;
    margin: 0;
    overflow: hidden;
    background: var(--grahams-cream-soft);
}

.grahams-about-story__image::before {
    content: "";
    position: absolute;
    top: 28px;
    right: -28px;
    bottom: -28px;
    left: 28px;
    z-index: -1;
    background: var(--grahams-cream-soft);
}

.grahams-about-story__image img {
    width: 100%;
    height: 100%;
    min-height: 620px;
    object-fit: cover;
    object-position: center;
    transition: transform 1s var(--grahams-ease);
}

.grahams-about-story__image:hover img {
    transform: scale(1.02);
}

.grahams-about-story__copy {
    max-width: 610px;
}

.grahams-about-story__copy h2 {
    max-width: 590px;
}

.grahams-about-story__body {
    max-width: 520px;
    margin: 30px 0 34px;
}

.grahams-about-story__body p {
    margin: 0;
    color: var(--grahams-muted);
    font-size: 15px;
    line-height: 1.85;
}

.grahams-about-story__body p + p {
    margin-top: 20px;
}

/* COMMUNITY */

.grahams-about-community {
    padding-top: 110px;
    padding-bottom: 110px;
}

.grahams-about-community__header {
    max-width: 1420px;
    padding-bottom: 66px;
    border-bottom: 1px solid var(--grahams-line-light);
}

.grahams-about-community__eyebrow {
    color: var(--grahams-light);
}

.grahams-about-community__header h2 {
    max-width: 900px;
}

.grahams-about-community__grid {
    display: grid;
    grid-template-columns: minmax(340px,.82fr) minmax(0,1.18fr);
    align-items: center;
    gap: clamp(70px,8vw,140px);
    padding-top: 72px;
}

.grahams-about-community__copy {
    max-width: 520px;
}

.grahams-about-community__lead {
    margin: 0 0 24px;
    color: var(--grahams-cream);
    font-family: var(--grahams-serif);
    font-size: clamp(27px,2.6vw,40px);
    line-height: 1.18;
    letter-spacing: -.025em;
}

.grahams-about-community__copy > p:not(.grahams-about-community__lead) {
    margin: 0;
    color: var(--grahams-light);
    font-size: 15px;
    line-height: 1.85;
}

.grahams-about-community__copy > p + p {
    margin-top: 20px;
}

.grahams-about-community__image {
    position: relative;
    min-height: 590px;
    margin: 0;
    overflow: hidden;
    background: var(--grahams-ink);
}

.grahams-about-community__image img {
    width: 100%;
    height: 100%;
    min-height: 590px;
    object-fit: cover;
    object-position: center;
    transition: transform 1s var(--grahams-ease);
}

.grahams-about-community__image:hover img {
    transform: scale(1.02);
}

/* VALUES */

.grahams-about-values {
    padding-top: 112px;
    padding-bottom: 116px;
}

.grahams-about-values__header {
    max-width: 920px;
    padding-bottom: 72px;
}

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

.grahams-about-value {
    padding: 40px clamp(26px,3vw,48px) 48px;
    border-right: 1px solid var(--grahams-line);
}

.grahams-about-value:first-child {
    padding-left: 0;
}

.grahams-about-value:last-child {
    padding-right: 0;
    border-right: 0;
}

.grahams-about-value__number {
    display: block;
    margin-bottom: 54px;
    color: var(--grahams-muted);
    font-size: 9px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: .16em;
}

.grahams-about-value h3 {
    margin: 0;
    font-family: var(--grahams-serif);
    font-size: clamp(30px,3vw,44px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -.03em;
}

.grahams-about-value p {
    max-width: 330px;
    margin: 24px 0 0;
    color: var(--grahams-muted);
    font-size: 14px;
    line-height: 1.8;
}

/* CTA */

.grahams-about-cta {
    padding-top: 92px;
    padding-bottom: 92px;
}

.grahams-about-cta__grid {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(400px,.82fr);
    align-items: end;
    gap: clamp(70px,8vw,130px);
}

.grahams-about-cta__eyebrow {
    color: var(--grahams-light);
}

.grahams-about-cta__details {
    padding-top: 4px;
}

.grahams-about-cta__contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--grahams-line-light);
}

.grahams-about-cta__contact span {
    display: block;
    margin-bottom: 8px;
    color: var(--grahams-light);
    font-size: 9px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.grahams-about-cta__contact address,
.grahams-about-cta__contact a {
    margin: 0;
    color: var(--grahams-cream);
    font-size: 13px;
    line-height: 1.65;
    font-style: normal;
    text-decoration: none;
}

.grahams-about-cta__actions {
    display: flex;
    align-items: center;
    gap: 28px;
    padding-top: 30px;
}

.grahams-about-cta__menu-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--grahams-cream);
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: .14em;
    text-decoration: none;
    text-transform: uppercase;
}

.grahams-about-cta__menu-link span {
    font-size: 14px;
    font-weight: 400;
    transition: transform .3s ease;
}

.grahams-about-cta__menu-link:hover span {
    transform: translate(2px,-2px);
}

/* REVEALS */

.grahams-about.is-motion-ready .grahams-about-reveal {
    opacity: 0;
    transform: translate3d(0,38px,0);
    transition:
        opacity .9s var(--grahams-ease),
        transform .9s var(--grahams-ease);
}

.grahams-about.is-motion-ready .grahams-about-reveal--left {
    transform: translate3d(-60px,0,0);
}

.grahams-about.is-motion-ready .grahams-about-reveal--right {
    transform: translate3d(60px,0,0);
}

.grahams-about.is-motion-ready .grahams-about-reveal.is-visible {
    opacity: 1;
    transform: translate3d(0,0,0);
}

@media (max-width: 1000px) {
    .grahams-about-story__grid,
    .grahams-about-community__grid {
        gap: 60px;
    }

    .grahams-about-story__image,
    .grahams-about-story__image img {
        min-height: 540px;
    }

    .grahams-about-community__image,
    .grahams-about-community__image img {
        min-height: 520px;
    }

    .grahams-about-cta__grid {
        grid-template-columns: 1fr 1fr;
        gap: 54px;
    }
}

@media (max-width: 700px) {
    .grahams-about-hero {
        min-height: 650px;
    }

    .grahams-about-hero__media img {
        object-position: 58% center;
    }

    .grahams-about-hero__content {
        padding-top: 130px;
        padding-bottom: 58px;
    }

    .grahams-about-hero h1 {
        font-size: clamp(48px,14vw,66px);
        line-height: .94;
    }

    .grahams-about-hero__copy {
        margin-top: 24px;
        font-size: 14px;
    }

    .grahams-about-story {
        padding-top: 76px;
        padding-bottom: 80px;
    }

    .grahams-about-story__grid {
        grid-template-columns: 1fr;
        gap: 54px;
    }

    .grahams-about-story__image,
    .grahams-about-story__image img {
        min-height: 430px;
    }

    .grahams-about-story__image::before {
        display: none;
    }

    .grahams-about-story__copy,
    .grahams-about-story__body {
        max-width: none;
    }

    .grahams-about-community {
        padding-top: 76px;
        padding-bottom: 80px;
    }

    .grahams-about-community__header {
        padding-bottom: 44px;
    }

    .grahams-about-community__grid {
        grid-template-columns: 1fr;
        gap: 46px;
        padding-top: 48px;
    }

    .grahams-about-community__copy {
        max-width: none;
    }

    .grahams-about-community__image {
        order: -1;
    }

    .grahams-about-community__image,
    .grahams-about-community__image img {
        min-height: 420px;
    }

    .grahams-about-values {
        padding-top: 76px;
        padding-bottom: 80px;
    }

    .grahams-about-values__header {
        padding-bottom: 50px;
    }

    .grahams-about-values__grid {
        grid-template-columns: 1fr;
    }

    .grahams-about-value,
    .grahams-about-value:first-child,
    .grahams-about-value:last-child {
        padding: 30px 0 34px;
        border-right: 0;
        border-bottom: 1px solid var(--grahams-line);
    }

    .grahams-about-value:last-child {
        border-bottom: 0;
    }

    .grahams-about-value__number {
        margin-bottom: 26px;
    }

    .grahams-about-value p {
        max-width: 520px;
    }

    .grahams-about-cta {
        padding-top: 72px;
        padding-bottom: 74px;
    }

    .grahams-about-cta__grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .grahams-about-cta__contact {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .grahams-about-cta__actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .grahams-about.is-motion-ready .grahams-about-reveal--left,
    .grahams-about.is-motion-ready .grahams-about-reveal--right {
        transform: translate3d(0,34px,0);
    }
}

@media (max-width: 420px) {
    .grahams-about-hero {
        min-height: 620px;
    }

    .grahams-about-story__image,
    .grahams-about-story__image img,
    .grahams-about-community__image,
    .grahams-about-community__image img {
        min-height: 370px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .grahams-about-reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .grahams-about-hero__media img,
    .grahams-about-story__image img,
    .grahams-about-community__image img {
        transform: none !important;
    }
}
